:root{
  color-scheme:light;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.45;
  --border:#d7dce1;
  --text:#1c2733;
  --muted:#607080;
  --bg:#f5f7f9;
  --panel:#fff;
  --focus:#005fcc;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text)}
.hidden{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.test-banner{padding:.75rem 1rem;text-align:center;font-weight:750;background:#ffe7a6;border-bottom:1px solid #d9a623}
.page-header{max-width:1100px;margin:0 auto;padding:1.5rem 1rem 1rem;display:flex;gap:1rem;align-items:flex-start;justify-content:space-between}
.page-header h1{margin:0 0 .25rem;font-size:clamp(1.7rem,4vw,2.4rem)}
.page-header p{margin:0;color:var(--muted)}
.language-box select{min-width:150px}
.shell{max-width:1100px;margin:0 auto;padding:0 1rem 3rem}
.authority-notice,.translation-notice,.warning,.info,.validation-box,.submit-status{border:1px solid var(--border);border-radius:10px;padding:1rem;background:var(--panel);margin-bottom:1rem}
.authority-notice{border-left:5px solid #b36b00}
.authority-notice strong{display:block;margin-bottom:.25rem}
.authority-notice a{display:inline-block;margin-top:.45rem}
.translation-notice{font-size:.93rem;background:#f0f5fb}
.warning{background:#fff5dd}
.info{background:#f3f7fb}
.validation-box{border-color:#b52828;background:#fff1f1;color:#7a1717}
.submit-status{background:#eef8ef}
.steps{display:flex;gap:.45rem;overflow-x:auto;padding:.25rem 0 1rem}
.step-chip{border:1px solid var(--border);background:#fff;border-radius:999px;padding:.55rem .8rem;white-space:nowrap;font-size:.9rem}
.step-chip.active{font-weight:700;border-color:#111}
.form-step{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:1.25rem}
.form-step h2{margin-top:0}
.grid{display:grid;gap:1rem}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wide{grid-column:1/-1}
label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}
input,select,textarea,button{font:inherit}
input,select,textarea{width:100%;border:1px solid #aeb8c2;border-radius:8px;padding:.68rem;background:#fff;color:inherit}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus,button:focus{outline:3px solid color-mix(in srgb,var(--focus) 35%,transparent);outline-offset:2px}
.card{border:1px solid var(--border);border-radius:12px;padding:1rem;margin:0 0 1rem}
.card legend{font-weight:750;padding:0 .4rem}
.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
button{border-radius:9px;border:1px solid transparent;padding:.72rem 1rem;cursor:pointer}
button.primary{background:#17212b;color:#fff}
button.secondary{background:#fff;border-color:#aeb8c2;color:#17212b}
button.link-button{padding:.25rem;background:transparent;text-decoration:underline}
.actions{display:flex;gap:.7rem;justify-content:flex-end;flex-wrap:wrap;margin-top:1rem}
.muted{color:var(--muted)}
.care-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem;margin:1rem 0 1.5rem}
.day-card{border:1px solid var(--border);border-radius:10px;padding:.75rem}
.day-card label{font-weight:650}
.edge-grid{overflow-x:auto}
.edge-table{width:100%;border-collapse:collapse}
.edge-table th,.edge-table td{border-bottom:1px solid var(--border);padding:.6rem;text-align:center}
.edge-table th:first-child,.edge-table td:first-child{text-align:left}
.edge-table input{width:auto}
.holiday-card{border:1px solid var(--border);border-radius:12px;padding:1rem;margin-bottom:1rem}
.holiday-options{display:flex;gap:1rem;flex-wrap:wrap;align-items:end}
.holiday-options label.checkbox{flex-direction:row;align-items:center;font-weight:500}
.holiday-options input[type=checkbox]{width:auto}
.single-day-list{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}
.single-day-entry{display:flex;gap:.3rem;align-items:center}
.facts{display:grid;gap:.5rem}
.facts div{display:grid;grid-template-columns:150px 1fr;gap:.75rem}
.facts dt{font-weight:700}
.facts dd{margin:0}
.document-list{display:grid;gap:.75rem;margin:1rem 0}
.document-item{border:1px solid var(--border);border-radius:10px;padding:.75rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.document-item .missing{color:#8a5513}
.confirm-list{display:grid;gap:.8rem;margin-bottom:1.25rem}
.confirm-list label{flex-direction:row;align-items:flex-start;font-weight:500}
.confirm-list input{width:auto;margin-top:.2rem}
.summary-box{display:grid;gap:1rem}
.summary-section{border:1px solid var(--border);border-radius:10px;padding:1rem}
.summary-section h3{margin:.1rem 0 .7rem}
.summary-section dl{display:grid;grid-template-columns:minmax(120px,220px) 1fr;gap:.35rem .8rem;margin:0}
.summary-section dt{font-weight:700}
.summary-section dd{margin:0;overflow-wrap:anywhere}
.fatal{padding:1rem;background:#7a1717;color:#fff;font-weight:700}
[dir=rtl] .authority-notice{border-left:1px solid var(--border);border-right:5px solid #b36b00}
[dir=rtl] .facts div,[dir=rtl] .summary-section dl{direction:rtl}
@media(max-width:760px){
  .page-header{flex-direction:column}
  .cols-2{grid-template-columns:1fr}
  .care-grid{grid-template-columns:1fr}
  .facts div{grid-template-columns:1fr}
  .summary-section dl{grid-template-columns:1fr}
  .actions{justify-content:stretch}
  .actions button{flex:1}
}

.header-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.help-link{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .8rem;border:1px solid #aeb8c2;border-radius:9px;background:#fff;color:#17212b;text-decoration:none;font-weight:700}
.help-link:hover{text-decoration:none;background:#f5f7f8}
.help-link:focus{outline:3px solid color-mix(in srgb,var(--focus) 35%,transparent);outline-offset:2px}
@media(max-width:700px){.header-actions{width:100%;justify-content:space-between}.help-link{order:2}}


/* CalendarHub published care closures - 20260829-closures100 */
.closure-overview{border:2px solid #b52828;border-radius:12px;background:#fff1f1;padding:1rem;margin:0 0 1.25rem}
.closure-overview h3{margin:.05rem 0 .4rem;color:#7a1717}
.closure-overview-intro{margin:.2rem 0 .75rem}
.closure-overview-list{display:grid;gap:.45rem}
.closure-overview-item{display:grid;grid-template-columns:minmax(120px,160px) 1fr;gap:.75rem;align-items:start;padding:.5rem .65rem;border-radius:8px;background:#fff}
.closure-no-care-label{color:#7a1717}
.holiday-official-range{margin:-.35rem 0 .8rem;color:var(--muted);font-weight:650}
.holiday-closure-list{border-left:4px solid #b52828;background:#fff5f5;border-radius:8px;padding:.65rem .8rem;margin:.5rem 0 .9rem}
.holiday-closure-title{display:block;color:#7a1717;margin-bottom:.35rem}
.holiday-closure-item{padding:.18rem 0}
.holiday-weeks-closure-hint{font-size:.92rem;margin:.65rem 0}
.single-day:invalid{border-color:#b52828}
@media(max-width:760px){.closure-overview-item{grid-template-columns:1fr;gap:.15rem}}


/* Exact holiday week selection - 20260909-holidayweeks100 */
.holiday-week-section{margin:.8rem 0 0}
.holiday-week-title{display:block;margin-bottom:.55rem}
.holiday-week-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:.5rem}
.holiday-week-choice-label{display:flex;flex-direction:row;align-items:flex-start;gap:.55rem;border:1px solid var(--border);border-radius:9px;padding:.6rem .7rem;font-weight:600;background:#fff}
.holiday-week-choice-label input{width:auto;margin-top:.18rem}
.holiday-week-choice-label.blocked{opacity:.68;background:#f4f4f4}
.holiday-week-choice-label:not(.blocked):has(input:checked){border-color:#28734f;background:#eef9f3}
