/* Administration design system. Screen-only rules preserve report printing. */
@media screen {
  :root{--ink:#223449;--muted:#627487;--line:#dfe6ed;--green:#087f70;--bg:#f4f6f9;--nav:#152b3b;font-family:Inter,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:14px;line-height:1.5}
  body{background:var(--bg);-webkit-font-smoothing:antialiased}
  h1,h2,h3{font-weight:650}h1{font-size:25px;letter-spacing:-.5px}h2{font-size:16px}h3{font-size:15px}
  button,input,select,textarea{border-radius:6px;font:inherit}button{min-height:36px;padding:7px 12px;font-weight:550;transition:background .12s,border-color .12s}button:disabled{cursor:not-allowed}button:hover:not(:disabled){border-color:#b6c7d3;background:#f2f6f8}button.primary:hover:not(:disabled){background:#06695d;border-color:#06695d}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #087f70;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #087f7033;border-color:#087f70}input,select{min-height:36px;padding:7px 10px}input[type=checkbox],input[type=radio]{min-height:initial;accent-color:var(--green)}textarea{border:1px solid var(--line);padding:10px;resize:vertical;color:var(--ink)}
  .shell{grid-template-columns:236px minmax(0,1fr)}.sidebar{padding:24px 14px 16px;background:var(--nav)}.brand{font-size:23px;padding:0 12px}.brand-sub{letter-spacing:1px;margin-bottom:24px}.sidebar nav{scrollbar-color:#425767 transparent}.sidebar nav button{min-height:39px;margin:2px 0;gap:11px;line-height:1.4;white-space:normal;border-radius:6px;box-shadow:none;font-size:13px}.sidebar nav button.active{background:#244a55;box-shadow:inset 3px 0 #57c6ad;color:#fff}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;flex-shrink:0}.nav-icon svg{display:block}.nav-section{margin-top:13px}.nav-section summary{font-size:11px;letter-spacing:.3px;color:#9fb2bf;padding:9px 12px}.nav-section summary.contains-current{background:transparent;color:#dce8ed}.nav-section>div{margin-left:0;padding-left:0;border:0}.sidebar-bottom{font-size:11px;line-height:1.7;padding:14px 12px 0}.sidebar-bottom strong{font-size:12px;overflow-wrap:anywhere}
  .topbar{height:auto;min-height:64px;padding:12px 28px;gap:12px}.topbar-left{min-width:0}.topbar-left .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.topbar-right{gap:10px;flex-wrap:wrap;justify-content:flex-end;font-size:13px}.topbar-right select{max-width:130px}.avatar{width:30px;height:30px;font-size:12px}.alarm-controls button{padding:6px 9px}.content{padding:26px 28px 36px;max-width:1920px}.page-head{align-items:flex-start;margin-bottom:22px}.page-head p{font-size:13px;line-height:1.6;max-width:760px}.page-head .tools{flex-shrink:0;justify-content:flex-end}.eyebrow{font-size:11px;letter-spacing:.5px;margin-bottom:5px;color:var(--muted)}
  .card,.metric{border:1px solid var(--line);border-radius:8px;box-shadow:0 2px 4px #18334a03}.card-head{padding:15px 18px;flex-wrap:wrap;gap:12px}.card-head h2{font-size:15px}.tools{gap:8px}.tools input{min-width:180px}.metrics{gap:16px;margin-bottom:20px}.metric{padding:18px 20px}.metric small{font-size:12px;font-weight:550;color:var(--muted)}.metric strong{font-size:30px;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.metric.accent{border-top:1px solid var(--line);box-shadow:inset 0 3px var(--green)}.metric .hint{font-size:11px;line-height:1.5}
  .table-wrap{max-height:calc(100vh - 290px);min-height:110px;scrollbar-width:thin;scrollbar-color:#bac9d5 #f6f8fa;overscroll-behavior:contain}table{font-size:13px}th{font-size:12px;font-weight:600;letter-spacing:0;padding:11px 14px;color:#516479;background:#f6f8fb}td{padding:11px 14px;line-height:1.5;font-variant-numeric:tabular-nums}tbody tr:hover td{background:#f3f8fa}.cell-sub{font-size:11px;line-height:1.45;color:var(--muted);margin-top:3px}.table-foot{padding:10px 16px;font-size:11px;gap:12px;flex-wrap:wrap;background:#fbfcfd;border-radius:0 0 8px 8px}.table-foot button{min-height:30px;padding:4px 9px}.row-action{min-height:29px;font-size:12px;padding:4px 8px;border:1px solid transparent;border-radius:4px}.actions-cell .row-action{margin:2px 4px 2px 0}.row-action.danger{background:transparent;color:#ad3747}.badge{border-radius:4px;font-size:11px;font-weight:550;padding:3px 7px;line-height:1.4}.progress span{height:6px}.face-preview{padding:2px}
  .sos-banner{padding:12px 16px;gap:12px;border-radius:7px;border-left-width:3px;background:#fff5f5;margin-bottom:20px;font-size:13px}.sos-banner button{min-height:32px;padding:5px 10px;font-size:12px}.sos-banner>span{flex:1;min-width:100px;overflow-wrap:anywhere}.sos-banner strong{font-weight:650}.notice{font-size:12px;line-height:1.7;border:1px solid #e1eaf0;border-radius:6px;padding:12px 14px}.detail-note{font-size:12px;line-height:1.7;margin-top:14px}.empty{padding:44px 24px}.empty h3{font-size:15px;margin-bottom:8px}.empty p{font-size:13px;max-width:480px;margin:0 auto}.form-error{font-size:13px;line-height:1.6}
  dialog{border:1px solid var(--line);border-radius:10px;box-shadow:0 20px 80px #10273840}dialog::backdrop{background:#142b3b70}dialog header,dialog footer{padding:16px 22px}dialog footer{background:#f9fbfc;gap:8px}dialog .form-body{padding:22px;max-height:65vh}.field{gap:7px;margin-bottom:18px}.field label{font-size:12px;font-weight:600}.field small{line-height:1.6}.check-list{border-radius:6px}.check-list label{padding:10px 12px}.settings-body{max-width:800px;padding:22px}.form-grid{gap:0 20px}.schedule-cards{gap:12px;padding:16px}.schedule-cards article{border-radius:6px;padding:16px}.schedule-cards p{font-size:12px;line-height:1.6}.scope-bar{border:1px solid var(--line);border-radius:7px;padding:12px 16px;background:white}.scope-hint{font-size:12px}.steps{padding:4px 0;gap:8px}.report-presets{padding:12px 18px 0;gap:8px}.report-filters{gap:12px;padding:14px 18px}.report-filters label{font-size:12px;font-weight:550}.report-round{border-radius:7px;margin:18px 0}.report-round header{background:#f0f6f8}.report-round header p{font-size:13px;margin:6px 0 0}.round-title{margin-bottom:8px}.round-title h3{font-size:16px}.round-title button{font-size:12px;font-weight:550;flex-shrink:0}.round-summary,.round-exceptions{font-size:13px;line-height:1.7}.report-round .report-signatures{padding:26px 18px 22px}.report-round .table-wrap{min-height:0}.voice-layout{border-radius:8px}.voice-room{border-radius:6px}.voice-thread-head{padding:14px 16px}.voice-composer{padding:12px 16px}.login-box{width:380px}.login-box h2{font-size:25px}.login-box input{min-height:42px}.login-intro h1{font-size:38px;line-height:1.3}.login-intro{padding:9vh 7vw}.login-claim{letter-spacing:.8px}.login-meta{gap:16px;font-size:12px}#toast{font-size:13px;border-radius:7px;max-width:min(450px,calc(100vw - 32px));padding:12px 18px}
}
@media screen and (max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.content{padding:22px 20px}.topbar{padding:12px 20px}.topbar-left{display:none}.topbar-right{margin-left:auto}.page-head .tools{flex-shrink:1}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:700px){.shell{display:block}.sidebar{height:auto;padding:14px}.sidebar nav{max-height:32vh}.sidebar .brand-sub,.sidebar-bottom{display:none}.content{padding:20px 12px}.topbar{padding:10px 12px}.topbar-right{gap:7px}.page-head{flex-wrap:wrap;gap:12px}.page-head h1{font-size:23px}.page-head .tools{justify-content:flex-start}.metrics{gap:10px}.metric{padding:14px}.metric strong{font-size:26px}.card-head{padding:13px}.table-wrap{max-height:65vh}.round-title{align-items:flex-start;flex-wrap:wrap}.scope-bar{flex-wrap:wrap}.tools input{min-width:140px}.login-box{width:100%;max-width:380px}.login-side{padding:24px}.form-grid{display:block}}
@media screen{#page>.card+.card{margin-top:18px}.settings-body form:has(input[type=file]){display:flex;align-items:center;gap:10px;flex-wrap:wrap}.settings-body input[type=file]{max-width:100%;font-size:12px}.settings-body input::file-selector-button{border:0;border-right:1px solid var(--line);background:#f1f5f8;color:var(--ink);padding:7px 12px;margin:-7px 10px -7px -10px;font:inherit;cursor:pointer}}
@media screen{.sidebar nav button:hover:not(:disabled),.sidebar nav button:focus-visible{background:#254650;color:#fff}.sidebar nav button.active:hover:not(:disabled),.sidebar nav button.active:focus-visible{background:#244a55;color:#fff}.sidebar nav button:focus-visible{outline-color:#57c6ad;outline-offset:-2px}}
@media(prefers-reduced-motion:reduce){button,.nav-section summary::after{transition:none!important}}
