.schedule-admin-shell{color:#13213a;background:#f4f7fb;min-height:100vh}.schedule-admin-shell>.shell{max-width:1560px;margin:0 auto;padding:22px 24px 96px}.schedule-role-shell>.shell{max-width:1500px}.schedule-view-strip{z-index:20;background:#fff;border-bottom:1px solid #dbe4ef;position:relative}.schedule-view-strip-inner{justify-content:space-between;align-items:center;gap:18px;max-width:1560px;margin:0 auto;padding:12px 24px;display:flex}.schedule-view-strip-inner>div{flex-direction:column;gap:2px;display:flex}.schedule-view-strip b{color:#173253;font-size:13px}.schedule-view-strip small{color:#718096;font-size:10px}.schedule-view-strip nav{flex-wrap:wrap;gap:6px;display:flex}.schedule-view-strip a{color:#40516a;background:#fff;border:1px solid #d8e1ec;border-radius:10px;justify-content:center;align-items:center;min-height:36px;padding:0 13px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.schedule-view-strip a:hover{background:#f7faff}.schedule-view-strip a.is-active{color:#155ec4;background:#edf5ff;border-color:#7daaf0;box-shadow:inset 0 0 0 1px #155ec414}.schedule-shell{max-width:1560px}.schedule-shell .hero.admin-hero{box-shadow:none;background:0 0;border:0;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 14px;padding:0;display:flex}.schedule-shell .hero.admin-hero .eyebrow{color:#1d67c7;letter-spacing:.14em;margin:0 0 4px;font-size:10px;font-weight:900}.schedule-shell .hero.admin-hero h1{color:#12213b;margin:0;font-size:30px;line-height:1.15}.schedule-shell .hero.admin-hero .lead{color:#64748b;max-width:980px;margin:8px 0 0;font-size:13px;line-height:1.65}.schedule-shell .hero.admin-hero>.admin-link{display:none}.schedule-toolbar{background:#fff;border:1px solid #dce4ee;border-radius:16px;grid-template-columns:minmax(220px,1.1fr) repeat(3,auto) minmax(170px,.8fr) auto auto;align-items:end;gap:8px;margin:0 0 12px;padding:14px;display:grid;box-shadow:0 5px 18px #192d4b0a}.schedule-toolbar label{color:#5c6b80;flex-direction:column;gap:6px;font-size:11px;font-weight:800;display:flex}.schedule-toolbar select{min-height:42px;font:inherit;color:#172033;background:#fff;border:1px solid #cad6e5;border-radius:10px;padding:0 12px}.schedule-toolbar button,.schedule-toolbar a{color:#172033;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cad6e5;border-radius:10px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.schedule-toolbar button:hover,.schedule-toolbar a:hover{background:#f6f9fd;border-color:#a9bdd6}.schedule-toolbar>strong{color:#31445f;white-space:nowrap;background:#f7f9fc;border-radius:10px;align-items:center;min-height:42px;padding:0 12px;font-size:12px;display:flex}.schedule-hint,.schedule-shell>p.muted{color:#67758b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;margin:0 0 12px;padding:10px 13px;font-size:11px;line-height:1.5}.schedule-copy-status{margin-top:14px}.schedule-table-wrap{scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;background:#fff;border:1px solid #dce4ee;border-radius:16px;position:relative;overflow:auto;box-shadow:0 8px 24px #141e320d}.schedule-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1240px}.schedule-table th,.schedule-table td{vertical-align:top;background-clip:padding-box;border-bottom:1px solid #edf1f5;border-right:1px solid #edf1f5;padding:0}.schedule-table th:last-child,.schedule-table td:last-child{border-right:0}.schedule-table tbody tr:last-child td{border-bottom:0}.schedule-table th{z-index:4;color:#53627a;text-align:center;background:#f7f9fc;height:58px;padding:9px;font-size:11px;position:sticky;top:0}.schedule-table th:first-child{text-align:left;z-index:6;width:210px;left:0;box-shadow:8px 0 14px -13px #1720338c}.schedule-table th:last-child{width:92px}.schedule-table th strong{font-size:12px}.schedule-table th small{color:#8793a5;margin-top:3px;font-weight:600;display:block}.schedule-person-cell{z-index:3;min-width:210px;position:sticky;left:0;box-shadow:8px 0 14px -13px #1720338c;background:#fff!important;padding:14px!important}.schedule-person-cell>strong{color:#19263b;font-size:13px;line-height:1.25;display:block}.schedule-person-cell>small{color:#7a879a;margin-top:4px;font-size:10px;display:block}.schedule-row-actions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.mini-button,.schedule-person-cell>.mini-button{color:#32465f;cursor:pointer;background:#fff;border:1px solid #ccd8e8;border-radius:8px;min-height:30px;margin-top:8px;margin-right:5px;padding:6px 8px;font-size:10px}.mini-button:hover,.schedule-person-cell>.mini-button:hover{background:#f6f9fd}.schedule-cell{cursor:pointer;text-align:left;background:#fff;border:0;border-radius:0;flex-direction:column;gap:6px;width:100%;min-height:112px;padding:9px;transition:background .15s,box-shadow .15s;display:flex}.schedule-cell:hover{background:#f8fbff;box-shadow:inset 0 0 0 1px #cbdcf1}.schedule-cell.active{background:#edf5ff;box-shadow:inset 0 0 0 2px #82afea}.schedule-cell.leave-pending{background:#fff9ea}.schedule-cell.leave-locked{cursor:not-allowed;background:#fff2f1}.schedule-cell.schedule-unavailable{cursor:not-allowed;background:#f4f6f8}.schedule-cell>small:first-child{color:#718096;font-size:9px}.schedule-leave-badge,.schedule-unavailable-badge{border-radius:8px;width:100%;padding:6px 7px;font-size:10px;font-weight:800;display:block}.schedule-leave-badge.pending{color:#715300;background:#fff1b8}.schedule-leave-badge.locked{color:#7f2020;background:#f8d7d7}.schedule-empty{color:#9badc3;flex:1;place-items:center;min-height:66px;font-size:28px;font-weight:300;display:grid}.schedule-shift-chip{color:#172844;background:#f2f7fd;border:1px solid #d9e4f1;border-radius:9px;flex-direction:column;gap:2px;padding:7px 8px;font-size:11px;font-weight:850;line-height:1.25;display:flex}.schedule-shift-chip small{color:#a35229;font-size:9px;font-weight:600}.schedule-table td:last-child{text-align:center;color:#263b55;background:#fbfcfe;padding:14px 8px}.schedule-table td:last-child strong{font-size:11px}.schedule-editor{margin-top:14px;padding:0;scroll-margin-top:80px}.schedule-editor .section-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;display:flex}.schedule-editor .section-heading h2{margin:0;font-size:18px}.schedule-editor .section-heading p{color:#718096;margin:3px 0 0;font-size:11px}.schedule-editor .section-heading button{background:#fff;border:1px solid #d4deea;border-radius:9px;min-height:36px;padding:0 12px}.schedule-editor>.admin-panel{background:#fff;border:1px solid #dce4ee;border-radius:16px;padding:14px;box-shadow:0 6px 20px #141e320d}.schedule-segments{gap:10px;display:grid}.schedule-segment{background:#fbfcfe;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:130px 130px minmax(150px,.7fr) minmax(180px,1.4fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.schedule-segment label{color:#5e6c80;flex-direction:column;gap:5px;font-size:10px;font-weight:800;display:flex}.schedule-segment input[type=text],.schedule-segment input:not([type]),.schedule-segment textarea{background:#fff;border:1px solid #cbd7e6;border-radius:9px;min-height:40px;padding:0 10px}.schedule-segment>button{color:#b43d3d;background:#fff7f7;border:1px solid #e0c3c3;border-radius:9px;min-height:40px}.schedule-next-day{min-height:42px}.schedule-editor-actions,.schedule-editor .admin-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px;display:flex}.schedule-editor .admin-actions button{background:#fff;border:1px solid #ccd8e8;border-radius:9px;min-height:38px;padding:0 11px;font-size:11px;font-weight:800}.schedule-editor .admin-actions .primary-button{color:#fff;background:#1d67c7;border-color:#1d67c7}.month-weekdays{color:#627087;text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:14px;font-size:11px;display:grid}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.calendar-day{background:#fff;border:1px solid #dce4ee;border-radius:12px;flex-direction:column;gap:7px;min-height:145px;padding:10px;display:flex}.calendar-day>div{border-top:1px solid #edf0f5;padding-top:6px;font-size:13px}.calendar-day small{color:#7b8798}.muted-day{opacity:.52}.editable-month-calendar{margin-top:6px}.month-edit-day{font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s}.month-edit-day:hover{background:#f8fbff;border-color:#8eb3e6;transform:translateY(-1px);box-shadow:0 7px 18px #21467814}.month-edit-day.muted-day{opacity:.64;background:#f7f8fa}.month-edit-day.muted-day:hover{opacity:1;background:#f3f7fd}.month-day-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.month-day-head strong{color:#16253b;font-size:16px}.month-day-head small{font-size:9px}.month-shift{color:#25334a;background:#f3f7fc;border:1px solid #dbe5f1;border-radius:8px;padding:6px 7px;font-size:10px;display:block}.month-shift b{font-size:11px}.pill{white-space:normal;border-radius:999px;align-items:center;width:max-content;max-width:100%;padding:5px 7px;font-size:9px;font-weight:800;display:inline-flex}.pill-warning{color:#7a5700;background:#fff2c9}.pill-error{color:#9d2d27;background:#ffe1df}.modal-backdrop{z-index:12000;background:#0f172a6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:18px;width:min(720px,100%);max-height:88vh;padding:20px;overflow:auto;box-shadow:0 30px 80px #0f172a47}.modal-card h2{margin:0 0 14px;font-size:20px}@media (max-width:1100px){.schedule-toolbar{grid-template-columns:1fr repeat(3,auto)}.schedule-toolbar>strong,.schedule-toolbar>a,.schedule-toolbar>button:nth-last-child(-n+2){grid-column:auto}.schedule-segment{grid-template-columns:1fr 1fr}.schedule-table{min-width:1100px}}@media (max-width:760px){.schedule-view-strip-inner{flex-direction:column;align-items:stretch;padding:9px 10px}.schedule-view-strip-inner>div{display:none}.schedule-view-strip nav{grid-template-columns:repeat(3,1fr);width:100%;display:grid}.schedule-view-strip a{min-height:34px;padding:0 7px;font-size:10px}.schedule-admin-shell>.shell,.schedule-role-shell>.shell{padding-bottom:96px;padding-left:10px;padding-right:10px}.schedule-shell .hero.admin-hero{margin-top:4px}.schedule-shell .hero.admin-hero h1{font-size:24px}.schedule-shell .hero.admin-hero .lead{font-size:11px}.schedule-toolbar{grid-template-columns:1fr 1fr 1fr;gap:6px;padding:10px}.schedule-toolbar label{grid-column:1/-1}.schedule-toolbar>strong{grid-column:1/-1;justify-content:center}.schedule-toolbar>a,.schedule-toolbar>button:nth-last-child(-n+2){min-height:38px}.schedule-table{min-width:980px}.schedule-person-cell{min-width:150px}.schedule-cell{min-height:94px}.schedule-editor{z-index:11000;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));background:#f5f7fb;border:1px solid #cfd8e5;border-radius:18px;max-height:80dvh;padding:12px;position:fixed;overflow-y:auto;box-shadow:0 22px 60px #141e3247}.schedule-editor .section-heading{z-index:2;background:#f5f7fb;padding:10px 0;position:sticky;top:-12px}.schedule-segment{grid-template-columns:1fr}.schedule-editor .admin-actions{justify-content:stretch}.schedule-editor .admin-actions button{flex:42%}.calendar-grid,.month-weekdays{grid-template-columns:repeat(7,minmax(92px,1fr));min-width:680px}.month-weekdays,.editable-month-calendar{width:680px}.calendar-day{min-height:120px;padding:8px}.shell:has(.editable-month-calendar){overflow-x:auto}}@media (max-width:430px){.schedule-view-strip a{font-size:9px}.schedule-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-toolbar button,.schedule-toolbar a{padding:0 6px;font-size:10px}.schedule-shell .hero.admin-hero .lead{display:none}}.schedule-cell.planned-leave{background:#fff8ed}.schedule-planned-leave{color:#9a5b12;text-align:center;background:#fff3dd;border:1px solid #efd6aa;border-radius:9px;width:100%;padding:9px 8px;font-size:11px;font-weight:850;display:block}.schedule-day-type{color:#526176;gap:6px;max-width:260px;font-size:11px;font-weight:800;display:grid}.schedule-day-type select{color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:9px;min-height:40px;padding:0 10px}
