/* Application de rendez-vous : styles communs, mobile d'abord, accessibles. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Identité de chaque structure ---------- */
:root {
  --c: #334155; --c-dark: #1e293b; --on-c: #ffffff;
  --cta: #334155; --cta-dark: #1e293b; --on-cta: #ffffff;
  --sel: #2563eb; --on-sel: #ffffff;
  --accent: #64748b; --soft: #eef1f5; --soft-2: #f8fafc; --bg: #f5f6f8;
  --text: #1f2933; --muted: #4b5563; --line: #d6dbe1;
  --danger: #b42318; --ok: #146c2e; --ok-soft: #e8f5ec;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: var(--font);
  --font-num: var(--font-title);
}
.theme-asso {
  --c: #006064; --c-dark: #004a4d;
  --cta: #c2410c; --cta-dark: #9a3412; --sel: #c2410c;
  --accent: #ff5722; --soft: #e0f2f1; --soft-2: #f3faf9; --bg: #f3f8f8;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-title: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.theme-conseil {
  --c: #0d7a82; --c-dark: #095a60;
  --cta: #0a5f66; --cta-dark: #07464b; --sel: #f0bb3b; --on-sel: #1f2933;
  --accent: #f0bb3b; --soft: #e3f3f4; --soft-2: #f6fafa; --bg: #f4f6f6; --text: #2b2f33;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-title: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.theme-rayoneo {
  --c: #6d28d9; --c-dark: #4c1d95;
  --cta: #6d28d9; --cta-dark: #4c1d95; --sel: #be185d;
  --accent: #db2777; --soft: #f1ebfb; --soft-2: #faf7fe; --bg: #f8f6fc;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.theme-perso { --c: #334155; --c-dark: #1e293b; --cta: #334155; --cta-dark: #1e293b; --accent: #94a3b8; }
.theme-neutre { --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --font-title: "Montserrat", system-ui, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; width: 100%; min-width: 0; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
main.wrap { padding-top: 1.25rem; padding-bottom: 3rem; width: 100%; }
main:focus { outline: none; }
h1, h2, h3, .brand, .btn, .btn-secondary, .btn-danger, .cal-title, .num { font-family: var(--font-title); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: .25rem 0 .6rem; color: var(--c-dark); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 1.75rem 0 .75rem; color: var(--c-dark); font-weight: 700; }
h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; font-weight: 700; }
a { color: var(--c-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--c); }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
abbr[title] { text-decoration: none; }
svg.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Focus très visible, sur fond clair comme sur fond foncé */
:focus-visible { outline: 4px solid #ffbf00; outline-offset: 2px; box-shadow: 0 0 0 6px #111; border-radius: 6px; }
h1:focus, h2:focus, .success:focus, .alert:focus, .confirm-hero:focus { outline: none; box-shadow: none; }
h2:focus-visible { outline: 3px dashed var(--c); outline-offset: 4px; box-shadow: none; }

.skip { position: absolute; left: -999px; top: 0; background: #111; color: #fff; padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

.testbar { margin: 0; background: #fff3cd; color: #5c4400; text-align: center; padding: .35rem 1rem; font-size: 1rem; line-height: 1.4; border-bottom: 1px solid #e0c36a; }

/* ---------- En-tête et pied ---------- */
.site-header { background: var(--c); color: var(--on-c); }
.theme-asso .site-header { border-bottom: 5px solid var(--accent); }
.theme-conseil .site-header { border-bottom: 5px solid var(--accent); }
.theme-rayoneo .site-header { background: linear-gradient(115deg, #4c1d95 0%, #7e1d6f 60%, #b4361a 100%); }
.theme-perso .site-header, .theme-neutre .site-header { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.theme-neutre .site-header { border-bottom: 5px solid #006064; }
.header-inner { display: flex; align-items: center; gap: .9rem; padding-top: .85rem; padding-bottom: .85rem; }
.logo { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; flex: none; }
.brand { font-size: 1.2rem; font-weight: 700; margin: 0; line-height: 1.2; }
.tagline { margin: 0; font-size: 1rem; line-height: 1.35; opacity: .95; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; flex: none; }
.theme-neutre .avatar { background: #006064; }

.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 1.25rem 0 1.75rem; font-size: 1rem; color: var(--muted); }
.site-footer p { margin: .3rem 0; }
.site-footer a { color: var(--c-dark); }

/* ---------- Boutons ---------- */
.btn, .btn-secondary, .btn-danger, .btn-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .65rem 1.25rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; line-height: 1.25; text-align: center;
}
.btn { background: var(--cta); color: var(--on-cta); }
.btn:hover { background: var(--cta-dark); color: var(--on-cta); }
.btn-secondary { background: #fff; color: var(--c-dark); border-color: var(--c); }
.btn-secondary:hover { background: var(--soft); color: var(--c-dark); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-link { background: none; color: var(--c-dark); text-decoration: underline; padding-left: 0; padding-right: 0; min-height: 48px; font-family: var(--font); }
.btn-big { width: 100%; font-size: 1.15rem; min-height: 58px; margin-top: .25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.actions .btn, .actions .btn-secondary { flex: 1 1 14rem; }
button:disabled { opacity: .5; cursor: not-allowed; }

.pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--soft); color: var(--c-dark); border-radius: 999px; padding: .2rem .75rem; font-size: 1rem; font-weight: 700; margin: 0 .3rem .4rem 0; white-space: nowrap; }
.pill-strong { background: var(--c); color: var(--on-c); }

/* ---------- Accueil et pages de structure ---------- */
.cards { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-top: 6px solid var(--c); padding: 1.1rem 1.1rem 1.2rem; }
.card-asso { --c: #006064; --c-dark: #004a4d; --soft: #e0f2f1; }
.card-conseil { --c: #0d7a82; --c-dark: #095a60; --soft: #e3f3f4; }
.card-rayoneo { --c: #6d28d9; --c-dark: #4c1d95; --soft: #f1ebfb; }
.card-perso { --c: #334155; --c-dark: #1e293b; --soft: #eef1f5; }
.card-head { display: flex; align-items: flex-start; gap: .8rem; }
.card { display: flex; flex-direction: column; }
.card .type-list { margin-top: auto; padding-top: 1rem; }
.card-head img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.card-head h2 { margin: 0; font-size: 1.2rem; }
.card-head p { margin: .1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.35; }
.type-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.type-link { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 2px solid var(--c); border-radius: 12px; text-decoration: none; color: var(--text); background: #fff; min-height: 60px; }
.type-link:hover { background: var(--soft); color: var(--text); }
.type-link .t-name { font-weight: 700; display: block; color: var(--c-dark); font-family: var(--font-title); }
.type-link .t-meta { display: block; color: var(--muted); font-size: 1rem; }
.type-link .t-desc { display: block; color: var(--text); font-size: 1rem; margin-top: .25rem; line-height: 1.45; }
.type-link .chev { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.type-list.big .type-link { padding: 1rem 1.1rem; }

/* ---------- Messages ---------- */
.alert, .notice, .success, .welcome { border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1rem 0; }
.alert { background: #fdecea; border-left: 6px solid var(--danger); color: #4a1410; }
.alert p:last-child, .notice p:last-child, .success p:last-child { margin-bottom: 0; }
.alert ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.alert a { color: var(--danger); font-weight: 700; }
.notice { background: #fff8e1; border-left: 6px solid #b7791f; }
.success { background: var(--ok-soft); border-left: 6px solid var(--ok); }
.welcome { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); font-size: 1.125rem; }
.welcome-hello { font-weight: 700; font-size: 1.25rem; margin-bottom: .4rem; font-family: var(--font-title); color: var(--c-dark); }
.welcome p:last-child { margin-bottom: 0; }
.retry-box { text-align: center; padding: .25rem 0 .5rem; }

/* ---------- Page de réservation ---------- */
.book-layout { display: grid; gap: 1rem; }
.summary { padding: 0 .1rem; }
.summary .who { display: none; color: var(--muted); font-size: 1rem; margin: 0 0 .35rem; }
.summary h1 { font-size: 1.6rem; margin-bottom: .5rem; }
.pill, .t-meta, .chosen .muted { font-family: var(--font-title); }
.summary h1 { margin-top: 0; }
.summary .desc { margin: .5rem 0 0; }
.summary .meta { margin: 0; }
.summary .welcome { margin: .9rem 0 0; }

.steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1rem; }
.steps li { flex: 1; display: flex; flex-direction: column; gap: .3rem; font-size: 1rem; color: var(--muted); line-height: 1.3; }
.steps li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--line); }
.steps li.done::before { background: var(--c); }
.steps li[aria-current="step"]::before { background: var(--sel); }
.steps li[aria-current="step"] { color: var(--text); font-weight: 700; }

.step { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1rem 1rem 1.25rem; margin: 0 0 1rem; }
.step > h2 { margin: .1rem 0 .9rem; display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c); color: var(--on-c); font-size: 1.05rem; flex: none; }

/* Premier horaire libre */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; background: var(--soft-2); border: 2px dashed var(--c); border-radius: 12px; padding: .7rem .9rem; margin: 0 0 1rem; }
.quick[hidden] { display: none; }
.quick p { margin: 0; flex: 1 1 12rem; }
.quick .btn-secondary { min-height: 48px; }

/* Calendrier mensuel */
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.cal-title { margin: 0; font-weight: 700; font-size: 1.2rem; }
.cal-btn { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--c); background: #fff; color: var(--c-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-btn:hover:not(:disabled) { background: var(--soft); }
.cal-btn:disabled { border-color: var(--line); color: #9aa1aa; opacity: 1; }
table.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { font-size: 1rem; color: var(--muted); font-weight: 700; padding: .2rem 0; }
.cal td { text-align: center; padding: 0; height: 48px; }
.cal .day { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border-radius: 12px; font-family: var(--font-num); font-variant-numeric: tabular-nums; color: #5b6573; font-size: 1.05rem; position: relative; }
.cal .day.past { color: #8b939d; }
.cal .day.today::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: currentColor; }
.cal button.day { background: var(--c); color: var(--on-c); font-weight: 700; border: 2px solid var(--c); cursor: pointer; font-size: 1.1rem; }
.cal button.day:hover { background: var(--c-dark); border-color: var(--c-dark); }
.cal button.day[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--on-sel); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sel); }
[aria-busy="true"] { opacity: .45; }
.status { min-height: 1.6em; margin: .6rem 0 .3rem; font-weight: 700; }
.status.is-error { background: #fdecea; border-left: 6px solid var(--danger); color: #4a1410; border-radius: 10px; padding: .7rem .9rem; }
.retry-box .hint { margin: .75rem 0 0; }
.legend[hidden] { display: none; }
.legend { color: var(--muted); font-size: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: .45rem; }
.legend-dot { width: 1.15rem; height: 1.15rem; border-radius: 5px; background: var(--c); border: 2px solid var(--c); display: inline-block; }
.legend-dot.sel { background: var(--sel); border-color: var(--sel); }
.legend-dot.off { background: #fff; border-color: var(--line); }

/* Heures */
.day-label { font-size: 1.2rem; font-weight: 700; margin: 0 0 .25rem; font-family: var(--font-title); color: var(--c-dark); }
.day-title { margin: 1rem 0 .5rem; font-size: 1.05rem; color: var(--muted); font-family: var(--font); }
.times { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.slot { width: 100%; min-height: 58px; border-radius: 12px; border: 2px solid var(--c); background: #fff; color: var(--c-dark); font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.2rem; cursor: pointer; }
.slot:hover { background: var(--c); color: var(--on-c); }
.slot[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--on-sel); }
.time-empty { display: none; color: var(--muted); margin: 0; }
#step-time.is-empty .time-empty { display: block; }
#step-time.is-empty .time-content { display: none; }
.fixed-day { margin-bottom: .5rem; }
.fixed-day .day-title { color: var(--c-dark); font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; }

/* Formulaire */
.chosen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; background: var(--soft); border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1.25rem; border-left: 6px solid var(--c); }
.chosen p { margin: 0; }
.chosen .when { font-size: 1.15rem; font-weight: 700; display: block; color: var(--c-dark); font-family: var(--font-title); }
.chosen .btn-secondary { min-height: 48px; padding: .5rem 1rem; }
.field { margin: 0 0 1.15rem; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; margin-bottom: .3rem; }
legend { padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.hint { color: var(--muted); font-size: 1rem; margin: 0 0 .4rem; line-height: 1.45; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 2px solid #6b7684; border-radius: 10px; padding: .7rem .8rem; min-height: 52px;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--c-dark); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #fffafa !important; }
.field-error { color: var(--danger); font-weight: 700; margin: .35rem 0 0; display: flex; gap: .45rem; align-items: flex-start; }
.field-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--danger); color: #fff; font-size: .9rem; flex: none; margin-top: .15rem; }
.choice { display: flex; align-items: flex-start; gap: .7rem; padding: .75rem .85rem; border: 2px solid #c7ced6; border-radius: 12px; margin-bottom: .55rem; background: #fff; }
.choice input { width: 1.5rem; height: 1.5rem; margin-top: .15rem; accent-color: var(--c); flex: none; }
.choice label { font-weight: 700; margin: 0; cursor: pointer; flex: 1; }
.choice label .muted { font-weight: 400; display: block; margin-top: .1rem; font-size: 1rem; line-height: 1.45; }
.choice:has(input:checked) { border-color: var(--c); background: var(--soft); }
.loc-fixed { background: var(--soft-2); border-radius: 12px; padding: .75rem .9rem; margin: 0 0 1.15rem; border: 1px solid var(--line); }
.loc-fixed p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { color: var(--muted); font-size: 1rem; margin: 1rem 0 0; line-height: 1.5; }

/* ---------- Confirmation et gestion ---------- */
.confirm-hero { text-align: center; padding: 1rem .5rem .25rem; }
.confirm-hero .check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.confirm-hero .check svg { width: 40px; height: 40px; }
.confirm-hero.cancelled .check { background: #6b7280; }
.confirm-hero h1 { margin-bottom: .35rem; }
.confirm-hero p { margin: 0 auto .5rem; max-width: 34rem; }
.ticket { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: var(--radius); padding: 1.1rem 1.1rem .5rem; margin: 1.25rem 0; }
.ticket .t-type { font-family: var(--font-title); font-weight: 700; color: var(--c-dark); font-size: 1.05rem; margin: 0 0 .25rem; }
.ticket .t-date { font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; line-height: 1.25; margin: 0; color: var(--text); }
.ticket .t-time { font-size: 1.15rem; margin: .15rem 0 .9rem; }
.ticket dl { margin: 0; border-top: 1px solid var(--line); }
.ticket dl div { padding: .65rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: .1rem; }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt { font-weight: 700; color: var(--muted); font-size: 1rem; }
.ticket dd { margin: 0; word-break: break-word; }
.ticket.is-cancelled .t-date, .ticket.is-cancelled .t-time { text-decoration: line-through; color: var(--muted); }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0 0 1rem; }
.box h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.box p:last-child { margin-bottom: 0; }
.cancel-box { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .25rem; }
.cancel-box summary { cursor: pointer; font-weight: 700; color: var(--danger); min-height: 48px; display: flex; align-items: center; gap: .5rem; }
.cancel-box[open] summary { margin-bottom: .5rem; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 40rem) {
  h1 { font-size: 1.95rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 1.25rem 1.5rem 1.5rem; }
  .ticket { padding: 1.4rem 1.5rem .6rem; }
  .ticket dl div { grid-template-columns: 9rem 1fr; gap: 1rem; }
}
@media (min-width: 64rem) {
  .wrap-book { max-width: 72rem; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-layout { grid-template-columns: 20rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  .summary { position: sticky; top: 1rem; padding: 1.4rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .summary .who { display: block; }
  .summary h1 { font-size: 1.7rem; }
  .picker { max-width: 34rem; }
  .times { grid-template-columns: repeat(2, 1fr); }
  .fixed-list.one-day { display: block; max-width: 34rem; }
  .day-pick { max-width: 34rem; grid-template-columns: 1fr !important; }
  .fixed-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
  .fixed-day { border: 1px solid var(--line); border-radius: 12px; padding: .25rem 1rem 1rem; }
  .fixed-day .times { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .cal button.day, .slot, .btn, .btn-secondary { border: 2px solid ButtonText; }
  .cal button.day[aria-pressed="true"], .slot[aria-pressed="true"] { outline: 3px solid Highlight; }
}
@media print {
  .site-header, .site-footer, .testbar, .actions, .cancel-box, .skip { display: none !important; }
}

.day-pick .slot { text-align: left; padding-left: 1rem; }
.fixed-day[hidden], .day-pick[hidden], .back-fixed[hidden] { display: none !important; }
.back-fixed { margin: .75rem 0 0; }

.banner-band { background: #fff; border-bottom: 1px solid var(--line); }
.banner { display: block; width: 100%; max-width: 920px; height: auto; margin: 0 auto; }
.theme-rayoneo .banner-band { background: #000; border-bottom: 0; }
@media print { .banner-band { display: none; } }
