@layer reset,tokens,base,components,pages,utilities;@layer tokens{:root{color-scheme:light;--forrest-600: #1d4d51;--forrest-700: #163c3f;--forrest-800: #112d2f;--forrest-900: #081516;--mint-100: #e2f5f0;--mint-300: #a5dfd3;--mint-500: #4abfa7;--mint-700: #1f7a68;--blaze-100: #fdf1e2;--blaze-500: #f08721;--blaze-600: #d97312;--chalk: #f4f0ec;--canvas: #faf8f6;--surface: #ffffff;--surface-sunken: #f6f3ef;--surface-hover: #f4f1ec;--surface-selected: #e9f4f1;--ink: #112d2f;--ink-soft: #2f4748;--muted: #5b6b6c;--border: #e7e2dc;--border-strong: #d6cfc7;--control-border: #7f8f8f;--focus: #163c3f;--sidebar-bg: #163c3f;--sidebar-ink: #f1f6f5;--sidebar-muted: #a9c4c0;--sidebar-hover: rgba(255, 255, 255, .07);--sidebar-active: rgba(255, 255, 255, .12);--sidebar-border: rgba(255, 255, 255, .1);--series-1: #12856f;--series-2: #4f74c8;--series-3: #a8742c;--danger-fg: #9f1c1c;--danger-bg: #fdecec;--danger-solid: #b42323;--warn-fg: #8a4b00;--warn-bg: #fdf1dc;--info-fg: #0f4c81;--info-bg: #e6f1fb;--success-fg: #0d5c4b;--success-bg: #e2f5f0;--neutral-fg: #475556;--neutral-bg: #eef0ef;--font-body: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display: "Space Grotesk Variable", "Inter Variable", system-ui, sans-serif;--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;--text-11: .6875rem;--text-12: .75rem;--text-13: .8125rem;--text-14: .875rem;--text-16: 1rem;--text-20: 1.25rem;--text-24: 1.5rem;--text-32: 2rem;--text-40: 2.5rem;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 10px;--radius-pill: 999px;--shadow-1: 0 1px 2px rgba(17, 45, 47, .06);--shadow-2: 0 4px 16px rgba(17, 45, 47, .1);--shadow-3: 0 24px 64px rgba(8, 21, 22, .24);--row-compact: 32px;--row-default: 36px;--row-comfortable: 44px;--control-h: 36px;--topbar-h: 52px;--sidebar-w: 240px;--rail-w: 56px;--z-sticky-cell: 1;--z-sticky-head: 2;--z-sticky-corner: 3;--z-bulkbar: 10;--z-topbar: 20;--z-sidebar: 30;--z-drawer: 40;--z-toast: 60;--ease: cubic-bezier(.2, 0, 0, 1);--dur: .14s}}@layer reset{*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body,h1,h2,h3,h4,p,dl,dd,ul,ol,figure{margin:0}ul,ol{padding:0;list-style:none}button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}button{background:none;border:0;padding:0;cursor:pointer;text-align:inherit}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}img,svg{display:block;flex-shrink:0}table{border-collapse:separate;border-spacing:0;width:100%}th{text-align:left;font-weight:inherit}dialog{padding:0;border:0;color:inherit;max-width:none;max-height:none}}@layer base{html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:var(--font-body);font-size:var(--text-14);line-height:1.45;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}h1,.display{font-family:var(--font-display);font-weight:600;letter-spacing:-.02em;line-height:1.1}h1{font-size:var(--text-24)}h2{font-size:var(--text-14);font-weight:600;letter-spacing:-.005em}h3{font-size:var(--text-13);font-weight:600}code,.mono{font-family:var(--font-mono);font-size:.92em;letter-spacing:-.01em}.num{font-variant-numeric:tabular-nums}:focus{outline:none}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-sm)}::selection{background:var(--mint-300);color:var(--forrest-900)}input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;margin:0;flex-shrink:0;border:1.5px solid var(--control-border);border-radius:var(--radius-sm);background:var(--surface);display:inline-grid;place-content:center;cursor:pointer;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease)}input[type=checkbox]:after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform var(--dur) var(--ease)}input[type=checkbox]:checked{background:var(--forrest-700);border-color:var(--forrest-700)}input[type=checkbox]:checked:after{transform:translateY(-1px) rotate(-45deg) scale(1)}input[type=checkbox]:indeterminate{background:var(--forrest-700);border-color:var(--forrest-700)}input[type=checkbox]:indeterminate:after{width:8px;height:0;border-left:0;transform:none}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}}@layer utilities{.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}.muted{color:var(--muted)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.text-right{text-align:right}@media(max-width:760px){.desktop-only{display:none!important}}@media(min-width:761px){.mobile-only{display:none!important}}}@layer components{.app{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);height:100dvh;transition:grid-template-columns var(--dur) var(--ease)}.app-rail{grid-template-columns:var(--rail-w) minmax(0,1fr)}.app-drawer{grid-template-columns:minmax(0,1fr)}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0}main{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable}main:focus-visible{outline:none}.skip-link{position:fixed;top:var(--space-2);left:var(--space-2);z-index:100;padding:var(--space-2) var(--space-4);background:var(--forrest-900);color:#fff;border-radius:var(--radius-md);font-weight:600;transform:translateY(-200%)}.skip-link:focus{transform:none}.sidebar{background:var(--sidebar-bg);color:var(--sidebar-ink);min-height:0;z-index:var(--z-sidebar);--focus: var(--mint-500)}.sidebar-inner{display:flex;flex-direction:column;height:100%;padding:var(--space-3);gap:var(--space-2);color:var(--sidebar-ink);--focus: var(--mint-500)}.sidebar-brand{display:flex;align-items:center;height:36px;padding:0 var(--space-1)}.brand-link{display:flex;align-items:center;gap:var(--space-3);font-family:var(--font-display);font-weight:600;font-size:var(--text-14);letter-spacing:-.01em}.brand-link img{height:26px;width:auto;border-radius:var(--radius-md)}.sidebar-search{display:flex;align-items:center;gap:var(--space-2);height:34px;padding:0 var(--space-2);border-radius:var(--radius-md);background:#0000002e;border:1px solid var(--sidebar-border);color:var(--sidebar-muted);font-size:var(--text-13);transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.sidebar-search:hover{background:#00000047;color:var(--sidebar-ink)}.sidebar-search span{flex:1}.sidebar-search .kbd{background:#ffffff1a;border-color:transparent;color:var(--sidebar-muted)}.sidebar-nav{flex:1;min-height:0;overflow-y:auto;margin:0 calc(var(--space-3) * -1);padding:var(--space-1) var(--space-3);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}.nav-section{display:flex;flex-direction:column;gap:1px;padding-bottom:var(--space-3)}.nav-section-label{padding:var(--space-2) var(--space-2) var(--space-1);font-size:var(--text-11);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sidebar-muted)}.nav-item{display:flex;align-items:center;gap:var(--space-2);width:100%;height:34px;padding:0 var(--space-2);border-radius:var(--radius-md);font-size:var(--text-14);font-weight:500;color:var(--sidebar-ink);transition:background var(--dur) var(--ease)}.nav-item>svg:first-child{color:var(--sidebar-muted)}.nav-item:hover{background:var(--sidebar-hover)}.nav-item-active{background:var(--sidebar-active)}.nav-item-active>svg:first-child{color:var(--mint-500)}.nav-item .truncate{flex:1}.nav-count{min-width:18px;padding:0 5px;border-radius:var(--radius-pill);background:var(--mint-500);color:var(--forrest-800);font-size:var(--text-11);font-weight:700;line-height:18px;text-align:center}.nav-chevron{color:var(--sidebar-muted);transition:transform var(--dur) var(--ease)}.nav-chevron-open{transform:rotate(90deg)}.subnav{display:flex;flex-direction:column;gap:1px;margin:2px 0 var(--space-2) 16px;padding-left:var(--space-2);border-left:1px solid var(--sidebar-border)}.subnav-link{display:flex;align-items:center;height:30px;padding:0 var(--space-2);border-radius:var(--radius-md);font-size:var(--text-13);color:var(--sidebar-ink);position:relative}.subnav-pending{color:var(--sidebar-muted)}.subnav-link:hover{background:var(--sidebar-hover);color:var(--sidebar-ink)}.subnav-link[aria-current=page]{background:var(--sidebar-active);color:#fff;font-weight:600}.sidebar-bottom{display:flex;flex-direction:column;gap:2px;padding-top:var(--space-2);border-top:1px solid var(--sidebar-border)}.sidebar-account{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);font-size:var(--text-13);font-weight:600;text-align:left}.sidebar-account:hover{background:var(--sidebar-hover)}.sidebar-account small{display:block;font-size:var(--text-12);font-weight:400;color:var(--sidebar-muted)}.sidebar-rail{align-items:center;padding:var(--space-3) var(--space-2)}.sidebar-rail .sidebar-brand{justify-content:center;padding:0}.sidebar-rail .brand-link img{width:20px;height:24px;object-fit:cover;object-position:left center;border-radius:0}.sidebar-rail .sidebar-search,.sidebar-rail .nav-item,.sidebar-rail .sidebar-account{width:40px;height:36px;padding:0;justify-content:center}.sidebar-rail .sidebar-nav{margin:0;padding:var(--space-1) 0;scrollbar-width:none}.sidebar-rail .nav-section{align-items:center;padding-bottom:var(--space-2);margin-bottom:var(--space-2);border-bottom:1px solid var(--sidebar-border)}.sidebar-rail .nav-section:last-child{border-bottom:0}.sidebar-rail .sidebar-bottom{align-items:center}.rail-flyout{position:fixed;left:calc(var(--rail-w) + 6px);z-index:var(--z-drawer);display:flex;flex-direction:column;gap:1px;width:232px;max-height:420px;overflow-y:auto;padding:var(--space-2);background:var(--forrest-800);border:1px solid var(--sidebar-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-3)}.rail-flyout-title{padding:var(--space-1) var(--space-2) var(--space-2);font-family:var(--font-display);font-weight:600;font-size:var(--text-13);color:#fff}.nav-drawer{position:fixed;inset:0 auto 0 0;width:min(300px,86vw);height:100dvh;margin:0;background:var(--sidebar-bg);box-shadow:var(--shadow-3)}.nav-drawer::backdrop{background:#08151680}.nav-drawer[open]{animation:slide-in-left var(--dur) var(--ease)}.nav-drawer-body{position:relative;height:100%}.nav-drawer-close{position:absolute;top:var(--space-3);right:var(--space-3);color:var(--sidebar-ink);--focus: var(--mint-500)}.nav-drawer-close:hover{background:var(--sidebar-hover);color:#fff}.nav-drawer .nav-item,.nav-drawer .subnav-link{min-height:40px}.topbar{display:flex;align-items:center;gap:var(--space-2);height:var(--topbar-h);flex-shrink:0;padding:0 var(--space-4) 0 var(--space-3);background:var(--canvas);border-bottom:1px solid var(--border);z-index:var(--z-topbar)}.breadcrumbs{display:flex;align-items:center;gap:var(--space-2);min-width:0;flex:1;font-size:var(--text-13);color:var(--muted)}.breadcrumb-current{color:var(--ink);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:var(--space-1)}.prototype-chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;margin-right:var(--space-2);border-radius:var(--radius-pill);border:1px solid var(--border-strong);font-size:var(--text-12);color:var(--muted);white-space:nowrap}.prototype-chip i{width:6px;height:6px;border-radius:50%;background:var(--mint-500)}.prototype-chip:hover{background:var(--surface-hover);color:var(--ink)}.bell{position:relative;display:inline-flex}.bell>i{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--mint-500);box-shadow:0 0 0 2px var(--canvas);pointer-events:none}.topbar-avatar{display:inline-flex;margin-left:var(--space-1);border-radius:50%}.toast-region{position:fixed;left:50%;bottom:var(--space-6);transform:translate(-50%);z-index:var(--z-toast);width:max-content;max-width:calc(100vw - 32px)}.toast{display:flex;align-items:center;gap:var(--space-3);padding:10px var(--space-3) 10px var(--space-4);background:var(--forrest-900);color:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-3);font-size:var(--text-13);font-weight:500;animation:toast-in .18s var(--ease);--focus: var(--mint-500)}.toast>svg:first-child{color:var(--mint-500)}.toast-undo{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:var(--radius-md);background:var(--mint-500);color:var(--forrest-800);font-weight:700}.toast-undo:hover{background:var(--mint-300)}.toast-close{display:inline-grid;place-content:center;width:28px;height:28px;border-radius:var(--radius-md);color:var(--sidebar-muted)}.toast-close:hover{background:#ffffff1a;color:#fff}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@keyframes slide-in-left{0%{transform:translate(-16px);opacity:0}}@keyframes slide-in-right{0%{transform:translate(24px);opacity:0}}@keyframes pop-in{0%{transform:translateY(6px) scale(.985);opacity:0}}@media(max-width:760px){.topbar{padding:0 var(--space-2)}.prototype-chip{margin-right:0;height:36px}.topbar-avatar{margin-left:0;padding:10px}.breadcrumb-parent,.breadcrumbs>svg{display:none}.toast-region{bottom:var(--space-4);width:calc(100vw - 24px)}.toast span{flex:1}}}@layer components{.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--control-h);padding:0 14px;border-radius:var(--radius-md);border:1px solid transparent;font-size:var(--text-13);font-weight:600;white-space:nowrap;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.btn-sm{height:28px;padding:0 10px;font-size:var(--text-12)}.btn-lg{height:44px;padding:0 18px;font-size:var(--text-14)}.btn-block{width:100%}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--ink);box-shadow:var(--shadow-1)}.btn-secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--control-border)}.btn-secondary[aria-pressed=true]{background:var(--surface-selected);border-color:var(--forrest-700)}.btn-primary{background:var(--forrest-700);color:#fff}.btn-primary:hover:not(:disabled){background:var(--forrest-800)}.btn-spark{background:var(--blaze-500);color:var(--forrest-800);box-shadow:0 1px 2px #d9731259}.btn-spark:hover:not(:disabled){background:var(--blaze-600)}.btn-ghost{color:var(--ink-soft)}.btn-ghost:hover:not(:disabled){background:var(--surface-hover)}.btn-danger{background:var(--danger-solid);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-fg)}.btn:disabled{opacity:1;background:var(--surface-sunken);border-color:var(--border);color:#8a9696;box-shadow:none}.btn .count{margin-left:2px}.icon-btn{display:inline-grid;place-content:center;width:34px;height:34px;border-radius:var(--radius-md);color:var(--ink-soft);transition:background var(--dur) var(--ease)}.icon-btn:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.icon-btn:disabled{color:#b5bdbd}.link{display:inline-flex;align-items:center;gap:4px;font-size:var(--text-13);font-weight:600;color:var(--forrest-700);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color var(--dur) var(--ease)}.link:hover{text-decoration-color:currentColor}select,input[type=text],input[type=date],input[type=time],input[type=number],input:not([type]),textarea{height:var(--control-h);padding:0 var(--space-3);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);font-size:var(--text-13);transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}textarea{height:auto;width:100%;padding:var(--space-2) var(--space-3);line-height:1.5;resize:vertical}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b6c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}select:hover,input:hover,textarea:hover{border-color:var(--control-border)}select:focus-visible,input:not([type=checkbox]):focus-visible,textarea:focus-visible{outline:none;border-color:var(--forrest-700);box-shadow:0 0 0 3px #163c3f2e;border-radius:var(--radius-md)}::placeholder{color:var(--muted);opacity:1}.search-field{position:relative;display:flex;align-items:center;min-width:0}.search-field>svg{position:absolute;left:11px;color:var(--muted);pointer-events:none}.search-field input{width:100%;padding-left:34px;padding-right:32px}.search-field button{position:absolute;right:5px;display:inline-grid;place-content:center;width:26px;height:26px;border-radius:var(--radius-sm);color:var(--muted)}.search-field button:hover{background:var(--surface-hover);color:var(--ink)}.search-field-xl input{height:60px;padding-left:52px;padding-right:44px;font-size:var(--text-20);font-family:var(--font-mono);letter-spacing:.01em;border-width:2px;border-color:var(--control-border);border-radius:var(--radius-lg)}.search-field-xl>svg{left:18px;color:var(--forrest-700)}.search-field-xl button{right:12px;width:32px;height:32px}.field{display:flex;flex-direction:column;gap:6px}.field-top{display:flex;justify-content:space-between;align-items:baseline}.field label{font-size:var(--text-13);font-weight:600}.field input,.field select{width:100%}.field-count{font-size:var(--text-12);color:var(--muted)}.field-count-near{color:var(--warn-fg);font-weight:600}.field-hint{font-size:var(--text-12);color:var(--muted)}.field-error{font-size:var(--text-12);font-weight:500;color:var(--danger-fg)}.field-invalid input,.field-invalid textarea{border-color:var(--danger-solid)}.form-section{min-width:0;margin:0;padding:0;border:0}.form-section+.form-section{margin-top:var(--space-5);padding-top:var(--space-5);border-top:1px solid var(--border)}.form-section legend{float:left;width:100%;padding:0;font-size:var(--text-14);font-weight:600}.form-section-note,.form-section-fields{clear:both}.form-section-note{padding-top:2px;font-size:var(--text-13);color:var(--muted)}.form-section-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4);margin-top:var(--space-3)}.field-wide{grid-column:1 / -1}.save-bar{display:flex;align-items:center;gap:var(--space-2)}.save-bar-state{margin-right:auto;font-size:var(--text-13);color:var(--muted)}.check-label{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-13);cursor:pointer;white-space:nowrap}.check-label small{color:var(--muted);font-size:var(--text-11)}.form{display:flex;flex-direction:column;gap:var(--space-4)}.badge{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:var(--radius-pill);border:1px solid transparent;font-size:var(--text-12);font-weight:600;white-space:nowrap}.badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.badge-danger{--tone-fg: var(--danger-fg);--tone-bg: var(--danger-bg);--tone-solid: var(--danger-solid)}.badge-warn{--tone-fg: var(--warn-fg);--tone-bg: var(--warn-bg);--tone-solid: var(--warn-fg)}.badge-info{--tone-fg: var(--info-fg);--tone-bg: var(--info-bg);--tone-solid: var(--info-fg)}.badge-success{--tone-fg: var(--success-fg);--tone-bg: var(--success-bg);--tone-solid: var(--success-fg)}.badge-neutral{--tone-fg: var(--neutral-fg);--tone-bg: var(--neutral-bg);--tone-solid: var(--neutral-fg)}.badge-soft{background:var(--tone-bg);color:var(--tone-fg)}.badge-solid{background:var(--tone-solid);color:#fff}.badge-outline{background:var(--surface);border-color:currentColor;color:var(--tone-fg)}.avatar{display:inline-grid;place-content:center;flex-shrink:0;border-radius:50%;font-weight:700;letter-spacing:.02em}.avatar-sm{width:24px;height:24px;font-size:10px}.avatar-md{width:32px;height:32px;font-size:var(--text-12)}.avatar-lg{width:44px;height:44px;font-size:var(--text-14)}.avatar-forrest{background:#dbe7e4;color:var(--forrest-800)}.avatar-mint{background:var(--mint-500);color:var(--forrest-800)}.avatar-chalk{background:var(--chalk);color:var(--muted);border:1px dashed var(--control-border)}.kbd{display:inline-grid;place-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);font-family:var(--font-body);font-size:var(--text-11);font-weight:600;color:var(--muted)}.count{display:inline-grid;place-content:center;min-width:20px;height:18px;padding:0 6px;margin-left:6px;border-radius:var(--radius-pill);background:var(--neutral-bg);color:var(--neutral-fg);font-size:var(--text-11);font-weight:700}.eyebrow{font-size:var(--text-11);font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-13);font-weight:500;color:var(--ink-soft);white-space:nowrap;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease)}.chip:hover{background:var(--surface-hover)}.chip[aria-pressed=true]{background:var(--forrest-700);border-color:var(--forrest-700);color:#fff;font-weight:600}.chip-count{font-size:var(--text-12);font-weight:600;color:var(--muted)}.chip[aria-pressed=true] .chip-count{color:var(--mint-300)}.segmented{display:inline-flex;padding:2px;border-radius:var(--radius-md);background:var(--surface-sunken);border:1px solid var(--border)}.segmented button{height:28px;padding:0 10px;border-radius:var(--radius-sm);font-size:var(--text-12);font-weight:600;color:var(--muted)}.segmented button:hover{color:var(--ink)}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}.tabs{display:flex;gap:var(--space-1);padding:0 var(--space-4);border-bottom:1px solid var(--border)}.tabs-scroll{overflow-x:auto;scrollbar-width:none}.tabs [role=tab]{position:relative;display:inline-flex;align-items:center;height:44px;padding:0 var(--space-2);font-size:var(--text-13);font-weight:500;color:var(--muted);white-space:nowrap}.tabs [role=tab]:hover{color:var(--ink)}.tabs [role=tab][aria-selected=true]{color:var(--ink);font-weight:600}.tabs [role=tab][aria-selected=true]:after{content:"";position:absolute;left:var(--space-2);right:var(--space-2);bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:var(--forrest-700)}.tabs [role=tab][aria-selected=true] .count{background:var(--forrest-700);color:#fff}.tabs [role=tab]:focus-visible{outline-offset:-3px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.panel-flush{padding:0;gap:0;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:24px}.panel-flush>.panel-head{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.panel-head h2{display:flex;align-items:center}.panel-head .icon-btn{width:28px;height:28px;margin:-4px -6px -4px 0}.panel-head-tabs{padding:0 var(--space-4) 0 0!important;border-bottom:1px solid var(--border)}.panel-head-tabs .tabs{border-bottom:0;margin-bottom:-1px}.panel-hint{display:inline-flex;align-items:center;gap:5px;font-size:var(--text-12);color:var(--muted);white-space:nowrap}.panel-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-4);min-height:44px;border-top:1px solid var(--border);font-size:var(--text-13);background:var(--surface)}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}.page-header-text{display:flex;flex-direction:column;gap:6px;min-width:0}.page-header-text>p{color:var(--muted);max-width:68ch}.page-header h1:focus-visible{outline:none}.page-meta{font-size:var(--text-12)}.page-header-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-3)}.metrics-4{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{display:flex;flex-direction:column;gap:2px;padding:var(--space-3) var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);min-width:0}.metric-link{transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.metric-link:hover{border-color:var(--forrest-700);box-shadow:var(--shadow-2);transform:translateY(-1px)}.metric-label{font-size:var(--text-12);font-weight:500;color:var(--muted)}.metric-value{font-size:var(--text-32);line-height:1.15}.metric-detail{display:flex;align-items:center;gap:2px;font-size:var(--text-12);color:var(--muted)}.metric-link .metric-detail svg{margin-left:auto;color:var(--ink-soft);transition:transform var(--dur) var(--ease)}.metric-link:hover .metric-detail svg{transform:translate(2px)}.metric-spark .metric-label{display:flex;align-items:center;gap:6px;color:var(--ink);font-weight:600}.metric-spark .metric-label:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blaze-500)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);padding:var(--space-12) var(--space-6);text-align:center}.empty-icon{display:grid;place-content:center;width:48px;height:48px;margin-bottom:var(--space-1);border-radius:50%;background:var(--surface-selected);color:var(--forrest-700)}.empty-state h3{font-size:var(--text-14)}.empty-state p{max-width:44ch;color:var(--muted);font-size:var(--text-13)}.empty-state .btn{margin-top:var(--space-2)}.empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2)}.info dt{font-size:var(--text-12);color:var(--muted)}.info dd{font-size:var(--text-13);font-weight:500;overflow-wrap:anywhere}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4) var(--space-5)}.info-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3) var(--space-4)}.summary-list{display:flex;flex-direction:column}.summary-list .info{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);min-height:34px;border-bottom:1px solid var(--border)}.summary-list .info:last-child{border-bottom:0}.summary-list dd{text-align:right}.coverage{display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--space-2);width:100%}.coverage-value{min-width:46px;text-align:right;font-weight:600}.coverage-danger{color:var(--danger-fg)}.coverage-warn{color:var(--warn-fg)}.coverage-success,.coverage-neutral{color:var(--ink-soft)}.coverage-neutral{font-weight:400;color:var(--muted)}.coverage-track{flex:0 0 44px;height:6px;border-radius:3px;background:var(--neutral-bg);overflow:hidden}.coverage-fill{display:block;height:100%;border-radius:3px}.coverage-fill-danger{background:var(--danger-solid)}.coverage-fill-warn{background:#d9902b}.coverage-fill-success{background:var(--mint-500)}.stepper{display:flex;gap:var(--space-2)}.step{flex:1;display:flex;align-items:flex-start;gap:var(--space-2);padding-top:var(--space-3);border-top:3px solid var(--border);color:var(--muted);min-width:0}.step-marker{display:grid;place-content:center;flex-shrink:0;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--border-strong);font-size:var(--text-11);font-weight:700}.step-text{display:flex;flex-direction:column;min-width:0}.step-label{font-size:var(--text-13);font-weight:600;line-height:20px}.step-note{font-size:var(--text-12);color:var(--warn-fg);font-weight:500}.step-done{border-top-color:var(--mint-500);color:var(--ink-soft)}.step-done .step-marker{background:var(--mint-500);border-color:var(--mint-500);color:var(--forrest-800)}.step-active{border-top-color:var(--forrest-700);color:var(--ink)}.step-active .step-marker{background:var(--forrest-700);border-color:var(--forrest-700);color:#fff}.step-blocked{border-top-color:#d9902b}.step-blocked .step-marker{background:var(--warn-bg);border-color:#d9902b;color:var(--warn-fg)}.timeline{display:flex;flex-direction:column}.timeline-item{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:var(--space-3);padding-bottom:var(--space-4)}.timeline-item:last-child{padding-bottom:0}.timeline-item:not(:last-child):before{content:"";position:absolute;left:11.5px;top:26px;bottom:2px;width:1px;background:var(--border-strong)}.timeline-icon{display:grid;place-content:center;width:24px;height:24px;border-radius:50%;background:var(--neutral-bg);color:var(--neutral-fg)}.timeline-check .timeline-icon{background:var(--success-bg);color:var(--success-fg)}.timeline-assign .timeline-icon{background:var(--info-bg);color:var(--info-fg)}.timeline-note .timeline-icon{background:var(--warn-bg);color:var(--warn-fg)}.timeline-text strong{display:block;font-size:var(--text-13);font-weight:600;line-height:24px}.timeline-text p{font-size:var(--text-13);color:var(--muted);overflow-wrap:anywhere}.timeline-note .timeline-text p{margin-top:2px;padding:var(--space-2) var(--space-3);background:var(--surface-sunken);border-radius:var(--radius-md);color:var(--ink);white-space:pre-wrap}.timeline time{font-size:var(--text-12);color:var(--muted);line-height:24px;white-space:nowrap}.timeline-compact .timeline-item{padding-bottom:var(--space-3)}.modal{margin:auto;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 48px);background:var(--surface);border-radius:14px;box-shadow:var(--shadow-3);overflow:hidden}.modal-sm{width:min(440px,calc(100vw - 24px))}.modal-lg{width:min(760px,calc(100vw - 24px))}.modal[open]{display:flex;animation:pop-in .16s var(--ease)}.modal::backdrop,.drawer::backdrop{background:#08151673;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-body{display:flex;flex-direction:column;gap:var(--space-4);width:100%;padding:var(--space-5);overflow-y:auto}.modal-head,.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3)}.modal-head h2,.drawer-head h2{font-family:var(--font-display);font-size:var(--text-20);letter-spacing:-.015em}.modal-head p,.drawer-head p{margin-top:2px;font-size:var(--text-13);color:var(--muted)}.modal-head .icon-btn,.drawer-head .icon-btn{margin:-6px -8px 0 0}.modal-copy{font-size:var(--text-14);color:var(--ink-soft)}.modal-actions{display:flex;justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap}.notice{padding:var(--space-2) var(--space-3);background:var(--surface-sunken);border-radius:var(--radius-md);font-size:var(--text-12);color:var(--muted)}.notice code{color:var(--ink)}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);height:100dvh;background:var(--surface);box-shadow:var(--shadow-3)}.drawer[open]{animation:slide-in-right .18s var(--ease)}.drawer-body{display:flex;flex-direction:column;height:100%}.drawer-head{padding:var(--space-5);border-bottom:1px solid var(--border)}.drawer-head h2{font-family:var(--font-mono);font-size:var(--text-16)}.drawer-content{flex:1;overflow-y:auto;padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}.drawer-foot{padding:var(--space-3) var(--space-5);border-top:1px solid var(--border)}.popover-anchor{position:relative}.popover{position:absolute;top:calc(100% + 6px);right:0;z-index:var(--z-drawer);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-2);animation:pop-in .12s var(--ease)}.choice-list{display:flex;flex-direction:column;gap:2px}.choice-list button{display:flex;align-items:center;gap:var(--space-3);min-height:44px;padding:0 var(--space-3);border-radius:var(--radius-md);font-size:var(--text-14);font-weight:500}.choice-list button:hover{background:var(--surface-hover)}.choice-list button[aria-pressed=true]{background:var(--surface-selected)}.choice-list button>span:nth-child(2){flex:1}.choice-list small{margin-left:var(--space-2);color:var(--muted);font-size:var(--text-12)}.account-card,.customer{display:flex;align-items:center;gap:var(--space-3)}.account-card div,.customer div{display:flex;flex-direction:column;font-size:var(--text-13)}.account-card span{color:var(--muted)}.help-list{display:flex;flex-direction:column;gap:var(--space-4)}.help-list li{display:flex;gap:var(--space-3)}.help-list li>svg{margin-top:2px;color:var(--forrest-700)}.help-list p{margin-top:2px;font-size:var(--text-13);color:var(--muted);line-height:1.7}.export-preview{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);border:1px dashed var(--border-strong);border-radius:var(--radius-lg);color:var(--forrest-700)}.export-preview div{display:flex;flex-direction:column;color:var(--ink);font-size:var(--text-13)}.export-preview span{color:var(--muted)}.review-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-3)}.review-cards>*{position:relative;display:flex;flex-direction:column;gap:2px;padding:var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);text-align:left;transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.review-cards>*:hover{border-color:var(--forrest-700);box-shadow:var(--shadow-2)}.review-number{font-size:var(--text-20);color:var(--mint-700);margin-bottom:var(--space-2)}.review-cards small{font-size:var(--text-12);color:var(--muted)}.review-cards svg{position:absolute;top:var(--space-4);right:var(--space-4);color:var(--muted)}.palette{margin-top:12vh;width:min(620px,calc(100vw - 24px))}.palette .modal-body{padding:0;gap:0}.palette-input{display:flex;align-items:center;gap:var(--space-3);padding:0 var(--space-4);border-bottom:1px solid var(--border);color:var(--muted)}.palette-input input,.palette-input input:focus-visible{flex:1;height:52px;padding:0;border:0;box-shadow:none;background:none;font-size:var(--text-16);color:var(--ink)}.palette-results{max-height:min(420px,52vh);overflow-y:auto;padding:var(--space-2)}.palette-group{display:block;padding:var(--space-2) var(--space-2) var(--space-1);font-size:var(--text-11);font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.palette-item{display:grid;grid-template-columns:28px minmax(0,auto) minmax(0,1fr) 16px;align-items:center;gap:var(--space-2);height:40px;padding:0 var(--space-2);border-radius:var(--radius-md);cursor:pointer}.palette-item[aria-selected=true]{background:var(--surface-selected)}.palette-icon{display:grid;place-content:center;width:28px;height:28px;border-radius:var(--radius-md);background:var(--surface-sunken);color:var(--ink-soft)}.palette-item[aria-selected=true] .palette-icon{background:var(--forrest-700);color:#fff}.palette-title{font-size:var(--text-14);font-weight:500}.palette-subtitle{font-size:var(--text-12);color:var(--muted)}.palette-enter{color:var(--muted)}.palette-empty{padding:var(--space-8) var(--space-6);text-align:center;font-size:var(--text-13);color:var(--muted)}.palette-foot{display:flex;gap:var(--space-4);padding:var(--space-2) var(--space-4);border-top:1px solid var(--border);background:var(--surface-sunken);font-size:var(--text-12);color:var(--muted)}.palette-foot span{display:inline-flex;align-items:center;gap:4px}.palette-foot span:last-child{margin-left:auto}@media(max-width:1100px){.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.metrics,.metrics-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.metric{padding:var(--space-3)}.metric-value{font-size:var(--text-24)}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btn,.chip,select,input[type=text],input[type=date],input[type=time],input[type=number],input:not([type]){min-height:44px}.btn-sm{min-height:36px}.icon-btn,.panel-head .icon-btn{width:44px;height:44px}.segmented button{height:38px;padding:0 12px}.tabs [role=tab]{height:48px}.tabs{overflow-x:auto;scrollbar-width:none}.palette{margin-top:12px}.palette-foot{display:none}.stepper{gap:var(--space-1)}.step{flex-direction:column;gap:6px}.step-label{font-size:var(--text-12);line-height:1.3}}.scan{display:flex;flex-direction:column;gap:var(--space-2)}.scan-form{display:flex;align-items:stretch;gap:var(--space-3)}.scan-form .search-field{flex:1;min-width:0}.scan-form .btn{height:60px;padding:0 var(--space-6)}.scan-feedback-slot:empty{display:none}.scan-feedback{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-13);font-weight:500}.scan-feedback:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.scan-ok{background:var(--success-bg);color:var(--success-fg)}.scan-bad{background:var(--danger-bg);color:var(--danger-fg)}.scan-info{background:var(--info-bg);color:var(--info-fg)}.metrics-6{grid-template-columns:repeat(6,minmax(0,1fr))}.stat-tile .delta{margin-top:var(--space-1)}.delta{display:inline-flex;align-items:center;gap:3px;font-size:var(--text-12);font-weight:600;color:var(--muted)}.delta .muted{font-weight:400}.delta-good{color:var(--success-fg)}.delta-bad{color:var(--danger-fg)}.chart-figure{gap:var(--space-3);margin:0}.chart-figure .panel-actions{display:flex;align-items:center;gap:var(--space-3)}.chart-table{--row-h: 32px;max-height:280px;overflow:auto}.chart-table .data-table{width:100%}.chart-table th[scope=row]{text-align:left;font-weight:500}.chart-more{align-self:flex-start}.area-chart{position:relative;min-height:220px;border-radius:var(--radius-md);cursor:crosshair}.area-chart svg{display:block}.chart-gridline{stroke:var(--border);stroke-width:1}.chart-tick{font-size:11px;fill:var(--muted);font-variant-numeric:tabular-nums}.chart-line{fill:none;stroke:var(--series-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-crosshair{stroke:var(--border-strong);stroke-width:1}.chart-dot{fill:var(--series-1);stroke:var(--surface);stroke-width:2}.chart-tooltip{position:absolute;transform:translate(-50%);display:flex;flex-direction:column;padding:6px 10px;background:var(--forrest-800);color:#fff;border-radius:var(--radius-md);font-size:var(--text-12);line-height:1.35;white-space:nowrap;pointer-events:none;box-shadow:var(--shadow-2)}.chart-tooltip span{opacity:.8}.bar-list{display:flex;flex-direction:column;gap:2px}.bar-row{display:grid;grid-template-columns:minmax(90px,34%) minmax(0,1fr) 48px;align-items:center;gap:var(--space-3);width:100%;min-height:32px;padding:0 var(--space-2);margin:0 calc(var(--space-2) * -1);width:calc(100% + var(--space-4));border-radius:var(--radius-md);font-size:var(--text-13);text-align:left}button.bar-row:hover{background:var(--surface-hover)}button.bar-row[aria-pressed=true]{background:var(--surface-selected);font-weight:600}.bar-track{display:block;height:14px}.bar-fill{display:block;height:100%;background:var(--series-1);border-radius:0 4px 4px 0}.bar-value{text-align:right;color:var(--ink);font-weight:600}.stacked{display:flex;flex-direction:column;gap:var(--space-3)}.stacked-bar{display:flex;gap:2px;height:16px}.stacked-seg{min-width:4px;flex-basis:0}.stacked-seg:first-child{border-radius:4px 0 0 4px}.stacked-seg:last-child{border-radius:0 4px 4px 0}.series-1{background:var(--series-1)}.series-2{background:var(--series-2)}.series-3{background:var(--series-3)}.stacked-legend{display:flex;flex-direction:column;gap:4px;font-size:var(--text-13)}.stacked-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto 40px;align-items:center;gap:var(--space-2)}.stacked-legend i{width:10px;height:10px;border-radius:2px}.stacked-legend .muted{text-align:right}@media(max-width:1280px){.metrics-6{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.metrics-6{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-form{flex-direction:column}.bar-row{grid-template-columns:minmax(80px,40%) minmax(0,1fr) 44px;min-height:44px}}}@layer pages{.page{display:flex;flex-direction:column;gap:var(--space-5);width:100%;max-width:1400px;margin:0 auto;padding:var(--space-6) var(--space-6) var(--space-12)}.result-count{font-size:var(--text-13);color:var(--muted);white-space:nowrap}.result-count-inset{padding:var(--space-3) var(--space-4) 0}.footnote{font-size:var(--text-12);color:var(--muted);max-width:96ch}.back-link{display:inline-flex;align-items:center;gap:2px;align-self:flex-start;margin-bottom:calc(var(--space-3) * -1);font-size:var(--text-13);font-weight:500;color:var(--muted)}.back-link:hover{color:var(--ink)}.shortcut-hint{display:inline-flex;align-items:center;gap:4px;font-size:var(--text-12);color:var(--muted)}.case-list{display:flex;flex-direction:column}.case-list li+li{border-top:1px solid var(--border)}.case-row{position:relative;display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(140px,1.4fr) 150px 96px 48px;align-items:center;gap:var(--space-4);min-height:48px;padding:6px var(--space-4);font-size:var(--text-13);transition:background var(--dur) var(--ease)}.case-row:hover{background:var(--surface-hover)}.case-row:focus-visible{outline-offset:-2px;border-radius:0}.case-who,.case-device{display:flex;flex-direction:column;min-width:0;line-height:1.35}.case-who strong{font-weight:600;font-size:var(--text-14)}.case-who .mono,.case-device .muted{font-size:var(--text-12)}.case-owner{display:flex;align-items:center;gap:6px;min-width:0;color:var(--ink-soft)}.case-age{display:flex;justify-content:flex-end}.age-pill{min-width:34px;padding:1px 8px;border-radius:var(--radius-pill);font-weight:600;text-align:center;color:var(--ink-soft)}.age-pill.age-breach{background:var(--danger-solid);color:#fff}.age-pill.age-risk{background:var(--warn-bg);color:var(--warn-fg)}.age-breach:not(.age-pill){color:var(--danger-fg)}.case-group+.case-group{border-top:1px solid var(--border)}.case-group-head{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);background:var(--surface-sunken);border-bottom:1px solid var(--border);font-size:var(--text-11);font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.case-group-head .num{font-weight:600;letter-spacing:0}.case-group-breach .case-group-head{color:var(--danger-fg)}.cx-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--space-5);align-items:start}.cx-rail{display:flex;flex-direction:column;gap:var(--space-5)}.todo-list{display:flex;flex-direction:column;gap:2px;margin:0 calc(var(--space-2) * -1)}.todo-list label{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-2);border-radius:var(--radius-md);cursor:pointer}.todo-list label:hover{background:var(--surface-hover)}.todo-list input{margin-top:2px}.todo-title{display:block;font-size:var(--text-13);font-weight:500}.todo-list small{font-size:var(--text-12);color:var(--muted)}.todo-list em{font-style:normal;font-weight:600;color:var(--danger-fg)}.todo-done .todo-title{text-decoration:line-through;color:var(--muted)}.queue-toolbar{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.queue-search{flex:1 1 240px;max-width:340px}.queue-toolbar .chips{flex:1 1 auto}.queue-listhead{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;margin:calc(var(--space-2) * -1) 0}.queue-sort{display:flex;gap:var(--space-2)}.split{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);overflow:hidden}.split-on{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);flex:1;min-height:0}.split-on .queue-list{overflow-y:auto;border-right:1px solid var(--border)}.split-on .case-row{grid-template-columns:minmax(120px,1.2fr) minmax(110px,1.2fr) 146px 48px;cursor:default}.split-on .case-owner{display:none}.case-row[aria-current=true]{background:var(--surface-selected)}.preview{overflow-y:auto;background:var(--canvas)}.preview-body{display:flex;flex-direction:column;gap:var(--space-5);padding:var(--space-5);animation:pop-in .14s var(--ease)}.preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3)}.preview-head h2{font-size:var(--text-20);letter-spacing:-.015em}.preview .step-label{font-size:var(--text-12)}.preview-actions{display:flex;gap:var(--space-2);flex-wrap:wrap}.preview-actions .btn{flex:1}.next-step{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--surface-selected);border-radius:var(--radius-md)}.next-step .eyebrow,.next-step strong{display:block}.next-step strong{font-size:var(--text-14)}.next-step p{font-size:var(--text-13);color:var(--ink-soft);max-width:62ch}.next-step-quiet{flex-direction:column;align-items:flex-start;gap:2px;background:var(--surface);border:1px solid var(--border)}.next-step-done{justify-content:flex-start;gap:var(--space-2);background:var(--success-bg);color:var(--success-fg)}.next-step-done p{color:inherit;font-weight:500}@media(min-width:1024px){.app-fixed .page-fill{height:100%;max-width:none;padding-bottom:var(--space-5)}}.detail-title{display:inline-flex;align-items:center;flex-wrap:wrap;gap:var(--space-3)}.detail-title .badge{font-family:var(--font-body);letter-spacing:0}.detail-progress{gap:var(--space-4)}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--space-5);align-items:start}.detail-main{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}.detail-main>.tabs{padding:0}.detail-rail{display:flex;flex-direction:column;gap:var(--space-4);position:sticky;top:var(--space-4)}.detail-rail .eyebrow{margin-top:var(--space-1)}.sticky-action{position:sticky;bottom:0;z-index:var(--z-bulkbar);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin:0 calc(var(--space-4) * -1) calc(var(--space-12) * -1);padding:var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -8px 24px #112d2f14;font-size:var(--text-13);font-weight:600}.sticky-action>span{color:var(--muted);font-weight:500}.mono-title{letter-spacing:-.01em}.case-panels{display:flex;flex-direction:column;gap:var(--space-4)}.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}.owner-button{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;margin-right:-6px;border-radius:var(--radius-sm);font-weight:600;color:var(--forrest-700)}.owner-button:hover{background:var(--surface-hover)}.device{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:var(--space-4);align-items:center;padding-bottom:var(--space-4);border-bottom:1px solid var(--border)}.device-art{display:grid;place-content:center;width:64px;height:64px;border-radius:var(--radius-lg);background:linear-gradient(145deg,var(--chalk),#e9e3dc)}.device-art span{width:24px;height:42px;border-radius:6px;background:linear-gradient(160deg,var(--forrest-600),var(--forrest-900));box-shadow:inset 0 0 0 2px #ffffff24}.device-text{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:var(--text-13)}.device-text strong{font-family:var(--font-display);font-size:var(--text-16)}.device-tags{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:4px;font-size:var(--text-12);color:var(--muted)}.device-tags span{display:inline-flex;align-items:center;gap:4px}.device-price{font-size:var(--text-20)}.note-form{display:flex;flex-direction:column;gap:var(--space-2);padding-bottom:var(--space-4);border-bottom:1px solid var(--border)}.note-form .btn{align-self:flex-end}.page-forecast{gap:var(--space-3)}.page-forecast .metric{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"value label" "value detail";align-items:center;column-gap:var(--space-3);row-gap:0;padding:var(--space-2) var(--space-4)}.page-forecast .page-header-text>p{max-width:none}.page-forecast .metric-value{grid-area:value;font-size:var(--text-24)}.page-forecast .metric-label{grid-area:label;align-self:end;color:var(--ink);font-weight:600}.page-forecast .metric-detail{grid-area:detail;align-self:start}.forecast-panel{flex:1 1 auto;min-height:620px;display:flex;flex-direction:column;overflow:visible}.forecast-panel>.tabs{flex-shrink:0}.forecast-filters{display:grid;grid-template-columns:minmax(200px,1fr) repeat(3,minmax(120px,180px)) auto;gap:var(--space-2);padding:var(--space-3) var(--space-4) 0}.forecast-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-4);padding:var(--space-3) var(--space-4)}.toolbar-group{display:flex;align-items:center;gap:var(--space-2)}.toolbar-label{font-size:var(--text-12);font-weight:500;color:var(--muted)}.chips-views .chip{height:28px;padding:0 10px;font-size:var(--text-12)}.forecast-toolbar .popover-anchor{margin-left:auto}.popover-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-bottom:var(--space-3);margin-bottom:var(--space-3);border-bottom:1px solid var(--border)}.forecast-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--border)}.table-region{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;--row-h: var(--row-default)}.table-region:focus-visible{outline-offset:-2px}.density-compact{--row-h: var(--row-compact)}.density-comfortable{--row-h: var(--row-comfortable)}.data-table{table-layout:fixed;font-size:var(--text-13)}.data-table th,.data-table td{height:var(--row-h);padding:0 10px;border-bottom:1px solid var(--border);background:var(--surface);white-space:nowrap;overflow:hidden}.data-table thead th{position:sticky;top:0;z-index:var(--z-sticky-head);height:36px;background:var(--surface-sunken);border-bottom-color:var(--border-strong);font-size:var(--text-12);font-weight:600;color:var(--muted)}.data-table .pin{position:sticky;z-index:var(--z-sticky-cell)}.data-table thead .pin{z-index:var(--z-sticky-corner)}.pin-select{left:0;padding:0 0 0 var(--space-4)!important}.pin-sku{left:40px;box-shadow:1px 0 0 var(--border-strong)}.data-table-no-select .pin-sku{left:0}.data-table tbody tr:hover td{background:var(--surface-hover)}.data-table tbody tr.row-selected td{background:var(--surface-selected)}.data-table td.num{font-variant-numeric:tabular-nums}.cell-text{display:block}.sort-button{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:24px;margin:0 -4px;padding:0 4px;border-radius:var(--radius-sm);font-weight:600}.text-right .sort-button{flex-direction:row-reverse}.sort-button svg{opacity:.35}.sort-button:hover{color:var(--ink);background:var(--border)}.sort-button:hover svg{opacity:.8}.sort-active{color:var(--ink)}.sort-active svg{opacity:1;color:var(--forrest-700)}.record-link{font-weight:600;font-size:var(--text-12);color:var(--forrest-700);border-radius:var(--radius-sm)}.record-link:hover{text-decoration:underline;text-underline-offset:3px}.row-open{width:26px;height:26px;color:var(--muted);opacity:0}tr:hover .row-open,.row-open:focus-visible{opacity:1}.column-picker{width:380px;padding:var(--space-3)}.popover-head{display:flex;align-items:center;gap:var(--space-3);padding-bottom:var(--space-3);margin-bottom:var(--space-3);border-bottom:1px solid var(--border);font-size:var(--text-13)}.popover-head strong{flex:1}.column-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px var(--space-3)}.column-grid .check-label{height:30px}.bulk-bar{position:absolute;left:50%;bottom:var(--space-4);transform:translate(-50%);z-index:var(--z-bulkbar);display:flex;align-items:center;gap:var(--space-3);max-width:calc(100% - 24px);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);background:var(--forrest-900);color:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-3);font-size:var(--text-13);animation:toast-in .16s var(--ease);--focus: var(--mint-500)}.bulk-bar strong{white-space:nowrap}.bulk-detail{color:var(--sidebar-muted);white-space:nowrap}.bulk-bar .btn-secondary{background:#ffffff1a;border-color:transparent;color:#fff;box-shadow:none}.bulk-bar .btn-secondary:hover:not(:disabled){background:#ffffff2e;border-color:transparent}.bulk-bar .btn-secondary:disabled{background:transparent;color:var(--sidebar-muted)}.bulk-bar .icon-btn{width:28px;height:28px;color:var(--sidebar-muted)}.bulk-bar .icon-btn:hover{background:#ffffff1f;color:#fff}.bulk-bar-static{position:static;transform:none;max-width:none;margin:var(--space-3) var(--space-4) var(--space-4);animation:none}.bulk-bar-static .bulk-detail{flex:1}.record-hero{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-3);padding:var(--space-4);background:var(--canvas);border:1px solid var(--border);border-radius:var(--radius-lg)}.record-hero .coverage{justify-content:flex-start}.record-hero .coverage-value{min-width:0}.record-hero .coverage-track{flex:1;max-width:200px}.record-order{display:flex;flex-direction:column}.record-order .display{font-size:var(--text-32)}.record-order .muted{font-size:var(--text-12)}.record-group{display:flex;flex-direction:column;gap:var(--space-3)}.record-group h3{padding-bottom:var(--space-2);border-bottom:1px solid var(--border);font-size:var(--text-11);letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.page-tasks,.page-coverage{max-width:1080px}.reminder{flex-direction:row;align-items:center;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);color:var(--muted)}.reminder input:first-of-type{flex:1 1 200px;border-color:transparent;background:transparent;padding-left:var(--space-1)}.tasks-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.tasks-toolbar .search-field{flex:1 1 260px;max-width:380px}.task-list{display:flex;flex-direction:column}.task-row{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-top:1px solid var(--border)}.task-row:first-child{border-top:0}.task-row>input{margin-top:3px}.task-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0;font-size:var(--text-13)}.task-text strong{font-size:var(--text-14);font-weight:600}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-3);margin-top:4px;font-size:var(--text-12);color:var(--muted)}.task-meta>span{display:inline-flex;align-items:center;gap:4px}.task-actions{display:flex;gap:var(--space-1)}.task-done strong{text-decoration:line-through;color:var(--muted)}.page-lookup{max-width:680px;padding-top:var(--space-10)}.lookup-form{display:flex;flex-direction:column;gap:var(--space-3)}.lookup-hint{font-size:var(--text-13);color:var(--muted)}.lookup-results{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-3)}.lookup-results a{display:flex;align-items:center;gap:var(--space-3);min-height:72px;padding:var(--space-3) var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);transition:border-color var(--dur) var(--ease)}.lookup-results a:hover{border-color:var(--forrest-700)}.lookup-icon{display:grid;place-content:center;width:40px;height:40px;border-radius:var(--radius-md);background:var(--surface-selected);color:var(--forrest-700)}.lookup-text{flex:1;display:flex;flex-direction:column;min-width:0;font-size:var(--text-12)}.lookup-text strong{font-size:var(--text-14)}.callout{display:flex;gap:var(--space-3);padding:var(--space-4);background:var(--surface-selected);border:1px solid var(--mint-300);border-radius:var(--radius-lg);color:var(--forrest-700)}.callout p{font-size:var(--text-13);color:var(--ink-soft)}.coverage-list li{display:grid;grid-template-columns:120px minmax(0,1fr) auto 80px;align-items:center;gap:var(--space-4);min-height:44px;padding:0 var(--space-4);border-top:1px solid var(--border);font-size:var(--text-13)}.coverage-list li:first-child{border-top:0}.coverage-list li>:last-child{justify-self:end}.page-source .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--control-h);padding:0 14px;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-13);font-weight:600}.page-source .button.primary{background:var(--forrest-700);border-color:var(--forrest-700);color:#fff}.page-source .button:disabled{color:#8a9696;background:var(--surface-sunken)}.page-source dialog{margin:auto;padding:var(--space-5);border-radius:14px;box-shadow:var(--shadow-3)}.case-group-next{margin-left:auto;font-weight:500;letter-spacing:0;text-transform:none;font-size:var(--text-12);color:var(--muted)}.link-list{display:flex;flex-direction:column;margin:calc(var(--space-2) * -1)}.link-list a{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:44px;padding:var(--space-2);border-radius:var(--radius-md);color:var(--muted)}.link-list a:hover{background:var(--surface-hover);color:var(--ink)}.link-list strong{display:block;font-size:var(--text-13);font-weight:600;color:var(--ink)}.link-list small{font-size:var(--text-12)}.scan-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--space-5);align-items:start}.scan-flow{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}.session-log-empty{font-size:var(--text-13)}.session-log{display:flex;flex-direction:column;margin:0 calc(var(--space-2) * -1)}.session-log a{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:48px;padding:var(--space-2);border-radius:var(--radius-md);font-size:var(--text-13)}.session-log a:hover{background:var(--surface-hover)}.session-log strong,.session-log small{display:block}.session-log small{font-size:var(--text-12);color:var(--muted)}.expected{gap:var(--space-4)}.expected-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}.expected-head h2{font-size:var(--text-20);letter-spacing:-.015em}.expected-meter{color:var(--muted);font-size:var(--text-13)}.expected-meter strong{font-size:var(--text-24);color:var(--ink)}.info-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.device-check{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.device-check li{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:var(--space-3);min-height:52px;padding:var(--space-2) var(--space-4);font-size:var(--text-13)}.device-check li+li{border-top:1px solid var(--border)}.device-check-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:var(--muted)}.device-ticked{background:var(--surface-selected)}.device-ticked .device-check-mark{background:var(--mint-500);color:var(--forrest-800)}.device-check-text{display:flex;flex-direction:column;min-width:0;line-height:1.35}.device-check-text small{font-size:var(--text-12)}.mismatch{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);font-size:var(--text-13);color:var(--ink-soft)}.mismatch-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.row-actions{display:inline-flex;align-items:center;gap:var(--space-2)}.settings-table tbody tr{cursor:pointer}.rts-reason{font-size:var(--text-13)}.receive-done{display:flex;flex-direction:column;gap:var(--space-3)}.receive-done-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.external{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);font-size:var(--text-13)}.external-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.report-window{font-size:var(--text-13);color:var(--muted)}.report-controls{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.report-search{display:flex;align-items:center;gap:var(--space-2);flex:1 1 420px;justify-content:flex-end}.report-search-field{flex:1 1 220px;max-width:360px}.range-popover{left:0;right:auto;display:flex;align-items:flex-end;gap:var(--space-3);padding:var(--space-4)}.range-popover label,.grade-form label{display:flex;flex-direction:column;gap:4px;font-size:var(--text-12);font-weight:600;color:var(--muted)}.report-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:var(--space-4);align-items:stretch}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);align-items:start}.page-stats>.result-count{margin:calc(var(--space-2) * -1) 0}.outcome-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4);font-size:var(--text-12)}.outcome-strip li{position:relative;display:flex;flex-direction:column;gap:2px;padding-left:var(--space-5)}.outcome-strip li:first-child{padding-left:0}.outcome-arrow{position:absolute;left:0;top:10px;color:var(--muted)}.outcomes{justify-content:space-between}.outcomes .footnote{margin-top:auto}.outcome-value{font-size:var(--text-32);line-height:1.15}.outcome-label{font-size:var(--text-13);font-weight:600}.outcome-apart{border-left:1px solid var(--border)}.rightnow{gap:var(--space-3)}.rightnow-total{font-size:var(--text-13);color:var(--muted)}.rightnow-total strong{font-size:var(--text-24);color:var(--ink)}.rightnow-side{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border)}.rightnow-side dt{font-size:var(--text-12);color:var(--muted)}.rightnow-side dd{font-size:var(--text-20)}.rightnow-side a:hover{text-decoration:underline}.spark-dot{display:flex;align-items:center;gap:6px}.spark-dot:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blaze-500)}.stats-table{--row-h: 48px;width:100%;min-width:860px}.stats-table th:first-child{width:240px}.stats-table th:nth-child(3){width:230px}.stats-sku{display:flex;flex-direction:column;line-height:1.3;text-align:left}.stats-sku strong{font-weight:600}.stats-sku small{font-size:var(--text-11)}.stats-footnote{padding:var(--space-3) var(--space-4)}.buyback-tabs{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.tab-definition{padding:var(--space-3) var(--space-4);border-top:1px solid var(--border);font-size:var(--text-13);color:var(--ink-soft)}.buyback-panel{display:flex;flex-direction:column;flex:1;min-height:0}.box-row,.split-on .box-row{grid-template-columns:minmax(130px,1fr) minmax(150px,1.5fr) 170px 72px 48px}.box-offer{text-align:right;font-weight:600}.device-card{gap:var(--space-4)}.device-line{margin-left:var(--space-3);font-family:var(--font-body);font-size:var(--text-12);font-weight:500;letter-spacing:0}.compare{--row-h: 36px;width:100%}.compare th[scope=row]{width:110px;text-align:left;font-weight:500;color:var(--muted)}.compare thead th{text-align:left}.compare-changed{font-weight:700}.compare-changed .badge{margin-left:var(--space-2)}.device-steps{display:flex;flex-direction:column;gap:var(--space-3)}.device-step{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);font-size:var(--text-13)}.device-step h3{font-size:var(--text-13);font-weight:600}.device-step-current{border-color:var(--border-strong);background:var(--surface-selected)}.device-step-later h3,.device-step-done h3{color:var(--muted)}.device-step-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-3)}.grade-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3)}.grade-form select{width:100%}.grade-foot{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.box-summary{gap:var(--space-3)}.box-total{display:flex;align-items:baseline;gap:var(--space-3)}.box-total .display{font-size:var(--text-32);line-height:1.1}.btn-blocked{opacity:.55;cursor:not-allowed}.pay-blocker{font-size:var(--text-13);color:var(--ink-soft)}.prices-region{--row-h: 36px;margin-top:var(--space-4)}.prices-region .data-table{width:100%}.prices-region th[scope=row]{text-align:left;font-weight:500;white-space:normal}.prices-empty{padding:var(--space-4);font-size:var(--text-13)}@media(max-width:1180px){.scan-grid,.report-row{grid-template-columns:minmax(0,1fr)}}@media(max-width:1023px){.box-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who status" "device offer";row-gap:4px;padding:var(--space-3) var(--space-4)}.box-row .case-who{grid-area:who}.box-row .case-device{grid-area:device}.box-row .case-status{grid-area:status;justify-self:end}.box-row .box-offer{grid-area:offer}.box-row .case-age{display:none}}@media(max-width:900px){.chart-grid{grid-template-columns:minmax(0,1fr)}.grade-form,.info-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.case-group-next{display:none}.outcome-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.outcome-strip li,.outcome-apart{padding-left:0;border-left:0}.outcome-arrow{display:none}.device-check li{grid-template-columns:24px minmax(0,1fr) auto}.device-check li>.mono,.device-check li>.rts-reason{grid-column:2 / -1;grid-row:2;font-size:var(--text-12)}.device-check li>.badge{grid-column:3;grid-row:1}.report-search{flex-wrap:wrap;justify-content:flex-start}.report-search-field{max-width:none;flex-basis:100%}.range-popover{position:fixed;inset:auto 0 0 0;border-radius:var(--radius-lg) var(--radius-lg) 0 0;flex-wrap:wrap;padding-bottom:calc(var(--space-4) + env(safe-area-inset-bottom))}.range-popover label{flex:1 1 130px}.report-controls .segmented{max-width:100%;overflow-x:auto}.report-controls .segmented button{min-height:44px}}@media(max-width:1180px){.cx-grid,.detail-layout{grid-template-columns:minmax(0,1fr)}.cx-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.detail-rail{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}}@media(max-width:1023px){.shortcut-hint{display:none}.forecast-panel{min-height:0}.table-region{max-height:70vh}.forecast-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.forecast-filters .search-field{grid-column:1 / -1}.queue-list .case-row,.triage .case-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who status" "device age";gap:2px var(--space-3);padding:var(--space-3) var(--space-4);min-height:64px}.case-row .case-who{grid-area:who}.case-row .case-device{grid-area:device;flex-direction:row;gap:6px}.case-row .case-device>:first-child{flex-shrink:0;max-width:60%}.case-row .case-device .muted:before{content:"· "}.case-row .case-status{grid-area:status;justify-self:end}.case-row .case-age{grid-area:age}.case-row .case-owner{display:none}}@media(max-width:760px){.page{padding:var(--space-4) var(--space-4) var(--space-12);gap:var(--space-4)}.page-header-actions{width:100%}.page-header-actions .btn{flex:1}.cx-rail{grid-template-columns:minmax(0,1fr)}.queue-search{max-width:none;flex-basis:100%}.queue-toolbar .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(var(--space-4) * -1);padding:0 var(--space-4);scrollbar-width:none}.queue-sort{margin-left:0;width:100%}.queue-sort select{flex:1}.detail-progress .next-step{flex-direction:column;align-items:flex-start}.detail-progress .next-step .btn{display:none}.device{grid-template-columns:48px minmax(0,1fr)}.device-art{width:48px;height:48px}.device-price{grid-column:2}.forecast-filters{grid-template-columns:1fr 1fr}.forecast-toolbar .popover-anchor{margin-left:0}.data-table thead th,.sort-button{height:44px}.pin-select{position:static!important}.pin-sku{left:0}.column-picker{position:fixed;inset:auto 12px 12px 12px;width:auto;max-height:60vh;overflow-y:auto}.bulk-bar{flex-wrap:wrap;justify-content:center;width:calc(100% - 24px)}.bulk-detail{display:none}.task-row{flex-wrap:wrap}.task-actions{width:100%;padding-left:28px}.reminder{padding:var(--space-3)}.reminder>svg{display:none}.reminder input:first-of-type{flex-basis:100%;border-color:var(--border-strong);background:var(--surface);padding-left:var(--space-3)}.page-forecast .metric{display:flex;padding:var(--space-3)}.page-forecast .metric-label{order:-1;align-self:flex-start;font-weight:500;color:var(--muted)}.page-forecast .metric-detail{align-self:flex-start}.reminder input[type=date],.reminder input[type=time]{flex:1}.coverage-list li{grid-template-columns:minmax(0,1fr) auto;gap:2px var(--space-3);padding:var(--space-3) var(--space-4)}.coverage-list li>.muted:first-child{grid-column:1 / -1;font-size:var(--text-12)}.coverage-list li>:last-child{display:none}.page-lookup{padding-top:var(--space-5)}.app:has(.sticky-action) .toast-region{bottom:88px}.back-link,main .link,.owner-button{min-height:44px}.page-cx .metrics>:first-child{grid-column:1 / -1}}}@layer pages{.page-orders,.page-order-detail{min-width:0}.orders-workspace{overflow:hidden;padding:0}.orders-views{display:flex;gap:var(--space-2);overflow:auto;padding:var(--space-4);border-bottom:1px solid var(--border)}.orders-views>*{flex-shrink:0}.orders-toolbar{display:flex;gap:var(--space-2);padding:var(--space-4);align-items:center;flex-wrap:wrap}.orders-toolbar .search-field{flex:1;min-width:220px}.orders-summary,.orders-pagination{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);color:var(--muted);font-size:var(--text-12)}.orders-pagination{border-top:1px solid var(--border);padding:var(--space-4)}.orders-workspace .data-table td,.orders-workspace .data-table th{white-space:nowrap}.order-number{display:grid;gap:var(--space-1);padding:var(--space-2) 0}.order-number small,.order-mobile-row small,.order-line small{display:block;color:var(--muted);font-size:var(--text-11)}.orders-footnote{font-size:var(--text-12);color:var(--muted);line-height:1.6;margin:var(--space-3) 0}.orders-mobile{display:none}.orders-filter-fields,.orders-save{display:grid;gap:var(--space-5)}.orders-filter-group{border:0;padding:0;display:grid;gap:var(--space-1)}.orders-filter-group legend{font-weight:600;margin-bottom:var(--space-2)}.orders-filter-group label{display:flex;gap:var(--space-3);min-height:44px;align-items:center}.order-sticky-header{position:sticky;top:0;z-index:var(--z-sticky-head);background:var(--canvas);padding-bottom:var(--space-3);border-bottom:1px solid var(--border)}.order-sticky-header .page-header{margin-bottom:var(--space-3)}.order-badges,.order-so-links{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);font-size:var(--text-12)}.order-badges>span{display:flex;gap:var(--space-2);align-items:center}.order-so-links{margin-top:var(--space-2)}.order-detail-layout{margin-top:var(--space-5)}.order-panels,.order-rail{display:grid;gap:var(--space-4);align-content:start;min-width:0}.order-panels{padding-top:var(--space-4)}.order-line{display:flex;align-items:center;gap:var(--space-4);justify-content:space-between;padding:var(--space-4) 0;border-top:1px solid var(--border)}.order-line>span:first-child{flex:1}.order-notice{padding:var(--space-4);background:var(--surface-sunken);border:1px solid var(--border);border-radius:var(--radius-md);font-size:var(--text-13);line-height:1.6}.order-notice p{margin:var(--space-2) 0 0}.order-journey-filters{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3);margin-bottom:var(--space-6)}.order-support-head{display:flex;align-items:start;justify-content:space-between;gap:var(--space-3)}.order-support-head h3{margin:var(--space-2) 0}.order-message{background:var(--surface-sunken);border-radius:var(--radius-md);padding:var(--space-4);margin:var(--space-3) 0;overflow-wrap:anywhere;line-height:1.6}.order-thread summary{cursor:pointer;min-height:44px;padding:var(--space-3) 0;font-weight:600}.order-rail .info-grid{grid-template-columns:1fr}.order-rail p{overflow-wrap:anywhere}@media(max-width:1023px){.order-detail-layout{grid-template-columns:1fr}.order-rail{grid-template-columns:1fr 1fr}}@media(max-width:760px){.orders-desktop{display:none}.orders-mobile{display:block}.order-mobile-row{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-4);border-top:1px solid var(--border);color:var(--ink)}.order-mobile-row>span{display:grid;gap:var(--space-2)}.order-mobile-row>span:last-child{text-align:right;justify-items:end}.orders-toolbar .search-field{flex-basis:100%}.orders-toolbar>.btn{flex:1}.orders-pagination{flex-wrap:wrap}.order-sticky-header{position:static}.order-rail,.order-journey-filters{grid-template-columns:1fr}.order-line,.page-order-detail .device{flex-wrap:wrap}.order-so-links .btn{min-height:44px}}}@layer components{a.chip[aria-current=page]{background:var(--forrest-700);border-color:var(--forrest-700);color:#fff;font-weight:600}a.chip[aria-current=page] .chip-count{color:var(--mint-300)}.segmented a{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:var(--radius-sm);font-size:var(--text-12);font-weight:600;color:var(--muted)}.segmented a:hover{color:var(--ink)}.segmented a[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}.icon-btn[aria-disabled=true]{color:var(--border-strong);cursor:default}.notice-warn{background:var(--warn-bg);color:var(--warn-fg)}.sidebar-bottom form{display:contents}.sidebar-bottom form .nav-item{width:100%}.crm-crumb{display:inline-flex;align-items:center;gap:var(--space-2)}.crm-crumb a:hover{color:var(--ink);text-decoration:underline}.topbar-avatar{display:inline-flex}}@layer pages{.crm-list .orders-toolbar form{display:flex;flex:1;gap:var(--space-2);flex-wrap:wrap;min-width:0}.crm-list .orders-toolbar .search-field{flex:1;min-width:220px}.crm-list .data-table td,.crm-list .data-table th{white-space:nowrap}.crm-list .data-table tbody tr:hover{background:var(--surface-hover)}.crm-cell-sub{display:block;color:var(--muted);font-size:var(--text-11);font-weight:400}.crm-items{display:block;max-width:340px;overflow:hidden;text-overflow:ellipsis}.crm-person{display:flex;align-items:center;gap:var(--space-2);color:var(--ink)}.crm-person strong{display:block;font-weight:600}.crm-person:hover strong{text-decoration:underline}.crm-mono{font-family:var(--font-mono);font-size:var(--text-12);overflow-wrap:anywhere}.crm-filter-fields{display:grid;gap:var(--space-5)}.crm-filter-fields label{display:grid;gap:var(--space-2);font-weight:600;font-size:var(--text-13)}.crm-home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--space-4);align-items:start}.crm-sources li{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border-top:1px solid var(--border);font-size:var(--text-13)}.crm-sources li:first-child{border-top:0}.crm-footnote{font-size:var(--text-12);color:var(--muted);line-height:1.6}.crm-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4);padding-bottom:var(--space-4);border-bottom:1px solid var(--border)}.crm-facts dt{font-size:var(--text-12);color:var(--muted);margin-bottom:var(--space-1)}.crm-facts dd{font-weight:600;overflow-wrap:anywhere}.crm-badges{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2)}.crm-totals{display:grid;grid-template-columns:auto auto;justify-content:end;gap:var(--space-1) var(--space-8);padding:var(--space-4);font-size:var(--text-13);border-top:1px solid var(--border)}.crm-totals dt{color:var(--muted)}.crm-totals dd{text-align:right}.crm-profile{display:grid;gap:var(--space-1);padding:var(--space-3) 0;border-top:1px solid var(--border);font-size:var(--text-13)}.crm-profile:first-of-type{border-top:0;padding-top:0}.crm-profile-top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.crm-profile strong{overflow-wrap:anywhere}.crm-profile p{color:var(--muted);font-size:var(--text-12)}.crm-profile form{display:inline}.crm-rail-list li{padding:var(--space-2) 0;border-top:1px solid var(--border);font-size:var(--text-13)}.crm-rail-list li:first-child{border-top:0}.crm-combine-results{display:grid;gap:var(--space-2);margin-top:var(--space-3)}.crm-combine-result{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);font-size:var(--text-13)}.crm-combine-result small{display:block;color:var(--muted)}.crm-match{display:grid;gap:var(--space-4)}.crm-match-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-4)}.crm-match-side{display:grid;gap:var(--space-2);align-content:start;padding:var(--space-4);background:var(--surface-sunken);border-radius:var(--radius-md);font-size:var(--text-13)}.crm-match-side .eyebrow{margin:0}.crm-match-side h3{font-size:var(--text-16)}.crm-match-side mark{background:var(--mint-100);color:var(--success-fg);border-radius:var(--radius-sm);padding:0 2px}.crm-match-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.crm-match-actions form{display:contents}.crm-match-actions .crm-footnote{flex:1;min-width:200px}.crm-signin{min-height:100dvh;display:grid;place-items:center;padding:var(--space-8);background:var(--canvas)}.crm-signin-box{width:100%;max-width:320px;display:grid;justify-items:center;gap:var(--space-8)}.crm-signin-box img{height:40px;width:auto}.crm-signin-error{width:100%;background:var(--danger-bg);color:var(--danger-fg);border-radius:var(--radius-md);padding:var(--space-3);font-size:var(--text-13);text-align:center}@media(max-width:1023px){.crm-home-grid{grid-template-columns:minmax(0,1fr)}.crm-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.crm-match-pair{grid-template-columns:minmax(0,1fr)}.crm-items{max-width:220px}}}@layer pages{.crm-bars .bar-row{grid-template-columns:minmax(90px,28%) minmax(0,1fr) 104px;color:var(--ink)}.crm-bars a.bar-row:hover .bar-label{text-decoration:underline}.crm-bars .bar-value{text-align:right}}@layer pages{.crm-link-row{color:var(--muted);font-size:var(--text-12)}.crm-link-row form{display:inline}.crm-link-row .link{font-size:var(--text-12)}}@layer pages{.crm-items-wide{max-width:none;white-space:normal}@media(max-width:760px){.crm-data-chip{display:none}}.crm-flag{display:inline-flex;align-items:center;gap:var(--space-1)}.crm-note-form{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);margin:var(--space-3) 0}.crm-seg-match{display:flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);font-size:var(--text-13)}.crm-seg-rows{display:flex;flex-direction:column;gap:var(--space-2);margin:0 0 var(--space-3);padding:0;list-style:none}.crm-seg-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.crm-seg-row select,.crm-seg-row input{min-width:0}.crm-seg-count{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border);font-size:var(--text-13)}.crm-check{display:flex;align-items:flex-start;gap:var(--space-2);font-size:var(--text-13);line-height:1.5}.crm-stack{display:flex;flex-direction:column;gap:var(--space-4);margin-block:var(--space-4)}.crm-match-title{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}}
