/* Blue-gray theme: semantic color tokens only; layout and component sizing are inherited unchanged. */
:root{color-scheme:light;--theme-accent:#007aff;--theme-accent-solid:#0066d6;--theme-accent-hover:#0059bd;--theme-accent-soft:#e8f1ff;--theme-accent-border:#bed6f8;--theme-canvas:#f5f5f7;--theme-surface:#fff;--theme-surface-soft:#f8f9fb;--theme-surface-hover:#eff1f5;--theme-surface-strong:#e9ecf1;--theme-sidebar:#eceef2;--theme-text:#1d1d1f;--theme-secondary:#6e6e73;--theme-tertiary:#747479;--theme-on-accent:#fff;--theme-line:#d2d2d7;--theme-line-soft:#e6e8ed;--theme-success:#34c759;--theme-success-text:#18753a;--theme-success-bg:#edf8f0;--theme-success-border:#c4e8ce;--theme-warning:#ff9500;--theme-warning-text:#915000;--theme-warning-bg:#fff4e5;--theme-warning-border:#f3d7ae;--theme-danger:#ff3b30;--theme-danger-solid:#c92d25;--theme-danger-hover:#af241d;--theme-danger-bg:#fff0ee;--theme-danger-border:#f3c9c5;--theme-focus:#007aff66;--theme-shadow-soft:#1d27330a;--theme-shadow:#1d27331a;--theme-shadow-modal:#1d273333;--theme-backdrop:#1d27334d;--theme-chart-1:#357dc5;--theme-chart-2:#9863ba;--theme-chart-3:#b97730;--theme-chart-4:#4f698b;--theme-chart-5:#9270a5;--theme-chart-6:#ba5265;--theme-chart-7:#657c90;--green:var(--theme-accent-solid);--green-dark:var(--theme-accent-hover);--ink:var(--theme-text);--muted:var(--theme-secondary);--red:var(--theme-danger-solid);--line:var(--theme-line-soft);--canvas:var(--theme-canvas);--surface:var(--theme-surface)}
/* V2.0: restrained desktop materials, real CRM components and large readable type. */
:root{--green:var(--theme-accent-solid);--ink:var(--theme-text);--muted:var(--theme-secondary);--line:var(--theme-line-soft);--red:var(--theme-danger-solid);--canvas:var(--theme-canvas);--surface:var(--theme-surface);--shadow:0 2px 12px var(--theme-shadow-soft);--radius:18px}
*{box-sizing:border-box}html{font-size:16px}body{font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI","PingFang SC",sans-serif;color:var(--ink);background:var(--canvas);padding-top:30px;letter-spacing:.05px}button,input,select,textarea{font:inherit}button{transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}a{color:var(--green)}svg{width:19px;height:19px;flex-shrink:0}strong{font-weight:600}small{font-size:13px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-.8px;line-height:1.4}h2{font-size:18px;letter-spacing:-.2px;font-weight:600}h3{font-size:16px}em{font-style:normal}.local-banner{height:30px;line-height:30px;color:var(--theme-secondary);background:var(--theme-surface-soft);font-size:12px;letter-spacing:.25px;border-bottom:1px solid var(--theme-line-soft);z-index:80}
.shell{min-height:calc(100vh - 30px)}.sidebar{position:fixed;top:30px;bottom:0;width:232px;padding:25px 14px 0;background:var(--theme-sidebar);backdrop-filter:blur(24px);border-right:1px solid var(--theme-line-soft);display:flex;flex-direction:column}.sidebar>.brand{justify-content:flex-start;padding:2px 17px 28px;min-height:75px}.brand-mark{height:44px;width:44px;border-radius:14px 5px 14px 5px;font:italic 32px Georgia,serif;color:white;background:var(--green);box-shadow:0 2px 4px var(--theme-shadow-soft)}.company-logo{max-height:48px;object-fit:contain;max-width:140px}.sidebar nav{margin-top:0;scrollbar-width:thin;overflow-y:auto;min-height:0;flex:1;padding-bottom:16px}.nav-group+.nav-group{margin-top:22px}.nav-group-title{font-size:11px;letter-spacing:1px;font-weight:500;color:var(--theme-secondary);margin:0 14px 8px}.nav-item{border-radius:9px;min-height:44px;padding:10px 14px;margin-bottom:3px;gap:12px;font-size:14px;font-weight:500;color:var(--theme-secondary);background:transparent;white-space:nowrap;border:1px solid transparent;box-shadow:none}.nav-item:hover{color:var(--theme-text);background:var(--theme-surface-strong)}.nav-item.active{color:var(--theme-accent-solid);background:var(--theme-accent-soft);border-color:var(--theme-line-soft);box-shadow:0 1px 2px var(--theme-shadow-soft)}.nav-item.active svg{color:var(--green)}.nav-item b{font-size:11px;border-radius:5px;background:var(--theme-surface-strong);color:var(--theme-text);margin-left:auto;padding:0 5px;line-height:19px}.scope-note{display:none}.profile{padding:18px 8px;gap:10px;border-top:1px solid var(--theme-line-soft)}.profile strong{font-size:14px}.profile small{font-size:11px;display:block;color:var(--theme-secondary)}.profile .avatar{height:36px;width:36px;border-radius:11px;font-size:14px}.profile .icon-button{margin-left:auto}.workspace{margin-left:232px;width:calc(100% - 232px);min-width:0;max-width:none}.topbar{height:78px;padding:0 36px;gap:24px;background:var(--theme-surface-soft);backdrop-filter:blur(18px);border-bottom:1px solid var(--theme-line-soft);position:sticky;top:30px;z-index:25}.breadcrumb{color:var(--theme-secondary);font-size:13px;white-space:nowrap}.breadcrumb strong{color:var(--theme-secondary);font-weight:500}.top-date{font-size:12px;color:var(--theme-secondary);white-space:nowrap}.global-search{width:420px;max-width:52%;padding:4px 5px 4px 13px;background:var(--theme-surface);border:1px solid var(--theme-line-soft);border-radius:10px;min-height:44px;gap:9px;box-shadow:0 1px 3px var(--theme-shadow-soft)}.global-search input{font-size:13px;min-width:0;flex:1;width:100%;height:34px;border:0;padding:0;color:var(--theme-text);background:transparent}.global-search button{border:0;border-left:1px solid var(--theme-line-soft);background:var(--theme-surface-soft);color:var(--green);font-size:13px;min-height:34px;padding:5px 12px;border-radius:7px}.global-search svg{width:16px;color:var(--theme-secondary)}.global-search input:focus{outline:0}main{padding:34px 36px 52px;max-width:1680px;margin:auto;min-width:0}.page-heading{margin-bottom:28px;gap:20px;align-items:center}.page-heading h1{font-size:30px;color:var(--theme-text);margin:5px 0 8px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--theme-secondary);margin:0 0 5px}.muted,.subtle{color:var(--muted);font-size:14px}.page-heading .muted{font-size:14px;line-height:1.7}.heading-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.primary,.secondary,button[data-ops-action],button[data-sample-action],.pagination button,button[data-action="complete-task"]{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-size:14px;border-radius:9px;font-weight:500;line-height:1.5;vertical-align:middle}.primary{background:var(--green);color:var(--theme-on-accent);border:1px solid var(--theme-accent-solid);box-shadow:inset 0 1px 0 var(--theme-shadow),0 2px 4px var(--theme-shadow-soft)}.primary:hover{background:var(--theme-accent-hover);box-shadow:0 3px 9px var(--theme-shadow)}.secondary,button[data-ops-action],button[data-sample-action]{background:var(--theme-surface);color:var(--theme-accent-solid);border:1px solid var(--theme-line-soft);box-shadow:0 1px 2px var(--theme-shadow-soft)}.secondary:hover,button[data-ops-action]:hover,button[data-sample-action]:hover{background:var(--theme-surface-hover);border-color:var(--theme-line-soft)}.primary[data-sample-action]{background:var(--green);color:white;border-color:var(--green)}.text-button{color:var(--green);font-size:14px;background:transparent;padding:8px 0;min-height:38px}.text-button:hover{color:var(--theme-accent-solid);text-decoration:underline}.icon-button{height:36px;min-width:36px;font-size:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--theme-secondary);background:transparent}.icon-button:hover{background:var(--theme-surface-hover);color:var(--green)}.danger.text-button{color:var(--red)}.panel{background:var(--surface);border:1px solid var(--theme-line-soft);border-radius:var(--radius);box-shadow:0 2px 8px var(--theme-shadow-soft);min-width:0;overflow:hidden}.panel-heading{padding:22px 24px 18px;display:flex;gap:16px;align-items:center;justify-content:space-between}.panel-heading h2{font-size:18px;color:var(--theme-text);font-weight:600;margin:0}.panel-heading p{font-size:13px;color:var(--theme-secondary);margin:5px 0 0}.pad{padding:12px 24px 24px;font-size:15px}.panel-note,.analytics-note{font-size:13px;line-height:1.75;color:var(--theme-secondary);padding:14px 24px;border:0;background:var(--theme-surface-soft)}.panel small,.cell-sub{color:var(--theme-secondary)}.badge{font-size:12px;line-height:1.6;font-weight:450;padding:3px 8px;background:var(--theme-surface-soft);color:var(--theme-secondary);border-radius:5px;border:1px solid var(--theme-line-soft);display:inline-flex;align-items:center;gap:4px}.badge.blue{background:var(--theme-surface-soft);color:var(--theme-secondary);border-color:var(--theme-line-soft)}.badge.green{background:var(--theme-success-bg);color:var(--theme-success-text);border-color:var(--theme-success-border)}.badge.amber{background:var(--theme-warning-bg);color:var(--theme-warning-text);border-color:var(--theme-warning-border)}.badge.red{background:var(--theme-danger-bg);color:var(--theme-danger-solid);border-color:var(--theme-danger-border)}.badge.neutral{background:var(--theme-surface-soft);color:var(--theme-secondary);border-color:var(--theme-line-soft)}.grade{font:13px/1.5 inherit;border-radius:5px;width:25px;height:25px;background:var(--theme-surface-soft);color:var(--theme-secondary)}.avatar{width:42px;height:42px;border-radius:12px;background:var(--theme-surface-soft);color:var(--theme-secondary);font-size:18px;font-weight:500}.avatar.small{width:30px;height:30px;font-size:13px}.v20-section-label{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.v20-section-label h2{font-size:16px;margin:0}.v20-section-label span{font-size:12px;color:var(--theme-secondary)}.v20-home-work{margin-bottom:28px}.v20-home-work .panel-heading{padding-bottom:13px}.v20-home-work .overview-businesses{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:2px;padding-bottom:12px;margin:0;gap:12px}.v20-home-work .overview-businesses .secondary{background:var(--theme-surface-soft);border:0;box-shadow:none;font-size:14px;display:block;text-align:left;border-radius:10px;padding:13px 18px}.v20-home-work .overview-businesses .cell-sub{font-size:11px;margin-top:3px}.v20-home-work .overview-task-counts{display:none}.v20-home-work .task-row{padding:14px 24px}.overview-businesses{gap:18px;margin-bottom:26px}.business-overview{padding:23px 24px 18px;box-shadow:none;border-color:var(--theme-line-soft);min-height:240px}.business-overview:hover{box-shadow:0 5px 18px var(--theme-shadow-soft);border-color:var(--theme-line-soft)}.overview-card-title{font-size:17px;color:var(--theme-text);align-items:center}.overview-card-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 9px;margin:19px 0 18px}.overview-card-metrics>div span{font-size:11px;color:var(--theme-secondary)}.overview-card-metrics strong{font-size:19px;color:var(--theme-text);font-weight:550;letter-spacing:-.3px}.overview-card-metrics .overview-card-main{grid-column:1/-1;display:flex;flex-direction:row;align-items:baseline;gap:11px}.overview-card-main strong{font-size:36px;order:-1;color:var(--theme-text)}.overview-card-main span{font-size:12px}.overview-card-foot{font-size:11px;padding-top:12px}.overview-grid{gap:22px;margin-top:24px;margin-bottom:24px}.v20-progress{margin-bottom:24px}.overview-conversions{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 24px 24px;gap:24px}.overview-conversion-title strong{font-size:15px}.overview-conversion-title b{font-size:22px}.overview-conversions p{font-size:12px}.overview-task-counts{gap:12px}.overview-task-counts>div{border-radius:10px;background:var(--theme-surface-soft)}.metrics,.bd-overview-stats,.bd-kpis{gap:16px}.metric{box-shadow:none;border-radius:14px}.metric>strong{font-size:34px}.metric>span{font-size:13px}.task-row{padding:18px 24px;gap:14px;border-bottom:1px solid var(--theme-line-soft)}.task-row p{font-size:14px;color:var(--theme-secondary);white-space:normal;line-height:1.65}.task-row strong,.task-row .text-button{font-size:15px}.task-row small{font-size:12px}.task-check{width:22px;height:22px;border:1px solid var(--theme-line-soft);border-radius:7px;background:white}.task-end .text-button{font-size:13px}.task-end{gap:5px}.task-row.completed{opacity:.55}.task-row>div{min-width:0}.filters,.ops-filter{padding:20px 24px;gap:12px;background:var(--theme-surface)}.filters{align-items:center;border-bottom:1px solid var(--line)}.filters label{margin:0}.filters select{max-width:180px;border-radius:8px;font-size:13px;min-height:42px;padding:9px 12px;color:var(--theme-secondary);background:var(--theme-surface-soft);border-color:var(--theme-line-soft)}.filters .local-search{min-width:260px;max-width:360px;border:1px solid var(--theme-line-soft);border-radius:9px;padding:8px 12px;min-height:44px;background:var(--theme-surface-soft)}.filters .local-search input{font-size:14px;color:var(--theme-secondary);background:transparent}.filters .secondary{font-size:13px;padding:10px 14px}.filters .primary{font-size:13px;min-height:42px}.client-page-bar{padding:18px 24px;background:var(--theme-surface);border-color:var(--line)}.client-page-bar strong{font-size:16px;color:var(--theme-text)}.table-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}th{font-size:12px;font-weight:500;background:var(--theme-surface-soft);color:var(--theme-secondary);border-block:1px solid var(--theme-line-soft);white-space:nowrap;padding:14px 18px}td{font-size:14px;padding:17px 18px;color:var(--theme-secondary);border-bottom:1px solid var(--theme-line-soft);vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--theme-surface-hover)}.customers-table td,.customers-table th{padding:17px 16px}.customers-table th:first-child,.customers-table td:first-child{padding-left:24px}.customer-name{gap:10px}.customer-name strong{font-size:15px;color:var(--theme-text);white-space:nowrap}.customer-name small{font-size:12px;color:var(--theme-secondary);margin-top:5px}.contact-cell small,.client-table .contact-cell small{font-size:12px;color:var(--theme-secondary);line-height:1.8}.client-table .contact-cell{min-width:150px;max-width:220px}.date-cell{font:13px/1.7 inherit;color:var(--theme-secondary)}.cell-sub{font-size:12px;line-height:1.8}.wrap-cell{font-size:14px;min-width:160px;color:var(--theme-secondary)}.pagination{padding:18px 24px;font-size:13px;background:var(--theme-surface)}.pagination button{min-height:36px;font-size:13px;padding:7px 13px;border-radius:7px;border:1px solid var(--theme-line-soft);color:var(--theme-secondary);background:var(--theme-surface)}.pagination button:hover{background:var(--theme-surface-hover)}.pagination>div{display:flex;gap:7px}.bd-card-grid{gap:18px}.bd-card{border-radius:15px;padding:22px}.bd-card h3{font-size:18px}.bd-card p,.bd-card small{font-size:13px}.v20-advanced{border-top:1px solid var(--theme-line-soft);margin:16px 0;padding-top:12px}.v20-advanced summary{font-size:13px;color:var(--green);cursor:pointer;min-height:35px}.v20-advanced .form-grid{padding-top:12px}.ops-filter>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.ops-filter label{font-size:13px;color:var(--theme-secondary)}.ops-filter input,.ops-filter select{min-height:42px;font-size:14px;border-radius:8px}.ops-filter button{margin-top:10px}.bd-section-actions{padding:18px 24px;font-size:14px}.bd-section-actions>span{color:var(--theme-secondary)}.customer-tabs{gap:24px;padding:0 24px;background:var(--theme-surface);border-color:var(--line)}.customer-tabs button{font-size:14px;color:var(--theme-secondary);padding:18px 0 15px;border-bottom:2px solid transparent;min-height:52px}.customer-tabs button.selected{color:var(--theme-accent-solid);border-bottom-color:var(--theme-line-soft)}.customer-tabs b{font-size:11px;background:var(--theme-surface-soft);color:var(--theme-secondary)}.detail-header{gap:18px;margin-bottom:26px;align-items:center;flex-wrap:wrap}.detail-header .avatar{height:60px;width:60px;font-size:29px;border-radius:18px;background:var(--theme-surface-strong)}.detail-header h1{font-size:29px;margin:4px 0}.detail-header .heading-actions{margin-left:auto}.detail-tags{font-size:13px;color:var(--theme-secondary);gap:10px;flex-wrap:wrap}.back-link{font-size:13px;color:var(--theme-accent-solid);min-height:32px;margin-bottom:17px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.detail-main{grid-column:1;grid-row:1;min-width:0}.detail-aside{grid-column:2;grid-row:1;min-width:0}.detail-aside .panel{margin-bottom:20px}.detail-aside dl{padding:0 23px 22px}.detail-aside dl>div{font-size:13px;gap:12px;padding:8px 0}.detail-aside dt{color:var(--theme-secondary)}.detail-aside dd{color:var(--theme-secondary);overflow-wrap:anywhere}.detail-aside dd:focus-visible{outline:2px solid var(--theme-accent)}.detail-main>.panel{margin-bottom:22px}.v20-customer-summary{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:20px;margin-bottom:24px}.v20-value-card,.v20-next-card{padding:24px;background:var(--theme-surface);border:1px solid var(--theme-line-soft);border-radius:17px}.v20-micro{font-size:12px;letter-spacing:.6px;color:var(--theme-secondary)}.v20-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.v20-values small{display:block;font-size:12px;color:var(--theme-secondary);margin-bottom:4px}.v20-values strong{font-size:23px;font-weight:550;color:var(--theme-text);letter-spacing:-.5px;white-space:nowrap}.v20-values strong em{font-size:12px;color:var(--theme-secondary);font-weight:400}.v20-values strong.v20-date{font-size:15px;letter-spacing:0}.v20-value-card p{font-size:12px;color:var(--theme-secondary);margin:18px 0 0}.v20-next-card{background:var(--theme-surface-soft);border-color:var(--theme-line-soft)}.v20-next-card>strong{display:block;font-size:17px;color:var(--theme-text);margin-top:10px}.v20-next-card p{font-size:13px;color:var(--theme-secondary);margin:5px 0}.v20-next-card .text-button{font-size:13px;min-height:28px;margin-top:5px}.progress-panel{grid-template-columns:1.3fr 1fr 1fr;gap:18px;padding:22px 24px}.progress-panel select{min-height:42px;border:1px solid var(--theme-line-soft);border-radius:8px;font-size:14px;background:var(--theme-surface-soft);color:var(--theme-secondary);width:100%;max-width:230px}.label-text{font-size:12px;color:var(--theme-secondary)}.progress-panel strong{font-size:15px;color:var(--theme-secondary)}.timeline{padding:25px}.timeline-item{gap:15px;padding-bottom:28px}.timeline-icon{width:31px;height:31px;background:var(--theme-surface-soft);color:var(--theme-secondary)}.timeline-item:before{left:15px;background:var(--theme-surface-strong)}.timeline-item strong{font-size:14px;color:var(--theme-secondary)}.timeline-item p{font-size:14px;color:var(--theme-secondary);line-height:1.8}.timeline-item small{font-size:12px;color:var(--theme-secondary)}.timeline-title{align-items:center;flex-wrap:wrap}.timeline-meta{font-size:12px;flex-wrap:wrap;color:var(--theme-accent-solid)}.timeline-title .danger{font-size:12px;opacity:.8;min-height:25px}.bd-operating-first{gap:20px;margin-bottom:24px;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.bd-efficiency .ops-summary{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.bd-efficiency .ops-summary strong{font-size:23px;font-weight:550;color:var(--theme-secondary);overflow-wrap:anywhere}.bd-efficiency .ops-summary span{font-size:12px;color:var(--theme-secondary)}.bd-action-stack{gap:16px}.bd-action-stack .task-row{padding:12px 0}.bd-action-stack p{font-size:13px}.bd-detail-layout{grid-template-columns:minmax(0,1fr) 300px}.bd-detail-layout>.detail-aside{grid-column:2;grid-row:1}.bd-detail-layout>.detail-main{grid-column:1;grid-row:1}.bd-detail-layout>.panel{grid-column:1;grid-row:1}.bd-record{border-radius:13px;border:1px solid var(--theme-line-soft);background:var(--theme-surface);margin:16px 22px;overflow:hidden}.bd-record-head{padding:18px 20px;border-bottom:1px solid var(--theme-line-soft);gap:15px}.bd-record-head strong{font-size:15px}.bd-record-head p{font-size:12px;color:var(--theme-secondary)}.bd-record-body{padding:16px 20px;font-size:14px;color:var(--theme-secondary)}.bd-record-footer{padding:14px 20px;gap:9px;border-top:1px solid var(--theme-line-soft);flex-wrap:wrap}.bd-record-footer .secondary{min-height:38px;font-size:13px}.bd-record .tags{margin-bottom:10px}.bd-summary,.bd-overview-stats{padding:20px 24px}.bd-summary p{font-size:14px}.bd-overview-stats strong{font-size:25px}.bd-summary small{display:block;font-size:12px;margin-top:7px}.bd-kpis>div strong{font-size:28px}.ops-summary{font-size:14px}.ops-summary strong{font-size:26px}.ops-metrics,.ops-leader-grid{gap:18px}.ops-metrics>div{border-radius:14px;padding:20px}.analytics-toolbar,.analytics-filter{border-radius:14px}.analytics-metric{border-radius:14px;padding:20px}.analytics-metric strong{font-size:29px}.analytics-metric span,.analytics-metric small{font-size:13px}.analytics-table td,.analytics-table th{font-size:13px;line-height:1.8}.settings-grid{gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.settings-grid label,.modal label,.login-box label{font-size:14px;color:var(--theme-secondary);margin-bottom:16px}.settings-grid input,.settings-grid textarea,.modal input,.modal select,.modal textarea,.login-box input{font-size:15px;border-radius:9px;min-height:46px;border:1px solid var(--theme-line-soft);color:var(--theme-accent-solid);padding:11px 13px;background:var(--theme-surface)}.modal input[type=checkbox],.modal input[type=radio],.ops-inline input[type=checkbox]{min-height:0;width:18px;height:18px;display:inline-block;vertical-align:middle;margin:0 8px 0 0;accent-color:var(--green)}.form-grid{gap:2px 20px}.form-section{font-size:14px;color:var(--theme-secondary);padding-bottom:12px;border-color:var(--theme-line-soft);margin-top:20px}.product-options label{font-size:13px;margin:0}.product-options input{width:17px;height:17px;min-height:0}.form-error{font-size:14px;color:var(--red)}.modal .muted{font-size:13px;color:var(--theme-secondary)}.modal-header h2{font-size:23px;color:var(--theme-text)}.modal-header p{font-size:13px;color:var(--theme-secondary)}.modal-header{padding:23px 28px;background:var(--theme-surface);border-color:var(--theme-line-soft)}.modal-body{padding:24px 28px;max-height:calc(86vh - 185px)}.modal-footer{padding:18px 28px;border-color:var(--theme-line-soft);background:var(--theme-surface-soft);position:sticky;bottom:0;justify-content:flex-end;gap:10px}.modal{width:570px;max-width:calc(100vw - 32px)}.modal.wide{width:820px}.modal-footer .form-error{margin-right:auto}.modal-footer .primary,.modal-footer .secondary{min-height:46px;font-size:15px;padding:11px 22px}dialog{border:1px solid var(--theme-line-soft);border-radius:20px;box-shadow:0 24px 95px var(--theme-shadow-modal);max-height:90vh;background:var(--theme-surface);color:var(--ink);padding:0}dialog::backdrop{background:var(--theme-backdrop);backdrop-filter:blur(5px)}.sample-image-picker{padding:12px 18px;font-size:14px;display:inline-flex!important;cursor:pointer;align-items:center;gap:10px}.sample-inline-images{padding:20px 0;margin:10px 0;border-top:1px solid var(--theme-line-soft);border-bottom:1px solid var(--theme-line-soft)}.sample-inline-images h3{font-size:16px}.sample-upload-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;background:var(--theme-surface-soft);border-radius:12px;padding:16px;margin-top:14px;border:1px solid var(--theme-line-soft)}.sample-upload-card>img{width:120px;height:110px;object-fit:cover;border-radius:10px}.sample-upload-card strong{font-size:13px;overflow-wrap:anywhere}.sample-upload-card label{font-size:13px;margin-top:8px}.sample-existing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sample-existing-grid img{width:100%;height:110px;object-fit:cover;border-radius:9px}.sample-existing-grid p{font-size:12px}.sample-inline-preview{max-width:100%}.sample-item-row{display:grid;grid-template-columns:2fr 1fr .65fr auto;gap:10px;align-items:end}.sample-item-row label{min-width:0;margin-bottom:12px}.sample-item-row button{font-size:12px;min-height:44px;margin-bottom:12px;padding:10px}.samples-global-table td{white-space:nowrap}.samples-global-table td.wrap-cell{white-space:normal}.samples-global-table button{font-size:12px;min-height:36px;padding:7px 11px;margin:2px}.media-grid{gap:12px}.media-card{border-radius:11px;border-color:var(--theme-line-soft)}.media-card img{border-radius:8px}.media-card p{font-size:13px}.media-card button{font-size:12px;min-height:32px;padding:6px 10px}.media-upload-form{border-color:var(--theme-line-soft);border-radius:12px;padding:16px}.empty{padding:48px 24px;font-size:14px;gap:10px}.empty strong{font-size:17px}.empty span{font-size:13px;color:var(--theme-secondary)}.loading{padding:60px;font-size:15px;color:var(--theme-secondary)}.pipeline-column{background:var(--theme-surface-soft);border:1px solid var(--theme-line-soft);border-radius:14px;padding:15px;width:260px;min-width:260px}.column-heading{font-size:14px}.pipeline-card{border-radius:11px;box-shadow:0 2px 5px var(--theme-shadow-soft);border-color:var(--theme-line-soft);padding:18px}.pipeline-card .customer-title{font-size:16px;color:var(--theme-secondary)}.pipeline-card p,.pipeline-card small,.pipeline-card select{font-size:12px}.pipeline-card select{min-height:36px;border-radius:7px}.pipeline-board{gap:16px}.order-summary{padding:24px}.currency-totals{font-size:23px;color:var(--theme-secondary)}.currency-totals small{font-size:12px}.order-summary .label-text{font-size:13px}footer{font-size:11px;color:var(--theme-secondary);padding:20px 36px 28px}.login-page{background:linear-gradient(125deg,var(--theme-surface-soft),var(--theme-surface-soft));min-height:calc(100vh - 30px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0;max-width:none;padding:0}.login-story{background:radial-gradient(ellipse at 20% 80%,var(--theme-surface-soft),transparent 70%);min-height:calc(100vh - 30px);padding:58px 65px;color:var(--theme-text);border-right:1px solid var(--theme-line-soft)}.login-story .brand>div{font-size:18px;color:var(--theme-secondary)}.login-story .brand small{font-size:12px;color:var(--theme-secondary)}.login-story .brand-mark{background:var(--green);color:white}.login-story h1{font-size:45px;line-height:1.6;letter-spacing:-1px;font-weight:500;color:var(--theme-secondary)}.login-story .eyebrow{font-size:12px;color:var(--theme-secondary)}.login-story p:not(.eyebrow){font-size:15px;line-height:2;color:var(--theme-secondary)}.login-story>small{font-size:12px;color:var(--theme-secondary)}.login-box{width:400px;max-width:80%;padding:38px;background:var(--theme-surface-soft);border:1px solid var(--theme-line-soft);border-radius:22px;box-shadow:0 15px 50px var(--theme-shadow-soft)}.login-box h2{font-size:27px;font-weight:600;color:var(--theme-secondary)}.login-box>.muted{font-size:14px;color:var(--theme-secondary);margin-bottom:26px}.login-box label{font-size:14px;color:var(--theme-secondary)}.login-box input{font-size:15px;color:var(--theme-secondary);border-color:var(--theme-line-soft);min-height:48px}.login-box .primary{padding:13px 18px;font-size:15px;min-height:48px}.login-note{font-size:12px;color:var(--theme-secondary);border-color:var(--theme-line-soft);line-height:1.9}.story-line{background:var(--theme-chart-1);height:1px}.login-story .brand{justify-content:flex-start}#toast{background:var(--theme-text);color:var(--theme-on-accent);font-size:14px;padding:13px 22px;border-radius:11px;box-shadow:0 5px 22px var(--theme-shadow);z-index:200}.bd-small{font-size:13px}.bd-record pre{white-space:pre-wrap;overflow-wrap:anywhere}
.v20-home-work>.panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.v20-home-work>.panel>.panel-heading,.v20-home-work>.panel>.overview-businesses,.v20-home-work>.panel>.overview-task-counts{grid-column:1/-1}.v20-home-work>.panel>.task-row{padding:14px 24px;min-height:95px}.v20-home-work .task-row:nth-last-child(2){border-bottom:0}.v20-home-work .task-row p{margin:3px 0}.v20-home-work .task-row .text-button{min-height:28px;font-size:14px}.v20-home-work .task-row small{font-size:11px}.v20-home-work .task-end .badge{font-size:11px}
/* Final neutral text layer: avoid the low contrast green tint in older inherited styles. */
body{--ink:var(--theme-text);--muted:var(--theme-secondary)}td,.timeline-item p,.note-text,.bd-record-body{color:var(--theme-secondary)}.page-heading h1,.detail-header h1{color:var(--theme-text)}.panel-heading h2{color:var(--theme-text)}.settings-grid input,.settings-grid textarea,.modal input,.modal select,.modal textarea,.login-box input{color:var(--theme-accent-solid);border-color:var(--theme-line-soft)}.login-story h1{color:var(--theme-text)}.login-story p:not(.eyebrow){color:var(--theme-secondary)}.login-box h2{color:var(--theme-text)}.login-box>.muted,.login-note{color:var(--theme-secondary)}.login-box label{color:var(--theme-secondary)}.timeline-item strong{color:var(--theme-secondary)}.customer-name strong{color:var(--theme-text)}.badge{font-weight:450}
@media(min-width:1600px){main{padding:40px 48px 60px}.topbar{padding-inline:48px}.business-overview{padding:26px}.v20-home-work .task-row{padding-block:17px}.detail-layout,.bd-detail-layout{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:1440px){.sidebar{width:216px;padding-inline:12px}.workspace{margin-left:216px;width:calc(100% - 216px)}main{padding:28px 28px 42px}.topbar{padding:0 28px;gap:18px}.global-search{max-width:57%;width:390px}.top-date{display:none}.detail-layout,.bd-detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.detail-header h1{font-size:27px}.v20-customer-summary{grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr)}.v20-values strong{font-size:20px}.v20-values .v20-date{font-size:13px}.detail-header .heading-actions{gap:7px}.detail-header .heading-actions button{padding:10px 13px;font-size:13px}.bd-operating-first{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)}.ops-filter>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.sidebar{width:190px;padding-inline:10px}.workspace{margin-left:190px;width:calc(100% - 190px)}.nav-item{padding:10px 12px;font-size:13px}.nav-group-title{font-size:10px}.v20-values{grid-template-columns:1fr 1fr}.v20-customer-summary{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.detail-layout,.bd-detail-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.overview-card-metrics{grid-template-columns:1fr 1fr}.overview-card-main{grid-column:1/-1}.bd-efficiency .ops-summary{grid-template-columns:1fr 1fr}.business-overview{padding:21px}.panel-heading{padding:20px}.pad{padding-inline:20px}.ops-filter>.form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.breadcrumb{display:none}.global-search{max-width:100%;width:100%}.topbar{height:68px}.detail-layout,.bd-detail-layout{grid-template-columns:1fr}.detail-main,.bd-detail-layout>.panel{grid-column:1;grid-row:1}.detail-aside,.bd-detail-layout>.detail-aside{grid-column:1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-aside .panel{margin:0}.bd-operating-first{grid-template-columns:1fr}.bd-action-stack{display:grid;grid-template-columns:1fr 1fr}.overview-conversions{grid-template-columns:1fr}.overview-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}}
@media(max-width:800px){.sidebar{width:72px;padding:18px 8px 0}.sidebar>.brand{padding:0 5px 20px;justify-content:center}.brand-mark{width:40px;height:40px}.nav-item span,.nav-item b,.nav-group-title,.profile>.avatar,.profile>div{display:none}.nav-item{padding:12px 0;justify-content:center}.nav-group+.nav-group{margin-top:10px;padding-top:10px;border-top:1px solid var(--theme-line-soft)}.workspace{margin-left:72px;width:calc(100% - 72px)}.profile{justify-content:center;padding:15px 0}.profile .icon-button{margin:0}.overview-businesses{grid-template-columns:1fr}.business-overview{min-height:0}.overview-card-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.v20-home-work .overview-businesses{grid-template-columns:1fr}.v20-customer-summary{grid-template-columns:1fr}.detail-header .heading-actions{margin:0}.detail-aside,.bd-detail-layout>.detail-aside{grid-template-columns:1fr}.bd-action-stack{grid-template-columns:1fr}.sample-item-row{grid-template-columns:1.6fr 1fr .6fr}.sample-item-row button{grid-column:1/-1;width:max-content}.login-story{display:none}.login-page{display:block;padding:50px 0}.login-box{margin:0 auto;width:430px}.sample-upload-card{grid-template-columns:90px minmax(0,1fr)}.sample-upload-card>img{width:90px;height:90px}.sample-existing-grid{grid-template-columns:1fr 1fr}.modal-body{max-height:calc(90vh - 195px)}}
@media(max-width:600px){main{padding:24px 16px}.topbar{padding:10px 16px}.page-heading h1{font-size:26px}.page-heading{align-items:flex-start;flex-wrap:wrap}.detail-header .heading-actions{flex-direction:row;flex-wrap:wrap}.form-grid,.ops-filter>.form-grid{grid-template-columns:1fr}.modal-header,.modal-body{padding:20px}.modal-footer{padding:15px 20px;flex-wrap:wrap}.modal-footer .form-error{flex-basis:100%}.progress-panel{grid-template-columns:1fr}.local-banner{font-size:10px;overflow:hidden;white-space:nowrap}.global-search input{font-size:12px}.v20-values{grid-template-columns:1fr 1fr}.detail-tags{font-size:12px}.overview-card-metrics{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.v20-order-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.media-grid>article{border:1px solid var(--theme-line-soft);border-radius:12px;padding:14px}.media-grid>article img{border-radius:9px;max-height:160px;object-fit:cover}.media-grid>article>button:not([data-image-preview]){font-size:12px;min-height:34px;padding:7px 10px;border:1px solid var(--theme-line-soft);border-radius:7px;background:var(--theme-surface-soft);margin:4px 5px 0 0}.media-grid>article>strong{display:block;margin-top:10px;font-size:14px}.media-grid>article p,.media-grid>article small{font-size:12px;line-height:1.8}
@media(max-width:800px){.v20-home-work>.panel{grid-template-columns:1fr}.v20-order-totals{grid-template-columns:1fr}}

.primary.danger-primary{background:var(--theme-danger-bg);border-color:var(--theme-danger-border);color:white}

.v20-more{position:relative;display:inline-block;flex-shrink:0}.v20-more summary{list-style:none;cursor:pointer;color:var(--theme-secondary);font-size:21px;line-height:28px;min-width:30px;text-align:center;border-radius:6px}.v20-more summary:hover{background:var(--theme-surface-hover)}.v20-more[open]>.text-button{position:absolute;right:0;top:31px;z-index:30;min-width:140px;background:white;border:1px solid var(--theme-line-soft);border-radius:8px;box-shadow:0 8px 24px var(--theme-shadow);padding:12px 16px;text-align:left;white-space:nowrap;font-size:13px}.panel:has(.v20-more[open]),.bd-record:has(.v20-more[open]){overflow:visible}

.ops-summary strong.v20-unknown{color:var(--theme-secondary);font-weight:500}

/* Explicit semantic states: no layout, font, spacing or dimensions change here. */
body{--ink:var(--theme-text);--muted:var(--theme-secondary);background:var(--theme-canvas);color:var(--theme-text)}
.sidebar{background:var(--theme-sidebar);border-color:var(--theme-line)}.nav-item,.nav-item svg{color:var(--theme-secondary)}.nav-item:hover{background:var(--theme-surface-strong);color:var(--theme-text)}.nav-item.active{background:var(--theme-accent-soft);color:var(--theme-accent-solid);border-color:var(--theme-accent-border)}.nav-item.active svg{color:var(--theme-accent-solid)}.nav-item b{color:var(--theme-accent-solid);background:var(--theme-accent-soft)}
.primary,.primary[data-sample-action],.global-search button{background:var(--theme-accent-solid);border-color:var(--theme-accent-solid);color:var(--theme-on-accent)}.primary:hover,.primary[data-sample-action]:hover,.global-search button:hover{background:var(--theme-accent-hover);border-color:var(--theme-accent-hover)}
.secondary,button[data-ops-action]:not(.primary),button[data-sample-action]:not(.primary){background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-line)}.secondary:hover,button[data-ops-action]:not(.primary):hover,button[data-sample-action]:not(.primary):hover{background:var(--theme-surface-hover)}
.primary.danger-primary,.primary.danger-primary:hover{background:var(--theme-danger-solid);border-color:var(--theme-danger-solid);color:var(--theme-on-accent)}.danger,.danger.text-button{color:var(--theme-danger-solid)!important}
input,select,textarea{accent-color:var(--theme-accent-solid);caret-color:var(--theme-accent-solid)}input:focus,select:focus,textarea:focus{border-color:var(--theme-accent);outline-color:var(--theme-focus)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--theme-focus)}
button:disabled{box-shadow:none;cursor:not-allowed}::selection{background:var(--theme-accent-soft);color:var(--theme-text)}.local-banner{background:var(--theme-surface-strong);color:var(--theme-secondary);border-color:var(--theme-line)}
th{background:var(--theme-surface-soft);color:var(--theme-secondary)}tbody tr:hover{background:var(--theme-surface-soft)}.avatar,.grade,.bd-grade-S,.bd-grade-A,.bd-grade-B,.bd-grade-C,.grade-A,.grade-B,.grade-C,.grade-D{background:var(--theme-surface-strong);color:var(--theme-secondary)}
.badge,.badge.neutral{background:var(--theme-surface-strong);color:var(--theme-secondary);border-color:var(--theme-line-soft)}.badge.blue{background:var(--theme-accent-soft);color:var(--theme-accent-solid);border-color:var(--theme-accent-border)}.badge.green,.rate{background:var(--theme-success-bg);color:var(--theme-success-text);border-color:var(--theme-success-border)}.badge.amber{background:var(--theme-warning-bg);color:var(--theme-warning-text);border-color:var(--theme-warning-border)}.badge.red{background:var(--theme-danger-bg);color:var(--theme-danger-solid);border-color:var(--theme-danger-border)}
.bar-track>div,.analytics-bar>span,.overview-conversions .analytics-bar span,.ops-funnel-bar span{background:var(--theme-chart-1)}.source-dot,.activity-dot,.stage-dot{background:var(--theme-chart-1)}.dot-1{background:var(--theme-chart-2)}.dot-2{background:var(--theme-chart-3)}.overview-card-metrics strong,.overview-card-main strong,.overview-card-title,.ops-summary strong,.v20-values strong{color:var(--theme-text)}.ops-summary strong.v20-unknown{color:var(--theme-secondary)}
.login-story,.login-story .brand,.login-story h1,.login-box h2{color:var(--theme-text)}.login-story p:not(.eyebrow),.login-story .eyebrow,.login-story>small,.login-story .brand small{color:var(--theme-secondary)}.login-story .brand-mark{background:var(--theme-accent-solid);color:var(--theme-on-accent)}.story-line{background:var(--theme-accent)}.login-box label,.login-box>.muted,.login-note{color:var(--theme-secondary)}.bd-drop-active{outline-color:var(--theme-accent);background:var(--theme-accent-soft)}

/* Due today is informational; reserve semantic green for completed/successful facts. */
.task-row .badge.green{background:var(--theme-accent-soft);color:var(--theme-accent-solid);border-color:var(--theme-accent-border)}
.global-search:focus-within,.local-search:focus-within{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-focus)}
.primary.danger-primary:hover{background:var(--theme-danger-hover);border-color:var(--theme-danger-hover)}

/* Final UI: the approved silver-blue material is shared by every page.
   Decorative layers paint inside the content rail and never intercept input. */
:root{--v11-hero-silver:#f6f8fc;--v11-hero-ice:#e8f0fc;--v11-hero-blue:#d9e7fa;--v11-hero-edge:rgba(201,213,231,.78);--v11-hero-light:rgba(255,255,255,.88);--v11-hero-shadow:rgba(33,58,91,.045);--v11-card-edge:rgba(205,215,229,.70);--v11-card-shadow:rgba(28,48,77,.035);--v11-hero-glow:rgba(81,140,223,.16);--v11-highlight:rgba(255,255,255,.98);--v11-arc-bright:rgba(255,255,255,.65);--v11-arc-soft:rgba(255,255,255,.50);--v11-card-tint:#fcfdff;--v11-next-tint:#f3f7fd;--v11-hover-shadow:rgba(39,83,145,.075);--v11-modal-top:#f6f9fd;--v11-modal-bottom:#fbfcfe;--v11-active-row:#f2f7ff}
main>.page-heading,
main>.detail-header{position:relative;isolation:isolate;padding-inline:18px}
main>.page-heading::before,
main>.detail-header::before{content:"";position:absolute;inset:-14px 0;z-index:-2;pointer-events:none;border-radius:22px;border:1px solid var(--v11-hero-edge);background:radial-gradient(ellipse 370px 180px at 96% -30%,var(--v11-hero-glow),transparent 74%),linear-gradient(112deg,var(--v11-hero-light) 0%,var(--v11-hero-silver) 48%,var(--v11-hero-ice) 100%);box-shadow:inset 0 1px 0 var(--v11-highlight),0 8px 28px var(--v11-hero-shadow)}
main>.page-heading::after,
main>.detail-header::after{content:"";position:absolute;inset:-13px 1px -13px 48%;z-index:-1;pointer-events:none;border-radius:0 21px 21px 0;background:radial-gradient(ellipse at 110% 135%,transparent 0 56%,var(--v11-arc-bright) 56.3% 56.8%,transparent 57.2%),radial-gradient(ellipse at 90% -85%,transparent 0 67%,var(--v11-arc-soft) 67.3% 67.8%,transparent 68.2%);opacity:.70}
body:has(.nav-item:is([data-nav="influencers"],[data-nav="bd-pipeline"],[data-nav="operations-dashboard"]).active) main{--v11-hero-silver:#f5f7fc;--v11-hero-ice:#eaf0fc;--v11-hero-edge:rgba(198,210,231,.76)}
body:has(.nav-item:is([data-nav="domestic-customers"],[data-nav="pipeline"]).active) main{--v11-hero-silver:#f6f8fb;--v11-hero-ice:#edf1f7;--v11-hero-edge:rgba(204,213,226,.78)}
body:has(.nav-item:is([data-nav="export-customers"],[data-nav="export-pipeline"]).active) main{--v11-hero-silver:#f4f8fc;--v11-hero-ice:#e6f1fc;--v11-hero-edge:rgba(195,213,234,.78)}
main .panel{border-color:var(--v11-card-edge);box-shadow:0 2px 10px var(--v11-card-shadow),inset 0 1px 0 var(--v11-hero-light)}
main:has(>.v20-home-work) .business-overview{background:linear-gradient(155deg,var(--theme-surface),var(--v11-card-tint));border-color:var(--v11-card-edge)}
main:has(>.v20-home-work) .business-overview:hover{border-color:var(--theme-accent-border);box-shadow:0 5px 18px var(--v11-hover-shadow)}
main:has(>.v20-customer-summary) .v20-value-card,
main:has(>.v20-customer-summary) .v20-next-card{border-color:var(--v11-card-edge);box-shadow:0 2px 12px var(--v11-card-shadow),inset 0 1px 0 var(--v11-hero-light)}
main:has(>.v20-customer-summary) .v20-next-card{background:linear-gradient(135deg,var(--theme-surface),var(--v11-next-tint))}
/* Shared page rail: headings and content use the same outer width on every page. */
main>.page-heading,main>.detail-header{width:100%;margin-inline:0;box-sizing:border-box}
/* Shared materials cover lists, progress, analysis, tasks, settings and recycle. */
.bd-card,.metric,.pipeline-card,.media-card,.media-grid>article,.bd-record{border-color:var(--v11-card-edge);box-shadow:0 2px 8px var(--v11-card-shadow)}
.panel-heading,.bd-record-head{background:linear-gradient(180deg,var(--v11-card-tint),var(--theme-surface));border-color:var(--theme-line-soft)}
.pipeline-column,.sample-inline-images,.media-upload-form{background:var(--theme-surface-soft);border-color:var(--v11-card-edge)}
.filters,.ops-filter,.analytics-filter-grid,.pagination,.customer-tabs,.bd-detail-tabs{background:var(--theme-surface)}
tbody tr:hover{background:var(--v11-active-row)}
.customer-tabs button.selected,.bd-detail-tabs button.selected{color:var(--theme-accent-solid);border-bottom-color:var(--theme-accent-solid)}
/* Forms and dialogs use the same material; values stay neutral, focus stays blue. */
.modal{background:var(--theme-surface);border-color:var(--v11-card-edge);box-shadow:0 20px 60px var(--theme-shadow-modal),0 2px 10px var(--theme-shadow-soft)}
.modal-header{background:linear-gradient(112deg,var(--theme-surface),var(--v11-modal-top));border-bottom-color:var(--theme-line-soft)}
.modal-footer{background:var(--v11-modal-bottom);border-top-color:var(--theme-line-soft)}
.modal input,.modal select,.modal textarea,.settings-grid input,.settings-grid textarea,.settings-grid select,.login-box input{color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-line)}
.modal input:focus,.modal select:focus,.modal textarea:focus,.settings-grid input:focus,.settings-grid textarea:focus,.settings-grid select:focus,.login-box input:focus{border-color:var(--theme-accent);outline-color:var(--theme-focus)}
input::placeholder,textarea::placeholder{color:var(--theme-tertiary);opacity:1}
.sample-image-picker,.media-upload-form,.sample-upload-card,.sample-existing-grid>article{border-color:var(--v11-card-edge)}
.sample-existing-grid img,.sample-upload-card>img,.media-grid img{background:var(--theme-surface-soft)}
dialog::backdrop{background:var(--theme-backdrop)}
.login-page{background:linear-gradient(125deg,var(--theme-canvas),var(--v11-hero-silver))}
.login-story{background:radial-gradient(ellipse at 15% 80%,var(--v11-hero-ice),transparent 72%)}
.login-box{background:var(--theme-surface);border-color:var(--v11-card-edge)}
.team-member-list{border:1px solid var(--theme-line-soft);border-radius:12px;overflow:hidden}
.team-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid var(--theme-line-soft)}
.team-member-row:last-child{border-bottom:0}
.team-member-row>div:first-child{min-width:0}
.team-member-row strong,.team-member-row>div:first-child small{display:block;overflow-wrap:anywhere}
.team-member-row strong{font-size:14px;color:var(--theme-text)}
.team-member-row small{font-size:12px;color:var(--theme-secondary)}
.team-member-row>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}
.team-member-row .secondary{min-height:36px;padding:6px 11px;font-size:13px}
.team-member-note{font-size:12px;margin:12px 0 0}
@media(max-width:900px){main>.page-heading,main>.detail-header{padding-inline:12px}main>.page-heading::before,main>.detail-header::before{inset:-10px 0;border-radius:18px}main>.page-heading::after,main>.detail-header::after{inset:-9px 1px -9px 60%;border-radius:0 17px 17px 0}}
@media(max-width:600px){.team-member-row{align-items:flex-start;flex-wrap:wrap}.team-member-row>div:last-child{justify-content:flex-start;flex-shrink:1}}
