:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#182930;background:#f2f5f5;font-synthesis:none;--line:#dce5e5;--paper:#fff;--muted:#50646d;--accent:#126757;--ink:#11242c}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:.5rem .75rem;color:inherit;cursor:pointer;line-height:1.25}button:hover{border-color:#91aaa8;background:#f4f8f7}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #138879;outline-offset:2px}button:disabled{opacity:.52;cursor:default}.primary,.primary:hover{background:#146857;border-color:#146857;color:#fff;font-weight:650}.primary:hover{background:#0d5345}.muted{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.04em;line-height:1.13}h2{font-size:1.1rem;letter-spacing:-.02em}h3{font-size:1rem}.bar{height:auto;min-height:66px;padding:.55rem max(1rem,calc((100vw - 1440px)/2 + 24px));background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem}.identity{display:flex;align-items:center;gap:.65rem;font-weight:700;white-space:nowrap}.brand-mark{width:34px;height:34px;border-radius:8px;background:#c5ecdb;color:#14382f;display:grid;place-items:center;font-weight:800;font-size:1.15rem}.brand-subtitle,.brand-separator{color:#c0d2d3;font-weight:500}.bar nav{display:flex;gap:.3rem;align-items:center}.bar button{background:transparent;color:#dce7e8;border:1px solid transparent;white-space:nowrap}.bar button:hover,.bar button.selected{background:#2b4349;color:#fff;border-color:#3e565b}.identity-user{display:flex;gap:.5rem;align-items:center;max-width:235px;overflow:hidden;text-overflow:ellipsis}.avatar{border-radius:50%;display:grid;place-items:center;width:28px;height:28px;background:#c5ecdb;color:#14382f;font-weight:700}.workspace{max-width:1440px;margin:auto;padding:1.5rem 1.5rem 2rem}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem}.departments{display:flex;gap:.4rem;margin-top:.85rem}.departments button.active,.segmented button.active{background:#e1f2eb;border-color:#afcfc6;color:#115346;font-weight:700}.quick-actions{display:flex;gap:.55rem;flex-wrap:wrap}.panel{background:var(--paper);border:1px solid var(--line);border-radius:11px;min-width:0}.toolbar{padding:.65rem .8rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.55rem;margin-bottom:.8rem}.period-nav,.filters,.segmented,.selection-tools{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.period-nav strong{min-width:130px;text-align:center;font-size:1rem}.period-nav strong:first-letter{text-transform:uppercase}.filters input,.filters select,.editor input,.editor select,.editor textarea,.admin-grid input,.admin-grid select{min-height:34px;border:1px solid var(--line);background:#fff;border-radius:6px;padding:.35rem .5rem;color:var(--ink)}.filters input.search{max-width:150px}.filters .check{font-size:.88rem;white-space:nowrap}.check{display:flex!important;align-items:center;gap:.4rem}.check input{min-height:auto!important;accent-color:#146857}.overview{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:.9rem}.metric{padding:.7rem .9rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:62px;color:var(--muted)}.metric strong{font-size:1.55rem;line-height:1;color:#15534a;font-variant-numeric:tabular-nums}.alert-metric strong{color:#80511e}.schedule-top{padding:.65rem .8rem;display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap}.selection-tools{font-size:.9rem;color:var(--muted)}.segmented{gap:.25rem}.table-scroll{overflow:auto;max-width:100%;max-height:65vh}.schedule-table,.report{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.schedule-table th,.schedule-table td,.report th,.report td{border-top:1px solid var(--line);border-right:1px solid #e6eded;padding:0;text-align:center;white-space:nowrap}.schedule-table th:first-child,.report th:first-child{position:sticky;left:0;z-index:1;min-width:190px;max-width:240px;text-align:left;padding:0 .8rem;background:#fff;white-space:normal}.schedule-table thead th,.report thead th{position:sticky;top:0;z-index:2;background:#f1f6f5}.schedule-table thead th:first-child,.report thead th:first-child{z-index:3;background:#f1f6f5}.schedule-table th small{display:block;font-weight:500;color:var(--muted);font-size:.76rem}.schedule-table th button{border:0;border-radius:0;background:transparent;padding:.25rem .35rem;width:100%;min-width:38px}.schedule-table td{height:42px;min-width:38px}.schedule-table td button{border:1px solid transparent;border-radius:5px;padding:.15rem .2rem;min-height:29px;min-width:32px;font-size:.82rem;background:#f4f8f7;color:#344c46;font-weight:650}.schedule-table td button.blank{background:transparent;color:transparent}.schedule-table td button:hover,.calendar-event:hover{border-color:#64827f}.schedule-table .today,.calendar-day.today{background:#e5f5ee!important}.schedule-table th.today{box-shadow:inset 0 2px #17816a}.weekend{background:#eaeeee!important}.holiday{background:#f8e4e5!important}.off{background:#edf0f2!important;color:#465b66!important}.duty{background:#dcebfa!important;color:#234e78!important}.vacation{background:#fff0d5!important;color:#75492a!important}.sick{background:#eadff7!important;color:#5d3b81!important}.conflict{background:#ffe1df!important;color:#8a3938!important}.picked{outline:2px solid #156f5e;outline-offset:-1px}.report th,.report td{padding:.58rem .65rem;font-variant-numeric:tabular-nums}.legend{display:flex;gap:.8rem 1.15rem;flex-wrap:wrap;padding:.7rem .85rem;border-top:1px solid var(--line);font-size:.84rem;color:var(--muted)}.legend span{display:flex;align-items:center;gap:.35rem}.legend b{width:21px;height:21px;display:grid;place-items:center;background:#edf5f1;border-radius:4px}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week{border-top:1px solid var(--line);background:#f2f7f5;text-align:center;padding:.45rem;color:var(--muted)}.calendar-spacer,.calendar-day{min-height:105px;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:.32rem}.calendar-spacer{background:#f7f9f9}.calendar-number{border:0;background:transparent;padding:.15rem .35rem;font-weight:700}.calendar-event{display:block;width:100%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:.22rem;padding:.18rem .3rem;font-size:.78rem}.calendar-event span{font-weight:500}.lower-panels,.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:.85rem}.lower{padding:.85rem 1rem}.lower h2{margin-bottom:.65rem}.warning-line,.absence-line,.audit-line{border-top:1px solid var(--line);padding:.55rem 0;display:flex;align-items:center;justify-content:space-between;gap:.55rem}.absence-line{width:100%;text-align:left;border-radius:0;border-left:0;border-right:0;border-bottom:0}.absence-line span{color:var(--muted);font-size:.85rem}.warning-line button.text-button{border:0;text-align:left;padding:.05rem .2rem}.warning-line button.text-button b{margin-right:.3rem;color:#745029}.audit-line{display:block}.audit-line summary,.counts summary{cursor:pointer}.undo{margin-top:.85rem}.empty{padding:1.6rem;text-align:center;color:var(--muted)}.feedback{display:flex;justify-content:space-between;align-items:center;gap:.65rem;border:1px solid #d3e4e1;background:#eef8f4;padding:.65rem .8rem;border-radius:8px;margin:.55rem 0}.feedback.error{border-color:#edc5bf;background:#fcf0ed;color:#792e29}.feedback button{margin-left:auto}.counts,.preview{padding:.75rem 1rem;margin:.65rem 0}.preview{background:#eef7f2;border-radius:8px}.preview p{margin:.3rem 0}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(440px,100vw);z-index:5;background:#fff;border-left:1px solid var(--line);box-shadow:-10px 0 25px #11242c22;overflow:auto;padding:1rem}.drawer-head{position:sticky;top:-1rem;background:#fff;z-index:1;display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:.7rem 0;margin-bottom:.7rem}.drawer-head span{font-size:.86rem}.drawer-head button{font-size:1.25rem}.editor,.event-card,.availability{padding:.65rem;background:#f7faf9;border:1px solid var(--line);border-radius:8px;margin:.55rem 0}.editor>label,.editor fieldset{display:grid;gap:.25rem;margin:.6rem 0}.editor textarea{resize:vertical}.editor fieldset{border:1px solid var(--line);border-radius:6px}.date-fields{display:flex;gap:.6rem}.date-fields label{display:grid;gap:.2rem;min-width:0}.event-card p,.availability p{color:var(--muted);margin:.35rem 0}.admin-grid label{display:block;margin:.45rem 0}.admin-grid details ul{max-height:240px;overflow:auto}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.login-card{max-width:28rem;background:#fff;padding:1.75rem;border:1px solid var(--line);border-radius:12px}.login-card h1{margin:.8rem 0}.login-card p{margin:.65rem 0;color:var(--muted)}@media(min-width:1100px){.has-drawer .workspace{padding-right:455px}.drawer{top:66px}.has-drawer .overview{grid-template-columns:repeat(2,minmax(0,1fr))}.has-drawer h1{font-size:1.85rem}}@media(max-width:950px){.brand-subtitle,.brand-separator{display:none}.bar{flex-wrap:wrap}.bar nav{order:3;width:100%;overflow:auto}.workspace{padding:1rem}.overview{grid-template-columns:1fr 1fr}.calendar-day{min-height:82px}.lower-panels,.admin-grid{grid-template-columns:1fr}}@media(max-width:600px){.heading{align-items:flex-start;flex-direction:column}.toolbar{padding:.55rem}.identity-user{max-width:135px}.metric{font-size:.84rem;padding:.55rem}.metric strong{font-size:1.12rem}.schedule-table th:first-child{min-width:145px}.calendar-event{font-size:.67rem}.calendar-day{padding:.18rem}.calendar-week{font-size:.78rem}}@media print{.bar,.toolbar,.quick-actions,.undo,.drawer,.schedule-top,.feedback,.lower-panels,.departments,.overview{display:none!important}.workspace{max-width:none;padding:0}.panel{border:0}.table-scroll{overflow:visible;max-height:none}.schedule-table th,.schedule-table td,.schedule-table td button{font-size:8pt;min-width:0}.schedule-table th:first-child{min-width:0}.schedule-table th,.report th{position:static!important}.schedule-table td{height:22px}.schedule-table td button{padding:0;min-height:16px}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
