/* Citizen booking form. Every rule stays inside the widget, including theme overrides. */
.cca-appointments { --cca-ap-ink:#203b51; --cca-ap-muted:#607487; --cca-ap-soft:#f2f6fa; container:cca-appointments / inline-size; box-sizing:border-box; position:relative; width:100%; min-width:0; max-width:1080px; margin:var(--cca-ap-margin,36px auto); color:var(--cca-ap-ink); font-family:inherit; font-size:15px; line-height:1.65; }
.cca-appointments *, .cca-appointments *::before, .cca-appointments *::after { box-sizing:border-box; }
.cca-appointments [hidden] { display:none!important; }
.cca-appointments :is(form,fieldset,label,select,input,button) { max-width:100%; min-width:0; }
.cca-appointments :is(p,h2,h3,h4) { overflow-wrap:anywhere; }
.cca-appointments .cca-ap-public-kicker { margin:0 0 12px; color:var(--cca-ap-accent,#005995); font-size:12px; font-weight:600; letter-spacing:.06em; }
.cca-appointments h2 { margin:0; color:var(--cca-ap-ink); font-size:clamp(28px,4.5cqi,44px); font-family:inherit; font-weight:600; letter-spacing:-.045em; line-height:1.15; text-transform:none; }
.cca-appointments .cca-ap-intro { margin:18px 0 32px; color:var(--cca-ap-muted); font-size:16px; line-height:1.75; max-width:54ch; }
.cca-appointments form, .cca-appointments [data-ap-cancellation] { margin:0; padding:0; background:#fff; border:0; box-shadow:none; }
.cca-appointments fieldset { padding:0; margin:0; min-width:0; border:0; }
.cca-appointments h3 { display:flex; align-items:center; gap:12px; margin:0 0 16px; color:var(--cca-ap-ink); font-family:inherit; font-size:19px; font-weight:600; letter-spacing:-.025em; line-height:1.4; text-transform:none; }
.cca-appointments .cca-ap-step-number { display:inline-grid; place-items:center; flex:0 0 32px; height:32px; border-radius:50%; color:var(--cca-ap-accent,#005995); background:#e7f0f7; font-size:11px; font-weight:600; letter-spacing:0; font-variant-numeric:tabular-nums; }
.cca-appointments .cca-ap-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.cca-appointments .cca-ap-full { grid-column:1 / -1; }
.cca-appointments .cca-ap-grid label, .cca-appointments .cca-ap-hours label { display:grid; min-width:0; gap:8px; color:var(--cca-ap-ink); font-size:13px; font-weight:500; }
.cca-appointments :is(.cca-ap-grid,.cca-ap-hours) :is(input,select) { width:100%; height:50px; margin:0; padding:12px 14px; border:1px solid #cbd8e2; border-radius:8px; background:#fff; color:var(--cca-ap-ink); font:inherit; font-size:15px; box-shadow:none; transition:border-color .2s,background .2s; }
.cca-appointments :is(.cca-ap-grid,.cca-ap-hours) :is(input,select):hover:not(:disabled) { border-color:#8cabc2; }
.cca-appointments :is(.cca-ap-grid,.cca-ap-hours) :disabled { background:#f2f5f8; color:#667b8b; opacity:1; }
.cca-appointments a, .cca-appointments a:hover { color:var(--cca-ap-accent,#005995); text-decoration:none!important; border-bottom:0!important; box-shadow:none!important; background-image:none!important; overflow-wrap:anywhere; }
.cca-appointments a:hover { color:#003e68; }
.cca-appointments button { min-height:46px; padding:12px 20px; border:0; border-radius:8px; background:var(--cca-ap-accent,#005995); color:#fff; font:inherit; font-size:14px; font-weight:600; cursor:pointer; box-shadow:none; text-transform:none; transition:background .2s,transform .2s; }
.cca-appointments button:hover:not(:disabled) { background:#004574; }
.cca-appointments button:active:not(:disabled) { transform:translateY(1px); }
.cca-appointments button:disabled { opacity:.5; cursor:wait; }
.cca-appointments :is(input,select,button,a,[tabindex]):focus-visible { outline:3px solid var(--cca-ap-accent,#005995); outline-offset:3px; }
.cca-appointments .cca-ap-service-step { padding:24px; border:0; border-radius:12px; background:var(--cca-ap-soft); }
.cca-appointments .cca-ap-service-step > p { margin:0 0 20px; max-width:60ch; color:var(--cca-ap-muted); font-size:14px; }
.cca-appointments .cca-ap-service-step label > span:not(.cca-ap-select) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.cca-appointments .cca-ap-service-step select { height:54px; font-size:16px; }
.cca-appointments .cca-ap-date-time { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:start; margin-top:32px; }
.cca-appointments .cca-ap-calendar, .cca-appointments .cca-ap-hours { min-width:0; }
.cca-appointments .cca-ap-calendar { padding:0; border:0; background:none; }
.cca-appointments .cca-ap-calendar-nav { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:10px; margin:22px 0 16px; }
.cca-appointments .cca-ap-calendar-nav h4 { margin:0; color:var(--cca-ap-ink); text-align:center; font-family:inherit; font-size:17px; font-weight:600; text-transform:none; }
.cca-appointments .cca-ap-calendar-nav h4::first-letter { text-transform:uppercase; }
.cca-appointments .cca-ap-calendar-nav button { padding:0; min-height:44px; background:transparent; color:var(--cca-ap-ink); font-size:25px; }
.cca-appointments .cca-ap-calendar-nav button:hover:not(:disabled) { background:var(--cca-ap-soft); }
.cca-appointments .cca-ap-calendar-nav button:disabled { opacity:.3; cursor:default; }
.cca-appointments .cca-ap-calendar-week, .cca-appointments .cca-ap-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.cca-appointments .cca-ap-calendar-week { margin-bottom:8px; color:var(--cca-ap-muted); text-align:center; font-size:12px; }
.cca-appointments .cca-ap-calendar-week span { padding:7px 0; }
.cca-appointments .cca-ap-calendar-days button { padding:0; min-height:46px; min-width:0; border:0; border-radius:7px; background:#e7f0f7; color:#005995; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.cca-appointments .cca-ap-calendar-days button:hover:not(:disabled) { background:#d0e3f2; color:#003e68; }
.cca-appointments .cca-ap-calendar-days button:disabled { background:transparent; color:#758392; text-decoration:none; opacity:1; font-weight:400; cursor:default; }
.cca-appointments .cca-ap-calendar-days button[aria-pressed="true"], .cca-appointments .cca-ap-calendar-days button[aria-pressed="true"]:hover:not(:disabled) { background:var(--cca-ap-accent,#005995); color:#fff; box-shadow:none; }
.cca-appointments .cca-ap-calendar-days button[aria-current="date"] { font-weight:750; }
.cca-appointments .cca-ap-calendar-days[aria-busy="true"] { opacity:.5; }
.cca-appointments .cca-ap-calendar-legend { display:flex; flex-wrap:wrap; gap:8px 16px; margin:18px 0 0; color:var(--cca-ap-muted); font-size:11px; }
.cca-appointments .cca-ap-calendar-legend > .cca-ap-legend-item { display:inline-flex; align-items:center; gap:6px; }
.cca-appointments .cca-ap-calendar-legend > .cca-ap-legend-item::before { content:""; width:8px; height:8px; flex:none; border-radius:2px; background:#d0e3f2; }
.cca-appointments .cca-ap-calendar-legend > .cca-ap-legend-item:nth-child(2)::before { background:#dbe1e7; }
.cca-appointments .cca-ap-calendar-legend > .cca-ap-legend-item:nth-child(3)::before { background:var(--cca-ap-accent,#005995); }
.cca-appointments .cca-ap-hours { padding:24px; border:0; border-radius:12px; background:var(--cca-ap-soft); }
.cca-appointments [data-ap-selected-date] { margin:0 0 24px; color:var(--cca-ap-muted); font-size:14px; line-height:1.6; }
.cca-appointments [data-ap-selected-date]::first-letter { text-transform:uppercase; }
.cca-appointments .cca-ap-help { margin:12px 0 0; color:var(--cca-ap-muted); font-size:12px; line-height:1.6; }
.cca-appointments .cca-ap-help:empty { display:none; }
.cca-appointments .cca-ap-service-prompt { grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding:0; background:none; border:0; }
.cca-appointments .cca-ap-service-prompt p { display:grid; gap:3px; margin:0; color:var(--cca-ap-muted); font-size:13px; }
.cca-appointments .cca-ap-service-prompt strong { color:var(--cca-ap-ink); font-weight:500; }
.cca-appointments .cca-ap-service-jump { background:var(--cca-ap-soft); color:var(--cca-ap-accent,#005995); padding:10px 14px; font-size:12px; }
.cca-appointments .cca-ap-service-jump:hover { color:#fff; }
.cca-appointments[data-ap-service-ready="true"] .cca-ap-service-prompt { display:none; }
.cca-appointments .cca-ap-contact { margin-top:36px; padding:28px 0 0; border:0; gap:18px; }
.cca-appointments .cca-ap-contact-title { grid-column:1 / -1; margin:0; }
.cca-appointments .cca-ap-contact-note { margin:-6px 0 4px; color:var(--cca-ap-muted); font-size:13px; }
.cca-appointments .cca-ap-privacy { display:flex; align-items:flex-start; gap:10px; margin:24px 0; color:var(--cca-ap-muted); font-size:13px; line-height:1.6; }
.cca-appointments .cca-ap-privacy input { flex:none; width:18px; height:18px; margin:2px 0 0; accent-color:var(--cca-ap-accent,#005995); }
.cca-appointments [data-ap-submit] { min-width:190px; min-height:50px; padding:14px 26px; }
.cca-appointments [data-ap-result], .cca-appointments [data-ap-cancel-result] { margin:20px 0 0; line-height:1.7; overflow-wrap:anywhere; }
.cca-appointments [data-ap-result]:not(:empty) { padding:20px 24px; border:0; border-radius:10px; background:var(--cca-ap-soft); }
.cca-appointments [data-ap-result]:empty { display:none; }
.cca-appointments [data-ap-cancellation] { padding:28px; border-radius:12px; background:var(--cca-ap-soft); }
.cca-appointments [data-ap-cancellation] h3 { font-size:24px; }
.cca-appointments [data-ap-cancellation] > p { color:var(--cca-ap-muted); }
.cca-appointments :is(.cca-ap-trap,.cca-ap-sr) { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
.cca-appointments .cca-ap-compact { display:none; }
@container cca-appointments (min-width:600px) {
 .cca-appointments .cca-ap-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .cca-appointments .cca-ap-service-step { padding:28px; }
 .cca-appointments .cca-ap-service-step .cca-ap-grid { grid-template-columns:minmax(0,1fr); max-width:650px; }
}
@container cca-appointments (min-width:760px) {
 .cca-appointments .cca-ap-date-time { grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:36px; }
 .cca-appointments .cca-ap-hours { padding:28px; }
}
@container cca-appointments (max-width:480px) {
 .cca-appointments h2 { font-size:28px; }
 .cca-appointments .cca-ap-wide { display:none; }
 .cca-appointments span.cca-ap-compact { display:inline; }
 .cca-appointments .cca-ap-intro { margin:14px 0 24px; font-size:14px; }
 .cca-appointments h3 { gap:9px; font-size:16px; }
 .cca-appointments .cca-ap-step-number { flex-basis:27px; height:27px; font-size:10px; }
 .cca-appointments .cca-ap-service-step { padding:18px; }
 .cca-appointments .cca-ap-service-step > p { font-size:12px; margin-bottom:14px; }
 .cca-appointments .cca-ap-service-step select { font-size:14px; height:48px; }
 .cca-appointments .cca-ap-service-prompt { display:none; }
 .cca-appointments[data-ap-service-ready="false"] .cca-ap-date-time { display:none; }
 .cca-appointments .cca-ap-date-time { margin-top:26px; gap:24px; }
 .cca-appointments .cca-ap-calendar-nav { margin-top:16px; }
 .cca-appointments .cca-ap-calendar-days button { min-height:42px; font-size:13px; }
 .cca-appointments .cca-ap-calendar-week, .cca-appointments .cca-ap-calendar-days { gap:3px; }
 .cca-appointments .cca-ap-calendar-legend { font-size:10px; gap:8px 12px; }
 .cca-appointments[data-ap-has-date="false"] .cca-ap-hours { display:none; }
 .cca-appointments .cca-ap-hours { padding:18px; }
 .cca-appointments[data-ap-has-slot="false"] :is(.cca-ap-contact,.cca-ap-privacy,[data-ap-submit]) { display:none; }
 .cca-appointments .cca-ap-contact { margin-top:26px; padding-top:0; }
 .cca-appointments .cca-ap-contact-note { font-size:12px; }
 .cca-appointments .cca-ap-privacy { font-size:12px; }
 .cca-appointments [data-ap-submit] { width:100%; }
 .cca-appointments .cca-ap-calendar-legend > .cca-ap-legend-selected { display:none; }
 .cca-appointments .cca-ap-calendar[data-ap-calendar-state="ready"] [data-ap-calendar-info] { display:none; }
}
@media (prefers-reduced-motion:reduce) { .cca-appointments * { transition:none!important; } }
