/* The real-data dashboard inherits JARVIS Softform materials and all four palettes. */
.today-workspace {
  color:var(--sf-fg,var(--text));
  font:400 14px/1.5 var(--sf-font,"Helvetica Neue",Helvetica,Arial,sans-serif);
  min-width:0;
}
.today-workspace *, .today-dialog * { box-sizing:border-box; }
.today-workspace h1,.today-workspace h2,.today-workspace h3,.today-workspace p,.today-dialog p { margin:0; }
.today-workspace svg,.today-dialog svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0; }
.today-header { display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px;padding-top:6px; }
.today-eyebrow { color:var(--sf-text-muted);font-size:12px;letter-spacing:.15px;margin-bottom:9px!important; }
.today-header h1 { font-size:clamp(27px,3vw,36px);font-weight:400;line-height:1.2;letter-spacing:-1.1px; }
.today-subtitle { margin-top:10px!important;color:var(--sf-text-muted);font-size:14px;line-height:1.6; }
.today-header-actions { display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap; }
.today-button.sf-button { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 16px;border:0;border-radius:var(--sf-radius-pill,99px);font:400 12px/1.3 var(--sf-font);letter-spacing:-.1px;text-decoration:none;white-space:nowrap;cursor:pointer; }
.today-button svg { width:16px;height:16px; }
.today-button--primary.sf-button { background:var(--j-primary-fill,var(--sf-accent));color:#fff;box-shadow:none; }
.today-button--primary.sf-button:hover { background:var(--j-primary-fill,var(--sf-accent));filter:brightness(1.04); }
.today-button--small.sf-button { min-height:33px;padding:8px 12px;font-size:11px; }
.today-button:disabled { opacity:.5;cursor:wait; }
.today-onboarding { display:flex;gap:20px;align-items:center;padding:24px 27px;margin-bottom:22px;background:var(--sf-well-fill);border-radius:var(--sf-radius-lg,28px); }
.today-onboarding-icon { display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--j-primary-soft);color:var(--j-primary-ink,var(--sf-accent-strong));flex-shrink:0; }
.today-onboarding-icon svg { width:23px;height:23px; }
.today-onboarding>div:nth-child(2) { flex:1;min-width:0; }
.today-onboarding h2 { font-size:17px;font-weight:400;letter-spacing:-.25px; }
.today-onboarding p { max-width:680px;margin-top:5px;font-size:12px;line-height:1.7;color:var(--sf-text-muted); }
.today-alert { display:flex;align-items:center;gap:13px;padding:16px 20px;margin-bottom:18px;border-radius:18px;color:var(--sf-fg);background:var(--sf-well-fill);font-size:13px; }
.today-alert>div { flex:1;min-width:0; }
.today-alert>svg { align-self:flex-start;margin-top:2px; }
.today-alert strong { font-weight:400; }
.today-alert p { margin-top:5px;color:var(--sf-text-muted);font-size:12px; }
.today-alert--error { background:color-mix(in srgb,#d78b72 10%,var(--sf-well-fill)); }
.today-alert code,.today-setup-steps code { display:inline-block;max-width:100%;margin-top:8px;padding:6px 9px;border-radius:7px;background:var(--sf-well-fill);font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere; }
.today-loading { display:flex;align-items:center;gap:10px;color:var(--sf-text-muted);font-size:13px;padding:12px 0 24px; }
.today-loading>span { width:7px;height:7px;border-radius:50%;background:var(--j-primary);animation:today-pulse 1.2s ease-in-out infinite; }
.today-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px; }
.today-metric { min-width:0;padding:22px 23px 21px;border-radius:24px;background:var(--sf-surface-fill);box-shadow:var(--sf-surface-shadow); }
.today-metric-label { display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sf-text-muted); }
.today-metric-label svg { width:16px;height:16px; }
.today-metric>strong { display:block;font-size:36px;font-weight:400;line-height:1.1;letter-spacing:-1.1px;font-variant-numeric:tabular-nums;margin-top:15px; }
.today-metric-note { display:block;font-size:10px;line-height:1.6;color:var(--sf-text-muted);margin-top:10px; }
.today-main-grid { display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:stretch;margin-bottom:22px; }
.today-card.sf-surface { min-width:0;padding:27px 28px;border:0;border-radius:var(--sf-radius-lg,28px);background:var(--sf-surface-fill);box-shadow:var(--sf-surface-shadow);color:var(--sf-fg); }
.today-card-header { display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:50px;margin-bottom:21px; }
.today-card-header>div { min-width:0; }
.today-card-header>svg { color:var(--sf-text-muted); }
.today-card h2 { font-size:21px;font-weight:400;line-height:1.3;letter-spacing:-.4px; }
.today-section-label { color:var(--sf-text-muted);font-size:11px;letter-spacing:.1px;margin-bottom:5px!important; }
.today-tabs.sf-segmented { flex-shrink:0;height:38px!important;padding:3px!important; }
.today-tabs.sf-segmented .sf-segment { min-height:31px!important;padding:8px 12px!important;font-size:11px!important; }
.today-empty { display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:190px;padding:25px 15px; }
.today-empty>svg { width:25px;height:25px;color:var(--sf-text-muted);opacity:.65;margin-bottom:15px;stroke-width:1.2; }
.today-empty>strong { font-size:14px;font-weight:400; }
.today-empty p { max-width:290px;font-size:12px;line-height:1.7;color:var(--sf-text-muted);margin-top:6px; }
.today-event-list { display:flex;flex-direction:column; }
.today-event { display:grid;grid-template-columns:76px minmax(0,1fr);gap:17px;padding:21px 0;border-top:1px solid var(--sf-rule); }
.today-event:first-child { border-top:0;padding-top:4px; }
.today-event-time { padding-top:2px;font-variant-numeric:tabular-nums; }
.today-event-time>strong { display:block;font-size:17px;font-weight:400;letter-spacing:-.4px;line-height:1.3; }
.today-event-time>span { display:block;font-size:10px;color:var(--sf-text-muted);margin-top:5px; }
.today-event-body { min-width:0; }
.today-item-top { display:flex;align-items:flex-start;justify-content:space-between;gap:12px; }
.today-item-top h3,.today-inquiry h3 { min-width:0;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:-.1px;overflow-wrap:anywhere; }
.today-event-body>p { margin-top:6px;color:var(--sf-text-muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere; }
.today-item-links { display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:13px; }
.today-link { display:inline-flex;align-items:center;gap:5px;color:var(--sf-text-muted);font-size:11px;text-decoration:none;line-height:1.5; }
.today-link:hover { color:var(--j-primary-ink,var(--sf-accent-strong)); }
.today-link svg { width:12px;height:12px; }
.today-badge { display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;border-radius:8px;background:var(--sf-well-fill);color:var(--sf-text-muted);font-size:9px;line-height:1.35;white-space:nowrap;flex-shrink:0; }
.today-badge--attention { background:color-mix(in srgb,#cda265 13%,transparent);color:#9b7236; }
.today-badge--accent { background:var(--j-primary-soft);color:var(--j-primary-ink,var(--sf-accent-strong)); }
.today-event.is-cancelled { opacity:.6; }
.today-event.is-cancelled .today-item-top h3 { text-decoration:line-through; }
.today-count { display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:9px;background:var(--j-primary-soft);color:var(--j-primary-ink);font-size:12px;font-variant-numeric:tabular-nums; }
.today-task { display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;border:0;border-top:1px solid var(--sf-rule);text-align:left;background:transparent;color:var(--sf-fg);cursor:pointer; }
.today-task:first-child { border-top:0; }
.today-task-icon { display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:var(--sf-well-fill);color:var(--sf-text-muted);flex-shrink:0; }
.today-task-icon svg { width:14px;height:14px; }
.today-task-copy { flex:1;min-width:0; }
.today-task-copy strong { display:block;font-size:12px;line-height:1.5;font-weight:400;overflow-wrap:anywhere; }
.today-task-copy>span { display:block;font-size:10px;color:var(--sf-text-muted);margin-top:4px;overflow-wrap:anywhere; }
.today-due { font-size:10px;color:var(--sf-text-muted);text-align:right;max-width:105px;flex-shrink:0; }
.today-due.is-overdue,.today-project-bottom .is-overdue { color:#ae6847; }
.today-waiting { margin-top:20px;padding-top:20px;border-top:1px solid var(--sf-rule); }
.today-waiting>h3 { display:flex;align-items:center;gap:7px;font-size:12px;font-weight:400;color:var(--sf-text-muted);margin-bottom:7px; }
.today-waiting>h3 svg { width:14px;height:14px; }
.today-waiting>h3>span { margin-left:auto;font-variant-numeric:tabular-nums; }
.today-small-empty { color:var(--sf-text-muted);font-size:11px;line-height:1.7;padding:10px 0 2px; }
.today-inquiries { margin-bottom:22px; }
.today-heading-count { font-size:12px;font-weight:400;color:var(--sf-text-muted);margin-left:8px;letter-spacing:0; }
.today-card-description { margin-top:-7px!important;color:var(--sf-text-muted);font-size:12px;line-height:1.7; }
.today-inquiry-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin-top:18px; }
.today-inquiry { min-width:0;padding:22px 0;border-top:1px solid var(--sf-rule); }
.today-date { color:var(--sf-text-muted);font-size:10px; }
.today-inquiry h3 { margin-top:13px; }
.today-inquiry-sender { margin-top:5px!important;color:var(--sf-text-muted);font-size:11px;overflow-wrap:anywhere; }
.today-inquiry-snippet { margin-top:10px!important;color:var(--sf-text-muted);font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere; }
.today-inquiry .today-button { min-height:34px;padding:8px 11px;font-size:10px; }
.today-inquiry .today-button svg { width:13px;height:13px; }
.today-text-button { padding:5px 0;border:0;background:transparent;color:var(--sf-text-muted);font:400 10px/1.5 var(--sf-font);cursor:pointer; }
.today-text-button:hover { color:var(--sf-fg); }
.today-project-search { display:flex;align-items:center;gap:10px;max-width:410px;padding:11px 14px;margin:0 0 21px;border-radius:12px;background:var(--sf-well-fill);color:var(--sf-text-muted); }
.today-project-search svg { width:15px;height:15px; }
.today-project-search input { width:100%;min-width:0;border:0;padding:0;background:transparent;color:var(--sf-fg);font:400 12px/1.5 var(--sf-font);outline-offset:6px; }
.today-project-search input::placeholder { color:var(--sf-text-muted);opacity:.8; }
.today-project-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px; }
.today-project { display:flex;flex-direction:column;min-width:0;padding:20px;border:0;border-radius:19px;background:var(--sf-well-fill);color:var(--sf-fg);text-align:left;cursor:pointer; }
.today-project:hover { background:color-mix(in srgb,var(--j-primary-soft) 45%,var(--sf-well-fill)); }
.today-project-top { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:16px; }
.today-project-top>svg { width:15px;height:15px;color:var(--sf-text-muted); }
.today-project>strong { font-size:14px;line-height:1.5;font-weight:400;letter-spacing:-.1px;overflow-wrap:anywhere; }
.today-project-customer { display:block;font-size:11px;line-height:1.6;color:var(--sf-text-muted);margin-top:4px;overflow-wrap:anywhere; }
.today-project-next { display:block;margin-top:18px;margin-bottom:20px;font-size:12px;line-height:1.6;overflow-wrap:anywhere; }
.today-project-bottom { display:flex;justify-content:space-between;gap:10px;width:100%;margin-top:auto;padding-top:13px;border-top:1px solid var(--sf-rule);color:var(--sf-text-muted);font-size:10px;line-height:1.5; }
.today-sources { display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:20px;align-items:start;padding:25px 4px 8px;color:var(--sf-text-muted); }
.today-source-intro { display:flex;align-items:center;gap:9px;font-size:11px; }
.today-source-intro>svg { width:16px;height:16px; }
.today-source-intro small { display:block;margin-top:4px;font-size:10px;overflow-wrap:anywhere; }
.today-source { display:flex;align-items:flex-start;gap:8px;font-size:11px;min-width:0; }
.today-source-dot { display:block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--sf-track);margin-top:5px; }
.today-source-dot.is-good { background:var(--sf-success,#6a9d7d); }
.today-source-dot.is-error { background:#be8068; }
.today-source>div { min-width:0; }
.today-source strong { display:block;font-weight:400; }
.today-source div>span { display:block;font-size:10px;line-height:1.6;margin-top:4px; }
.today-source p { margin-top:5px;font-size:10px;line-height:1.6;max-width:300px;overflow-wrap:anywhere;color:#ae6847; }
.today-local-note { font-size:9px;line-height:1.7;text-align:right; }
.today-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* Native dialogs provide keyboard focus containment and Escape behavior. */
.today-dialog { width:min(520px,calc(100vw - 36px));max-height:calc(100dvh - 60px);margin:auto;padding:0;border:0;border-radius:27px;color:var(--sf-fg,var(--text));background:var(--sf-canvas,#f5f6f4);box-shadow:0 24px 100px #12201830;font:400 14px/1.6 var(--sf-font,"Helvetica Neue",Helvetica,Arial,sans-serif);overflow:auto;overscroll-behavior:contain; }
.today-dialog--wide { width:min(630px,calc(100vw - 36px)); }
.today-dialog::backdrop { background:#101b1747;backdrop-filter:blur(6px); }
.today-dialog-head { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 29px 16px; }
.today-dialog-head h2 { margin:0;font-size:23px;line-height:1.3;font-weight:400;letter-spacing:-.5px; }
.today-dialog-close { display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:0;border-radius:50%;background:var(--sf-well-fill);color:var(--sf-text-muted);cursor:pointer; }
.today-dialog-close svg { width:16px;height:16px; }
.today-dialog-body { padding:0 29px 29px; }
.today-dialog-lead { font-size:14px;line-height:1.7;margin-bottom:20px!important; }
.today-dialog-muted { color:var(--sf-text-muted);font-size:12px;line-height:1.8;margin:14px 0!important; }
.today-dialog-footer { display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:26px; }
.today-google-state { display:flex;align-items:center;gap:13px;padding:17px;border-radius:17px;background:var(--sf-well-fill);margin:18px 0; }
.today-google-state>svg { width:22px;height:22px;color:var(--j-primary-ink); }
.today-google-state strong { display:block;font-size:13px;line-height:1.5;font-weight:400;overflow-wrap:anywhere; }
.today-google-state span { display:block;margin-top:4px;font-size:10px;line-height:1.6;color:var(--sf-text-muted); }
.today-setup-steps { margin:20px 0;padding-left:20px;font-size:12px;line-height:1.8;color:var(--sf-text-muted); }
.today-setup-steps li+li { margin-top:12px; }
.today-setup-steps strong { color:var(--sf-fg);font-weight:400; }
.today-file-label { display:block;font-size:12px;margin:22px 0 8px; }
.today-file { display:block;width:100%;padding:12px;font:400 11px/1.5 var(--sf-font);border:0;border-radius:12px;background:var(--sf-well-fill);color:var(--sf-fg); }
.today-file::file-selector-button { margin-right:12px;padding:7px 10px;border:0;border-radius:8px;background:var(--sf-selected-fill);color:var(--sf-fg);font:inherit;cursor:pointer; }
.today-auth-link { padding:15px 0 5px; }
.today-auth-fallback { color:var(--j-primary-ink);font-size:13px;text-decoration:underline; }
.today-setup-source-list { display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:23px 0; }
.today-field { display:flex;flex-direction:column;gap:7px;margin-top:18px;color:var(--sf-text-muted);font-size:12px; }
.today-field-optional { display:inline;margin-left:5px;font-size:10px; }
.today-field :is(input,select,textarea) { width:100%;min-height:44px;resize:vertical;box-sizing:border-box;max-width:100%;padding:12px 14px;border:1px solid transparent;border-radius:12px;background:var(--sf-well-fill);color:var(--sf-fg);font:400 13px/1.5 var(--sf-font); }
.today-field input[type=date] { -webkit-appearance:none;appearance:none; }
.today-field textarea { min-height:93px; }
.today-field :is(input,select,textarea):focus { border-color:var(--sf-focus);outline:0;box-shadow:0 0 0 3px var(--j-primary-soft); }
.today-field :is(input,textarea)::placeholder { color:var(--sf-text-muted);opacity:.7; }
.today-form-row { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.today-form-error { padding:12px 15px;margin-top:18px!important;border-radius:12px;background:color-mix(in srgb,#c17855 10%,var(--sf-well-fill));color:#aa603d;font-size:12px;line-height:1.7;overflow-wrap:anywhere; }
.today-briefing-text { padding:22px;margin:20px 0;border-radius:18px;background:var(--sf-well-fill);font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere; }
[data-theme=dark] .today-badge--attention { color:#dab57d; }
[data-theme=dark] :is(.today-due.is-overdue,.today-project-bottom .is-overdue,.today-source p,.today-form-error) { color:#e3ab8c; }
[data-theme=dark] .today-button--primary { color:#fff; }
[data-theme=dark] .today-dialog { box-shadow:0 24px 100px #00000055;color-scheme:dark; }
@keyframes today-pulse { 50% { opacity:.3; } }
@media(min-width:1600px) { .today-header { align-items:center; } }
@media(max-width:1200px) {
  .today-header { align-items:flex-start;flex-direction:column;gap:18px; }
  .today-header-actions { justify-content:flex-start; }
  .today-metric { padding:20px; }
  .today-card.sf-surface { padding:24px; }
  .today-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .today-main-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px; }
  .today-item-top { flex-wrap:wrap;gap:7px; }
  .today-sources { grid-template-columns:1fr 1fr; }
  .today-local-note { text-align:left; }
}
@media(max-width:860px) {
  .today-metrics { grid-template-columns:repeat(2,minmax(0,1fr));gap:13px; }
  .today-main-grid { grid-template-columns:minmax(0,1fr); }
  .today-onboarding { align-items:flex-start;flex-wrap:wrap;gap:15px; }
  .today-onboarding>div:nth-child(2) { min-width:calc(100% - 70px); }
  .today-onboarding>div:last-child { margin-left:61px; }
  .today-inquiry-list { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:560px) {
  .today-header { margin-bottom:23px;padding-top:1px; }
  .today-header h1 { font-size:27px;letter-spacing:-.8px; }
  .today-header-actions { gap:7px;width:100%; }
  .today-header-actions .today-button { flex:1;min-height:40px;padding:10px 12px;font-size:11px; }
  .today-header-actions .today-button:first-child { flex-basis:100%; }
  .today-subtitle { font-size:12px; }
  .today-metrics { gap:11px;margin-bottom:17px; }
  .today-metric { padding:18px 16px;border-radius:20px; }
  .today-metric-label { font-size:11px;gap:6px; }
  .today-metric-label svg { width:14px;height:14px; }
  .today-metric>strong { font-size:31px;margin-top:13px; }
  .today-metric-note { font-size:9px; }
  .today-card.sf-surface { padding:21px 20px;border-radius:24px; }
  .today-card h2 { font-size:19px; }
  .today-card-header { gap:10px;flex-wrap:wrap; }
  .today-card-header .today-button { min-height:36px;font-size:10px;padding:9px 11px; }
  .today-card-header .today-button svg { width:13px;height:13px; }
  .today-event { grid-template-columns:62px minmax(0,1fr);gap:13px; }
  .today-event-time>strong { font-size:15px; }
  .today-event-time>span { font-size:9px; }
  .today-item-top h3 { font-size:13px; }
  .today-item-links { gap:10px; }
  .today-task { gap:9px; }
  .today-due { max-width:74px;font-size:9px; }
  .today-project-grid { grid-template-columns:minmax(0,1fr); }
  .today-project { padding:20px; }
  .today-project-search { max-width:none; }
  .today-sources { gap:19px 15px;padding-top:22px; }
  .today-source-intro { grid-column:1/-1; }
  .today-local-note { grid-column:1/-1; }
  .today-onboarding { padding:21px 20px;border-radius:22px; }
  .today-onboarding h2 { font-size:15px; }
  .today-onboarding p { font-size:11px; }
  .today-onboarding-icon { width:36px;height:36px;border-radius:12px; }
  .today-onboarding-icon svg { width:19px;height:19px; }
  .today-onboarding>div:nth-child(2) { min-width:calc(100% - 53px); }
  .today-onboarding>div:last-child { margin-left:51px; }
  .today-alert { flex-wrap:wrap;padding:16px;gap:10px; }
  .today-alert>div { min-width:calc(100% - 30px); }
  .today-alert .today-button { margin-left:28px; }
  .today-dialog { width:calc(100vw - 24px);max-height:calc(100dvh - 30px);border-radius:24px; }
  .today-dialog-head { padding:23px 22px 15px; }
  .today-dialog-head h2 { font-size:21px; }
  .today-dialog-body { padding:0 22px 25px; }
  .today-form-row { grid-template-columns:minmax(0,1fr);gap:0; }
  .today-setup-source-list { grid-template-columns:minmax(0,1fr);gap:16px; }
  .today-briefing-text { padding:18px;font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
  .today-loading>span { animation:none; }
  .today-workspace *, .today-dialog * { scroll-behavior:auto!important;transition:none!important; }
}
