:root{color:#1e2e2c;font-synthesis:none;background:#f4f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f4f7f6;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #185f5938}code{overflow-wrap:anywhere;font-family:SFMono-Regular,Consolas,monospace}.auth-shell{background:radial-gradient(circle at 15% 10%,#e2efec 0,#0000 32%),linear-gradient(145deg,#f7faf9,#edf4f2);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.auth-status,.login-card{background:#fff;border:1px solid #dfe9e6;border-radius:28px;width:min(480px,100%);box-shadow:0 24px 70px #1e3d391f}.auth-status{align-items:center;gap:16px;padding:34px;display:flex}.auth-status p{color:#506460;margin:0}.login-card{padding:38px}.brand-lockup{align-items:center;gap:12px;display:flex}.brand-lockup.compact{min-width:230px}.brand-lockup>div{gap:2px;display:grid}.brand-lockup strong{font-size:18px}.brand-lockup span:not(.brand-mark){color:#6d7e7a;font-size:12px}.brand-mark{color:#fff;background:#173f3b;border-radius:13px;flex:none;place-items:center;width:42px;height:42px;font-size:20px;font-weight:850;display:inline-grid}.login-copy{margin:42px 0 30px}.kicker{color:#54716c;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;display:inline-block}.login-copy h1,.hero h1{letter-spacing:-.04em;margin:8px 0 12px;line-height:1.05}.login-copy h1{font-size:clamp(32px,8vw,46px)}.login-copy p,.hero p{color:#647570;margin:0;line-height:1.6}.primary-button,.ghost-button{border:0;border-radius:12px;min-height:44px;padding:0 16px;font-weight:750}.primary-button{color:#fff;background:#173f3b}.primary-button:disabled{opacity:.6;cursor:wait}.ghost-button{color:#334c48;background:#edf2f0}.ghost-button.small{min-height:36px;padding:0 12px;font-size:12px}.login-button{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;min-height:58px;font-size:15px;display:grid}.jtl-pill{color:#173f3b;background:#fff;border-radius:7px;padding:5px 7px;font-size:11px;font-weight:900}.security-note{color:#566b67;background:#f4f7f6;border-radius:12px;gap:4px;margin-top:18px;padding:14px;font-size:12px;display:grid}.error-box{color:#8b2e29;background:#fff0ef;border-radius:10px;margin:0 0 16px;padding:12px 14px;font-size:13px}.admin-app{min-height:100vh}.topbar{z-index:10;background:#fff;border-bottom:1px solid #e1e8e6;justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:12px max(24px,50vw - 590px);display:flex;position:sticky;top:0}.top-actions{align-items:center;gap:10px;display:flex}.user-chip{border-left:1px solid #dde6e3;gap:1px;padding:6px 12px;display:grid}.user-chip strong{font-size:12px}.user-chip span{color:#7a8986;font-size:10px}.admin-main{width:min(1180px,100% - 48px);margin:0 auto;padding:44px 0 72px}.hero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.hero h1{font-size:clamp(34px,5vw,52px)}.tenant-card,.discovery-banner,.editor-card,.facilities-section,.state-card{background:#fff;border:1px solid #dfe8e5;border-radius:18px}.tenant-card{grid-template-columns:auto 1fr;align-items:center;gap:5px 14px;margin-bottom:14px;padding:18px 20px;display:grid}.tenant-card>span{color:#536c67;font-size:12px;font-weight:800}.tenant-card code{font-size:12px}.tenant-card small{color:#7a8986;grid-column:1/-1}.discovery-banner{color:#6d6040;background:#fdfaf0;border-color:#ebe1bf;margin-bottom:22px;padding:14px 18px;font-size:13px;line-height:1.5}.editor-card{margin-bottom:24px;padding:24px;box-shadow:0 16px 38px #1e3d3914}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:4px 0 0;font-size:24px}.facility-form{grid-template-columns:1fr 1fr;gap:15px;display:grid}.facility-form label{color:#405451;gap:7px;font-size:12px;font-weight:750;display:grid}.facility-form .full{grid-column:1/-1}.facility-form input:not(.color-picker){color:#253936;background:#fbfdfc;border:1px solid #d3dfdc;border-radius:10px;width:100%;min-height:46px;padding:0 12px}.color-row{grid-template-columns:50px 1fr 82px;align-items:center;gap:10px;display:grid}.color-picker{background:#fff;border:1px solid #d3dfdc;border-radius:10px;width:50px;height:44px;padding:2px}.color-preview{color:#fff;border-radius:10px;place-items:center;height:42px;font-weight:850;display:grid}.form-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.facilities-section{padding:24px}.count-badge{color:#36534e;background:#e6efec;border-radius:999px;place-items:center;min-width:32px;height:32px;padding:0 10px;font-size:12px;font-weight:800;display:inline-grid}.facility-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.facility-card{background:#fbfdfc;border:1px solid #dfe8e5;border-top:4px solid #185f59;border-radius:16px;padding:20px}.facility-card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.facility-card-head>div{align-items:center;gap:9px;min-width:0;display:flex}.facility-color{border-radius:50%;flex:none;width:13px;height:13px}.facility-card h3{margin:0;font-size:18px}.facility-card>p{color:#687a76;font-size:13px;line-height:1.55}.facility-card dl{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 0;display:grid}.facility-card dl .full{grid-column:1/-1}.facility-card dt{color:#879591;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}.facility-card dd{color:#344b47;margin:4px 0 0;font-size:12px}.state-card{text-align:center;color:#667874;padding:28px}.state-card.error{color:#8b2e29}@media (width<=760px){.topbar{align-items:flex-start;padding:14px 16px;position:static}.brand-lockup.compact>div span{display:none}.top-actions{flex-wrap:wrap;justify-content:flex-end}.user-chip{display:none}.top-actions .ghost-button{min-height:38px;padding:0 10px;font-size:11px}.admin-main{width:auto;padding:28px 16px 48px}.hero{flex-direction:column;align-items:stretch}.hero .primary-button{width:100%}.tenant-card{grid-template-columns:1fr}.tenant-card small{grid-column:auto}.facility-form{grid-template-columns:1fr}.facility-form .full{grid-column:auto}.facility-grid,.facility-card dl{grid-template-columns:1fr}.facility-card dl .full{grid-column:auto}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}@media (width<=460px){.topbar{grid-template-columns:1fr;display:grid}.top-actions{justify-content:flex-start}.login-card{border-radius:22px;padding:28px 22px}.color-row{grid-template-columns:46px 1fr}.color-preview{grid-column:1/-1}.facility-card-head{flex-direction:column}.facility-card-head .ghost-button{width:100%}}.scheduling-shell{background:#fff;border:1px solid #dfe8e5;border-radius:22px;margin-top:28px;padding:28px;overflow:hidden;box-shadow:0 18px 44px #1e3d390f}.planning-hero{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.planning-hero h2{letter-spacing:-.035em;margin:5px 0 8px;font-size:clamp(28px,4vw,38px)}.planning-hero p{color:#647570;max-width:720px;margin:0;line-height:1.55}.planning-facility-select{min-width:245px}.planning-facility-select label,.demand-form label{color:#405451;gap:7px;font-size:12px;font-weight:750;display:grid}.planning-facility-select select,.demand-form input,.demand-form select{color:#253936;background:#fbfdfc;border:1px solid #d3dfdc;border-radius:10px;width:100%;min-height:44px;padding:0 11px}.prototype-rule-note{color:#6d6040;background:#fffaf0;border:1px solid #e3d7ac;border-radius:12px;margin:20px 0;padding:13px 15px;font-size:12px;line-height:1.55}.week-toolbar{border-top:1px solid #edf1f0;justify-content:space-between;align-items:center;gap:16px;padding:14px 0 18px;display:flex}.week-nav,.planning-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.week-nav strong{text-align:center;min-width:165px;font-size:13px}.primary-button.outline{color:#173f3b;background:#edf5f2;border:1px solid #b9d0cb}.planning-notice{border-radius:11px;margin-bottom:14px;padding:12px 14px;font-size:13px;line-height:1.45}.planning-notice.success{color:#275d40;background:#eaf6ef}.planning-notice.warning{color:#765a1f;background:#fff8e8}.planning-notice.error{color:#8b2e29;background:#fff0ef}.planning-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.planning-kpis article{background:#f9fbfa;border:1px solid #e0e8e6;border-radius:14px;gap:4px;padding:17px 18px;display:grid}.planning-kpis article.attention{background:#fff8f1;border-color:#efd4bd}.planning-kpis span{color:#60736f;text-transform:uppercase;letter-spacing:.07em;font-size:11px;font-weight:800}.planning-kpis strong{font-size:28px;line-height:1}.planning-kpis small{color:#778985;font-size:11px}.planning-empty{text-align:center;background:#fafcfb;border:1px dashed #cbd9d5;border-radius:16px;padding:36px 24px}.planning-empty h3{margin:0 0 8px}.planning-empty p{color:#687a76;max-width:600px;margin:0 auto 18px;line-height:1.55}.week-board{overscroll-behavior-inline:contain;scrollbar-width:thin;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;max-width:100%;padding-bottom:8px;display:grid;overflow-x:auto}.day-column{background:#f8faf9;border:1px solid #e1e9e7;border-radius:15px;min-width:0;padding:10px}.day-column>header{justify-content:space-between;align-items:baseline;gap:8px;padding:2px 2px 9px;display:flex}.day-column>header strong{font-size:12px}.day-column>header span{color:#879591;font-size:10px}.day-shifts{gap:8px;display:grid}.day-empty{color:#96a29f;text-align:center;padding:16px 7px;font-size:11px}.planning-shift{background:#fff;border:1px solid #dbe6e2;border-radius:11px;gap:4px;min-width:0;padding:10px;display:grid}.planning-shift.filled{border-left:4px solid #4d8a6a}.planning-shift.open{background:#fffaf5;border-left:4px solid #d38642}.planning-shift-time{color:#536c67;font-size:11px;font-weight:850}.planning-shift>strong{overflow-wrap:anywhere;font-size:12px;line-height:1.25}.planning-shift>span{color:#687a76;font-size:10px}.planning-shift small{margin-top:4px;font-size:10px;line-height:1.35}.assignment-name{color:#397153}.assignment-open{color:#a15d26;font-weight:800}.shift-assignment-button{color:#315f57;font:inherit;cursor:pointer;background:#f6faf8;border:1px solid #cbdad6;border-radius:8px;margin-top:5px;padding:6px 7px;font-size:9px;font-weight:800}.shift-assignment-button:hover{background:#e9f2ef}.planning-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:20px;display:grid}.planning-card{background:#fbfdfc;border:1px solid #dfe8e5;border-radius:17px;min-width:0;padding:22px}.planning-card .section-heading h3{margin:4px 0 0;font-size:21px}.employee-load-list{gap:11px;display:grid}.employee-load-list article{background:#fff;border:1px solid #e3ebe9;border-radius:12px;padding:13px}.employee-load-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.employee-load-head>div{gap:2px;min-width:0;display:grid}.employee-load-head strong{font-size:13px}.employee-load-head span,.employee-load-list small{color:#778985;font-size:10px}.employee-load-head b{white-space:nowrap;color:#334c48;font-size:11px}.load-track{background:#e5ecea;border-radius:999px;height:7px;margin:9px 0 6px;overflow:hidden}.load-track span{border-radius:inherit;background:#4d8a6a;height:100%;display:block}.demand-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.demand-form label:nth-of-type(4),.demand-form label:nth-of-type(5){grid-column:span 2}.demand-form .full{grid-column:1/-1}.demand-list{gap:7px;max-height:310px;margin-top:16px;display:grid;overflow-y:auto}.demand-list>div{background:#f0f5f3;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;font-size:11px;display:flex}.demand-list span{min-width:0}.demand-list small{color:#72827f;margin-top:2px;display:block}.icon-delete{color:#9c4b45;background:#fff;border:0;border-radius:9px;flex:none;width:32px;height:32px;font-size:20px}@media (width<=1000px){.planning-hero,.week-toolbar{flex-direction:column;align-items:stretch}.planning-facility-select{width:100%;min-width:0}.planning-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-detail-grid{grid-template-columns:1fr}}@media (width<=760px){.scheduling-shell{border-radius:18px;margin-top:20px;padding:18px}.planning-hero h2{font-size:29px}.planning-actions>button{flex:180px}.week-nav{justify-content:space-between}.week-nav strong{text-align:left;order:-1;width:100%;min-width:0}.week-board{grid-template-columns:repeat(7,145px);margin-right:-18px;padding-right:18px}.demand-form{grid-template-columns:1fr 1fr}.demand-form label:nth-of-type(4),.demand-form label:nth-of-type(5),.demand-form .full{grid-column:1/-1}}@media (width<=460px){.planning-kpis{grid-template-columns:1fr 1fr;gap:8px}.planning-kpis article{padding:13px}.planning-kpis strong{font-size:24px}.planning-actions{grid-template-columns:1fr;display:grid}.planning-actions>button{width:100%}.demand-form{grid-template-columns:1fr}.demand-form label:nth-of-type(4),.demand-form label:nth-of-type(5),.demand-form .full{grid-column:auto}.employee-load-head{flex-direction:column}}.employee-load-actions{align-items:center;gap:8px;display:flex}.employee-load-actions button{color:#365b55;font:inherit;cursor:pointer;background:#edf3f1;border:0;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}.employee-load-actions button:hover{background:#e0ebe8}.employee-editor-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#15272475;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.employee-editor{background:#fff;border:1px solid #d9e4e1;border-radius:20px;width:min(620px,100%);max-height:min(760px,100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 80px #0d26213d}.employee-editor-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.employee-editor-head h3{margin:4px 0 0;font-size:24px}.employee-editor-head>button{color:#49615d;cursor:pointer;background:#f0f4f3;border:0;border-radius:50%;width:36px;height:36px;font-size:22px}.employee-form{grid-template-columns:1fr 1fr;gap:14px;display:grid}.employee-form label{color:#4e625e;gap:7px;font-size:11px;font-weight:800;display:grid}.employee-form label.full{grid-column:1/-1}.employee-form input,.employee-form select{color:#1f3834;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d8e2df;border-radius:10px;padding:0 11px;font-size:13px}.weekday-picker{border:0;flex-wrap:wrap;grid-column:1/-1;gap:7px;margin:2px 0 0;padding:0;display:flex}.weekday-picker legend{color:#4e625e;width:100%;margin-bottom:2px;font-size:11px;font-weight:800}.weekday-picker button{color:#536c67;cursor:pointer;background:#fff;border:1px solid #d8e2df;border-radius:10px;min-width:42px;height:38px;font-weight:800}.weekday-picker button.selected{color:#24564d;background:#e6f0ed;border-color:#4f8178}.employee-editor-note{color:#647a75;background:#f7faf9;border-radius:10px;grid-column:1/-1;margin:0;padding:11px 12px;font-size:11px;line-height:1.5}.employee-editor-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;margin-top:2px;display:flex}.shift-assignment-dialog{width:min(720px,100%)}.shift-assignment-summary{color:#536a65;background:#f4f8f7;border-radius:12px;gap:5px;margin:-4px 0 16px;padding:13px;font-size:12px;display:grid}.shift-assignment-summary>strong{color:#203d38;font-size:15px}.shift-assignment-select{color:#4e625e;gap:7px;font-size:11px;font-weight:800;display:grid}.shift-assignment-select select{color:#1f3834;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #cfdcd8;border-radius:11px;padding:0 12px;font-size:12px}.shift-assignment-selected{border-radius:10px;gap:3px;margin-top:11px;padding:11px 12px;font-size:11px;display:grid}.shift-assignment-selected.eligible{color:#315f45;background:#ebf6ef}.shift-assignment-selected.blocked{color:#8b3932;background:#fff2f0}.shift-assignment-selected span{opacity:.88;font-size:10px}.shift-assignment-candidates{gap:7px;max-height:260px;margin-top:14px;display:grid;overflow-y:auto}.shift-assignment-candidates>div{background:#fbfdfc;border:1px solid #e1e9e7;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 11px;display:flex}.shift-assignment-candidates>div>span{gap:2px;min-width:0;display:grid}.shift-assignment-candidates strong{font-size:11px}.shift-assignment-candidates small{color:#72827f;font-size:9px}.shift-assignment-candidates b{text-align:right;max-width:46%;font-size:9px;line-height:1.35}.shift-assignment-candidates .eligible b{color:#397153}.shift-assignment-candidates .blocked b{color:#9a4942}.shift-assignment-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:18px;display:flex}.danger-button{color:#91443d;font:inherit;cursor:pointer;background:#fff3f1;border:1px solid #e3beba;border-radius:10px;padding:9px 12px;font-size:11px;font-weight:800}.danger-button:disabled{opacity:.55;cursor:default}.jtl-debug-panel{width:min(920px,100%)}.jtl-debug-intro{color:#627671;margin:-6px 0 16px;font-size:12px;line-height:1.5}.jtl-debug-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px;display:grid}.jtl-debug-summary>div{background:#f7faf9;border:1px solid #e0e8e6;border-radius:10px;gap:4px;min-width:0;padding:10px 11px;display:grid}.jtl-debug-summary span{color:#6a7c78;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800}.jtl-debug-summary code{overflow-wrap:anywhere;font-size:10px}.jtl-debug-section{gap:10px;margin-top:18px;display:grid}.jtl-debug-section h4{margin:0;font-size:15px}.jtl-debug-role,.jtl-debug-member{background:#fbfdfc;border:1px solid #e0e8e6;border-radius:12px;gap:8px;padding:13px;display:grid}.jtl-debug-role-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.jtl-debug-badges{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.jtl-debug-badges span,.jtl-debug-status{border-radius:999px;width:fit-content;padding:3px 7px;font-size:9px;font-weight:800;display:inline-flex}.jtl-debug-badges .yes,.jtl-debug-status.yes{color:#286044;background:#e7f4eb}.jtl-debug-badges .no,.jtl-debug-status.no{color:#8b2e29;background:#fff0ef}.jtl-debug-badges .neutral{color:#5f716d;background:#edf2f1}.jtl-debug-line{color:#526762;flex-wrap:wrap;gap:6px;font-size:11px;line-height:1.45;display:flex}.jtl-debug-line code{overflow-wrap:anywhere;background:#edf3f1;border-radius:5px;padding:1px 4px}.jtl-debug-role details,.jtl-debug-member details{border-top:1px solid #e6ecea;padding-top:8px}.jtl-debug-role summary,.jtl-debug-member summary{cursor:pointer;color:#3f625b;font-size:10px;font-weight:800}.jtl-debug-role pre,.jtl-debug-member pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#dbe7e4;background:#12201e;border-radius:8px;max-height:260px;margin:8px 0 0;padding:10px;font-size:9px;line-height:1.45;overflow:auto}.jtl-debug-member>div:first-child{gap:2px;display:grid}.jtl-debug-member>div:first-child span,.jtl-debug-member small,.jtl-debug-role small{color:#6f807c;font-size:10px}.jtl-debug-empty{color:#6f807c;margin:0;font-size:11px}@media (width<=620px){.employee-load-actions{justify-content:space-between;width:100%}.jtl-debug-summary{grid-template-columns:1fr 1fr}.jtl-debug-role-head{flex-direction:column}.jtl-debug-badges{justify-content:flex-start}.jtl-debug-panel{max-height:92vh}.shift-assignment-candidates>div{flex-direction:column;gap:5px}.shift-assignment-candidates b{text-align:left;max-width:100%}.shift-assignment-actions{grid-template-columns:1fr 1fr;display:grid}.shift-assignment-actions .danger-button{grid-column:1/-1}.employee-editor-backdrop{align-items:end;padding:0}.employee-editor{width:100%;max-height:88vh;padding:20px 18px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.employee-form{grid-template-columns:1fr}.employee-form label.full,.weekday-picker,.employee-editor-note,.employee-editor-actions{grid-column:auto}.employee-editor-actions{grid-template-columns:1fr 1fr;display:grid}}
