:root{--ink:#142747;--ink-soft:#53708f;--line:#d8e2ee;--canvas:#f4f7fb;--panel:#fff;--nav:#102c54;--nav-soft:#1a3e70;--blue:#1559b7;--blue-hover:#0f4694;--focus:#f0a62e;--good:#187754;--good-bg:#e8f6ef;--warn:#9a5a00;--warn-bg:#fff3d8;--danger:#b43345;--danger-bg:#fff0f1;--radius:10px;--shadow:0 8px 24px rgba(18,47,84,.08)}
@media(max-width:1020px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.main{padding:23px}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.claim-layout{grid-template-columns:1fr}.compact{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.compact h2{grid-column:1/-1}.compact dl{display:contents}.compact dl>div{margin:0}.two-columns{grid-template-columns:1fr}}
@media(max-width:720px){body{font-size:14px}.app-shell{display:block}.sidebar{position:static;height:auto;padding:13px 14px}.brand{padding:2px 4px 12px}.sidebar nav{display:flex;overflow:auto;gap:5px;padding-bottom:2px}.nav-link{white-space:nowrap;padding:8px 10px}.sidebar-bottom{display:none}.main{padding:20px 14px 42px}.topbar{align-items:flex-start;margin-bottom:17px}.topbar h1{font-size:23px}.userbar{font-size:12px}.toolbar{padding:12px}.filter-form,.filter-form label,.filter-form label.grow{width:100%;min-width:0}.filter-form .button{flex:1}.registry-head{display:block}.registry-head .muted{margin-top:3px}.claim-hero{display:block;padding:17px}.claim-hero h2{font-size:20px}.form-grid,.form-grid.three{grid-template-columns:1fr}.compact{display:block}.copy-link{grid-template-columns:1fr}.copy-link .button{width:100%}.inline-form>*{width:100%}.inline-form .button{width:100%}.assignment-list small{margin-left:0;width:100%}.auth-wrap,.expert-portal{min-height:auto;padding:8px 0}.auth-card,.portal-card{padding:22px}.help-grid,.expert-grid,.org-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){.button,.nav-link,.registry tbody tr{transition:background-color .16s ease,color .16s ease,border-color .16s ease}}
.help-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.help-screens figure{min-width:0;margin:0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.help-screens img{display:block;width:100%;max-width:100%;height:auto;border:1px solid #e0e8f1;border-radius:6px}.help-screens figcaption{margin:10px 2px 2px;color:#45617e;font-size:13px}.help-screens .mobile-shot{grid-column:1/-1;max-width:430px;justify-self:center}@media(max-width:720px){.help-screens{grid-template-columns:minmax(0,1fr)}.help-screens .mobile-shot{grid-column:auto;width:100%}}

/* Operator workspace: dense, intentionally calm extensions of the existing shell. */
.workspace-shell .sidebar{padding-top:20px}.nav-heading{display:block;margin:10px 9px 4px;color:#8eadd4;font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:800}.nav-heading-space{margin-top:20px}.queue-link{display:flex;align-items:center;justify-content:space-between;gap:8px}.queue-link b{font-size:11px;min-width:21px;text-align:center;padding:1px 5px;border-radius:999px;background:rgba(255,255,255,.13);color:inherit}.queue-link.is-active b{background:#d8e8ff;color:#102c54}.control-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#102c54,#1b4d86);color:#fff;border-radius:12px;padding:19px 21px;margin-bottom:13px;box-shadow:0 12px 30px rgba(16,44,84,.14)}.control-strip .eyeline{color:#a9c6eb;margin:0 0 4px}.control-strip h2{font-size:20px;letter-spacing:-.03em;margin:0}.control-strip p{margin:4px 0 0;color:#c6d9f1;font-size:12px}.metric-row{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.metric-chip{display:flex;flex-direction:column;justify-content:center;min-width:93px;min-height:58px;padding:7px 10px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.09);color:#fff;text-decoration:none}.metric-chip:hover{background:rgba(255,255,255,.17)}.metric-chip b{font-size:18px;line-height:1}.metric-chip span{font-size:10px;line-height:1.25;margin-top:4px;color:#dceafa}.workspace-toolbar{box-shadow:none}.workspace-toolbar .filter-form{gap:9px}.workspace-toolbar .filter-form label{min-width:122px}.workspace-toolbar .filter-form label.grow{min-width:215px}.filter-chips{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.filter-chips a{background:#e8f1fc;border-radius:999px;padding:4px 8px;color:#245782;text-decoration:none;font-size:11px}.registry-wrap{max-width:100%}.workspace-registry{min-width:1320px}.workspace-registry th{position:sticky;top:0;z-index:2}.workspace-registry td{padding:10px 12px}.due{white-space:nowrap;font-size:12px;color:#4e6784}.due.late{font-weight:800;color:#ad3042}.due.soon{font-weight:750;color:#9a5a00}.due.unknown{color:#71869b}.material-state{display:inline-block;font-size:11px;font-weight:750;line-height:1.25}.material-ready{color:#187754}.material-partial,.material-missing,.material-blocked_not_authenticated,.material-deferred_manual_review{color:#976000}.material-error{color:#b43345}.quick-assign{display:flex;gap:5px;min-width:215px}.quick-assign select{min-height:32px;padding:5px;font-size:11px}.quick-assign .button{min-height:32px;padding:5px 7px;font-size:11px}.next-action{font-weight:700;text-decoration:none;font-size:12px}.workspace-hero .due{color:#fff}.source-panel .panel-head form{margin:0}.source-panel .button{margin:0}.mail-state{font-size:11px;color:#5a718a}.portal-materials{border-top:1px solid #e3ebf3;border-bottom:1px solid #e3ebf3;padding:12px 0;margin:16px 0}.portal-materials h2{font-size:16px;margin:0 0 5px}.portal-materials .doc-row{display:block;text-decoration:none}.expert-registry{min-width:1100px}.mail-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.42fr);gap:16px}.mail-profile-grid .panel{margin-bottom:0}.mail-state-panel dl>div{padding:8px 0;border-top:1px solid #e3ebf3}.mail-state-panel dt{font-size:11px;color:#5e7692;font-weight:700}.mail-state-panel dd{margin:2px 0 0;font-size:13px}.warning-inline{font-size:12px;color:#8b5400;background:#fff3d8;padding:8px;border-radius:6px}.registry .quick-assign{margin:0}
@media(max-width:1200px){.control-strip{align-items:flex-start;flex-direction:column}.metric-row{justify-content:flex-start}.workspace-toolbar .filter-form label{min-width:140px}}
@media(max-width:720px){.workspace-shell .sidebar nav{display:flex;gap:5px;overflow:auto}.workspace-shell .nav-heading{display:none}.workspace-shell .nav-link{font-size:12px}.workspace-shell .queue-link b{display:none}.control-strip{padding:16px;margin-left:0;margin-right:0}.control-strip h2{font-size:18px}.metric-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.metric-chip{min-width:0}.workspace-toolbar .filter-form label,.workspace-toolbar .filter-form label.grow{min-width:0}.quick-assign{min-width:250px}.mail-profile-grid{grid-template-columns:1fr}.workspace-registry{min-width:1260px}.registry-wrap{border-radius:8px}}

/* Final operator strip: neutral container, semantic controls, no dashboard hero. */
.control-strip{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2.7fr);align-items:stretch;gap:13px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px 14px;box-shadow:var(--shadow)}.control-caption{display:flex;flex-direction:column;justify-content:center;padding:4px 5px}.control-caption strong{font-size:15px;letter-spacing:-.02em}.control-caption span{margin-top:4px;color:#607995;font-size:11px;line-height:1.35}.metric-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;width:100%;justify-content:stretch}.metric-chip{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;min-width:0;min-height:65px;padding:8px 10px;border:1px solid #d7e2ef;border-left:1px solid #6f8fb2;border-radius:7px;background:#f8fbfe;color:#173256;text-decoration:none}.metric-chip:hover{background:#f0f6fc}.metric-chip span{font-size:10px;line-height:1.2;margin:0;color:#56708d}.metric-chip b{font-size:20px;line-height:1;align-self:center}.metric-chip small{grid-column:1/-1;margin-top:5px;color:#6d8299;font-size:10px}.metric-chip.metric-danger{border-left-color:#c23d4c;background:#fff7f7}.metric-chip.metric-danger b{color:#b43345}.metric-chip.metric-warning{border-left-color:#d08b19;background:#fffaf0}.metric-chip.metric-warning b{color:#a06500}.metric-chip.metric-review{border-left-color:#16826f;background:#f2fbf8}.metric-chip.metric-review b{color:#087564}.metric-chip.metric-good{border-left-color:#21815a;background:#f3fbf6}.metric-chip.metric-good b{color:#187754}.metric-chip.metric-info{border-left-color:#2468b5}.metric-chip.metric-info b{color:#1559b7}.metric-chip.metric-neutral{border-left-color:#657e9b}.metric-chip.metric-neutral b{color:#385571}@media(max-width:1200px){.control-strip{grid-template-columns:1fr}.metric-row{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.control-strip{padding:12px}.control-caption{padding:0 2px}.metric-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.metric-chip{min-height:68px}.metric-chip small{display:none}}

/* Throughput refinements after operator review. */
.workspace-toolbar .filter-form{align-items:end}.more-filters{border:1px solid #c9d7e5;border-radius:7px;background:#f8fbfe;min-height:37px}.more-filters>summary{padding:8px 11px;color:#265783;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.more-filter-grid{display:flex;flex-wrap:wrap;gap:9px;padding:4px 10px 11px;border-top:1px solid #dce6f0}.more-filter-grid label{min-width:138px}.nav-scroll-hint{display:none}.claim-action-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;margin:-4px 0 16px;border:1px solid #d3e0ed;border-radius:8px;background:#f7fbff;color:#315575;font-size:13px}.claim-action-row strong{color:#173b67}.claim-action-links{display:flex;align-items:center;gap:4px}.registry-details details>summary,.create-expert-details>summary,.portal-access-details>summary{cursor:pointer;color:#1f578f;font-weight:750}.registry-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px;margin-top:13px}.registry-detail-grid>div{border-top:1px solid #e2eaf2;padding-top:7px}.registry-detail-grid span{display:block;color:#607995;font-size:11px;font-weight:700}.registry-detail-grid strong{display:block;margin-top:2px;font-size:13px}.collapsed-create-panel{padding:0;border:0;background:transparent;box-shadow:none;margin:0 0 12px}.create-expert-details{border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px 14px;box-shadow:var(--shadow)}.create-expert-details[open]>summary{margin-bottom:13px}.expert-registry{min-width:760px;table-layout:fixed}.expert-registry th:nth-child(1){width:14%}.expert-registry th:nth-child(2){width:10%}.expert-registry th:nth-child(3){width:15%}.expert-registry th:nth-child(4){width:16%}.expert-registry th:nth-child(5){width:19%}.expert-registry th:nth-child(6){width:13%}.expert-registry th:nth-child(7){width:13%}.expert-registry td{overflow-wrap:anywhere}.portal-access-details{margin-top:15px!important}.portal-access-details>summary{color:#765000}.portal-access-details[open]>summary{margin-bottom:7px}
@media(max-width:720px){.workspace-shell .sidebar nav{position:relative;scroll-snap-type:x mandatory;padding-bottom:6px;mask-image:linear-gradient(90deg,#000 0,#000 92%,transparent 100%)}.workspace-shell .nav-link{scroll-snap-align:start}.nav-scroll-hint{display:block;margin:1px 5px 0;color:#a7c2e3;font-size:10px}.user-name,.role{display:none}.more-filters{width:100%}.more-filter-grid{display:grid;grid-template-columns:1fr}.more-filter-grid label{min-width:0}.claim-action-row{align-items:stretch;flex-direction:column;margin-top:-5px}.claim-action-row .button{width:100%}.claim-action-links{display:grid;grid-template-columns:1fr}.claim-action-links .text-action{text-align:center}.registry-detail-grid{grid-template-columns:1fr}.portal-card .portal-access-details{margin:10px 0!important}.expert-registry{min-width:720px;font-size:12px}.expert-registry th,.expert-registry td{padding:8px 7px}}

.expert-registry{min-width:1000px}.expert-registry th{line-height:1.2;white-space:normal;padding:9px 10px}.expert-registry td{padding:9px 10px;overflow-wrap:break-word}.expert-registry th:nth-child(1){width:18%}.expert-registry th:nth-child(2){width:11%}.expert-registry th:nth-child(3){width:13%}.expert-registry th:nth-child(4){width:17%}.expert-registry th:nth-child(5){width:21%}.expert-registry th:nth-child(6){width:11%}.expert-registry th:nth-child(7){width:9%}

.expert-table-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-gutter:stable}.expert-table-scroll::-webkit-scrollbar{height:11px}.expert-table-scroll::-webkit-scrollbar-thumb{background:#99b1ca;border-radius:999px}.expert-scroll-cue{display:block;margin:0 2px 7px;color:#4f7195;font-size:12px}.expert-token-shell{display:block}.expert-token-shell .main{margin:0 auto;width:min(760px,100%)}.expert-token-shell .topbar{margin-bottom:15px}.expert-token-shell .userbar{display:none!important}.expert-token-shell .expert-portal{min-height:calc(100vh - 130px)}
.expert-registry{table-layout:auto}.expert-registry td:nth-child(5){white-space:nowrap;font-size:12px}
@media(max-width:720px){.expert-table-scroll{box-shadow:inset 0 -1px #8daeca}.expert-scroll-cue{display:block}.expert-token-shell .main{padding:16px 14px 34px}.expert-token-shell .topbar h1{font-size:21px}.expert-token-shell .expert-portal{padding:0;min-height:auto}}

/* 2026-09: unified pale-blue operator shell. The registry is the product, not a dashboard. */
:root{--ink:#122b5c;--muted:#6c82aa;--line:#dbe8f7;--blue:#1769d7;--blue-strong:#1259bd;--canvas:#f7fbff;--sidebar:#edf6ff;--panel:#fff;--shadow:0 10px 26px rgba(34,81,143,.08)}
*{scrollbar-color:#a9c6e8 transparent;scrollbar-width:thin}.workspace-shell{min-height:100vh;grid-template-columns:232px minmax(0,1fr);background:var(--canvas)}.workspace-shell .sidebar{position:sticky;top:0;height:100vh;padding:12px 10px;display:flex;flex-direction:column;background:var(--sidebar);border-right:1px solid #d8e7f7;color:var(--ink);box-shadow:none}.workspace-shell .brand{margin:0 -10px 12px;padding:0 12px 13px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #d8e7f7;color:var(--ink);text-decoration:none}.workspace-shell .brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#2e76d8;color:#fff;font-size:17px;font-weight:800;box-shadow:0 5px 12px rgba(36,100,190,.2)}.workspace-shell .brand>span:last-child{font-size:17px;font-weight:780;letter-spacing:-.025em}.workspace-shell .brand small{display:block;margin-top:1px;color:#6780aa;font-size:11px;font-weight:550;letter-spacing:0}.workspace-shell .sidebar nav{display:block;overflow-y:auto;padding:0 0 8px}.workspace-shell .nav-heading{display:block;margin:15px 10px 6px;color:#7890b0;font-size:10px;font-weight:780;letter-spacing:.04em;text-transform:uppercase}.workspace-shell .nav-heading:first-child{margin-top:4px}.workspace-shell .nav-link{display:flex;align-items:center;gap:9px;min-height:34px;margin:2px 0;padding:6px 9px;border-radius:8px;color:#294a78;font-size:13px;font-weight:650;text-decoration:none}.workspace-shell .nav-link:hover{background:#e0efff;color:#0d55bc}.workspace-shell .nav-link.is-active{background:#d5eaff;color:#0b55b8;font-weight:780;box-shadow:inset 0 0 0 1px #c5e0ff}.workspace-shell .nav-icon{width:17px;height:17px;flex:0 0 17px}.workspace-shell .queue-link b{margin-left:auto;min-width:20px;padding:2px 6px;border-radius:7px;background:#dfeaf7;color:#4b6b95;font-size:11px;line-height:1.2;text-align:center}.workspace-shell .nav-link.is-active b{background:#4c91e8;color:#fff}.workspace-shell .sidebar-bottom{margin-top:auto;padding:12px 8px 2px;border-top:1px solid #d8e7f7;color:#6e86a8;font-size:10px;line-height:1.45}.workspace-shell .sidebar-bottom a{display:flex;align-items:center;gap:7px;margin-top:9px;color:#41648f;font-weight:700;text-decoration:none}.workspace-shell .sidebar-bottom .nav-icon{width:15px;height:15px}.workspace-shell .main{min-width:0;padding:0 26px 32px;background:var(--canvas)}.workspace-shell .topbar{height:60px;margin:0 -26px 18px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1ecf8;background:rgba(255,255,255,.88);box-shadow:none}.workspace-shell .global-search{width:min(540px,55vw)}.workspace-shell .global-search label{position:relative;display:block}.workspace-shell .global-search label:before{content:'⌕';position:absolute;left:11px;top:6px;color:#6e88ad;font-size:19px;line-height:1}.workspace-shell .global-search label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.workspace-shell .global-search input{width:100%;min-height:34px;padding:7px 12px 7px 32px;border:1px solid #e0eaf6;border-radius:8px;background:#f4f8fd;color:var(--ink);font-size:12px;box-shadow:none}.workspace-shell .userbar{display:flex;align-items:center;gap:10px;font-size:12px}.workspace-shell .user-name{font-weight:760;color:#183867}.workspace-shell .role{color:#7188a8}.workspace-shell .text-action{color:#376292;font-size:12px}.workspace-shell .page-heading{display:flex;align-items:end;justify-content:space-between;margin:4px 0 13px}.workspace-shell .page-heading h1{margin:0;color:#112d61;font-size:29px;font-weight:790;letter-spacing:-.045em}.workspace-shell .panel,.workspace-shell .toolbar{border:1px solid var(--line);border-radius:11px;background:var(--panel);box-shadow:0 5px 18px rgba(34,80,142,.045)}.workspace-shell .toolbar{padding:11px 13px}.workspace-shell .panel{padding:16px}.workspace-shell .panel h2{color:#173564;font-size:17px;letter-spacing:-.025em}.workspace-shell .panel-head p,.workspace-shell .muted{color:#6c82a2}.workspace-shell .control-strip{display:block;margin:0 0 13px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.workspace-shell .control-caption{display:block;padding:0 1px 10px}.workspace-shell .control-caption strong{display:block;color:#16366a;font-size:15px}.workspace-shell .control-caption span{display:block;margin-top:3px;color:#7189a9;font-size:12px}.workspace-shell .metric-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.workspace-shell .metric-chip{display:block;min-height:80px;padding:12px;border:1px solid transparent;border-radius:10px;background:#edf5ff;color:#173b76;box-shadow:none;transition:transform .16s ease,box-shadow .16s ease}.workspace-shell .metric-chip:hover{transform:translateY(-1px);box-shadow:0 7px 15px rgba(38,91,153,.11)}.workspace-shell .metric-chip span{display:block;color:inherit;font-size:11px;font-weight:650}.workspace-shell .metric-chip b{display:block;margin:6px 0 2px;color:inherit;font-size:24px;line-height:1;font-variant-numeric:tabular-nums}.workspace-shell .metric-chip small{display:block;margin:0;color:inherit;font-size:10px;opacity:.75}.workspace-shell .metric-chip.metric-info{background:#eaf3ff;color:#1557b6}.workspace-shell .metric-chip.metric-neutral{background:#edf2f9;color:#425f88}.workspace-shell .metric-chip.metric-danger{background:#fff0f2;color:#b13d4e}.workspace-shell .metric-chip.metric-warning{background:#fff6e5;color:#9a5b00}.workspace-shell .metric-chip.metric-review{background:#eeedff;color:#5543ad}.workspace-shell .metric-chip.metric-good{background:#e9f8f4;color:#187667}.workspace-shell .registry-head{margin:13px 1px 9px}.workspace-shell .registry-head p:first-child{color:#173666;font-size:13px}.workspace-shell .table-wrap{border:1px solid #dce8f5;border-radius:10px;background:#fff}.workspace-shell .registry{font-size:12px}.workspace-shell .registry th{background:#f1f6fc;color:#587399;font-size:10px;font-weight:780}.workspace-shell .registry td{border-color:#e8f0f8;color:#243d68}.workspace-shell .registry tbody tr:hover{background:#f8fbff}.workspace-shell .registry .claim-id{color:#1260c7;font-weight:780}.workspace-shell .button.primary{background:#1769d7;border-color:#1769d7;box-shadow:0 4px 10px rgba(23,105,215,.18)}.workspace-shell .button.primary:hover{background:#1259bd;border-color:#1259bd}.workspace-shell input:focus,.workspace-shell select:focus,.workspace-shell textarea:focus{outline:3px solid rgba(47,125,229,.22);outline-offset:1px;border-color:#5c9cef}.workspace-shell .settings-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 13px}.workspace-shell .settings-tabs a{padding:7px 10px;border-radius:7px;color:#557296;font-size:12px;font-weight:700;text-decoration:none}.workspace-shell .settings-tabs a:hover,.workspace-shell .settings-tabs .is-active{background:#deefff;color:#0e5cc1}.workspace-shell .settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:13px}.workspace-shell .compact-note{font-size:11px;line-height:1.45}.workspace-shell .compact-note small{display:block;margin-top:5px;color:#6f85a4}.workspace-shell .status-positive{color:#19755f}.workspace-shell .preference-form{display:grid;gap:3px;margin-top:8px}.workspace-shell .preference-form .check{font-size:10px}.workspace-shell .preference-form .text-action{padding:2px 0;text-align:left}.workspace-shell .staff-registry{min-width:1160px}.workspace-shell .invitation-panel fieldset{margin:12px 0;padding:9px 11px;border:1px solid #dfeaf5;border-radius:8px}.workspace-shell .invitation-panel legend{padding:0 4px;color:#597595;font-size:11px;font-weight:760}.workspace-shell .invitation-panel fieldset .check{display:inline-flex;margin:3px 12px 3px 0}.public-surface{min-height:100vh;background:#f3f8ff;color:#173564}.public-main{width:min(520px,calc(100% - 32px));margin:0 auto;padding:38px 0}.public-brand{display:flex;align-items:center;gap:9px;margin:0 0 24px;color:#173564;text-decoration:none;font-weight:800}.public-brand .brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#2e76d8;color:#fff}.public-brand small{display:block;color:#7189a8;font-size:10px;font-weight:600}.public-surface .auth-wrap{padding:0}.public-surface .auth-card{background:#fff;border:1px solid #dce8f5;box-shadow:var(--shadow)}
@media(max-width:1100px){.workspace-shell .main{padding:0 18px 26px}.workspace-shell .topbar{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.workspace-shell .metric-row{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell .settings-grid{grid-template-columns:1fr}}
@media(max-width:720px){.workspace-shell{display:block}.workspace-shell .sidebar{position:relative;height:auto;padding:9px 10px;overflow:visible}.workspace-shell .brand{margin-bottom:7px}.workspace-shell .sidebar nav{display:flex;gap:4px;overflow-x:auto;overflow-y:hidden;padding:0 0 5px;scroll-snap-type:x mandatory}.workspace-shell .nav-heading{display:none}.workspace-shell .nav-link{flex:0 0 auto;margin:0;scroll-snap-align:start}.workspace-shell .nav-link span{font-size:11px}.workspace-shell .nav-link b{display:none}.workspace-shell .nav-help{display:none}.workspace-shell .sidebar-bottom{display:none}.workspace-shell .main{padding:0 13px 22px}.workspace-shell .topbar{height:53px;margin:0 -13px 14px;padding:0 13px}.workspace-shell .global-search{width:calc(100% - 60px)}.workspace-shell .global-search input{font-size:11px}.workspace-shell .userbar .text-action:first-of-type{display:none}.workspace-shell .page-heading{margin-bottom:11px}.workspace-shell .page-heading h1{font-size:24px}.workspace-shell .metric-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workspace-shell .metric-chip{min-height:72px;padding:10px}.workspace-shell .metric-chip b{font-size:21px}.workspace-shell .toolbar{padding:10px}.workspace-shell .settings-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.workspace-shell .settings-tabs a{white-space:nowrap}.workspace-shell .panel{padding:13px}.workspace-shell .staff-registry{min-width:1050px}.public-main{padding-top:22px}}
.workspace-shell .global-search label:before{display:none}.workspace-shell .global-search input{padding-left:12px}

/* Foundational controls retained independently from the operator-shell refinements above. */
*,*::before,*::after{box-sizing:border-box}
html,body{min-height:100%;background:var(--canvas)}
body{margin:0;color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.45}
a{color:var(--blue);text-underline-offset:3px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(47,125,229,.32);outline-offset:2px}
.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}
.main{width:min(1600px,100%);padding:28px 32px 56px}
.topbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 25px}
.userbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.user-name{font-weight:650}.role{color:#55708e;border-left:1px solid var(--line);padding-left:8px}
.text-action{border:0;background:transparent;color:var(--blue);padding:5px 7px;text-decoration:underline;text-underline-offset:3px}.text-action.danger{color:var(--danger)}
label{display:block;color:#425c78;font-size:12px;font-weight:650}label>span,.filter-form span{display:block;margin:0 0 4px;color:#5c718a;font-size:11px;font-weight:700;letter-spacing:.02em}
input,select,textarea{width:100%;min-height:37px;padding:8px 9px;border:1px solid #b9c9dc;border-radius:6px;background:#fff;color:var(--ink)}input::placeholder,textarea::placeholder{color:#8194aa}input:hover,select:hover,textarea:hover{border-color:#8fa6c0}textarea{resize:vertical}
.check{display:flex;gap:7px;align-items:center;color:var(--ink);font-size:13px;font-weight:500}.check input{width:auto;min-height:0}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:7px 13px;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:var(--blue-strong)}.button.subtle{border-color:#b4c8df;background:#fff;color:#194776}.button.subtle:hover,.button.ghost:hover{background:#edf4fc}.button.ghost{border-color:transparent;background:transparent;color:#315a85}
.panel,.toolbar{margin-bottom:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.panel{padding:19px}.toolbar{padding:15px 17px;margin-bottom:13px}.panel h2{margin:0 0 12px;font-size:17px;letter-spacing:-.02em}.panel h3{margin:0;font-size:15px}.panel-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head p,.panel>p{margin:4px 0 13px;color:#617792;font-size:13px}
.filter-form,.inline-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.filter-form label{min-width:142px}.filter-form label.grow{flex:1;min-width:250px}.filter-form label.check{min-width:auto;padding:8px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 13px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-note{padding:8px 10px;border-radius:6px;background:#f3f7fb;color:#58708b;font-size:12px}
.notice{margin:0 0 14px;padding:11px 13px;border-radius:8px;font-size:13px}.notice-success{border:1px solid #bce5d0;background:var(--good-bg);color:#145d42}.notice-warning{border:1px solid #f0d59e;background:var(--warn-bg);color:#765000}.notice-error{border:1px solid #f3c2cb;background:var(--danger-bg);color:#90253a}.notice-info{border:1px solid #c6d8ee;background:#eaf3ff;color:#24578f}.notice p{margin:.35rem 0 0}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.registry{width:100%;min-width:900px;border-collapse:collapse;font-size:13px}.registry th{padding:11px 14px;border-bottom:1px solid var(--line);background:#edf3f9;color:#57708e;font-size:11px;font-weight:780;letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:nowrap}.registry td{padding:11px 14px;border-bottom:1px solid #e6edf4;vertical-align:top}.registry tr:last-child td{border:0}.registry tbody tr:hover{background:#f7faff}.registry small,.doc-row small,.history small{display:block;margin-top:2px;color:#68809a;font-size:11px}
.claim-id{color:#164f9f;font-weight:750}.pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#e9eff6;color:#4a6787;font-size:11px;font-weight:750;white-space:nowrap}.status-new{background:#e9f1ff;color:#1654a5}.status-assigned,.status-awaiting_expert{background:#fef0d6;color:#936000}.status-under_review{background:#e6f7f4;color:#087564}.status-rework{background:#fff0f1;color:#ae3245}.status-ready_to_sign{background:#e9e9ff;color:#493ba0}.status-sent_manually,.status-closed{background:#e9f5ed;color:#2b724c}
.muted{color:#637a95;font-size:13px}.late{color:var(--danger);font-weight:750}.doc-row{padding:8px 0;border-top:1px solid #e5ecf3}.doc-row:first-of-type{border-top:0}.empty,.empty-inline{padding:30px;border:1px dashed #b9c9dc;border-radius:var(--radius);background:#fff;color:#617b96;text-align:center}.empty-inline{margin:8px}
.auth-wrap,.expert-portal{display:grid;min-height:calc(100vh - 145px);place-items:center;padding:18px}.auth-card,.portal-card{width:min(430px,100%);padding:28px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.auth-card.wide{width:min(660px,100%)}.auth-symbol{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#2e76d8;color:#fff;font-size:18px;font-weight:800}.auth-card .auth-symbol,.portal-card .auth-symbol{margin-bottom:17px}.auth-card h2,.portal-card h1{margin:0 0 8px;font-size:23px;letter-spacing:-.035em}.auth-card p{margin:0 0 18px;color:#617892;font-size:13px}.auth-card label,.portal-card label{margin-bottom:12px}.auth-card .button{width:100%;margin-top:5px}
fieldset{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 13px;padding:9px 11px;border:1px solid var(--line);border-radius:7px}legend{padding:0 4px;color:#5e7692;font-size:12px}
@media(max-width:720px){body{font-size:14px}.app-shell{display:block}.main{padding:20px 14px 42px}.topbar{align-items:flex-start;margin-bottom:17px}.form-grid,.form-grid.three{grid-template-columns:1fr}.filter-form,.filter-form label,.filter-form label.grow{width:100%;min-width:0}.filter-form .button,.inline-form>*{width:100%}.auth-wrap,.expert-portal{min-height:auto;padding:8px 0}.auth-card,.portal-card{padding:22px}.registry{min-width:720px}}

/* Keep the operator rail at its intentional desktop width after the generic shell baseline. */
.app-shell.workspace-shell{grid-template-columns:232px minmax(0,1fr)}

/* Telegram Mini App: the verified expert's narrow, mobile-first work surface. */
.telegram-expert-app{display:grid;gap:14px}.telegram-expert-app__intro{padding:4px 2px 0}.telegram-expert-app__intro .auth-symbol{margin:0 0 15px}.telegram-expert-app__intro h1{margin:0 0 7px;color:#173564;font-size:27px;letter-spacing:-.045em}.telegram-expert-app__intro p{margin:0;color:#607996;font-size:13px}.telegram-expert-app__state{padding:12px 13px;border:1px solid #c6d8ee;border-radius:9px;background:#eaf3ff;color:#24578f;font-size:13px;font-weight:650}.telegram-expert-app__state.is-success{border-color:#bce5d0;background:var(--good-bg);color:#145d42}.telegram-expert-app__state.is-error{border-color:#f3c2cb;background:var(--danger-bg);color:#90253a}.telegram-expert-app__content{display:grid;gap:13px}.telegram-expert-app__content[hidden],.telegram-expert-app__assignments[hidden]{display:none}.telegram-expert-app__verified{margin:0;color:#5d7591;font-size:13px}.telegram-expert-app__verified strong{color:#173564}.telegram-expert-app__open{width:100%}.telegram-expert-app__assignments{display:grid;gap:10px}.telegram-expert-app__assignment{padding:15px;border:1px solid #dbe8f7;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(34,80,142,.045)}.telegram-expert-app__assignment h2{margin:0 0 7px;color:#173564;font-size:18px;letter-spacing:-.025em}.telegram-expert-app__assignment>p{margin:8px 0;color:#5f7896;font-size:13px}.telegram-expert-app__assignment dl{display:grid;grid-template-columns:1fr;gap:7px;margin:13px 0}.telegram-expert-app__assignment dl>div{display:flex;justify-content:space-between;gap:14px;padding-top:7px;border-top:1px solid #edf2f8}.telegram-expert-app__assignment dt{color:#6d84a1;font-size:11px;font-weight:700}.telegram-expert-app__assignment dd{margin:0;color:#24436e;font-size:12px;font-weight:650;text-align:right}.telegram-expert-app__assignment .button{width:100%;margin-top:2px}.telegram-expert-app__empty{margin:0;padding:20px;border:1px dashed #b9c9dc;border-radius:10px;background:#fff;color:#617b96;font-size:13px;text-align:center}@media(max-width:720px){.telegram-expert-app__intro h1{font-size:25px}.telegram-expert-app__assignment{padding:13px}}

/* Confirmed work-calendar controls: compact operational records, never a decorative dashboard. */
.calendar-guidance,.calendar-preview,.calendar-claim-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 13px;align-items:start;margin:0 0 13px;padding:12px 14px;border:1px solid #d8e5f3;border-radius:10px;background:#f8fbff;color:#466382;font-size:12px}.calendar-guidance strong,.calendar-preview strong,.calendar-claim-note strong{color:#1d467d}.calendar-guidance span,.calendar-preview span,.calendar-claim-note span{line-height:1.45}.calendar-preview{grid-template-columns:auto minmax(0,1fr) auto;background:#f2f8ff}.calendar-preview b{color:#1759aa;font-size:16px;font-variant-numeric:tabular-nums}.calendar-preview small{grid-column:2/-1;color:#667f9d}.calendar-claim-note{margin:0 0 16px}.calendar-claim-note a{grid-column:2;color:#1763bf;font-weight:720;text-decoration:none}.calendar-day-form{display:grid;grid-template-columns:150px 170px minmax(180px,1fr) auto;gap:10px;align-items:end;margin:0 0 15px}.calendar-day-list{display:grid;border-top:1px solid #e3edf7}.calendar-day-list>div{display:grid;grid-template-columns:100px 150px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #e8eff7;font-size:12px}.calendar-day-list time{color:#557394;font-variant-numeric:tabular-nums}.calendar-day-list strong{color:#284b7b}.calendar-day-list span{color:#657e9c}.calendar-history{min-width:780px}.wide-field{grid-column:span 2}@media(max-width:900px){.calendar-day-form{grid-template-columns:1fr 1fr}.calendar-day-form label:last-of-type{grid-column:1/-1}.calendar-day-form .button{grid-column:1/-1}.calendar-preview{grid-template-columns:1fr}.calendar-preview small{grid-column:auto}.wide-field{grid-column:auto}}@media(max-width:560px){.calendar-day-list>div{grid-template-columns:1fr}.calendar-guidance,.calendar-claim-note{grid-template-columns:1fr}.calendar-claim-note a{grid-column:auto}}

/* Revision history is a chronological working record, not a separate dashboard. */
.revision-panel{display:grid;gap:13px}.revision-panel .panel-head{margin-bottom:0}.revision-create{padding:11px 13px;border:1px solid #d9e6f3;border-radius:9px;background:#f8fbff}.revision-create>summary,.revision-cycle summary{cursor:pointer;color:#1e5eac;font-size:13px;font-weight:760}.revision-create[open]>summary{margin-bottom:13px}.revision-wide{grid-column:span 2}.revision-list{display:grid;gap:10px}.revision-cycle{padding:13px 14px;border:1px solid #dce8f5;border-radius:9px;background:#fff}.revision-cycle>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.revision-cycle header strong{display:block;color:#1c3e70;font-size:14px}.revision-cycle header small{display:block;margin-top:3px;color:#6d84a1;font-size:11px}.revision-cycle dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.revision-cycle dl>div{padding-top:7px;border-top:1px solid #e9f0f8}.revision-cycle dt{color:#6a82a0;font-size:10px;font-weight:760}.revision-cycle dd{margin:2px 0 0;color:#29456d;font-size:12px;font-weight:680}.revision-cycle details{margin-top:10px;padding-top:10px;border-top:1px solid #e8eff7}.revision-cycle details[open]>summary{margin-bottom:10px}.revision-documents{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.revision-documents a{padding:4px 7px;border-radius:6px;background:#eef6ff;color:#1e5fae;font-size:11px;text-decoration:none}.revision-documents small{margin-left:3px;color:#6e86a5}.revision-decision{margin:8px 0 0;color:#526d8d;font-size:12px}.revision-attach{margin-top:10px}.revision-attach select{min-width:170px}@media(max-width:760px){.revision-cycle dl{grid-template-columns:repeat(2,minmax(0,1fr))}.revision-wide{grid-column:auto}.revision-cycle>header{display:grid}.revision-attach select{width:100%}}@media(max-width:460px){.revision-cycle dl{grid-template-columns:1fr}}
/* Tariff categories describe only an approved day range; no money is implied. */
.tariff-panel{display:grid;gap:11px}.tariff-panel .panel-head{margin-bottom:0}.tariff-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.tariff-facts>div{padding:8px 10px;border-radius:7px;background:#f7faff}.tariff-facts dt{color:#6882a1;font-size:10px;font-weight:760}.tariff-facts dd{margin:3px 0 0;color:#29456d;font-size:13px;font-weight:720}.tariff-explanation{margin:0;color:#49637f;font-size:13px}.tariff-rule-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.tariff-rule-list span{padding:4px 7px;border-radius:6px;background:#f1f6fb;color:#41617f;font-size:11px;font-weight:680}.tariff-override{padding-top:8px;border-top:1px solid #e5edf6}.tariff-override summary{cursor:pointer;color:#1e5eac;font-size:13px;font-weight:720}.tariff-override[open]>summary{margin-bottom:9px}@media(max-width:560px){.tariff-facts{grid-template-columns:1fr}}

/* Operator chats retain the distinction between a personal read mark and a
   team question.  The layout is intentionally compact enough for a queue. */
.chat-toolbar{margin-bottom:13px}.chat-toolbar .filter-form{align-items:end}.chat-toolbar .check{min-height:34px;display:flex;align-items:center;gap:6px;white-space:nowrap}.chat-workspace{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:13px;align-items:stretch}.chat-thread-list,.chat-conversation{min-height:680px}.chat-thread-list{overflow:hidden;border:1px solid #dbe8f7;border-radius:11px;background:#fff;box-shadow:0 5px 18px rgba(34,80,142,.045)}.chat-thread-list>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid #e5eef8;color:#183968}.chat-thread-list>header span{padding:2px 7px;border-radius:999px;background:#edf4fd;color:#527196;font-size:11px;font-weight:760}.chat-thread-items{max-height:730px;overflow:auto}.chat-thread{display:grid;gap:4px;padding:11px 13px;border-bottom:1px solid #edf2f8;color:#52708f;text-decoration:none}.chat-thread:hover{background:#f7fbff}.chat-thread.is-active{background:#eaf4ff;box-shadow:inset 3px 0 #2d78d8}.chat-thread-top,.chat-thread footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-thread strong{overflow:hidden;color:#244776;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.chat-thread>span:not(.chat-thread-top),.chat-thread small{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.chat-thread footer{color:#8297b0;font-size:10px}.chat-thread footer b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#2676d7;color:#fff;font-size:10px}.chat-attention,.chat-resolved{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.chat-attention{background:#fff0f2;color:#ad3347}.chat-resolved{background:#edf7f2;color:#247659}.chat-conversation{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto auto auto;gap:11px;padding:0!important;overflow:hidden}.chat-conversation-head{display:flex;align-items:start;justify-content:space-between;gap:13px;padding:16px 17px 0}.chat-conversation-head h2{margin:0;color:#163869;font-size:18px}.chat-conversation-head p{margin:3px 0 0;color:#6e85a2;font-size:12px}.chat-context{display:flex;flex-wrap:wrap;gap:7px;padding:0 17px 12px;border-bottom:1px solid #e7eff8}.chat-context span{display:grid;gap:1px;padding:5px 7px;border-radius:7px;background:#f3f7fc;color:#32547f;font-size:11px}.chat-context small{color:#7b91ac;font-size:9px;font-weight:760;text-transform:uppercase}.chat-history{display:grid;align-content:start;gap:8px;min-height:280px;max-height:510px;padding:4px 17px 13px;overflow:auto;scroll-behavior:smooth}.chat-message{width:min(88%,650px);padding:9px 10px;border:1px solid #dae7f4;border-radius:10px;background:#fff;color:#29476f}.chat-message-incoming{justify-self:start;background:#f5f9fe}.chat-message-outgoing{justify-self:end;border-color:#c8def8;background:#eaf4ff}.chat-message-internal{justify-self:center;width:min(94%,720px);border-style:dashed;background:#fff9e9}.chat-message header,.chat-message footer{display:flex;align-items:center;justify-content:space-between;gap:9px}.chat-message header strong{color:#24426d;font-size:11px}.chat-message header span,.chat-message footer{color:#7690ad;font-size:10px}.chat-message-body{margin:5px 0;color:#1e3c66;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message footer .text-action{padding:0;border:0;background:transparent;cursor:pointer;font-size:10px}.chat-reply-ref{margin:4px 0;color:#6b85a4;font-size:10px}.chat-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0 17px 2px}.chat-actions .inline-form{display:flex;align-items:end;gap:6px;margin:0}.chat-actions label{display:grid;gap:3px;color:#607b9b;font-size:10px;font-weight:700}.chat-actions input,.chat-actions select{min-height:30px;padding:4px 6px;font-size:11px}.chat-actions .button{min-height:30px;padding:5px 8px;font-size:11px}.chat-compose,.chat-note{display:grid;gap:8px;margin:0 17px 16px;padding:11px 12px;border:1px solid #d9e7f5;border-radius:9px;background:#f8fbff}.chat-compose header,.chat-compose footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-compose header strong{color:#1b467e;font-size:13px}.chat-compose header span,.chat-compose footer small{color:#6a83a0;font-size:10px}.chat-compose textarea,.chat-note textarea{min-height:76px;margin:0;resize:vertical}.chat-note{margin-top:-7px;background:#fffdf4}.chat-note label{display:grid;gap:4px;color:#715f28;font-size:11px;font-weight:750}.chat-note .button{justify-self:end}.chat-readonly,.chat-empty{margin:15px;color:#6d85a2;font-size:13px}.chat-conversation>.chat-readonly{margin:0 17px 17px;padding:9px 11px;border-radius:8px;background:#f1f6fc}.chat-thread-list .chat-empty{padding:0 13px}@media(max-width:920px){.chat-workspace{grid-template-columns:1fr}.chat-thread-list,.chat-conversation{min-height:0}.chat-thread-items{max-height:280px}.chat-history{max-height:430px}}@media(max-width:620px){.chat-toolbar .filter-form{display:grid;grid-template-columns:1fr 1fr}.chat-toolbar .filter-form label{min-width:0}.chat-toolbar .filter-form .button{grid-column:1/-1}.chat-workspace{gap:10px}.chat-conversation-head{padding:13px 13px 0}.chat-context{padding:0 13px 10px}.chat-history{max-height:390px;padding:3px 13px 11px}.chat-message{width:94%}.chat-actions{display:grid;padding:0 13px}.chat-actions .inline-form{display:grid}.chat-actions .inline-form .button{width:100%}.chat-compose,.chat-note{margin-left:13px;margin-right:13px}.chat-compose footer{align-items:stretch;flex-direction:column}.chat-compose footer .button{width:100%}}

.chat-message-attachments{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.chat-message-attachments span,.chat-message-attachments a{padding:3px 5px;border-radius:5px;background:#e8f1fb;color:#416487;font-size:10px;text-decoration:none}.chat-attachments{display:grid;gap:7px;margin:0 17px;padding:10px 11px;border:1px solid #e0eaf5;border-radius:9px;background:#f9fbfe}.chat-attachments h3{margin:0;color:#31557f;font-size:12px}.chat-attachment{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding-top:7px;border-top:1px solid #e8eff7;color:#617b98;font-size:11px}.chat-attachment strong{color:#294b76}.chat-attachment .inline-form{display:flex;align-items:center;gap:5px;margin-left:auto}.chat-attachment .inline-form select,.chat-attachment .inline-form .button{min-height:29px;padding:4px 6px;font-size:10px}@media(max-width:620px){.chat-attachments{margin:0 13px}.chat-attachment{display:grid}.chat-attachment .inline-form{margin-left:0}.chat-attachment .inline-form select,.chat-attachment .inline-form .button{width:100%}}

/* Task 30: private, queued registry exports. */
.workspace-shell .registry-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.workspace-shell .registry-export{display:grid;justify-items:end;gap:4px;max-width:350px}.workspace-shell .registry-export small{color:#6c82a2;font-size:10px;line-height:1.35;text-align:right}.workspace-shell .registry-export .button[disabled]{cursor:not-allowed;opacity:.55}.workspace-shell .export-jobs{display:flex;flex-wrap:wrap;gap:7px;margin:0 1px 10px}.workspace-shell .export-jobs span{padding:5px 8px;border:1px solid #dce8f5;border-radius:7px;background:#f8fbff;color:#5d7697;font-size:11px}.workspace-shell .export-jobs b{color:#254b7d}.workspace-shell .export-jobs a{color:#1260c7;font-weight:750;text-decoration:none}@media(max-width:720px){.workspace-shell .registry-head{display:block}.workspace-shell .registry-export{justify-items:stretch;max-width:none;margin-top:10px}.workspace-shell .registry-export small{text-align:left}.workspace-shell .registry-export .button{width:100%}}

/* People registries are intentionally spreadsheet-like: one stable row per
   organization membership, direct fields, and explicit saves. */
.people-panel{padding:0!important;overflow:visible}.people-panel>.panel-head{padding:16px 17px 0}.people-panel>.panel-head h2{margin:0 0 4px;color:#183b6b;font-size:19px}.people-panel>.panel-head p{margin:0;color:#617b99;font-size:12px;line-height:1.45}.people-panel>.registry-scroll-cue{margin:9px 17px 7px}.people-table-wrap{margin:0;overflow-x:auto;overflow-y:visible;border-top:1px solid #dfeaf5;border-radius:0 0 10px 10px}.people-spreadsheet{min-width:1280px;table-layout:fixed;border-collapse:separate;border-spacing:0}.expert-spreadsheet{min-width:1430px}.people-spreadsheet th{position:sticky;top:0;z-index:1;padding:9px 8px;background:#f4f8fd;color:#456788;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.people-spreadsheet td{padding:7px 8px;vertical-align:top;border-bottom:1px solid #e5edf6;background:#fff;color:#365576;font-size:12px}.people-spreadsheet tbody tr:hover td{background:#fbfdff}.people-spreadsheet td:nth-child(1){min-width:170px}.people-spreadsheet td:nth-child(2){min-width:190px}.people-spreadsheet td:nth-child(3){min-width:140px}.expert-spreadsheet td:nth-child(4){min-width:180px}.people-spreadsheet td:nth-child(5){min-width:175px}.people-spreadsheet td:nth-child(6){min-width:145px}.people-spreadsheet td:nth-child(7){min-width:145px}.people-spreadsheet td:nth-child(8){min-width:230px}.people-spreadsheet input:not([type="checkbox"]),.people-spreadsheet select{box-sizing:border-box;width:100%;min-height:32px;padding:5px 7px;border:1px solid #cbdced;border-radius:6px;background:#fff;color:#203f68;font-size:12px;line-height:1.2}.people-spreadsheet input:not([type="checkbox"]):hover,.people-spreadsheet select:hover{border-color:#9bbce1}.people-spreadsheet input:not([type="checkbox"]):focus,.people-spreadsheet select:focus,.cell-action:focus-visible,.inline-confirm input:focus-visible,.cell-check input:focus-visible{outline:3px solid rgba(38,112,207,.28);outline-offset:2px}.people-spreadsheet input:invalid{border-color:#c94759;background:#fff7f8}.people-spreadsheet small{display:block;margin-top:4px;color:#7188a3;font-size:10px;line-height:1.35}.spreadsheet-add-row td{background:#f5f9fe!important;border-bottom-color:#cbdff4}.spreadsheet-add-row input:not([type="checkbox"]),.spreadsheet-add-row select{border-color:#a8c8e8;background:#fff}.cell-status,.telegram-state{display:inline-flex;align-items:center;min-height:25px;max-width:100%;padding:3px 7px;border-radius:999px;background:#eef4fb;color:#416584;font-size:10px;font-weight:780;line-height:1.2}.cell-status.is-active,.telegram-state.is-bound{background:#e8f6ee;color:#196441}.cell-status.is-pending,.telegram-state.is-pending{background:#fff5db;color:#866016}.telegram-state.is-idle{background:#f1f5fa;color:#657e99}.cell-check,.inline-confirm{display:inline-flex;align-items:center;gap:4px;margin:2px 5px 2px 0;color:#56728f;font-size:10px;line-height:1.2;white-space:nowrap}.cell-check input,.inline-confirm input{width:13px;height:13px;margin:0;accent-color:#206bc4}.row-form,.row-action-form,.row-danger-form{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 5px}.row-danger-form{padding-top:5px;border-top:1px dashed #dbe5f0}.cell-action{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:5px 7px;border:1px solid #bdd2e8;border-radius:6px;background:#fff;color:#245b99;cursor:pointer;font-size:10px;font-weight:760;line-height:1.05;text-decoration:none}.cell-action:hover{border-color:#77a8dc;background:#edf6ff;color:#164d90}.cell-action.primary{border-color:#276fc6;background:#236ec8;color:#fff}.cell-action.primary:hover{border-color:#155aa9;background:#155fae}.cell-action.danger{border-color:#e3bbc1;color:#9e3344}.cell-action.danger:hover{border-color:#d77784;background:#fff4f5;color:#862434}.empty-inline{padding:16px;color:#607b99;font-size:13px;text-align:center}.people-spreadsheet:has(input:focus) tr:has(input:focus) td,.people-spreadsheet:has(select:focus) tr:has(select:focus) td{background:#f8fbff}
@media(max-width:720px){.people-panel>.panel-head{padding:14px 13px 0}.people-panel>.registry-scroll-cue{margin:8px 13px 7px}.people-table-wrap{-webkit-overflow-scrolling:touch}.people-spreadsheet{min-width:1180px}.expert-spreadsheet{min-width:1330px}.people-spreadsheet td{padding:6px}.cell-action{min-height:31px}.row-form,.row-action-form,.row-danger-form{gap:5px}}

/* 2026-09: explainable quality analytics remains a compact operational report. */
.analytics-toolbar{display:grid;gap:9px;margin-bottom:13px}.analytics-toolbar .muted,.analytics-definition p,.analytics-note{margin:0;color:#637c9d;font-size:12px;line-height:1.5}.analytics-definition{margin-bottom:13px}.analytics-definition h2{margin-bottom:6px}.analytics-metrics{grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:9px}.analytics-metrics .metric-chip{min-height:92px}.analytics-note{margin:0 1px 13px}.analytics-table{margin:13px 0}.analytics-table .registry{min-width:710px}.analytics-table .panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.analytics-table .panel-head h2{margin-bottom:3px}@media(max-width:1180px){.analytics-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-table .panel-head{display:block}.analytics-table .panel-head .button{margin-top:8px}}

/* Task 29: keyboard-visible registry controls and date-heavy work queue. */
.skip-link{position:fixed;z-index:20;left:12px;top:-60px;padding:9px 12px;border-radius:7px;background:#102c54;color:#fff;font-weight:750;text-decoration:none}.skip-link:focus{top:12px}.workspace-registry{min-width:1720px}.workspace-registry .date-cell{white-space:nowrap;color:#29496f;font-variant-numeric:tabular-nums}.workspace-registry .tariff-cell{max-width:160px;color:#3c5c82;font-size:11px;line-height:1.35}.sort-link{display:inline-flex;align-items:center;gap:2px;color:inherit;text-decoration:none}.sort-link:hover{text-decoration:underline;text-underline-offset:3px}.sort-link.is-active{color:#154f99}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.registry-scroll-cue{display:none;margin:7px 2px 8px;color:#617d9d;font-size:12px}.workspace-toolbar .filter-form[aria-busy="true"] .button[type="submit"]{cursor:progress;opacity:.72}@media(max-width:720px){.workspace-registry{min-width:1660px}.registry-scroll-cue{display:block}.workspace-shell .filter-chips{max-height:62px;overflow:auto;padding-bottom:3px}}

/* Task 34: the guide is a reading flow with direct, role-safe next actions. */
.help-intro{padding:3px 2px 18px;max-width:820px}.help-intro h2{margin:3px 0 8px;color:#173967;font-size:27px;letter-spacing:-.04em}.help-intro>p:last-of-type{margin:0;color:#5e7797;font-size:14px;line-height:1.55}.eyeline{margin:0;color:#547da8;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.help-jump{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.help-jump a{padding:5px 9px;border:1px solid #d4e2f2;border-radius:999px;background:#fff;color:#2460a2;font-size:12px;font-weight:720;text-decoration:none}.help-jump a:hover{border-color:#9fc1e6;background:#f2f8ff}.help-status{display:grid;grid-template-columns:155px minmax(0,1fr);gap:14px;margin:0 0 15px;padding:12px 14px;border:1px solid #e5cf9f;border-radius:10px;background:#fff8e8;color:#75561e;font-size:12px;line-height:1.5}.help-status strong{color:#76521a}.help-section{display:grid;gap:13px;margin-bottom:14px;padding:19px 20px}.help-section-head{max-width:760px}.help-section-head h2{margin:3px 0 0;color:#1b3d6b;font-size:20px;letter-spacing:-.025em}.help-steps{display:grid;gap:8px;max-width:900px;margin:0;padding-left:21px;color:#45617f;font-size:13px;line-height:1.5}.help-steps li{padding-left:3px}.help-steps a,.context-help a{color:#135cad;font-weight:730;text-decoration:none}.help-steps a:hover,.context-help a:hover{text-decoration:underline;text-underline-offset:3px}.help-callout{margin:0;padding:10px 12px;border:1px solid #d5e4f3;border-radius:8px;background:#f2f8ff;color:#456684;font-size:12px;line-height:1.5}.help-problems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;border-top:1px solid #e4edf6}.help-problems>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #e4edf6;color:#5b7594;font-size:12px;line-height:1.45}.help-problems strong{color:#264a78}.context-help{margin:0 2px 12px;color:#5d7695;font-size:12px}.expert-help{margin:13px 0;padding:10px 11px;border:1px solid #d8e5f2;border-radius:8px;background:#f8fbff;color:#526e8d;font-size:12px;line-height:1.5}.expert-help summary{cursor:pointer;color:#205a9b;font-weight:760}.expert-help[open]>summary{margin-bottom:7px}.expert-help ol{margin:0;padding-left:19px}.expert-help p{margin:8px 0 0}@media(max-width:720px){.help-intro{padding-bottom:14px}.help-intro h2{font-size:23px}.help-status{grid-template-columns:1fr;gap:4px}.help-section{padding:16px}.help-problems{grid-template-columns:1fr}.help-problems>div{grid-template-columns:1fr;gap:3px}.help-screens{margin-top:14px}}
.people-count{font-size:13px;font-weight:600;color:#456788;margin-left:6px;font-variant-numeric:tabular-nums}
.expert-spreadsheet{min-width:1360px;table-layout:fixed}.expert-spreadsheet th:nth-child(1){width:180px}.expert-spreadsheet th:nth-child(2){width:200px}.expert-spreadsheet th:nth-child(3){width:105px}.expert-spreadsheet th:nth-child(4){width:130px}.expert-spreadsheet th:nth-child(5){width:105px}.expert-spreadsheet th:nth-child(6){width:185px}.expert-spreadsheet th:nth-child(7){width:180px}.expert-spreadsheet th:nth-child(8){width:180px}
.expert-spreadsheet td:first-child,.expert-spreadsheet th:first-child{position:sticky;left:0;z-index:2;border-right:1px solid #dfeaf5}.expert-spreadsheet th:first-child{z-index:3}.expert-spreadsheet td input+input{margin-top:5px}.expert-spreadsheet td small{color:#506987}
.onboarding-status{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-variant-numeric:tabular-nums}.onboarding-status small{margin-top:0}.onboarding-step{font-size:11px;color:#506987;line-height:1.4}.onboarding-step.is-complete{color:#196441;font-weight:650}.cell-status.is-error{background:#fff0f1;color:#9b283a}.onboarding-error{color:#9b283a!important;overflow-wrap:anywhere}
.people-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin:7px 0}.people-copy input[readonly]{min-width:0;font-size:11px}.copy-feedback{grid-column:1/-1;font-size:11px;color:#456788;overflow-wrap:anywhere}.copy-feedback:empty{display:none}
.people-more{width:100%;margin-top:4px;font-size:11px}.people-more summary{cursor:pointer;color:#245b99;padding:5px 0;line-height:1.35;min-height:25px}.people-more summary:hover{color:#123e73;text-decoration:underline;text-underline-offset:3px}.people-more summary:focus-visible,.people-table-wrap:focus-visible{outline:2px solid #236ec8;outline-offset:2px}.people-more p{font-size:11px;line-height:1.4;color:#506987;margin:4px 0 8px}.people-more[open]{padding-bottom:7px}.people-danger summary{color:#923747}.people-more .inline-confirm{white-space:normal;line-height:1.4;margin:4px 0}.people-spreadsheet .cell-action{min-height:32px;font-size:11px}.people-spreadsheet .cell-action[aria-disabled="true"]{opacity:.7;cursor:wait}.people-spreadsheet input::placeholder{color:#60758f;opacity:1}.people-spreadsheet .cell-status,.people-spreadsheet .telegram-state{font-size:11px}.people-spreadsheet .row-form{margin-bottom:8px}
@media(max-width:720px){.expert-spreadsheet{min-width:1470px}.expert-spreadsheet th:nth-child(1){width:175px}.people-spreadsheet .cell-action,.people-more summary{min-height:40px}.expert-spreadsheet td:first-child{box-shadow:2px 0 4px rgba(25,57,93,.06)}.people-panel>.panel-head p{font-size:13px}.people-spreadsheet input:not([type="checkbox"]),.people-spreadsheet select{font-size:14px;min-height:38px}}
@media(min-width:1021px){.expert-spreadsheet td:last-child,.expert-spreadsheet th:last-child{position:sticky;right:0;z-index:2;border-left:1px solid #dfeaf5}.expert-spreadsheet th:last-child{z-index:3}.expert-spreadsheet td:last-child{box-shadow:-2px 0 4px rgba(25,57,93,.05)}}
