/* Framed sheet / seed 117319820. Bootstrap is local; this layer owns product styling. */
:root{
  --ground:#eef4ff;--surface:#fff;--raised:#f4f7ff;--active:#e1ebff;
  --border:#ccd9ef;--rule:#e4ecfa;--control:#7386a5;--text:#142849;--muted:#455a7d;
  --accent:#075be8;--accent-hover:#0347bd;--nav-hover:#e4edff;--nav-ink:#1043a1;
  --positive:#067647;--negative:#bd2434;--warning:#995100;
  --positive-bg:#dbf8e7;--negative-bg:#ffebee;--warning-bg:#fff3d6;--warning-border:#f4c164;
  --neutral-bg:#eaf0fa;--on-accent:#fff;
  --sidebar:252px;--control-height:48px;--duration:180ms;--ease:cubic-bezier(.2,.7,.2,1);
  --bs-body-font-family:"Nunito Sans","Segoe UI",sans-serif;--bs-body-color:var(--text);--bs-body-bg:var(--ground);
  --bs-primary:var(--accent);--bs-primary-rgb:7,91,232;--bs-border-color:var(--border);--bs-border-radius:6px;
  color-scheme:light;
}
body{font-family:var(--bs-body-font-family);color:var(--text);font-size:18px;line-height:1.55;font-optical-sizing:auto}
::selection{background:var(--accent);color:var(--on-accent)}
html,dialog{scrollbar-color:var(--control) var(--raised)}
input,textarea{caret-color:var(--accent)}
button:focus-visible,button.btn:focus-visible,a:focus-visible,a.nav-link:focus-visible,.sidebar a.nav-link:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px;box-shadow:none}
button[aria-busy="true"]{cursor:progress}
h1{font-size:30px;line-height:1.2;letter-spacing:-.025em}
h2{line-height:24px}
h3{font-weight:600}
ol{margin-bottom:0}
small{font-size:14px}
code{color:var(--accent)}
textarea{font-family:inherit;font-size:16px;white-space:normal}
button:disabled{cursor:default;opacity:1;color:var(--muted);background:var(--active)}
.icon{width:18px;height:18px;display:inline-block;flex:none;fill:currentColor;vertical-align:-.125em;pointer-events:none}
[data-icon]{display:inline-flex;align-items:center;gap:9px}
/* 1440 = 252 sidebar + 1176 sheet + 12 inset. Canvas = 1176 - 64 padding. */
.shell{grid-template-rows:64px minmax(calc(100vh - 64px),auto)}
.sidebar{padding:28px 16px 20px}
.wordmark{font-size:24px;padding:0 12px;color:var(--text)}
.wordmark>svg,.wordmark>img{width:34px;height:34px;flex-shrink:0}
.workspace{padding:34px 12px 12px}
.sidebar nav{gap:6px}
.sidebar .nav-link{display:flex;gap:12px;padding:12px;color:var(--muted);font-size:16px;line-height:20px;border-radius:6px}
.sidebar .nav-link.active{background:var(--active);color:var(--nav-ink);font-weight:600}
.sidebar .nav-link:hover{outline:0;background:var(--nav-hover);color:var(--nav-ink)}
.sidebar .nav-link:hover .icon{transform:translateX(2px)}
.sidebar-note{display:flex;gap:10px;align-items:flex-start;margin-top:auto;padding:18px 12px 22px;color:var(--muted)}
.sidebar-note p{font-size:14px;line-height:1.4}
.sidebar-note small{display:block;margin-top:4px}
.sidebar-note .icon{width:17px;height:17px;margin-top:2px}
.sidebar-bottom{margin:0;border-top:1px solid var(--border);padding:20px 12px 0;gap:14px}
.sidebar-bottom>span{font-weight:500;color:var(--text)}
.sidebar-bottom button{font-size:14px;color:var(--muted)}
.topbar{padding:0 36px 0 32px}
.breadcrumb-line,.topbar-tools{display:flex;align-items:center;gap:16px}
.breadcrumb-line strong{font-weight:500;color:var(--text)}
.breadcrumb-line .icon{width:12px;height:12px}
.topbar-tools{gap:22px}
.topbar-tools .icon{width:15px;height:15px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:6px;background:transparent;color:var(--muted);padding:8px}
.icon-button:hover{background:var(--active);color:var(--text)}
.icon-button[aria-busy="true"] .icon{animation:spin 900ms linear infinite}
#menu-toggle{display:none}
.sheet{margin:0 12px 12px 0;padding:32px}
.title-row{margin-bottom:24px}
.title-row p{margin-top:9px;max-width:660px}
.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:9px 16px;font-weight:500;font-size:16px;line-height:20px}
.primary,.primary.btn{--bs-btn-color:var(--on-accent);--bs-btn-hover-color:var(--on-accent);background:var(--accent);color:var(--on-accent);border:1px solid transparent}
.primary:hover,.primary.btn:hover{background:var(--accent-hover);color:var(--on-accent)}
.primary:active,.secondary:active,.icon-button:active{transform:translateY(1px)}
.secondary,.secondary.btn{background:var(--surface);border:1px solid var(--control);color:var(--text)}
.secondary:hover,.secondary.btn:hover{background:var(--raised);border-color:var(--accent);color:var(--text)}
.primary:disabled,.secondary:disabled{background:var(--active);border-color:var(--active);color:var(--muted)}
.text-button{color:var(--accent);text-decoration:none;font-weight:500}
.text-button:hover{text-decoration:underline;text-underline-offset:4px;color:var(--accent-hover)}
.policy-strip{background:var(--raised);border:0;padding:14px 20px}
.policy-strip>div{gap:10px}
.policy-strip [data-icon]{color:var(--muted)}
.metrics{padding:24px 0;margin-bottom:24px}
.metrics>div{padding:0 28px}
.metrics strong{font-size:34px;line-height:1.2;font-weight:500;margin:9px 0 7px;letter-spacing:-.025em}
.metrics small{display:block}
#count-online.has-value{color:var(--positive)}
#count-blocked.has-value{color:var(--negative)}
.section-heading>span{font-size:14px}
.toolbar{margin:18px 0 8px;flex-wrap:wrap}
.export-stations{margin-left:auto;white-space:nowrap}
.toolbar label{position:relative}
.search-label{max-width:370px}
.toolbar input,.toolbar select{height:40px;padding-left:38px;font-size:14px}
.filter-label{min-width:220px}
.input-icon{position:absolute;top:50%;transform:translateY(-50%);left:13px;color:var(--muted);pointer-events:none;z-index:1}
.input-icon .icon{width:16px;height:16px}
.toolbar>span{white-space:nowrap}
input,select,textarea,.form-control,.form-select{background-color:var(--surface);color:var(--text);border-color:var(--control);padding:9px 11px;line-height:1.5;font-size:16px;box-shadow:none}
.form-select{appearance:auto;background-image:none}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input:focus,select:focus,textarea:focus,.form-control:focus,.form-select:focus{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent);box-shadow:none}
th{font-weight:500;height:44px}
td{padding:19px 12px 19px 0}
th:last-child,td:last-child{width:76px}
th:first-child{width:27%}
td strong{font-weight:600}
td .subline{margin-top:6px}
.station-list tbody tr:hover{outline:1px solid var(--border);outline-offset:-1px}
.row-action{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-weight:500;text-decoration:none;white-space:nowrap}
.row-action .icon{width:14px;height:14px}
.row-action:hover{color:var(--accent-hover)}
.row-action:hover .icon{transform:translateX(3px)}
.pill{gap:5px;flex:none;line-height:20px;padding:2px 7px;background:var(--neutral-bg);color:var(--muted);font-weight:500}
.pill .icon{width:12px;height:12px}
.pill.positive{background:var(--positive-bg);color:var(--positive)}
.pill.negative{background:var(--negative-bg);color:var(--negative)}
.pill.warning{background:var(--warning-bg);color:var(--warning)}
.notice{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning)}
.empty{padding:24px;background:var(--raised);margin-top:14px}
.empty p{max-width:620px}
.report-flow{margin-top:24px}
.report-flow ol{grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0 16px;gap:20px}
.report-flow li{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);border-color:var(--border);padding-top:13px}
.report-flow li:first-child{border-color:var(--border)}
.report-flow li:not(:last-child)::after{content:'›';font-size:22px;margin-left:auto;color:var(--muted);font-weight:400}
.report-flow p{max-width:850px}
.audit-row{min-height:82px;padding:18px 0}
.audit-row{align-items:start}
.audit-row>div{min-width:0;overflow-wrap:anywhere}
.footnote{line-height:1.7;max-width:940px}
.certificate-alert{display:flex;align-items:center;gap:10px;margin:0 0 18px;flex-wrap:wrap}
.certificate-alert>span:nth-child(2){flex:1;min-width:120px}
.certificate-alert .text-button{margin-left:auto;white-space:nowrap}
.certificate-alert.certificate-critical{background:var(--negative-bg);border-color:var(--negative);color:var(--negative)}
.certificate-warning,td .subline.certificate-warning{color:var(--warning)}
.certificate-negative,td .subline.certificate-negative{color:var(--negative)}
.certificate-neutral{color:var(--muted)}
.login-panel{max-width:460px;padding:36px}
.login h1{font-size:26px;letter-spacing:-.02em;margin-bottom:10px}
.login form{margin-top:26px}
.login .primary{margin-top:4px;justify-content:space-between}
.toast{display:block;border:0;font-size:16px;width:auto;pointer-events:none;background:var(--text);padding:14px 20px;z-index:1100}
.toast:not([hidden]){display:block;animation:toast-in 180ms var(--ease) both}
.btn:disabled{opacity:1}
.close-dialog.secondary{width:auto;height:auto;font-size:16px;line-height:20px}
dialog{margin:auto;max-height:calc(100dvh - 40px);border:0;padding:28px;box-shadow:0 16px 60px rgb(20 40 73 / .16);overscroll-behavior:contain}
dialog[open]{animation:dialog-in 200ms var(--ease) both}
dialog::backdrop{background:rgb(20 40 73 / .4)}
dialog[open]::backdrop{animation:backdrop-in 180ms ease both}
dialog h2{font-size:24px;line-height:1.3;letter-spacing:-.015em}
.dialog-heading{margin-bottom:26px}
.close-dialog:not(.secondary){display:inline-flex;align-items:center;justify-content:center;background:var(--raised);color:var(--muted);width:34px;height:34px;flex:none;border-radius:6px;padding:6px}
.close-dialog:not(.secondary):hover{background:var(--active);color:var(--text)}
.dialog-actions{padding-top:20px;border-top:1px solid var(--rule)}
.detail-grid{gap:20px;margin:18px 0;background:var(--raised);padding:20px;border-radius:8px}
.detail-grid>div{min-width:0;overflow-wrap:anywhere}
.form-grid>.wide-field{grid-column:1/-1}
.recovery-scope{background:var(--raised);border-radius:8px;padding:14px 18px}
.recovery-heading h2{display:flex;align-items:center;gap:10px}
.recovery-heading h2 .icon{color:var(--muted)}
.recovery-count strong{font-size:30px;font-weight:500;line-height:1.25}
.recovery-row summary{display:flex;align-items:center;gap:8px;padding:10px 0;font-size:14px;font-weight:500;color:var(--accent);list-style:none;text-decoration:none}
.recovery-row summary::-webkit-details-marker{display:none}
.recovery-row summary .icon{width:14px;height:14px}
.recovery-row details[open]>summary .icon{transform:rotate(90deg)}
.recovery-target{padding:18px 0}
.recovery-target p:last-child{margin-bottom:0}
.recovery-progress{display:flex;align-items:center;gap:12px;margin-top:18px}
.recovery-progress .progress{height:5px;flex:1;--bs-progress-bg:var(--active);border-radius:4px}
.recovery-progress small{font-size:14px;white-space:nowrap}
.recovery-progress progress{appearance:none;display:block;width:100%;height:5px;border:0;background:var(--active)}
.recovery-progress progress::-webkit-progress-bar{background:var(--active)}
.recovery-progress progress::-webkit-progress-value{background:var(--accent)}
.recovery-progress progress::-moz-progress-bar{background:var(--accent)}
/* Feedback follows an interaction. Reduced motion retains every state and control. */
button,a,.icon,input,select,textarea,summary{transition:color var(--duration) var(--ease),background-color var(--duration) var(--ease),border-color var(--duration) var(--ease),transform var(--duration) var(--ease)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:1100px){
 .sidebar{position:sticky;z-index:100;top:0;background:var(--ground);padding:12px 24px;gap:16px;min-height:64px}
 .sidebar .wordmark{font-size:22px}.sidebar .wordmark>svg,.sidebar .wordmark>img{width:28px;height:28px}
 .sidebar-note{display:none}.sidebar nav{gap:2px}.sidebar .nav-link{padding:10px 9px;gap:7px;font-size:14px}
 .sidebar .nav-link>.icon{width:16px;height:16px}.sidebar-bottom{border:0;padding:0}.sidebar-bottom .icon{display:none}
 .sheet{margin:0 12px 12px;padding:28px 24px;min-height:calc(100dvh - 76px)}
 .policy-strip{gap:10px;padding:14px 16px}.metrics>div{padding:0 20px}th:first-child{width:25%}td{padding-right:9px;font-size:14px}
 .pill{white-space:normal;line-height:17px}
}
@media(max-width:900px){
 .sidebar{padding:12px 20px;gap:12px}
 #menu-toggle{display:inline-flex;margin-left:auto;width:40px;height:40px}#menu-toggle>.icon{width:22px;height:22px}
 .sidebar nav,.sidebar-bottom{display:none}
 .sidebar.menu-open nav{display:flex;flex-basis:100%;order:3;flex-direction:column;margin:0;padding-top:8px}
 .sidebar.menu-open .nav-link{font-size:16px;padding:12px}
 .sidebar.menu-open .sidebar-bottom{display:flex;order:4;flex-basis:100%;padding:4px 12px 12px}
 .sidebar.menu-open .sidebar-bottom button{min-height:40px}
}
@media(max-width:760px){.toolbar{flex-wrap:wrap}.search-label{max-width:none;flex-basis:100%}.filter-label{flex:1;min-width:0}}
@media(max-width:640px){
 .sheet{padding:24px 20px;margin:0;min-height:calc(100dvh - 64px)}h1{font-size:26px}
 .title-row{gap:12px;margin-bottom:22px}.title-row p{font-size:14px;margin-top:8px}
 .primary,.secondary{min-height:44px;padding:10px 12px}
 .title-row>.primary{font-size:14px;max-width:130px;flex:none;gap:7px}.title-row>.primary .icon{width:15px;height:15px}
 .metrics{gap:12px;padding:4px 0 20px;margin-bottom:22px}.metrics>div{padding:0 10px 0 0;flex-direction:column;align-items:flex-start;gap:0}
 .metrics span{font-size:14px;line-height:17px;min-height:34px}.metrics strong{font-size:30px;margin:9px 0 0}.metrics small{display:none}
 .section-heading>span{font-size:14px}.toolbar{gap:10px;margin:14px 0 6px}
 .station-list tr{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:18px 0}.station-list td{font-size:16px}
 .station-list td:nth-child(3)::before{content:none}.pill{white-space:nowrap}.row-action{padding:8px 0 8px 8px}
 .report-flow ol{grid-template-columns:1fr 1fr;gap:18px}.report-flow li{font-size:14px;gap:7px}.report-flow li .icon{width:16px;height:16px}
 .report-flow li:nth-child(2)::after{display:none}.login-panel{padding:28px 24px}
 dialog{padding:22px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}dialog h2{font-size:22px}
 .detail-actions button{white-space:normal}.recovery-scope{font-size:14px;padding:14px 16px;margin-bottom:18px}
 .recovery-heading{gap:14px}.recovery-heading h2{display:block}.recovery-heading h2 .icon{display:none}
 .recovery-count strong{font-size:26px}.recovery-target{gap:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable operations scale: 18 px body and 16 px supporting text. */
.topbar,.workspace{font-size:16px}
.wordmark small{font-size:14px}
.title-row h1{font-size:32px;line-height:1.2}
h2{font-size:22px;line-height:30px}
h3{font-size:20px}
small{font-size:16px}
label,input,select,textarea,.form-control,.form-select{font-size:18px}
.toolbar input,.toolbar select{font-size:18px;min-height:var(--control-height);height:var(--control-height)}
.primary,.secondary{font-size:18px;min-height:var(--control-height);line-height:26px}
.title-row p{font-size:18px}
.sidebar .nav-link{font-size:18px;min-height:48px;align-items:center}
.sidebar-bottom,.sidebar-bottom button,.sidebar-note p{font-size:16px}
.policy-strip{font-size:16px}
.metrics span,.metrics small{font-size:16px;line-height:24px}
.metrics strong{font-size:36px}
.metrics strong,.recovery-count,.delivery-cell,.detail-grid span,.station-list .subline{font-variant-numeric:tabular-nums}
.toolbar>span,.section-heading>span,.footnote{font-size:16px}
.pill{font-size:16px;line-height:24px;min-height:28px}
.station-list{container:stations / inline-size;min-width:0;max-width:100%}
.station-list .table{--bs-table-bg:transparent;margin-bottom:0}
.station-list .table>:not(caption)>*>*{padding:18px 14px 18px 0;border-bottom:0;background:transparent;box-shadow:none;color:inherit}
.station-list .table th{font-size:16px;font-weight:600;color:var(--muted);padding-bottom:12px;white-space:normal;line-height:24px}
.station-list .table td{font-size:18px;line-height:28px;border-top:1px solid var(--rule);min-width:0}
td .subline{font-size:16px;line-height:24px}
.station-list .table th:first-child{width:30%}
.station-list .table th:nth-child(2),.station-list .table th:nth-child(3){width:18%}
.station-list .table th:nth-child(4){width:14%}
.station-list .table th:last-child{width:20%}
.station-list .table td:last-child,.station-list .table th:last-child{padding-right:0}
.station-list .row-action{font-size:18px;line-height:26px;gap:6px;max-width:100%;min-height:44px;padding:8px 0;white-space:normal;overflow-wrap:normal;text-align:right}
.station-list .row-action .icon{width:16px;height:16px}
.station-list .row-action:hover{background:var(--raised);border-radius:6px}
.delivery-cell{text-align:right;font-variant-numeric:tabular-nums}
.detail-grid small,.audit-row small,.recovery-heading small,.recovery-target small{font-size:16px}
.recovery-target strong,.recovery-target p,.recovery-row summary{font-size:18px}
.recovery-scope,#recovery-form p{font-size:18px}
.certificate-alert{font-size:16px}
.login-help{margin-top:24px;font-size:16px;color:var(--muted)}
.login-help summary{cursor:pointer;color:var(--accent);font-weight:500}
.login-help .setup-note{margin-top:12px;font-size:16px}
@media(max-width:900px){.sidebar.menu-open .nav-link{font-size:18px}}
@media(max-width:640px){
 .title-row h1{font-size:28px}.title-row p{font-size:16px}
 .sheet{padding-top:20px}.title-row{margin-bottom:18px}.title-row p{display:none}
 .metrics{padding-top:0;padding-bottom:16px;margin-bottom:16px}
 .certificate-alert{margin-bottom:16px;padding:10px 12px}
 .toolbar{margin-top:12px;gap:8px}
 .title-row>.primary{font-size:16px;max-width:146px}
 .metrics span{font-size:16px;line-height:22px;min-height:44px;max-width:none}
 .metrics strong{font-size:32px}
 .station-list .table td{padding:0;border:0}
 .station-list .table tr{gap:10px 12px;padding:20px 0}
 .station-list .table td:last-child{padding:0}
 .delivery-cell{text-align:left}
 .station-list td:nth-child(4)::before{font-size:14px}
 .recovery-scope{font-size:16px}.recovery-heading h2{font-size:20px}
 .certificate-alert .text-button{font-size:16px}
 .section-heading{flex-direction:column;align-items:flex-start;gap:6px}
 .section-heading>span{white-space:nowrap}
 .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .toolbar .search-label,.toolbar .filter-label{grid-column:1/-1;width:100%;max-width:none;min-width:0}
 .toolbar>span{margin-left:0}
 .toolbar .export-stations{margin-left:0}
}
/* Switch by available list width, including desktop windows with the sidebar open. */
@container stations (max-width:980px){
 .station-list .table,.station-list .table tbody{display:block;width:100%}
 .station-list .table thead{display:none}
 .station-list .table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding:24px 0;border-top:1px solid var(--border)}
 .station-list .table td{display:block;grid-column:auto;grid-row:auto;width:auto;min-width:0;padding:0;border:0;text-align:left;align-self:start}
 .station-list .table td:first-child{grid-column:1/-1}
 .station-list .table td:last-child{grid-column:1/-1;grid-row:auto;width:auto;min-width:0;padding:0;text-align:right}
 .station-list .table td::before{content:none}
 .station-list .table td[data-label]::before{content:attr(data-label);display:block;font-size:16px;line-height:24px;color:var(--muted);margin-bottom:6px}
 .station-list .row-action{justify-content:flex-end}
 .station-list .table td.delivery-cell{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px}
 .station-list .table td.delivery-cell::before{margin-bottom:0}
 .station-list .table td.delivery-cell .subline{margin:0}
}
@container stations (max-width:340px){
 .station-list .table td{grid-column:1/-1}
 .station-list .table tr{gap:16px}
}
@media(max-width:360px){
 .title-row{flex-direction:column;align-items:stretch;gap:14px}
 .title-row>.primary{align-self:flex-start;max-width:100%;white-space:nowrap}
}
