:root{--bg:#fafaf9;--surface:#fff;--surface-muted:#f4f4f2;--surface-hover:#f4f4f2;--surface-pressed:#eceae5;--surface-warm:#f7f4ec;--surface-alert:#fcebea;--border:#eaeaea;--border-strong:#d4d4d4;--border-warm:#dcd8cf;--border-alert:#f5cece;--text:#1a1a1a;--text-secondary:#737373;--text-muted:#999;--danger:#e5534b;--warning:#d08700;--success:#1a7f5a;--info:#2563eb;--status-red:#e5534b;--status-amber:#d08700;--status-green:#1a7f5a;--status-blue:#2563eb;--status-red-bg:#fcebea;--status-amber-bg:#faf1e0;--status-green-bg:#e8f1ed;--status-blue-bg:#e7eefb;--viz-line:#1a1a1a;--viz-secondary:#737373;--viz-tertiary:#2563eb;--viz-fill:#d9d7d1;--viz-axis:#999;--spark-good:#1a7f5a;--spark-bad:#e5534b;--spark-neutral:#999;--shadow:0 10px 30px #1111110a;--modal-backdrop:#11111152;--modal-shadow:0 24px 60px #1111112e;--font-sans:"Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}:root[data-theme=dark]{--bg:#171715;--surface:#21211f;--surface-muted:#2a2a27;--surface-hover:#2f2f2b;--surface-pressed:#383833;--surface-warm:#292821;--surface-alert:#2f2221;--border:#383832;--border-strong:#504f47;--border-warm:#4b493f;--border-alert:#70413d;--text:#f2f0ea;--text-secondary:#b8b3a8;--text-muted:#8f897d;--danger:#ff8a80;--warning:#e1ad44;--success:#6fc79f;--info:#8db5ff;--status-red:#ff8a80;--status-amber:#e1ad44;--status-green:#6fc79f;--status-blue:#8db5ff;--status-red-bg:#3a2624;--status-amber-bg:#36281a;--status-green-bg:#1f2e27;--status-blue-bg:#1f2738;--viz-line:#f2f0ea;--viz-secondary:#b8b3a8;--viz-tertiary:#8db5ff;--viz-fill:#4b493f;--viz-axis:#aaa397;--spark-good:#6fc79f;--spark-bad:#ff8a80;--spark-neutral:#aaa397;--shadow:0 16px 40px #00000038;--modal-backdrop:#0c0c0b94;--modal-shadow:0 28px 70px #0000005c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);font:13px/1.5 var(--font-sans);font-variant-numeric:tabular-nums;margin:0;overflow-x:hidden}button,input,select{font:inherit}input,select,textarea{color:var(--text)}a{color:inherit;text-decoration:none}table{border-collapse:collapse;table-layout:fixed;width:100%}.u-right{text-align:right}.u-tabular{font-variant-numeric:tabular-nums}.app-shell{min-height:100vh}.mode-banner{background:var(--text);width:100vw;height:32px;color:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:0 20px 0 252px;font-size:12px;display:flex}.mode-banner button{width:20px;height:20px;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;width:220px;height:100vh;padding:0 12px;display:flex;position:fixed;top:0;left:0}.sidebar__brand{letter-spacing:-.01em;align-items:center;height:48px;padding:0 12px;font-size:16px;font-weight:600;display:flex}.sidebar__search{border:1px solid var(--border);background:var(--surface);height:36px;color:var(--text-secondary);cursor:pointer;border-radius:4px;align-items:center;gap:10px;margin:0 0 12px;padding:0 12px;font-size:13px;transition:border-color .1s;display:flex}.sidebar__search:hover,.sidebar__search:focus-visible{border-color:var(--text);outline:none}.sidebar__nav{flex-direction:column;gap:2px;display:flex}.sidebar__item{height:36px;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:10px;padding:0 12px;font-size:13px;transition:background .1s;display:flex;position:relative}.sidebar__item:hover,.sidebar__profile-main:hover,.sidebar__theme-toggle:hover,.table-filter:hover,.period-picker__select:hover,.period-picker__date:hover{background:var(--bg)}.sidebar__profile-main:hover{border-radius:4px}.sidebar__item--active{background:var(--surface-muted)}.sidebar__item--active:before{content:"";background:var(--text);border-radius:0 2px 2px 0;width:2px;position:absolute;top:6px;bottom:6px;left:0}.sidebar__spacer{flex:1}.sidebar__divider{border-top:1px solid var(--border)}.sidebar__profile{justify-content:space-between;align-items:center;gap:8px;padding:16px 4px;display:flex}.sidebar__profile-main{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;flex:1;align-items:center;gap:10px;padding:4px 8px;display:flex}.sidebar__avatar{background:var(--surface-muted);width:28px;height:28px;color:var(--text-secondary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:inline-flex}.sidebar__profile-copy{flex-direction:column;min-width:0;display:flex}.sidebar__profile-copy span{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar__theme-toggle{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.app-main{max-width:calc(100vw - 220px);min-height:100vh;margin-left:220px;overflow-x:hidden}.mode-chip{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);cursor:pointer;letter-spacing:.04em;border-radius:999px;padding:6px 10px;font-size:12px;transition:background .15s,color .15s,border-color .15s}.mode-chip:hover{border-color:var(--border-strong);background:var(--surface-muted)}.mode-chip--test{background:var(--surface-muted)}.mode-chip--live{background:var(--text);color:var(--surface);border-color:var(--text)}.mode-chip--live:hover{background:var(--text-secondary);border-color:var(--text-secondary)}.live-loading{height:200px;color:var(--text-muted);justify-content:center;align-items:center;font-size:14px;display:flex}.hero-loading{height:160px;color:var(--text-muted);border:1px dashed var(--border);border-radius:8px;justify-content:center;align-items:center;margin-bottom:24px;font-size:13px;display:flex}.live-error{background:var(--surface-alert);border:1px solid var(--border-alert);color:var(--danger);border-radius:6px;align-items:center;gap:8px;margin:32px;padding:16px;font-size:13px;display:flex}.auth-screen{background:var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{border:1px solid var(--border);background:var(--surface);width:min(420px,100%);box-shadow:var(--modal-shadow);border-radius:8px;flex-direction:column;gap:18px;padding:26px;display:flex}.auth-panel__mark{border:1px solid var(--border);background:var(--surface-muted);width:42px;height:42px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.auth-panel__eyebrow,.auth-panel__copy{color:var(--text-secondary);margin:0}.auth-panel__eyebrow{text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:700}.auth-panel h1{margin:0 0 8px;font-size:24px;line-height:1.2}.auth-panel__copy{line-height:1.5}.auth-panel__button,.auth-panel__theme,.account-signout{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.auth-panel__button{border:1px solid var(--text);background:var(--text);color:var(--surface);font-weight:700}.auth-panel__theme{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary)}.auth-panel .live-loading,.auth-panel .live-error{height:auto;margin:0}.table-filter,.period-picker__select,.period-picker__date{border:1px solid var(--border);background:var(--surface);height:36px;color:var(--text);border-radius:4px}.app-content{max-width:100%;padding:32px;overflow-x:hidden}.view{flex-direction:column;gap:32px;display:flex}.view__header{margin-bottom:0}.view__header,.filters-row,.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.view__title{letter-spacing:-.02em;margin:0;font-size:28px;font-weight:600;line-height:1.1}.view__subtitle{color:var(--text-secondary);margin:8px 0 0;font-size:14px}.period-picker,.period-picker__custom,.filters-row,.table-toolbar__left{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.period-picker{border:1px solid var(--border);background:var(--surface);border-radius:4px;padding:6px 10px}.period-picker__label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:11px;font-weight:500}.period-picker__select,.table-filter,.period-picker__date{padding:0 12px}.table-filter--compact{height:32px}.period-picker__dash{color:var(--text-secondary)}.panel,.partner-table-card,.detail-card,.report-card{border:1px solid var(--border);background:var(--surface);border-radius:6px;padding:20px}.panel__head,.hero-block__chart-head,.report-card__head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.panel__head h2,.hero-block__chart-head h2,.section-title{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:600}.panel__columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.panel__column{min-width:0}.panel__column-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.list-row,.attention-row,.feed-item,.simple-table th,.simple-table td,.partner-table th,.partner-table td{font-size:13px}.list-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:12px;padding:14px 0;display:grid}.list-row--interactive,.attention-row--interactive,.feed-item--interactive{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0}.list-row--interactive:hover,.attention-row--interactive:hover,.feed-item--interactive:hover{background:var(--surface-hover)}.list-row:last-child,.attention-row:last-child,.feed-item:last-child{border-bottom:0}.hero-block{grid-template-columns:1fr 2fr;gap:20px;display:grid}.dashboard-hero{grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:20px;display:grid}.hero-block__tiles{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.hero-block__tiles--activity{grid-template-columns:repeat(3,1fr)}.summary-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.summary-tile{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:6px;padding:20px;display:flex}.summary-tile__label{color:var(--text-secondary)}.summary-tile__value{font-variant-numeric:tabular-nums;font-size:28px;line-height:1}.summary-tile__sublabel{color:var(--text-secondary);align-items:center;gap:6px;display:inline-flex}.summary-tile--with-spark{min-height:154px}.summary-tile__spark{height:32px;margin-top:auto}.chart-card{border:1px solid var(--border);background:var(--surface);border-radius:6px;padding:20px}.chart-card__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.chart-card__head h2{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:600}.chart-card__head p{color:var(--text-secondary);margin:4px 0 0;font-size:14px}.chart-card__legend{color:var(--text-secondary);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:14px;font-size:12px;display:inline-flex}.chart-card__legend label{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.chart-card__legend input{margin:0}.chart-card__legend-swatch{border-radius:1px;width:10px;height:2px}.chart-card__body{min-height:0}.chart-empty{color:var(--text-secondary);background:0 0;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.chart-empty__icon{color:var(--text-muted);align-items:center;display:inline-flex}.chart-empty__icon--good{color:var(--status-green)}.chart-skeleton{background:var(--surface-muted);border-radius:6px;justify-content:center;align-items:center;animation:1.2s ease-in-out infinite chart-skeleton-pulse;display:flex;position:relative;overflow:hidden}@keyframes chart-skeleton-pulse{0%,to{opacity:.5}50%{opacity:.9}}.chart-options{color:var(--text-secondary);flex-wrap:wrap;gap:14px;margin-bottom:8px;display:flex}.chart-options label{align-items:center;gap:6px;display:inline-flex}.chart-tooltip{border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:none;border-radius:4px;padding:8px;font-size:12px}.chart-tooltip strong{font-size:12px;font-weight:600}.chart-tooltip__row{font-variant-numeric:tabular-nums;justify-content:space-between;gap:16px;display:flex}.donut-total{fill:var(--text);font-size:22px;font-weight:700}.donut-label{fill:var(--text-secondary);font-size:11px}.hero-block__chart{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;padding:20px;display:flex}.hero-block__chart-head span,.report-card__foot,.empty-copy{color:var(--text-secondary)}.hero-block__chart-shell{flex:1;height:100%;min-height:0}.status-block{flex-direction:column;gap:16px;display:flex}.status-block__bar{background:var(--surface-muted);border-radius:3px;width:100%;height:6px;display:flex;overflow:hidden}.status-block__bar--inline{min-width:92px;height:8px}.mini-bar{align-items:center;gap:8px;min-width:100px;height:22px;display:flex;position:relative}.mini-bar:before{content:"";background:var(--surface-muted);border-radius:999px;width:62px;height:6px;position:absolute;left:0}.mini-bar span{z-index:1;background:var(--status-green);border-radius:999px;max-width:62px;height:6px;display:block;position:relative}.mini-bar strong{margin-left:70px}.status-block__legend{flex-wrap:wrap;gap:16px;display:flex}.status-minimal{align-items:center;gap:6px;display:inline-flex}.status-minimal__dot{border-radius:50%;width:6px;height:6px}.inline-link{color:var(--info);cursor:pointer;background:0 0;border:0;padding:0}.partner-name-link{color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.partner-name-link:hover{text-underline-offset:2px;text-decoration:underline}.table-shell{overflow:hidden}.partner-table th,.partner-table td,.simple-table th,.simple-table td{border-bottom:1px solid var(--border);vertical-align:middle;height:44px;padding:0 16px}.partner-table th:first-child,.partner-table td:first-child,.simple-table th:first-child,.simple-table td:first-child{padding-left:20px}.partner-table th:last-child,.partner-table td:last-child,.simple-table th:last-child,.simple-table td:last-child{padding-right:20px}.partner-table th,.simple-table th{color:var(--text-muted);white-space:nowrap;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:500}.partner-table tfoot td{background:var(--surface-hover);border-top:1px solid var(--border);border-bottom:0;height:48px;font-weight:500}.table-sort,.psm-chip,.back-link{color:inherit;cursor:pointer;background:0 0;border:0}.table-sort{align-items:center;gap:4px;width:100%;padding:0;display:inline-flex}.table-sort--right{justify-content:flex-end}.partner-table__row{cursor:pointer;transition:background .1s}.partner-table__row:hover{background:var(--surface-hover)}.partner-table__row:active{background:var(--surface-pressed)}.partner-table__row:hover .partner-link__text{text-underline-offset:2px;text-decoration:underline}.partner-link{align-items:center;gap:8px;width:100%;min-width:0;display:inline-flex}.partner-link__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.partner-link__icon{color:var(--text-muted);flex-shrink:0}.table-sparkline{width:80px;height:24px}.placement-cell{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.pace-indicator{font-size:10px}.pace-indicator--good{color:var(--status-green)}.pace-indicator--bad{color:var(--status-red)}.pace-indicator--neutral{color:var(--viz-axis)}.psm-chip{border:1px solid var(--border);background:var(--surface);height:24px;color:var(--text-secondary);border-radius:4px;align-items:center;padding:0 8px;font-size:12px;transition:border-color .1s;display:inline-flex}.psm-chip:hover{border-color:var(--border-strong);color:var(--text)}.filter-pill{border:1px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;gap:8px;height:36px;padding:0 12px;display:inline-flex}.filter-pill button{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:inline-flex}.partner-table__activity--stale{color:var(--danger)}.partner-table__activity--quiet{color:var(--text-muted)}.reports-grid,.detail-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.partner-detail-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,720px),1fr));align-items:start;gap:20px;display:grid}.partner-detail-main,.partner-detail-side{flex-direction:column;gap:20px;display:flex}.partner-detail-side .add-note{grid-template-columns:minmax(0,1fr) auto}.partner-detail-side .add-note__textarea{grid-column:1/-1}.gauge-stack{flex-direction:column;gap:18px;display:flex}.gauge-row__head{justify-content:space-between;gap:12px;margin-bottom:6px;display:flex}.gauge-row__bar{background:var(--surface-muted);border-radius:999px;height:8px;position:relative}.gauge-row__fill{border-radius:inherit;position:absolute;inset:0 auto 0 0}.gauge-row__fill--good{background:var(--status-green)}.gauge-row__fill--bad{background:var(--status-red)}.gauge-row__bar i{background:var(--viz-axis);width:1px;position:absolute;top:-4px;bottom:-4px}.report-card{padding:20px}.report-card__head span{color:var(--text-secondary)}.list-stack,.detail-card--stack{flex-direction:column;gap:0;display:flex}.attention-row,.feed-item{border-bottom:1px solid var(--border);padding:16px 0}.attention-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.attention-row--visual{grid-template-columns:minmax(0,1fr) 90px 70px auto;display:grid}.days-bar{background:var(--surface-muted);border-radius:999px;width:60px;height:8px;overflow:hidden}.days-bar span{height:100%;display:block}.days-bar--good span{background:var(--status-green)}.days-bar--watch span{background:var(--status-amber)}.days-bar--bad span{background:var(--status-red)}.attention-row div:first-child,.feed-item__top,.feed-item__meta,.detail-meta{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.attention-row span,.feed-item__meta,.detail-meta,.back-link{color:var(--text-secondary)}.detail-section{flex-direction:column;gap:16px;display:flex}.detail-card--chart{height:292px}.metric-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-breakdown--summary{margin-top:4px}.metric-breakdown__item{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:4px;padding:16px;display:flex}.metric-breakdown__item span{color:var(--text-secondary);font-size:13px}.metric-breakdown__item strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.metric-breakdown__item small{color:var(--text-secondary);font-size:12px}.summary-note{color:var(--text-secondary);margin-top:14px;font-size:13px}.simple-table__clickable{cursor:pointer}.simple-table__clickable:hover{background:var(--surface-muted)}.sync-button{border:1px solid var(--border-strong);background:var(--surface-muted);min-width:128px;min-height:40px;color:var(--text);cursor:pointer;border-radius:6px;padding:0 14px;font-weight:700}.sync-button:hover:not(:disabled){background:var(--surface-hover)}.sync-button:disabled{cursor:wait;opacity:.65}.add-note{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 140px auto;gap:10px;padding-bottom:16px;display:grid}.add-note__textarea,.add-note__author,.add-note__button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:4px}.add-note__textarea{resize:vertical;min-height:72px;padding:10px 12px}.add-note__author,.add-note__button{height:36px;padding:0 12px}.add-note__author{text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);align-items:center;display:inline-flex;overflow:hidden}.add-note__button{cursor:pointer}.back-link{align-items:center;gap:4px;margin-bottom:12px;display:inline-flex}.feed-item__body{margin-top:4px}.feed-item__value{font-variant-numeric:tabular-nums;margin-top:4px}.feed-item__type{text-transform:capitalize;align-items:center;gap:6px;display:inline-flex}.search-modal{z-index:100;justify-content:center;align-items:flex-start;padding:96px 24px 24px;display:flex;position:fixed;inset:0}.search-modal__backdrop{background:var(--modal-backdrop);border:0;position:absolute;inset:0}.search-modal__dialog{border:1px solid var(--border);background:var(--surface);width:min(760px,100%);max-height:calc(100vh - 140px);box-shadow:var(--modal-shadow);border-radius:10px;position:relative;overflow:hidden}.search-modal__top{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:16px;display:flex}.search-modal__input-wrap{border:1px solid var(--border);background:var(--surface-hover);border-radius:8px;flex:1;align-items:center;gap:10px;height:48px;padding:0 14px;display:flex}.search-modal__input{background:0 0;border:0;outline:none;flex:1}.search-modal__close{width:36px;height:36px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px}.search-modal__results{max-height:calc(100vh - 240px);padding:8px;overflow:auto}.search-modal__empty{color:var(--text-secondary);padding:16px}.search-result{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:flex-start;gap:12px;padding:12px;display:flex}.search-result:hover,.search-modal__close:hover{background:var(--surface-hover)}.search-result__icon{background:var(--surface-muted);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.search-result__copy{flex-direction:column;gap:2px;min-width:0;display:flex}.search-result__type{text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);font-size:11px}.search-result__label{font-weight:600}.search-result__description{color:var(--text-secondary)}.icon-button{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.account-modal{z-index:110;justify-content:center;align-items:flex-start;padding:72px 24px 24px;display:flex;position:fixed;inset:0}.account-modal__backdrop{background:var(--modal-backdrop);border:0;position:absolute;inset:0}.account-modal__dialog{border:1px solid var(--border);background:var(--surface);width:min(840px,100%);max-height:calc(100vh - 96px);box-shadow:var(--modal-shadow);border-radius:10px;position:relative;overflow:auto}.account-modal__header{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex;position:sticky;top:0}.account-modal__identity{align-items:center;gap:12px;min-width:0;display:flex}.account-modal__identity h2,.account-modal__identity p{margin:0}.account-modal__identity h2{font-size:18px}.account-modal__identity p{color:var(--text-secondary)}.account-modal__avatar{background:var(--surface-muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-weight:700;display:inline-flex}.account-modal__body{flex-direction:column;gap:16px;padding:20px;display:flex}.account-modal__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.account-panel{border:1px solid var(--border);background:var(--surface-hover);border-radius:8px;padding:16px}.account-panel--wide{background:var(--surface)}.account-panel__title{align-items:center;gap:8px;margin-bottom:14px;display:flex}.account-panel__title svg{color:var(--text-secondary)}.account-panel__rows{flex-direction:column;gap:10px;display:flex}.account-panel__row{color:var(--text-secondary);justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.account-panel__row strong{color:var(--text);text-align:right;font-weight:600}.account-panel__row--control{align-items:center}.account-panel__row--control div{flex-direction:column;gap:2px;display:flex}.account-toggle{cursor:pointer;background:0 0;border:0;padding:0}.account-toggle__track{border:1px solid var(--border-strong);background:var(--surface-muted);border-radius:999px;align-items:center;width:44px;height:24px;padding:3px;display:flex}.account-toggle__thumb{background:var(--text);border-radius:50%;width:16px;height:16px;transition:transform .16s}.account-toggle[aria-pressed=true] .account-toggle__thumb{transform:translate(18px)}.account-checklist{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.account-checklist span{border:1px solid var(--border);background:var(--surface-hover);color:var(--text-secondary);border-radius:6px;padding:10px 12px}.account-signout{border:1px solid var(--border-alert);background:var(--surface-alert);width:100%;color:var(--danger);font-weight:700}.todays-focus{flex-direction:column;gap:16px;display:flex}.todays-focus__head h2{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:600}.todays-focus__head p{color:var(--text-secondary);margin:4px 0 0;font-size:14px}.todays-focus__row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.focus-cell{border:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;border-radius:6px;flex-direction:column;gap:12px;padding:24px;transition:transform .15s ease-out,border-color .15s ease-out;display:flex;position:relative}.focus-cell:hover{border-color:var(--border-strong);transform:translateY(-1px)}.focus-cell__top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.focus-cell__value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--text);font-size:48px;font-weight:600;line-height:1}.focus-cell__label{color:var(--text-secondary);font-size:13px;line-height:1.4}.focus-cell__trend{color:var(--text-muted);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;display:inline-flex}.focus-cell__arrow{border-left:4px solid #0000;border-right:4px solid #0000;width:0;height:0;display:inline-block}.focus-cell__arrow--up{border-bottom:6px solid var(--status-green)}.focus-cell__arrow--down{border-top:6px solid var(--status-red)}.focus-cell__arrow--flat{background:var(--text-muted);border:0;border-radius:50%;width:6px;height:6px}.focus-cell--accent-red{border-left:2px solid var(--status-red)}.focus-cell--accent-green{border-left:2px solid var(--status-green)}.focus-cell--accent-red:hover,.focus-cell--accent-green:hover{border-color:var(--border-strong)}.focus-cell--accent-red:hover{border-left-color:var(--status-red)}.focus-cell--accent-green:hover{border-left-color:var(--status-green)}.metrics-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.workload-bars{flex-direction:column;gap:16px;display:flex}.workload-bar{grid-template-columns:88px minmax(0,1fr) 32px;align-items:center;gap:16px;display:grid}.workload-bar__name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.workload-bar__total{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;font-size:13px;font-weight:500}.workload-bar__track{background:var(--surface-muted);border-radius:4px;height:32px;display:flex;overflow:hidden}.workload-bar__seg{cursor:pointer;border-right:2px solid #0000;height:100%;transition:filter .1s;position:relative}.workload-bar__seg:last-child{border-right:0}.workload-bar__seg:hover{filter:brightness(.97)}.workload-bar__seg[data-status=red]{background:var(--status-red-bg);border-right-color:var(--status-red)}.workload-bar__seg[data-status=amber]{background:var(--status-amber-bg);border-right-color:var(--status-amber)}.workload-bar__seg[data-status=green]{background:var(--status-green-bg);border-right-color:var(--status-green)}.workload-bar__seg[data-status=blue]{background:var(--status-blue-bg);border-right-color:var(--status-blue)}.metric-tile{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:6px;flex-direction:column;gap:6px;min-height:120px;padding:16px;display:flex}.metric-tile--interactive{cursor:pointer;transition:background .1s}.metric-tile--interactive:hover{background:var(--surface-hover)}.metric-tile__label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:500}.metric-tile__value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:600;line-height:1}.metric-tile__spark{height:28px;margin-top:auto}.metric-tile--status .status-bar{background:var(--surface-muted);border-radius:3px;width:100%;height:6px;margin-top:auto;display:flex;overflow:hidden}.metric-tile--status .status-bar span{height:100%}.status-bar__legend{color:var(--text-secondary);flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.panel__subtitle{color:var(--text-secondary);margin:4px 0 0;font-size:12px}.activity-feed{flex-direction:column;display:flex}.activity-feed__row{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:22px minmax(140px,1fr) minmax(140px,1.4fr) 80px;align-items:center;gap:10px;padding:12px 0;transition:background .1s;display:grid}.activity-feed__row:last-child{border-bottom:0}.activity-feed__row:hover{background:var(--surface-hover)}.activity-feed__icon{background:var(--surface-muted);width:22px;height:22px;color:var(--text-secondary);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.activity-feed__name{font-weight:500}.activity-feed__verb{color:var(--text-secondary)}.activity-feed__time{color:var(--text-muted);text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.list-row--with-dot .list-row__main{align-items:center;gap:8px;display:inline-flex}.empty-copy{color:var(--text-secondary);font-size:13px}.empty-copy--inline{color:var(--text-secondary);align-items:center;gap:8px;padding:14px 0;display:inline-flex}.funnel-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:stretch;gap:8px;display:grid}.funnel-card{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:8px;min-width:0;padding:16px;display:flex}.funnel-card__label{color:var(--text-secondary);font-size:13px}.funnel-card__value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:32px;font-weight:600;line-height:1}.funnel-card__arrow{color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.funnel-card__arrow-icon{color:var(--text-muted);display:inline-flex}.funnel-card__pct{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:12px}.reports-stack{flex-direction:column;gap:20px;display:flex}.status-pills{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px;padding:12px 20px;display:flex}.status-pill{border:1px solid var(--border);background:var(--surface);cursor:pointer;height:22px;color:var(--text-secondary);letter-spacing:.04em;border-radius:4px;align-items:center;gap:6px;padding:0 8px;font-size:11px;font-weight:500;display:inline-flex}.status-pill:hover{background:var(--surface-hover)}.status-pill--active{background:var(--surface-muted);color:var(--text);border-color:var(--border-strong)}.status-pill--red.status-pill--active{background:var(--status-red-bg);color:var(--status-red);border-color:var(--status-red-bg)}.status-pill--amber.status-pill--active{background:var(--status-amber-bg);color:var(--status-amber);border-color:var(--status-amber-bg)}.status-pill--green.status-pill--active{background:var(--status-green-bg);color:var(--status-green);border-color:var(--status-green-bg)}.status-pills__count{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.status-tag{letter-spacing:.04em;text-transform:none;border-radius:4px;align-items:center;gap:6px;height:22px;padding:2px 8px;font-size:11px;font-weight:500;display:inline-flex}.status-tag__dot{border-radius:50%;width:6px;height:6px}.status-tag--red{background:var(--status-red-bg);color:var(--status-red)}.status-tag--red .status-tag__dot{background:var(--status-red)}.status-tag--amber{background:var(--status-amber-bg);color:var(--status-amber)}.status-tag--amber .status-tag__dot{background:var(--status-amber)}.status-tag--green{background:var(--status-green-bg);color:var(--status-green)}.status-tag--green .status-tag__dot{background:var(--status-green)}.status-tag--blue{background:var(--status-blue-bg);color:var(--status-blue)}.status-tag--blue .status-tag__dot{background:var(--status-blue)}.health-cell{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.health-cell__label{font-weight:500}.health-cell__days{color:var(--text-muted);white-space:nowrap;font-size:12px}.attention-row--days{grid-template-columns:minmax(0,1.4fr) 130px 110px 72px;align-items:center;gap:16px;display:grid}.attention-card{border-bottom:1px solid var(--border)}.attention-card:last-child,.attention-card .attention-row{border-bottom:0}.attention-group{border-top:1px solid var(--border);flex-direction:column;gap:4px;padding:12px 0 4px;display:flex}.attention-group:first-of-type{border-top:0;padding-top:4px}.attention-group__head{color:var(--text-secondary);padding:8px 0 4px;font-weight:500}.days-quiet{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.days-quiet strong{font-size:15px}.days-quiet span{color:var(--text-muted);font-size:11px}.note-action{border:1px solid var(--border);background:var(--surface);cursor:pointer;height:28px;color:var(--text);border-radius:999px;padding:0 12px;font-size:12px}.note-action:hover{background:var(--surface-hover)}.inline-note{padding:12px 0 16px}.inline-note__head{color:var(--text-secondary);justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.status-strip{gap:2px;height:8px;display:flex}.status-strip__segment{background:var(--status-strip-bg,var(--surface-muted));border-radius:2px;width:28px;height:8px;transition:background .1s;display:block;position:relative}.status-strip__segment[data-status=green]{--status-strip-bg:var(--status-green-bg);--status-strip-fg:var(--status-green)}.status-strip__segment[data-status=amber]{--status-strip-bg:var(--status-amber-bg);--status-strip-fg:var(--status-amber)}.status-strip__segment[data-status=red]{--status-strip-bg:var(--status-red-bg);--status-strip-fg:var(--status-red)}.status-strip__segment[data-status=blue]{--status-strip-bg:var(--status-blue-bg);--status-strip-fg:var(--status-blue)}.status-strip__segment:hover{background:var(--status-strip-fg,var(--text-muted))}.status-minimal__dot--large{width:8px;height:8px}.status-minimal--strong{font-weight:500}.health-summary{flex-direction:column;gap:18px;display:flex}.health-summary .chart-card__head{gap:4px;display:block}.health-summary__section{flex-direction:column;gap:8px;display:flex}.health-summary__label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.table-shell--sticky{max-height:70vh;overflow:auto}.simple-table--sticky thead th,.partner-table--sticky thead th{background:var(--surface);z-index:1;position:sticky;top:0}.partner-table thead th,.simple-table thead th{background:var(--surface)}@media (width<=1180px){.hero-block,.reports-grid,.detail-columns,.partner-detail-grid,.dashboard-hero{grid-template-columns:1fr}.summary-grid,.panel__columns,.account-modal__grid,.account-checklist{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.todays-focus__row,.funnel-cards{grid-template-columns:1fr}.funnel-card__arrow:before{content:"↓"}}@media (width<=1360px){.partner-detail-grid{grid-template-columns:1fr}}@media (width<=780px){.mode-banner{padding-left:20px}.sidebar{width:100%;height:auto;position:static}.app-main{max-width:100%;margin-left:0}.app-content{padding-left:20px;padding-right:20px}.hero-block__tiles,.hero-block__tiles--activity,.summary-grid,.panel__columns,.account-modal__grid,.account-checklist,.metric-breakdown,.add-note,.metrics-strip,.todays-focus__row{grid-template-columns:1fr}.account-modal{padding:24px 12px}.account-modal__dialog{max-height:calc(100vh - 48px)}.account-panel__row{flex-direction:column;gap:4px}.account-panel__row strong{text-align:left}}
