/* 2026-09-05 · 科室工作看板：深蓝工作台。只控制呈现，不改变业务规则。 */
:root{--surface:#101d33;--surface-raised:#16253e;--line:rgba(148,178,218,.14);--text:#e7eef9;--muted:#93a6c0;--accent:#62d7ee;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#090f1c;color:var(--text)}
body{background:radial-gradient(ellipse at 18% -10%,#17365a 0,transparent 45%),radial-gradient(ellipse at 100% 0%,#132944 0,transparent 38%),#090f1c;line-height:1.55}
body::before{inset:0;transform:none;background-image:linear-gradient(rgba(139,175,220,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(139,175,220,.025) 1px,transparent 1px);background-size:64px 64px;opacity:.6;animation:none}
body::after{display:none}.ambient{display:none}
.shell{width:calc(100% - 64px);max-width:2200px;padding:28px 0 24px}
.glass{background:linear-gradient(135deg,rgba(20,35,57,.94),rgba(13,25,44,.96));border:1px solid var(--line);box-shadow:0 8px 30px rgba(0,0,0,.12);backdrop-filter:none;-webkit-backdrop-filter:none}
.topbar{min-height:84px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 0 24px;gap:24px;overflow:visible}
.topbar::after,.module-nav::after,.metric::before,.metric::after,.kanban-column::before,.workload-panel::before,.trend-panel::before,.distribution-panel::before{display:none}
.brand{gap:15px}.brand h1{font-size:27px;font-weight:650;letter-spacing:1px;text-shadow:none;color:#f1f6ff}.brand p{font-size:10px;letter-spacing:3px;color:#78a3c5;margin-bottom:5px}
.brand-icon{display:grid;place-items:center;width:48px;height:48px;padding:10px;border-radius:15px;background:linear-gradient(145deg,#28516e,#183249);border:1px solid rgba(115,218,242,.35);box-shadow:inset 0 1px 0 #75cde326,0 8px 24px #060d1940}.brand-icon svg{width:28px;height:28px;fill:none;stroke:#83e0ed;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tech-beacon{display:none}.top-actions{gap:18px}.sync{padding:9px 14px;background:#0d1d2f;border:1px solid var(--line);border-radius:12px;gap:10px}.sync>span{width:6px;height:6px;box-shadow:0 0 0 4px #ffffff06}.sync>span.online{background:#60d5b3;box-shadow:0 0 0 4px #60d5b310;animation:status-breathe 4s ease-in-out infinite}.sync strong,.sync small{text-align:left}.sync strong{color:#b6cec9;font-size:11px;font-weight:500}.sync small{color:#8499b4;font-size:10px;margin-top:1px}
.primary-action,.secondary-action,.icon-button,.document-download{border-radius:10px;font-size:13px;transition:background .18s,border-color .18s,transform .18s;box-shadow:none}
.primary-action{background:linear-gradient(120deg,#67d9ec,#76bffa);color:#092037;box-shadow:0 4px 14px #46b3dd16}.secondary-action,.icon-button{background:#172941;border-color:#adc5e324;color:#c3d4e8}.primary-action:hover,.secondary-action:hover,.document-download:hover{transform:translateY(-1px);box-shadow:none;border-color:#72c9e5;background:#234360;color:#effaff}
button:focus-visible,a:focus-visible{outline:2px solid #8be4f5;outline-offset:4px}input:focus-visible,select:focus-visible{outline:2px solid #8be4f5;outline-offset:2px}
.module-nav{justify-content:flex-start;margin:0 0 26px;padding:6px;gap:6px;border:1px solid var(--line);border-radius:15px;background:#0d192b;box-shadow:none;overflow:visible}
.module-nav button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:12px 22px;border-radius:10px;border:1px solid transparent;color:#91a7c3;font-size:14px;transition:background .2s,color .2s,border-color .2s}
.module-nav button:hover{color:#d8effa;background:#192d46;box-shadow:none;border:1px solid transparent}
.module-nav button.active{color:#8be5f3;background:linear-gradient(115deg,#203e55,#1a3047);border:1px solid #72cce52e;box-shadow:0 3px 12px #00000012}
.module-nav b{display:grid;place-items:center;width:25px;height:25px;background:transparent;animation:none;border-radius:0;color:inherit}
.module-nav b svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.module-nav span{font-size:14px;font-weight:600}
.workspace-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.workspace-intro h2{font-size:22px;letter-spacing:.5px;margin:0;font-weight:600}.workspace-intro p{margin:5px 0 0;font-size:12px;color:var(--muted)}.workspace-tag{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:2px;color:#5f8aa9}.workspace-tag::before{content:"";width:22px;height:1px;background:#4b819b}
.dashboard-overview{gap:16px;margin:0 0 22px}.dashboard-overview .metric{grid-template-columns:1fr 50px;grid-template-rows:auto auto auto;column-gap:10px;min-height:136px;padding:20px 24px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(130deg,#14253c,#101e32);box-shadow:0 5px 18px #00000010}
.dashboard-overview .metric:hover{transform:translateY(-3px);border-color:#77d7ef50;box-shadow:0 10px 26px #00000025}
.dashboard-overview .metric>.metric-icon{grid-column:2;grid-row:1/4;width:46px;height:46px;border-radius:14px;border:1px solid #73b7ff22;background:#3669b317;box-shadow:none;align-self:start;margin-top:4px}.metric-icon::before{text-shadow:none;font-size:24px;color:#85b8ff}
.dashboard-overview .metric>span:not(.metric-icon){font-size:13px;color:#aec0d8;grid-column:1;grid-row:1}.dashboard-overview .metric strong{grid-column:1;grid-row:2;font-size:38px;letter-spacing:-1px;font-weight:650;color:#f3f7ff;text-shadow:none;margin:8px 0 6px;font-variant-numeric:tabular-nums}.dashboard-overview .metric strong em{font-size:11px;margin-left:9px;letter-spacing:0;color:#7d91ad}.dashboard-overview .metric small{grid-column:1;grid-row:3;font-size:11px;color:#8298b5}.metric-bars{display:none}
.dashboard-overview .metric.important .metric-icon{background:#f0b95c10;border-color:#f0b95c22}.metric.important .metric-icon::before{color:#e9be76}.dashboard-overview .metric.completed .metric-icon{background:#60d5b312;border-color:#60d5b326}.metric.completed .metric-icon::before{color:#6fd8b5}
.toolbar{border-radius:14px;gap:18px;background:#101f34;box-shadow:none;padding:17px 20px;margin-bottom:16px}.dashboard-toolbar{padding:14px 18px}.view-title>span{width:3px;height:30px;background:#65cbdc;box-shadow:none}.view-title h2,.dashboard-toolbar .view-title h2{font-size:16px;color:#dce8f7}.view-title p,.dashboard-toolbar .view-title p{font-size:11px;color:#8a9db7}.filters{gap:9px;align-items:center}.dashboard-toolbar .filters label{height:37px;border-radius:9px;background:#0b1729;border-color:var(--line)}.filters label>span{color:#8197b2;font-size:11px}.filters select,.filters input{background:#0b1729!important;color:#c8d8ec!important;font-size:12px;min-width:90px}.filters input{width:170px}.filters input::placeholder{color:#647b97}.task-export-action{height:37px;padding:0 15px;background:#1b3550;border-color:#71bee12c;color:#9ddced}
.dashboard-workspace{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.kanban-grid{gap:12px}.kanban-column,.workload-panel,.trend-panel,.distribution-panel{border-radius:14px;background:#0e1b2f;border-color:var(--line);box-shadow:none}
.kanban-column>header,.workload-panel>header{padding:16px 14px;border-bottom:1px solid #a8c8ef0d;gap:8px}.kanban-column>header h3,.workload-panel>header h3{font-size:14px;color:#bbcee5;display:flex;align-items:center;gap:7px;font-weight:600;white-space:nowrap}.kanban-column>header h3 b{font-size:11px;font-variant-numeric:tabular-nums;color:#a0bada;background:#a9c7ef10;padding:1px 7px;border-radius:6px;margin:0}.kanban-column>header span,.workload-panel>header span{font-size:10px;color:#7e95b1}.important-column>header h3{color:#e5bf80}.completed-column>header h3{color:#72d2b6}
.kanban-list{display:flex;flex-direction:column;align-items:stretch;gap:10px;height:clamp(380px,44vh,620px);padding:10px;scrollbar-color:#304761 transparent;scrollbar-width:thin;scrollbar-gutter:stable}
.compact-task,.compact-task.age-blue,.compact-task.age-yellow,.compact-task.age-orange,.compact-task.age-red{flex:0 0 auto;padding:14px 12px 12px;border-radius:10px;background:linear-gradient(135deg,#192a43,#14243a);border:1px solid #9bbbe719;box-shadow:inset 2px 0 0 var(--task-color,#456b9a);transition:transform .2s,border-color .2s,background .2s}
.compact-task:hover{transform:translateY(-2px);border-color:#82b3d952;background:#1c304a;box-shadow:inset 2px 0 0 var(--task-color,#456b9a),0 6px 12px #040b1426}
.compact-task.age-blue{--task-color:#62acfa}.compact-task.age-yellow{--task-color:#e8cb67}.compact-task.age-orange{--task-color:#efa566}.compact-task.age-red{--task-color:#ef818e}.compact-task.important{--task-color:#d7b371}.compact-task.archived{--task-color:#63c7a7}.compact-task.important-neutral{border-color:#d7b37126}
.compact-title{gap:7px;align-items:flex-start}.compact-title h4{font-size:13px;line-height:1.65;font-weight:550;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:#dce7f6}.compact-title>i{width:5px;height:5px;margin-top:8px;box-shadow:none;background:#7ca5dc}.compact-task.important .compact-title>i{box-shadow:none;background:#d7b371}.compact-task.archived .compact-title>i{box-shadow:none;background:#63c7a7}.compact-title>b{font-size:9px;padding:2px 5px;border-radius:4px;color:#dabb83;background:#d7b37112;white-space:nowrap}
.compact-meta{flex-wrap:wrap;justify-content:flex-start;gap:4px 10px;margin-top:10px;font-size:10px;color:#8da1bd}.compact-meta time{white-space:normal;font-size:10px}.compact-task.age-blue .compact-meta time{color:#8cbef5}.compact-task.age-yellow .compact-meta time{color:#e0cd91}.compact-task.age-orange .compact-meta time{color:#e3b48c}.compact-task.age-red .compact-meta time{color:#e8a0ab}
.compact-foot{font-size:10px;margin-top:11px;gap:6px;padding-top:9px;border-top:1px solid #b4ccee0a;flex-wrap:wrap}.compact-person{color:#a6bad4;white-space:normal}.compact-person>i{width:19px;height:19px;font-size:9px;background:#304760;color:#bfd6eb}.compact-status{color:#74bfaa;font-size:9px}.compact-task.important .compact-status{color:#c9b080}.completion-time{display:block;padding:7px 8px;border-radius:6px;background:#63c7a707;border-color:#63c7a719}.completion-time span{font-size:9px;color:#85a69e;display:block}.completion-time strong{font-size:10px;font-weight:500;white-space:normal;color:#8dcfba;display:block;margin-top:2px}
.column-empty{flex:1;min-height:240px;color:#657d9b}.column-empty span{font-size:32px;color:#486482}.column-empty p{font-size:11px}
.workload-list{padding:18px 14px;gap:19px}.workload-item{grid-template-columns:26px 42px minmax(20px,1fr) 37px;gap:7px}.workload-item .avatar{width:26px;height:26px;background:#25415a;border:1px solid #91bdda1a;box-shadow:none;color:#a7d2e9;font-size:10px}.workload-item strong{font-size:11px;color:#b8cbe0}.workload-item>i{height:5px;background:#22334d}.workload-item>i b{background:linear-gradient(90deg,#648cdf,#6ed1dc);box-shadow:none}.workload-item em{font-size:10px;color:#91a7c3;font-variant-numeric:tabular-nums}
.dashboard-charts{grid-template-columns:minmax(0,1.8fr) minmax(350px,1fr);gap:16px;margin-top:18px}.trend-panel,.distribution-panel{padding:21px 22px;min-height:280px}.trend-panel h3,.distribution-panel h3{color:#c5d8ed;font-size:15px}.trend-panel p,.distribution-panel p{font-size:11px;line-height:1.7;color:#7d95b2;margin-top:5px}.trend-panel>header>span{font-size:10px;color:#74becd}.task-trend-chart{height:230px}.trend-summary{gap:16px;padding-top:12px;flex-wrap:wrap}.trend-summary small{font-size:10px;color:#8a9fba}.trend-summary strong{font-size:17px}.trend-legend{font-size:9px}.trend-legend i.active{box-shadow:none}.trend-labels text,.trend-y-labels text{fill:#91a6c1}.trend-line{stroke:#6cd1e7;stroke-width:2.3}.trend-dots circle{fill:#bfdfea;stroke:#64bed6}.status-distribution{height:225px;gap:20px;grid-template-columns:145px 1fr}.status-donut{width:140px;height:140px;box-shadow:none}.status-donut::before{background:#0e1b2f;box-shadow:none;width:108px;height:108px}.status-donut strong{font-size:29px}.distribution-legend{gap:14px}.distribution-legend>div{font-size:11px;gap:8px;grid-template-columns:6px 1fr 22px 42px}.distribution-legend em{color:#8aa0ba}
.record-summary{gap:16px}.summary-card{border-radius:14px;padding:20px}.summary-card small{color:#9bb0cb;font-size:12px}.summary-card strong{color:#e3edfa;font-size:30px;font-variant-numeric:tabular-nums}.summary-card em{color:#849ab6}.record-card,.duty-credit,.stats-chart,.stats-detail,.document-card{border-radius:14px;box-shadow:none;border-color:var(--line)}.record-card:hover,.document-card:hover,.summary-card:hover,.duty-credit-item:hover{border-color:#7ba7c93d;box-shadow:none;transform:none}.record-card::before{background:#71bdca;box-shadow:none;width:2px}.record-head h3{font-size:18px;color:#e1eaf7}.record-meta,.record-detail p{color:#adbed4}.record-head time,.record-foot,.record-detail small,.document-info small,.document-info time,.section-heading p{color:#849bb7}.record-detail,.duty-date,.duty-person,.duty-credit-item,.stats-task-details article{background:#0c192b;border-color:#a6c2e311;border-radius:10px}.record-tools select,.document-tools input,.form-field input,.form-field select,.form-field textarea{background:#0b192b;border-color:var(--line);border-radius:9px}.document-icon{box-shadow:none;border-radius:10px;background:#1b3550;border-color:#679aca30}.document-info h3{font-size:16px}.document-download{background:#1b354c;border-color:#66b8d431;color:#96d5e6;font-weight:500}.document-info p{color:#9eb4ce}.document-list{gap:16px}
.stats-tabs{background:#0b1728;border-color:var(--line)}.stats-tabs button{font-size:13px;color:#94a9c4}.stats-tabs button.active{background:#25435b;box-shadow:none;color:#afe6ee}.bar-track{background:#213650;box-shadow:none;height:10px}.bar-track i,.duty-credit-item b{background:linear-gradient(90deg,#6288ca,#72c9d4);box-shadow:none}.bar-track i::after,.duty-credit-item b::after{display:none}.bar-row.active,.bar-row:hover{background:#21415840;border-color:#7aa9c924}.person-tabs button{background:#152a40;border-color:var(--line);color:#a8bfd7}.person-tabs button.active{background:#25445a;border-color:#7cc3d54d;color:#d7f3f5}
.modal{background:#122238;border:1px solid #6684a347;box-shadow:0 24px 90px #00000070;border-radius:20px}.modal::backdrop{background:#030a16a8;backdrop-filter:blur(7px)}.modal-heading small{color:#7cc7d5}.modal-heading h2{font-size:22px}.modal-heading p{color:#93a9c4}.record-modal .modal-heading{background:linear-gradient(180deg,#122238 80%,transparent)}.form-field>span,.people-field legend{color:#a0b5cf}.form-field input:focus,.form-field textarea:focus{border-color:#7acbdc;box-shadow:0 0 0 3px #7acbdc10}.notice{background:#1b3f43;border-color:#6cbbab30;color:#b5e9dc}footer{margin-top:25px;color:#7186a2;font-size:11px;text-align:center}
.module-view.active{animation:panel-enter .35s ease-out both}.brand-icon{animation:brand-reveal .6s ease-out both}
@keyframes panel-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes brand-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes status-breathe{0%,100%{opacity:.65}50%{opacity:1}}
@media(min-width:1800px){.shell{padding-top:36px}.brand h1{font-size:32px}.dashboard-overview .metric{min-height:155px}.dashboard-overview .metric strong{font-size:44px}.dashboard-workspace{grid-template-columns:minmax(0,1fr) 290px}.compact-title h4{font-size:15px}.compact-meta,.compact-meta time,.compact-foot{font-size:11px}.kanban-column>header h3{font-size:16px}.kanban-list{padding:14px;gap:12px}.compact-task{padding:16px}.workload-item strong,.workload-item em{font-size:12px}.workload-list{gap:24px}.status-distribution{grid-template-columns:170px 1fr}.status-donut{width:160px;height:160px}.status-donut::before{width:120px;height:120px}}
@media(max-width:1500px){.dashboard-workspace{grid-template-columns:1fr}.workload-list{grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 20px;gap:18px 28px}.kanban-column>header{padding:15px}.kanban-list{height:420px}}
@media(max-width:1100px){.shell{width:calc(100% - 40px)}.module-nav button{flex:1;padding:12px 10px}.dashboard-overview .metric{padding:18px;min-height:128px}.dashboard-workspace .kanban-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workload-list{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-charts{grid-template-columns:1fr}.status-distribution{height:190px;grid-template-columns:160px 1fr;max-width:540px}.dashboard-toolbar{flex-wrap:wrap}.dashboard-toolbar .filters{flex-direction:row;flex-wrap:wrap}.dashboard-toolbar .filters label{flex:1}.record-tools{flex-wrap:wrap}}
@media(max-width:760px){.shell{width:calc(100% - 28px);padding-top:20px}.topbar{gap:16px;padding-bottom:18px}.brand h1{font-size:21px}.brand p{font-size:8px;letter-spacing:2px}.brand-icon{width:40px;height:40px;border-radius:12px}.top-actions{gap:10px;margin-left:auto}.sync{padding:7px 10px}.module-nav{gap:3px;padding:5px;margin-bottom:22px;border-radius:12px}.module-nav button{flex:1;display:flex;flex-direction:column;gap:4px;padding:9px 2px}.module-nav span{font-size:11px;margin:0;white-space:nowrap}.module-nav b{width:20px;height:20px}.module-nav b svg{width:17px;height:17px}.workspace-intro h2{font-size:20px}.workspace-intro p{font-size:11px}.workspace-tag{display:none}.dashboard-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.dashboard-overview .metric{grid-template-columns:1fr 34px;padding:16px;min-height:120px;border-radius:13px}.dashboard-overview .metric>.metric-icon{width:32px;height:32px;border-radius:10px}.metric-icon::before{font-size:18px}.dashboard-overview .metric strong{font-size:31px}.dashboard-overview .metric small{display:block;font-size:10px}.dashboard-overview .metric>span:not(.metric-icon){font-size:12px}.dashboard-toolbar .view-title{display:flex}.dashboard-toolbar .filters{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px}.dashboard-toolbar .filters label.search{grid-column:1/-1;grid-row:2}.dashboard-toolbar .filters input{width:100%;min-width:0}.task-export-action{width:auto}.dashboard-workspace .kanban-grid{grid-template-columns:1fr;gap:14px;overflow:visible}.kanban-column{width:auto;flex:auto}.kanban-list{height:auto;max-height:490px;min-height:100px}.column-empty{min-height:110px}.kanban-column>header{padding:15px 16px}.compact-title h4{font-size:14px;-webkit-line-clamp:unset}.compact-meta,.compact-meta time,.compact-foot{font-size:11px}.workload-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:17px 14px}.workload-item{grid-template-columns:24px 36px minmax(16px,1fr) 33px;gap:5px}.dashboard-charts{gap:14px}.trend-panel,.distribution-panel{padding:18px 16px}.trend-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.trend-summary>span{display:grid;gap:3px}.trend-legend{grid-column:1/-1;margin:3px 0 0;justify-content:center;flex-wrap:wrap}.trend-summary small{font-size:9px}.task-trend-chart{height:240px}.status-distribution{grid-template-columns:130px 1fr;gap:14px;height:190px;justify-items:stretch}.status-donut{width:122px;height:122px}.status-donut::before{width:92px;height:92px}.distribution-legend{width:auto;gap:12px}.distribution-legend>div{font-size:10px;grid-template-columns:5px 1fr 20px 35px;gap:5px}.record-tools{display:flex}.record-tools select,.document-tools input{min-width:0;max-width:100%}.record-summary{gap:10px}.summary-card{padding:16px}.document-card{padding:16px;gap:12px}.document-info>div{flex-wrap:wrap;gap:5px}.modal form{padding:20px}.record-modal .modal-heading{top:-20px}.toolbar{padding:16px}.document-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.brand h1{font-size:20px}.brand-icon{display:grid}.top-actions{width:auto;justify-content:flex-end}.sync{display:none}.top-actions>.secondary-action{font-size:11px;padding:8px 10px}.workspace-intro p{max-width:280px}.workload-list{grid-template-columns:1fr;gap:18px}.workload-item{grid-template-columns:28px 48px 1fr 44px;gap:10px}.status-distribution{grid-template-columns:115px 1fr;gap:10px}.status-donut{width:108px;height:108px}.status-donut::before{width:82px;height:82px}.stats-task-details article{flex-wrap:wrap}.document-tools input{flex-basis:100%}footer{font-size:10px;line-height:1.8}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.filters label>span{flex-shrink:0;white-space:nowrap}.filters input{min-width:0;flex:1}

/* Task overview filters: one coherent blue-gray surface, no dark inner boxes. */
.dashboard-toolbar .filters label{background:#20364e;border:1px solid #3b536d;box-shadow:inset 0 1px 0 #ffffff05;min-height:40px;height:auto;padding:0 12px;gap:10px;transition:border-color .15s ease,background-color .15s ease}
.dashboard-toolbar .filters label:hover{background:#263e57;border-color:#55738e}
.dashboard-toolbar .filters label:focus-within{background:#263e57;border-color:#80cadc;box-shadow:0 0 0 3px #80cadc18}
.dashboard-toolbar .filters label>span{color:#b3c6db;font-size:12px;white-space:nowrap}
.dashboard-toolbar .filters select,.dashboard-toolbar .filters input{background:transparent!important;color:#eef5ff!important;border:0;box-shadow:none;outline:none;min-height:38px;font-size:13px;line-height:1.4;border-radius:0;min-width:0}
.dashboard-toolbar .filters input{padding:0;width:180px;-webkit-appearance:none;appearance:none}
.dashboard-toolbar .filters input::placeholder{color:#a7bdd4;opacity:1}
.dashboard-toolbar .filters select{-webkit-appearance:none;appearance:none;cursor:pointer;padding:0 22px 0 0;min-width:92px;background-image:linear-gradient(45deg,transparent 50%,#b7d6e8 50%),linear-gradient(135deg,#b7d6e8 50%,transparent 50%)!important;background-position:calc(100% - 6px) 50%,calc(100% - 2px) 50%!important;background-size:4px 4px!important;background-repeat:no-repeat!important}
.dashboard-toolbar .filters select option{background:#20364e!important;color:#eef5ff!important}
@media(max-width:760px){.dashboard-toolbar .filters input{width:100%}.dashboard-toolbar .filters label.search{min-width:0}.dashboard-toolbar .filters select{flex:1}}

/* Omit the empty intake category; keep any future incoming records accessible. */
.dashboard-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-workspace .kanban-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-overview.has-unassigned,.dashboard-workspace .kanban-grid.has-unassigned{grid-template-columns:repeat(4,minmax(0,1fr))}
.dashboard-overview>[hidden],.kanban-grid>[hidden]{display:none!important}
@media(max-width:1100px){.dashboard-workspace .kanban-grid.has-unassigned{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-overview{gap:8px}.dashboard-overview .metric{padding:14px 10px;grid-template-columns:1fr;min-height:112px}.dashboard-overview .metric>.metric-icon{display:none}.dashboard-overview .metric strong{font-size:28px}.dashboard-overview .metric small{font-size:9px}.dashboard-overview .metric>span:not(.metric-icon){font-size:12px}.dashboard-overview.has-unassigned{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-workspace .kanban-grid,.dashboard-workspace .kanban-grid.has-unassigned{grid-template-columns:1fr}}

.brand-icon.brand-generated{padding:0;overflow:hidden;background:none;border:0;flex-shrink:0}.brand-generated img{display:block;width:100%;height:100%;object-fit:contain}

.brand-icon.brand-generated{display:flex;align-items:center;justify-content:center;gap:0;grid-template-columns:none;grid-template-rows:none;box-shadow:none}.brand-icon.brand-generated img{flex:0 0 100%;width:100%;max-width:none;height:100%;object-fit:contain;object-position:center}

.brand{align-items:stretch}.brand-icon.brand-generated{position:relative;align-self:stretch;width:auto;height:auto;aspect-ratio:1;flex:0 0 auto;overflow:hidden;border-radius:0;mix-blend-mode:lighten}.brand-icon.brand-generated img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain}

.brand{--brand-heading:27px;--brand-eyebrow:10px;--brand-height:calc((var(--brand-heading) + var(--brand-eyebrow))*1.55 + 5px)}
.brand-icon.brand-generated{width:var(--brand-height);height:var(--brand-height);flex:0 0 var(--brand-height)}
@media(min-width:1800px){.brand{--brand-heading:32px}}
@media(max-width:760px){.brand{--brand-heading:21px;--brand-eyebrow:8px}}
@media(max-width:480px){.brand{--brand-heading:20px}}

.brand>div{display:flex;align-items:center}

.brand h1{font-size:29px;transform:translateY(-3px)}
@media(min-width:1800px){.brand h1{font-size:34px}}
@media(max-width:760px){.brand h1{font-size:22px}}
@media(max-width:480px){.brand h1{font-size:21px;transform:translateY(-2px)}}

/* 紧凑值班排班：按月份分组，一行一条记录。 */
#dutyList{gap:12px}.duty-month{overflow:hidden;border-radius:14px;border:1px solid var(--line);background:#101e31}.duty-month>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #a6c2e312;background:#15263a}.duty-month>header h3{margin:0;color:#e6eef9;font-size:15px}.duty-month>header span{color:#8198b4;font-size:11px}.duty-roster{display:grid}.duty-row{display:grid;grid-template-columns:72px 32px minmax(0,1fr) 68px auto;align-items:center;gap:12px;min-height:64px;padding:9px 18px;border-bottom:1px solid #a6c2e30d}.duty-row:last-child{border-bottom:0}.duty-row:hover{background:#1b304533}.duty-row time{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:start;gap:8px;font-variant-numeric:tabular-nums}.duty-row time strong{color:#dce8f7;font-size:16px}.duty-row time small{color:#7990ab;font-size:10px}.duty-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#b9e8ee;background:#254158;border:1px solid #74c8d42e;font-size:12px}.duty-row-person{min-width:0}.duty-row-person strong,.duty-row-person small{display:block}.duty-row-person strong{overflow:hidden;color:#dce7f5;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.duty-row-person small{margin-top:3px;color:#7f95af;font-size:10px}.duty-credit-badge{justify-self:end;padding:5px 8px;border-radius:8px;color:#9edce3;background:#1e394d;border:1px solid #6ac4d126;font-size:11px;font-variant-numeric:tabular-nums}.duty-row .record-actions{margin-left:2px}.duty-row .record-actions button{padding:5px 8px}
@media(max-width:560px){.duty-month>header{padding:12px 14px}.duty-row{grid-template-columns:62px 30px minmax(0,1fr) 56px;gap:8px;min-height:60px;padding:8px 12px}.duty-row time{grid-template-columns:1fr;gap:1px}.duty-row time strong{font-size:14px}.duty-row .record-actions{grid-column:3/-1;width:auto;justify-content:flex-end;margin:-4px 0 2px}.duty-credit-badge{padding:4px 6px;font-size:10px}}

/* 加班事项支持长文本、换行和手机窄屏。 */
.duty-work{grid-column:1/-1;min-width:0;padding:6px 0 3px;border-top:1px solid #a6c2e312}.duty-work>span{font-size:11px;color:#8198b4}.duty-work p{margin:5px 0 0;color:#dce7f5;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#dutyWork{width:100%;min-height:90px;resize:vertical;box-sizing:border-box}

/* 排班条件字段与换班选项。 */
#dutyForm [hidden]{display:none!important}#dutySwapField>span{display:flex;align-items:center;gap:8px}#dutySwap{width:18px;height:18px;margin:0;flex:0 0 18px}#dutyRotationHint{font-size:14px;line-height:1.7}#dutySwapReason{width:100%;box-sizing:border-box;resize:vertical}

/* Independent in-Nanjing duty roster */
.module-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
.ning-batch{border-radius:18px;padding:24px;margin-bottom:20px;min-width:0}.ning-batch p,#moduleNing .duty-credit p{line-height:1.8;overflow-wrap:anywhere}.ning-range{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.ning-range .form-field{flex:1;min-width:160px}.ning-draft-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #dae4ef}.ning-draft-row select{padding:10px;min-width:120px}.ning-table{width:100%;border-collapse:collapse;margin-top:16px}.ning-table td,.ning-table th{text-align:left;padding:12px 8px;border-bottom:1px solid #d8e3ef}.ning-actions{margin:16px 0}#ningDraft .record-tools{margin-top:20px}
@media(max-width:700px){.module-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.ning-batch{padding:16px}.ning-range{align-items:stretch}.ning-range>button{width:100%}.ning-table td,.ning-table th{padding:10px 4px;font-size:14px}.ning-draft-row{gap:8px;font-size:14px}}
@media print{body.ning-print{background:white!important}body.ning-print .topbar,body.ning-print .module-nav,body.ning-print .module-view:not(#moduleNing),body.ning-print #moduleNing> :not(#ningList),body.ning-print .ning-actions,body.ning-print #ningList> :not(.ning-print-target){display:none!important}body.ning-print #moduleNing,body.ning-print #ningList{display:block!important}body.ning-print .ning-print-target{box-shadow:none!important;background:white!important;color:black!important;border:0!important}body.ning-print .ning-table tr{break-inside:avoid}}

@media print{html:has(body.ning-print){background:white!important;color-scheme:light!important}body.ning-print::before,body.ning-print::after{display:none!important}body.ning-print footer,body.ning-print .notice{display:none!important}}
