:root{--ink:#213c3b;--muted:#7b8886;--green:#13776b;--line:#e5eae7;--bg:#f6f8f5;--mint:#e2f2e8;--peach:#fff0df;--violet:#eee8fa;--blue:#e4eff9;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #79bcb0;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}svg{width:18px;height:18px;vertical-align:middle;flex-shrink:0}h1,h2,p{margin:0}h1{font-size:36px;font-weight:600;letter-spacing:-1.4px;line-height:1.25}h1>span{color:var(--green)}h2{font-size:17px;letter-spacing:-.4px}small{display:block;font-size:11px;color:var(--muted)}
.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;padding:35px 23px 22px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;font-size:32px;letter-spacing:-1.8px;font-weight:700}.brand-symbol{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--green);color:white;font-size:25px;letter-spacing:0}.brand-dot{color:var(--green)}.workspace{display:flex;align-items:center;gap:10px;padding:18px 0 26px;margin-top:21px}.workspace-icon{display:grid;place-items:center;width:34px;height:34px;background:#f1f3ee;border:1px solid #e7ebe4;border-radius:9px;font-size:13px}.workspace strong{display:block;font-size:12px;max-width:147px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace small{margin-top:5px;font-size:10px}.nav-label{font-size:9px;letter-spacing:1.4px;color:#9aa39f;padding:12px 10px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;padding:13px 12px;border:0;background:none;border-radius:9px;color:#697c77;text-align:left;margin-bottom:7px;font-size:12px;font-weight:500}.nav-item.active{background:#e9f3ec;color:var(--green)}.nav-item:hover{background:#f0f5ef}.nav-count{margin-left:auto;background:white;padding:3px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:20px 4px 22px}.local-icon{color:var(--green);margin-bottom:11px}.sidebar-bottom strong{font-size:11px}.sidebar-bottom p{font-size:10px;line-height:1.8;color:var(--muted);margin:8px 0}.text-button{border:0;background:none;padding:4px 0;color:var(--green);font-size:11px;font-weight:600;white-space:nowrap}.sidebar-bottom .text-button{margin-top:3px}.version{border-top:1px solid var(--line);padding-top:18px;font-size:9px;color:#89958e}.tiny-dot{display:inline-block;width:5px;height:5px;background:#6da18c;border-radius:50%;margin-right:6px;vertical-align:middle}
main{margin-left:238px;flex:1;min-width:0}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 42px;border-bottom:1px solid var(--line);background:#fdfefb}.breadcrumb{font-size:11px;color:#83928b}.breadcrumb span{margin:0 13px;color:#bcc4bf}.breadcrumb strong{font-weight:500;color:#4d615b}.topbar-right{display:flex;align-items:center;gap:23px}.saved{font-size:10px;color:#788b80}.avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#e9ede4;font-size:9px;font-weight:600}.main-content{padding:37px 42px 40px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#87938b;margin-bottom:11px}.page-heading p{margin-top:10px;color:var(--muted);font-size:12px;line-height:1.6}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border:1px solid #dde5dd;border-radius:8px;background:white;font-size:11px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f0f5ef}.button.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 6px #13776b14}.button.primary:hover{background:#0e6258}.button:active{transform:translateY(1px)}.button.small{min-height:34px;padding:7px 11px;font-size:10px}.button.small svg{width:14px;height:14px}.icon-button{border:1px solid var(--line);border-radius:7px;width:29px;height:29px;background:white;display:grid;place-items:center}.icon-button svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:17px 20px}.stat-label{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.stat-label svg{width:15px;height:15px;color:#a0aaa2}.stat-value{font-size:27px;font-weight:550;letter-spacing:-1px;margin:9px 0 6px;line-height:1}.stat-value span{font-size:11px;letter-spacing:0;color:#9aa39a;font-weight:400;margin-left:5px}.stat-note{font-size:9px;color:#88978b}.stat-note.good{color:var(--green)}.stat-note.warn{color:#b16728}
.schedule-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 20px #19352503}.board-toolbar{padding:22px 23px;display:flex;justify-content:space-between;align-items:center;gap:15px}.week-control{display:flex;align-items:center;gap:12px}.week-control strong{font-size:14px;font-weight:600;letter-spacing:-.2px}.week-control small{margin-top:5px;font-size:9px}.board-actions{display:flex;gap:8px}.board-legend{padding:0 24px 18px;display:flex;justify-content:space-between;gap:15px;align-items:center}.board-legend>div{display:flex;gap:16px;flex-wrap:wrap}.legend-item{font-size:9px;color:#778780;display:flex;gap:6px;align-items:center}.legend-dot{width:7px;height:7px;border-radius:3px}.mint{background:var(--mint);color:#37715d}.peach{background:var(--peach);color:#a0713c}.violet{background:var(--violet);color:#776091}.blue{background:var(--blue);color:#4a759a}.interaction-tip{font-size:9px;color:#a0a9a1;white-space:nowrap;display:flex;gap:5px;align-items:center}.interaction-tip svg{width:12px;height:12px}.board-scroll{overflow-x:auto;scrollbar-width:thin}.schedule-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:850px;font-size:11px}.schedule-table th{background:#fafbf8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);height:64px;font-weight:500;text-align:center;width:auto}.schedule-table th:first-child{width:160px;text-align:left;padding:0 23px;color:#7e8c81;font-size:10px}.day-name{font-size:9px;color:#9aa599;margin-bottom:5px;text-transform:uppercase;letter-spacing:.8px}.day-num{font-size:15px}.is-today .day-num{background:var(--green);color:white;border-radius:50%;padding:4px 6px}.schedule-table td{border-bottom:1px solid #eff1ed;padding:7px;height:57px;vertical-align:middle}.schedule-table td:not(:first-child){border-left:1px solid #f2f4ef}.schedule-table td:first-child{padding:10px 16px 10px 23px;position:sticky;left:0;background:#fff;z-index:2}.schedule-table th:first-child{position:sticky;left:0;z-index:3}.nurse-info{display:flex;gap:9px;align-items:center}.nurse-avatar{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:9px;background:#edf0e8;color:#7e8e76;flex-shrink:0}.nurse-name{max-width:97px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:550}.nurse-hours{font-size:8px;color:#9aa397;margin-top:4px}.shift{width:100%;border:1px solid transparent;border-radius:7px;min-height:40px;padding:6px 4px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:box-shadow .12s,transform .12s;cursor:grab}.shift strong{font-size:9px;font-weight:550}.shift small{font-size:8px;color:inherit;opacity:.8;white-space:nowrap}.shift:hover{box-shadow:0 2px 5px #19352515;transform:translateY(-1px)}.shift.selected{border:2px solid var(--green);box-shadow:0 0 0 2px #13776b20}.shift.dragging{opacity:.35}.empty-cell{display:grid;place-items:center;width:100%;height:40px;border:0;background:none;color:#c0c8bd;font-size:9px;border-radius:7px}.empty-cell:hover{background:#f6f8f3}.off-cell{background:#fbfcf9}.drop-active{background:#e5f1e9!important;outline:2px dashed #85b49c;outline-offset:-4px}.unfilled-row td{background:#fffaf1!important}.unfilled-row .shift{background:#fff0d6;color:#946325;margin:2px 0}.unfilled-label{font-size:10px;color:#a57131}.board-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;background:#fcfdf9;gap:15px}.board-footer>span{font-size:9px;color:#8c9787}.board-footer .text-button{font-size:9px}.below-board{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:19px}.below-board>div{display:flex;gap:9px;max-width:660px;align-items:flex-start}.below-board svg{width:13px;height:13px;color:#9aa88f;margin-top:2px}.below-board p{font-size:9px;color:#8a9682;line-height:1.7}.below-board strong{font-weight:500;color:#718064}.below-board .text-button{font-size:10px}.notice{padding:14px 18px;margin-top:18px;border:1px solid #eeddba;border-radius:10px;background:#fff6e7;color:#8a5c24;font-size:12px;line-height:1.7}.selection-banner{display:flex;justify-content:space-between;align-items:center;background:#ecf6ed;padding:12px 24px;font-size:11px;color:var(--green)}
.settings-panel{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:25px;margin-bottom:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.section-title p,.backup-panel p{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.7}.section-number{color:#9db0a0;font-size:12px;background:#f0f5ee;border-radius:50%;padding:9px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px 25px}label{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:550;color:#526960}input,select{height:42px;border:1px solid #dfe6de;border-radius:7px;padding:0 12px;background:#fcfdfa;color:var(--ink);width:100%;min-width:0;font-size:12px}.input-unit{position:relative}.input-unit input{padding-right:55px}.input-unit span{position:absolute;right:12px;top:14px;color:#9aa595;font-size:10px;font-weight:400}.settings-footer{font-size:10px;line-height:1.8;color:#8a9785;border-top:1px solid var(--line);padding-top:17px;margin-top:24px}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 24px}.team-field{display:flex;align-items:center;gap:12px}.team-field label{flex:1}.id-badge{border-radius:8px;background:#eef3e9;color:#6b8366;font-size:11px;padding:12px 9px;align-self:flex-end;margin-bottom:2px;min-width:40px;text-align:center}.pill{background:#eaf3eb;border-radius:20px;padding:7px 12px;color:var(--green);font-size:10px}.slot-editor{background:#fafcf7;border:1px solid #e8eee2;border-radius:11px;padding:17px;margin-bottom:15px}.slot-top{display:flex;gap:13px;align-items:center;justify-content:space-between;margin-bottom:17px}.slot-top label{flex:1;max-width:300px}.slot-top .icon-button{align-self:flex-end;width:35px;height:35px;border:0;background:#f0f3eb;color:#8a977f}.slot-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.weekday-control{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px;align-items:center}.weekday-control>span{font-size:10px;color:var(--muted);margin-right:7px}.weekday{border:1px solid #dfe7db;border-radius:6px;background:#fff;padding:7px 9px;font-size:10px}.weekday[aria-pressed=true]{background:#e2eee3;color:#2d7055;border-color:#c7ddc8}.setup-bottom{display:flex;justify-content:space-between;align-items:center;margin:23px 0 30px;gap:20px}.setup-bottom p{font-size:11px;color:var(--muted)}.backup-panel{display:flex;justify-content:space-between;align-items:center;gap:20px}.backup-panel>div:last-child{display:flex;gap:8px}.dialog-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#e9f3e8;color:var(--green);margin-bottom:18px}dialog{border:1px solid #e3ebe0;border-radius:19px;padding:30px;width:420px;max-width:calc(100vw - 32px);box-shadow:0 15px 100px #163a342b;color:var(--ink)}dialog::backdrop{background:#163a3450;backdrop-filter:blur(3px)}dialog h2{font-size:22px}dialog p{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0 23px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}#toast{position:fixed;bottom:26px;left:calc(50% + 119px);transform:translateX(-50%);background:#213f37;color:#fff;padding:14px 22px;border-radius:10px;box-shadow:0 6px 30px #18352720;font-size:12px;max-width:min(600px,calc(100vw - 32px));z-index:100;line-height:1.6}#toast.error{background:#87513a}#print-area{display:none}
@media(min-width:1500px){.schedule-table td{height:64px}.shift{min-height:45px}.shift strong{font-size:10px}.shift small{font-size:9px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:18px;padding-right:18px}main{margin-left:205px}.topbar{padding:0 25px}.main-content{padding:30px 25px}.interaction-tip{display:none}.form-grid{grid-template-columns:repeat(2,1fr)}.team-grid{grid-template-columns:repeat(2,1fr)}#toast{left:calc(50% + 102px)}h1{font-size:30px}}
@media(max-width:850px){.sidebar{width:78px;align-items:center;padding:27px 9px}.brand>span:last-child,.workspace,.nav-label,.nav-count,.sidebar-bottom,.version{display:none}.brand-symbol{width:37px;height:37px}.sidebar nav{margin-top:35px;width:100%}.nav-item{font-size:0;justify-content:center;padding:16px 0;gap:0}.nav-item svg{width:21px;height:21px}main{margin-left:78px}.stats{gap:10px}.stat{padding:14px}.stat-value{font-size:23px}.topbar{height:64px}.page-heading{align-items:flex-start}.page-heading .primary{margin-top:23px}.below-board{align-items:flex-start}.slot-columns{grid-template-columns:repeat(2,1fr)}.backup-panel{align-items:flex-start;flex-direction:column}#toast{left:calc(50% + 39px)}}
@media(max-width:600px){.app-shell{display:block}.sidebar{width:100%;height:64px;inset:0 0 auto 0;flex-direction:row;justify-content:space-between;padding:10px 17px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:25px;gap:8px}.brand>span:last-child{display:block}.brand-symbol{width:29px;height:29px;font-size:20px;border-radius:9px}.sidebar nav{display:flex;width:auto;gap:4px;margin:0}.nav-item{width:42px;margin:0;padding:10px}.nav-item svg{width:19px;height:19px}main{margin:64px 0 0}.topbar{height:49px;padding:0 18px}.topbar-right{gap:9px}.saved{font-size:8px}.avatar{display:none}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 8px}.main-content{padding:25px 16px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:29px}.page-heading{flex-direction:column;gap:16px;margin-bottom:22px}.page-heading p{font-size:11px}.page-heading .primary{margin:0;width:100%;min-height:43px}.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:20px}.stat{padding:14px 16px;border-radius:11px}.stat-value{font-size:24px;margin:8px 0}.stat-note{font-size:8px}.board-toolbar{padding:16px 14px;flex-wrap:wrap;gap:14px}.week-control{gap:8px;flex:1}.week-control strong{font-size:12px}.week-control small{font-size:8px}.board-actions{justify-content:flex-end}.board-actions .button{font-size:9px}.board-actions .button svg{width:12px;height:12px}.board-actions #undo{padding:7px}.board-legend{padding:0 15px 15px}.board-legend>div{gap:12px}.board-footer{padding:12px 15px}.board-footer>span{font-size:8px;max-width:155px;line-height:1.6}.board-footer .text-button{font-size:8px}.schedule-table{min-width:790px}.schedule-table th:first-child{width:125px;padding-left:13px}.schedule-table td:first-child{padding-left:13px}.nurse-info{gap:6px}.nurse-avatar{width:23px;height:23px}.nurse-name{max-width:77px;font-size:9px}.below-board{flex-direction:column;gap:8px}.below-board p{font-size:9px}.form-grid{grid-template-columns:1fr;gap:18px}.team-grid{grid-template-columns:1fr}.settings-panel{padding:20px 17px}.section-title p{font-size:11px}.section-title{gap:10px}.setup-bottom{flex-direction:column;align-items:stretch}.setup-bottom p{line-height:1.7}.backup-panel>div:last-child{flex-wrap:wrap}.slot-editor{padding:14px}.weekday-control{gap:5px}.weekday{font-size:9px;padding:8px}.weekday-control>span{width:100%;margin-bottom:5px}.selection-banner{padding:12px 15px;font-size:10px}#toast{left:50%;bottom:17px;width:max-content}.schedule-panel{border-radius:12px}}
@page{size:A4 landscape;margin:12mm}
@media print{html,body{background:white;font-size:9pt;color:#172c24}.app-shell,dialog,#toast{display:none!important}#print-area{display:block}.print-page{page-break-after:always;break-after:page}.print-page:last-child{page-break-after:auto;break-after:auto}.print-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:8mm}.print-heading h1{font-size:20pt;letter-spacing:-.5px}.print-heading p{font-size:9pt;margin-top:3mm;color:#555}.print-heading>span{font-size:8pt;color:#555}.print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8pt}.print-table th,.print-table td{border:1px solid #cbd4cd;padding:2.5mm 1.5mm;text-align:center}.print-table th:first-child,.print-table td:first-child{width:38mm;text-align:left}.print-table th{background:#f1f4ee}.print-table tr{break-inside:avoid}.print-table .print-shift{border-radius:3px;padding:2mm;margin:1mm 0;print-color-adjust:exact;-webkit-print-color-adjust:exact;font-size:7pt}.print-shift strong{display:block;margin-bottom:1mm}.print-foot{margin-top:5mm;color:#555;font-size:7pt;line-height:1.6}.print-nurse-id{font-size:6pt;color:#666}.print-unfilled{background:#fff0d6;print-color-adjust:exact}.print-legend{display:flex;gap:7mm;margin-top:5mm;font-size:7pt}.print-legend span{padding:2mm 3mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;border-radius:3px}}
