:root{color-scheme:light;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");--canvas:#f4f5f7;--surface:#ffffff;--surface-subtle:#f9fafb;--surface-muted:#f2f4f7;--surface-hover:#f9fafb;--surface-glass:rgb(255 255 255/88%);--surface-glass-soft:rgb(255 255 255/70%);--border:#e4e7ec;--border-subtle:#eef0f3;--border-strong:#d3d8e0;--border-translucent:rgb(16 24 40/7%);--text-strong:#0c111d;--text-body:#344054;--text-muted:#667085;--text-faint:#98a2b3;--text-on-brand:#ffffff;--brand-950:#061321;--brand-900:#0b2039;--brand-800:#10314f;--brand-700:#16456f;--brand-600:#1d5a90;--brand-500:#2a76b8;--brand-100:#d9e7f3;--brand-50:#eff5fa;--accent-800:#8f3510;--accent-700:#b0450f;--accent-600:#d1571b;--accent-500:#ea6a2c;--accent-200:#f8d3c0;--accent-100:#fbe6da;--accent-50:#fdf4ef;--success-800:#075437;--success-700:#067647;--success-600:#099250;--success-200:#a9e6c4;--success-50:#edfcf4;--warning-800:#93370d;--warning-700:#b54708;--warning-600:#dc6803;--warning-300:#fdb022;--warning-200:#fedf89;--warning-50:#fffaeb;--danger-700:#b42318;--danger-600:#d92d20;--danger-300:#fda29b;--danger-200:#fecdca;--danger-100:#fee4e2;--danger-50:#fef3f2;--info-700:#175cd3;--info-50:#eff8ff;--violet-700:#5925dc;--violet-50:#f4f3ff;--tint-a-wash:#eef4fb;--tint-a-line:#3f83c4;--tint-a-ink:#1a4f7f;--tint-b-wash:#eaf7f1;--tint-b-line:#35a06a;--tint-b-ink:#0f6642;--tint-c-wash:#fdf3e8;--tint-c-line:#dd8b28;--tint-c-ink:#93500b;--tint-d-wash:#f2f0fd;--tint-d-line:#7b5ee0;--tint-d-ink:#4c33a8;--tint-e-wash:#fdeff2;--tint-e-line:#d5537a;--tint-e-ink:#97274c;--tint-f-wash:#e9f6f7;--tint-f-line:#2f9aa5;--tint-f-ink:#0f5f68;--table-head:#edf2f8;--table-head-ink:#3f5c7a;--row-hover:#f2f7fc;--nav-bg:#0a1c2e;--nav-bg-soft:#0d2438;--nav-text:#a3b4c6;--nav-text-active:#ffffff;--nav-label:#7b93a8;--nav-hover:rgb(255 255 255/6%);--nav-active:rgb(255 255 255/10%);--nav-border:rgb(255 255 255/8%);--radius-xs:6px;--radius-sm:8px;--radius-md:10px;--radius-lg:12px;--radius-xl:16px;--radius-pill:999px;--shadow-xs:0 1px 2px rgb(16 24 40/5%);--shadow-sm:0 1px 3px rgb(16 24 40/8%),0 1px 2px -1px rgb(16 24 40/6%);--shadow-md:0 4px 8px -2px rgb(16 24 40/8%),0 2px 4px -2px rgb(16 24 40/5%);--shadow-lg:0 12px 16px -4px rgb(16 24 40/8%),0 4px 6px -2px rgb(16 24 40/4%);--shadow-xl:0 24px 48px -12px rgb(16 24 40/20%),0 8px 16px -8px rgb(16 24 40/8%);--ring:0 0 0 3px rgb(29 90 144/16%);--shadow-soft:var(--shadow-sm);--transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,color 140ms ease;--sidebar-width:236px;--topbar-height:64px;--color-orange:var(--accent-500);--color-orange-soft:var(--accent-50);--color-navy-950:var(--text-strong);--color-navy-900:var(--brand-900);--color-navy-800:var(--brand-800);--color-navy-700:var(--brand-600);--color-slate-700:var(--text-body);--color-slate-600:var(--text-muted);--color-slate-500:var(--text-muted);--color-slate-400:var(--text-faint);--color-slate-300:var(--border-strong);--color-slate-200:var(--border);--color-slate-100:var(--border-subtle);--color-slate-50:var(--surface-subtle);--color-emerald:var(--success-600);--color-emerald-soft:var(--success-50);--color-white:var(--surface)}html[data-theme=dark]{color-scheme:dark;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");--canvas:#121c2b;--surface:#182437;--surface-subtle:#1d2b40;--surface-muted:#23344a;--surface-hover:#213149;--surface-glass:rgb(20 31 48/94%);--surface-glass-soft:rgb(24 36 55/82%);--border:#304159;--border-subtle:#26364c;--border-strong:#485a72;--border-translucent:rgb(214 226 240/12%);--text-strong:#f1f5f9;--text-body:#d5dde8;--text-muted:#9cabbc;--text-faint:#718297;--text-on-brand:#ffffff;--brand-950:#071321;--brand-900:#0b2035;--brand-800:#153f62;--brand-700:#2d6fa5;--brand-600:#438ac0;--brand-500:#63a6d8;--brand-100:#244761;--brand-50:#162d42;--accent-800:#ffd0b8;--accent-700:#ffad82;--accent-600:#f58a55;--accent-500:#ed7134;--accent-200:#7c432b;--accent-100:#4c2c20;--accent-50:#2c211e;--success-800:#b2f0cf;--success-700:#75d5a1;--success-600:#4fbd82;--success-200:#286446;--success-50:#142c23;--warning-800:#ffd58a;--warning-700:#f5bc5a;--warning-600:#e49b2f;--warning-300:#bd7f2b;--warning-200:#6d4b20;--warning-50:#2d2618;--danger-700:#ffaaa3;--danger-600:#f57d75;--danger-300:#a94f4a;--danger-200:#743936;--danger-100:#4d2928;--danger-50:#2c1d1e;--info-700:#87b9ff;--info-50:#172941;--violet-700:#b9a5ff;--violet-50:#251f3d;--tint-a-wash:#1b2f45;--tint-a-line:#5c9fd8;--tint-a-ink:#9dc7ea;--tint-b-wash:#17322a;--tint-b-line:#4fbd8b;--tint-b-ink:#8bd9b4;--tint-c-wash:#322a1b;--tint-c-line:#dda54f;--tint-c-ink:#f0c684;--tint-d-wash:#262244;--tint-d-line:#9584ea;--tint-d-ink:#c0b5f5;--tint-e-wash:#3a2029;--tint-e-line:#e0788f;--tint-e-ink:#f2adbc;--tint-f-wash:#17323a;--tint-f-line:#45b0bd;--tint-f-ink:#8ad4dd;--table-head:#1e2d42;--table-head-ink:#9fb3c9;--row-hover:#22344c;--nav-bg:#050d16;--nav-bg-soft:#091725;--nav-text:#a9b8c8;--nav-label:#768ba0;--nav-hover:rgb(255 255 255/7%);--nav-active:rgb(255 255 255/12%);--nav-border:rgb(255 255 255/10%);--shadow-xs:0 1px 2px rgb(0 0 0/24%);--shadow-sm:0 2px 5px rgb(0 0 0/24%);--shadow-md:0 8px 18px -6px rgb(0 0 0/38%);--shadow-lg:0 16px 28px -10px rgb(0 0 0/48%);--shadow-xl:0 28px 56px -14px rgb(0 0 0/58%);--ring:0 0 0 3px rgb(99 166 216/24%)}*{box-sizing:border-box}body,html{height:100%;margin:0}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;background:var(--canvas);color:var(--text-strong);font-family:var(--font-sans),Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;letter-spacing:-.006em;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit;letter-spacing:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--brand-600);outline-offset:2px}.sidebar :focus-visible{outline-color:var(--accent-500)}::placeholder{color:var(--text-faint)}::selection{background:var(--brand-100);color:var(--brand-900)}.commission-summary__value,.contacts-summary__value,.dashboard-kpi__value,.opportunity-summary__value,.policy-summary__value,.product-summary__value,table{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"tnum"}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.auth-page{align-items:center;background:radial-gradient(1100px 520px at 50% -10%,rgb(22 69 111/10%),transparent 65%),var(--canvas);color:var(--text-strong);display:flex;justify-content:center;min-height:100vh;padding:32px 24px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);display:grid;grid-gap:24px;gap:24px;margin:0 auto;max-width:424px;padding:32px;width:100%}.auth-card--wide{max-width:460px}.auth-brand{align-items:center;display:flex;gap:10px;margin-bottom:20px}.auth-brand__mark{align-items:center;background:var(--accent-500);border-radius:var(--radius-sm);box-shadow:0 2px 8px rgb(234 106 44/32%);color:#ffffff;display:inline-flex;font-size:11px;font-weight:600;height:30px;justify-content:center;letter-spacing:.02em;width:30px}.auth-brand__name{font-size:13px;letter-spacing:-.01em}.auth-brand__name,.auth-title{color:var(--text-strong);font-weight:600}.auth-title{font-size:24px;letter-spacing:-.024em;line-height:1.2;margin:0}.auth-subtitle{color:var(--text-muted);font-size:13.5px;line-height:1.55;margin:8px 0 0}.auth-alert{border:1px solid transparent;border-radius:var(--radius-md);font-size:13px;line-height:1.5;margin:0;padding:11px 12px}.auth-alert--error{background:var(--danger-50);border-color:var(--danger-200);color:var(--danger-700)}.auth-alert--success{background:var(--success-50);border-color:var(--success-200);color:var(--success-700)}.auth-form{grid-gap:16px;gap:16px}.auth-form,.auth-oauth-form{display:grid}.auth-oauth-button{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);cursor:pointer;display:inline-flex;font:inherit;font-size:14px;font-weight:600;gap:10px;justify-content:center;min-height:42px;padding:0 18px;transition:var(--transition);width:100%}.auth-oauth-button:hover{background:var(--surface-hover);border-color:var(--brand-500);box-shadow:var(--shadow-sm)}.auth-oauth-button svg{flex:0 0 auto;height:18px;width:18px}.auth-divider{align-items:center;color:var(--text-faint);display:flex;font-size:11px;gap:12px;letter-spacing:.03em;text-transform:uppercase}.auth-divider:after,.auth-divider:before{background:var(--border-subtle);content:"";flex:1 1;height:1px}.auth-divider span{white-space:nowrap}.auth-submit{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:14px;font-weight:600;justify-content:center;margin-top:4px;min-height:42px;padding:0 18px;transition:var(--transition);width:100%}.auth-submit:hover{background:var(--brand-800);border-color:var(--brand-800);box-shadow:var(--shadow-sm)}.row-select{align-items:center;cursor:pointer;display:flex;gap:8px;min-width:0}.row-select input{flex:0 0 auto;margin:0}.row-select span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-actions{align-items:center;border-top:1px solid var(--border-subtle);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-top:16px;padding-top:16px}.bulk-actions p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:0;max-width:60ch}.bulk-actions__button{align-items:center;background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;display:inline-flex;font:inherit;font-size:13px;font-weight:600;justify-content:center;min-height:36px;padding:0 16px;transition:var(--transition);white-space:nowrap}.bulk-actions__button:hover{background:var(--danger-50);border-color:var(--danger-300)}.contacts-page__header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.auth-hint{color:var(--text-muted);font-size:12.5px;margin:-4px 0 0;text-align:right}.auth-hint a{color:var(--brand-600);font-weight:500}.auth-hint a:hover{text-decoration:underline}.auth-footnote{border-top:1px solid var(--border-subtle);color:var(--text-muted);font-size:13px;margin:0;padding-top:20px;text-align:center}.auth-footnote a{color:var(--brand-600);font-weight:600}.auth-footnote a:hover{text-decoration:underline}.field-label{color:var(--text-body);display:grid;font-size:12px;font-weight:500;grid-gap:6px;gap:6px;min-width:0}.field-input,.field-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);font:inherit;font-size:13px;font-weight:400;letter-spacing:inherit;min-height:38px;padding:0 11px;transition:var(--transition);width:100%}.field-textarea{min-height:84px;padding:9px 11px;resize:vertical}.field-checkbox{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);display:inline-flex;min-height:38px;padding:0 12px}input[type=checkbox],input[type=radio]{accent-color:var(--brand-700);height:16px;width:16px}.field-input:hover,.field-textarea:hover{border-color:var(--text-faint)}.appointment-filters__control:focus,.appointment-filters__search:focus,.commission-filters__control:focus,.commission-filters__search:focus,.contacts-filters__control:focus,.contacts-filters__search:focus,.field-input:focus,.field-textarea:focus,.opportunity-filters__control:focus,.opportunity-filters__search:focus,.policy-filters__control:focus,.policy-filters__search:focus,.product-filters__control:focus,.product-filters__search:focus{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.field-input:disabled,.field-textarea:disabled{background:var(--surface-muted);color:var(--text-muted);cursor:not-allowed}.select-menu{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);cursor:pointer;display:flex;font:inherit;font-size:13px;font-weight:400;gap:8px;letter-spacing:inherit;min-height:38px;min-width:0;padding:0 9px 0 11px;text-align:left;transition:var(--transition);width:100%}.select-menu__value{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-menu__chevron{color:var(--text-faint);flex:0 0 auto;height:16px;transition:transform .16s ease,color .14s ease;width:16px}.select-menu:hover{border-color:var(--text-faint)}.select-menu:hover .select-menu__chevron{color:var(--text-muted)}.select-menu--open,.select-menu:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.select-menu--open .select-menu__chevron{color:var(--brand-600);transform:rotate(180deg)}.select-menu--invalid{border-color:var(--danger-600);box-shadow:0 0 0 3px var(--danger-100)}.select-menu--empty .select-menu__value{color:var(--text-faint)}.select-menu:disabled{background:var(--surface-muted);color:var(--text-muted);cursor:not-allowed}.select-menu__popover{animation:select-menu-in .12s ease-out;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xl);overflow:hidden;position:fixed;transition:opacity 90ms ease;z-index:1500}@keyframes select-menu-in{0%{opacity:0;transform:translateY(-4px)}}.select-menu__list{display:grid;grid-gap:1px;gap:1px;list-style:none;margin:0;max-height:inherit;overflow-y:auto;overscroll-behavior:contain;padding:5px}.select-menu__option{align-items:center;background:transparent;border:0;border-radius:var(--radius-xs);color:var(--text-body);cursor:pointer;display:flex;font:inherit;font-size:13px;gap:10px;min-height:34px;padding:7px 9px;text-align:left;transition:background-color .1s ease,color .1s ease;width:100%}.select-menu__option-text{display:grid;flex:1 1 auto;grid-gap:1px;gap:1px;min-width:0}.select-menu__option-description,.select-menu__option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-menu__option-description{color:var(--text-faint);font-size:11.5px}.select-menu__option--active{background:var(--brand-50);color:var(--brand-900)}.select-menu__option--selected{color:var(--brand-800);font-weight:600}.select-menu__option--selected.select-menu__option--active{background:var(--brand-100)}.select-menu__option--disabled{color:var(--text-faint);cursor:not-allowed}.select-menu__option--disabled.select-menu__option--active{background:transparent;color:var(--text-faint)}.select-menu__tick{color:var(--brand-600);flex:0 0 auto;height:15px;width:15px}.select-menu__empty{color:var(--text-faint);font-size:12.5px;padding:10px 9px}@media (max-width:720px){.select-menu__list{gap:2px;padding:6px}.select-menu__option{font-size:14px;min-height:44px;padding:10px 12px}}.filters__actions{align-items:center;display:flex;flex:0 0 auto;gap:10px}.appointment-filters__control,.commission-filters__control,.contacts-filters__control,.opportunity-filters__control,.policy-filters__control,.product-filters__control{box-shadow:none}.date-time-picker{min-width:0;position:relative;width:100%}.date-time-picker__trigger{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);cursor:pointer;display:flex;font:inherit;font-size:13px;font-weight:400;gap:8px;letter-spacing:inherit;min-height:38px;padding:0 10px;text-align:left;transition:var(--transition),transform .14s ease;width:100%}.date-time-picker__trigger:hover{border-color:var(--text-faint);box-shadow:var(--shadow-sm)}.date-time-picker__trigger--open,.date-time-picker__trigger:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.date-time-picker__trigger--invalid{border-color:var(--danger-600);box-shadow:0 0 0 3px rgb(217 45 32/12%)}.date-time-picker__trigger>span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-time-picker__placeholder{color:var(--text-muted)}.date-time-picker__chevron,.date-time-picker__icon{flex:0 0 auto;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.date-time-picker__icon{color:var(--brand-600);height:17px;stroke-width:1.7;width:17px}.date-time-picker__chevron{color:var(--text-faint);height:14px;stroke-width:1.6;transition:transform .14s ease;width:14px}.date-time-picker__trigger--open .date-time-picker__chevron{transform:rotate(180deg)}.date-time-popover{animation:date-time-popover-in .14s ease-out;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);padding:14px;position:fixed;transform-origin:top left;z-index:1400}@keyframes date-time-popover-in{0%{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.date-time-popover__header{align-items:center;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;margin-bottom:12px}.date-time-popover__header strong{color:var(--text-strong);font-size:14px;font-weight:600;text-align:center}.date-time-popover__birth-navigation{display:grid;grid-gap:6px;gap:6px;grid-template-columns:minmax(0,1fr) 78px}.date-time-popover__birth-navigation .select-menu{background-color:var(--surface-subtle);border-color:var(--border);box-shadow:none;font-size:12px;font-weight:600;min-height:32px;padding:0 6px 0 9px}.date-time-popover__birth-navigation .select-menu__chevron{height:14px;width:14px}.date-time-popover__nav{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:inline-flex;height:32px;justify-content:center;padding:0;transition:var(--transition);width:32px}.date-time-popover__nav:focus-visible,.date-time-popover__nav:hover{background:var(--brand-50);color:var(--brand-700);outline:none}.date-time-popover__nav svg{height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;width:18px}.date-time-calendar__grid,.date-time-calendar__weekdays{display:grid;grid-gap:2px;gap:2px;grid-template-columns:repeat(7,minmax(0,1fr))}.date-time-calendar__weekdays{margin-bottom:4px}.date-time-calendar__weekdays span{color:var(--text-faint);font-size:10px;font-weight:600;letter-spacing:.03em;padding:3px 0;text-align:center;text-transform:uppercase}.date-time-calendar__day{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;height:34px;justify-content:center;padding:0;position:relative;transition:var(--transition),transform .12s ease}.date-time-calendar__day:focus-visible,.date-time-calendar__day:hover{background:var(--brand-50);color:var(--brand-700);outline:none;transform:translateY(-1px)}.date-time-calendar__day--outside{color:var(--text-faint)}.date-time-calendar__day--today:not(.date-time-calendar__day--selected){box-shadow:inset 0 0 0 1px var(--brand-100);color:var(--brand-700);font-weight:600}.date-time-calendar__day--selected,.date-time-calendar__day--selected:focus-visible,.date-time-calendar__day--selected:hover{background:var(--brand-700);box-shadow:0 3px 7px rgb(22 69 111/22%);color:var(--text-on-brand);font-weight:600}.date-time-calendar__day:disabled{background:transparent;box-shadow:none;color:var(--border-strong);cursor:not-allowed;transform:none}.date-time-popover__footer{align-items:center;border-top:1px solid var(--border-subtle);display:flex;justify-content:space-between;margin-top:10px;padding-top:10px}.date-time-popover__apply,.date-time-popover__text-action,.date-time-popover__today{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:32px;padding:0 11px;transition:var(--transition)}.date-time-popover__text-action{background:transparent;border:0;color:var(--text-muted)}.date-time-popover__text-action:focus-visible,.date-time-popover__text-action:hover{background:var(--surface-muted);color:var(--text-strong);outline:none}.date-time-popover__today{background:var(--brand-50);border:1px solid var(--brand-100);color:var(--brand-700)}.date-time-popover__today:focus-visible,.date-time-popover__today:hover{background:var(--brand-100);outline:none}.date-time-popover__today:disabled{cursor:not-allowed;opacity:.45}.date-time-time__heading{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:15px}.date-time-time__heading span{color:var(--text-muted);font-size:12px;font-weight:500}.date-time-time__heading strong{color:var(--brand-700);font-size:14px;font-weight:600}.date-time-time__controls{align-items:end;display:grid;grid-gap:8px;gap:8px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.date-time-time__controls label{color:var(--text-muted);display:grid;font-size:10px;font-weight:600;grid-gap:5px;gap:5px;letter-spacing:.03em;text-transform:uppercase}.date-time-time__controls .select-menu{background-color:var(--surface-subtle);font-size:14px;font-weight:600;min-height:42px;padding:0 8px 0 12px}.date-time-time__separator{color:var(--text-muted);font-size:18px;font-weight:600;padding-bottom:7px}.date-time-time__period{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);display:grid;grid-gap:3px;gap:3px;grid-column:1/-1;grid-template-columns:1fr 1fr;margin-top:3px;padding:3px}.date-time-time__period-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--radius-xs);color:var(--text-muted);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:33px;transition:var(--transition)}.date-time-time__period-button:focus-visible,.date-time-time__period-button:hover{color:var(--brand-700);outline:none}.date-time-time__period-button--active{background:var(--surface);box-shadow:var(--shadow-sm);color:var(--brand-700)}.date-time-popover__footer--time{margin-top:14px}.date-time-popover__apply{background:var(--brand-700);border:1px solid var(--brand-700);color:var(--text-on-brand)}.date-time-popover__apply:focus-visible,.date-time-popover__apply:hover{background:var(--brand-800);border-color:var(--brand-800);outline:none}@media (prefers-reduced-motion:reduce){.date-time-popover{animation:none}}.app-shell{min-height:100vh}.practice-banner{align-items:center;background:var(--warning-700);border-radius:var(--radius-pill);bottom:16px;box-shadow:var(--shadow-lg);color:#ffffff;display:inline-flex;font-size:12px;font-weight:600;gap:8px;left:16px;letter-spacing:.01em;padding:8px 16px;position:fixed;z-index:40}.practice-banner:before{background:var(--warning-300);border-radius:50%;content:"";height:8px;width:8px}.sidebar{background:var(--nav-bg);border-right:1px solid var(--nav-bg);bottom:0;color:var(--nav-text);display:flex;flex-direction:column;left:0;padding:16px 12px 12px;position:fixed;top:0;width:var(--sidebar-width);z-index:20}.sidebar__brand{align-items:center;border-bottom:1px solid var(--nav-border);display:flex;gap:10px;margin-bottom:16px;min-height:44px;padding:0 8px 16px}.sidebar__brand-mark{align-items:center;background:var(--accent-500);border-radius:var(--radius-sm);box-shadow:0 2px 8px rgb(234 106 44/32%);color:#ffffff;display:inline-flex;font-size:11px;font-weight:600;height:30px;justify-content:center;letter-spacing:.02em;width:30px}.sidebar__brand-copy{min-width:0}.sidebar__brand-subtitle,.sidebar__brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__brand-text{color:var(--nav-text-active);font-size:13px;font-weight:600;letter-spacing:-.01em;line-height:1.2}.sidebar__brand-subtitle{color:var(--nav-label);font-size:11px;font-weight:400;line-height:1.4}.sidebar__nav{display:grid;grid-gap:20px;gap:20px;overflow-y:auto;padding:0 0 12px;scrollbar-width:none;-ms-overflow-style:none}.sidebar__nav::-webkit-scrollbar{display:none}.sidebar__section{align-content:start;display:grid;grid-gap:4px;gap:4px}.sidebar__section-label{color:var(--nav-label);font-size:10px;font-weight:600;letter-spacing:.08em;padding:0 10px 2px;text-transform:uppercase}.sidebar__links{display:grid;grid-gap:1px;gap:1px}.sidebar__link{align-items:center;border-radius:var(--radius-sm);color:var(--nav-text);display:flex;font-size:13px;font-weight:500;gap:10px;line-height:1.2;min-height:36px;padding:8px 10px;position:relative;transition:var(--transition)}.sidebar__link .shell-icon{color:var(--nav-label);transition:var(--transition)}.sidebar__link:hover{background:var(--nav-hover);color:var(--nav-text-active)}.sidebar__link:hover .shell-icon{color:var(--nav-text)}.sidebar__link--active{background:var(--nav-active);color:var(--nav-text-active);font-weight:600}.sidebar__link--active:before{background:var(--accent-500);border-radius:0 2px 2px 0;bottom:8px;content:"";left:-12px;position:absolute;top:8px;width:3px}.sidebar__link--active .shell-icon{color:var(--accent-500)}.shell-icon{color:currentColor;flex:0 0 auto;height:18px;width:18px}.topbar{align-items:center;-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);background:var(--surface-glass);border-bottom:1px solid var(--border);display:grid;grid-gap:20px;gap:20px;grid-template-columns:minmax(0,1fr) minmax(220px,380px) auto;height:var(--topbar-height);left:var(--sidebar-width);padding:0 24px;position:fixed;right:0;top:0;z-index:10}.topbar__heading{min-width:0}.topbar__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;line-height:1.2;margin-bottom:3px;text-transform:uppercase}.topbar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-strong);font-size:18px;font-weight:600;letter-spacing:-.018em;line-height:1.2}.topbar__search{align-items:center;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);cursor:text;display:flex;font-size:13px;gap:10px;height:36px;min-width:0;padding:0 12px;transition:var(--transition)}.topbar__search:hover{background:var(--surface);border-color:var(--border-strong)}.topbar__search .shell-icon{color:var(--text-faint);height:16px;width:16px}.topbar__search .search-suggest{flex:1 1 auto}.topbar__search .search-suggest__list{z-index:30}.topbar__search input,.topbar__search-input{background:transparent;border:0;color:var(--text-strong);flex:1 1 auto;font:inherit;font-size:13px;min-width:0;outline:none;padding:0}.topbar__search input::placeholder{color:var(--text-faint)}.topbar__search:focus-within{background:var(--surface);border-color:var(--brand-600);box-shadow:var(--ring)}.topbar__search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-view{min-width:0;position:relative}.agent-view__trigger{align-items:center;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:flex;font:inherit;gap:8px;height:36px;max-width:100%;padding:0 8px 0 12px;transition:var(--transition);width:100%}.agent-view__trigger:hover{background:var(--surface-muted);border-color:var(--border-strong)}.agent-view__trigger:focus-visible{border-color:var(--brand-500);box-shadow:var(--ring);outline:none}.agent-view__icon{color:var(--text-faint);flex:0 0 auto;height:16px;width:16px}.agent-view__label,.agent-view__value{font-size:13px;line-height:1;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-view__label{color:var(--text-muted);flex:0 0 auto;font-weight:400}.agent-view__value{color:var(--text-strong);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-view__chevron{color:var(--text-faint);flex:0 0 auto;height:16px;margin-left:auto;width:16px}.agent-view--active .agent-view__trigger{background:var(--brand-50);border-color:var(--brand-100)}.agent-view--active .agent-view__trigger:hover{border-color:var(--brand-500)}.agent-view--active .agent-view__chevron,.agent-view--active .agent-view__icon{color:var(--brand-600)}.agent-view--active .agent-view__label{color:var(--brand-700)}.agent-view--active .agent-view__value{color:var(--brand-800);font-weight:600}.agent-view__menu{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:2px;left:0;margin:0;max-height:320px;min-width:260px;overflow-y:auto;padding:6px;position:absolute;top:calc(100% + 6px);z-index:40}.agent-view__option{align-items:center;background:transparent;border:0;border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;display:flex;font:inherit;gap:10px;padding:7px 8px;text-align:left;transition:var(--transition);width:100%}.agent-view__option:hover{background:var(--surface-hover)}.agent-view__option:focus-visible{box-shadow:var(--ring);outline:none}.agent-view__option--current{background:var(--brand-50)}.agent-view__option-mark{align-items:center;background:var(--surface-muted);border-radius:var(--radius-pill);color:var(--text-muted);display:flex;flex:0 0 auto;font-size:11px;font-weight:600;height:28px;justify-content:center;letter-spacing:.02em;width:28px}.agent-view__option--current .agent-view__option-mark{background:var(--brand-100);color:var(--brand-800)}.agent-view__option-glyph{height:16px;width:16px}.agent-view__option-text{display:flex;flex-direction:column;gap:2px;min-width:0}.agent-view__option-name{color:var(--text-strong);font-size:13px;font-weight:500;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-view__option-role{color:var(--text-faint);font-size:11.5px;line-height:1.2}.agent-view__tick{color:var(--brand-600);flex:0 0 auto;height:16px;margin-left:auto;width:16px}.agent-view__divider{background:var(--border-subtle);height:1px;margin:4px 2px}.topbar--with-view{grid-template-columns:minmax(0,1fr) auto minmax(0,340px) auto}.topbar__profile{align-items:center;color:var(--text-strong);display:flex;gap:10px;justify-content:flex-end;min-width:0;padding-left:20px;position:relative}.topbar__profile:before{background:var(--border);bottom:8px;content:"";left:0;position:absolute;top:8px;width:1px}.theme-toggle{align-items:center;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);display:inline-flex;flex:0 0 auto;height:34px;justify-content:center;padding:0;transition:var(--transition);width:34px}.theme-toggle:hover{background:var(--surface-muted);border-color:var(--border-strong);color:var(--text-strong)}.theme-toggle svg{height:17px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:17px}.topbar__avatar{align-items:center;background:var(--brand-800);border-radius:50%;color:#ffffff;display:inline-flex;font-size:12px;font-weight:600;height:30px;justify-content:center;width:30px}.topbar__profile-text{display:grid;grid-gap:1px;gap:1px;min-width:0}.topbar__profile-name{color:var(--text-strong);max-width:220px;font-size:13px;font-weight:500;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar__profile-role{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}.topbar__logout{background:transparent;border:0;border-radius:var(--radius-xs);color:var(--text-muted);cursor:pointer;font:inherit;font-size:12px;font-weight:500;padding:4px 6px;transition:var(--transition);white-space:nowrap}.topbar__logout:hover{background:var(--surface-muted);color:var(--text-strong)}.content{background:var(--canvas);height:calc(100vh - var(--topbar-height));margin-left:var(--sidebar-width);margin-top:var(--topbar-height);overflow:auto;padding:24px}.content__inner{margin:0 auto;max-width:1520px;min-height:100%;width:100%}.page-name{color:var(--text-strong);font-size:24px;font-weight:600;letter-spacing:-.022em;line-height:1.2;margin:0;padding:0}.dashboard{display:grid;grid-gap:20px;gap:20px}.dashboard__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.dashboard__subtitle{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.dashboard__period{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);font-size:12px;font-weight:500;padding:8px 12px;white-space:nowrap}.dashboard__warning{background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-md);color:var(--warning-800);font-size:12px;font-weight:500;line-height:1.4;padding:9px 12px}.dashboard__kpis{align-items:stretch;display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard .performance-card,.dashboard .report-card,.dashboard-kpi,.dashboard-section{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}.dashboard-kpi{display:flex;flex-direction:column;min-height:118px;padding:18px}.dashboard .performance-card__label,.dashboard-kpi__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.dashboard-kpi__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.dashboard-kpi__detail{border-top:1px solid var(--border-subtle);color:var(--text-muted);font-size:12px;line-height:1.4;margin-top:auto;padding-top:12px}.dashboard-section{padding:18px}.dashboard-section__header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.dashboard-section__header h2{color:var(--color-navy-950);font-size:15px;font-weight:600;letter-spacing:-.012em;line-height:1.2;margin:0}.dashboard-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.dashboard-summary-grid,.dashboard-two-column{align-items:stretch;display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard .report-card{padding:16px}.dashboard .report-card__title,.dashboard .report-panel__title{color:var(--text-strong);font-size:12px;font-weight:600;letter-spacing:.04em;margin-bottom:14px;text-transform:uppercase}.dashboard .report-card__metrics{display:grid;grid-gap:7px;gap:7px}.dashboard .metric-row{align-items:baseline;border-top:1px solid var(--color-slate-100);display:flex;gap:12px;justify-content:space-between;padding-top:7px}.dashboard .metric-row:first-child{border-top:0;padding-top:0}.dashboard .metric-row span{color:var(--color-slate-500);font-size:12px}.dashboard .metric-row strong{color:var(--color-navy-950);font-size:13px;font-weight:600}.dashboard .report-panel{display:flex;flex-direction:column;min-width:0}.dashboard .report-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);flex:1 1;overflow-x:auto;width:100%}.dashboard .report-table{border-collapse:collapse;min-width:100%;table-layout:auto;white-space:nowrap}.dashboard .report-table td,.dashboard .report-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:12px;line-height:1.4;padding:10px 12px;text-align:right}.dashboard .report-table th{background:var(--surface-subtle);color:var(--color-slate-500);font-weight:600}.dashboard .report-table thead th{text-align:right}.dashboard .report-table thead th:first-child{text-align:left}.dashboard .report-table thead th{background:var(--surface-subtle);border-bottom-color:var(--border);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.dashboard .report-table tbody th{color:var(--text-strong);font-weight:600;text-align:left}.dashboard .report-table--pipeline td:nth-child(2),.dashboard .report-table--pipeline td:nth-child(3),.dashboard .report-table--pipeline thead th:nth-child(2),.dashboard .report-table--pipeline thead th:nth-child(3){text-align:center}.dashboard .report-table--monthly td,.dashboard .report-table--monthly th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:12px;line-height:1.4;padding:10px 12px;text-align:right}.dashboard .report-table--monthly td:first-child,.dashboard .report-table--monthly th:first-child{text-align:left}.dashboard .report-table tbody tr:last-child td,.dashboard .report-table tbody tr:last-child th{border-bottom:0}.dashboard .report-table tbody tr:hover td,.dashboard .report-table tbody tr:hover th{background:var(--surface-hover)}.dashboard .report-table--monthly{min-width:100%;width:100%}.dashboard .report-table--monthly thead tr:first-child th{background:var(--surface-muted);color:var(--text-strong);text-align:center}.dashboard .report-table--monthly thead tr:first-child th:first-child{text-align:left}.dashboard .report-table__total td,.dashboard .report-table__total th{background:var(--surface-muted);border-bottom:1px solid var(--border-subtle);border-top:1px solid var(--border-strong);color:var(--text-strong);font-size:12px;font-weight:600;line-height:1.4;padding:10px 12px}.dashboard .performance-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard .performance-card{padding:16px}.dashboard .performance-card__value{color:var(--text-strong);font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.contacts-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.contacts-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.contacts-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:680px}.contacts-page__add-button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:13px;font-weight:600;justify-content:center;min-height:38px;padding:0 16px;text-decoration:none;transition:var(--transition);white-space:nowrap}.contacts-page__add-button:hover{background:var(--brand-800);border-color:var(--brand-800)}.contacts-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr))}.contact-preview,.contacts-filters,.contacts-summary__card,.contacts-table-card{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}.contacts-summary__card{padding:16px}.contacts-summary__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.contacts-summary__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.contacts-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;max-width:100%;min-width:0;padding:12px}.contacts-filters__control,.contacts-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.contacts-filters__search{color:var(--text-body);flex:1 1 300px}.contacts-filters__control{flex:0 1 168px}.contacts-filters__clear,.contacts-page__filter-button{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.contacts-page__filter-button{color:var(--text-body);cursor:pointer;font-family:inherit;transition:var(--transition)}.contacts-filters__clear:hover,.contacts-page__filter-button:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.contacts-workspace{display:block;max-width:100%;min-width:0}.contacts-table-card{max-width:100%;min-width:0;padding:18px}.contacts-table-card__header{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.contact-preview__header h2,.contact-preview__section h3,.contacts-table-card__header h2{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.contacts-table-card__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.contacts-table-card__header h2 span{color:var(--color-slate-500);font-size:13px;font-weight:600}.contacts-table-card__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.contacts-section__button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.contacts-section__button:hover{background:var(--brand-800);border-color:var(--brand-800)}.contacts-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.contacts-table{border-collapse:collapse;table-layout:auto;width:100%}.contacts-table--records{min-width:1940px;table-layout:fixed}.contacts-table td,.contacts-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.contacts-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.contacts-table tbody th{color:var(--text-strong);font-weight:600}.contacts-table--records th:first-child{width:220px}.contacts-table--records th:nth-child(2){width:120px}.contacts-table--records th:nth-child(3){width:140px}.contacts-table--records th:nth-child(4){width:240px}.contacts-table--records th:nth-child(5),.contacts-table--records th:nth-child(6){width:170px}.contacts-table--records th:nth-child(7){width:130px}.contacts-table--records th:nth-child(8){width:120px}.contacts-table--records th:nth-child(9){width:90px}.contacts-table--records th:nth-child(10){width:120px}.contacts-table--records th:nth-child(11){width:150px}.contacts-table--records th:nth-child(12){width:130px}.contacts-table--records th:nth-child(13){width:140px}.contacts-table--records td:nth-child(10),.contacts-table--records td:nth-child(9),.contacts-table--records th:nth-child(10),.contacts-table--records th:nth-child(9){text-align:right}.contacts-table--records td:nth-child(10),.contacts-table--records td:nth-child(12),.contacts-table--records td:nth-child(13),.contacts-table--records td:nth-child(2),.contacts-table--records td:nth-child(3),.contacts-table--records td:nth-child(7),.contacts-table--records td:nth-child(9){white-space:nowrap}.contacts-table tbody tr:last-child td,.contacts-table tbody tr:last-child th{border-bottom:0}.contacts-table tbody tr:hover td,.contacts-table tbody tr:hover th{background:var(--surface-hover)}.clickable-row{cursor:pointer}.clickable-row:hover>td,.clickable-row:hover>th{background:var(--surface-hover)}.clickable-row:hover>:first-child{box-shadow:inset 3px 0 0 var(--brand-500)}.table-row-link{border-radius:3px;color:inherit;text-decoration:none}.table-row-link:hover{text-decoration:underline}.table-row-link:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}.contacts-table__edit-link{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:28px;min-width:58px;padding:0 10px;text-decoration:none;transition:var(--transition)}.contacts-table__edit-link:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.contacts-table__actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.contacts-modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:rgb(12 17 29/55%);display:flex;inset:0;justify-content:center;padding:32px 24px;position:fixed;z-index:80}.contacts-modal{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-height:min(720px,calc(100vh - 48px));max-width:880px;overflow:auto;padding:24px;width:min(100%,880px)}.contacts-modal__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding-bottom:16px}.contacts-modal__header h2{color:var(--text-strong);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}.contacts-modal__header p{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.contacts-modal__cancel,.contacts-modal__close{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.contacts-modal__cancel:hover,.contacts-modal__close:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.contacts-modal__body,.contacts-modal__form{display:grid;grid-gap:16px;gap:16px}.contacts-form-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.contacts-form-grid--pair{grid-template-columns:minmax(0,1fr) minmax(0,200px)}.contacts-modal__actions,.contacts-modal__archive-form{align-items:center;display:flex;gap:10px;justify-content:flex-end}.contacts-modal__archive-form{border-top:1px solid var(--color-slate-100);padding-top:12px}.contacts-files-section,.contacts-policies-section{border:1px solid var(--border);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;padding:18px}.contacts-files-section__header,.contacts-policies-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.contacts-files-section__header h3,.contacts-policies-section__header h3{color:var(--color-navy-950);font-size:14px;font-weight:700;line-height:1.2;margin:0}.contacts-files-section__empty,.contacts-files-section__header p,.contacts-policies-section__empty,.contacts-policies-section__header p{color:var(--color-slate-500);font-size:12px;line-height:1.45;margin:5px 0 0}.contacts-files-section__empty,.contacts-policies-section__empty{background:var(--surface-subtle);border:1px solid var(--color-slate-100);border-radius:var(--radius-sm);margin:0;padding:10px 12px}.contacts-appointments-section{border:1px solid var(--border);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;padding:18px}.contacts-appointments-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.contacts-appointment-form__header h4,.contacts-appointments-section__header h3{color:var(--color-navy-950);font-size:14px;font-weight:700;line-height:1.2;margin:0}.contacts-appointment-form__header p,.contacts-appointments-section__empty,.contacts-appointments-section__header p{color:var(--color-slate-500);font-size:12px;line-height:1.45;margin:5px 0 0}.contacts-appointments-section__empty{background:var(--surface-subtle);border:1px solid var(--color-slate-100);border-radius:var(--radius-sm);margin:0;padding:10px 12px}.contacts-appointment-form,.contacts-appointments-list{display:grid;grid-gap:10px;gap:10px}.contacts-appointment-item{border:1px solid var(--color-slate-100);border-radius:var(--radius-sm);display:grid;grid-gap:9px;gap:9px;padding:10px 12px}.contacts-appointment-item h4{color:var(--color-navy-950);font-size:13px;font-weight:600;margin:0}.contacts-appointment-item p{color:var(--color-slate-500);font-size:12px;line-height:1.45;margin:4px 0 0}.contacts-appointment-item dl{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.contacts-appointment-item dt{color:var(--color-slate-500);font-size:11px;font-weight:600}.contacts-appointment-item dd{color:var(--color-slate-700);font-size:12px;font-weight:500;margin:3px 0 0}.contacts-appointment-item__notes{background:var(--surface-subtle);border-radius:var(--radius-sm);padding:8px 10px}.appointment-status-menu{display:inline-flex;position:relative}.appointment-status-menu__trigger{align-items:center;background:var(--surface-subtle);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:600;gap:8px;justify-content:center;min-height:32px;padding:0 9px 0 11px;transition:var(--transition);white-space:nowrap}.appointment-status-menu__trigger:hover,.appointment-status-menu__trigger[aria-expanded=true]{background:var(--surface-muted);border-color:var(--brand-500);color:var(--text-strong)}.appointment-status-menu__trigger:focus-visible{border-color:var(--brand-500);box-shadow:var(--ring);outline:none}.appointment-status-menu__trigger svg{color:var(--text-faint);height:16px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .14s ease;width:16px}.appointment-status-menu__trigger[aria-expanded=true] svg{transform:rotate(180deg)}.appointment-status-menu__popover{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);display:grid;grid-gap:2px;gap:2px;padding:6px;position:fixed;z-index:100}.appointment-status-menu__label{color:var(--text-faint);font-size:10px;font-weight:700;letter-spacing:.07em;padding:5px 8px 4px;text-transform:uppercase}.appointment-status-menu__popover form{margin:0}.appointment-status-menu__option{align-items:center;background:transparent;border:0;border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;display:flex;font:inherit;font-size:12px;font-weight:600;gap:9px;min-height:36px;padding:0 9px;text-align:left;transition:var(--transition);width:100%}.appointment-status-menu__option:focus-visible,.appointment-status-menu__option:hover{background:var(--surface-hover);color:var(--text-strong);outline:none}.appointment-status-menu__dot{background:var(--text-faint);border-radius:50%;box-shadow:0 0 0 3px var(--surface-muted);flex:0 0 auto;height:7px;width:7px}.appointment-status-menu__option--completed .appointment-status-menu__dot{background:var(--success-600);box-shadow:0 0 0 3px var(--success-50)}.appointment-status-menu__option--cancelled .appointment-status-menu__dot,.appointment-status-menu__option--no_show .appointment-status-menu__dot{background:var(--danger-600);box-shadow:0 0 0 3px var(--danger-50)}.appointment-status-menu__option--scheduled .appointment-status-menu__dot{background:var(--brand-500);box-shadow:0 0 0 3px var(--brand-50)}.contact-documents{border-top:1px solid var(--color-slate-100);margin-top:14px;padding-top:12px}.contact-documents__header{align-items:baseline;gap:10px}.contact-documents__header h4{color:var(--text-strong);font-size:13px;font-weight:600;margin:0}.contact-documents__summary{border-radius:var(--radius-pill);font-size:11px;font-weight:600;padding:2px 9px}.contact-documents__summary--complete{background:var(--success-50);color:var(--success-700)}.contact-documents__summary--outstanding{background:var(--warning-50);color:var(--warning-800)}.contact-documents__list{display:grid;grid-gap:4px;gap:4px;list-style:none;margin:10px 0 0;padding:0}.contact-documents__item{border-radius:var(--radius-sm);flex-wrap:wrap;gap:8px;min-height:30px;padding:2px 4px}.contact-documents__item:hover{background:var(--surface-subtle)}.contact-documents__label{align-items:center;cursor:pointer;display:flex;font-size:13px;gap:8px}.contact-documents__name--done{color:var(--text-muted)}.contact-documents__tag{background:var(--surface-muted);border-radius:var(--radius-pill);color:var(--text-muted);font-size:10.5px;font-weight:600;padding:2px 8px}.contact-documents__meta{color:var(--text-faint);font-size:11.5px;margin-left:auto}.contact-documents__empty,.contact-documents__note{color:var(--text-muted);font-size:12px;line-height:1.5;margin:10px 0 0}.contact-documents__error{color:var(--danger-700);font-size:12px;margin:8px 0 0}.search-suggest{flex:1 1 240px;min-width:0;position:relative}.search-suggest>input{width:100%}.search-suggest__list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);left:0;list-style:none;margin:4px 0 0;max-height:320px;overflow-y:auto;padding:4px;position:absolute;right:0;top:100%;z-index:60}.search-suggest__item{background:transparent;border:0;border-radius:var(--radius-sm);cursor:pointer;display:grid;font:inherit;grid-gap:2px;gap:2px;padding:7px 9px;text-align:left;width:100%}.search-suggest__item--active{background:var(--surface-hover)}.search-suggest__label{color:var(--text-strong);font-size:13px;font-weight:500}.search-suggest__detail,.search-suggest__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-suggest__detail{color:var(--text-muted);font-size:11.5px}.opportunity-documents{background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-md);margin-bottom:14px;padding:12px 14px}.opportunity-documents--complete{background:var(--success-50);border-color:var(--success-200)}.opportunity-documents__header{align-items:baseline;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.opportunity-documents__header h4{color:var(--warning-800);font-size:13px;font-weight:600;margin:0}.opportunity-documents--complete .opportunity-documents__header h4{color:var(--success-700)}.opportunity-documents__link{color:var(--brand-600);font-size:12.5px;font-weight:600;text-decoration:none;white-space:nowrap}.opportunity-documents__link:hover{text-decoration:underline}.opportunity-documents__list{color:var(--warning-800);font-size:12.5px;line-height:1.6;margin:8px 0 0;padding-left:20px}.opportunity-documents__note{color:var(--warning-800);font-size:11.5px;line-height:1.5;margin:8px 0 0;opacity:.85}.opportunity-documents-state{align-items:center;background:var(--success-50);border-radius:var(--radius-sm);color:var(--success-700);display:inline-flex;font-size:12.5px;font-weight:600;min-height:38px;padding:0 12px}.opportunity-documents-state--missing{background:var(--warning-50);color:var(--warning-800)}.option-lists{display:grid;grid-gap:22px;gap:22px}.option-lists__intro{color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:0;max-width:78ch}.option-lists__error{background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);font-size:12.5px;margin:0;padding:9px 12px}.option-list{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:16px 18px}.option-list__title{color:var(--text-strong);font-size:13px;font-weight:600;letter-spacing:.02em;margin:0;text-transform:uppercase}.option-list__note{color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:6px 0 0;max-width:78ch}.option-list__rows{display:grid;grid-gap:2px;gap:2px;margin-top:12px}.option-row{align-items:center;border-radius:var(--radius-sm);display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(0,1fr) 110px 250px;min-height:40px;padding:3px 6px;transition:var(--transition)}.option-row:hover{background:var(--surface-subtle)}.option-row--retired .option-row__input,.option-row--retired .option-row__static{color:var(--text-faint)}.option-row__input{background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-body);font:inherit;font-size:13px;min-height:32px;padding:0 8px;transition:var(--transition);width:100%}.option-row__input:hover{border-color:var(--border)}.option-row__input:focus{background:var(--surface);border-color:var(--brand-500);outline:none}.option-row__static{color:var(--text-body);font-size:13px;padding:0 8px}.option-row__tags{display:flex;gap:6px}.option-tag{border-radius:var(--radius-pill);font-size:10.5px;font-weight:600;letter-spacing:.03em;padding:2px 8px;text-transform:uppercase;white-space:nowrap}.option-tag--locked{background:var(--brand-50);color:var(--brand-700)}.option-tag--retired{background:var(--surface-muted);color:var(--text-muted)}.option-row__actions{flex-wrap:wrap;justify-content:flex-end}.option-row__actions,.option-row__signonce{align-items:center;display:flex;gap:6px}.option-row__signonce label{color:var(--text-muted);font-size:12px;white-space:nowrap}.option-row__signonce-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface) var(--select-chevron) no-repeat right 9px center;background-size:11px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;font:inherit;font-size:13px;max-width:200px;min-height:32px;padding:0 28px 0 9px;text-overflow:ellipsis}.option-row__signonce-select:focus{border-color:var(--brand-500);outline:none}.option-row__signonce-select:disabled{color:var(--text-faint)}.option-row__percent{align-items:center;display:flex;gap:4px}.option-row__number{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);font:inherit;font-size:13px;min-height:30px;padding:0 6px;text-align:right;width:64px}.option-row__number:focus{border-color:var(--brand-500);outline:none}.option-row__suffix{color:var(--text-muted);font-size:12px}.option-row__reason{color:var(--text-muted);font-size:11.5px;grid-column:1/-1;line-height:1.5;margin:0 0 4px;padding:0 8px}.option-button{background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:30px;padding:0 10px;transition:var(--transition);white-space:nowrap}.option-button:hover{background:var(--surface);border-color:var(--border);color:var(--text-strong)}.option-button--primary{background:var(--brand-500);border-color:var(--brand-500);color:var(--text-on-brand)}.option-button--primary:hover{background:var(--brand-600);border-color:var(--brand-600);color:var(--text-on-brand)}.option-button--primary:disabled{background:var(--surface-muted);border-color:var(--border);color:var(--text-faint);cursor:not-allowed}.option-icon{background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-faint);cursor:pointer;font-size:13px;height:28px;line-height:1;transition:var(--transition);width:26px}.option-icon:hover:not(:disabled){background:var(--surface);border-color:var(--border);color:var(--text-strong)}.option-icon:disabled{color:var(--border);cursor:default}.option-status{display:inline-block;flex:0 0 auto;font-size:11.5px;font-weight:600;text-align:right;width:62px}.option-status--saving{color:var(--text-faint)}.option-status--saved{color:var(--success-700)}.option-add{align-items:center;border-top:1px solid var(--border-subtle);display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(0,1fr) 110px 250px;margin-top:10px;padding:12px 6px 0}.option-add__controls{align-items:center;display:flex;gap:6px;justify-content:flex-end}.option-add .option-row__input{border-color:var(--border)}.option-add__hint{color:var(--text-faint);font-size:11px}@media (max-width:860px){.option-add,.option-row{grid-template-columns:minmax(0,1fr)}.option-row__actions{justify-content:flex-start}}.settings-member-role-form{align-items:center;display:flex;gap:6px}.settings-member-role-form .select-menu{border-color:var(--border);box-shadow:none;color:var(--text-body);font-size:12px;min-height:30px;padding:0 4px 0 8px}.settings-member-role-form__button{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:30px;padding:0 12px;transition:var(--transition);white-space:nowrap}.settings-member-role-form__button:hover{border-color:var(--brand-500);color:var(--text-strong)}.settings-member-role-form__note{color:var(--text-faint);font-size:12px}.settings-member-actions{align-items:flex-start;display:flex;flex-wrap:wrap;gap:7px}.settings-member-remove-button{background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;font:inherit;font-size:11px;font-weight:700;min-height:30px;padding:0 10px;transition:var(--transition)}.settings-member-remove-button:hover{background:var(--danger-50);border-color:var(--danger-300)}.settings-member-remove-note-inline{color:var(--text-faint);display:block;font-size:10px;line-height:1.35;max-width:160px}.settings-member-remove-backdrop{align-items:center;background:rgb(15 23 42/58%);display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1200}.settings-member-remove-dialog{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);display:grid;grid-gap:16px;gap:16px;max-height:calc(100vh - 40px);max-width:620px;overflow-y:auto;padding:20px;width:100%}.settings-member-remove-dialog__header{align-items:flex-start;display:flex;gap:18px;justify-content:space-between}.settings-member-remove-dialog__header>div>span{color:var(--danger-700);display:block;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:4px;text-transform:uppercase}.settings-member-remove-dialog h2{color:var(--text-strong);font-size:18px;margin:0}.settings-member-remove-dialog p{color:var(--text-muted);font-size:12px;line-height:1.5;margin:5px 0 0}.settings-member-remove-close{align-items:center;background:var(--surface-subtle);border:1px solid var(--border);border-radius:999px;color:var(--text-muted);cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:20px;height:32px;justify-content:center;line-height:1;padding:0 0 2px;width:32px}.settings-member-remove-counts{display:grid;grid-gap:7px;gap:7px;grid-template-columns:repeat(5,minmax(0,1fr))}.settings-member-remove-counts>div{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);display:grid;grid-gap:3px;gap:3px;min-width:0;padding:9px}.settings-member-remove-counts span{color:var(--text-muted);font-size:9.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-member-remove-counts strong{color:var(--text-strong);font-size:16px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.settings-member-remove-note{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--radius-sm);color:var(--text-body);font-size:11.5px;line-height:1.5;padding:10px}.settings-member-remove-form{display:grid;grid-gap:12px;gap:12px}.settings-member-remove-form>label:not(.settings-member-remove-understanding){display:grid;grid-gap:5px;gap:5px}.settings-member-remove-form label>span{color:var(--text-body);font-size:11.5px;font-weight:600}.settings-member-remove-form .select-menu,.settings-member-remove-form input[type=text]{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-strong);font:inherit;font-size:13px;min-height:40px;padding:0 10px;width:100%}.settings-member-remove-form .select-menu--open,.settings-member-remove-form .select-menu:focus-visible,.settings-member-remove-form input[type=text]:focus{border-color:var(--danger-600);box-shadow:var(--ring);outline:none}.settings-member-remove-understanding{align-items:flex-start;cursor:pointer;display:flex;gap:8px}.settings-member-remove-understanding input{flex:0 0 auto;margin-top:2px}.settings-member-remove-understanding span{color:var(--text-muted)!important;font-weight:500!important;line-height:1.5}.settings-member-remove-actions{align-items:center;display:flex;gap:8px;justify-content:flex-end}.settings-member-remove-cancel,.settings-member-remove-submit{border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:12px;font-weight:700;min-height:38px;padding:0 13px;transition:var(--transition)}.settings-member-remove-cancel{background:var(--surface);border:1px solid var(--border-strong);color:var(--text-body)}.settings-member-remove-submit{background:var(--danger-700);border:1px solid var(--danger-700);color:var(--color-white)}.settings-member-remove-submit:hover:not(:disabled){background:var(--danger-600);border-color:var(--danger-600)}.settings-member-remove-submit:disabled{cursor:not-allowed;opacity:.45}.settings-member-remove-button:focus-visible,.settings-member-remove-cancel:focus-visible,.settings-member-remove-close:focus-visible,.settings-member-remove-submit:focus-visible{box-shadow:var(--ring);outline:none}.contacts-appointment-form{border-top:1px solid var(--color-slate-100);padding-top:10px}.contacts-files-table-wrap,.contacts-policies-table-wrap{border:1px solid var(--border);border-radius:var(--radius-sm);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.contacts-files-table,.contacts-policies-table{border-collapse:collapse;min-width:760px;table-layout:fixed;width:100%}.contacts-files-table td,.contacts-files-table th,.contacts-policies-table td,.contacts-policies-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:12px;line-height:1.4;overflow:hidden;--cell-padding:10px 12px;padding:var(--cell-padding);text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.contacts-files-table thead th,.contacts-policies-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.contacts-files-table tbody th,.contacts-policies-table tbody th{color:var(--text-strong);font-weight:600}.contacts-files-table td:first-child,.contacts-files-table th:first-child{width:190px}.contacts-files-table td:nth-child(2),.contacts-files-table th:nth-child(2){width:140px}.contacts-files-table td:nth-child(3),.contacts-files-table th:nth-child(3){width:150px}.contacts-files-table td:nth-child(4),.contacts-files-table th:nth-child(4){width:90px}.contacts-files-table td:nth-child(5),.contacts-files-table th:nth-child(5){width:120px}.contacts-files-table td:nth-child(6),.contacts-files-table th:nth-child(6){width:220px;white-space:normal}.contacts-files-table tbody tr:last-child td,.contacts-files-table tbody tr:last-child th,.contacts-policies-table tbody tr:last-child td,.contacts-policies-table tbody tr:last-child th{border-bottom:0}.contacts-policies-table{min-width:880px}.contacts-policies-table td:first-child,.contacts-policies-table th:first-child{width:180px}.contacts-policies-table td:nth-child(2),.contacts-policies-table th:nth-child(2){width:120px}.contacts-policies-table td:nth-child(3),.contacts-policies-table th:nth-child(3){width:150px}.contacts-policies-table td:nth-child(4),.contacts-policies-table th:nth-child(4){width:210px;white-space:normal}.contacts-policies-table td:nth-child(5),.contacts-policies-table td:nth-child(6),.contacts-policies-table th:nth-child(5),.contacts-policies-table th:nth-child(6){text-align:right}.contacts-policies-table td:nth-child(5),.contacts-policies-table th:nth-child(5){width:150px}.contacts-policies-table td:nth-child(6),.contacts-policies-table td:nth-child(7),.contacts-policies-table th:nth-child(6),.contacts-policies-table th:nth-child(7){width:120px}.contacts-workflow-section{align-items:center;border:1px solid var(--border);border-radius:var(--radius-md);display:flex;gap:12px;justify-content:space-between;padding:18px}.contacts-workflow-section h3{color:var(--color-navy-950);font-size:14px;font-weight:700;line-height:1.2;margin:0}.contacts-workflow-section p{color:var(--color-slate-500);font-size:12px;line-height:1.45;margin:5px 0 0}.contacts-workflow-section__button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.contacts-workflow-section__button:hover{background:var(--brand-800);border-color:var(--brand-800)}.contacts-modal__archive-button{align-items:center;background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;white-space:nowrap}.contacts-modal__archive-button:hover{background:var(--danger-100);border-color:var(--danger-300)}.contact-status{align-items:center;border:1px solid var(--border-translucent);border-radius:var(--radius-xs);display:inline-flex;font-size:11px;font-weight:500;justify-content:center;min-height:22px;padding:0 7px}.contact-status--active-prospect{background:var(--color-emerald-soft);color:var(--success-700)}.contact-status--client{background:var(--brand-50);color:var(--color-navy-700)}.contact-status--new-lead{background:var(--warning-50);color:var(--warning-800)}.contact-status--prospect{background:var(--violet-50);color:var(--violet-700)}.contact-status--inactive{background:var(--color-slate-100);color:var(--color-slate-500)}.contact-preview{padding:18px;position:-webkit-sticky;position:sticky;top:24px}.contact-preview__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding-bottom:16px}.contact-preview__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}.contact-preview__header h2{font-size:16px;font-weight:600;letter-spacing:-.015em}.contact-preview__section{border-bottom:1px solid var(--border-subtle);padding:16px 0}.contact-preview__section:last-child{border-bottom:0;padding-bottom:0}.contact-preview__section h3{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.contact-preview__section p{color:var(--color-slate-700);font-size:13px;line-height:1.5;margin:0}.contact-preview__details{display:grid;grid-gap:8px;gap:8px;margin:0}.contact-preview__details div{background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);display:grid;grid-gap:4px;gap:4px;padding:9px 11px}.contact-preview__details dt{color:var(--text-muted);font-size:12px;font-weight:400}.contact-preview__details dd{color:var(--text-strong);font-size:12.5px;font-weight:500;margin:0;overflow-wrap:anywhere;text-align:left}.contact-documents,.contact-preview__list{display:grid;grid-gap:8px;gap:8px}.contact-documents__item,.contact-preview__list-row{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md);padding:11px}.contact-preview__list-row{align-items:center;display:flex;gap:10px;justify-content:space-between}.contact-documents__item span,.contact-preview__list-row strong{color:var(--color-navy-950);display:block;font-size:12px;font-weight:600}.contact-preview__list-row span{color:var(--color-slate-500);display:block;font-size:11px;font-weight:500;margin-top:3px}.contact-preview__list-row b{color:var(--color-navy-700);font-size:12px;white-space:nowrap}.contact-documents__item{align-items:center;display:flex;gap:10px;justify-content:space-between}.contact-documents__item strong{color:var(--color-slate-500);font-size:11px}.opportunities-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.opportunities-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.opportunities-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:720px}.opportunities-page__add-button,.opportunity-preview__convert{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);display:inline-flex;font:inherit;font-size:13px;font-weight:600;justify-content:center;min-height:38px;padding:0 16px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-page__add-button{box-shadow:var(--shadow-xs);cursor:pointer;transition:var(--transition)}.opportunities-page__add-button:hover{background:var(--brand-800);border-color:var(--brand-800);box-shadow:var(--shadow-sm);color:var(--text-on-brand)}.opportunities-page__notice{border:1px solid var(--color-slate-200);border-radius:var(--radius-md);font-size:13px;font-weight:500;line-height:1.5;padding:11px 12px}.opportunities-page__notice--success{background:var(--color-emerald-soft);border-color:var(--success-200);color:var(--success-700)}.opportunities-page__notice--error{background:var(--danger-50);border-color:var(--danger-200);color:var(--danger-700)}.opportunity-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.opportunities-table-card,.opportunity-filters,.opportunity-preview,.opportunity-summary__card,.pipeline-board-section{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);max-width:100%;min-width:0}.opportunity-summary__card{padding:16px}.opportunity-summary__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.opportunity-summary__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.opportunity-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;padding:12px}.opportunities-view-toggle{align-items:center;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:none;display:inline-flex;gap:2px;justify-self:start;max-width:100%;min-width:0;padding:3px}.opportunities-view-toggle__link{align-items:center;border-radius:var(--radius-xs);color:var(--text-muted);display:inline-flex;font-size:12.5px;font-weight:500;justify-content:center;min-height:28px;padding:0 14px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-view-toggle__link:hover{background:transparent;color:var(--text-strong)}.opportunities-view-toggle__link--active{background:var(--surface);box-shadow:var(--shadow-xs);color:var(--text-strong);font-weight:600}.opportunity-filters__control,.opportunity-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.opportunity-filters__search{color:var(--text-body);flex:1 1 300px}.opportunity-filters__control{flex:0 1 168px}.opportunities-page__filter-button,.opportunity-filters__clear{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-page__filter-button{color:var(--text-body);cursor:pointer;font-family:inherit;transition:var(--transition)}.opportunities-page__filter-button:hover,.opportunity-filters__clear:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.opportunities-table-card,.opportunity-preview,.pipeline-board-section{padding:18px}.opportunities-table-card{max-width:100%;min-width:0;overflow:hidden}.opportunities-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.opportunities-section__header>div{min-width:0}.opportunities-section__button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-section__button:hover{background:var(--brand-800);border-color:var(--brand-800)}.opportunities-section__header h2,.opportunity-preview__header h2,.opportunity-preview__section h3,.pipeline-stage__header h3{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.opportunities-section__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.opportunities-section__header h2 span{color:var(--color-slate-500);font-size:13px;font-weight:600}.opportunities-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.pipeline-board-scroll{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.pipeline-board{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(240px,1fr));min-width:1500px}.pipeline-stage{--pipeline-stage-accent:var(--brand-500);--pipeline-stage-ink:var(--brand-700);--pipeline-stage-tint:var(--brand-50);background:var(--pipeline-stage-tint);border:1px solid var(--border);border-top:3px solid var(--pipeline-stage-accent);border-radius:var(--radius-lg);display:flex;flex-direction:column;min-height:220px;padding:12px}.pipeline-stage--no-show-for-payment{--pipeline-stage-accent:var(--danger-600);--pipeline-stage-ink:var(--danger-700);--pipeline-stage-tint:var(--danger-50)}.pipeline-stage--outstanding-documents{--pipeline-stage-accent:var(--warning-600);--pipeline-stage-ink:var(--warning-800);--pipeline-stage-tint:var(--warning-50)}.pipeline-stage--application-process{--pipeline-stage-accent:var(--info-700);--pipeline-stage-ink:var(--info-700);--pipeline-stage-tint:var(--info-50)}.pipeline-stage--underwriting{--pipeline-stage-accent:var(--violet-700);--pipeline-stage-ink:var(--violet-700);--pipeline-stage-tint:var(--violet-50)}.pipeline-stage--won{--pipeline-stage-accent:var(--success-600);--pipeline-stage-ink:var(--success-800);--pipeline-stage-tint:var(--success-50)}.pipeline-stage--lost{--pipeline-stage-accent:var(--color-slate-400);--pipeline-stage-ink:var(--color-slate-700);--pipeline-stage-tint:var(--color-slate-50)}.pipeline-stage__header{align-items:flex-start;display:grid;grid-gap:8px;gap:8px;margin-bottom:8px}.pipeline-stage__header h3{color:var(--pipeline-stage-ink);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.pipeline-stage__header span{color:var(--color-slate-500);display:block;font-size:11px;font-weight:500;margin-top:4px}.pipeline-stage__header strong{color:var(--color-navy-700);font-size:11px;white-space:nowrap}.pipeline-stage__totals{display:grid;grid-gap:3px;gap:3px}.pipeline-stage__cards{display:grid;grid-gap:8px;gap:8px}.pipeline-stage__empty{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);color:var(--text-muted);font-size:11px;font-weight:400;line-height:1.35}.opportunity-card,.pipeline-stage__empty{background:var(--color-white);padding:12px}.opportunity-card{border:1px solid var(--border);border-left:3px solid var(--pipeline-stage-accent);border-radius:var(--radius-md);box-shadow:var(--shadow-xs)}.opportunity-card__title{color:var(--text-strong);font-size:12.5px;font-weight:600;line-height:1.3}.opportunity-card__contact,.opportunity-card__note{color:var(--color-slate-500);font-size:11px;font-weight:500;line-height:1.35;margin-top:5px}.product-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.product-badges span{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--radius-xs);color:var(--brand-600);font-size:10px;font-weight:500;padding:3px 7px}.opportunity-card__meta{border-top:1px solid var(--color-slate-100);display:grid;grid-gap:4px;gap:4px;margin-top:8px;padding-top:7px}.opportunity-card__meta--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-card__meta span{color:var(--color-navy-950);font-size:11px;font-weight:600}.opportunity-card__edit{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;margin-top:8px;min-height:28px;padding:0 12px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunity-card__edit:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.opportunity-card__warning,.opportunity-preview__notice{background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-sm);color:var(--warning-800);font-size:11px;font-weight:500;line-height:1.35;margin-top:8px;padding:8px 10px}.opportunities-workspace{align-items:start;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(360px,.4fr)}.opportunities-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.opportunities-table{border-collapse:collapse;min-width:1810px;table-layout:fixed;width:100%}.opportunities-table td,.opportunities-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.opportunities-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.opportunities-table tbody th{color:var(--text-strong);font-weight:600}.opportunities-table th:first-child{width:240px}.opportunities-table th:nth-child(2){width:180px}.opportunities-table th:nth-child(3){width:150px}.opportunities-table th:nth-child(4){width:110px}.opportunities-table th:nth-child(5){width:140px}.opportunities-table th:nth-child(6){width:220px}.opportunities-table th:nth-child(7){width:130px}.opportunities-table th.is-earnings,.opportunities-table th:nth-child(8){width:145px}.opportunities-table th:last-child{width:120px}.opportunities-table td.is-earnings,.opportunities-table td:nth-child(4),.opportunities-table td:nth-child(7),.opportunities-table td:nth-child(8),.opportunities-table th.is-earnings,.opportunities-table th:nth-child(4),.opportunities-table th:nth-child(7),.opportunities-table th:nth-child(8){text-align:right}.opportunities-table td.is-earnings,.opportunities-table td:last-child,.opportunities-table td:nth-child(3),.opportunities-table td:nth-child(4),.opportunities-table td:nth-child(5),.opportunities-table td:nth-child(7),.opportunities-table td:nth-child(8){white-space:nowrap}.opportunities-table tbody tr:last-child td,.opportunities-table tbody tr:last-child th{border-bottom:0}.opportunities-table tbody tr:hover td,.opportunities-table tbody tr:hover th{background:var(--surface-hover)}.opportunities-table__empty{color:var(--color-slate-500);padding:18px;text-align:center}.opportunities-table__edit{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;min-height:28px;padding:0 12px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-table__edit:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.appointments-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.appointments-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.appointments-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:720px}.appointment-filters,.appointments-calendar-card,.appointments-table-card,.appointments-view-toggle{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);max-width:100%;min-width:0}.appointment-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;padding:12px}.appointments-view-toggle{align-items:center;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:none;display:inline-flex;gap:2px;justify-self:start;padding:3px}.appointments-view-toggle__link{align-items:center;border-radius:var(--radius-xs);color:var(--text-muted);display:inline-flex;font-size:12.5px;font-weight:500;justify-content:center;min-height:28px;padding:0 14px;text-decoration:none;transition:var(--transition);white-space:nowrap}.appointments-view-toggle__link:hover{background:transparent;color:var(--text-strong)}.appointments-view-toggle__link--active{background:var(--surface);box-shadow:var(--shadow-xs);color:var(--text-strong);font-weight:600}.appointment-filters__control,.appointment-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.appointment-filters__search{color:var(--text-body);flex:1 1 300px}.appointment-filters__control{flex:0 1 168px}.appointment-filters__clear,.appointments-page__filter-button{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.appointments-page__filter-button{color:var(--text-body);cursor:pointer;font-family:inherit;transition:var(--transition)}.appointment-filters__clear:hover,.appointments-page__filter-button:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.appointments-calendar-card,.appointments-table-card{max-width:100%;min-width:0;overflow:hidden;padding:18px}.appointments-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.appointments-section__header>div{min-width:0}.appointments-section__header h2{color:var(--color-navy-950);font-size:15px;font-weight:600;letter-spacing:-.012em;line-height:1.2;margin:0}.appointments-section__header h2 span{color:var(--color-slate-500);font-size:13px;font-weight:600}.appointments-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.appointments-section__header--calendar{align-items:center}.appointments-calendar-nav{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.appointments-calendar-nav a{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:32px;padding:0 12px;text-decoration:none;transition:var(--transition);white-space:nowrap}.appointments-calendar-nav a:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.appointments-calendar-wrap{border:1px solid var(--border-subtle);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.appointments-calendar{display:grid;grid-template-columns:repeat(7,minmax(138px,1fr));min-width:966px}.appointments-calendar__weekday{background:var(--surface-subtle);border-bottom:1px solid var(--border-subtle);border-right:1px solid var(--border-subtle);color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;padding:10px 12px;text-transform:uppercase}.appointments-calendar__weekday:nth-child(7){border-right:0}.appointments-calendar__day{background:var(--color-white);border-bottom:1px solid var(--border-subtle);border-right:1px solid var(--border-subtle);min-height:142px;min-width:0;padding:10px}.appointments-calendar__day:nth-child(7n){border-right:0}.appointments-calendar__day--muted{background:var(--surface-subtle)}.appointments-calendar__day--muted .appointments-calendar__day-number{color:var(--text-faint);font-size:12px;font-weight:400}.appointments-calendar__day--today{box-shadow:inset 0 0 0 2px var(--brand-600)}.appointments-calendar__day-number{align-items:center;color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;height:24px;justify-content:center;margin-bottom:7px;min-width:24px}.appointments-calendar__day--today .appointments-calendar__day-number{background:var(--brand-700);border-radius:999px;color:#ffffff;font-size:12px;font-weight:600}.appointments-calendar__items{display:grid;grid-gap:6px;gap:6px}.appointments-calendar__item{align-items:baseline;background:var(--surface-subtle);border:1px solid var(--border);border-left:3px solid var(--brand-600);border-radius:var(--radius-sm);color:var(--text-body);display:flex;gap:6px;min-width:0;padding:4px 7px;text-decoration:none;transition:var(--transition)}.appointments-calendar__item:hover{background:var(--surface-muted);border-color:var(--border-strong)}.appointments-calendar__item--completed{border-left-color:var(--success-600)}.appointments-calendar__item--cancelled,.appointments-calendar__item--no_show{border-left-color:var(--danger-600)}.appointments-calendar__item-time{color:var(--brand-600);flex:0 0 auto;font-size:11px;font-weight:600;line-height:1.3}.appointments-calendar__item-name{color:var(--text-strong);font-size:11.5px;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointments-calendar__more{color:var(--brand-600);display:inline-block;font-size:11px;font-weight:600;padding:2px 4px;text-decoration:none}.appointments-calendar__more:hover{text-decoration:underline}.appointments-week{display:grid;grid-template-columns:repeat(7,minmax(170px,1fr));min-width:1190px}.appointments-week__day{background:var(--color-white);border-bottom:1px solid var(--border-subtle);border-right:1px solid var(--border-subtle);min-height:220px;min-width:0;padding:10px}.appointments-week__day:nth-child(7n){border-right:0}.appointments-week__day--today{box-shadow:inset 0 0 0 2px var(--brand-600)}.appointments-week__day-header{align-items:baseline;border-bottom:1px solid var(--border-subtle);display:flex;gap:6px;margin-bottom:8px;padding-bottom:6px}.appointments-week__weekday{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.appointments-week__day-number{color:var(--text-strong);font-size:14px;font-weight:600}.appointments-week__empty{color:var(--text-faint);font-size:11.5px;margin:0}.appointments-week__items{display:grid;grid-gap:6px;gap:6px}.appointments-week__item{background:var(--surface-subtle);border:1px solid var(--border);border-left:3px solid var(--brand-600);border-radius:var(--radius-sm);color:var(--text-body);display:grid;grid-gap:3px;gap:3px;min-width:0;padding:8px 9px;text-decoration:none;transition:var(--transition)}.appointments-week__item:hover{background:var(--surface-muted);border-color:var(--border-strong)}.appointments-week__item-time{color:var(--brand-600);font-size:11px;font-weight:600;line-height:1.2}.appointments-week__item strong{color:var(--text-strong);font-size:12.5px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.appointments-week__item span:not(.appointments-week__item-time){color:var(--color-slate-500);font-size:11px;line-height:1.3;overflow-wrap:anywhere}.appointments-week__item-meta{font-style:italic}.appointments-week__item .appointment-status{justify-self:start;min-height:20px;padding:0 7px}.appointments-table-wrap{border:1px solid var(--border-subtle);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.appointments-table{border-collapse:collapse;min-width:1600px;table-layout:fixed;width:100%}.appointments-table td,.appointments-table th{background:var(--color-white);border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.appointments-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.appointments-table tbody th{color:var(--text-strong);font-weight:600}.appointments-table th:first-child{width:180px}.appointments-table th:nth-child(2){width:220px}.appointments-table th:nth-child(3){width:150px}.appointments-table th:nth-child(4){width:140px}.appointments-table th:nth-child(5){width:130px}.appointments-table th:nth-child(6){width:220px}.appointments-table th:nth-child(7){width:170px}.appointments-table th:nth-child(8){width:260px}.appointments-table th:nth-child(9){width:130px}.appointments-table td:first-child,.appointments-table td:nth-child(4),.appointments-table td:nth-child(5),.appointments-table td:nth-child(9){white-space:nowrap}.appointments-table tbody tr:last-child td,.appointments-table tbody tr:last-child th{border-bottom:0}.appointments-table tbody tr:hover td,.appointments-table tbody tr:hover th{background:var(--surface-hover)}.appointments-table__contact{display:grid;grid-gap:4px;gap:4px}.appointments-table__actions{align-items:center;display:flex;flex-wrap:wrap;gap:7px}.appointments-table__contact strong{color:var(--color-navy-950);font-size:12px;line-height:1.25}.appointments-table__contact span{color:var(--color-slate-400);font-size:11px;line-height:1.25}.appointments-table__open{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:28px;padding:0 12px;text-decoration:none;transition:var(--transition);white-space:nowrap}.appointments-table__open:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.appointment-status,.appointment-type{align-items:center;display:inline-flex;justify-content:center;white-space:nowrap}.appointment-status,.appointment-type{border:1px solid var(--border-translucent);border-radius:var(--radius-xs);font-size:11px;font-weight:500;min-height:22px;padding:0 7px}.appointment-type{background:var(--brand-50);color:var(--info-700)}.appointment-status--scheduled{background:var(--success-50);color:var(--success-700)}.appointment-status--completed{background:var(--violet-50);color:var(--violet-700)}.appointment-status--cancelled{background:var(--surface-subtle);color:var(--color-slate-500)}.appointment-status--no_show{background:var(--danger-50);color:var(--danger-700)}.appointments-table__empty{color:var(--color-slate-500);padding:18px;text-align:center}.opportunities-modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:rgb(12 17 29/55%);display:flex;inset:0;justify-content:center;padding:32px 24px;position:fixed;z-index:60}.opportunities-modal{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-height:min(760px,calc(100vh - 48px));max-width:860px;overflow-y:auto;padding:24px;width:min(100%,860px)}.opportunities-modal__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding-bottom:16px}.opportunities-modal__header h2{color:var(--text-strong);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}.opportunities-modal__header p{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.opportunities-modal__cancel,.opportunities-modal__close{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;min-height:32px;padding:0 12px;text-decoration:none;transition:var(--transition);white-space:nowrap}.opportunities-modal__cancel:hover,.opportunities-modal__close:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.opportunities-modal__body,.opportunities-modal__form{display:grid;grid-gap:16px;gap:16px}.opportunities-form-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.opportunities-form-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.opportunities-modal__actions,.opportunities-modal__archive-form{align-items:center;display:flex;gap:10px;justify-content:flex-end}.opportunities-modal__convert-form{background:var(--surface-subtle);border:1px solid var(--color-slate-100);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;padding:12px}.opportunities-modal__convert-header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.opportunities-modal__convert-header h3{color:var(--color-navy-950);font-size:14px;font-weight:700;line-height:1.2;margin:0}.opportunities-modal__convert-header p,.opportunities-modal__convert-note{color:var(--color-slate-500);font-size:12px;line-height:1.4;margin:4px 0 0}.opportunities-modal__convert-note{background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-sm);color:var(--warning-800);font-weight:500;margin:0;padding:8px 10px}.opportunities-modal__convert-note--returned{background:var(--danger-50);border-color:var(--danger-200);color:var(--danger-800)}.opportunities-modal__convert-button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;transition:var(--transition);white-space:nowrap}.opportunities-modal__convert-button:hover{background:var(--brand-800);border-color:var(--brand-800)}.opportunities-modal__archive-form{border-top:1px solid var(--color-slate-100);padding-top:12px}.opportunities-modal__archive-button{align-items:center;background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;white-space:nowrap}.opportunities-modal__archive-button:hover{background:var(--danger-100);border-color:var(--danger-300)}.opportunities-modal__checkbox-control{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);display:inline-flex;min-height:38px;padding:0 12px}.opportunities-products-section{background:var(--surface-subtle);border:1px solid var(--color-slate-100);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;padding:18px}.opportunities-products-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;min-width:0}.opportunities-products-section__header h3{color:var(--color-navy-950);font-size:14px;font-weight:700;line-height:1.2;margin:0}.opportunities-products-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:4px 0 0}.opportunities-products-section__add{align-items:center;background:var(--color-white);border:1px solid var(--color-slate-200);border-radius:var(--radius-sm);color:var(--color-navy-950);cursor:pointer;display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;font-family:inherit;min-height:30px;padding:0 11px;text-decoration:none;white-space:nowrap}.opportunities-products-section__add:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.opportunities-product-row,.opportunities-products-section__rows{display:grid;grid-gap:8px;gap:8px;min-width:0}.opportunities-product-row{align-items:end;grid-template-columns:72px minmax(200px,1.35fr) minmax(120px,.7fr) minmax(120px,.7fr) auto}.opportunities-product-row__label{color:var(--color-slate-500);font-size:12px;font-weight:600;padding-bottom:10px}.opportunities-product-row__remove{align-items:center;background:var(--color-white);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 11px;white-space:nowrap}.opportunities-product-row__remove:hover{background:var(--danger-50);border-color:var(--danger-300)}.opportunities-modal__empty{background:var(--surface-subtle);border:1px solid var(--color-slate-100);border-radius:var(--radius-md);color:var(--color-slate-500);font-size:13px;line-height:1.45;margin:0;padding:12px}.opportunity-stage-badge{align-items:center;border:1px solid var(--border-translucent);border-radius:var(--radius-xs);display:inline-flex;font-size:11px;font-weight:500;min-height:22px;padding:0 7px;white-space:nowrap}.opportunity-stage-badge--underwriting,.opportunity-stage-badge--won{background:var(--color-emerald-soft);color:var(--success-700)}.opportunity-stage-badge--application-process{background:var(--brand-50);color:var(--color-navy-700)}.opportunity-stage-badge--no-show-for-payment,.opportunity-stage-badge--outstanding-documents{background:var(--warning-50);color:var(--warning-800)}.opportunity-stage-badge--lost{background:var(--color-slate-100);color:var(--color-slate-500)}.opportunity-preview{position:-webkit-sticky;position:sticky;top:24px}.opportunity-preview__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding-bottom:16px}.opportunity-preview__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}.opportunity-preview__header h2{font-size:16px;font-weight:600;letter-spacing:-.015em}.opportunity-preview__section{border-bottom:1px solid var(--border-subtle);padding:16px 0}.opportunity-preview__section h3{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.opportunity-preview__section p{color:var(--color-slate-700);font-size:13px;line-height:1.5;margin:0}.opportunity-preview__details{display:grid;grid-gap:8px;gap:8px;margin:0}.opportunity-preview__details div,.opportunity-products-list__item{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-sm);display:grid;grid-gap:4px;gap:4px;padding:9px 10px}.opportunity-preview__details dt{color:var(--text-muted);font-size:12px;font-weight:400}.opportunity-preview__details dd{color:var(--text-strong);font-size:12.5px;font-weight:500;margin:0;overflow-wrap:anywhere}.opportunity-products-list{display:grid;grid-gap:8px;gap:8px}.opportunity-products-list__item{align-items:center;display:flex;gap:10px;justify-content:space-between}.opportunity-products-list__item strong{color:var(--color-navy-950);display:block;font-size:12px;font-weight:600}.opportunity-products-list__item span{color:var(--color-slate-500);display:block;font-size:11px;font-weight:500;margin-top:3px}.opportunity-products-list__item b{color:var(--color-navy-700);font-size:12px;white-space:nowrap}.opportunity-preview__archive,.opportunity-preview__convert{box-shadow:var(--shadow-xs);margin-top:14px;transition:var(--transition);width:100%}.opportunity-preview__archive{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-faint);cursor:default;font:inherit;font-size:13px;font-weight:600;min-height:36px;padding:0 16px;white-space:nowrap}.opportunity-preview__archive+.opportunity-preview__archive,.opportunity-preview__convert+.opportunity-preview__archive{margin-top:8px}.policies-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.policies-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.policies-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:760px}.policies-page__add-button,.policies-section__button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:13px;font-weight:600;justify-content:center;min-height:38px;padding:0 16px;text-decoration:none;transition:var(--transition);white-space:nowrap}.policies-page__header .contacts-page__header-actions>*{min-height:38px}.policies-modal__primary:hover,.policies-page__add-button:hover,.policies-section__button:hover{background:var(--brand-800);border-color:var(--brand-800);box-shadow:var(--shadow-sm);color:var(--text-on-brand)}.policies-section__button{box-shadow:var(--shadow-xs);font-size:12px;line-height:34px;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition)}.policy-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.policies-table-card,.policy-filters,.policy-preview,.policy-status-section,.policy-summary__card{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);max-width:100%;min-width:0}.policy-summary__card{padding:16px}.policy-summary__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.policy-summary__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.policy-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;padding:12px}.policy-filters__control,.policy-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.policy-filters__search{color:var(--text-body);flex:1 1 300px}.policy-filters__control{flex:0 1 176px}.policies-page__filter-button,.policy-filters__clear{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.policies-page__filter-button{color:var(--text-body);cursor:pointer;font-family:inherit;transition:var(--transition)}.policies-page__filter-button:hover,.policy-filters__clear:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.policies-table-card,.policy-preview,.policy-status-section{padding:18px}.policies-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.policies-section__header>div{min-width:0}.policies-section__header h2,.policy-preview__header h2,.policy-preview__section h3{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.policies-section__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.policies-section__header h2 span{color:var(--color-slate-500);font-size:13px;font-weight:600}.policies-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.policy-status-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr))}.policy-status-card{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md);padding:11px}.policy-status-card__header{align-items:center;display:flex;gap:8px;justify-content:space-between}.policy-status-card__header strong{color:var(--color-navy-950);font-size:18px;font-weight:700}.policy-status-card__metrics{border-top:1px solid var(--color-slate-200);display:grid;grid-gap:4px;gap:4px;margin-top:10px;padding-top:9px}.policy-status-card__metrics span{color:var(--color-slate-700);font-size:12px;font-weight:600}.policies-workspace{align-items:start;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(360px,.4fr)}.policies-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.policies-table{border-collapse:collapse;min-width:1890px;table-layout:fixed;width:100%}.policies-table td,.policies-table th{background:var(--color-white);border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.policies-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.policies-table tbody th{color:var(--text-strong);font-weight:600}.policies-table td.is-earnings,.policies-table td:nth-child(6),.policies-table td:nth-child(7),.policies-table td:nth-child(8),.policies-table th.is-earnings,.policies-table th:nth-child(6),.policies-table th:nth-child(7),.policies-table th:nth-child(8){text-align:right}.policies-table th:first-child{width:240px}.policies-table th:nth-child(2){width:180px}.policies-table th:nth-child(3){width:140px}.policies-table th:nth-child(4){width:160px}.policies-table th:nth-child(5){width:220px}.policies-table th:nth-child(6){width:150px}.policies-table th:nth-child(7){width:130px}.policies-table th.is-earnings,.policies-table th:nth-child(8){width:145px}.policies-table th:nth-last-child(2),.policies-table th:nth-last-child(3){width:130px}.policies-table th:last-child{width:120px}.policies-table td.is-earnings,.policies-table td:last-child,.policies-table td:nth-child(3),.policies-table td:nth-child(6),.policies-table td:nth-child(7),.policies-table td:nth-child(8),.policies-table td:nth-last-child(2),.policies-table td:nth-last-child(3){white-space:nowrap}.policies-table__actions{align-items:center;display:flex;gap:8px}.policies-table__edit-link{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;min-height:28px;padding:0 11px;text-decoration:none;transition:var(--transition);white-space:nowrap}.policies-table__edit-link:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.policies-table tbody tr:last-child td,.policies-table tbody tr:last-child th{border-bottom:0}.policies-table tbody tr:hover td,.policies-table tbody tr:hover th{background:var(--surface-hover)}.policies-modal-backdrop{align-items:flex-start;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:rgb(12 17 29/55%);display:flex;inset:0;justify-content:center;overflow-y:auto;padding:32px 24px;position:fixed;z-index:50}.policies-modal{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-width:min(760px,100%);min-width:0;overflow:hidden;width:100%}.policies-modal__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding:18px 18px 16px}.policies-modal__header h2{color:var(--text-strong);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}.policies-modal__header p{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.policies-modal__cancel,.policies-modal__close{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.policies-modal__cancel:hover,.policies-modal__close:hover{background:var(--surface-subtle)}.policies-modal__body,.policies-modal__form{display:grid;grid-gap:16px;gap:16px;grid-template-columns:minmax(0,1fr);min-width:0}.policies-modal__body{padding:18px}.policies-form-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.policies-modal__summary{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.policies-modal__summary span{color:var(--color-slate-500);display:block;font-size:11px;font-weight:600;margin-bottom:4px;text-transform:uppercase}.policies-modal__summary strong{color:var(--color-navy-950);display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.policies-modal__empty,.policies-modal__hint{color:var(--color-slate-500);font-size:13px;line-height:1.45;margin:0}.policies-modal__error{background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-md);color:var(--danger-700);font-size:13px;font-weight:600;line-height:1.45;margin:0;padding:10px 12px}.policies-modal__actions{align-items:center;display:flex;gap:10px;justify-content:flex-end}.policies-modal__primary{min-width:128px}.policies-table__empty{color:var(--color-slate-500);padding:18px;text-align:center}.commission-status-badge,.lapse-risk-badge,.policy-status-badge{align-items:center;border:1px solid var(--border-translucent);border-radius:var(--radius-xs);display:inline-flex;font-size:11px;font-weight:500;min-height:22px;padding:0 7px;white-space:nowrap}.commission-status-badge--commission-generated,.lapse-risk-badge--low-risk,.policy-status-badge--active{background:var(--color-emerald-soft);color:var(--success-700)}.commission-status-badge--commission-pending,.lapse-risk-badge--medium-risk,.policy-status-badge--pending-issue{background:var(--brand-50);color:var(--color-navy-700)}.commission-status-badge--clawback-risk,.commission-status-badge--partially-paid,.lapse-risk-badge--high-risk,.lapse-risk-badge--lapse-watch,.policy-status-badge--lapse-watch{background:var(--warning-50);color:var(--warning-800)}.lapse-risk-badge--lapsed,.policy-status-badge--cancelled,.policy-status-badge--lapsed{background:var(--color-slate-100);color:var(--color-slate-500)}.policy-preview{padding:18px;position:-webkit-sticky;position:sticky;top:24px}.policy-preview__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding-bottom:16px}.policy-preview__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}.policy-preview__header h2{font-size:16px;font-weight:600;letter-spacing:-.015em}.policy-preview__section{border-bottom:1px solid var(--border-subtle);padding:16px 0}.policy-preview__section h3{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.policy-preview__section p{color:var(--color-slate-700);font-size:13px;line-height:1.5;margin:0}.policy-preview__details{display:grid;grid-gap:6px;gap:6px;margin:0}.policy-preview__details div{background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);display:flex;gap:10px;justify-content:space-between;padding:9px 11px}.policy-preview__details dt{color:var(--text-muted);font-size:12px;font-weight:400}.policy-preview__details dd{color:var(--text-strong);font-size:12.5px;font-weight:500;margin:0;overflow-wrap:anywhere;text-align:right}.policy-preview__archive{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-faint);cursor:default;font:inherit;font-size:13px;font-weight:600;margin-top:10px;min-height:36px;padding:0 16px;white-space:nowrap;width:100%}.commissions-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.commissions-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between;min-width:0}.commissions-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:760px}.commission-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.commission-filters,.commission-preview,.commission-status-section,.commission-summary__card,.commissions-table-card{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);max-width:100%;min-width:0}.commission-summary__card{padding:16px}.commission-summary__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.commission-summary__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.commission-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;padding:12px}.commission-filters__control,.commission-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.commission-filters__search{color:var(--text-body);flex:1 1 300px}.commission-filters__control{flex:0 1 176px}.commission-filters__clear,.commissions-page__filter-button{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.commissions-page__filter-button{color:var(--text-body);cursor:pointer;font-family:inherit;transition:var(--transition)}.commission-filters__clear:hover,.commissions-page__filter-button:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.commission-preview,.commission-status-section,.commissions-table-card{padding:18px}.commissions-table-card{max-width:100%;min-width:0;overflow:hidden}.commissions-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.commission-preview__header h2,.commission-preview__section h3,.commissions-section__header h2{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.commissions-section__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.commissions-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.commissions-section__button{background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;font:inherit;font-size:12px;font-weight:600;line-height:34px;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.commissions-section__button:hover{background:var(--brand-800);border-color:var(--brand-800);box-shadow:var(--shadow-sm);color:var(--text-on-brand)}.commissions-table__manage-link{color:var(--brand-700);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.commissions-table__manage-link:hover{text-decoration:underline}.commission-payments{border-top:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:12px;padding-top:16px}.commission-payments h3{color:var(--text-strong);font-size:14px;font-weight:600;margin:0}.commission-payments__form{align-items:flex-end;display:flex;flex-wrap:wrap;gap:12px}.commission-payments__form .field-label{flex:1 1 150px;min-width:0}.commission-payment--reversed{opacity:.55}.commission-payment--reversed td,.commission-payment--reversed th{text-decoration:line-through}.commission-payment__reversed-label{color:var(--text-faint);font-size:11.5px;text-decoration:none}.commission-payments__reverse-form{display:flex;flex-direction:column;gap:6px}.commission-payments__reason{min-width:0;width:100%}.commission-payments__danger,.commission-payments__reverse{background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:34px;padding:0 13px;transition:var(--transition);white-space:nowrap}.commission-payments__danger:hover,.commission-payments__reverse:hover{background:var(--danger-50);border-color:var(--danger-300)}.commission-status-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(7,minmax(0,1fr))}.commission-status-card{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md);padding:11px}.commission-status-card__header{align-items:center;display:flex;gap:8px;justify-content:space-between}.commission-status-card__header strong{color:var(--color-navy-950);font-size:18px;font-weight:700}.commission-status-card__metrics{border-top:1px solid var(--color-slate-200);display:grid;grid-gap:4px;gap:4px;margin-top:10px;padding-top:9px}.commission-status-card__metrics span{color:var(--color-slate-700);font-size:12px;font-weight:600}.commissions-workspace{align-items:start;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(360px,.4fr)}.commissions-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.commissions-table{min-width:1680px}.commission-payments-table,.commissions-table{border-collapse:collapse;table-layout:auto;width:100%}.commission-payments-table{min-width:0}.commission-payments-table td,.commission-payments-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;--cell-padding:9px 10px;padding:var(--cell-padding);text-align:left;vertical-align:top}.commission-payments-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.commission-payments-table tbody th{color:var(--text-strong);font-weight:600;white-space:nowrap}.commission-payments-table td:nth-child(2){text-align:right;white-space:nowrap}.commission-payments-table tbody tr:last-child td,.commission-payments-table tbody tr:last-child th{border-bottom:0}.commissions-table td,.commissions-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.commissions-table td:nth-child(10),.commissions-table td:nth-child(11),.commissions-table td:nth-child(12),.commissions-table td:nth-child(14),.commissions-table td:nth-child(5),.commissions-table td:nth-child(6),.commissions-table td:nth-child(7),.commissions-table td:nth-child(8),.commissions-table td:nth-child(9){white-space:nowrap}.commissions-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.commissions-table tbody th{color:var(--text-strong);font-weight:600}.commissions-table td:nth-child(10),.commissions-table td:nth-child(6),.commissions-table td:nth-child(7),.commissions-table td:nth-child(8),.commissions-table td:nth-child(9),.commissions-table th:nth-child(10),.commissions-table th:nth-child(6),.commissions-table th:nth-child(7),.commissions-table th:nth-child(8),.commissions-table th:nth-child(9){text-align:right}.commissions-table td:first-child,.commissions-table th:first-child{min-width:180px}.commissions-table td:nth-child(2),.commissions-table th:nth-child(2){min-width:230px}.commissions-table td:nth-child(3),.commissions-table th:nth-child(3){min-width:200px}.commissions-table td:nth-child(4),.commissions-table th:nth-child(4){min-width:155px}.commissions-table td:nth-child(5),.commissions-table th:nth-child(5){min-width:135px}.commissions-table td:nth-child(10),.commissions-table td:nth-child(6),.commissions-table td:nth-child(7),.commissions-table td:nth-child(8),.commissions-table td:nth-child(9),.commissions-table th:nth-child(10),.commissions-table th:nth-child(6),.commissions-table th:nth-child(7),.commissions-table th:nth-child(8),.commissions-table th:nth-child(9){min-width:120px}.commissions-table td:nth-child(11),.commissions-table td:nth-child(12),.commissions-table td:nth-child(14),.commissions-table th:nth-child(11),.commissions-table th:nth-child(12),.commissions-table th:nth-child(14){min-width:135px}.commissions-table td:nth-child(13),.commissions-table th:nth-child(13){min-width:140px}.commissions-table__empty{color:var(--color-slate-500);font-weight:600;padding:20px;text-align:center;white-space:normal}.commissions-table tbody tr:last-child td,.commissions-table tbody tr:last-child th{border-bottom:0}.commissions-table tbody tr:hover td,.commissions-table tbody tr:hover th{background:var(--surface-hover)}.clawback-risk-badge,.commission-page-status-badge{align-items:center;border:1px solid var(--border-translucent);border-radius:var(--radius-xs);display:inline-flex;font-size:11px;font-weight:500;min-height:22px;padding:0 7px;white-space:nowrap}.clawback-risk-badge--low-risk,.clawback-risk-badge--no-risk,.commission-page-status-badge--paid{background:var(--color-emerald-soft);color:var(--success-700)}.clawback-risk-badge--medium-risk,.commission-page-status-badge--pending,.commission-page-status-badge--projected,.commission-page-status-badge--submitted{background:var(--brand-50);color:var(--color-navy-700)}.clawback-risk-badge--clawback-risk,.clawback-risk-badge--high-risk,.commission-page-status-badge--clawback-risk,.commission-page-status-badge--partially-paid{background:var(--warning-50);color:var(--warning-800)}.clawback-risk-badge--clawed-back,.commission-page-status-badge--clawed-back{background:var(--color-slate-100);color:var(--color-slate-500)}.commission-preview{padding:18px;position:-webkit-sticky;position:sticky;top:24px}.commission-preview__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding-bottom:16px}.commission-preview__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}.commission-preview__header h2{font-size:16px;font-weight:600;letter-spacing:-.015em}.commission-preview__section{border-bottom:1px solid var(--border-subtle);padding:16px 0}.commission-preview__section h3{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.commission-preview__section p{color:var(--color-slate-700);font-size:13px;line-height:1.5;margin:0}.commission-preview__details{display:grid;grid-gap:6px;gap:6px;margin:0}.commission-preview__details div{background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);display:flex;gap:10px;justify-content:space-between;padding:9px 11px}.commission-preview__details dt{color:var(--text-muted);font-size:12px;font-weight:400}.commission-preview__details dd{color:var(--text-strong);font-size:12.5px;font-weight:500;margin:0;overflow-wrap:anywhere;text-align:right}.commission-preview__archive{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-faint);cursor:default;font:inherit;font-size:13px;font-weight:600;margin-top:10px;min-height:36px;padding:0 16px;white-space:nowrap;width:100%}.products-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.products-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between;min-width:0}.products-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:760px}.products-page__add-button,.products-section__button{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font:inherit;font-size:13px;font-weight:600;justify-content:center;min-height:38px;padding:0 16px;text-decoration:none;transition:var(--transition);white-space:nowrap}.products-page__add-button:hover,.products-section__button:hover{background:var(--brand-800);border-color:var(--brand-800);box-shadow:var(--shadow-sm);color:var(--text-on-brand)}.products-page__add-button:focus-visible,.products-section__button:focus-visible{outline:none;outline-offset:2px}.products-section__button{box-shadow:var(--shadow-xs);font-size:12px;min-height:34px;padding:0 13px;transition:var(--transition)}.products-modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:rgb(12 17 29/55%);display:flex;inset:0;justify-content:center;padding:32px 24px;position:fixed;z-index:80}.products-modal{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-height:min(760px,calc(100vh - 48px));max-width:880px;overflow:auto;padding:24px;width:min(100%,880px)}.products-modal__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding-bottom:16px}.products-modal__header h2{color:var(--text-strong);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}.products-modal__header p{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.products-modal__cancel,.products-modal__close{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.products-modal__cancel:hover,.products-modal__close:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.products-modal__body,.products-modal__form{display:grid;grid-gap:16px;gap:16px}.products-form-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.products-form-grid--compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content}.products-modal__status{display:flex;justify-content:flex-end}.products-modal__actions,.products-modal__archive-form{align-items:center;display:flex;gap:10px;justify-content:flex-end}.products-modal__archive-form{border-top:1px solid var(--color-slate-100);padding-top:12px}.product-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.product-category-section,.product-filters,.product-preview,.product-summary__card,.products-table-card{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);max-width:100%;min-width:0}.product-summary__card{padding:16px}.product-summary__label{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;line-height:1.3;text-transform:uppercase}.product-summary__value{color:var(--text-strong);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:10px}.product-filters{align-items:center;display:flex;flex-wrap:wrap;gap:10px;padding:12px}.product-filters__control,.product-filters__search{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-body);display:flex;font:inherit;font-size:13px;font-weight:400;min-height:38px;min-width:0;padding:0 13px;transition:var(--transition)}.product-filters__search{color:var(--text-body);flex:1 1 260px}.product-filters__control{flex:0 1 auto}.product-filters__clear{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;transition:var(--transition);white-space:nowrap}.product-filters__clear:hover{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-strong)}.product-category-section,.product-preview,.products-table-card{padding:18px}.products-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px;min-width:0}.products-section__header>div{min-width:0}.product-preview__header h2,.product-preview__section h3,.products-section__header h2{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.products-section__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.products-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.product-category-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}.product-category-card{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md);padding:11px}.product-category-card__header{align-items:center;display:flex;gap:8px;justify-content:space-between}.product-category-card__header strong{color:var(--color-navy-950);font-size:18px;font-weight:700}.product-category-card__metrics{border-top:1px solid var(--color-slate-200);display:grid;grid-gap:4px;gap:4px;margin-top:10px;padding-top:9px}.product-category-card__metrics span{color:var(--color-slate-700);font-size:12px;font-weight:600}.products-workspace{align-items:start;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(360px,.4fr)}.products-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;width:100%}.products-table{border-collapse:collapse;min-width:1330px;table-layout:fixed;width:100%}.products-table td,.products-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.products-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.products-table tbody th{color:var(--text-strong);font-weight:600}.products-table th:first-child{width:240px}.products-table th:nth-child(2){width:160px}.products-table th.is-earnings,.products-table th:nth-child(3){width:130px}.products-table th:nth-last-child(3){width:170px}.products-table th:nth-last-child(2){width:180px}.products-table th:last-child{width:320px}.products-table td.is-earnings,.products-table th.is-earnings{text-align:right}.products-table td.is-earnings,.products-table td:nth-child(2),.products-table td:nth-child(3){white-space:nowrap}.products-table td:last-child{white-space:normal}.products-table tbody tr:last-child td,.products-table tbody tr:last-child th{border-bottom:0}.products-table tbody tr:hover td,.products-table tbody tr:hover th{background:var(--surface-hover)}.products-table__edit-link{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:28px;min-width:58px;padding:0 10px;text-decoration:none;transition:var(--transition)}.products-table__edit-link:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.products-table__edit-link:focus-visible{outline:none;outline-offset:2px}.products-table__actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.commission-tier-badge,.product-category-badge,.product-status-badge{align-items:center;display:inline-flex;white-space:nowrap}.commission-tier-badge,.product-category-badge,.product-status-badge{border:1px solid var(--border-translucent);border-radius:var(--radius-xs);font-size:11px;font-weight:500;min-height:22px;padding:0 7px}.product-category-badge{background:var(--brand-50);color:var(--color-navy-700)}.commission-tier-badge--enhanced,.commission-tier-badge--preferred,.product-status-badge--active{background:var(--color-emerald-soft);color:var(--success-700)}.commission-tier-badge--standard,.product-status-badge--review{background:var(--warning-50);color:var(--warning-800)}.commission-tier-badge--renewal,.product-status-badge--inactive{background:var(--color-slate-100);color:var(--color-slate-500)}.product-preview{padding:18px;position:-webkit-sticky;position:sticky;top:24px}.product-preview__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding-bottom:16px}.product-preview__eyebrow{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:6px;text-transform:uppercase}.product-preview__header h2{font-size:16px;font-weight:600;letter-spacing:-.015em}.product-preview__section{border-bottom:1px solid var(--border-subtle);padding:16px 0}.product-preview__section h3{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.product-preview__section p{color:var(--color-slate-700);font-size:13px;line-height:1.5;margin:0}.product-preview__details{display:grid;grid-gap:5px;gap:5px;margin:0}.product-preview__details div{background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);display:grid;grid-gap:4px;gap:4px;padding:9px 11px}.product-preview__details dt{color:var(--text-muted);font-size:12px;font-weight:400}.product-preview__details dd{color:var(--text-strong);font-size:12.5px;font-weight:500;margin:0;overflow-wrap:anywhere}.product-preview__chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.product-preview__chips span{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text-body);font-size:11px;font-weight:500;padding:4px 8px}.product-preview__stack{display:grid;grid-gap:7px;gap:7px}.product-preview__subhead{color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:.08em;margin:9px 0 0;text-transform:uppercase}.product-preview__archive{background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;font:inherit;font-size:13px;font-weight:600;margin-top:10px;min-height:36px;padding:0 16px;transition:var(--transition);white-space:nowrap;width:100%}.product-preview__archive:hover{background:var(--danger-50);border-color:var(--danger-300);box-shadow:none;color:var(--danger-700)}.product-preview__archive:focus-visible{outline:2px solid var(--danger-600);outline-offset:2px}.settings-page{display:grid;grid-gap:20px;gap:20px}.settings-page__header{align-items:flex-end;display:flex;gap:16px;justify-content:space-between}.settings-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:760px}.settings-page__status{align-items:center;background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--warning-800);display:inline-flex;font-size:13px;font-weight:600;padding:9px 16px;white-space:nowrap}.settings-admin-layout{align-items:start;display:grid;grid-gap:14px;gap:14px;grid-template-columns:minmax(220px,260px) minmax(0,1fr)}.settings-nav{display:grid;grid-gap:18px;gap:18px;max-height:calc(100vh - var(--topbar-height) - 44px);overflow:visible;position:-webkit-sticky;position:sticky;top:24px}.settings-nav__group{display:grid;grid-gap:2px;gap:2px}.settings-nav__group-label{color:var(--text-faint);font-size:10.5px;font-weight:600;letter-spacing:.06em;margin-bottom:4px;padding:0 10px;text-transform:uppercase}.settings-nav__link{align-items:center;border-radius:var(--radius-sm);color:var(--text-body);display:flex;font-size:13px;font-weight:500;gap:8px;padding:8px 10px;position:relative;text-decoration:none;transition:var(--transition)}.settings-nav__link:hover{background:var(--surface-muted);color:var(--text-strong)}.settings-nav__link--active{background:var(--brand-50);color:var(--brand-800);font-weight:600}.settings-nav__link--active:before{background:var(--brand-600);border-radius:0 2px 2px 0;content:"";height:16px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:3px}.settings-nav__link[data-note]:after{background:var(--brand-950);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);color:#ffffff;content:attr(data-note);font-size:11.5px;font-weight:400;left:calc(100% + 8px);line-height:1.45;opacity:0;padding:7px 9px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .12s ease;white-space:normal;width:190px;z-index:30}.settings-nav__link:focus-visible:after,.settings-nav__link:hover:after{opacity:1}@media (max-width:860px){.settings-nav{max-height:none;position:static}.settings-nav__link[data-note]:after{content:none}}.settings-admin-panels,.settings-reference-stack{display:grid;grid-gap:9px;gap:9px}.settings-admin-panel{scroll-margin-top:92px}.audit-activity{display:grid;grid-gap:14px;gap:14px}.audit-activity__filters{align-items:end;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(3,minmax(150px,1fr));padding:12px}.audit-activity__filters>label{display:grid;grid-gap:5px;gap:5px;min-width:0}.audit-activity__filters>label>span{color:var(--color-slate-500);font-size:11px;font-weight:600}.audit-activity__date .date-time-picker__trigger,.audit-activity__filters .select-menu{background-color:var(--color-white);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);font:inherit;font-size:12px;min-height:38px;width:100%}.audit-activity__filters .select-menu{padding:0 8px 0 10px}.audit-activity__date .date-time-picker__trigger:focus-visible,.audit-activity__filters .select-menu--open,.audit-activity__filters .select-menu:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.audit-activity__filter-actions{align-items:center;display:flex;gap:8px;min-height:38px}.audit-activity__filter-actions a,.audit-activity__filter-actions button,.audit-activity__pagination a,.audit-activity__pagination div>span{align-items:center;border-radius:var(--radius-sm);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 11px;text-decoration:none}.audit-activity__filter-actions button{background:var(--brand-700);border:1px solid var(--brand-700);color:var(--text-on-brand);cursor:pointer}.audit-activity__filter-actions a,.audit-activity__pagination a{background:var(--color-white);border:1px solid var(--border-strong);color:var(--brand-800)}.audit-activity__empty{align-items:center;background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--text-muted);display:flex;flex-direction:column;font-size:12px;gap:5px;padding:34px 18px;text-align:center}.audit-activity__empty strong{color:var(--text-strong);font-size:13px}.audit-activity__timeline{display:grid;grid-gap:9px;gap:9px;position:relative}.audit-entry{display:grid;grid-gap:10px;gap:10px;grid-template-columns:12px minmax(0,1fr);position:relative}.audit-entry:not(:last-child):before{background:var(--color-slate-200);content:"";left:5px;position:absolute;top:18px;bottom:-13px;width:2px}.audit-entry__marker{background:var(--color-slate-400);border:3px solid var(--color-white);border-radius:50%;box-shadow:0 0 0 1px var(--color-slate-300);height:10px;margin-top:17px;position:relative;width:10px;z-index:1}.audit-entry__marker--created{background:var(--success-600);box-shadow:0 0 0 1px var(--success-200)}.audit-entry__marker--updated{background:var(--brand-600);box-shadow:0 0 0 1px var(--brand-100)}.audit-entry__marker--deleted{background:var(--danger-600);box-shadow:0 0 0 1px var(--danger-300)}.audit-entry__body{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;min-width:0;padding:12px 13px}.audit-entry__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.audit-entry__title-row{align-items:center;display:flex;flex-wrap:wrap;gap:7px}.audit-entry__title-row a,.audit-entry__title-row strong{color:var(--color-navy-950);font-size:13px;font-weight:650;text-decoration:none}.audit-entry__title-row a:hover{color:var(--brand-700);text-decoration:underline}.audit-entry__header p,.audit-entry__more,.audit-entry__summary{color:var(--text-muted);font-size:11.5px;line-height:1.45;margin:4px 0 0}.audit-entry__action,.audit-entry__entity{border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.02em;padding:3px 7px;white-space:nowrap}.audit-entry__action--created{background:var(--success-50);color:var(--success-800)}.audit-entry__action--updated{background:var(--brand-50);color:var(--brand-800)}.audit-entry__action--deleted{background:var(--danger-50);color:var(--danger-700)}.audit-entry__entity{background:var(--surface-muted);color:var(--color-slate-600)}.audit-entry__changes{display:grid;grid-gap:6px;gap:6px;margin:0}.audit-entry__changes>div{align-items:center;background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(130px,.35fr) minmax(0,1fr);padding:7px 9px}.audit-entry__changes dt{color:var(--color-slate-500);font-size:11px;font-weight:600}.audit-entry__changes dd{align-items:center;color:var(--text-muted);display:flex;font-size:11.5px;gap:8px;justify-content:flex-end;margin:0;min-width:0;text-align:right}.audit-entry__changes dd span,.audit-entry__changes dd strong{overflow-wrap:anywhere}.audit-entry__changes dd i{color:var(--color-slate-400);font-style:normal}.audit-entry__changes dd strong{color:var(--text-strong);font-weight:600}.audit-entry__more{margin:-3px 0 0}.audit-activity__pagination{align-items:center;border-top:1px solid var(--border-subtle);color:var(--text-muted);display:flex;font-size:11.5px;justify-content:space-between;padding-top:12px}.audit-activity__pagination>div{align-items:center;display:flex;gap:8px}.audit-activity__pagination b{color:var(--text-body);font-size:11.5px;font-weight:600}.audit-activity__pagination div>span{background:var(--surface-muted);border:1px solid var(--border-subtle);color:var(--color-slate-400)}@media (max-width:700px){.audit-activity__filters{grid-template-columns:1fr}.audit-activity__pagination,.audit-entry__header{align-items:flex-start;flex-direction:column}.audit-entry__changes>div{grid-template-columns:1fr}.audit-entry__changes dd{justify-content:flex-start;text-align:left}}.settings-overview,.settings-two-column{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-panel{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);min-width:0;padding:18px}.settings-profile-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-detail-card,.settings-reference-panel{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);min-width:0}.settings-detail-card{padding:16px}.settings-detail-card h3,.settings-reference-panel h3{color:var(--color-navy-950);font-size:13px;font-weight:600;line-height:1.2;margin:0 0 9px}.settings-workspace-access,.settings-workspace-invitations,.settings-workspace-members{display:grid;grid-gap:10px;gap:10px}.settings-access-copy,.settings-access-note{color:var(--color-slate-700);font-size:12px;line-height:1.5;margin:0}.settings-access-note{background:var(--warning-50);border:1px solid var(--warning-200);border-radius:var(--radius-md);color:var(--warning-800);font-weight:600;padding:10px 12px}.settings-access-note--info{background:var(--surface-subtle);border-color:var(--border);color:var(--color-slate-700)}.settings-access-note--success{background:var(--success-50);border-color:var(--success-200);color:var(--success-800)}.settings-invite-create-card{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-md);display:grid;grid-gap:14px;gap:14px;padding:16px}.settings-invite-create-card__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.settings-invite-create-card__header h3{color:var(--color-navy-950);font-size:13px;font-weight:600;line-height:1.2;margin:0}.settings-invite-create-card__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:4px 0 0}.settings-invite-form{align-items:end;display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(220px,1fr) auto auto}.settings-invite-field{display:grid;grid-gap:5px;gap:5px;min-width:0}.settings-invite-field span,.settings-invite-role-row span{color:var(--color-slate-500);font-size:11px;font-weight:600;line-height:1.2}.settings-invite-field .select-menu,.settings-invite-field input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-white);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);font:inherit;font-size:13px;min-height:38px;min-width:0;padding:0 12px;transition:var(--transition);width:100%}.settings-invite-field .select-menu{padding-right:9px}.settings-invite-field .select-menu--open,.settings-invite-field .select-menu:focus-visible,.settings-invite-field input:focus{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.settings-invite-role-row{align-items:center;display:grid;grid-gap:5px;gap:5px}.settings-invite-submit{align-items:center;background:var(--brand-700);border:1px solid var(--brand-700);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 14px;transition:var(--transition);white-space:nowrap}.settings-invite-submit:hover{background:var(--brand-800);border-color:var(--brand-800)}.settings-invite-success{background:var(--success-50);border:1px solid var(--success-200);border-radius:var(--radius-md);display:grid;grid-gap:10px;gap:10px;padding:11px}.settings-invite-success strong{color:var(--success-700);display:block;font-size:12px;font-weight:600;line-height:1.25}.settings-invite-success span{color:var(--success-800);display:block;font-size:12px;font-weight:500;line-height:1.4;margin-top:3px}.settings-invite-success dl{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.settings-invite-success dl div{background:var(--surface-glass-soft);border:1px solid var(--success-200);border-radius:var(--radius-sm);padding:7px 9px}.settings-invite-success dt{color:var(--success-700);font-size:11px;font-weight:600}.settings-invite-success dd{color:var(--success-800);font-size:12px;font-weight:600;margin:3px 0 0;overflow-wrap:anywhere}.settings-invite-link{background:var(--color-white);border:1px solid var(--success-200);border-radius:var(--radius-sm);color:var(--success-800);display:block;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45;overflow-x:auto;padding:9px;white-space:nowrap}.invite-share{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.invite-share__copy{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-height:34px;padding:0 13px;transition:var(--transition);white-space:nowrap}.invite-share__copy:hover{background:var(--surface-subtle);border-color:var(--text-faint)}.settings-access-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);overflow-x:auto}.settings-access-table{border-collapse:collapse;min-width:720px;table-layout:fixed;width:100%}.settings-access-table td,.settings-access-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle}.settings-access-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.settings-access-table tbody th{color:var(--text-strong);font-weight:600}.settings-access-table tbody tr:last-child td,.settings-access-table tbody tr:last-child th{border-bottom:0}.settings-access-table td:first-child,.settings-access-table th:first-child{width:31%}.settings-access-table td:nth-child(2),.settings-access-table th:nth-child(2){width:16%}.settings-access-table td:nth-child(3),.settings-access-table th:nth-child(3){width:53%}.settings-section__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:10px}.settings-config-card__header h3,.settings-section__header h2,.settings-team-card h3{color:var(--color-navy-950);font-weight:600;line-height:1.2;margin:0}.settings-section__header h2{font-size:15px;font-weight:600;letter-spacing:-.012em}.settings-config-card__header p,.settings-section__header p{color:var(--text-muted);font-size:12.5px;line-height:1.5;margin:5px 0 0}.settings-detail-list{display:grid;grid-gap:7px;gap:7px;margin:0}.settings-detail-list div{align-items:center;background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-sm);display:flex;gap:12px;justify-content:space-between;padding:7px 10px}.settings-detail-list dt{color:var(--color-slate-500);font-size:12px;font-weight:500}.settings-detail-list dd{color:var(--color-navy-950);font-size:12px;font-weight:600;margin:0;overflow-wrap:anywhere;text-align:right}.settings-team-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-config-card,.settings-rule-row,.settings-status-row{background:var(--surface-subtle);border:1px solid var(--color-slate-200);border-radius:var(--radius-md)}.settings-rule-row p{color:var(--color-slate-700);font-size:12px;line-height:1.45;margin:0}.settings-rule-list{display:grid;grid-gap:8px;gap:8px}.settings-rule-row{align-items:flex-start;display:grid;grid-gap:10px;gap:10px;grid-template-columns:auto minmax(0,1fr);padding:10px}.settings-config-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-config-card{min-width:0;padding:14px}.settings-config-card--wide{grid-column:1/-1}.settings-config-card__header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:9px}.settings-config-card__header h3{font-size:14px}.settings-config-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);overflow-x:auto}.settings-config-table{border-collapse:collapse;min-width:720px;table-layout:fixed;width:100%}.settings-config-table td,.settings-config-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow:hidden;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.settings-config-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.settings-config-table tbody th{color:var(--text-strong);font-weight:600}.settings-config-table td:first-child,.settings-config-table th:first-child{width:32%}.settings-config-table td:nth-child(2),.settings-config-table th:nth-child(2){width:16%}.settings-config-table td:nth-child(3),.settings-config-table th:nth-child(3){width:18%}.settings-config-table td:nth-child(4),.settings-config-table th:nth-child(4){width:34%}.settings-config-table tbody tr:last-child td,.settings-config-table tbody tr:last-child th{border-bottom:0}.settings-source-grid{display:grid;grid-gap:7px;gap:7px;grid-template-columns:repeat(5,minmax(0,1fr))}.settings-compact-config-item,.settings-source-row{align-items:center;background:var(--color-white);border:1px solid var(--color-slate-200);border-radius:var(--radius-sm);display:flex;gap:10px;justify-content:space-between;min-width:0;padding:8px 9px}.settings-assistant-agent{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:12px;justify-content:space-between;min-width:0;padding:10px 12px;transition:var(--transition)}.settings-assistant-agent:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.settings-assistant-agent:has(input:checked){background:var(--brand-50);border-color:var(--brand-100)}.settings-assistant-agent>span{display:grid;grid-gap:2px;gap:2px;min-width:0}.settings-assistant-agent strong{color:var(--text-strong);font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-assistant-agent span span{color:var(--text-muted);font-size:11px}.settings-assistant-agent input{flex:0 0 auto}.settings-compact-config-item strong,.settings-source-row strong{color:var(--color-navy-950);display:block;font-size:12px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-compact-config-item span,.settings-source-row span{color:var(--color-slate-500);display:block;font-size:11px;font-weight:500;margin-top:3px}.settings-compact-config-list{display:grid;grid-gap:7px;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-invitations-table-wrap,.settings-members-table-wrap,.settings-team-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);overflow-x:auto}.settings-team-table{min-width:760px}.settings-members-table,.settings-team-table{border-collapse:collapse;table-layout:fixed;width:100%}.settings-members-table--manageable{min-width:1040px}.settings-members-table--read-only{min-width:880px}.settings-invitations-table{border-collapse:collapse;min-width:1120px;table-layout:fixed;width:100%}.settings-invitations-table td,.settings-invitations-table th,.settings-members-table td,.settings-members-table th,.settings-team-table td,.settings-team-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle}.settings-invitations-table thead th,.settings-members-table thead th,.settings-team-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.settings-invitations-table tbody th,.settings-members-table tbody th,.settings-team-table tbody th{color:var(--text-strong);font-weight:600}.settings-members-table tbody th>span,.settings-team-table tbody th small,.settings-team-table tbody th span{display:block}.settings-team-table tbody th small{color:var(--color-slate-500);font-size:11px;font-weight:500;margin-top:3px}.settings-member-name{align-items:center;display:flex;flex-wrap:wrap;gap:6px;min-width:0}.settings-member-name>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-member-name .settings-badge{flex:0 0 auto}.settings-members-table__name-column{width:17%}.settings-members-table__email-column{width:22%}.settings-members-table__role-column{width:9%}.settings-members-table__status-column{width:13%}.settings-members-table__date-column{width:11%}.settings-members-table__actions-column,.settings-members-table__added-column{width:14%}.settings-invitations-table td:first-child,.settings-invitations-table th:first-child{width:21%}.settings-invitations-table td:nth-child(2),.settings-invitations-table td:nth-child(3),.settings-invitations-table th:nth-child(2),.settings-invitations-table th:nth-child(3){width:11%}.settings-invitations-table td:nth-child(4),.settings-invitations-table td:nth-child(5),.settings-invitations-table td:nth-child(6),.settings-invitations-table th:nth-child(4),.settings-invitations-table th:nth-child(5),.settings-invitations-table th:nth-child(6){width:12%}.settings-invitations-table td:nth-child(7),.settings-invitations-table th:nth-child(7){width:11%}.settings-invitations-table td:nth-child(8),.settings-invitations-table th:nth-child(8){width:18%}.settings-invitation-actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.settings-invitation-actions form{margin:0}.settings-invitation-action{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--brand-700);cursor:pointer;font:inherit;font-size:11px;font-weight:600;min-height:30px;padding:0 9px;transition:var(--transition);white-space:nowrap}.settings-invitation-action:hover{background:var(--brand-50);border-color:var(--brand-500)}.settings-invitation-action--danger{color:var(--danger-700)}.settings-invitation-action--danger:hover{background:var(--danger-50);border-color:var(--danger-200)}.settings-danger-zone{background:color-mix(in srgb,var(--danger-50) 58%,var(--surface));border:1px solid var(--danger-200);border-radius:var(--radius-md);display:grid;grid-gap:14px;gap:14px;margin-top:16px;padding:16px}.settings-danger-zone__heading,.settings-reset-confirmation__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.settings-danger-zone__eyebrow{color:var(--danger-700);display:block;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:4px;text-transform:uppercase}.settings-danger-zone h3,.settings-reset-confirmation h4{color:var(--text-strong);margin:0}.settings-danger-zone h3{font-size:15px}.settings-danger-zone p,.settings-reset-confirmation p{color:var(--text-muted);font-size:12px;line-height:1.5;margin:4px 0 0}.settings-danger-zone__total{background:var(--surface);border:1px solid var(--danger-200);border-radius:999px;color:var(--danger-700);flex:0 0 auto;font-size:11px;font-weight:700;padding:5px 9px}.settings-reset-counts{display:grid;grid-gap:7px;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-reset-counts>div{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);display:flex;gap:10px;justify-content:space-between;min-width:0;padding:8px 10px}.settings-reset-counts span{color:var(--text-muted);font-size:11px;min-width:0}.settings-reset-counts strong{color:var(--text-strong);font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.settings-danger-zone__external,.settings-danger-zone__preserved,.settings-reset-notice{border-radius:var(--radius-sm);font-size:11.5px;line-height:1.5;padding:9px 10px}.settings-danger-zone__preserved{background:var(--surface);border:1px solid var(--border);color:var(--text-body)}.settings-danger-zone__external{background:var(--warning-50);border:1px solid var(--warning-200);color:var(--warning-800)}.settings-reset-notice{margin:0!important}.settings-reset-notice--success{background:var(--success-50);border:1px solid var(--success-200);color:var(--success-700)!important}.settings-reset-notice--error{background:var(--danger-50);border:1px solid var(--danger-200);color:var(--danger-700)!important}.settings-danger-button,.settings-reset-cancel{border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:12px;font-weight:700;min-height:36px;padding:0 13px;transition:var(--transition);width:-moz-fit-content;width:fit-content}.settings-danger-button{background:var(--danger-700);border:1px solid var(--danger-700);color:var(--color-white)}.settings-danger-button:hover:not(:disabled){background:var(--danger-600);border-color:var(--danger-600)}.settings-danger-button:disabled{cursor:not-allowed;opacity:.45}.settings-reset-cancel{background:var(--surface);border:1px solid var(--border-strong);color:var(--text-body)}.settings-reset-cancel:hover{background:var(--surface-subtle)}.settings-danger-button:focus-visible,.settings-reset-cancel:focus-visible,.settings-reset-confirmation input:focus-visible{box-shadow:var(--ring);outline:none}.settings-reset-confirmation{background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-md);display:grid;grid-gap:12px;gap:12px;padding:14px}.settings-reset-confirmation h4{font-size:13px}.settings-reset-confirmation>label:not(.settings-reset-understanding){display:grid;grid-gap:5px;gap:5px}.settings-reset-confirmation label>span,.settings-reset-confirmation label>strong{color:var(--text-body);font-size:11.5px}.settings-reset-confirmation label>strong{color:var(--danger-700)}.settings-reset-confirmation input[type=text]{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-strong);font:inherit;font-size:13px;min-height:38px;padding:0 10px}.settings-reset-confirmation input[type=text]:focus{border-color:var(--danger-600)}.settings-reset-understanding{align-items:flex-start;cursor:pointer;display:flex;gap:8px}.settings-reset-understanding input{flex:0 0 auto;margin-top:2px}.settings-invitation-action:focus-visible{box-shadow:var(--ring);outline:none}.settings-invitation-actions__empty{color:var(--text-muted)}.settings-invitations-table tbody tr:last-child td,.settings-invitations-table tbody tr:last-child th,.settings-members-table tbody tr:last-child td,.settings-members-table tbody tr:last-child th,.settings-team-table tbody tr:last-child td,.settings-team-table tbody tr:last-child th{border-bottom:0}.settings-empty-state{background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--text-muted);font-size:12.5px;font-weight:400;line-height:1.45;margin:0;padding:16px;text-align:center}.settings-status-list{display:grid;grid-gap:8px;gap:8px}.settings-status-row{align-items:center;display:flex;gap:12px;justify-content:space-between;padding:10px}.settings-status-row strong{color:var(--color-navy-950);display:block;font-size:12px;font-weight:600}.settings-status-row span{color:var(--color-slate-500);display:block;font-size:12px;font-weight:500;margin-top:3px}.settings-badge{align-items:center;border:1px solid var(--border-translucent);border-radius:var(--radius-xs);display:inline-flex;font-size:11px;font-weight:500;min-height:22px;padding:0 7px;white-space:nowrap}.settings-badge--green{background:var(--color-emerald-soft);color:var(--success-700)}.settings-badge--navy{background:var(--brand-50);color:var(--color-navy-700)}.settings-badge--slate{background:var(--surface-muted);color:var(--text-muted)}@media (max-width:860px){:root{--sidebar-width:216px;--topbar-height:112px}.sidebar{padding:16px 12px}.sidebar__brand-text{font-size:14px}.topbar{align-items:center;gap:10px;grid-template-columns:1fr auto;grid-template-rows:auto auto;height:var(--topbar-height);padding:14px 16px}.topbar__search{grid-column:1/-1;grid-row:2}.topbar--with-view{grid-template-columns:1fr auto}.topbar--with-view .topbar__search{grid-column:1;grid-row:2}.topbar--with-view .agent-view{grid-column:2;grid-row:2;max-width:200px}.topbar--with-view .agent-view__label{display:none}.topbar--with-view .agent-view__menu{left:auto;right:0}.content{padding:16px}.dashboard__header{align-items:flex-start;flex-direction:column}.dashboard .performance-grid,.dashboard__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary-grid,.dashboard-two-column{grid-template-columns:1fr}.contacts-page__header{align-items:flex-start;flex-direction:column}.contacts-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.contacts-workspace{grid-template-columns:1fr}.contact-preview{position:static}.contacts-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunities-page__header{align-items:flex-start;flex-direction:column}.opportunities-view-toggle{justify-self:stretch}.opportunities-view-toggle__link{flex:1 1}.appointments-page__header{align-items:flex-start;flex-direction:column}.appointments-section__header--calendar{align-items:flex-start}.opportunity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-filters{grid-template-columns:1fr 1fr}.appointment-filters__search{grid-column:1/-1}.opportunity-filters{grid-template-columns:1fr 1fr}.opportunity-filters__search{grid-column:1/-1}.opportunities-workspace{grid-template-columns:1fr}.opportunities-products-section__header{flex-direction:column}.opportunities-product-row{grid-template-columns:1fr}.opportunities-product-row__label{padding-bottom:0}.opportunity-preview{position:static}.policies-page__header{align-items:flex-start;flex-direction:column}.policy-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.policy-filters{grid-template-columns:1fr 1fr}.policy-filters__search{grid-column:1/-1}.policies-workspace,.policy-status-grid{grid-template-columns:1fr}.policy-preview{position:static}.commissions-page__header{align-items:flex-start;flex-direction:column}.commission-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.commission-filters{grid-template-columns:1fr 1fr}.commission-filters__search{grid-column:1/-1}.commission-status-grid,.commissions-workspace{grid-template-columns:1fr}.commission-preview{position:static}.products-page__header{align-items:flex-start;flex-direction:column}.product-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.product-filters{grid-template-columns:1fr 1fr}.product-filters__search{grid-column:1/-1}.products-form-grid,.products-form-grid--compact{grid-template-columns:1fr 1fr}.product-category-grid,.products-workspace{grid-template-columns:1fr}.product-preview{position:static}.settings-page__header{align-items:flex-start;flex-direction:column}.settings-admin-layout,.settings-config-grid,.settings-invite-form,.settings-invite-success dl,.settings-overview,.settings-profile-grid,.settings-two-column{grid-template-columns:1fr}.settings-invite-submit{width:100%}.settings-compact-config-list,.settings-reset-counts,.settings-role-grid,.settings-rule-grid,.settings-source-grid,.settings-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-member-remove-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:640px){:root{--sidebar-width:100%;--topbar-height:112px}.app-shell{display:flex;flex-direction:column}.sidebar{bottom:auto;min-height:auto;position:relative;width:100%}.sidebar__brand{padding-bottom:12px}.sidebar__nav{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px}.sidebar__section{min-width:150px}.topbar{left:0;position:-webkit-sticky;position:sticky;top:0}.settings-reset-counts{grid-template-columns:1fr}.settings-danger-zone__heading,.settings-reset-confirmation__header{align-items:stretch;flex-direction:column}.settings-member-remove-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-member-remove-dialog{padding:16px}.topbar__profile{gap:7px;padding-left:12px}.topbar__profile-text{display:none}.content{height:auto;margin-left:0;margin-top:0;min-height:calc(100vh - var(--topbar-height))}.contacts-summary,.dashboard .performance-grid,.dashboard__kpis{grid-template-columns:1fr}.contacts-filters__clear,.contacts-filters__control,.contacts-filters__search,.contacts-page__filter-button{flex:1 1 100%}.contacts-table-card__header{align-items:stretch;flex-direction:column}.contacts-section__button{width:100%}.contacts-modal-backdrop{align-items:flex-start;padding:12px}.contacts-modal{max-height:calc(100vh - 24px);padding:14px}.contacts-appointments-section__header,.contacts-modal__actions,.contacts-modal__archive-form,.contacts-modal__header,.contacts-policies-section__header,.contacts-workflow-section{align-items:stretch;flex-direction:column}.contacts-appointment-item dl,.contacts-form-grid,.opportunity-filters,.opportunity-summary{grid-template-columns:1fr}.appointment-filters__clear,.appointment-filters__control,.appointment-filters__search,.appointments-page__filter-button{flex:1 1 100%}.appointments-section__header{align-items:stretch;flex-direction:column}.appointments-calendar-nav{justify-content:flex-start}.appointments-calendar-nav a{flex:1 1 90px}.appointments-view-toggle{justify-self:stretch}.appointments-view-toggle__link{flex:1 1}.opportunity-filters__search{grid-column:auto}.policy-filters,.policy-summary{grid-template-columns:1fr}.policy-filters__search{grid-column:auto}.commission-filters,.commission-summary{grid-template-columns:1fr}.commission-filters__search{grid-column:auto}.product-filters,.product-summary{grid-template-columns:1fr}.product-filters__search{grid-column:auto}.products-modal-backdrop{align-items:flex-start;padding:12px}.products-modal{max-height:calc(100vh - 24px);padding:14px}.products-modal__actions,.products-modal__archive-form,.products-modal__header{align-items:stretch;flex-direction:column}.products-form-grid,.products-form-grid--compact,.settings-compact-config-list,.settings-role-grid,.settings-rule-grid,.settings-source-grid,.settings-team-grid{grid-template-columns:1fr}.settings-compact-config-item,.settings-detail-list div,.settings-source-row,.settings-status-row,.settings-team-card{align-items:flex-start;flex-direction:column}.settings-detail-list dd{text-align:left}.settings-config-table-wrap{overflow-x:auto}.settings-config-table{min-width:620px}}.appointment-guests{border:1px solid var(--border);border-radius:var(--radius-md);margin:0;padding:12px 14px 14px}.appointment-guests__legend{color:var(--text-strong);font-size:12px;font-weight:600;padding:0 6px}.appointment-guests__hint{color:var(--text-muted);font-size:12px;line-height:1.5;margin:0 0 10px}.appointment-guests__list{display:grid;grid-gap:6px;gap:6px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.appointment-guests__option{align-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:8px;min-width:0;padding:7px 9px;transition:var(--transition)}.appointment-guests__option:hover{background:var(--surface-subtle);border-color:var(--border)}.appointment-guests__option:has(input:checked){background:var(--brand-50);border-color:var(--brand-100)}.appointment-guests__name{color:var(--text-body);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointment-guests__role{color:var(--text-faint);font-size:11px;margin-left:auto;white-space:nowrap}.notifications{position:relative}.notifications__trigger{align-items:center;background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;display:flex;height:34px;justify-content:center;list-style:none;position:relative;transition:var(--transition);width:34px}.notifications__trigger::-webkit-details-marker{display:none}.notifications[open] .notifications__trigger,.notifications__trigger:hover{background:var(--surface-subtle);border-color:var(--border);color:var(--text-strong)}.notifications__trigger:focus-visible{outline:2px solid var(--brand-navy);outline-offset:2px}.notifications__count{align-items:center;background:var(--warning-600);border:2px solid var(--surface);border-radius:999px;color:var(--color-white);display:flex;font-size:10px;font-weight:700;height:17px;justify-content:center;line-height:1;min-width:17px;padding:0 4px;position:absolute;right:-5px;top:-5px}.notifications__count--overdue{background:var(--danger-600)}.notifications__panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);display:grid;grid-gap:0;gap:0;max-width:calc(100vw - 32px);position:absolute;right:0;top:calc(100% + 10px);width:420px;z-index:60}.notifications__header{border-bottom:1px solid var(--border-subtle);display:grid;grid-gap:8px;gap:8px;padding:14px 16px}.notifications__header h2{color:var(--text-strong);font-size:14px;font-weight:650;margin:0}.notifications__scroll{max-height:min(60vh,520px);overflow-y:auto;padding:14px 16px}@media (max-width:720px){.notifications__panel{position:fixed;right:12px;top:62px;width:calc(100vw - 24px)}}.follow-ups__tallies{display:flex;flex-wrap:wrap;gap:6px}.follow-ups__tally{border-radius:var(--radius-pill);font-size:11.5px;font-weight:500;padding:3px 10px;white-space:nowrap}.follow-ups__tally strong{font-weight:700}.follow-ups__tally--overdue{background:var(--danger-50);border:1px solid var(--danger-200);color:var(--danger-700)}.follow-ups__tally--today{background:var(--brand-50);border:1px solid var(--brand-100);color:var(--brand-800)}.follow-ups__tally--upcoming{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted)}.follow-ups__tally--empty{background:var(--surface-subtle);border-color:var(--border-subtle);color:var(--text-faint)}.follow-ups__body{display:grid;grid-gap:16px;gap:16px;max-height:420px;overflow-y:auto;padding:16px 18px 18px}.follow-ups__group{display:grid;grid-gap:7px;gap:7px}.follow-ups__group-header{align-items:baseline;display:flex;flex-wrap:wrap;gap:8px}.follow-ups__group-header h3{color:var(--text-strong);font-size:11px;font-weight:700;letter-spacing:.06em;margin:0;text-transform:uppercase}.follow-ups__group-header span{color:var(--text-faint);font-size:11.5px}.follow-ups__empty{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.follow-ups__list{display:grid;grid-gap:6px;gap:6px}.follow-ups__item{align-items:center;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:inherit;display:flex;gap:12px;min-width:0;padding:9px 11px;text-decoration:none;transition:var(--transition)}.follow-ups__item:hover{background:var(--surface-subtle);border-color:var(--border)}.follow-ups__item--overdue{border-left:3px solid var(--danger-300)}.follow-ups__item--today{border-left:3px solid var(--brand-500)}.follow-ups__kind{border-radius:var(--radius-xs);flex:0 0 auto;font-size:10.5px;font-weight:600;letter-spacing:.03em;padding:3px 7px;text-align:center;text-transform:uppercase;width:92px}.follow-ups__kind--appointment{background:var(--brand-50);color:var(--brand-700)}.follow-ups__kind--contact{background:var(--violet-50);color:var(--violet-700)}.follow-ups__kind--opportunity{background:var(--warning-50);color:var(--warning-800)}.follow-ups__kind--commission{background:var(--success-50);color:var(--success-800)}.follow-ups__kind--birthday{background:var(--accent-50);color:var(--accent-700)}.follow-ups__kind--anniversary{background:var(--info-50);color:var(--info-700)}.follow-ups__kind--delivery{background:var(--danger-50);color:var(--danger-700)}.follow-ups__kind--task{background:var(--surface-muted);color:var(--text-body)}.follow-ups__kind--lead{background:var(--tint-a-wash);color:var(--tint-a-ink)}.follow-ups__kind--cover-renewal{background:var(--tint-d-wash);color:var(--tint-d-ink)}.follow-ups__text{display:flex;flex-direction:column;gap:2px;min-width:0}.follow-ups__title{color:var(--text-strong);font-size:13px;font-weight:500}.follow-ups__detail,.follow-ups__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.follow-ups__detail{color:var(--text-muted);font-size:11.5px}.follow-ups__when{color:var(--text-muted);flex:0 0 auto;font-size:12px;font-weight:500;margin-left:auto;white-space:nowrap}.follow-ups__item--overdue .follow-ups__when{color:var(--danger-700);font-weight:600}.follow-ups__link{align-items:center;color:inherit;display:flex;flex:1 1 auto;gap:12px;min-width:0;text-decoration:none}.follow-ups__done{align-items:center;display:flex;flex:0 0 auto;gap:6px}.follow-ups__again{align-items:center;color:var(--text-muted);display:flex;font-size:11px;gap:5px;white-space:nowrap}.follow-ups__again-input{width:132px}.follow-ups__again-input .date-time-picker__trigger{font-size:11px;min-height:28px;padding:0 7px}.follow-ups__again-input .date-time-picker__icon{height:14px;width:14px}.follow-ups__again-input .date-time-picker__chevron{display:none}.follow-ups__done-button{align-items:center;background:var(--success-50);border:1px solid var(--success-200);border-radius:var(--radius-sm);color:var(--success-700);cursor:pointer;display:inline-flex;font:inherit;font-size:11px;font-weight:600;justify-content:center;min-height:28px;padding:0 12px;transition:var(--transition);white-space:nowrap}.follow-ups__done-button:hover{border-color:var(--success-600);color:var(--success-800)}@media (max-width:640px){.follow-ups__kind{width:auto}.follow-ups__item{align-items:flex-start;flex-wrap:wrap}.follow-ups__link{flex:1 1 100%}.follow-ups__done{margin-left:auto}}.todo-page{display:grid;grid-gap:20px;gap:20px}.todo-page__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.todo-page__description{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0;max-width:68ch}.todo-page__add-button{align-items:center;background:var(--brand-800);border:1px solid var(--brand-800);border-radius:var(--radius-sm);color:var(--text-on-brand);cursor:pointer;display:inline-flex;font-size:13px;font-weight:600;justify-content:center;min-height:36px;padding:0 15px;text-decoration:none;transition:var(--transition);white-space:nowrap}.todo-page__add-button:hover{background:var(--brand-900)}.todo-page__error{background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);font-size:13px;margin:0;padding:10px 14px}.todo-empty{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px 24px;text-align:center}.todo-empty h2{color:var(--text-strong);font-size:15px;font-weight:600;margin:0 0 6px}.todo-empty p{color:var(--text-muted);font-size:13px;margin:0 auto;max-width:52ch}.todo-group{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.todo-group__header{align-items:baseline;border-bottom:1px solid var(--border-subtle);display:flex;flex-wrap:wrap;gap:4px 12px;padding:14px 18px}.todo-group__header h2{color:var(--text-strong);font-size:14px;font-weight:600;margin:0}.todo-group__header span{color:var(--text-muted);font-size:12px}.todo-group__count{background:var(--surface-muted);border-radius:999px;color:var(--text-muted);font-size:11px;font-weight:600;margin-left:6px;padding:1px 8px}.todo-group--overdue{border-left:3px solid var(--danger-300)}.todo-group--today{border-left:3px solid var(--warning-300)}.todo-group--done{opacity:.75}.todo-list{list-style:none;margin:0;padding:0}.todo-item{align-items:center;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;padding:11px 18px}.todo-item:last-child{border-bottom:none}.todo-item:hover{background:var(--surface-hover)}.todo-item__tick{display:flex;flex-shrink:0}.todo-item__tick-button{align-items:center;background:var(--surface);border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--success-700);cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;height:20px;justify-content:center;line-height:1;padding:0;transition:var(--transition);width:20px}.todo-item__tick-button:hover{border-color:var(--success-600)}.todo-item--done .todo-item__tick-button{background:var(--success-50);border-color:var(--success-600)}.todo-item__body{display:flex;flex:1 1;flex-direction:column;gap:2px;min-width:0;text-decoration:none}.todo-item__title{color:var(--text-strong);font-size:13px;font-weight:500}.todo-item--done .todo-item__title{color:var(--text-muted);text-decoration:line-through}.todo-item__notes{color:var(--text-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-item__meta{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:6px 10px;justify-content:flex-end}.todo-item__contact{background:var(--brand-50);border-radius:999px;color:var(--brand-700);font-size:11px;font-weight:600;padding:2px 9px;text-decoration:none}.todo-item__contact:hover{background:var(--brand-100)}.todo-item__owner{color:var(--text-muted);font-size:11px}.todo-item__due{color:var(--text-muted);font-size:12px;min-width:84px;text-align:right}.todo-item__due--overdue{color:var(--danger-700);font-weight:600}.todo-item__due--today{color:var(--warning-800);font-weight:600}.todo-modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:rgb(12 17 29/55%);display:flex;inset:0;justify-content:center;padding:32px 24px;position:fixed;z-index:80}.todo-modal{background:var(--color-white);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-height:min(760px,calc(100vh - 48px));max-width:640px;overflow:auto;padding:24px;width:min(100%,640px)}.todo-modal__header{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding-bottom:16px}.todo-modal__header h2{color:var(--text-strong);font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}.todo-modal__header p{color:var(--text-muted);font-size:13px;line-height:1.55;margin:6px 0 0}.todo-modal__cancel,.todo-modal__close{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);display:inline-flex;font-size:12px;font-weight:600;justify-content:center;min-height:34px;padding:0 13px;text-decoration:none;white-space:nowrap}.todo-modal__cancel:hover,.todo-modal__close:hover{background:var(--surface-subtle);color:var(--text-strong)}.todo-form,.todo-modal__body{display:grid;grid-gap:16px;gap:16px}.todo-form__grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.todo-form__actions{display:flex;gap:10px;justify-content:flex-end}.todo-modal__archive{border-top:1px solid var(--border-subtle);margin-top:16px;padding-top:16px}.todo-modal__archive-button{background:var(--surface);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);cursor:pointer;font-size:12px;font-weight:600;min-height:34px;padding:0 13px}.todo-modal__archive-button:hover{background:var(--danger-50)}.field-hint{color:var(--text-muted);font-size:11px;font-weight:400;line-height:1.45}@media (max-width:720px){.todo-form__grid{grid-template-columns:minmax(0,1fr)}.todo-item{align-items:flex-start;flex-wrap:wrap}.todo-item__meta{justify-content:flex-start;padding-left:32px;width:100%}.todo-item__due{min-width:0;text-align:left}}.contacts-tasks-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);display:grid;grid-gap:12px;gap:12px;padding:16px 18px}.contacts-tasks-section__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.contacts-tasks-section__header h3{color:var(--text-strong);font-size:14px;font-weight:600;margin:0}.contacts-tasks-section__header p{color:var(--text-muted);font-size:12px;margin:4px 0 0}.contacts-tasks-section__empty{color:var(--text-muted);font-size:12px;margin:0}.contact-tasks{border-top:1px solid var(--border-subtle);list-style:none;margin:0;padding:0}.contact-tasks__item{align-items:center;border-bottom:1px solid var(--border-subtle);display:flex;gap:10px;padding:9px 0}.contact-tasks__item:last-child{border-bottom:none}.contact-tasks__tick{display:flex;flex-shrink:0}.contact-tasks__body{display:flex;flex:1 1;flex-direction:column;gap:1px;min-width:0;text-decoration:none}.contact-tasks__title{color:var(--text-strong);font-size:13px;font-weight:500}.contact-tasks__owner{color:var(--text-muted);font-size:11px}.contact-tasks__due{color:var(--text-muted);flex-shrink:0;font-size:12px}.contact-tasks__due--overdue{color:var(--danger-700);font-weight:600}.contact-tasks__due--today{color:var(--warning-800);font-weight:600}:root{--action-height:38px;--action-font:13px;--action-padding:0 16px;--chip-height:34px;--chip-font:12px;--chip-padding:0 13px}.appointment-filters__clear,.appointments-page__filter-button,.bulk-actions__button,.commission-filters__clear,.commissions-page__filter-button,.contacts-filters__clear,.contacts-modal__cancel,.contacts-page__add-button,.contacts-page__filter-button,.opportunities-modal__cancel,.opportunities-page__add-button,.opportunities-page__filter-button,.opportunity-filters__clear,.opportunity-preview__convert,.policies-modal__cancel,.policies-page__add-button,.policies-page__filter-button,.policy-filters__clear,.product-filters__clear,.products-modal__cancel,.products-page__add-button,.todo-modal__cancel,.todo-page__add-button{font-size:var(--action-font);min-height:var(--action-height);padding:var(--action-padding)}.commissions-section__button,.contacts-modal__archive-button,.contacts-modal__close,.contacts-section__button,.contacts-workflow-section__button,.opportunities-modal__archive-button,.opportunities-modal__close,.opportunities-modal__convert-button,.opportunities-products-section__add,.opportunities-section__button,.policies-modal__close,.policies-section__button,.products-modal__close,.products-section__button,.todo-modal__archive-button,.todo-modal__close{font-size:var(--chip-font);min-height:var(--chip-height);padding:var(--chip-padding)}.form-section{border:0;margin:0;min-inline-size:0;padding:0}.form-section__body{display:grid;grid-gap:12px;gap:12px;margin-top:12px}.form-section__title{align-items:center;color:var(--text-faint);display:flex;font-size:10px;font-weight:700;gap:10px;letter-spacing:.08em;margin:0;padding:0;text-transform:uppercase;width:100%}.form-section__title:after{background:var(--border-subtle);content:"";flex:1 1;height:1px}.contacts-modal__form,.opportunities-modal__form,.policies-modal__form{gap:24px}.contacts-modal__form .contacts-form-grid,.form-section .contacts-form-grid{gap:12px}.commissions-table td,.contacts-policies-table td,.contacts-table td,.field-input[type=number],.field-input[type=tel],.opportunities-table td,.policies-table td,.products-table td{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.contact-documents,.contacts-appointments-section,.contacts-files-section,.contacts-policies-section,.contacts-tasks-section,.contacts-workflow-section{background:transparent;border:1px solid var(--border);border-radius:var(--radius-lg);padding:18px}.contact-documents h3,.contacts-appointments-section h3,.contacts-files-section h3,.contacts-policies-section h3,.contacts-tasks-section h3,.contacts-workflow-section h3{color:var(--text-strong);font-size:14px;font-weight:700;margin:0}.contacts-appointments-section>div>div>p,.contacts-files-section__header p,.contacts-policies-section__header p,.contacts-tasks-section__header p,.contacts-workflow-section p{color:var(--text-muted);font-size:12px;line-height:1.5;margin:4px 0 0}.contact-file-upload{display:grid;grid-gap:8px;gap:8px}.contact-file-upload__button{cursor:pointer;justify-self:start}.contact-file-upload__input{height:0;opacity:0;position:absolute;width:0}.contact-file-upload__button:focus-within,.contact-file-upload__input:focus-visible+*{outline:2px solid var(--brand-500);outline-offset:2px}.contact-file-upload__status{color:var(--text-muted);font-size:12px;line-height:1.5;margin:0;max-width:68ch}.contact-file-upload__status--error{color:var(--danger-700);font-weight:600}.contact-file-upload__status--done{color:var(--success-700);font-weight:600}.contact-files{border-top:1px solid var(--border-subtle);list-style:none;margin:4px 0 0;padding:0}.contact-files__item{align-items:baseline;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;padding:9px 0}.contact-files__item:last-child{border-bottom:none}.contact-files__name{color:var(--text-strong);font-size:13px;font-weight:500;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.contact-files__name:hover{color:var(--brand-700);text-decoration:underline}.contact-files__meta{color:var(--text-muted);flex-shrink:0;font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.contact-documents__header{align-items:center;display:flex;gap:16px;justify-content:space-between}.contact-documents__heading{align-items:center;display:flex;flex-wrap:wrap;gap:8px 10px;min-width:0}.contact-documents__header-actions{align-items:center;display:flex;flex-shrink:0;gap:6px}.contact-documents__header-actions form{display:contents}.contact-documents__action,.contact-file-upload__button--icon{align-items:center;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--brand-700);cursor:pointer;display:inline-flex;height:32px;justify-content:center;padding:0;text-decoration:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease;width:32px}.contact-documents__action:hover,.contact-file-upload__button--icon:hover{background:var(--brand-50);border-color:var(--brand-500);color:var(--brand-800)}.contact-documents__action:focus-visible,.contact-file-upload__button--icon:focus-within{outline:2px solid var(--brand-500);outline-offset:2px}.contact-documents__action svg,.contact-file-upload__button--icon svg{height:17px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:17px}.contact-documents__action--disabled{color:var(--text-faint);cursor:not-allowed;opacity:.65}.contact-file-upload__visually-hidden{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.contact-documents__item{border-bottom:1px solid var(--border-subtle);display:block;padding:8px 0}.contact-documents__item:last-child{border-bottom:none}.contact-documents__row{align-items:center;display:grid;grid-gap:8px 12px;gap:8px 12px;grid-template-columns:minmax(0,1fr) auto 32px;min-height:32px;padding:0 8px;width:100%}.contact-documents__row .contact-documents__label{margin-right:0;min-width:0}.contact-documents__row-name{align-items:center;display:flex;gap:8px;min-width:0}.contact-documents__received-toggle{background:var(--surface-muted);border:1px solid var(--border);border-radius:999px;color:var(--text-muted);cursor:pointer;font-size:11px;font-weight:600;padding:2px 10px;transition:var(--transition);white-space:nowrap}.contact-documents__received-toggle:hover{border-color:var(--text-faint)}.contact-documents__received-toggle--done{background:var(--success-50);border-color:transparent;color:var(--success-700)}.contact-documents__received-toggle:disabled{cursor:default;opacity:.6}.contact-documents__row-meta{align-items:center;display:flex;flex-wrap:wrap;gap:6px 8px;justify-content:flex-end}.contact-documents__row .contact-documents__meta{margin-left:0;white-space:nowrap}.contact-documents__row-action{align-items:center;display:flex;flex-shrink:0;justify-content:flex-end;min-height:32px;position:relative;width:32px}.contact-documents__count{background:var(--surface-muted);border-radius:999px;color:var(--text-muted);font-size:11px;font-weight:600;padding:1px 8px}.contact-documents__row .contact-file-upload{gap:4px;position:relative}.contact-documents__row .contact-file-upload__button{min-height:32px}.contact-documents__row .contact-file-upload__status{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);font-size:11px;padding:7px 9px;position:absolute;right:0;top:38px;width:240px;z-index:5}.contact-documents__files{display:grid;grid-gap:2px;gap:2px;list-style:none;margin:6px 0 0;padding:0 0 0 26px}.contact-documents__file{align-items:baseline;display:flex;flex-wrap:wrap;gap:4px 10px}.contact-documents__file-name{color:var(--brand-700);font-size:12px;text-decoration:none}a.contact-documents__file-name:hover{text-decoration:underline}.contact-documents__file-meta{color:var(--text-muted);font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.contact-documents__file--deleted .contact-documents__file-name{color:var(--text-faint);text-decoration:line-through}.contact-documents__file--deleted .contact-documents__file-meta{color:var(--text-faint);font-style:italic}.contact-documents__file-warning{background:var(--warning-50);border-radius:999px;color:var(--warning-800);font-size:10px;font-weight:600;padding:1px 7px}.contact-documents__file-delete{background:none;border:none;color:var(--text-faint);cursor:pointer;font-size:11px;padding:0;text-decoration:underline}.contact-documents__file-delete:hover:not(:disabled){color:var(--danger-700)}.contact-documents__file-delete:disabled{cursor:default;opacity:.5}.contact-documents__loose{border-top:1px solid var(--border-subtle);margin-top:10px;padding-top:10px}.contact-documents__loose h4{color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:.06em;margin:0 0 6px;text-transform:uppercase}.contact-documents__loose .contact-documents__files{padding-left:0}@media (max-width:680px){.contact-documents__header{align-items:flex-start}.contact-documents__row{align-items:start;grid-template-columns:minmax(0,1fr) 32px}.contact-documents__row-meta{grid-column:1;justify-content:flex-start}.contact-documents__row-action{align-items:flex-start;grid-column:2;grid-row:1/span 2}}.goals-page{display:grid;grid-gap:18px;gap:18px}.goals-header{align-items:flex-end;display:flex;justify-content:space-between}.goals-header p,.goals-panel__header p,.goals-visibility p{color:var(--text-muted);font-size:13px;margin:5px 0 0}.goals-header__period{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:999px;color:var(--brand-700);font-size:12px;font-weight:700;padding:7px 12px}.goals-notice{border:1px solid;border-radius:var(--radius-md);font-size:13px;padding:11px 13px}.goals-notice--success{background:var(--success-50);border-color:var(--success-200);color:var(--success-800)}.goals-notice--error{background:var(--danger-50);border-color:var(--danger-200);color:var(--danger-700)}.goals-filters{align-items:flex-end;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);display:flex;flex-wrap:wrap;gap:10px;padding:12px}.goals-editor__footer label,.goals-filters label{display:grid;grid-gap:5px;gap:5px}.goals-editor__footer label>span,.goals-filters label>span{color:var(--text-muted);font-size:11px;font-weight:700}.goals-editor .select-menu,.goals-editor input,.goals-filters .select-menu{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:none;color:var(--text-strong);font:inherit;font-size:13px;min-height:38px;padding:0 8px 0 10px}.goals-button{border:1px solid transparent;border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:12px;font-weight:700;min-height:38px;padding:0 14px}.goals-button--primary{background:var(--brand-700);color:var(--text-on-brand)}.goals-button--primary:hover{background:var(--brand-800)}.goals-button--secondary{background:var(--surface);border-color:var(--border);color:var(--text-body)}.goals-button--secondary:hover{background:var(--surface-hover);border-color:var(--border-strong)}.goals-progress-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.goal-progress-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);min-width:0;padding:15px}.goal-progress-card__heading{align-items:center;display:flex;gap:10px;justify-content:space-between}.goal-progress-card__heading>span{color:var(--text-body);font-size:12px;font-weight:700}.goal-progress-card__heading>strong{background:var(--surface-muted);border-radius:999px;color:var(--text-muted);font-size:11px;padding:3px 8px;white-space:nowrap}.goal-progress-card--complete .goal-progress-card__heading>strong,.goal-progress-card--on-track .goal-progress-card__heading>strong{background:var(--success-50);color:var(--success-800)}.goal-progress-card--behind .goal-progress-card__heading>strong{background:var(--warning-50);color:var(--warning-800)}.goal-progress-card__actual{color:var(--text-strong);font-size:clamp(22px,2.1vw,30px);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:750;letter-spacing:-.035em;margin-top:12px}.goal-progress-card__target{color:var(--text-muted);font-size:11px;margin-top:2px}.goal-progress-card__track{background:var(--surface-muted);border-radius:999px;height:6px;margin:13px 0;overflow:hidden}.goal-progress-card__track span{background:var(--brand-600);border-radius:inherit;display:block;height:100%}.goal-progress-card--complete .goal-progress-card__track span,.goal-progress-card--on-track .goal-progress-card__track span{background:var(--success-600)}.goal-progress-card--behind .goal-progress-card__track span{background:var(--warning-600)}.goal-progress-card__details{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.goal-progress-card__details div{display:grid;grid-gap:2px;gap:2px}.goal-progress-card__details dt,.goal-progress-card__pipeline span{color:var(--text-faint);font-size:10px;font-weight:700;text-transform:uppercase}.goal-progress-card__details dd{color:var(--text-body);font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700;margin:0}.goal-progress-card__pipeline{align-items:center;border-top:1px solid var(--border-subtle);display:flex;gap:10px;justify-content:space-between;margin-top:12px;padding-top:11px}.goal-progress-card__pipeline strong{color:var(--brand-700);font-size:12px}.goals-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:16px}.goals-panel__header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.goals-panel h2,.goals-visibility h2{color:var(--text-strong);font-size:15px;margin:0}.goals-chart-legend{align-items:center;color:var(--text-muted);display:flex;font-size:11px;gap:12px}.goals-chart-legend span{align-items:center;display:flex;gap:5px}.goals-chart-legend i{border-radius:2px;height:8px;width:8px}.goals-chart-legend__actual{background:var(--brand-600)}.goals-chart-legend__target{background:var(--brand-100);border:1px solid var(--brand-500)}.goals-chart{align-items:stretch;border-bottom:1px solid var(--border);display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(12,minmax(24px,1fr));height:210px;margin-top:18px;padding:0 4px}.goals-chart__month{align-items:center;color:var(--text-faint);display:grid;font-size:10px;grid-gap:7px;gap:7px;grid-template-rows:1fr auto;justify-items:center;min-width:0}.goals-chart__bars{align-items:flex-end;display:flex;gap:3px;height:100%;justify-content:center;width:100%}.goals-chart__bar{border-radius:4px 4px 1px 1px;display:block;max-width:18px;min-height:0;width:38%}.goals-chart__bar--actual{background:var(--brand-600)}.goals-chart__bar--target{background:var(--brand-100);border:1px solid var(--brand-500)}.goals-allocation{align-items:flex-end;display:grid;grid-gap:2px;gap:2px;text-align:right}.goals-allocation span{color:var(--text-muted);font-size:11px}.goals-allocation strong{color:var(--brand-700);font-size:12px}.goals-table-wrap{margin-top:14px;overflow-x:auto}.goals-table{border-collapse:collapse;font-size:12px;width:100%}.goals-table td,.goals-table th{border-top:1px solid var(--border-subtle);color:var(--text-body);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;--cell-padding:10px 12px;padding:var(--cell-padding);text-align:right}.goals-table thead th{border-top:0;color:var(--text-muted);font-size:10px;text-transform:uppercase}.goals-table th:first-child{text-align:left}.goals-table tbody th small,.goals-table tbody th span{display:block}.goals-table tbody th small{color:var(--text-faint);font-size:10px;font-weight:500;margin-top:2px}.goals-admin-grid{align-items:start;display:grid;grid-gap:12px;gap:12px;grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.goals-editor{padding:0}.goals-editor>summary{align-items:center;cursor:pointer;display:flex;justify-content:space-between;list-style:none;padding:16px}.goals-editor>summary::-webkit-details-marker{display:none}.goals-editor>summary span:first-child{display:grid;grid-gap:4px;gap:4px}.goals-editor>summary strong{color:var(--text-strong);font-size:15px}.goals-editor>summary small,.goals-editor__fields label>small,.goals-editor__note,.goals-toggle-row small{color:var(--text-muted);font-size:11px}.goals-editor__summary-action{color:var(--brand-700);font-size:12px;font-weight:700}.goals-editor__form{border-top:1px solid var(--border-subtle);padding:16px}.goals-editor__fields{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.goals-editor__fields label{display:grid;grid-gap:3px;gap:3px}.goals-editor__fields label>span{color:var(--text-body);font-size:12px;font-weight:700}.goals-editor__input-wrap{align-items:center;display:flex;margin-top:4px;position:relative}.goals-editor__input-wrap>span{color:var(--text-muted);font-size:12px;left:10px;position:absolute}.goals-editor__input-wrap input{padding-left:10px;padding-right:10px;width:100%}.goals-editor__input-wrap>span+input{padding-left:24px}.goals-editor__input-wrap--suffix>span{left:auto;right:11px}.goals-editor__input-wrap--suffix input{padding-left:10px;padding-right:28px}.revenue-goal-editor{display:grid;grid-gap:16px;gap:16px}.revenue-goal-editor__inputs{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.revenue-goal-editor__inputs>label{display:grid;grid-gap:3px;gap:3px}.revenue-goal-editor__inputs>label>span{color:var(--text-body);font-size:12px;font-weight:700}.revenue-goal-editor__inputs>label>small{color:var(--text-muted);font-size:11px;min-height:28px}.revenue-goal-calculation{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--radius-md);display:grid;grid-gap:1px;gap:1px;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}.revenue-goal-calculation>div{background:var(--surface);display:grid;grid-gap:4px;gap:4px;padding:14px}.revenue-goal-calculation span{color:var(--text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.revenue-goal-calculation strong{color:var(--text-strong);font-size:21px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.025em}.revenue-goal-calculation small,.revenue-goal-editor__formula{color:var(--text-muted);font-size:10px}.revenue-goal-editor__formula{margin:-5px 0 0}.goals-editor__footer{align-items:flex-end;border-top:1px solid var(--border-subtle);display:flex;gap:12px;justify-content:space-between;margin-top:16px;padding-top:14px}.goals-editor__note{margin:10px 0 0}.goals-visibility{display:grid;grid-gap:16px;gap:16px}.goals-visibility form{display:grid;grid-gap:12px;gap:12px}.goals-toggle-row{align-items:center;background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-md);display:flex;gap:12px;justify-content:space-between;padding:12px}.goals-toggle-row>span{display:grid;grid-gap:3px;gap:3px}.goals-toggle-row strong{color:var(--text-body);font-size:12px}.goals-toggle-row input{accent-color:var(--brand-600);height:18px;width:18px}@media (max-width:1050px){.goals-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.goals-admin-grid,.revenue-goal-editor__inputs{grid-template-columns:1fr}.revenue-goal-editor__inputs>label>small{min-height:0}}@media (max-width:720px){.goals-editor__footer,.goals-header,.goals-panel__header{align-items:flex-start;flex-direction:column}.goals-editor__fields,.goals-progress-grid,.revenue-goal-calculation{grid-template-columns:1fr}.goals-editor__footer .goals-button,.goals-editor__footer .select-menu,.goals-editor__footer label,.goals-filters .goals-button,.goals-filters .select-menu,.goals-filters label{width:100%}.goals-chart{gap:4px;height:170px;overflow-x:auto}.goals-chart__month{min-width:28px}.goals-allocation{align-items:flex-start;text-align:left}}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>*{--tint-wash:var(--tint-a-wash);--tint-line:var(--tint-a-line);--tint-ink:var(--tint-a-ink);background-image:linear-gradient(180deg,var(--tint-wash),transparent 88px);overflow:hidden;position:relative}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:after{background:var(--tint-line);content:"";height:3px;left:0;position:absolute;right:0;top:0}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:nth-child(6n+2){--tint-wash:var(--tint-b-wash);--tint-line:var(--tint-b-line);--tint-ink:var(--tint-b-ink)}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:nth-child(6n+3){--tint-wash:var(--tint-c-wash);--tint-line:var(--tint-c-line);--tint-ink:var(--tint-c-ink)}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:nth-child(6n+4){--tint-wash:var(--tint-d-wash);--tint-line:var(--tint-d-line);--tint-ink:var(--tint-d-ink)}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:nth-child(6n+5){--tint-wash:var(--tint-e-wash);--tint-line:var(--tint-e-line);--tint-ink:var(--tint-e-ink)}:is(.dashboard__kpis,.dashboard .performance-grid,.contacts-summary,.opportunity-summary,.policy-summary,.commission-summary,.product-summary,.goals-progress-grid)>:nth-child(6n+6){--tint-wash:var(--tint-f-wash);--tint-line:var(--tint-f-line);--tint-ink:var(--tint-f-ink)}.commission-summary__label,.contacts-summary__label,.dashboard .performance-card__label,.dashboard-kpi__label,.goal-progress-card__heading>span,.opportunity-summary__label,.policy-summary__label,.product-summary__label{color:var(--tint-ink,var(--text-muted))}.dashboard-kpi__detail{border-top-color:color-mix(in srgb,var(--tint-line) 28%,transparent)}:is(.contacts-table,.contacts-policies-table,.opportunities-table,.appointments-table,.policies-table,.commissions-table,.commission-payments-table,.products-table,.settings-access-table,.settings-config-table,.settings-invitations-table,.settings-members-table,.settings-team-table,.goals-table,.dashboard .report-table) thead th{background:var(--table-head);color:var(--table-head-ink)}:is(.contacts-table,.opportunities-table,.appointments-table,.policies-table,.commissions-table,.products-table) tbody tr:hover :is(th,td){background:var(--row-hover)}.topbar__avatar{background:linear-gradient(140deg,var(--brand-600),var(--brand-800));box-shadow:inset 0 1px 0 rgb(255 255 255/18%)}.sidebar{background:linear-gradient(184deg,var(--nav-bg-soft),var(--nav-bg) 62%)}.appointments-page__add-button,.auth-submit,.commissions-page__add-button,.contacts-page__add-button,.goals-button--primary,.opportunities-page__add-button,.policies-page__add-button,.products-page__add-button,.settings-invite-submit,.todo-page__add-button{background-image:linear-gradient(180deg,rgb(255 255 255/10%),transparent);box-shadow:0 1px 2px rgb(16 24 40/12%),0 6px 14px -8px color-mix(in srgb,var(--brand-700) 70%,transparent)}.goal-progress-card__track span{background-image:linear-gradient(90deg,rgb(255 255 255/26%),transparent 60%)}html{overflow-x:clip}body{min-width:320px}img,video{height:auto;max-width:100%}.sidebar-backdrop,.sidebar__close,.topbar__menu{display:none}@media (max-width:1260px){:root{--sidebar-width:0px;--topbar-height:112px}.app-shell{min-width:0}.sidebar{border-right-color:var(--nav-border);bottom:0;box-shadow:var(--shadow-xl);max-width:calc(100vw - 48px);min-height:100dvh;padding:16px 12px 12px;position:fixed;top:0;transform:translateX(-105%);transition:transform .18s ease;width:300px;z-index:70}.app-shell--navigation-open .sidebar{transform:translateX(0)}.sidebar-backdrop{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:rgb(6 19 33/55%);border:0;display:block;inset:0;opacity:0;padding:0;pointer-events:none;position:fixed;transition:opacity .18s ease;z-index:65}.app-shell--navigation-open .sidebar-backdrop{opacity:1;pointer-events:auto}.sidebar__brand,.sidebar__brand-copy{min-width:0}.sidebar__brand-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__close,.topbar__menu{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-sm);cursor:pointer;display:inline-flex;flex:0 0 auto;height:40px;justify-content:center;padding:0;width:40px}.sidebar__close{background:var(--nav-hover);border:1px solid var(--nav-border);color:var(--nav-text);margin-left:auto}.sidebar__close:hover{background:var(--nav-active);color:var(--nav-text-active)}.topbar__menu{background:var(--surface-subtle);border:1px solid var(--border);color:var(--text-body);grid-column:1;grid-row:1}.topbar__menu:hover{background:var(--surface-muted);border-color:var(--border-strong);color:var(--text-strong)}.sidebar__nav{display:grid;grid-gap:20px;gap:20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 0 20px}.sidebar__section{min-width:0}.sidebar__link{min-height:42px}.topbar,.topbar--with-view{gap:8px 12px;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:40px 40px;height:var(--topbar-height);left:0;padding:12px 18px}.topbar__heading{grid-column:2;grid-row:1}.topbar__profile{grid-column:3;grid-row:1}.topbar--with-view .topbar__search,.topbar__search{grid-column:1/-1;grid-row:2;height:40px}.topbar--with-view .topbar__search{grid-column:1/3}.topbar--with-view .agent-view{grid-column:3;grid-row:2;max-width:210px;min-width:150px}.topbar--with-view .agent-view__trigger{height:40px}.content{height:calc(100dvh - var(--topbar-height));margin-left:0;margin-top:var(--topbar-height);min-width:0;padding:20px}.appointments-calendar-card,.appointments-page>*,.appointments-table-card,.commissions-page>*,.commissions-table-card,.contacts-page>*,.contacts-table-card,.content__inner,.content__inner>*,.dashboard .report-card,.dashboard .report-panel,.dashboard-section,.dashboard>*,.goals-page>*,.goals-panel,.opportunities-page>*,.opportunities-table-card,.policies-page>*,.policies-table-card,.products-page>*,.products-table-card,.settings-page>*,.todo-page>*{max-width:100%;min-width:0}.appointments-calendar-wrap,.appointments-table-wrap,.commissions-table-wrap,.contacts-table-wrap,.dashboard .report-table-wrap,.goals-chart,.goals-table-wrap,.opportunities-table-wrap,.policies-table-wrap,.products-table-wrap{display:block;min-width:0;width:100%}.settings-admin-layout{grid-template-columns:minmax(0,1fr)}.settings-nav{display:flex;gap:8px;margin-inline:-2px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 2px 8px;position:static;scrollbar-width:thin}.settings-nav__group{display:flex;flex:0 0 auto;gap:4px}.settings-nav__group-label{display:none}.settings-nav__link{background:var(--surface);border:1px solid var(--border);flex:0 0 auto;min-height:40px;padding:0 12px;white-space:nowrap}.settings-nav__link--active{background:var(--brand-50);border-color:var(--brand-100)}.settings-nav__link--active:before,.settings-nav__link[data-note]:after{content:none}.appointments-calendar-wrap,.goals-chart,.pipeline-board-scroll,[class*=table-wrap]{-webkit-overflow-scrolling:touch;max-width:100%;overscroll-behavior-inline:contain;scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin}.appointments-calendar-wrap::-webkit-scrollbar,.goals-chart::-webkit-scrollbar,.pipeline-board-scroll::-webkit-scrollbar,[class*=table-wrap]::-webkit-scrollbar{height:8px}.appointments-calendar-wrap::-webkit-scrollbar-thumb,.goals-chart::-webkit-scrollbar-thumb,.pipeline-board-scroll::-webkit-scrollbar-thumb,[class*=table-wrap]::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-pill)}.ff-doc{align-items:flex-start;max-width:100%;overflow-x:auto;padding-inline:14px}}@media (max-width:720px){:root{--topbar-height:108px}.topbar,.topbar--with-view{gap:8px;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:40px 40px;padding:10px 12px;position:fixed}.topbar__eyebrow{display:none}.topbar__title{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar__profile{gap:6px;padding-left:0}.topbar__profile-text,.topbar__profile:before{display:none}.theme-toggle,.topbar__logout{min-height:40px}.topbar__logout{padding-inline:8px}.topbar--with-view .topbar__search{grid-column:1/3}.topbar--with-view .agent-view{max-width:122px;min-width:104px}.topbar--with-view .agent-view__icon,.topbar--with-view .agent-view__label{display:none}.agent-view__menu{max-width:calc(100vw - 24px);min-width:min(280px,calc(100vw - 24px));position:fixed;right:12px;top:var(--topbar-height)}.content{height:auto;min-height:calc(100dvh - var(--topbar-height));overflow:visible;overflow-x:clip;padding:14px 12px calc(24px + env(safe-area-inset-bottom))}.page-name{font-size:21px}.practice-banner{bottom:calc(10px + env(safe-area-inset-bottom));justify-content:center;left:12px;max-width:none;padding:8px 12px;right:12px;text-align:center}.appointments-page,.commissions-page,.contacts-page,.dashboard,.goals-page,.opportunities-page,.policies-page,.products-page,.settings-page,.todo-page{gap:14px}.appointments-page__header,.appointments-section__header,.bulk-actions,.commissions-page__header,.commissions-section__header,.contact-documents__header,.contacts-page__header,.contacts-page__header-actions,.contacts-section__header,.contacts-tasks-section__header,.dashboard-section__header,.dashboard__header,.goals-header,.opportunities-page__header,.opportunities-section__header,.policies-page__header,.policies-section__header,.products-page__header,.products-section__header,.settings-page__header,.settings-section__header,.todo-page__header{align-items:stretch;flex-direction:column}.appointments-page__add-button,.commissions-page__add-button,.contacts-page__add-button,.contacts-page__header-actions>*,.opportunities-page__add-button,.policies-page__add-button,.products-page__add-button,.todo-page__add-button{justify-content:center;width:100%}.appointment-filters,.audit-activity__filters,.commission-filters,.contacts-filters,.goals-filters,.opportunity-filters,.policy-filters,.product-filters{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr);padding:10px}.appointment-filters>*,.audit-activity__filters>*,.commission-filters>*,.contacts-filters>*,.goals-filters>*,.opportunity-filters>*,.policy-filters>*,.product-filters>*{grid-column:auto;max-width:none;width:100%}.content input:not([type=checkbox]):not([type=radio]):not([type=file]),.content textarea{font-size:16px;max-width:100%}.content .select-menu{font-size:14px;max-width:100%}.content a[class*=button],.content a[class*=cancel],.content a[class*=clear],.content button:not(.todo-item__tick-button),.date-time-picker__trigger{min-height:44px}.appointments-calendar-card,.appointments-table-card,.commissions-table-card,.contacts-table-card,.dashboard .performance-card,.dashboard .report-card,.dashboard-kpi,.dashboard-section,.goals-panel,.opportunities-table-card,.policies-table-card,.products-table-card,.settings-panel{padding:14px}.contacts-modal-backdrop,.opportunities-modal-backdrop,.policies-modal-backdrop,.products-modal-backdrop,.settings-member-remove-backdrop,.todo-modal-backdrop{align-items:flex-end;justify-content:center;padding:0}.contacts-modal,.opportunities-modal,.policies-modal,.products-modal,.settings-member-remove-dialog,.todo-modal{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;max-height:calc(92dvh - env(safe-area-inset-top));max-width:none;overflow-x:hidden;overflow-y:auto;padding:16px 14px calc(16px + env(safe-area-inset-bottom));width:100%}.policies-modal__body,.policies-modal__header{padding-left:14px;padding-right:14px}.contacts-modal__header,.opportunities-modal__header,.policies-modal__header,.products-modal__header,.settings-member-remove-dialog__header,.todo-modal__header{align-items:flex-start;gap:10px}.contacts-modal__close,.opportunities-modal__close,.policies-modal__close,.products-modal__close,.settings-member-remove-close,.todo-modal__close{flex:0 0 auto;min-height:44px;min-width:44px}.contacts-modal__actions,.opportunities-modal__actions,.policies-modal__actions,.products-modal__actions,.settings-member-remove-actions,.todo-modal__actions{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr)}.contacts-modal__actions>*,.opportunities-modal__actions>*,.policies-modal__actions>*,.products-modal__actions>*,.settings-member-remove-actions>*,.todo-modal__actions>*{justify-content:center;width:100%}.settings-invitation-actions,.settings-member-actions,.settings-member-role-form{align-items:stretch}.settings-member-role-form{grid-template-columns:minmax(110px,1fr) auto}.todo-item{padding:12px}.todo-item__meta{padding-left:0}.contacts-tasks-section,.follow-ups__body{padding-left:12px;padding-right:12px}.follow-ups__done{align-items:stretch;flex:1 1 100%;flex-wrap:wrap}.follow-ups__again,.follow-ups__again-input{flex:1 1 100%;width:100%}.auth-page{align-items:flex-start;min-height:100dvh;padding:max(20px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom))}.auth-card{gap:20px;padding:22px 18px}.ff-toolbar{align-items:stretch;padding:10px 12px}.ff-toolbar__client{flex-grow:1;flex-shrink:1;flex-basis:calc(100% - 90px)}.ff-toolbar__button{flex:1 1 auto;min-height:44px}}@media (max-width:420px){.topbar__avatar{display:none}.topbar__logout{font-size:11px;padding-inline:5px}.commission-summary,.contacts-summary,.dashboard .performance-grid,.dashboard__kpis,.opportunity-summary,.policy-summary,.product-summary,.settings-member-remove-counts,.settings-reset-counts{grid-template-columns:minmax(0,1fr)}.date-time-popover{border-radius:var(--radius-md);padding:12px}}.practice-banner__compact{display:none}@media (max-width:720px){.appointments-page__header,.commissions-page__header,.contacts-page__header,.dashboard__header,.goals-header,.opportunities-page__header,.policies-page__header,.products-page__header,.settings-page__header,.todo-page__header{display:grid;grid-gap:12px;gap:12px;grid-template-columns:minmax(0,1fr)}.contacts-page__header-actions{align-items:stretch;display:grid;grid-gap:8px;gap:8px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;min-width:0;width:100%}.contacts-page__header-actions .appointments-page__add-button,.contacts-page__header-actions .contacts-page__add-button,.contacts-page__header-actions .opportunities-page__add-button,.contacts-page__header-actions .policies-page__add-button,.contacts-page__header-actions>*{min-width:0;padding-inline:8px;width:auto}.appointment-filters,.audit-activity__filters,.commission-filters,.contacts-filters,.goals-filters,.opportunity-filters,.policy-filters,.product-filters{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.appointment-filters__search,.audit-activity__filters-search,.commission-filters__search,.contacts-filters__search,.opportunity-filters__search,.policy-filters__search,.product-filters__search{grid-column:1/-1}.appointment-filters>.search-suggest,.commission-filters>.search-suggest,.contacts-filters>.search-suggest,.opportunity-filters>.search-suggest,.policy-filters>.search-suggest,.product-filters>.search-suggest{grid-column:1/-1;width:100%}.appointment-filters>.select-menu:last-of-type,.commission-filters>.select-menu:last-of-type,.contacts-filters>.select-menu:last-of-type,.filters__actions,.opportunity-filters>.select-menu:last-of-type{grid-column:1/-1}.appointment-filters>*,.audit-activity__filters>*,.commission-filters>*,.contacts-filters>*,.goals-filters>*,.opportunity-filters>*,.policy-filters>*,.product-filters>*{min-width:0}.goals-filters label{grid-column:auto}.appointments-section__header,.commissions-section__header,.contacts-section__header,.contacts-table-card__header,.dashboard-section__header,.opportunities-section__header,.policies-section__header,.products-section__header{align-items:start;display:grid;grid-gap:10px;gap:10px;grid-template-columns:minmax(0,1fr) auto}.appointments-section__button,.commissions-section__button,.contacts-section__button,.opportunities-section__button,.policies-section__button,.products-section__button{align-self:start;padding-inline:11px;width:auto}.commission-summary,.contacts-summary,.dashboard .performance-grid,.dashboard__kpis,.opportunity-summary,.policy-summary,.product-summary,.settings-member-remove-counts,.settings-reset-counts{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.commission-summary__card,.contacts-summary__card,.dashboard-kpi,.opportunity-summary__card,.policy-summary__card,.product-summary__card{min-height:0;padding:13px}.practice-banner{left:auto;max-width:none;padding:7px 11px;right:10px;width:auto}.practice-banner__wide{display:none}.practice-banner__compact{display:inline}.appointments-table-wrap,.commissions-table-wrap,.contacts-table-wrap,.opportunities-table-wrap,.policies-table-wrap,.products-table-wrap,.settings-invitations-table-wrap,.settings-members-table-wrap,.settings-team-table-wrap{border:0;overflow:visible}.appointments-table,.commissions-table,.contacts-table,.opportunities-table,.policies-table,.products-table,.settings-invitations-table,.settings-members-table,.settings-team-table{border-collapse:separate;display:block;min-width:0;table-layout:auto;width:100%}.appointments-table thead,.commissions-table thead,.contacts-table thead,.opportunities-table thead,.policies-table thead,.products-table thead,.settings-invitations-table thead,.settings-members-table thead,.settings-team-table thead{display:none}.appointments-table tbody,.commissions-table tbody,.contacts-table tbody,.opportunities-table tbody,.policies-table tbody,.products-table tbody,.settings-invitations-table tbody,.settings-members-table tbody,.settings-team-table tbody{display:grid;grid-gap:10px;gap:10px;width:100%}.appointments-table tbody tr,.commissions-table tbody tr,.contacts-table tbody tr,.opportunities-table tbody tr,.policies-table tbody tr,.products-table tbody tr,.settings-invitations-table tbody tr,.settings-members-table tbody tr,.settings-team-table tbody tr{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);display:grid;grid-gap:0;gap:0;overflow:hidden;padding:10px 12px;width:100%}.appointments-table tbody tr>*,.commissions-table tbody tr>*,.contacts-table tbody tr>*,.opportunities-table tbody tr>*,.policies-table tbody tr>*,.products-table tbody tr>*,.settings-invitations-table tbody tr>*,.settings-members-table tbody tr>*,.settings-team-table tbody tr>*{border:0;display:none;min-width:0;white-space:normal}.appointments-table tbody tr>td:only-child,.commissions-table tbody tr>td:only-child,.contacts-table tbody tr>td:only-child,.opportunities-table tbody tr>td:only-child,.policies-table tbody tr>td:only-child,.products-table tbody tr>td:only-child,.settings-invitations-table tbody tr>td:only-child,.settings-members-table tbody tr>td:only-child,.settings-team-table tbody tr>td:only-child{display:block;padding:8px 0}.appointments-table tbody tr>:before,.commissions-table tbody tr>:before,.contacts-table tbody tr>:before,.opportunities-table tbody tr>:before,.policies-table tbody tr>:before,.products-table tbody tr>:before,.settings-invitations-table tbody tr>:before,.settings-members-table tbody tr>:before,.settings-team-table tbody tr>:before{color:var(--text-faint);content:"";flex:0 0 auto;font-size:10px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.appointments-table tbody tr>:not(:first-child),.commissions-table tbody tr>:not(:first-child),.contacts-table tbody tr>:not(:first-child),.opportunities-table tbody tr>:not(:first-child),.policies-table tbody tr>:not(:first-child),.products-table tbody tr>:not(:first-child),.settings-invitations-table tbody tr>:not(:first-child),.settings-members-table tbody tr>:not(:first-child),.settings-team-table tbody tr>:not(:first-child){align-items:center;border-top:1px solid var(--border-subtle);gap:16px;justify-content:space-between;padding:8px 0;text-align:right}.appointments-table tbody tr>:first-child,.commissions-table tbody tr>:first-child,.contacts-table tbody tr>:first-child,.opportunities-table tbody tr>:first-child,.policies-table tbody tr>:first-child,.products-table tbody tr>:first-child,.settings-invitations-table tbody tr>:first-child,.settings-members-table tbody tr>:first-child,.settings-team-table tbody tr>:first-child{color:var(--text-strong);font-size:14px;font-weight:650;padding:2px 0 9px;text-align:left}.appointments-table tbody tr>:first-child,.appointments-table tbody tr>:nth-child(2),.appointments-table tbody tr>:nth-child(3),.appointments-table tbody tr>:nth-child(4),.appointments-table tbody tr>:nth-child(5),.appointments-table tbody tr>:nth-child(6),.commissions-table tbody tr>:first-child,.commissions-table tbody tr>:nth-child(10),.commissions-table tbody tr>:nth-child(2),.commissions-table tbody tr>:nth-child(5),.commissions-table tbody tr>:nth-child(8),.commissions-table tbody tr>:nth-child(9),.contacts-table--records tbody tr>:first-child,.contacts-table--records tbody tr>:nth-child(12),.contacts-table--records tbody tr>:nth-child(3),.contacts-table--records tbody tr>:nth-child(4),.contacts-table--records tbody tr>:nth-child(7),.opportunities-table tbody tr>:first-child,.opportunities-table tbody tr>:nth-child(2),.opportunities-table tbody tr>:nth-child(3),.opportunities-table tbody tr>:nth-child(5),.opportunities-table tbody tr>:nth-child(7),.opportunities-table tbody tr>:nth-child(9),.policies-table tbody tr>:first-child,.policies-table tbody tr>:nth-child(2),.policies-table tbody tr>:nth-child(3),.policies-table tbody tr>:nth-child(4),.policies-table tbody tr>:nth-child(6),.policies-table tbody tr>:nth-child(7),.products-table tbody tr>:first-child,.products-table tbody tr>:nth-child(2),.products-table tbody tr>:nth-child(3),.products-table tbody tr>:nth-child(4),.products-table tbody tr>:nth-child(6),.settings-invitations-table tbody tr>:first-child,.settings-invitations-table tbody tr>:nth-child(2),.settings-invitations-table tbody tr>:nth-child(3),.settings-invitations-table tbody tr>:nth-child(4),.settings-invitations-table tbody tr>:nth-child(8),.settings-members-table tbody tr>:first-child,.settings-members-table tbody tr>:nth-child(2),.settings-members-table tbody tr>:nth-child(3),.settings-members-table tbody tr>:nth-child(4),.settings-members-table--manageable tbody tr>:nth-child(7),.settings-team-table tbody tr>:first-child,.settings-team-table tbody tr>:nth-child(2){display:flex}.appointments-table tbody tr>:nth-child(6){order:-6}.appointments-table tbody tr>:first-child{order:-5}.appointments-table tbody tr>:nth-child(2){order:-4}.appointments-table tbody tr>:nth-child(5){order:-3}.appointments-table tbody tr>:nth-child(4){order:-2}.contacts-table--records tbody td:nth-child(3):before{content:"Phone"}.contacts-table--records tbody td:nth-child(4):before{content:"Email"}.contacts-table--records tbody td:nth-child(7):before{content:"Status"}.contacts-table--records tbody td:nth-child(12):before{content:"Last contacted"}.appointments-table tbody th:first-child:before{content:"Date & time"}.appointments-table tbody td:nth-child(2):before{content:"Contact"}.appointments-table tbody td:nth-child(3):before{content:"Actions"}.appointments-table tbody td:nth-child(4):before{content:"Type"}.appointments-table tbody td:nth-child(5):before{content:"Status"}.appointments-table tbody td:nth-child(6):before{content:"Appointment"}.opportunities-table tbody td:nth-child(2):before{content:"Contact"}.opportunities-table tbody td:nth-child(3):before{content:"Stage"}.opportunities-table tbody td:nth-child(5):before{content:"Expected close"}.opportunities-table tbody td:nth-child(7):before{content:"API"}.opportunities-table tbody td.is-earnings:before{content:"Estimated FYC"}.policies-table tbody td:nth-child(2):before{content:"Contact"}.policies-table tbody td:nth-child(3):before{content:"Status"}.policies-table tbody td:nth-child(4):before{content:"Policy number"}.policies-table tbody td:nth-child(6):before{content:"Monthly premium"}.policies-table tbody td:nth-child(7):before{content:"API"}.commissions-table tbody td:nth-child(2):before{content:"Policy"}.commissions-table tbody td:nth-child(5):before{content:"Status"}.commissions-table tbody td:nth-child(8):before{content:"Net"}.commissions-table tbody td:nth-child(9):before{content:"Paid"}.commissions-table tbody td:nth-child(10):before{content:"Balance"}.products-table tbody td:nth-child(2):before{content:"Category"}.products-table tbody td:nth-child(3):before{content:"Status"}.products-table tbody td.is-earnings:before{content:"Commission"}.products-table tbody td:nth-last-child(2):before{content:"Provider"}.settings-members-table tbody td:nth-child(2):before{content:"Email"}.settings-members-table tbody td:nth-child(3):before{content:"Role"}.settings-members-table tbody td:nth-child(4):before{content:"Member status"}.settings-members-table tbody td:nth-child(7):before{content:"Actions"}.settings-invitations-table tbody td:nth-child(2):before{content:"Role"}.settings-invitations-table tbody td:nth-child(3):before{content:"Status"}.settings-invitations-table tbody td:nth-child(4):before{content:"Expires"}.settings-invitations-table tbody td:nth-child(8):before{content:"Actions"}.settings-team-table tbody td:nth-child(2):before{content:"What it can do"}.settings-invitations-table tbody tr>:first-child,.settings-members-table tbody tr>:nth-child(2){align-items:flex-start;flex-direction:column;gap:4px;text-align:left}.appointments-table tbody tr>*>*,.commissions-table tbody tr>*>*,.contacts-table tbody tr>*>*,.opportunities-table tbody tr>*>*,.policies-table tbody tr>*>*,.products-table tbody tr>*>*,.settings-invitations-table tbody tr>*,.settings-members-table tbody tr>*{max-width:100%;overflow-wrap:anywhere}.contacts-modal-backdrop,.opportunities-modal-backdrop,.policies-modal-backdrop,.products-modal-backdrop,.settings-member-remove-backdrop,.todo-modal-backdrop{inset:0}.contacts-modal,.opportunities-modal,.policies-modal,.products-modal,.settings-member-remove-dialog,.todo-modal{border:0;border-radius:0;height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;padding:0}.contacts-modal__header,.opportunities-modal__header,.policies-modal__header,.products-modal__header,.settings-member-remove-dialog__header,.todo-modal__header{align-items:start;background:var(--surface);display:grid;grid-gap:12px;gap:12px;grid-template-columns:minmax(0,1fr) auto;margin:0;padding:calc(14px + env(safe-area-inset-top)) 15px 14px;position:-webkit-sticky;position:sticky;top:0;z-index:5}.contacts-modal>.contacts-modal__form,.contacts-modal__body,.opportunities-modal>.opportunities-modal__form,.opportunities-modal__body,.policies-modal__body,.products-modal>.products-modal__form,.products-modal__body,.settings-member-remove-dialog__body,.todo-modal>.todo-modal__form,.todo-modal__body{padding:16px 15px calc(22px + env(safe-area-inset-bottom))}.contacts-modal__close,.opportunities-modal__close,.policies-modal__close,.products-modal__close,.settings-member-remove-close,.todo-modal__close{min-height:40px;min-width:0}.contacts-modal__actions,.opportunities-modal__actions,.policies-modal__actions,.products-modal__actions,.settings-member-remove-actions,.todo-modal__actions{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.contacts-modal__actions>*,.opportunities-modal__actions>*,.policies-modal__actions>*,.products-modal__actions>*,.settings-member-remove-actions>*,.todo-modal__actions>*{min-width:0;width:auto}.contacts-modal__archive-form,.opportunities-modal__archive-form,.products-modal__archive-form,.todo-modal__archive{align-items:stretch}.settings-panel{padding:14px}.filters__actions{display:grid;grid-gap:8px;gap:8px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.filters__actions>*{justify-content:center;min-width:0;width:auto}.appointments-table tbody tr>:first-child,.commissions-table tbody tr>:first-child,.contacts-table tbody tr>:first-child,.opportunities-table tbody tr>:first-child,.policies-table tbody tr>:first-child,.products-table tbody tr>:first-child{line-height:1.35;overflow-wrap:anywhere}.appointments-table tbody tr>:not(:first-child),.commissions-table tbody tr>:not(:first-child),.contacts-table tbody tr>:not(:first-child),.opportunities-table tbody tr>:not(:first-child),.policies-table tbody tr>:not(:first-child),.products-table tbody tr>:not(:first-child){gap:12px}}@media (min-width:721px) and (max-width:1050px){.filters__actions{flex:1 1 auto;justify-content:flex-end}}@media (max-width:1050px){.settings-nav{-webkit-mask-image:linear-gradient(90deg,#000,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,#000,#000 calc(100% - 26px),transparent);scroll-padding-inline:2px;scroll-snap-type:x proximity}.settings-nav__group{scroll-snap-align:start}}.app-shell{--page-accent:var(--tint-a-line);--page-accent-ink:var(--tint-a-ink);--page-accent-wash:var(--tint-a-wash)}.leads-table{border-collapse:collapse;min-width:1320px;table-layout:fixed;width:100%}.leads-table td,.leads-table th{background:var(--color-white);border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;overflow-wrap:anywhere;--cell-padding:11px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:normal}.leads-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.leads-table tbody th{color:var(--text-strong);font-weight:600}.leads-table th:first-child{width:200px}.leads-table th:nth-child(2){width:140px}.leads-table th:nth-child(3){width:150px}.leads-table th:nth-child(4),.leads-table th:nth-child(5){width:130px}.leads-table th:nth-child(6){width:200px}.leads-table th:nth-child(7){width:120px}.leads-table th:nth-child(8){width:150px}.leads-table th:nth-child(9){width:120px}.leads-table tbody tr:last-child td,.leads-table tbody tr:last-child th{border-bottom:0}.leads-table tbody tr:hover td,.leads-table tbody tr:hover th{background:var(--surface-subtle)}@media (max-width:720px){.leads-table{border-collapse:separate;display:block;min-width:0;table-layout:auto;width:100%}.leads-table thead{display:none}.leads-table tbody{display:grid;grid-gap:10px;gap:10px;width:100%}.leads-table tbody tr{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);display:grid;grid-gap:0;gap:0;overflow:hidden;padding:10px 12px;width:100%}.leads-table tbody tr>*{border:0;display:none;min-width:0;white-space:normal}.leads-table tbody tr>td:only-child{display:block;padding:8px 0}.leads-table tbody tr>:before{color:var(--text-faint);content:"";flex:0 0 auto;font-size:10px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.leads-table tbody tr>:not(:first-child){align-items:center;border-top:1px solid var(--border-subtle);gap:16px;justify-content:space-between;padding:8px 0;text-align:right}.leads-table tbody tr>:first-child{color:var(--text-strong);font-size:14px;font-weight:650;padding:2px 0 9px;text-align:left}.leads-table tbody tr>:first-child,.leads-table tbody tr>:nth-child(2),.leads-table tbody tr>:nth-child(3),.leads-table tbody tr>:nth-child(4),.leads-table tbody tr>:nth-child(5),.leads-table tbody tr>:nth-child(6),.leads-table tbody tr>:nth-child(7){display:flex}.leads-table tbody td.lead-cell{padding:8px 0}.leads-table tbody td.lead-cell .lead-cell__control{flex:1 1 auto;justify-content:flex-end;min-width:0}.leads-table tbody td.lead-cell .lead-cell__input{text-align:right}.leads-table tbody td:nth-child(2):before{content:"Phone"}.leads-table tbody td:nth-child(3):before{content:"Location"}.leads-table tbody td:nth-child(4):before{content:"Source"}.leads-table tbody td:nth-child(5):before{content:"Status"}.leads-table tbody td:nth-child(6):before{content:"Next action"}.leads-table tbody td:nth-child(7):before{content:"Due"}}.leads-table tbody td.lead-cell{padding:6px 12px}.lead-cell__control{align-items:center;display:flex;gap:6px;min-width:0}.lead-cell__input{background:transparent;border:1px solid transparent;border-radius:var(--radius-xs);color:var(--text-body);font:inherit;min-width:0;padding:5px 7px;width:100%}.lead-cell__input:hover{border-color:var(--border)}.lead-cell__input:focus{background:var(--surface);border-color:var(--brand-navy);outline:none}.lead-cell__input::placeholder{color:var(--text-faint)}.lead-cell__date,.lead-cell__select{min-width:0;width:100%}.lead-cell__select{font-size:12px;min-height:30px}.lead-cell__state{color:var(--text-faint);flex:0 0 auto;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.lead-cell__state--saved{color:var(--success-700)}.lead-cell__state--failed{color:var(--danger-700);letter-spacing:0;text-transform:none;white-space:normal}.lead-record__section{border-top:1px solid var(--border-subtle);display:grid;grid-gap:10px;gap:10px;padding-top:16px}.lead-record__section h3{color:var(--text-strong);font-size:13px;font-weight:650;margin:0}.lead-record__note{color:var(--text-muted);font-size:12px;line-height:1.5;margin:0}.lead-contact__done{color:var(--success-700);font-size:12px;font-weight:600;margin:0 0 8px}.lead-assign,.lead-convert{display:grid;grid-gap:12px;gap:12px}.lead-assign button,.lead-convert button{justify-self:start}.app-shell[data-section=dashboard],.app-shell[data-section=leads]{--page-accent:var(--tint-a-line);--page-accent-ink:var(--tint-a-ink);--page-accent-wash:var(--tint-a-wash)}.app-shell[data-section=goals],.app-shell[data-section=opportunities]{--page-accent:var(--tint-b-line);--page-accent-ink:var(--tint-b-ink);--page-accent-wash:var(--tint-b-wash)}.app-shell[data-section=commissions],.app-shell[data-section=todo]{--page-accent:var(--tint-c-line);--page-accent-ink:var(--tint-c-ink);--page-accent-wash:var(--tint-c-wash)}.app-shell[data-section=contacts],.app-shell[data-section=products]{--page-accent:var(--tint-d-line);--page-accent-ink:var(--tint-d-ink);--page-accent-wash:var(--tint-d-wash)}.app-shell[data-section=appointments],.app-shell[data-section=archived]{--page-accent:var(--tint-e-line);--page-accent-ink:var(--tint-e-ink);--page-accent-wash:var(--tint-e-wash)}.app-shell[data-section=policies],.app-shell[data-section=settings]{--page-accent:var(--tint-f-line);--page-accent-ink:var(--tint-f-ink);--page-accent-wash:var(--tint-f-wash)}.page-name,.page-name+p{padding-left:13px}.page-name{position:relative}.page-name:before{background:var(--page-accent);border-radius:var(--radius-pill);bottom:3px;content:"";left:0;position:absolute;top:3px;width:4px}.app-shell{--table-head:var(--page-accent-wash);--table-head-ink:var(--page-accent-ink)}:is(.contacts-table-card__header,.contacts-section__header,.opportunities-section__header,.appointments-section__header,.policies-section__header,.commissions-section__header,.products-section__header) h2 span{color:var(--page-accent-ink)}@media (max-width:720px){.appointments-table tbody tr>:first-child{align-items:baseline;border-top:1px solid var(--border-subtle);color:var(--text-body);font-size:14px;font-weight:500;gap:16px;justify-content:space-between;padding:8px 0;text-align:right}.appointments-table tbody tr>:nth-child(6){align-items:flex-start;border-top:0;color:var(--text-strong);font-size:15px;font-weight:650;justify-content:flex-start;padding:2px 0 9px;text-align:left}.appointments-table tbody td:nth-child(6):before{content:none}.appointments-table tbody tr>:before,.commissions-table tbody tr>:before,.contacts-table tbody tr>:before,.opportunities-table tbody tr>:before,.policies-table tbody tr>:before,.products-table tbody tr>:before,.settings-invitations-table tbody tr>:before,.settings-members-table tbody tr>:before,.settings-team-table tbody tr>:before{font-size:11px;letter-spacing:.04em;line-height:1.45}.appointments-table tbody tr>*,.commissions-table tbody tr>*,.contacts-table tbody tr>*,.opportunities-table tbody tr>*,.policies-table tbody tr>*,.products-table tbody tr>*,.settings-invitations-table tbody tr>*,.settings-members-table tbody tr>*,.settings-team-table tbody tr>*{font-size:14px;line-height:1.45}.appointments-table tbody tr>:first-child,.commissions-table tbody tr>:first-child,.contacts-table tbody tr>:first-child,.opportunities-table tbody tr>:first-child,.policies-table tbody tr>:first-child,.products-table tbody tr>:first-child,.settings-invitations-table tbody tr>:first-child,.settings-members-table tbody tr>:first-child,.settings-team-table tbody tr>:first-child{font-size:15px}.audit-activity__filters>label>span,.field-label,.goals-filters label>span,.settings-invite-field>span{font-size:13px}.field-hint{font-size:12px}.appointments-table tbody tr>*,.appointments-table tbody tr>*>*,.commissions-table tbody tr>*,.commissions-table tbody tr>*>*,.contacts-table tbody tr>*,.contacts-table tbody tr>*>*,.opportunities-table tbody tr>*,.opportunities-table tbody tr>*>*,.policies-table tbody tr>*,.policies-table tbody tr>*>*,.products-table tbody tr>*,.products-table tbody tr>*>*,.settings-invitations-table tbody tr>*,.settings-members-table tbody tr>*,.settings-team-table tbody tr>*{overflow-wrap:break-word}.appointments-table tbody tr>:before,.commissions-table tbody tr>:before,.contacts-table tbody tr>:before,.opportunities-table tbody tr>:before,.policies-table tbody tr>:before,.products-table tbody tr>:before,.settings-invitations-table tbody tr>:before,.settings-members-table tbody tr>:before,.settings-team-table tbody tr>:before{white-space:nowrap}.appointments-table tbody tr>:nth-child(n),.commissions-table tbody tr>:nth-child(n),.contacts-table tbody tr>:nth-child(n),.opportunities-table tbody tr>:nth-child(n),.policies-table tbody tr>:nth-child(n),.products-table tbody tr>:nth-child(n),.settings-invitations-table tbody tr>:nth-child(n),.settings-members-table tbody tr>:nth-child(n),.settings-team-table tbody tr>:nth-child(n){max-width:100%;min-width:0;width:auto}.appointments-table tbody tr>:first-child,.commissions-table tbody tr>:first-child,.contacts-table tbody tr>:first-child,.opportunities-table tbody tr>:first-child,.policies-table tbody tr>:first-child,.products-table tbody tr>:first-child{overflow-wrap:break-word}}.contacts-import__owner{border-top:1px solid var(--border-subtle);margin-top:4px;max-width:420px;padding-top:16px}.import-undo-form{display:inline-flex;margin:0}.field-input[type=file]{cursor:pointer;line-height:1.5;padding-block:8px}.field-input[type=file]::-webkit-file-upload-button{background:var(--surface-subtle);border:1px solid var(--border-strong);border-radius:var(--radius-xs);color:var(--text-body);cursor:pointer;font:inherit;font-size:12px;font-weight:600;margin-right:10px;padding:4px 10px;-webkit-transition:var(--transition);transition:var(--transition)}.field-input[type=file]::file-selector-button{background:var(--surface-subtle);border:1px solid var(--border-strong);border-radius:var(--radius-xs);color:var(--text-body);cursor:pointer;font:inherit;font-size:12px;font-weight:600;margin-right:10px;padding:4px 10px;transition:var(--transition)}.field-input[type=file]::-webkit-file-upload-button:hover{background:var(--surface-muted);border-color:var(--text-faint);color:var(--text-strong)}.field-input[type=file]::file-selector-button:hover{background:var(--surface-muted);border-color:var(--text-faint);color:var(--text-strong)}.import-preview-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto}.import-preview-table{border-collapse:collapse;table-layout:auto;width:100%}.import-preview-table td,.import-preview-table th{background:var(--surface);border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:12.5px;line-height:1.45;--cell-padding:9px 12px;padding:var(--cell-padding);text-align:left;vertical-align:middle;white-space:nowrap}.import-preview-table thead th{background:var(--table-head);color:var(--table-head-ink);font-size:11px;font-weight:600;letter-spacing:.04em;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:1}.import-preview-table tbody th{color:var(--text-faint);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;width:1%}.import-preview-table tbody tr:last-child td,.import-preview-table tbody tr:last-child th{border-bottom:0}.import-preview-table tbody tr:hover td,.import-preview-table tbody tr:hover th{background:var(--row-hover)}.import-preview-table__client{color:var(--text-strong);font-weight:600}.import-preview-table__outcome{white-space:nowrap}@media (max-width:720px){.import-preview-table td,.import-preview-table th{--cell-padding:8px 10px;padding:var(--cell-padding)}}.cover-elsewhere{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);display:grid;grid-gap:14px;gap:14px;margin-top:18px;padding:18px}.cover-elsewhere__header h3{color:var(--text-strong);font-size:15px;font-weight:650;letter-spacing:-.01em;margin:0}.cover-elsewhere__header p{color:var(--text-muted);font-size:12.5px;line-height:1.55;margin:5px 0 0;max-width:62ch}.cover-elsewhere__empty{background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:0;padding:14px}.cover-card,.cover-elsewhere__list{display:grid;grid-gap:10px;gap:10px}.cover-card{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--tint-a-line);border-radius:var(--radius-md);padding:13px 14px}.cover-card--now{background:var(--tint-c-wash);border-color:var(--tint-c-line);border-left-color:var(--tint-c-line)}.cover-card--gone{border-left-color:var(--text-faint)}.cover-card__head{align-items:flex-start;display:flex;gap:14px;justify-content:space-between}.cover-card__title{color:var(--text-strong);font-size:14px;font-weight:650}.cover-card__title span{color:var(--text-muted);font-weight:400}.cover-card__when{align-items:baseline;color:var(--text-body);display:flex;flex-wrap:wrap;font-size:12.5px;font-weight:600;gap:8px;margin-top:3px}.cover-card__date{color:var(--text-faint);font-weight:400}.cover-card__premium{display:grid;grid-gap:2px;gap:2px;text-align:right}.cover-card__premium span{color:var(--text-faint);font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.cover-card__premium strong{color:var(--text-strong);font-size:15px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cover-card__notes{color:var(--text-body);font-size:12.5px;line-height:1.55;margin:0}.cover-card__outcome{align-items:center;border-top:1px solid var(--border-subtle);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding-top:10px}.cover-card__outcome-label{color:var(--text-muted);font-size:11.5px}.cover-card__outcome-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0}.cover-card__kept,.cover-card__skipped,.cover-card__won{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;font:inherit;font-size:11.5px;font-weight:600;min-height:30px;padding:0 10px;transition:var(--transition)}.cover-card__won{border-color:var(--success-600);color:var(--success-800)}.cover-card__won:hover{background:var(--success-50)}.cover-card__kept:hover,.cover-card__skipped:hover{background:var(--surface-subtle);border-color:var(--text-faint);color:var(--text-strong)}.cover-card__timeline{border-top:1px solid var(--border-subtle);display:grid;grid-gap:6px;gap:6px;list-style:none;margin:0;padding:10px 0 0}.cover-card__timeline li{align-items:center;display:flex;gap:8px}.cover-card__dot{border-radius:50%;flex:0 0 auto;height:7px;width:7px}.cover-card__dot--won{background:var(--success-600)}.cover-card__dot--lost{background:var(--danger-600)}.cover-card__dot--not-approached{background:var(--warning-600)}.cover-card__dot--noted{background:var(--text-faint)}.cover-card__event{color:var(--text-muted);font-size:11.5px}.cover-elsewhere__form{border-top:1px solid var(--border-subtle);display:grid;grid-gap:12px;gap:12px;padding-top:14px}.cover-elsewhere__form-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.cover-elsewhere__form-actions{display:flex;justify-content:flex-end}@media (max-width:720px){.cover-elsewhere{padding:14px}.cover-elsewhere__form-grid{grid-template-columns:minmax(0,1fr)}.cover-card__outcome-actions{width:100%}.cover-card__outcome-actions button{flex:1 1 auto}}.contact-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);margin-top:10px;overflow:hidden}.contact-section__summary{align-items:center;cursor:pointer;display:flex;gap:10px;list-style:none;min-height:48px;padding:0 14px;transition:var(--transition);-webkit-user-select:none;-moz-user-select:none;user-select:none}.contact-section__summary::-webkit-details-marker{display:none}.contact-section__summary:hover{background:var(--surface-subtle)}.contact-section__summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.contact-section__title{color:var(--text-strong);font-size:14px;font-weight:650;letter-spacing:-.01em}.contact-section__count{background:var(--tint-a-wash);border-radius:999px;color:var(--tint-a-ink);font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700;min-width:22px;padding:3px 8px;text-align:center}.contact-section__count--empty{background:transparent;color:var(--text-faint);font-weight:500;padding-left:0}.contact-section__chevron{color:var(--text-faint);flex:0 0 auto;height:18px;margin-left:auto;transition:transform var(--transition-duration) var(--transition-ease);width:18px}.contact-section[open] .contact-section__chevron{transform:rotate(180deg)}.contact-section[open] .contact-section__summary{border-bottom:1px solid var(--border-subtle)}.contact-section__body{padding:14px}.contact-section__body>.contacts-documents,.contact-section__body>.cover-elsewhere,.contact-section__body>section{background:none;border:0;border-radius:0;box-shadow:none;margin:0;padding:0}@media (max-width:720px){.contact-section__summary{min-height:52px;padding:0 12px}.contact-section__body{padding:12px}}.contact-folds{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);margin-top:18px;overflow:hidden}.contact-folds .contact-section{border:0;border-radius:0;box-shadow:none;margin:0}.contact-folds .contact-section+.contact-section{border-top:1px solid var(--border-subtle)}.contact-folds .contact-section[open]>.contact-section__summary{background:var(--surface-subtle)}.import-preview-pager{align-items:center;display:flex;gap:12px;justify-content:center;margin-top:12px}.import-preview-pager__step{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);cursor:pointer;font:inherit;font-size:12.5px;font-weight:600;min-height:34px;padding:0 14px;transition:var(--transition)}.import-preview-pager__step:hover:not(:disabled){background:var(--surface-subtle);border-color:var(--text-faint);color:var(--text-strong)}.import-preview-pager__step:disabled{color:var(--text-faint);cursor:default;opacity:.55}.import-preview-pager__position{color:var(--text-muted);font-size:12.5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.import-preview-table__ignored{color:var(--warning-700);display:block;font-size:11px;line-height:1.4;margin-top:4px;max-width:34ch}.contacts-import__working{background:var(--tint-c-wash);border:1px solid var(--tint-c-line);border-radius:var(--radius-md);color:var(--text-body);font-size:12.5px;line-height:1.55;margin:14px 0 0;padding:12px 14px}.products-page__header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.register-pager{align-items:center;border-top:1px solid var(--border-subtle);display:flex;gap:14px;justify-content:center;padding:14px}.register-pager__step{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-body);font-size:12.5px;font-weight:600;min-height:34px;padding:8px 14px;text-decoration:none;transition:var(--transition)}.register-pager__step:hover{background:var(--surface-subtle);border-color:var(--text-faint);color:var(--text-strong)}.register-pager__step--off{color:var(--text-faint);cursor:default;opacity:.5}.register-pager__step--off:hover{background:var(--surface);border-color:var(--border-strong);color:var(--text-faint)}.register-pager__position{color:var(--text-muted);font-size:12.5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:480px){.register-pager{gap:8px;padding:12px 8px}.register-pager__step{padding:8px 10px}}.import-cannot-update{background:var(--warning-50);border:1px solid var(--warning-300);border-left:4px solid var(--warning-600);border-radius:var(--radius-md);color:var(--warning-900);font-size:13px;line-height:1.6;margin:0 0 14px;padding:14px 16px}.import-cannot-update strong{color:var(--warning-900);display:block;margin-bottom:4px}.sortable-header.sortable-header{padding:0}.sortable-header__link{align-items:center;color:inherit;cursor:pointer;display:flex;font:inherit;gap:5px;padding:var(--cell-padding,11px 12px);text-decoration:none;transition:var(--transition);white-space:nowrap;width:100%}.sortable-header--numeric .sortable-header__link{justify-content:flex-end}.sortable-header__link:hover{background:var(--surface-subtle);color:var(--text-strong)}.sortable-header__link:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.sortable-header__link.is-active{color:var(--text-strong)}.sortable-header__arrow{color:var(--accent-600);flex:0 0 auto;height:14px;width:14px}@media (max-width:720px){.sortable-header__link{padding:10px 12px}}.contact-picker{position:relative;width:100%}.contact-picker__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);font:inherit;font-size:13px;min-height:38px;padding:0 11px;transition:var(--transition);width:100%}.contact-picker__input::placeholder{color:var(--text-faint)}.contact-picker__input:focus{border-color:var(--brand-navy);outline:none}.contact-picker__input--invalid{border-color:var(--danger-500,var(--border-strong))}.contact-picker__list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xl);left:0;list-style:none;margin:4px 0 0;max-height:260px;overflow-y:auto;padding:5px;position:absolute;right:0;top:100%;z-index:1500}.contact-picker__option{align-items:center;background:transparent;border:0;border-radius:var(--radius-xs);color:var(--text-body);cursor:pointer;display:flex;font:inherit;font-size:13px;min-height:34px;padding:7px 9px;text-align:left;transition:background-color .1s ease,color .1s ease;width:100%}.contact-picker__option--active,.contact-picker__option:hover{background:var(--surface-hover);color:var(--text-strong)}.contact-picker__empty{color:var(--text-muted);font-size:13px;padding:9px}.pipeline-stage__more{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);display:block;font-size:11px;font-weight:600;padding:10px 12px;text-align:center;text-decoration:none;transition:var(--transition)}.pipeline-stage__more:hover{background:var(--surface-hover);color:var(--text-strong)}.pipeline-stage__more:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.settings-name-form{align-items:end;display:flex;gap:10px;margin-bottom:10px}.settings-name-form .settings-invite-field{flex:1 1 auto}.settings-name-form__hint{color:var(--text-muted);font-size:12px;line-height:1.45;margin:0 0 14px}.settings-member-name-form{align-items:center;display:flex;gap:6px;margin-top:6px}.settings-member-name-form input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-xs);color:var(--text-strong);font:inherit;font-size:12px;min-width:0;padding:5px 8px;width:100%}.settings-member-name-form input:focus{border-color:var(--brand-navy);outline:none}.settings-member-name-form button{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-xs);color:var(--text-body);cursor:pointer;flex:0 0 auto;font:inherit;font-size:12px;font-weight:600;padding:5px 10px;transition:var(--transition)}.settings-member-name-form button:hover{background:var(--surface-hover);color:var(--text-strong)}.settings-member-name-form button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.approvals-tabs{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-md);gap:2px;margin-bottom:14px;max-width:100%;padding:3px}.approvals-tab,.approvals-tabs{align-items:center;display:inline-flex}.approvals-tab{border-radius:var(--radius-xs);color:var(--text-muted);font-size:12.5px;font-weight:500;gap:8px;min-height:28px;padding:0 14px;text-decoration:none;transition:var(--transition);white-space:nowrap}.approvals-tab--active,.approvals-tab:hover{color:var(--text-strong)}.approvals-tab--active{background:var(--surface);box-shadow:var(--shadow-xs);font-weight:600}.approvals-tab__count{background:var(--surface-subtle);border-radius:999px;color:var(--text-muted);font-size:11px;min-width:20px;padding:1px 7px;text-align:center}.approval-state{border-radius:999px;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.02em;padding:3px 9px;white-space:nowrap}.approval-state--pending{background:var(--warning-50);color:var(--warning-800)}.approval-state--approved{background:var(--success-50);color:var(--success-800)}.approval-state--returned{background:var(--danger-100);color:var(--danger-700)}.approvals-table-wrap{border-radius:var(--radius-md);max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.approvals-table{border-collapse:collapse;min-width:1040px;width:100%}.approvals-table td,.approvals-table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;line-height:1.4;padding:11px 12px;text-align:left;vertical-align:middle;white-space:nowrap}.approvals-table td:first-child,.approvals-table td:nth-child(2),.approvals-table th:first-child,.approvals-table th:nth-child(2){overflow-wrap:break-word;white-space:normal}.approvals-table thead th{background:var(--surface-subtle);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.approvals-table tbody th{color:var(--text-strong);font-weight:600}.approvals-table tbody tr:last-child td,.approvals-table tbody tr:last-child th{border-bottom:none}.approvals-table td:nth-child(4),.approvals-table th:nth-child(4){text-align:right}.approvals-table th:first-child{width:200px}.approvals-table th:nth-child(2){width:250px}.approvals-table th:nth-child(3){width:180px}.approvals-table th:nth-child(4){width:110px}.approvals-table th:nth-child(5){width:150px}.approvals-table th:nth-child(6),.approvals-table th:nth-child(7){width:120px}.approval-review__summary{align-items:flex-start;border-bottom:1px solid var(--border-subtle);display:flex;gap:16px;justify-content:space-between;padding-bottom:14px}.approval-review__summary h3{color:var(--text-strong);font-size:18px;font-weight:600;margin:0}.approval-review__summary h3 a{color:inherit;text-decoration:none}.approval-review__summary h3 a:hover{text-decoration:underline}.approval-review__summary p{color:var(--text-muted);font-size:13px;margin:4px 0 0}.approval-review__asked{color:var(--text-muted);font-size:13px;margin:12px 0 0}.approval-review__note{background:var(--surface-subtle);border-left:3px solid var(--border);border-radius:var(--radius-xs);color:var(--text-body);font-size:13px;line-height:1.5;margin:10px 0 0;padding:10px 12px}.approval-review__note--returned{background:var(--danger-100);border-left-color:var(--danger-600);color:var(--danger-700)}.approval-review__note--approved{background:var(--success-50);border-left-color:var(--success-600);color:var(--success-800)}.approval-review__panel{border-top:1px solid var(--border-subtle);margin-top:18px;padding-top:14px}.approval-review__panel-header{align-items:baseline;display:flex;flex-wrap:wrap;gap:4px 10px;margin-bottom:10px}.approval-review__panel-header h4{color:var(--text-strong);font-size:14px;font-weight:600;margin:0}.approval-review__panel-header span{color:var(--text-muted);font-size:12px}.approval-review__table{border-collapse:collapse;width:100%}.approval-review__table td,.approval-review__table th{border-bottom:1px solid var(--border-subtle);color:var(--text-body);font-size:13px;padding:8px 10px;text-align:left}.approval-review__table thead th{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.approval-review__table td:not(:first-child),.approval-review__table th:not(:first-child){text-align:right}.approval-review__totals{color:var(--text-muted);display:flex;flex-wrap:wrap;font-size:13px;gap:6px 18px;margin:10px 0 0}.approval-review__totals strong{color:var(--text-strong)}.approval-review__documents{display:grid;grid-gap:6px 18px;gap:6px 18px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));list-style:none;margin:0;padding:0}.approval-review__document{color:var(--text-body);display:flex;font-size:13px;gap:8px}.approval-review__document span{color:var(--warning-600);font-weight:700}.approval-review__document--in{color:var(--text-muted)}.approval-review__document--in span{color:var(--success-600)}.approval-review__figures{display:grid;grid-gap:10px 16px;gap:10px 16px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:0}.approval-review__figure dt{color:var(--text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.approval-review__figure dd{color:var(--text-strong);font-size:17px;font-weight:600;margin:4px 0 0}.approval-review__elsewhere,.approval-review__stamp{color:var(--text-muted);font-size:12px;margin:10px 0 0}.approval-review__missing{color:var(--text-muted);font-size:13px;margin:0}.approval-review__missing--warn{color:var(--warning-700);font-weight:600}.approval-decision{border-top:1px solid var(--border);display:grid;grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:20px;padding-top:18px}.approval-decision__side h4{color:var(--text-strong);font-size:14px;font-weight:600;margin:0}.approval-decision__side p{color:var(--text-muted);font-size:12px;line-height:1.5;margin:4px 0 10px}.approval-decision__side textarea{margin-bottom:10px;width:100%}.approvals-page__approve-button,.approvals-page__return-button{border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:13px;font-weight:600;padding:9px 14px;transition:var(--transition);width:100%}.approvals-page__approve-button{background:var(--success-600);border:1px solid var(--success-600);color:var(--color-white)}.approvals-page__approve-button:hover{background:var(--success-700);border-color:var(--success-700)}.approvals-page__return-button{background:var(--color-white);border:1px solid var(--danger-300);color:var(--danger-700)}.approvals-page__return-button:hover{background:var(--danger-100)}.approvals-page__approve-button:focus-visible,.approvals-page__return-button:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.sidebar__badge{background:var(--accent-500);border-radius:999px;color:var(--color-white);font-size:11px;font-weight:700;line-height:1;margin-left:auto;min-width:18px;padding:3px 6px;text-align:center}.follow-ups__kind--approval,.follow-ups__tally--approval{background:var(--warning-50);color:var(--warning-800)}.follow-ups__tally--approval{border:1px solid var(--warning-200)}select.field-input{background:var(--surface) var(--select-chevron) no-repeat right 11px center;background-size:12px;cursor:pointer;padding-right:32px;text-overflow:ellipsis}.documents-page{display:grid;grid-gap:20px;gap:20px;max-width:100%;min-width:0}.documents-page__header{display:grid;grid-gap:6px;gap:6px;min-width:0}.documents-page__description{color:var(--text-muted);font-size:13px;line-height:1.6;margin:0;max-width:860px}.documents{display:grid;grid-gap:18px;gap:18px}.documents__error{background:var(--danger-50);border:1px solid var(--danger-200);border-radius:var(--radius-sm);color:var(--danger-700);font-size:13px;margin:0;padding:10px 12px}.documents__note{color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:0}.documents__group{display:grid;grid-gap:10px;gap:10px}.documents__group-header{align-items:baseline;border-bottom:1px solid var(--border);display:flex;gap:10px;justify-content:space-between;padding-bottom:6px}.documents__group-title{font-size:12px;font-weight:700;letter-spacing:.06em;margin:0;text-transform:uppercase}.documents__group-count{color:var(--text-faint);font-size:12px}.documents__list{display:grid;grid-gap:10px;gap:10px;list-style:none;margin:0;padding:0}.documents__toolbar{align-items:center;display:flex;gap:10px;justify-content:space-between}.documents__search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);font:inherit;font-size:13px;max-width:320px;min-height:36px;padding:0 11px;transition:var(--transition);width:100%}.documents__search:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.documents__count{color:var(--text-faint);font-size:12px;white-space:nowrap}.document-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);min-width:0;transition:var(--transition)}.document-row:hover{border-color:var(--border-strong)}.document-row--retired{opacity:.62}.document-row__details{min-width:0}.document-row__summary::-webkit-details-marker{display:none}.document-row__summary{align-items:center;cursor:pointer;display:flex;gap:10px;list-style:none;min-height:48px;min-width:0;padding:8px 14px}.document-row__summary:hover{background:var(--surface-hover);border-radius:var(--radius-md)}.document-row__summary:focus-visible{border-radius:var(--radius-md);box-shadow:var(--ring);outline:none}.document-row__chevron{background:var(--select-chevron) no-repeat center;background-size:11px;flex-shrink:0;height:12px;transform:rotate(-90deg);transition:transform .14s ease;width:12px}.document-row__details[open] .document-row__chevron{transform:rotate(0deg)}.document-row__details[open] .document-row__summary{border-bottom:1px solid var(--border);border-radius:var(--radius-md) var(--radius-md) 0 0}.document-row__name{color:var(--text-strong);font-size:14px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-row__chips{display:flex;flex-shrink:0;flex-wrap:wrap;gap:6px;margin-left:auto}.document-row__body{display:grid;grid-gap:14px;gap:14px;padding:16px 14px}.document-chip{background:var(--surface-muted);border-radius:999px;color:var(--text-muted);font-size:11px;font-weight:600;max-width:190px;overflow:hidden;padding:3px 9px;text-overflow:ellipsis;white-space:nowrap}.document-chip--required{background:var(--brand-50);color:var(--brand-700)}.document-chip--none{background:transparent;border:1px solid var(--border);color:var(--text-faint)}.document-chip--retired{background:transparent;border:1px dashed var(--border-strong)}.document-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-strong);font:inherit;font-size:13px;min-height:34px;min-width:0;padding:0 10px;transition:var(--transition);width:100%}.document-input:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.document-field__inline{align-items:center;display:flex;gap:8px;min-width:0}.document-card__controls{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.document-card__foot{border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end;padding-top:12px}.document-field{display:grid;grid-gap:5px;gap:5px;min-width:0}.document-field__label{color:var(--text-faint);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.document-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface) var(--select-chevron) no-repeat right 10px center;background-size:11px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-strong);cursor:pointer;font:inherit;font-size:13px;min-height:34px;min-width:0;padding:0 30px 0 10px;text-overflow:ellipsis;transition:var(--transition);width:100%}.document-select:hover:not(:disabled){border-color:var(--text-faint)}.document-select:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.document-select:disabled{background-color:var(--surface-muted);color:var(--text-faint);cursor:not-allowed}.document-toggle{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);display:grid;grid-gap:2px;gap:2px;grid-auto-columns:auto;grid-auto-flow:column;justify-self:start;max-width:100%;min-height:34px;padding:2px}.document-toggle__option{background:transparent;border:none;border-radius:calc(var(--radius-sm) - 2px);color:var(--text-muted);cursor:pointer;font:inherit;font-size:12px;font-weight:600;min-width:0;padding:0 11px;transition:var(--transition);white-space:nowrap}.document-toggle__option:hover:not(:disabled):not(.document-toggle__option--on){color:var(--text-strong)}.document-toggle__option--on{background:var(--surface);box-shadow:var(--shadow-xs);color:var(--brand-700)}.document-toggle__option:disabled{cursor:not-allowed}.document-file{align-items:center;display:flex;gap:8px;min-height:34px;min-width:0}.document-file__link{color:var(--brand-700);font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.document-file__link:hover{text-decoration:underline}.document-file__empty{color:var(--text-faint);font-size:12.5px}.document-file__input{display:none}.document-button{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-strong);cursor:pointer;flex-shrink:0;font:inherit;font-size:12px;font-weight:600;min-height:32px;padding:0 12px;transition:var(--transition)}.document-button:hover:not(:disabled){border-color:var(--text-faint);box-shadow:var(--shadow-xs)}.document-button--primary{background:var(--brand-700);border-color:var(--brand-700);color:var(--text-on-brand)}.document-button--primary:hover:not(:disabled){background:var(--brand-800);border-color:var(--brand-800)}.document-button:disabled{cursor:not-allowed;opacity:.55}.documents__add{align-items:center;background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius-md);display:flex;gap:10px;padding:12px}.documents-categories{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);display:grid;grid-gap:12px;gap:12px;padding:20px}.documents__section-title{font-size:12px;font-weight:700;letter-spacing:.06em;margin:0;text-transform:uppercase}@media (max-width:640px){.document-card__controls{grid-template-columns:1fr}}.document-picker__summary{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);color:var(--text-strong);cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;list-style:none;min-height:34px;padding:0 12px;transition:var(--transition);white-space:nowrap}.document-picker__summary:hover{border-color:var(--text-faint)}.document-picker__summary:focus-visible{border-color:var(--brand-600);box-shadow:var(--ring);outline:none}.document-picker__menu{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);display:grid;grid-gap:2px;gap:2px;overflow-y:auto;overscroll-behavior:contain;padding:6px;position:fixed;z-index:80}.document-picker__chevron{background:var(--select-chevron) no-repeat center;background-size:11px;flex-shrink:0;height:12px;transform:rotate(-90deg);transition:transform .14s ease;width:12px}.document-picker__chevron--open{transform:rotate(0deg)}.document-picker__option{align-items:center;border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:8px;min-height:32px;padding:4px 8px}.document-picker__option:hover{background:var(--surface-hover)}.document-picker__option-name{color:var(--text-strong);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-picker__option-tag{background:var(--surface-muted);border-radius:999px;color:var(--text-faint);flex-shrink:0;font-size:10.5px;font-weight:600;margin-left:auto;padding:2px 7px}.contact-documents__send{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}