/* Unified, low-chroma workspace. Print output keeps its document styles. */
@media screen {
:root{--bg:#f4f5f2;--ink:#263637;--muted:#7a8786;--line:#e1e6e1;--green:#316b61;--pale:#e9efeb;--red:#a34d47;--amber:#8c714b;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif;font-synthesis:none;font-variant-numeric:tabular-nums}body{background:var(--bg);font-size:13px;line-height:1.6;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{color:var(--ink);font-weight:550;letter-spacing:-.035em}h1{font-size:29px}h2{font-size:19px}h3{font-size:15px}button,input,select,textarea{font:inherit}button,.secondary,.password-settings-link{border:1px solid var(--line);border-radius:8px;box-shadow:none;transition:background .16s ease,border-color .16s ease;letter-spacing:0}button{font-weight:500}button:hover{background:#edf0ec;border-color:#c8d2cb}button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #648b80;outline-offset:3px}.primary{background:#316b61;color:white;border-color:#316b61;font-weight:550}.primary:hover{background:#285c53;border-color:#285c53}.secondary,.password-settings-link{background:#fff;color:#435752}input,select,textarea{background:#fff;border:1px solid #dce3dc;border-radius:8px;padding:10px 12px;color:#293c37;min-height:40px;box-shadow:none}input:focus,select:focus,textarea:focus{outline:2px solid #88a49966;border-color:#759a8a}input[type=checkbox],input[type=radio]{accent-color:#3d7465;min-height:0;flex-shrink:0}label{color:#667770}.panel,.station,.stat,.empty,.access-detail{border:1px solid #e0e5de;border-radius:12px;box-shadow:0 2px 5px #1e3f2b02;background:#fff}.panel{padding:22px}.stats{gap:14px;margin-bottom:24px}.stat{padding:18px 20px}.stat label{font-size:11px;color:#819087;font-weight:500}.stat strong{font-size:29px;font-weight:500;letter-spacing:-1px}.stat small{font-size:11px;color:#7c8b83}.section-heading{gap:12px;margin-bottom:17px}.section-heading span{font-size:11px;color:#829087}.grid{gap:18px}.muted,.help,.vacancy{color:#819087}.tag{border-radius:5px;padding:4px 7px;font-weight:450;font-size:10px;letter-spacing:0;background:#edf1ed;color:#5f7566}.tag.warn,.tag.quiet{background:#f4f3ed;color:#887d62}.tag.bad{background:#f6e9e6;color:#98534c}.tag.blue{background:#edf0f2;color:#677c87}.tag.quiet{background:#f3f5f2;color:#849084}.link{color:#507665;font-size:11px;border:0;background:transparent;padding:4px}.link:hover{background:#eef3ed}.table-wrap{border:1px solid var(--line);border-radius:10px}table{font-size:12px}th{background:#f7f9f5;color:#8a978b;font-size:10px;letter-spacing:.04em;padding:12px}td{padding:14px 12px;border-color:#edf0ea}.form-grid{gap:18px}.form-grid label{font-size:12px;gap:7px}fieldset{border:1px solid var(--line);border-radius:8px;padding:12px}legend{color:#718471;font-size:12px}dialog{border:1px solid #dce5d9;border-radius:15px;padding:28px;box-shadow:0 22px 90px #18362626;width:min(660px,94vw);line-height:1.65}dialog::backdrop{background:#27352e55;backdrop-filter:blur(5px)}dialog h2{font-size:22px;margin-bottom:8px}.close{border:0;background:none;color:#8c998a}.list-row{padding:17px 0;border-color:#edf0ea}footer{letter-spacing:0;color:#a2aba0;font-size:10px}.chips label{background:#f3f6ef}#notice{background:#f3efe2;color:#7a7355;border:1px solid #e8e2ce;border-radius:9px}.form-error{color:#9c544b}.language-control select{min-height:36px;font-size:12px}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;flex:0 0 19px;color:inherit}.nav-icon svg{display:block}.brand{font-family:"Iowan Old Style","Noto Serif TC","Songti TC",serif;font-weight:550;font-size:24px;letter-spacing:.01em;color:#314b3d}.brand span{font-size:25px}.brand small,.navlabel{display:none}.aside-bottom{color:#869180;font-size:11px}.aside-bottom #identity{border-top:1px solid #e3e8de;padding-top:16px;color:#62745f;font-size:11px}.dot{background:#6b9279}body:has(#content) aside{position:fixed;inset:0 auto 0 0;width:232px;background:#f8faf5;border-right:1px solid #e0e6d9;padding:29px 18px;overflow-y:auto;z-index:35}body:has(#content) main{margin-left:232px;padding:25px clamp(22px,3.2vw,52px);min-width:0}nav{margin-top:20px;display:block}nav button{font-size:12px;font-weight:450;padding:10px 12px;border:0;background:transparent;color:#75836d;min-height:40px}nav button.active,#favorites button.active{background:#e7eee0;color:#365c45;border-radius:7px;font-weight:550}nav .nav-row{gap:4px;margin:2px 0}nav .nav-row button{gap:10px}nav .nav-star{color:#a6b19c;min-width:24px;font-size:15px}.nav-group{border:0;margin-top:13px}.nav-group>summary{padding:10px 8px;list-style:none;font-size:10px;font-weight:550;letter-spacing:.03em;color:#91a086;cursor:pointer}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary:after{content:'⌄';float:right;font-size:13px;color:#acb6a4}.nav-group[open]>summary:after{content:'⌃'}#favorites{padding:21px 0 13px;margin-top:16px;border-bottom:1px solid #e4e9dc}#favorites h3{font-size:10px;color:#8d9a82;font-weight:500;letter-spacing:.02em;margin:0 8px 10px}#favorites p{font-size:10px;color:#a1ab98;line-height:1.8;margin:8px}#favorites button{font-size:12px;border:0;padding:9px 12px;gap:10px;background:transparent;width:100%;text-align:left}body:has(#content) main>header{display:flex;align-items:center;gap:16px;justify-content:space-between;min-height:81px;background:#f4f5f2ed;backdrop-filter:blur(12px);padding:12px 0;margin-bottom:24px;border-bottom:1px solid #e0e5da;z-index:20}main>header h1{font-size:28px;font-weight:500;letter-spacing:-.035em}main>header .header-actions{gap:8px;align-items:center}main>header .header-actions button,main>header .password-settings-link{font-size:11px;min-height:36px;padding:8px 11px}main>header #clock{font-size:10px;color:#94a08c}.toolbar{border:1px solid #e0e5da;background:#ffffffa6;border-radius:10px;padding:12px 14px;margin-bottom:24px;gap:12px}.toolbar .filters{gap:12px}.toolbar .filters label{font-size:10px;color:#8a977f}.toolbar .tabs{padding:3px;border-radius:7px;background:#edf1e7}.toolbar .tabs button{padding:7px 11px;border:0;border-radius:5px;background:transparent;font-size:11px}.toolbar .tabs .selected{background:white;color:#365d42;box-shadow:0 1px 4px #172a1010}.toolbar select,.toolbar input{font-size:11px;min-height:36px;padding:7px 10px}.duty-filters{gap:8px}.department-picker>summary{font-size:11px;background:#fff;border-color:#dce3d5;padding:8px 10px}.department-popover{box-shadow:0 8px 32px #1d37181a;border-radius:10px}.department-choice{border-left-color:#c0cbbb;min-height:42px}.department-chip{border:1px solid #e4e8de;background:#f8faf5;color:#75836d;font-size:10px;padding:3px 7px;gap:4px}.department-chip b{font-weight:550;color:#53634b}.department-chip b:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--dept-ink);opacity:.5;margin-right:5px;vertical-align:middle}.dept-tl-count,.dept-staff-count{color:#65765c}.dept-tl-count{font-weight:650}.department-tone-0,.department-tone-6{--dept-rgb:99,124,115;--dept-ink:#6a8578}.department-tone-1,.department-tone-5{--dept-rgb:111,119,137;--dept-ink:#788396}.department-tone-2,.department-tone-7{--dept-rgb:143,131,106;--dept-ink:#91856c}.department-tone-3,.department-tone-8{--dept-rgb:121,137,111;--dept-ink:#809274}.department-tone-4,.department-tone-9{--dept-rgb:145,119,116;--dept-ink:#9a817d}.department-tone-10,.department-tone-11{--dept-rgb:125,132,128;--dept-ink:#87928b}.station{overflow:hidden;align-self:start}.station-head{padding:18px 20px;gap:12px;border-bottom:1px solid #edf0e8;background:#fdfefb;align-items:center}.station-head h3{font-size:15px;font-weight:550;margin:0;gap:10px;display:flex;align-items:center}.station-icon{width:33px;min-width:33px;height:33px;border-radius:8px;font-size:9px!important;font-weight:550;filter:saturate(.22);box-shadow:none}.position-chip{font-size:10px;padding:3px 6px;border-radius:5px;font-weight:450}.station-counts .position-tl{background:#e8eee3!important;color:#5c7051!important}.station-counts .position-staff{background:#f2f5ee!important;color:#89977f!important}.shift-row{display:block;padding:17px 20px;border-bottom:1px solid #edf0e8}.shift-row:last-child{border-bottom:0}.shift-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:550;color:#68795d;margin-bottom:10px}.shift-label>span{font-size:10px;font-weight:400;color:#99a48e}.shift-department-counts{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}.department-section{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.department-person.duty-tl,.department-person.duty-staff{border-left:0;background:transparent;padding:12px 0;border-radius:0;margin:0;border-bottom:1px solid #f0f3eb}.department-section:last-child .department-person:last-child{border-bottom:0}.department-person .position-tl{background:#6f8170!important;color:#fff!important}.department-person .position-staff{background:#edf1e9!important;color:#778873!important}.position-badge{width:32px;height:32px;font-size:10px;font-weight:550;letter-spacing:.02em}.person{gap:11px}.person-name{font-size:12px;line-height:1.5;font-weight:450}.person-name small{font-size:10px;color:#8b9881;line-height:1.7}.duty-time{display:block;font-variant-numeric:tabular-nums;color:#7c8d70}.staff-right{gap:7px;justify-content:flex-end}.duty-cancel{opacity:.15}.duty-person:hover .duty-cancel,.duty-cancel:focus-visible{opacity:1}.vacancy{font-size:11px;padding:9px 0;margin:0;color:#a4ae9a}.station-empty{background:#fafcf7}.station-empty>summary{list-style:none;cursor:pointer}.station-empty>summary::-webkit-details-marker{display:none}.station-empty>summary .station-head{border-bottom:0;padding:13px 18px}.station-empty .station-icon{opacity:.7}.empty-station-note{display:block;padding:0 18px 12px 61px;font-size:10px;color:#a2ae96}.station-empty[open] .empty-station-note{display:none}.calendar{border-color:#e0e7d8;box-shadow:none}.calendar .weekday{background:#f7faf3;color:#91a083;font-size:10px;padding:11px}.calendar-cell{min-height:130px;background:#fff;border:0;font-size:11px;gap:5px}.calendar-cell.today{box-shadow:inset 0 0 0 1px #99ae8e;background:#fbfdf7}.calendar-cell strong{font-weight:550;color:#607450}.calendar-ranks{font-size:9px;color:#9aa78c}.calendar-shift .department-chip{border:0;background:#f1f5ea;font-size:9px;padding:2px 4px}.calendar-shift .department-chip b:before{display:none}.calendar-shift{border-color:#f1f4ec}.calendar-shift-symbol,.calendar-zero{color:#a2af94}.quick-calendar{background:#fafcf7;border-style:dashed}.quick-calendar p{font-size:11px;color:#86977a}.access-layout{gap:18px;grid-template-columns:minmax(220px,285px) minmax(0,1fr)}.access-sidebar{padding:16px}.access-role-row{display:flex;align-items:center;gap:5px;border:0;border-bottom:1px solid #edf0e7;padding:5px;border-radius:7px;margin:3px 0;background:transparent}.access-role-row.selected{background:#edf3e6;border-color:transparent}.access-role-row .access-role-select{border:0;background:transparent;min-width:0;flex:1;padding:10px 4px}.access-role-select strong{font-size:12px;font-weight:550}.access-role-select small{font-size:10px;color:#91a184}.access-role-delete{border:0;font-size:10px;background:transparent;color:#a1ac96;padding:5px}.role-drag-handle{border:0;background:transparent;color:#a1ae96;cursor:grab;touch-action:none;width:28px;min-width:28px;min-height:40px;padding:3px;font-size:18px}.role-drag-handle:active{cursor:grabbing}.access-role-list{max-height:64vh;overflow-y:auto}.access-role-row.is-sorting{background:#e5eede;box-shadow:0 5px 15px #32412612}.role-sort-status{font-size:10px;color:#98a78a;min-height:18px;margin:7px 4px 0}.access-permission-tree{border-top:1px solid #e4eadc;padding-top:10px}.access-category{border-color:#e3e9db;border-radius:8px;margin:10px 0}.access-category>summary{background:#f8fbf3;font-size:12px;padding:12px}.access-module>summary{font-size:12px}.access-check{font-size:11px;padding:7px}.access-tabs{border-bottom-color:#e4eadc}.access-tabs button{font-size:12px;border-radius:0;border:0}.access-tabs [aria-selected=true]{color:#416546;border-bottom:2px solid #64815b}.position-key{font-size:10px;color:#a3ad98}.login-shell{border:1px solid #dfe7d5;border-radius:16px;box-shadow:0 15px 60px #3e4e2c08!important;background:#fffffc!important}.login-shell h1{font-weight:500}.login-shell button{border-radius:8px}.login-shell .help{font-size:12px}.password-settings-link{text-decoration:none}.signature-pad{border-color:#cbd9bc}.progress,.score-banner{background:#eef3e6;border-color:#dde7d0}.score-banner strong{font-weight:500}#navToggle{display:none}#navBackdrop[hidden]{display:none!important}
@media(min-width:1500px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:901px){body:has(#content) aside{width:205px;padding:24px 13px}body:has(#content) main{margin-left:205px;padding:22px}.grid{grid-template-columns:1fr}.access-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:900px){body:has(#content) aside{position:fixed;inset:0 auto 0 0;width:min(280px,86vw);height:100dvh;padding:24px 18px;transform:translateX(-105%);transition:transform .18s ease;z-index:50;overflow-y:auto;box-shadow:0 0 30px #21331515}body.nav-open aside{transform:translateX(0)}body.nav-open{overflow:hidden}body:has(#content) main{margin:0;padding:14px 16px}body:has(#content) main>header{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px 0;min-height:76px;margin-bottom:18px}main>header h1{font-size:22px;text-align:left;line-height:1.4}main>header .header-actions{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:7px;width:100%;padding:0}main>header .header-actions button,main>header .password-settings-link{font-size:11px;min-height:34px;padding:7px 10px}.language-control{font-size:0;margin-left:auto}.language-control select{font-size:11px;max-width:120px;padding:6px;min-height:34px}main>header #clock{display:none}#reload{font-size:0!important;width:34px;min-width:34px;padding:5px!important}#reload:before{content:'↻';font-size:17px}#navToggle{display:inline-flex;width:36px;min-height:36px;align-items:center;justify-content:center;background:transparent;border:1px solid #dfe6d7;border-radius:8px;padding:0}#navBackdrop:not([hidden]){position:fixed;inset:0;z-index:45;background:#22312245;border:0;border-radius:0;backdrop-filter:blur(3px);display:block;width:100vw;height:100dvh}.brand{font-size:24px}.brand small,.navlabel{display:none}.aside-bottom{display:block}nav{display:block;overflow:visible;margin-top:18px}.nav-group{display:block}.nav-row button{font-size:12px;padding:11px 12px}.nav-group>summary{font-size:11px}.nav-home{width:100%;text-align:left}.stats{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px 16px}.stat strong{font-size:27px}.stat small{font-size:10px}.grid{grid-template-columns:1fr;gap:14px}.panel{padding:17px}.toolbar{padding:11px;gap:10px;margin-bottom:18px}.toolbar .filters{width:100%;gap:9px}.toolbar .filters>label{font-size:10px}.duty-filters{gap:8px;width:100%}.duty-filters select,.department-picker>summary,.duty-filters>button{min-height:42px;font-size:11px}.duty-filters>button{padding:7px}.station-head{padding:16px}.station-head h3{font-size:14px}.station-counts{max-width:145px}.shift-row{padding:14px 16px}.department-person{display:flex;align-items:flex-start;gap:10px}.department-person .person{width:auto;flex:1;min-width:0;align-items:flex-start}.department-person .person-name{font-size:12px;flex:1;min-width:0}.department-person .staff-right{width:78px;flex:0 0 78px;margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.department-person .staff-right .tag{font-size:9px}.department-person .position-badge{width:29px;height:29px;flex:0 0 29px}.duty-cancel{opacity:1;font-size:10px}.person-name small{font-size:10px}.duty-time{display:block}.shift-department-counts{gap:4px}.department-chip{font-size:9px;padding:3px 5px}.calendar-cell{min-height:125px;padding:5px 3px}.calendar-ranks,.calendar-shift .department-chip{font-size:9px}.calendar-shift .department-chip{padding:2px;gap:1px}.calendar .weekday{padding:9px 2px}.access-layout{display:block}.access-sidebar{margin-bottom:14px;padding:13px}.access-role-list{max-height:34vh}.role-drag-handle{min-height:44px;width:32px;min-width:32px}.access-detail{padding:17px}.access-role-row{padding:3px}.access-role-select strong{font-size:12px}.access-role-select small{font-size:10px}.access-role-delete{font-size:10px}.access-actions{gap:8px}.access-check{font-size:11px;min-height:39px}.form-grid{gap:15px}.form-grid label{font-size:12px}dialog{padding:23px 19px;border-radius:13px}dialog h2{font-size:21px}.form-grid{grid-template-columns:1fr}.full{grid-column:1/-1}.member-filters{grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start}.section-heading>span{font-size:10px}.login-shell{padding:25px 22px!important}.department-popover{width:270px}.position-key{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}
@media screen{.person-name small,.duty-time,.stat small,.stat label,.section-heading>span,.calendar-ranks,.calendar-shift-symbol,.vacancy,.empty-station-note,.access-role-select small,.role-sort-status{color:#6c7e69}.station-counts .position-staff{color:#64775b!important}.calendar .weekday{color:#72846b}.department-chip{line-height:1.5}.person-name{color:#2f4234}.access-role-row[hidden],.role-drag-handle[hidden]{display:none!important}@media(max-width:900px){main>header .header-actions button,main>header .password-settings-link,#navToggle{min-height:40px}.department-person .person-name{font-size:13px}.person-name small{font-size:11px}.role-drag-handle{min-height:44px}}}

@media screen{.empty-site-section{margin-top:24px}.empty-site-section>h3{font-size:12px;color:#718369;margin-bottom:12px}.empty-site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.station-empty .station-counts{display:none}.station-empty>summary{display:flex;align-items:center}.station-empty>summary .station-head{flex:1;min-width:0;padding:12px 14px}.station-empty .empty-station-note{padding:0 12px 0 0;font-size:9px;white-space:nowrap}.station-empty .station-head h3{font-size:12px;gap:8px}.station-empty .station-icon{width:28px;min-width:28px;height:28px;font-size:8px!important}.grid>.station:only-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.grid>.station:only-child>.station-head{grid-column:1/-1}.grid>.station:only-child>.shift-row:nth-child(2){border-right:1px solid #edf0e8}@media(max-width:1100px){.empty-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){body.nav-open:has(#content) aside{transform:translateX(0)}.empty-site-grid{grid-template-columns:1fr}.grid>.station:only-child{display:block}.grid>.station:only-child>.shift-row:nth-child(2){border-right:0;border-bottom:1px solid #edf0e8}.header-actions select{max-width:210px}.header-actions>label{max-width:100%}}}
@media screen{[hidden]{display:none!important}}
/* Department identity remains distinct inside the quiet workspace palette. */
@media screen{
.department-tone-0{--dept-rgb:47,105,159;--dept-ink:#2f699f}
.department-tone-1{--dept-rgb:157,106,36;--dept-ink:#92601d}
.department-tone-2{--dept-rgb:125,77,145;--dept-ink:#7d4d91}
.department-tone-3{--dept-rgb:35,124,115;--dept-ink:#237c73}
.department-tone-4{--dept-rgb:160,72,92;--dept-ink:#a0485c}
.department-tone-5{--dept-rgb:75,86,157;--dept-ink:#4b569d}
.department-tone-6{--dept-rgb:83,121,50;--dept-ink:#537932}
.department-tone-7{--dept-rgb:160,85,42;--dept-ink:#a0552a}
.department-tone-8{--dept-rgb:46,115,139;--dept-ink:#2e738b}
.department-tone-9{--dept-rgb:143,71,121;--dept-ink:#8f4779}
.department-tone-10{--dept-rgb:120,108,37;--dept-ink:#786c25}
.department-tone-11{--dept-rgb:91,105,122;--dept-ink:#5b697a}
.department-chip,.calendar-shift .department-chip{background:rgba(var(--dept-rgb),.075);border-color:rgba(var(--dept-rgb),.22);color:var(--dept-ink)}
.department-chip b,.department-chip .dept-tl-count,.department-chip .dept-staff-count{color:var(--dept-ink)}
.department-chip b:before{background:var(--dept-ink);opacity:1}
.department-choice{border-left-color:var(--dept-ink)}
.department-person.duty-tl,.department-person.duty-staff{border-left:2px solid rgba(var(--dept-rgb),.35);padding-left:10px}
.department-person.duty-tl{border-left-color:var(--dept-ink)}
.department-person .position-tl{background:var(--dept-ink)!important;color:#fff!important}
.department-person .position-staff{background:rgba(var(--dept-rgb),.12)!important;color:var(--dept-ink)!important}
}

/* Compact overview: quiet surfaces, persistent department and position cues. */
@media screen {
#personnelShortcuts{border-bottom:1px solid var(--line);padding:12px 0}#personnelShortcuts h3{font-size:10px;color:var(--muted);margin:0 8px 7px}#personnelShortcuts button{font-size:11px;background:transparent;border:0;padding:7px 9px;text-align:left}#personnelShortcuts>button{display:flex;width:100%;align-items:center;gap:8px}#personnelShortcuts>div{display:flex;gap:3px;flex-wrap:wrap}.access-role-copy{border:0;background:transparent;font-size:10px;padding:5px;color:#536d65;white-space:nowrap}.access-role-row .access-role-select{overflow-wrap:anywhere}
.duty-station-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.duty-station-grid>.station:only-child{grid-column:auto}.duty-station-grid>.station:only-child .shift-row{display:block}.duty-station-grid .station-head{padding:12px;gap:6px}.duty-station-grid .station-head h3{font-size:13px;gap:7px;min-width:0;overflow-wrap:anywhere}.duty-station-grid .station-icon{width:27px;min-width:27px;height:27px}.duty-station-grid .station-counts{display:flex;gap:3px;white-space:nowrap}.duty-station-grid .position-chip{font-size:9px;padding:2px 4px}.duty-station-grid .shift-row{padding:11px 12px;min-width:0}.shift-kind-title{display:inline-flex;align-items:center;gap:6px;font-weight:550}.shift-kind-title svg{width:14px;height:14px;flex:none}.duty-station-grid .shift-label{margin-bottom:7px}.duty-station-grid .shift-department-counts{gap:4px;margin-bottom:4px}.duty-station-grid .department-chip{font-size:9px;padding:2px 4px}.duty-station-grid .department-person.duty-tl,.duty-station-grid .department-person.duty-staff{padding:7px 0;gap:4px;display:flex;align-items:center}.duty-station-grid .person{gap:6px;min-width:0;flex:1}.duty-station-grid .position-badge{width:25px;min-width:25px;height:25px;font-size:9px;flex:none}.duty-station-grid .person-name{font-size:11px;min-width:0;overflow-wrap:anywhere;line-height:1.35}.duty-station-grid .person-name small{font-size:9px;line-height:1.5}.duty-station-grid .duty-time{font-size:9px}.duty-station-grid .staff-right{gap:3px;flex-wrap:nowrap;flex:none}.duty-station-grid .duty-status .tag{font-size:8px;padding:2px 4px}.duty-station-grid .duty-cancel{opacity:1}.duty-row-actions{position:relative;flex:none}.duty-row-actions>summary{cursor:pointer;list-style:none;font-size:18px;line-height:28px;width:28px;text-align:center;border-radius:5px;color:#72817b}.duty-row-actions>summary::-webkit-details-marker{display:none}.duty-row-actions[open]>summary{background:var(--pale)}.duty-row-actions>div{position:absolute;right:0;top:29px;z-index:10;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 5px 16px #21382d12;min-width:110px;padding:5px}.duty-row-actions button{display:block;white-space:nowrap;width:100%;text-align:left;min-height:36px}.duty-more>summary{font-size:10px;color:#647b70;cursor:pointer;padding:8px 0}.duty-station-grid .vacancy{padding:5px 0;font-size:10px}.duty-station-grid .station{overflow:visible}.duty-station-grid .station-head{border-radius:12px 12px 0 0}.duty-station-grid .empty{grid-column:1/-1}
@media(min-width:1200px){.duty-station-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1680px){.duty-station-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.duty-station-grid{grid-template-columns:minmax(0,1fr)}.duty-station-grid .person-name{font-size:12px}.duty-station-grid .person-name small{font-size:10px}.duty-row-actions>summary{width:36px;line-height:36px}.duty-more>summary{min-height:40px;padding:10px 0}.duty-station-grid .shift-row{padding:12px 14px}}
}

/* Page-local people tools leave the global navigation available for modules. */
@media screen {
body:has(#content) #workspaceNav{padding:16px 14px 12px;overflow:hidden;gap:0}#workspaceNav>.brand{flex:none;margin-bottom:0}#workspaceNav>#favorites{flex:none;margin-top:10px;padding:8px 0}#workspaceNav>#favorites h3{margin-bottom:4px}#workspaceNav>#favorites p{margin:4px 8px;font-size:10px;line-height:1.5}#workspaceNav>#favorites button{padding:6px 10px}#workspaceNav>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-top:8px;padding-bottom:8px}#workspaceNav .nav-group{margin-top:5px}#workspaceNav .nav-group>summary{padding:7px 8px}#workspaceNav .nav-row{margin:0}#workspaceNav nav button{min-height:36px;padding:8px 10px}#workspaceNav>.aside-bottom{flex:none;margin-top:6px;font-size:10px;line-height:1.5}#workspaceNav .aside-bottom #identity{margin-top:6px;padding-top:7px;font-size:10px}
#personnelPageLayout{min-width:0}#personnelPageLayout.with-personnel-shortcuts{display:grid;grid-template-columns:164px minmax(0,1fr);gap:16px;align-items:start}#personnelPageLayout>#content{min-width:0}#personnelPageLayout>#personnelShortcuts{position:sticky;top:110px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;min-width:0}#personnelShortcuts>summary{font-size:11px;color:var(--muted);font-weight:550;padding:3px 4px 8px;list-style:none}#personnelShortcuts>summary::-webkit-details-marker{display:none}#personnelShortcuts .personnel-shortcut-body>button{display:flex;align-items:center;gap:7px;width:100%;padding:9px 6px;font-size:11px;text-align:left}#personnelShortcuts .personnel-shortcut-body>button svg{width:15px;flex:none}#personnelShortcuts button.active{background:var(--pale);color:var(--green)}#personnelShortcuts .people-quick-filters{display:flex;flex-wrap:wrap;gap:3px;border-top:1px solid var(--line);margin-top:8px;padding-top:8px}#personnelShortcuts .people-quick-filters>span{width:100%;font-size:10px;color:var(--muted);padding:2px 4px}#personnelShortcuts .people-quick-filters>button{padding:7px;font-size:11px;min-height:34px}
@media(max-width:1100px){#personnelPageLayout.with-personnel-shortcuts{grid-template-columns:minmax(0,1fr);gap:10px}#personnelPageLayout>#personnelShortcuts{position:static;padding:7px 10px}#personnelShortcuts>summary{list-style:disclosure-closed;cursor:pointer;padding:5px;min-height:32px}#personnelShortcuts[open]>summary{list-style:disclosure-open}#personnelShortcuts .personnel-shortcut-body{display:flex;flex-wrap:wrap;gap:4px}#personnelShortcuts .personnel-shortcut-body>button{width:auto;min-height:42px}#personnelShortcuts .people-quick-filters{width:100%;margin-top:3px}#personnelShortcuts .people-quick-filters>button{min-height:42px}}
}

/* Dense page controls, with separate vertical page actions. */
@media screen {
body:has(#content) main>header{min-height:65px;padding:8px 0;margin-bottom:16px}main>header h1{font-size:25px;margin:6px 0}.section-heading{margin-bottom:10px}.section-heading h2{margin:6px 0;font-size:17px}.toolbar{padding:9px 11px;gap:8px;margin:14px 0}.toolbar .filters{gap:8px;flex-wrap:wrap}.toolbar label,.filters label{font-size:10px;gap:4px}.toolbar input,.toolbar select,.filters input,.filters select{min-height:32px;padding:5px 8px;font-size:11px}.toolbar button{padding:6px 10px;min-height:32px}.panel:has(>.filters),.panel:has(>form.member-filters){padding:12px}.member-controls{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:14px;padding:12px!important;align-items:stretch}.member-filter-area{min-width:0}.member-filter-meta{font-size:10px;color:var(--muted);margin-bottom:5px}.member-controls #memberFilters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px 9px;align-items:end;margin:0}.member-controls #memberFilters label{display:flex;flex-direction:column;gap:3px;font-size:10px;min-width:0;margin:0}.member-controls #memberFilters input,.member-controls #memberFilters select{width:100%;min-width:0;min-height:32px;padding:5px 7px;font-size:11px}.member-controls #memberFilters button{min-height:32px;font-size:11px;padding:5px 8px}.member-action-rail{display:flex;flex-direction:column;gap:7px;border-left:1px solid var(--line);padding-left:12px;justify-content:center}.member-action-rail button{width:100%;font-size:11px;min-height:34px;padding:7px 8px;line-height:1.4}.member-controls #memberCompany:disabled{opacity:.85}.member-controls+.panel{margin-top:12px}
@media(max-width:800px){.member-controls{grid-template-columns:minmax(0,1fr) 132px;gap:10px}.member-controls #memberFilters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.member-controls{grid-template-columns:minmax(0,1fr)}.member-controls #memberFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.member-controls #memberFilters input,.member-controls #memberFilters select,.member-controls #memberFilters button{min-height:40px;font-size:12px}.member-action-rail{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}.member-action-rail button{min-height:42px}.toolbar input,.toolbar select,.toolbar button{min-height:40px}.toolbar .filters{gap:7px}.toolbar{padding:9px;margin:10px 0}main>header h1{font-size:22px}}
}

/* People shortcuts belong to the filter strip, without a separate column. */
@media screen {
#personnelPageLayout,#personnelPageLayout.with-personnel-shortcuts{display:block}.member-filter-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:25px}.member-filter-meta>#personnelShortcuts,#content>.section-heading>#personnelShortcuts{position:relative;top:auto;display:block;flex:none;width:auto;padding:0;background:transparent;border:0;margin:0;border-radius:6px}#personnelPageLayout>#personnelShortcuts{display:none}#personnelShortcuts>summary{display:block;list-style:none;padding:4px 8px;min-height:25px;line-height:1.5;font-size:10px;cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:5px;white-space:nowrap}#personnelShortcuts>summary:after{content:'⌄';margin-left:8px}#personnelShortcuts[open]>summary{list-style:none;background:var(--pale)}#personnelShortcuts[open]>.personnel-shortcut-body{display:block;position:absolute;right:0;top:calc(100% + 5px);z-index:25;min-width:190px;max-width:calc(100vw - 48px);padding:7px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 6px 18px #21382d18}#personnelShortcuts .personnel-shortcut-body>button{width:100%;min-height:34px;font-size:11px}.member-filter-meta+#memberFilters{margin-top:4px}#content>.section-heading{flex-wrap:wrap}
@media(max-width:600px){#personnelShortcuts>summary{min-height:36px;font-size:11px;padding:7px 9px}#personnelShortcuts .personnel-shortcut-body>button{min-height:42px}.member-filter-meta{font-size:10px}}
}

@media screen {
.favorite-row{display:flex;align-items:center;gap:3px}.favorite-row>button:last-child{min-width:0;flex:1}.favorite-row .favorite-drag{width:22px!important;flex:none!important;padding:3px!important;touch-action:none;color:var(--muted);cursor:grab}.danger{background:#faefed!important;color:#a23e35!important;border:1px solid #e4b6af!important;margin-left:8px}.member-controls #memberFilters{grid-template-columns:1.25fr 1.4fr 1fr 1.1fr .9fr auto auto;gap:7px;align-items:end}.member-controls{grid-template-columns:minmax(0,1fr) 150px}.member-list-heading{display:flex;gap:12px;border-bottom:1px solid var(--line);padding-bottom:8px}.member-list-heading button{font-size:11px;background:transparent;padding:4px 7px}.member-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.member-pagination label{font-size:10px;display:flex;align-items:center;gap:5px}.member-pagination select{min-height:30px;padding:4px 7px}.department-directory{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;align-items:start}.department-directory-nav{padding:12px;position:sticky;top:100px}.department-directory-nav>button,.department-directory-row>button:first-child{flex:1;text-align:left;padding:8px;font-size:11px;min-width:0}.department-directory-nav>button{width:100%}.department-directory-row{display:flex;align-items:center;gap:4px}.department-directory-row>button:last-child{padding:6px;font-size:12px;background:transparent}.department-directory-nav button.active{background:var(--pale);color:var(--green)}.department-directory-nav h3{font-size:12px;margin:0}.department-directory-nav .section-heading button{padding:4px 8px}.department-directory>div{min-width:0}.duty-department{margin:8px 0}.duty-department>h4{display:flex;justify-content:space-between;gap:6px;margin:0;padding:5px 0;border-bottom:1px solid var(--line);color:var(--dept-ink);font-size:11px}.duty-department>h4 small{font-size:9px;font-weight:400;color:var(--muted)}.duty-station-grid .station-head h3 .station-icon{width:44px;min-width:44px;height:32px;font-size:11px!important}.duty-station-grid .station-head{background:#f8f8f5}.overview-page .shift-department-counts{display:none}.overview-page .duty-person{border-left:0!important}.overview-page .department-person .position-staff{background:#eff1ef!important;color:var(--dept-ink)!important}.overview-page .department-person .position-tl{background:var(--dept-ink)!important}.overview-page .station-icon{filter:none;background:#edf0ec!important;color:#46564f!important}.overview-page .duty-status .tag{background:transparent;color:#7b8580}.overview-page .duty-status .tag.bad{color:#a23e35}.overview-page[data-overview-style=linen] .duty-station-grid{gap:15px}.overview-page[data-overview-style=linen] .station{border-radius:4px;border-color:#dedfd7}.overview-page[data-overview-style=linen] .station-head{border-radius:3px;background:#f1f0e8}.overview-page[data-overview-style=linen] .shift-row{background:#fffffc}
.overview-page[data-overview-style=slate] .duty-station-grid{grid-template-columns:minmax(0,1fr);gap:10px}.overview-page[data-overview-style=slate] .duty-station-grid>.station{display:grid;grid-template-columns:140px minmax(0,1fr) minmax(0,1fr);border-radius:10px;background:#f3f6f8}.overview-page[data-overview-style=slate] .station-head{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;border:0;background:#e7edf2;padding:16px}.overview-page[data-overview-style=slate] .station-icon{background:#d4e0ea!important;color:#324e65!important}.overview-page[data-overview-style=slate] .shift-row{border-bottom:0;border-left:1px solid #dce4eb;background:#fbfdff}.overview-page[data-overview-style=slate] .shift-label{color:#39546e}.overview-page[data-overview-style=slate] .person-name{font-size:12px}
.overview-page[data-overview-style=ink] .duty-station-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.overview-page[data-overview-style=ink] .station-head{background:#263234;color:#fff;border-radius:10px 10px 0 0}.overview-page[data-overview-style=ink] .station-icon{background:#3e4c4e!important;color:#fff!important}.overview-page[data-overview-style=ink] .station-counts .position-chip{background:#3e4c4e!important;color:#e5ebea!important}.overview-page[data-overview-style=ink] .station{border:1px solid #d3dcdc;border-radius:10px}.overview-page[data-overview-style=ink] .shift-row{background:#f8fbfb}.overview-page[data-overview-style=ink] .shift-row:last-child{background:#edf3f3}.overview-page[data-overview-style=ink] .duty-department{border-left:2px solid #b1c2bf;padding-left:8px}.overview-page[data-overview-style=ink] .duty-status{display:none}
@media(max-width:1000px){.member-controls{grid-template-columns:1fr}.member-controls #memberFilters{grid-template-columns:repeat(4,minmax(0,1fr))}.member-action-rail{flex-direction:row;border-left:0;border-top:1px solid var(--line);padding:8px 0 0}.member-action-rail button{width:auto}.overview-page[data-overview-style=slate] .duty-station-grid>.station{grid-template-columns:90px minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:650px){.member-controls #memberFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.department-directory{grid-template-columns:minmax(0,1fr)}.department-directory-nav{position:static;display:flex;flex-wrap:wrap;gap:5px;padding:9px}.department-directory-nav .section-heading{width:100%;margin:0}.department-directory-nav>button{width:auto;flex:none}.department-directory-row>button:first-child{min-height:40px}.department-directory-row{border:1px solid var(--line);border-radius:6px}.overview-page[data-overview-style=slate] .duty-station-grid>.station{grid-template-columns:minmax(0,1fr)}.overview-page[data-overview-style=slate] .station-head{flex-direction:row;justify-content:space-between;padding:10px 12px}.overview-page[data-overview-style=slate] .shift-row{border-left:0;border-top:1px solid var(--line)}.overview-page[data-overview-style=ink] .duty-station-grid{grid-template-columns:minmax(0,1fr)}}
}

@media screen {
.account-filters{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr auto auto;gap:8px;padding:12px;margin-bottom:12px;align-items:end}.account-filters label{display:flex;flex-direction:column;gap:3px;font-size:10px;min-width:0}.account-filters input,.account-filters select{min-width:0;width:100%;min-height:32px;font-size:11px;padding:5px 7px}.account-filters button{min-height:32px;font-size:11px;padding:5px 10px}.table-sort{font-size:inherit;font-weight:inherit;color:inherit;background:transparent;border:0;padding:0;text-align:inherit}.table-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:8px 0;margin-bottom:14px;font-size:10px;color:var(--muted)}.table-pagination label{display:flex;align-items:center;gap:6px}.table-pagination select{min-height:30px;font-size:11px;padding:4px 7px}.table-pagination button{min-height:30px;padding:4px 9px}#roleBatchOmissions:has(tbody:empty){display:none}#roleBatchOmissions{background:#fbf3ef;border:1px solid #eadbd3;border-radius:7px;padding:10px;margin:10px 0}#roleBatchOmissions h4{font-size:12px;margin:0}#roleBatchTargets button,#roleBatchExcluded button{font-size:11px;padding:4px 7px}
@media(max-width:650px){.account-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.account-filters input,.account-filters select,.account-filters button{min-height:40px;font-size:12px}.table-pagination{justify-content:flex-start;flex-wrap:wrap}}
}

@media screen {.overview-page[data-overview-style=slate] .shift-department-counts{display:flex}.shift-roster-toggle>summary{font-size:10px;color:#627a8b;cursor:pointer;padding:6px 0}.overview-page .stats{gap:10px;margin-bottom:16px}.overview-page .stat{padding:12px 15px}.overview-page .stat strong{font-size:25px}.overview-page .stat label{font-size:10px}.overview-page[data-overview-style=slate] .vacancy{padding:4px 0}.overview-page[data-overview-style=slate] .duty-station-grid>.station:has(.shift-roster-toggle:not([open])){min-height:120px}}

@media screen and (min-width:1100px){.overview-page .toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}.overview-page .toolbar .filters{display:flex;flex-wrap:nowrap;min-width:0;gap:7px}.overview-page .toolbar .tabs{flex:none}.overview-page .toolbar input{width:125px}.overview-page .toolbar #site{max-width:100px}.overview-page .toolbar label{white-space:nowrap;font-size:9px}.overview-page .toolbar #overviewStyle{max-width:145px}.overview-page .toolbar button{font-size:10px;padding:5px 7px;white-space:nowrap}.overview-page .toolbar .duty-filters{display:flex;flex:none;gap:5px}.overview-page .toolbar #configureShiftTimes{display:none}}

@media screen {.member-list-panel{padding:0!important}.member-list-panel td{font-size:11px;padding:10px}.member-list-panel td small{display:block;color:var(--muted);font-size:9px}.member-list-panel .actions{flex-wrap:nowrap;gap:5px}.member-list-panel button{font-size:10px;min-height:30px;padding:5px 7px}.department-directory .table-wrap{margin-top:0}.member-list-panel th{padding:10px}.member-list-panel td:first-child{min-width:100px}.member-list-panel .actions .link{white-space:nowrap}}

@media screen {.overview-page .duty-station-grid .department-person.duty-tl,.overview-page .duty-station-grid .department-person.duty-staff{padding:5px 0}.overview-page .duty-station-grid .person-name{font-size:12px}.overview-page .duty-station-grid .person-name small{font-size:10px}.overview-page .duty-station-grid .position-badge{width:24px;min-width:24px;height:24px}}

@media screen {.table-sort{min-height:32px}.favorite-row .favorite-drag{min-height:34px}}@media screen and (max-width:900px){.table-sort{min-height:40px}.favorite-row .favorite-drag{width:32px!important;min-height:40px}}
@media screen {.overview-page[data-overview-style=ink] .duty-status{display:block}.overview-page[data-overview-style=ink] .duty-status .tag:not(.bad){display:none}.overview-page[data-overview-style=ink] .duty-status .tag.bad{display:inline-block;color:#a23e35;background:#faefed}}

/* Fixed linen layout and foldable department staffing. */
@media screen {
.page-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.page-heading .tabs{display:flex;gap:3px;background:#eaece5;border-radius:7px;padding:3px}.page-heading .tabs button{font-size:11px;padding:6px 10px;min-height:32px;background:transparent;border:0}.page-heading .tabs button.selected{background:#fff;color:#365c45;box-shadow:0 1px 4px #172a1010}.page-heading #subtitle{display:none}
.site-shortcuts{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;padding:2px;scrollbar-width:thin;flex:1}.site-shortcuts button{flex:none;font-size:10px;min-height:31px;padding:5px 8px;opacity:.65;border:1px solid transparent}.site-shortcuts button[aria-pressed=true]{opacity:1;border-color:#758479;box-shadow:0 0 0 1px #75847933}.site-shortcuts button:hover{opacity:1}.toolbar .filters{flex:1;min-width:0}.toolbar #siteShortcuts{max-width:100%}.toolbar #dutyDepartment{min-width:95px}.duty-filters>label{white-space:nowrap}
body.overview-page[data-overview-style=linen] .duty-department{border-left:2px solid rgba(var(--dept-rgb),.35);padding-left:9px;margin:7px 0;border-radius:0}body.overview-page[data-overview-style=linen] .duty-department>summary{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 3px;font-size:12px;cursor:pointer;list-style:none;min-height:39px}body.overview-page[data-overview-style=linen] .duty-department>summary:before{content:'▸';font-size:10px;color:var(--muted)}body.overview-page[data-overview-style=linen] .duty-department[open]>summary:before{content:'▾'}body.overview-page[data-overview-style=linen] .duty-department>summary>b{color:var(--dept-ink);margin-right:auto;font-size:12px;font-weight:600}body.overview-page[data-overview-style=linen] .duty-department>summary>span{font-size:12px;color:#6b766f}body.overview-page[data-overview-style=linen] .duty-department>summary strong{color:#37483e;font-size:13px;font-weight:600}.duty-department>summary::-webkit-details-marker{display:none}.station-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.station-dept-total{font-size:10px;color:#778178;white-space:nowrap}.station-dept-total b{font-size:12px;color:#3d4f43;margin-left:3px}.person-position{font-size:10px;font-weight:600;color:#5a6a60;margin-right:3px}
body.overview-page[data-overview-style=linen] .department-person .position-tl{background:rgba(var(--dept-rgb),.25)!important;color:var(--dept-ink)!important;border:1px solid rgba(var(--dept-rgb),.3)}body.overview-page[data-overview-style=linen] .department-person .position-staff{background:rgba(var(--dept-rgb),.09)!important;color:var(--dept-ink)!important;border:1px solid rgba(var(--dept-rgb),.12)}
body.overview-page .station-icon.site-tone-0,.site-shortcuts .site-tone-0{background:#dbe2d7!important;color:#566552!important}body.overview-page .station-icon.site-tone-1,.site-shortcuts .site-tone-1{background:#e8d9d4!important;color:#775f58!important}body.overview-page .station-icon.site-tone-2,.site-shortcuts .site-tone-2{background:#dae2e8!important;color:#536574!important}body.overview-page .station-icon.site-tone-3,.site-shortcuts .site-tone-3{background:#e7e0d2!important;color:#786d56!important}body.overview-page .station-icon.site-tone-4,.site-shortcuts .site-tone-4{background:#e3dce7!important;color:#75637d!important}body.overview-page .station-icon.site-tone-5,.site-shortcuts .site-tone-5{background:#dce3df!important;color:#576963!important}body.overview-page .station-icon.site-tone-6,.site-shortcuts .site-tone-6{background:#e1dcd6!important;color:#71665b!important}body.overview-page .station-icon.site-tone-7,.site-shortcuts .site-tone-7{background:#d9e1df!important;color:#5c7370!important}body.overview-page .station-icon.site-tone-8,.site-shortcuts .site-tone-8{background:#e4d9df!important;color:#755c6a!important}body.overview-page .station-icon.site-tone-9,.site-shortcuts .site-tone-9{background:#e5dfd7!important;color:#766858!important}body.overview-page .station-icon.site-tone-10,.site-shortcuts .site-tone-10{background:#dde0e6!important;color:#5b6579!important}body.overview-page .station-icon.site-tone-11,.site-shortcuts .site-tone-11{background:#e1e3d5!important;color:#6b7054!important}
.quick-calendar .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-calendar{padding:14px}.quick-calendar p{margin:6px 0}.quick-calendar .form-grid .full{grid-column:1/-1}.quick-calendar textarea{min-height:55px}
@media(min-width:1100px){.toolbar .filters{flex-wrap:nowrap;align-items:center}.site-shortcuts{max-width:calc(100vw - 740px)}.overview-page .toolbar{gap:10px}.page-heading .tabs{flex:none}}
@media(max-width:900px){.page-heading{gap:8px}.page-heading .tabs button{min-height:36px;font-size:10px}.site-shortcuts{width:100%;flex-basis:100%}.site-shortcuts button{min-height:40px;font-size:11px}.quick-calendar .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar .filters{flex-wrap:wrap}.duty-filters{display:flex!important;width:auto!important}.duty-filters>label{display:flex;flex-direction:row!important;align-items:center!important}.duty-filters select{width:auto!important;min-width:105px}.toolbar #siteShortcuts{max-width:100%}.page-heading .tabs{max-width:100%}}
}

@media screen {.site-shortcuts button{opacity:1}}

.quick-sites-field{border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}.quick-sites-field legend{font-size:12px;font-weight:600;padding:0 5px}.quick-sites-field legend span{font-weight:400;color:var(--muted);margin-left:8px}.quick-site-tools{display:flex;gap:6px;margin-bottom:8px}.quick-site-tools button{padding:4px 9px;min-height:30px;font-size:11px}.quick-site-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px}.quick-calendar .quick-site-options label{display:flex;align-items:center;gap:8px;background:var(--pale);padding:7px 9px;border:1px solid transparent;border-radius:6px;cursor:pointer;min-height:36px}.quick-site-options label:has(input:checked){border-color:var(--green)}.quick-site-options input{width:16px;height:16px;flex:none;margin:0}.quick-site-options span{overflow-wrap:anywhere}.calendar-sites{display:flex;flex-wrap:wrap;gap:2px;margin-top:3px}.calendar-sites .station-icon{font-size:9px;min-width:25px;width:auto;height:19px;padding:1px 3px;border-radius:4px}.member-login-status{font-size:11px;white-space:normal}

@media(max-width:900px){.toolbar{display:flex;flex-wrap:wrap;align-items:center}.toolbar .filters{flex:1 1 100%;width:100%;min-width:0}.toolbar>#addShift,.toolbar>#configureShiftTimes{flex:0 1 auto;max-width:100%;margin:0}.toolbar .filters>label{max-width:100%}.toolbar .filters select{max-width:100%}}

.member-selection{width:34px;text-align:center}.member-selection input{width:17px;height:17px;margin:0;accent-color:var(--green)}.member-batch-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:8px 0;font-size:12px}.member-batch-controls button{min-height:34px;padding:6px 10px;border:1px solid var(--line)}.member-batch-toggle{display:flex!important;align-items:center;gap:8px!important;padding:8px 0}.member-batch-toggle input{width:18px;height:18px;flex:none;margin:0}.member-batch-preview{max-height:45vh;overflow:auto}.member-batch-preview small{display:block;color:var(--muted)}#batchSites{max-height:35vh;overflow:auto}#batchSites label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px}#batchSites input{width:17px;height:17px;flex:none}

@media(max-width:680px){.member-batch-preview table,.member-batch-preview tbody,.member-batch-preview tr,.member-batch-preview td{display:block;width:100%;min-width:0!important}.member-batch-preview thead{display:none}.member-batch-preview tr{padding:9px;border-bottom:1px solid var(--line)}.member-batch-preview td{border:0;padding:5px 0;white-space:normal;overflow-wrap:anywhere}.member-batch-preview td:before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.member-batch-preview{max-height:48vh}}

.station-head .station-icon{width:auto;min-width:36px;padding-left:7px;padding-right:7px;white-space:nowrap}

.workspace-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:8px;flex-wrap:wrap}.workspace-tabs button{border:1px solid var(--line);padding:7px 12px;min-height:36px}.workspace-tabs button[aria-selected=true]{background:var(--pale);border-color:var(--green);font-weight:600}.interface-label-row{gap:12px}.interface-label-row p{font-size:12px;white-space:normal;overflow-wrap:anywhere}.interface-label-row p span{color:var(--muted);font-size:10px}.interface-label-row button{flex:none}

.company-settings-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.company-settings-grid>.panel{margin-top:0;min-width:0}.company-settings-grid:has(>#interfaceLabels:only-child){grid-template-columns:minmax(0,1fr)}@media(max-width:850px){.company-settings-grid{grid-template-columns:minmax(0,1fr);gap:12px}.company-settings-grid>#interfaceLabels{order:-1}}

.quick-outcome{display:grid;gap:4px;padding:10px 12px;border-left:3px solid var(--green);background:var(--pale);border-radius:5px;white-space:normal}.quick-outcome.failed,.quick-outcome.partial{border-color:var(--amber);background:#f4f0e8}.quick-outcome span{font-size:12px}.quick-result-details{margin-top:8px;white-space:normal}.quick-result-details summary{cursor:pointer;font-size:12px}.quick-result-details ul{max-height:35vh;overflow:auto;padding-left:20px;font-size:12px}#quickStaffSearch{width:100%;min-width:0}#quickResult{white-space:normal}

/* Selection must remain visible when a cell is also today. */
.calendar-cell{position:relative}.calendar-cell.quick-selected,.calendar-cell.today.quick-selected{background:#e5eee9;box-shadow:inset 0 0 0 2px #597b6d}.calendar-cell.quick-selected::after{content:'✓';position:absolute;right:6px;top:5px;font-size:12px;font-weight:700;line-height:1;color:#345f52;pointer-events:none}

.access-hub{margin:.5rem 0;padding:.6rem;border-left:2px solid #dce2dc}.access-hub>summary{font-weight:600}.access-hub .access-module{margin-left:.4rem}

/* Distinct login actions and compact lookup controls. */
#content .login-activate{color:#346d68;background:#edf5f1;border:1px solid #c4dbd1;border-radius:6px;padding:6px 10px}
#content .login-reset{color:#985934;background:#fbf0e6;border:1px solid #e6cbb3;border-radius:6px;padding:6px 10px}
.lookup-input{min-width:0;width:100%;font-size:13px!important;padding:6px 9px!important;min-height:32px!important;margin:0 0 5px}
.data-lookup,.handover-filters{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-bottom:12px}
.data-lookup label,.handover-filters label{font-size:12px;min-width:130px;flex:1}
.data-lookup input,.handover-filters select,.handover-filters input{font-size:13px;padding:6px 9px;min-height:34px}
.handover-warning{padding:10px 14px;background:#faf1e6;border-left:3px solid #b98246;border-radius:5px;margin:10px 0}
.handover-people{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.handover-people span{font-size:12px;padding:4px 8px;border-radius:5px;background:#f0f3ee}.handover-people .missing{background:#faf0e4;color:#8a5429}
.handover-record{border-bottom:1px solid var(--line,#dce2dc);padding:14px 0}.handover-record h3{font-size:15px;margin:0 0 6px}.handover-record p{margin:4px 0}
@media(max-width:680px){.handover-filters label{flex:1 1 40%;min-width:110px}.handover-record .actions{flex-wrap:wrap}.data-lookup{width:100%}}

.network-site-list{border-bottom:1px solid var(--line);margin:10px 0;padding:8px 0}.network-site-list>summary{display:flex;gap:12px;align-items:center;cursor:pointer;padding:7px 0}.network-site-list>summary span{font-size:12px;color:var(--muted)}.domain-url{overflow-wrap:anywhere;max-width:360px;font-size:12px}.member-login-status small,#noticeCenter small{display:block;font-size:10px;color:var(--muted)}#noticeCenter .table-wrap{min-width:0}#noticeCenter>.panel{overflow:auto}.handover-filters label{min-width:0}.network-site-list table{min-width:520px}@media(max-width:680px){#networkWorkspace .workspace-tabs{overflow:auto}#noticeCenter table{min-width:500px}.employee-lookup{display:block;width:100%;font-size:11px}.handover-filters label{flex-direction:column;align-items:stretch}.domain-url{max-width:220px}}

.network-results-table{min-width:820px}.network-result-cards{display:none}.network-result-card{padding:12px 0;border-bottom:1px solid var(--line);min-width:0}.network-result-card:last-child{border-bottom:0}.network-result-card .section-heading{margin:0 0 8px}.network-result-card p{font-size:12px;margin:6px 0}.network-result-card .domain-url{max-width:100%;word-break:normal;overflow-wrap:anywhere}.network-result-card button{min-height:36px}@media(max-width:680px){.network-results-table{display:none}.network-result-cards{display:grid;gap:8px}#networkResultFilters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}#networkResultFilters>label{display:flex;flex-direction:column;align-items:stretch;gap:4px}#networkResultFilters .employee-lookup{font-size:10px}#networkResultFilters input,#networkResultFilters select{width:100%}}

.home-network .home-check-state{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;color:var(--muted)}.home-network .home-check-state.checked{background:var(--pale);color:var(--green)}.home-network a[data-open-checker]{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none;white-space:nowrap;font-size:14px;color:var(--green);font-weight:600}@media(max-width:760px){.home-network .home-task>a[data-open-checker]{grid-column:2;justify-self:start}}

.site-filter-shortcuts{display:flex;gap:6px;overflow:auto;align-items:center;padding:6px 0;margin:0 0 8px}.site-filter-shortcuts button,.handover-quick button{padding:5px 10px;min-height:34px;white-space:nowrap;font-size:13px}.site-filter-shortcuts [aria-pressed=true],.handover-quick [aria-pressed=true]{background:var(--pale);border-color:var(--green);color:var(--green)}.network-important{color:#ac3030!important;font-weight:600}.section-heading>label:has(>select){display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:520px}.section-heading>label>.employee-lookup{display:flex;align-items:center;gap:7px}.section-heading>label>.employee-lookup input{width:180px;min-height:36px}.section-heading>label>select{width:200px;min-height:36px}.handover-quick{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.source-review-status{padding:10px;border:1px solid var(--line);border-radius:8px}@media(max-width:680px){.section-heading>label:has(>select){width:100%;max-width:none}.section-heading>label>.employee-lookup,.section-heading>label>select{flex:1;min-width:130px}.section-heading>label>.employee-lookup input{width:100%}}

.finance-context{align-items:flex-end}.finance-context h2{margin-bottom:0}.finance-person-control{display:grid;grid-template-columns:minmax(180px,220px) minmax(180px,240px);gap:10px;align-items:end}.finance-person-control label{display:flex;flex-direction:column;gap:5px;font-size:14px}.finance-person-control input,.finance-person-control select{height:40px;min-height:40px;max-width:100%;width:100%}@media(max-width:680px){.finance-context{display:block}.finance-person-control{margin-top:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Compact consistent controls — November 20. */
.handover-one-line{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end;gap:7px;overflow-x:auto;padding-bottom:8px}.handover-one-line>label{flex:0 0 130px;min-width:0!important;margin:0}.handover-one-line>label:has(input[type=search]){flex-basis:170px}.handover-one-line .handover-quick{flex:none;flex-wrap:nowrap;margin:0;gap:4px}.handover-one-line button{flex:none;min-height:34px}.handover-one-line .handover-quick button{width:34px;padding:7px;display:grid;place-items:center}.handover-one-line select,.handover-one-line input{width:100%}.department-chip svg{width:14px;height:14px;vertical-align:middle}.evidence-form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin:0 0 16px}.evidence-form>div{border-bottom:1px solid var(--line);padding:10px 0}.evidence-form dt{color:var(--muted);font-size:13px}.evidence-form dd{margin:5px 0 0;font-size:15px;overflow-wrap:anywhere}.site-filter-shortcuts button[aria-pressed=true],.site-shortcuts button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-2px;font-weight:700}
@media(max-width:680px){.evidence-form{grid-template-columns:1fr}.handover-one-line>label{flex-basis:115px}.handover-one-line .handover-quick{position:sticky;left:0;z-index:1;background:var(--panel,#fff)}}
.site-filter-shortcuts .site-tone-0,.site-shortcuts .site-tone-0{background:#dce7de!important;color:#3d604b!important;border-color:#3d604b40!important}
.site-filter-shortcuts .site-tone-1,.site-shortcuts .site-tone-1{background:#ead9d6!important;color:#79504b!important;border-color:#79504b40!important}
.site-filter-shortcuts .site-tone-2,.site-shortcuts .site-tone-2{background:#dce5ef!important;color:#466582!important;border-color:#46658240!important}
.site-filter-shortcuts .site-tone-3,.site-shortcuts .site-tone-3{background:#eee3ca!important;color:#78612e!important;border-color:#78612e40!important}
.site-filter-shortcuts .site-tone-4,.site-shortcuts .site-tone-4{background:#e7dcf0!important;color:#70558a!important;border-color:#70558a40!important}
.site-filter-shortcuts .site-tone-5,.site-shortcuts .site-tone-5{background:#d9e9e6!important;color:#366e65!important;border-color:#366e6540!important}
.site-filter-shortcuts .site-tone-6,.site-shortcuts .site-tone-6{background:#e7dcca!important;color:#765e41!important;border-color:#765e4140!important}
.site-filter-shortcuts .site-tone-7,.site-shortcuts .site-tone-7{background:#dce8cd!important;color:#566b36!important;border-color:#566b3640!important}
.site-filter-shortcuts .site-tone-8,.site-shortcuts .site-tone-8{background:#eedce6!important;color:#87546d!important;border-color:#87546d40!important}
.site-filter-shortcuts .site-tone-9,.site-shortcuts .site-tone-9{background:#dde0f0!important;color:#545c8b!important;border-color:#545c8b40!important}
.site-filter-shortcuts .site-tone-10,.site-shortcuts .site-tone-10{background:#d3e7ed!important;color:#3a6b79!important;border-color:#3a6b7940!important}
.site-filter-shortcuts .site-tone-11,.site-shortcuts .site-tone-11{background:#e7e5d7!important;color:#69663f!important;border-color:#69663f40!important}

#handoverFilters>.site-shortcuts{flex:none;display:flex;margin:0;padding:0;overflow:visible;align-self:flex-end}#handoverFilters>.site-shortcuts button{min-height:34px;padding:6px 9px;font-size:13px}

/* Rest-day markers remain separate from attendance counts. */
.rest-day-badge{display:inline-flex;align-items:center;gap:.25rem;padding:2px 6px;border-radius:4px;background:#eee8df;color:#736451;font-size:11px;line-height:1.3;max-width:100%}.rest-unassigned{font-size:10px;color:#849088}.rest-day-list{margin:8px 0;padding:8px 12px;border-left:2px solid #b4a68f;background:#faf8f3}.rest-day-list p{margin:4px 0}.rest-payroll pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.rest-payroll td{vertical-align:middle}.rest-payroll .section-heading{gap:12px;flex-wrap:wrap}.rest-payroll .table-scroll{overflow-x:auto}.quick-calendar [hidden]{display:none!important}@media(max-width:600px){.calendar-date .rest-day-badge{font-size:9px;padding:1px 3px}.rest-payroll th,.rest-payroll td{padding:6px;font-size:12px}.rest-payroll button{font-size:12px;padding:5px 7px;min-height:32px}.rest-payroll .section-heading h3{font-size:16px}}

.quick-calendar .quick-apply-actions{align-items:end}.quick-apply-actions>label{font-size:12px;display:flex;flex-direction:column;gap:4px;min-width:130px}.quick-apply-actions select{min-height:36px;font-size:13px;padding:6px 8px}@media(max-width:600px){.quick-calendar .quick-apply-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-apply-actions>label{min-width:0}.quick-apply-actions button{min-width:0;padding:8px 6px;font-size:12px}.quick-apply-actions #quickApply{min-height:36px}}
