/* Project 633 interface: quiet surfaces, system typography, and clear hierarchy. */
/* The product branding stylesheet supplies the screen-only canvas treatment. */
.workspace{background-color:var(--canvas)}
@media print{.workspace{background:none!important}}
@media(forced-colors:active){.workspace{background-image:none}}
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;--canvas:#f5f5f7;--surface:#fff;--surface-soft:#f5f6f8;--ink:#1d1d1f;--muted:#6e6e73;--line:#e7e8ed;--accent:#0066cc;--tint:#edf4fd;--focus:#0071e3;--action:#0071e3;--action-hover:#0062c5;--sidebar:#f0f1f4;--sidebar-text:#555861;--card-shadow:0 3px 16px #182b4d04;color-scheme:light}
:root[data-theme="dark"]{--canvas:#101114;--surface:#1b1d22;--surface-soft:#23262d;--ink:#f5f5f7;--muted:#a6a8b1;--line:#30323a;--accent:#8bbaff;--tint:#20324b;--focus:#72adff;--action:#0071e3;--action-hover:#0062c5;--sidebar:#17191e;--sidebar-text:#b2b5bf;--card-shadow:0 3px 18px #0000000c;color-scheme:dark}
body{font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.45}h1,h2,h3,.brand{font-family:inherit}button,input,select,textarea{font-family:inherit}button{border-radius:10px;font-size:12px;font-weight:550;padding:10px 14px;transition:background .15s,border-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button.primary{border-radius:10px;box-shadow:0 2px 4px #0071e310}button:hover:not(:disabled){background:var(--surface-soft)}button.primary:hover:not(:disabled){background:var(--action-hover)}h1{font-size:32px;line-height:1.15;letter-spacing:-1px;font-weight:700}h2{font-size:16px;letter-spacing:-.35px;font-weight:650}h3{font-size:14px;font-weight:600}.content{padding:35px 40px;max-width:1550px}.page-head{margin-bottom:28px}.page-head p{font-size:13px;margin-top:8px;line-height:1.5}.actions{gap:10px}.quiet{color:var(--accent)}
.shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{width:224px;padding:28px 14px 18px;background:var(--sidebar);color:var(--sidebar-text);border-right:1px solid var(--line)}.sidebar-brand{padding:0 13px 24px;border:0;margin:0}.workspace-product{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:650;color:var(--ink);letter-spacing:-.35px}.workspace-product-icon{width:37px;height:37px;display:grid;place-items:center;background:#1b2f50;color:#fff;font-size:12px;border-radius:11px;letter-spacing:-.3px;box-shadow:0 3px 7px #00112b10}.workspace-product small{display:block;font-size:10px;font-weight:400;color:var(--muted);letter-spacing:.1px;margin-top:3px}.nav-label{font-size:9px;font-weight:500;letter-spacing:1.2px;color:var(--muted);margin:10px 14px 12px}.nav{gap:4px}.nav button{padding:10px 12px;font-size:12px;font-weight:450;gap:11px;color:var(--sidebar-text);border-radius:9px;min-height:38px}.nav button svg{width:17px;height:17px;opacity:.8;flex-shrink:0}.nav button.active{box-shadow:none;background:var(--surface);color:var(--accent);font-weight:600}.nav button:hover{background:var(--surface)}.nav .count{background:var(--surface-soft);color:var(--muted);font-size:9px;min-width:18px;text-align:center;padding:2px 4px;border-radius:5px}.sidebar-bottom{border-color:var(--line);color:var(--muted);font-size:10px;line-height:1.5;padding:18px 13px 0}.sidebar-bottom .quiet{font-size:10px}.status-dot{background:#4e9b74}
.topbar{height:80px;border-top:0;border-bottom:1px solid var(--line);padding:0 40px;background:var(--surface);gap:20px}.topbar .agency{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:270px;flex-shrink:0;font-size:12px;line-height:1.35;font-weight:600;letter-spacing:-.15px}.topbar .agency>small{display:block;font-size:10px;line-height:1.3;font-weight:400;letter-spacing:0;color:var(--muted);margin:0}.global-search{max-width:400px;border:0;border-radius:10px;background:var(--surface-soft);margin:0 16px;min-width:100px}.global-search input{padding:11px 14px;font-size:11px}.global-search button{color:var(--muted);padding-right:13px}.context{gap:12px}.theme-toggle{border:0;background:var(--surface-soft);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:16px;padding:0}.theme-label{display:none}.user-switch{border:0;padding:5px 0 5px 12px;border-left:1px solid var(--line);border-radius:0;gap:3px;white-space:nowrap}.user-switch strong{font-size:11px;font-weight:600}.user-switch small{font-size:9px;margin:0;color:var(--muted)}.banner{display:flex;align-items:center;gap:8px;padding:8px 40px;font-size:10px;border:0;background:transparent;color:var(--muted)}.demo-dot{width:5px;height:5px;border-radius:50%;background:#c99548}.demo-separator{opacity:.5}.storage-note{margin-left:auto;font-size:9px}
.panel,.stat,.module-card{border:1px solid var(--line);border-radius:17px;box-shadow:var(--card-shadow)}.panel{margin-bottom:22px}.panel-head{padding:21px 23px;border-bottom:1px solid var(--line)}.panel-head .quiet{font-size:11px;font-weight:450;padding:3px}.panel-body{padding:22px 23px}.grid{grid-template-columns:minmax(0,1fr) 290px;gap:24px}.stat{position:relative;padding:22px 24px;overflow:hidden;border-color:transparent;min-height:122px}.stat .label{font-size:12px;font-weight:450;color:var(--muted)}.stat .value{font:500 36px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-1.3px;margin:12px 0 0;color:var(--ink);font-variant-numeric:tabular-nums}.stat-indicator{position:absolute;right:25px;top:25px;width:7px;height:7px;border-radius:50%;background:#83a7d8}.stat-indicator-1{background:#d5b078}.stat-indicator-2{background:#aaa0d2}.stat-indicator-3{background:#88b5a1}.stats{gap:18px;margin-bottom:24px}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:5px 0 29px}.dashboard-context{font-size:11px;color:var(--muted);margin-bottom:11px}.dashboard-context>span{margin:0 5px;opacity:.6}.dashboard-heading h1{font-size:33px;margin:0;letter-spacing:-1.1px;font-weight:650}.dashboard-heading p{font-size:13px;color:var(--muted);margin:9px 0 0}.dashboard-heading .actions .quiet{color:var(--muted);font-size:11px}
.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:30px}.quick-card{display:flex;align-items:center;gap:12px;min-width:0;padding:17px 16px;min-height:86px;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:none;text-align:left}.quick-card:hover{background:var(--surface);border-color:#99b9df;box-shadow:0 4px 18px #1e365a08}.quick-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:11px;background:var(--tint);color:var(--accent)}.quick-icon svg{width:19px;height:19px}.quick-copy{min-width:0}.quick-copy strong{display:block;font-size:12px;font-weight:600;letter-spacing:-.15px}.quick-copy small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px;line-height:1.4}.quick-chevron{margin-left:auto;color:var(--muted);font-size:19px;font-weight:300}.dashboard-case-list{padding:0 23px}.dashboard-case{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:20px;width:100%;padding:20px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.dashboard-case:last-child{border-bottom:0}.dashboard-case:hover:not(:disabled){background:transparent}.dashboard-case:hover strong{color:var(--accent)}.dashboard-case-info{display:flex;flex-direction:column;gap:5px;min-width:0}.case-reference{font-size:10px;font-weight:450;color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:.15px}.dashboard-case strong{font-size:13px;font-weight:550;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}.case-location{font-size:10px;font-weight:400;color:var(--muted);line-height:1.5}.dashboard-case-status{display:flex;align-items:center;gap:18px;flex-shrink:0}.case-chevron{font-size:20px;font-weight:300;color:var(--muted)}.badge{border-radius:6px;font-size:10px;font-weight:450;padding:5px 8px}.count-pill{font-size:10px;background:var(--surface-soft);padding:4px 8px;border-radius:7px}.task{padding:15px 0;gap:12px}.task strong{font-size:12px;font-weight:500;line-height:1.6}.task small{font-size:10px;display:block;margin-top:5px}.task button{border-radius:50%;width:19px;height:19px;padding:0;flex-shrink:0;display:grid;place-items:center;color:var(--accent);margin-top:1px}.assistant{background:var(--surface);border-color:var(--line)}.assistant .panel-head{justify-content:flex-start;gap:9px;border-bottom:0;padding-bottom:0}.assistant-symbol{font-size:19px;color:var(--accent)}.assistant .panel-body{padding-top:14px}.assistant p{font-size:12px;line-height:1.7}.assistant button{background:var(--tint);color:var(--accent);border:0;border-radius:10px;min-height:39px}.assistant-note{font-size:9px!important;margin-top:13px!important;margin-bottom:0!important}.activity p{font-size:11px;line-height:1.7;font-weight:450}.activity small{font-size:9px;line-height:1.6}.activity{margin-bottom:18px}.activity:last-child{margin-bottom:0}.activity:before{width:5px;height:5px;background:#a4a9b3}.activity{border-color:var(--line)}
.field{font-size:11px;font-weight:500}.field input,.field textarea,.field select,.search input,.toolbar select{border-radius:10px;padding:11px 12px;font-size:12px}.section-tabs button{font-size:12px;font-weight:500}.table-wrap table{font-size:12px}th{font-size:9px;letter-spacing:.6px}td{line-height:1.6}.case-title{font-size:12px;font-weight:550}.case-num{font-size:10px;font-weight:500}dialog{border-radius:20px;box-shadow:0 24px 80px #00000030}.notice{border-radius:11px}.identity-confirm{border-radius:12px}
.login-shell{background:var(--surface);grid-template-columns:1.05fr 1fr}.login-intro{background:linear-gradient(155deg,#07152d,#12233e);border-top:0;padding:44px 56px;gap:30px;min-height:100vh;color:#fff}.login-intro:after{display:none}.login-product{display:flex;align-items:center;font-size:14px;font-weight:400;letter-spacing:-.2px;gap:4px;color:#e1e7f1}.login-product strong{font-weight:650}.login-product>span{font-size:9px;font-weight:400;border:1px solid #ffffff26;border-radius:6px;padding:4px 7px;margin-left:10px;color:#aab9d0;letter-spacing:.2px}.login-department{align-self:center;text-align:center;padding:15px 0 30px}.login-department>img{display:block;object-fit:contain;width:138px;height:168px;margin:0 auto 28px;filter:drop-shadow(0 10px 24px #00000025)}.login-location{font-size:11px;color:#a7b8d1;letter-spacing:.6px;margin-bottom:13px}.login-department h1{font-size:36px;font-weight:600;line-height:1.2;letter-spacing:-.9px;margin:0;color:#fff}.login-department .department-motto{color:#dfb67d;font-size:12px;font-weight:400;letter-spacing:.3px;margin:19px 0 0}.login-divider{width:35px;height:1px;background:#ffffff29;margin:28px auto 22px}.login-department .login-description{font-size:13px;color:#b7c4d8;font-weight:400;line-height:1.8;margin:0}.login-footnote{font-size:9px;color:#a6b5cb;letter-spacing:.1px;line-height:1.6}.login-card{width:min(385px,calc(100% - 64px));padding:35px 0}.login-kicker{font-size:10px;color:var(--muted);letter-spacing:1.7px;font-weight:500}.login-card h2{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650;margin:17px 0 12px}.login-card>p{font-size:12px;line-height:1.7;color:var(--muted)}.login-card form{margin-top:30px;gap:20px}.login-card .field{font-size:11px;gap:9px}.login-card select{padding:13px 14px;font-size:12px;border-radius:11px;background:var(--surface-soft)}.login-card .identity-confirm{border:0;background:var(--surface-soft);padding:17px 18px;border-radius:12px}.login-card .identity-confirm strong{font-size:12px;font-weight:600}.login-card .identity-confirm p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:6px}.login-card button.primary{min-height:45px;font-size:12px;font-weight:550;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:10px}.login-card .helper{font-size:10px;line-height:1.8;margin-top:24px}
@media(min-width:1600px){.content{padding-top:42px}.dashboard-heading{margin-bottom:34px}.stat{padding:25px 27px}.login-department h1{font-size:42px}}
@media(max-width:1200px) and (min-width:761px){.shell{grid-template-columns:204px minmax(0,1fr)}.sidebar{width:204px}.content{padding:30px 27px}.topbar{padding:0 27px;gap:14px}.topbar .agency{font-size:11px;max-width:200px}.global-search{margin:0;max-width:270px}.grid{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.quick-grid{grid-template-columns:1fr 1fr}.stat{padding:20px}.dashboard-heading h1{font-size:30px}.login-intro{padding:35px}.login-department h1{font-size:31px}}
@media(max-width:1000px){.grid{grid-template-columns:minmax(0,1fr)}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:20px}.right-rail .panel{margin-bottom:0}.stats{gap:12px}.quick-copy small{font-size:10px}}
@media(max-width:760px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:relative;width:100%;padding:16px 16px 10px;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}.sidebar-brand{padding:0 0 15px;margin:0}.workspace-product{font-size:14px;gap:9px}.workspace-product-icon{width:30px;height:30px;border-radius:9px;font-size:10px}.workspace-product small{display:none}.nav{gap:5px;width:100%;overflow-x:auto;padding-bottom:3px}.nav button{padding:8px 10px;font-size:11px;min-height:31px}.nav button svg{display:none}.workspace{grid-column:1}.topbar{padding:15px 20px;height:auto;min-height:80px;gap:14px;flex-wrap:wrap}.topbar .agency{font-size:11px;max-width:170px;gap:3px}.topbar .agency small{font-size:9px}.context{gap:9px;margin-left:auto}.user-switch{padding-left:10px}.user-switch strong{font-size:10px}.user-switch small{font-size:8px}.theme-toggle{width:30px;height:30px;font-size:14px}.global-search{order:3;flex-basis:100%;max-width:none;margin:0}.global-search input{padding:10px 12px}.banner{padding:8px 20px;font-size:9px;gap:6px}.storage-note{display:none}.content{padding:26px 20px}.dashboard-heading{align-items:flex-start;gap:17px;flex-wrap:wrap;margin:0 0 24px}.dashboard-heading h1{font-size:28px;letter-spacing:-.8px}.dashboard-heading p{font-size:12px;margin-top:7px}.dashboard-context{font-size:10px;margin-bottom:8px}.dashboard-heading .actions{width:100%;justify-content:flex-end}.dashboard-heading .actions button{font-size:11px;padding:8px 12px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:19px}.stat{padding:18px 19px;min-height:105px;border-radius:15px}.stat .label{font-size:11px}.stat .value{font-size:30px;margin-top:10px}.stat-indicator{width:6px;height:6px;right:17px;top:22px}.quick-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}.quick-card{padding:15px 12px;gap:9px;min-height:80px}.quick-icon{width:29px;height:29px;border-radius:9px}.quick-icon svg{width:17px;height:17px}.quick-copy strong{font-size:11px}.quick-copy small{font-size:9px}.quick-chevron{display:none}.panel{border-radius:15px}.panel-head{padding:18px}.panel-head h2{font-size:15px}.panel-body{padding:18px}.dashboard-case-list{padding:0 18px}.dashboard-case{padding:18px 0;gap:12px}.dashboard-case strong{font-size:12px}.dashboard-case-status{gap:10px}.case-location{font-size:9px}.right-rail{display:block}.right-rail .panel{margin-bottom:20px}.page-head h1{font-size:27px}.login-shell{grid-template-columns:minmax(0,1fr)}.login-intro{min-height:auto;padding:25px;gap:26px}.login-product{font-size:13px}.login-department{padding:4px 0 12px;width:100%}.login-department>img{width:90px;height:110px;margin-bottom:21px}.login-location{font-size:10px;margin-bottom:11px}.login-department h1{font-size:29px;line-height:1.2}.login-department .department-motto{font-size:11px;margin-top:15px}.login-divider{margin:20px auto 16px}.login-department .login-description{font-size:12px}.login-footnote{font-size:8px;text-align:center}.login-card{width:calc(100% - 48px);padding:35px 0 40px}.login-card h2{font-size:29px}.login-card form{margin-top:25px}.login-card .field{font-size:11px}.login-card select{font-size:12px}.sidebar-bottom,.nav-label{display:none}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
@media print{.banner,.sidebar,.topbar{display:none!important}.panel{box-shadow:none}.dashboard-overview .stats{display:none}}
/* Agency sign-in and responsibility-based work queues. */
.login-card input{min-height:44px;width:100%;background:var(--surface-soft);border:1px solid var(--line);border-radius:11px;padding:12px 14px;color:var(--ink);font-size:12px}.password-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);overflow:hidden}.password-field input{border:0;min-width:0;background:transparent}.password-field:focus-within{outline:2px solid var(--focus);outline-offset:2px}.password-field input:focus{outline:0}.password-field button{border:0;background:transparent;font-size:10px;padding:10px 13px;color:var(--accent);flex-shrink:0}.login-error{font-size:11px;color:#b33e34;line-height:1.6;margin:0;padding:11px 13px;background:#fceeea;border-radius:9px}.login-error[hidden]{display:none}[data-theme=dark] .login-error{color:#ffb3aa;background:#40272a}.demo-credentials{margin-top:23px;border-top:1px solid var(--line);padding-top:19px}.demo-credentials>summary{font-size:11px;font-weight:500;color:var(--accent)}.demo-credentials p{font-size:10px;line-height:1.8;color:var(--muted);margin:14px 0}.demo-credentials code{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink);background:var(--surface-soft);padding:3px 5px;border-radius:4px}.demo-account-list{display:grid;gap:7px}.demo-account{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;width:100%;padding:12px 13px;background:var(--surface-soft);border:1px solid transparent;border-radius:10px}.demo-account:hover{border-color:var(--focus)}.demo-account strong{font-size:11px;font-weight:600}.demo-account span{font-size:10px;color:var(--accent)}.demo-account small{font-size:9px;font-weight:400;color:var(--muted);line-height:1.6}.additional-accounts{margin-top:15px}.additional-accounts summary{font-size:10px;font-weight:400;color:var(--muted);margin-bottom:10px}.additional-accounts button{margin:7px 0}.login-card .helper{font-size:9px}.workflow-items{padding:0 22px}.workflow-item{display:flex;align-items:flex-start;justify-content:space-between;gap:17px;padding:21px 0;border-bottom:1px solid var(--line)}.workflow-item:last-child{border-bottom:0}.workflow-item h3{font-size:12px;line-height:1.6;margin:6px 0;font-weight:550}.workflow-item p{font-size:10px;line-height:1.7;color:var(--muted);margin:0 0 9px}.workflow-item-actions{display:flex;gap:7px;flex-wrap:wrap;max-width:195px;justify-content:flex-end;flex-shrink:0}.workflow-item-actions button{font-size:10px;padding:8px 10px}.workflow-steps{list-style:none;padding:7px 23px 22px;margin:0}.workflow-steps li{display:flex;gap:11px;align-items:flex-start;margin-top:15px}.workflow-steps li>span{font-size:9px;background:var(--surface-soft);color:var(--accent);border-radius:50%;width:21px;height:21px;display:grid;place-items:center;flex-shrink:0;margin-top:2px}.workflow-steps p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.dashboard-heading p{max-width:560px}.login-shell .login-card{padding-top:45px;padding-bottom:45px}.workflow-item .case-reference{overflow-wrap:anywhere}
@media(max-width:1200px){.workflow-item{flex-direction:column;gap:13px}.workflow-item-actions{max-width:none;justify-content:flex-start;flex-shrink:1}}
@media(max-width:760px){.workflow-items{padding:0 18px}.workflow-item{padding:19px 0}.workflow-steps{padding-left:18px;padding-right:18px}.login-shell .login-card{padding-top:33px;padding-bottom:35px}.dashboard-heading p{line-height:1.7}}
.linked-evidence-case{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-right:10px}.linked-evidence-case>.small{font-size:9px}@media(max-width:760px){.login-card input{font-size:16px}}
/* Staff administration uses the same quiet workspace surfaces. */
.staff-table td{vertical-align:top;padding-top:19px;padding-bottom:19px}.staff-table td strong{font-size:12px;font-weight:550}.staff-table .small{font-size:10px;line-height:1.9;overflow-wrap:anywhere}.staff-actions{display:flex;gap:7px;flex-wrap:wrap;max-width:255px}.staff-actions button{font-size:10px;padding:8px 10px}.staff-actions .danger{color:#ae4c42}.self-account{margin-left:8px;font-size:9px;background:var(--tint);color:var(--accent);border-radius:5px;padding:3px 5px}.permission-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 10px}.permission-heading h3{margin:0;font-size:14px}.permission-heading button{font-size:10px;padding:7px 9px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.permission-option{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--line);background:var(--surface-soft);border-radius:10px}.permission-option input{margin-top:3px;width:15px;height:15px;accent-color:var(--action);flex-shrink:0}.permission-option strong{font-size:11px;font-weight:550;color:var(--ink);display:block}.permission-option small{font-size:9px;color:var(--muted);display:block;line-height:1.8;margin-top:4px}#staff-form .field{gap:8px}#staff-form .helper{font-size:10px;line-height:1.8}#staff-status{padding:9px 11px;border-radius:9px;background:var(--surface-soft);color:var(--ink);border:1px solid var(--line);font-size:11px}
@media(max-width:760px){.permission-grid{grid-template-columns:1fr}.staff-actions{min-width:120px}.staff-table td{padding-left:13px;padding-right:13px}}
[hidden]{display:none!important}
.address-field{position:relative}.address-suggestions{border:1px solid var(--line);background:var(--surface);box-shadow:0 8px 24px #17243d0c;border-radius:12px;max-height:245px;overflow-y:auto;margin:8px 0 12px}.address-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 14px;background:var(--surface)}.address-suggestion:last-child{border-bottom:0}.address-suggestion strong{font-size:12px;font-weight:550;line-height:1.5}.address-suggestion small{font-size:9px;font-weight:400;color:var(--muted);line-height:1.6}.address-suggestion[aria-selected=true],.address-suggestion:hover{background:var(--tint)}.address-candidate small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin:7px 0 13px}.address-status{line-height:1.7}
.person-profile-header{display:flex;align-items:center;gap:24px}.profile-portrait{width:150px;height:175px;object-fit:cover;border-radius:14px;background:var(--surface)}.profile-placeholder{display:grid;place-items:center;color:var(--muted);border:1px solid var(--line);font-size:12px}.profile-facts>div{margin-bottom:20px}.profile-facts p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.profile-photo-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;min-width:0;overflow-wrap:anywhere}.profile-photo-card img{width:100%;height:190px;object-fit:contain;border-radius:10px;background:var(--surface)}.profile-name-button{border:0;padding:0;background:transparent;color:var(--ink);font:inherit;text-align:left;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.profile-list-heading{display:flex;align-items:center;gap:14px}.profile-list-photo{width:46px;height:52px;object-fit:cover;border-radius:9px}.identity-number-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.identity-number-row button{align-self:end}@media(max-width:600px){.person-profile-header{align-items:flex-start;flex-direction:column;gap:16px}.profile-portrait{width:110px;height:130px}.identity-number-row{grid-template-columns:1fr}.profile-photo-grid{grid-template-columns:1fr}}
.history-records{display:grid;gap:14px}.history-record{display:flex;flex-direction:column;gap:9px;padding:15px;border:1px solid var(--line);border-radius:12px;min-width:0;overflow-wrap:anywhere}.history-record>.row{flex-wrap:wrap}.history-record>button{align-self:flex-start}.history-record details{font-size:12px}.history-record .small{line-height:1.6}

/* Complete charge lists stay navigable without rendering thousands of rows. */
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;flex-wrap:wrap}.catalog-pagination button{flex:none}.catalog-pagination span{color:var(--muted)}
@media(max-width:500px){.catalog-pagination{gap:8px;padding:12px 0}.catalog-pagination button{padding:9px 12px}}

/* Mobile welcome and login are fixed screens, opened by one completed gesture. */
.login-swipe,.login-back{display:none}
@media(max-width:760px){
 .login-shell{position:relative;display:block;height:100vh;height:100dvh;min-height:0;overflow:hidden;background:#07152d}
 .login-shell .login-intro{position:absolute;inset:0;min-height:0;padding:max(24px,env(safe-area-inset-top)) 24px max(20px,env(safe-area-inset-bottom));gap:20px;touch-action:pan-x pinch-zoom;transition:opacity .24s ease,transform .24s ease,visibility .24s;opacity:1;transform:none;visibility:visible}
 .login-intro .login-department{padding:12px 0;width:100%}
 .login-intro .login-department>img{width:auto;height:clamp(112px,22svh,168px);max-width:55vw;margin-bottom:24px}
 .login-intro .login-department h1{font-size:clamp(26px,7.5vw,32px)}
 .login-intro .login-divider,.login-intro .login-description{display:none}
 .login-intro-footer{display:flex;flex-direction:column;align-items:center;gap:14px}
 .login-intro-footer .login-footnote{font-size:8px}
 .login-swipe{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:4px 20px;border:0;border-radius:12px;background:transparent;color:#e5edfb;font-size:12px;font-weight:500;letter-spacing:.1px}
 .login-swipe svg{width:24px;height:24px}
 .login-swipe:hover:not(:disabled){background:#ffffff0c;color:#fff}
 .login-swipe:focus-visible{outline:2px solid #a8caff;outline-offset:4px}
 .login-shell .login-card{position:absolute;inset:0;width:100%;height:100%;min-height:0;align-self:stretch;justify-self:stretch;margin:0;padding:max(24px,env(safe-area-inset-top)) 24px max(36px,env(safe-area-inset-bottom));background:var(--surface);overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;opacity:0;transform:translateY(24px);visibility:hidden;pointer-events:none;transition:opacity .24s ease,transform .24s ease,visibility .24s}
 .login-shell .login-card:focus{outline:none}
 .login-shell.login-revealed .login-intro{opacity:0;transform:translateY(-24px);visibility:hidden;pointer-events:none}
 .login-shell.login-revealed .login-card{opacity:1;transform:none;visibility:visible;pointer-events:auto}
 .login-back{display:block;min-height:44px;margin:0 0 20px -10px;padding:10px;border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:500}
 .login-back:hover:not(:disabled){background:var(--surface-soft)}
}

@media(max-width:760px) and (max-height:600px){
 .login-shell .login-intro{padding:12px 24px;gap:8px}
 .login-intro .login-department{padding:0}
 .login-intro .login-department>img{height:clamp(64px,20svh,112px);margin-bottom:12px}
 .login-intro .login-department h1{font-size:26px}
 .login-intro .department-motto{margin-top:10px}
 .login-intro-footer{gap:6px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
 .login-shell .login-intro,.login-shell .login-card{transition:none;transform:none}
}

/* Dashboard counts also open the records behind the count. */
button.stat-link{display:block;width:100%;text-align:left;background:var(--surface);font:inherit;color:var(--ink);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.stat-link .label,.stat-link .value{display:block}.stat-link .label{padding-right:15px}.stat-chevron{position:absolute;right:22px;top:19px;font-size:23px;font-weight:400;color:var(--muted)}
button.stat-link:hover{border-color:var(--accent,#457dbc);background:var(--surface);box-shadow:var(--card-shadow)}
button.stat-link:focus-visible{outline:3px solid var(--accent,#457dbc);outline-offset:3px}
.dashboard-filter{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;background:var(--surface)}
.dashboard-task{display:flex;align-items:center;gap:16px}.dashboard-task>.task{flex:1;min-width:0}.dashboard-task>button{flex-shrink:0}
[data-training-section]{scroll-margin-top:24px}
@media(prefers-reduced-motion:reduce){button.stat-link{transition:none}}
@media(max-width:560px){.dashboard-task{flex-wrap:wrap;gap:4px;padding-bottom:14px}.dashboard-task>.task{flex-basis:100%}}

.dashboard-create-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.dashboard-create-actions button{min-height:44px;padding:11px 17px;font-size:12px}
.patrol-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.dashboard-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.dashboard-create-actions button{padding:10px 8px}.patrol-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.patrol-shortcuts>.quick-card:last-child:nth-child(odd){grid-column:1/-1}}

/* A personal welcome without repeated role labels or instructional copy. */
.dashboard-heading.dashboard-welcome{gap:24px;flex-wrap:nowrap;min-height:112px;margin:0 0 22px;padding:26px 28px;border:1px solid var(--line);border-left:4px solid var(--action);border-radius:20px;background:linear-gradient(110deg,var(--tint),var(--surface) 75%);box-shadow:var(--card-shadow)}
.dashboard-welcome h1{flex:1;min-width:0;font-size:clamp(24px,2.1vw,32px);line-height:1.35;letter-spacing:-.7px;overflow-wrap:anywhere}
.welcome-prefix{font-weight:400}.welcome-identity{font-weight:650}
button.dashboard-customize{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted)}
button.dashboard-customize:hover{background:var(--tint);color:var(--accent)}.dashboard-customize svg{width:20px;height:20px}
@media(max-width:760px){.dashboard-heading.dashboard-welcome{align-items:center;gap:12px;min-height:104px;padding:21px 18px;border-radius:17px;margin-bottom:20px}.dashboard-welcome h1{font-size:24px;letter-spacing:-.5px}.welcome-identity{display:block}}

.access-details { margin: 16px 0; border-top: 1px solid var(--border, #d8dfe8); padding-top: 14px; }
.access-details summary { cursor: pointer; font-weight: 600; margin-bottom: 14px; }
.access-details td input { width: 20px; height: 20px; }
[hidden][data-investigation] { display: none; }

#investigation-filter { max-width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--ink); font: inherit; }
