/* The working calendar uses the same quiet document surfaces as saved plans. */
dialog.schedule-calendar-dialog{padding:0;width:min(940px,95vw);max-width:940px;max-height:92vh;overflow:auto;background:#fff;color:#405977}
.sc-dialog{min-width:0}.sc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 30px 22px;background:#f7faff;border-bottom:1px solid #dfe7f1}.sc-heading .eyebrow{font-size:9px;color:#7c94af}.sc-heading h2{font-size:25px;margin:7px 0 10px;color:#2f4a6b;letter-spacing:-.5px}.sc-heading p{font-size:12px;line-height:1.7;color:#8196ae}.sc-heading>button{font-size:22px;padding:2px 5px}.sc-content{padding:0 30px}.sc-first-setup{font-size:11px;line-height:1.8;color:#7a8ea5;background:#f7f9fc;border:1px solid #e1e8f0;border-radius:8px;padding:13px 15px;margin-top:22px}.sc-section{padding:23px 0;border-bottom:1px solid #e5ebf2}.sc-section h3,.sc-preview h3{font-size:13px;font-weight:600;color:#476583;margin:0 0 12px}.sc-weekdays{display:flex;gap:8px;flex-wrap:wrap}.sc-weekdays label{position:relative;display:block;margin:0!important}.sc-weekdays input{position:absolute;opacity:0;width:1px;height:1px}.sc-weekdays span{display:grid;place-items:center;width:49px;height:39px;border:1px solid #dbe4ef;border-radius:7px;background:#fff;color:#8a9cb1;font-size:11px}.sc-weekdays input:checked+span{background:#eef5ff;border-color:#a8c4e8;color:#3c6ca6}.sc-weekdays input:focus-visible+span{outline:2px solid #5592e0;outline-offset:2px}.sc-weekdays input:disabled+span{opacity:.55}.sc-holiday-choice{display:flex!important;flex-direction:row;align-items:flex-start;gap:11px;margin:0!important}.sc-holiday-choice>input{width:16px;height:16px;margin:2px 0 0;accent-color:#4378bb;flex:none}.sc-holiday-choice b{display:block;font-size:12px;font-weight:600;color:#486684}.sc-holiday-choice small{display:block;font-weight:400;font-size:11px;line-height:1.7;color:#8a9bb0;margin-top:5px}.sc-holiday-details{margin:15px 0 0 27px;font-size:11px;color:#738eac}.sc-holiday-details summary{cursor:pointer}.sc-year{display:flex!important;flex-direction:row;align-items:center;gap:12px;max-width:180px;font-size:11px;margin:17px 0 12px!important}.sc-year input{width:105px;padding:7px 10px;font-size:11px}.sc-holidays{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;border-top:1px solid #e2e9f2}.sc-holidays>div{display:flex;align-items:center;gap:13px;min-width:0;padding:10px 0;border-bottom:1px solid #e6ecf3;font-size:11px;color:#647f9e}.sc-holidays time{width:63px;flex:none;color:#59789c}.sc-holidays time small{font-size:9px;display:block;margin-top:3px;color:#9aaabe}.sc-holidays>div>span{overflow-wrap:anywhere;line-height:1.6}.sc-source{font-size:9px!important;line-height:1.7;color:#97a5b6;margin-top:13px}.sc-source a{color:#7594b8}.sc-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.sc-section-heading h3{margin-bottom:7px}.sc-section-heading p,.sc-overlap-hint{font-size:10px;line-height:1.8;color:#8c9db1}.sc-section-heading button{flex:none;white-space:nowrap;font-size:11px;padding:8px 12px}.sc-period{display:grid;grid-template-columns:155px 155px minmax(0,1fr) 28px;align-items:end;gap:10px;padding:16px 0;border-bottom:1px solid #ecf0f6}.sc-period label{font-size:9px;color:#7b91ab;margin:0!important;min-width:0}.sc-period input{display:block;font-size:11px;margin-top:6px;width:100%;min-width:0;padding:9px}.sc-period>button{font-size:21px;padding:8px 1px;color:#9b8690}.sc-empty{font-size:11px;padding:21px 0;color:#a1afbf}.sc-overlap-hint{margin-top:13px}.sc-preview{padding:23px 0 20px}.sc-preview>p{font-size:11px;line-height:1.8;color:#7e94ae}.sc-changes{overflow:auto;max-height:300px;border:1px solid #dce7f3;border-radius:8px;margin:15px 0}.sc-changes table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.7;min-width:450px}.sc-changes th,.sc-changes td{padding:11px 13px;text-align:left;border-bottom:1px solid #e4ebf4;vertical-align:top}.sc-changes thead th{background:#f2f6fc;color:#7e96b1;font-size:9px;font-weight:500;position:sticky;top:0}.sc-changes tbody th{font-weight:500;color:#597797;width:46%;overflow-wrap:anywhere}.sc-changes td{color:#8a9db3}.sc-changes td:last-child{color:#4878b0}.sc-changes tr:last-child>*{border-bottom:0}.sc-warnings,.sc-conflicts{font-size:11px;line-height:1.8;padding:13px 16px;border-radius:8px;background:#fffaf0;border:1px solid #eee4c9;color:#927c51;margin-top:14px}.sc-warnings b,.sc-conflicts b{font-weight:600}.sc-warnings p,.sc-conflicts p{margin:6px 0 0}.sc-conflicts{background:#fff5f3;border-color:#edd4cf;color:#a36d63}.sc-backup-hint{font-size:10px!important;margin-top:13px}.sc-footer{padding:17px 30px 23px;border-top:1px solid #e1e8f1;background:#fbfcfe;position:sticky;bottom:0;z-index:4}.sc-footer [role=status]{font-size:11px;line-height:1.8;color:#8e7956;overflow-wrap:anywhere}.sc-footer .actions{margin-top:12px;flex-wrap:wrap;gap:8px}.sc-footer button{font-size:11px;padding:10px 13px;white-space:normal}.schedule-calendar-body.schedule-calendar-aware,.sv-calendar-body.schedule-calendar-aware{background:#fff}.schedule-nonworking-band{position:absolute;top:0;bottom:0;background:#f5f7fa;pointer-events:none}.schedule-nonworking-band.is-holiday{background:#eaf2fc}.schedule-nonworking-band.is-manual{background:#f1edf8}
@media(max-width:650px){.sc-changes table{min-width:0;table-layout:fixed;font-size:10px}.sc-changes th,.sc-changes td{padding:9px 7px}.sc-changes tbody th{width:auto}.sc-changes thead th:first-child{width:36%}.sc-changes td{overflow-wrap:anywhere}.sc-heading{padding:21px 19px 18px}.sc-content{padding:0 19px}.sc-heading h2{font-size:22px}.sc-footer{padding:13px 19px 17px}.sc-footer .actions{justify-content:stretch}.sc-footer button{flex:1 1 140px}.sc-period{grid-template-columns:1fr 1fr 25px;gap:10px}.sc-period-name{grid-column:1/3;grid-row:2}.sc-period>button{grid-column:3;grid-row:1/3;align-self:center}.sc-period input{padding:9px 5px;font-size:10px}.sc-holidays{grid-template-columns:1fr}.sc-holiday-details{margin-left:0}.sc-section-heading{gap:12px}.sc-section-heading button{padding:8px;font-size:10px}.sc-weekdays{gap:5px}.sc-weekdays span{width:35px}.sc-footer{position:static}}
/* Country and targeted exceptions stay inside the same reviewable calendar draft. */
.sc-holiday-location{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;margin:18px 0 0 27px}.sc-holiday-location label{font-size:10px;color:#7b91ab;margin:0}.sc-holiday-location select,.sc-period-target select{font-size:11px;width:100%;min-width:0;padding:9px;margin-top:6px}.sc-local-holidays{margin:15px 0 0 27px;padding:13px 15px;border:1px solid #e0e8f2;border-radius:8px;background:#f9fbfe}.sc-local-holidays label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-size:10px;line-height:1.7;color:#6d86a3;margin:7px 0}.sc-local-holidays input{width:14px;height:14px;flex:none;margin:2px 0 0;accent-color:#4378bb}.sc-local-holidays p{font-size:9px;line-height:1.7;color:#8b9db1;margin:10px 0 0}.sc-period-target{grid-column:1/4;display:grid;grid-template-columns:190px minmax(0,1fr);gap:9px 13px;min-width:0}.sc-period-target .sc-scope-hint{grid-column:1/-1;font-size:9px;line-height:1.8;color:#8a9db5;margin:0}.sc-task-target{min-width:0;grid-column:2;grid-row:1/3}.sc-task-options{max-height:180px;overflow:auto;border:1px solid #e0e8f2;border-radius:7px;margin-top:8px;padding:4px 10px;background:#fbfcfe}.sc-task-options>label{display:flex!important;flex-direction:row;align-items:flex-start;gap:8px;font-size:10px;line-height:1.7;padding:8px 0;border-bottom:1px solid #e9eef5;color:#667f9d}.sc-task-options>label:last-child{border:0}.sc-task-options>label[hidden]{display:none!important}.sc-task-options input{width:14px;height:14px;flex:none;margin:2px 0 0;accent-color:#4378bb}.sc-task-options small{font-size:9px;font-weight:400;display:block;color:#9aa9bb}.sc-task-options>p{padding:10px 0;font-size:10px;line-height:1.7;color:#99a7b9}.sc-missing-task{color:#9a8067!important}.schedule-calendar-company{margin:16px 0;font-size:11px;color:#7b91ab}.schedule-calendar-company>span{font-size:10px;color:#9aa8b8;font-weight:400}.schedule-calendar-company small{font-size:10px;font-weight:400;line-height:1.8;color:#8c9db1}.schedule-scoped-band{position:absolute;top:0;bottom:0;pointer-events:none;background:repeating-linear-gradient(135deg,#e9e0f078 0,#e9e0f078 5px,#eee8f34d 5px,#eee8f34d 10px);border-left:1px solid #cbb7d54d;border-right:1px solid #cbb7d54d}.sc-period>button{grid-column:4;grid-row:1}
@media(max-width:650px){.sc-holiday-location{grid-template-columns:1fr;margin-left:0;gap:13px}.sc-local-holidays{margin-left:0}.sc-period-target{grid-column:1/3;grid-template-columns:1fr;grid-row:3}.sc-task-target{grid-column:1;grid-row:auto}.sc-period>button{grid-column:3;grid-row:1/4}.sc-period-target .sc-scope-hint{grid-column:1}.sc-period-target select{padding:9px 5px}.sc-task-options{max-height:190px}}

.schedule-legend-scoped{display:inline-block;width:13px;height:8px;border:1px solid #cbb7d5;background:repeating-linear-gradient(135deg,#ddcce8 0,#ddcce8 2px,#f3edf7 2px,#f3edf7 4px)}.sc-task-options>label>span{min-width:0;overflow-wrap:anywhere}
