/* Public appointments: one workspace, with optional detail and a visible total. */
.cinema-public:has(main[data-screen="rendez-vous"]) { grid-template-rows: 76px minmax(0, 1fr) 38px; }
.cinema-public:has(main[data-screen="rendez-vous"]) .header { grid-template-rows: 76px; }
.cinema-public:has(main[data-screen="rendez-vous"]) .header-profile-nav { display: none; }
.booking-workspace {
  height: 100%; overflow: auto; overscroll-behavior: contain;
  padding: clamp(20px, 3vh, 36px) var(--pad) 0;
  background: #0c1016; color: #f6f7fa;
  scrollbar-gutter: stable;
}
.booking-heading { max-width: 1120px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.booking-heading h1 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.045em; margin: 8px 0; }
.booking-heading p { color: #bec8d6; font-size: 14px; line-height: 1.5; }
.booking-heading .back { color: #bec8d6; padding: 8px 0; min-height: 40px; font-size: 12px; }
.booking-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(320px, 1.2fr); gap: clamp(28px, 5vw, 72px); max-width: 1120px; margin: auto; }
.booking-settings, .booking-schedule { min-width: 0; }
.booking-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; gap: 0 12px; }
.booking-settings > * { grid-column: 1 / -1; }
.booking-settings > .booking-field:nth-child(-n+2) { grid-column: auto; }
.booking-workspace .booking-field { display: block; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.booking-field > span, .booking-field legend { display: block; margin-bottom: 8px; padding: 0; color: #bdc9da; font-size: 12px; }
.booking-field > strong { display: block; font-size: 20px; color: #fff; }
.booking-options { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-options:not(.segmented) button { flex: 1; min-height: 50px; padding: 10px 12px; border: 1px solid #455267; border-radius: 10px; font-size: 20px; white-space: nowrap; }
.booking-options:not(.segmented) button[aria-pressed=true] { background: #1769d8; color: #fff; border-color: #80b7ff; }
.booking-workspace .booking-notice { color: #b5c4d9; font-size: 12px; line-height: 1.5; margin: 8px 0 16px; }
.booking-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.booking-actions h2 { margin: 0; }
.booking-lessons { list-style: none; padding: 0; margin: 0; }
.booking-workspace label, .booking-workspace .section-label { display: block; color: #bdc9da; font-size: 12px; margin: 0 0 8px; }
.booking-workspace input, .booking-workspace select {
  width: 100%; min-height: 46px; max-width: 100%; border: 1px solid #455267;
  background: #171e28; color: #fff; border-radius: 10px; padding: 10px 12px; font: inherit;
}
.booking-workspace select { text-overflow: ellipsis; }
.booking-workspace .month-row { display: block; margin-bottom: 18px; }
.booking-workspace .month-row select { min-width: 0; }
.booking-workspace .segmented { width: 100%; margin-bottom: 0; flex-wrap: nowrap; }
.booking-workspace .segmented button { flex: 1; min-height: 44px; padding: 9px 10px; font-size: 13px; }
.booking-workspace .segmented button[aria-pressed=true],
.booking-workspace .volume-grid button[aria-pressed=true] { color: #fff; background: #1769d8; border-color: #80b7ff; }
.booking-workspace .volume-grid { gap: 8px; }
.booking-workspace .volume-grid button { min-height: 50px; padding: 10px 0; font-size: 23px; }
.booking-workspace .volume-grid span { font-size: 13px; }
.booking-workspace h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 14px; }
.booking-workspace .availability { gap: 12px; margin: 12px 0; }
.booking-workspace .availability p, .booking-workspace .availability button { font-size: 12px; }
.booking-workspace .availability button { min-height: 44px; padding: 8px; }
.booking-workspace .lesson { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; padding: 18px 0; }
.booking-workspace .lesson .day { color: #fff; font-size: 28px; }
.booking-workspace .lesson .day span { color: #b5c4d9; font-size: 11px; }
.booking-workspace .lesson strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.booking-workspace .lesson p { color: #b5c4d9; font-size: 12px; line-height: 1.5; }
.booking-workspace .lesson button { min-width: 44px; min-height: 44px; color: #c1dcff; font-size: 12px; }
.booking-workspace .help-line, .booking-workspace .trust { color: #b0bfd3; font-size: 12px; line-height: 1.55; }
.booking-workspace .service-message:empty { display: none; }
.booking-workspace .service-message { color: #c5d8f3; font-size: 13px; line-height: 1.5; padding: 12px 0; }
.booking-workspace .service-message.error { color: #ffb7b7; }
.booking-workspace .text-button { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.booking-more { margin-top: 20px; border-top: 1px solid #ffffff26; }
.booking-more summary { cursor: pointer; min-height: 48px; padding: 16px 0; color: #c1dcff; font-size: 13px; }
.booking-more > :not(summary) { margin-bottom: 16px; }
.booking-more p { color: #b7c6d9; font-size: 13px; line-height: 1.6; }
.booking-more ol { padding-left: 18px; font-size: 12px; line-height: 1.9; color: #bdc9da; }
.booking-more .exam-location-details { margin: 12px 0; }
.booking-summary {
  position: sticky; bottom: 0; z-index: 3; max-width: 1120px; margin: 28px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0 max(18px, env(safe-area-inset-bottom));
  background: #0c1016f5; border-top: 1px solid #ffffff35;
  box-shadow: 0 -12px 24px #0c1016d9;
}
.booking-summary strong { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
.booking-total { flex-shrink: 0; }
.booking-total > span { font-size: 12px; color: #bdc9da; }
.booking-confirm { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; max-width: 580px; }
.booking-confirm .service-message { grid-column: 1 / -1; padding: 0; }
.booking-confirm .booking-notice { margin: 0; max-width: 300px; }
.booking-summary small, .booking-summary p { display: block; color: #bdc9da; font-size: 11px; line-height: 1.5; margin-top: 4px; }
.booking-summary .primary { background: #1769d8; color: #fff; min-height: 50px; padding: 14px 28px; border-radius: 12px; box-shadow: none; }
.booking-summary .primary:hover { background: #2177ec; }
.booking-summary .primary:disabled { opacity: .5; }
@media (min-width: 761px) and (max-height: 800px) {
  .booking-workspace { padding-top: 18px; }
  .booking-heading { margin-bottom: 18px; }
  .booking-heading h1 { font-size: 32px; margin: 6px 0; }
  .booking-workspace .booking-field { margin-bottom: 12px; }
  .booking-workspace .booking-notice { margin: 6px 0 12px; }
  .booking-workspace .lesson { padding: 12px 0; }
  .booking-more { margin-top: 10px; }
  .booking-summary { margin-top: 12px; padding-top: 14px; padding-bottom: 14px; }
  .booking-confirm .booking-notice { margin: 0; }
}
@media (max-width: 760px) {
  .cinema-public:has(main[data-screen="rendez-vous"]) { grid-template-rows: 108px minmax(0, 1fr) auto; }
  .cinema-public:has(main[data-screen="rendez-vous"]) .header { grid-template-rows: 52px 56px; }
  .booking-workspace { padding: 20px 18px 0; }
  .booking-heading { margin-bottom: 18px; }
  .booking-heading { align-items: flex-start; }
  .booking-heading > .text-button { max-width: 90px; text-align: right; line-height: 1.5; }
  .booking-heading h1 { font-size: 26px; }
  .booking-heading .eyebrow { display: none; }
  .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .booking-workspace .booking-field { margin-bottom: 12px; }
  .booking-field > strong { font-size: 17px; }
  .booking-field input, .booking-field select { font-size: 12px; padding-inline: 10px; }
  .booking-workspace .booking-notice { margin: 6px 0 12px; }
  .booking-workspace .lesson { gap: 10px; grid-template-columns: 43px minmax(0, 1fr) auto; }
  .booking-workspace .lesson strong { font-size: 17px; }
  .booking-summary { gap: 12px; margin-top: 22px; padding-top: 14px; }
  .booking-summary strong { font-size: 24px; }
  .booking-total > span { max-width: 145px; display: block; font-size: 11px; }
  .booking-confirm { display: flex; flex-direction: column; align-items: stretch; max-width: 58%; gap: 6px; }
  .booking-confirm .booking-notice { font-size: 10px; }
  .booking-summary .primary { min-height: 48px; padding: 12px 16px; font-size: 13px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-workspace { scroll-behavior: auto; }
}

/* Public screens only. render() applies the route default or the visitor's
   remembered appearance; private workspaces are outside this theme switch. */
body.cinema-public[data-public-theme="light"] {
  color-scheme: light;
  --bg: #f8f9fb;
  --text: #19212d;
  --muted: #526174;
  --line: #d5dde7;
  --blue: #075ec8;
  --public-surface: #fff;
  --public-control: #eef2f7;
  --public-control-border: #8492a5;
  --public-selection: #eaf2ff;
  background: var(--bg);
  color: var(--text);
}
body.cinema-public[data-public-theme="light"] .header {
  background: #f8f9fbf5;
  border-bottom-color: var(--line);
}
body.cinema-public[data-public-theme="light"] .header > .header-profile-nav { border-top-color: var(--line); }
body.cinema-public[data-public-theme="light"] :is(.brand span, .header nav, .header nav a, .header nav a svg, .footer, .footer a, .footer button) { color: var(--muted); }
body.cinema-public[data-public-theme="light"] .header nav a:is(:hover, [aria-current="page"]),
body.cinema-public[data-public-theme="light"] .header nav a[aria-current="page"] svg { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .header > .header-profile-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .footer { border-top-color: var(--line); }
body.cinema-public[data-public-theme="light"] .account { background: var(--public-surface); border-color: var(--public-control-border); color: var(--text); }

body.cinema-public[data-public-theme="light"] :is(.flow-bottom, .booking-workspace) { background: var(--bg); color: var(--text); }
body.cinema-public[data-public-theme="light"] .booking-summary {
  background: #f8f9fbf5;
  border-top-color: var(--line);
  box-shadow: 0 -12px 24px #f8f9fbe6;
}
body.cinema-public[data-public-theme="light"] :is(
  .intro > p, .section-label, .eyebrow, .choice small, .help-line,
  .flow-bottom .back, .flow-bottom .summary, .month-row label,
  .offering p, .price small, .benefits, .programme-list li > span,
  .programme-list p, .programme-list b, .pager, .meeting p,
  .lesson .day span, .lesson p, .availability p, .recap-list dt,
  .recap-list dd small, .recap-total small, .trust, .checkout-note,
  .dates-toolbar, .available-date-day small, .available-date-copy small,
  .available-date-copy > span, .dates-empty, .exam-location-details dt,
  .desired-exam-locations dd span, .desired-exam-locations dd small,
  .booking-heading p, .booking-heading .back, .booking-field > span,
  .booking-field legend, .booking-workspace label, .booking-notice,
  .booking-more p, .booking-more ol, .booking-total > span,
  .booking-summary small, .booking-summary p, .service-message,
  .advantage-highlight p, .advantage-item small, .rate-caption,
  .role-benefit p, .benefit-more, .profile-guide-detail .guide-proof
) { color: var(--muted); }
body.cinema-public[data-public-theme="light"] :is(
  .flow-bottom .summary strong, .choice .num, .booking-field > strong,
  .lesson .day, .available-date-day, .exam-location-details dd,
  .recap-list .recap-exam-centre, .advantage-item strong,
  .rate-caption strong, .team-portraits figcaption, .profile-guide-detail li strong
) { color: var(--text); }
body.cinema-public[data-public-theme="light"] :is(
  .text-button, .help-line button, .availability button, .lesson button,
  .booking-more summary, .available-date-next, .benefit-check,
  .meeting > span, .energy-kicker, .advantage-page .intro > .energy-kicker
) { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .benefits li::before,
body.cinema-public[data-public-theme="light"] .profile-guide-detail li::before { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .intro-photo small { color: #fff; }

body.cinema-public[data-public-theme="light"] .primary {
  color: #fff;
  background: #0967d8;
  box-shadow: none;
}
body.cinema-public[data-public-theme="light"] .primary:hover:not(:disabled) { background: #0759bd; }
body.cinema-public[data-public-theme="light"] .primary:active:not(:disabled) { background: #064da5; }
body.cinema-public[data-public-theme="light"] .primary:disabled { color: #566376; background: #e1e7ee; opacity: 1; }
body.cinema-public[data-public-theme="light"] .secondary {
  color: var(--blue);
  background: var(--public-surface);
  border-color: var(--public-control-border);
}
body.cinema-public[data-public-theme="light"] .secondary:hover { background: var(--public-selection); }
body.cinema-public[data-public-theme="light"] :is(.text-button, .flow-bottom .back, .pager button, .modal-days button) { min-height: 44px; }
body.cinema-public[data-public-theme="light"] .pager button { min-width: 44px; }
body.cinema-public[data-public-theme="light"] :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

body.cinema-public[data-public-theme="light"] .progress a { color: var(--muted); }
body.cinema-public[data-public-theme="light"] .progress a .dot { border-color: var(--public-control-border); }
body.cinema-public[data-public-theme="light"] .progress a:is(.active, .done) { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .progress a.active .dot { background: var(--blue); color: #fff; border-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .progress a.done .dot { color: var(--blue); border-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .progress .step-count { color: var(--muted); }
body.cinema-public[data-public-theme="light"] .segmented { background: var(--public-control); border-color: var(--line); }
body.cinema-public[data-public-theme="light"] .segmented button { color: var(--muted); min-height: 44px; }
body.cinema-public[data-public-theme="light"] :is(.choice, .volume-grid button, .booking-options:not(.segmented) button, .lesson button, .pager button, .modal-days button) {
  background: var(--public-surface);
  color: var(--text);
  border-color: var(--public-control-border);
}
body.cinema-public[data-public-theme="light"] :is(.segmented button, .volume-grid button, .booking-options button, .modal-days button)[aria-pressed="true"] {
  background: #0967d8;
  color: #fff;
  border-color: #0967d8;
  box-shadow: none;
}
body.cinema-public[data-public-theme="light"] .choice:hover:not(:disabled) { background: #f1f5fc; border-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .choice[aria-pressed="true"] { background: var(--public-selection); border-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .choice .radio { border-color: var(--public-control-border); }
body.cinema-public[data-public-theme="light"] .choice[aria-pressed="true"] .radio { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
body.cinema-public[data-public-theme="light"] :is(input:not([type="checkbox"]):not([type="radio"]), select) {
  color-scheme: light;
  background: var(--public-surface);
  color: var(--text);
  border-color: var(--public-control-border);
  min-height: 46px;
}
body.cinema-public[data-public-theme="light"] input::placeholder { color: #667387; opacity: 1; }
body.cinema-public[data-public-theme="light"] :is(.booking-more, .advantage-item, .desired-exam-locations, .desired-exam-locations div + div) { border-color: var(--line); }
body.cinema-public[data-public-theme="light"] .desired-exam-locations { background: transparent; }
body.cinema-public[data-public-theme="light"] .available-date:hover :is(.available-date-copy strong, .available-date-next),
body.cinema-public[data-public-theme="light"] .advantage-item:hover :is(strong, .benefit-more) { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .advantage-nav a { color: var(--muted); }
body.cinema-public[data-public-theme="light"] .advantage-nav a:is(:hover, [aria-current="page"]) { color: var(--blue); background: var(--public-selection); border-color: var(--line); box-shadow: none; }

/* Dialogs belong to the currently displayed public screen. */
body.cinema-public[data-public-theme="light"] dialog { background: var(--public-surface); color: var(--text); border-color: var(--line); box-shadow: 0 24px 100px #10284833; }
body.cinema-public[data-public-theme="light"] dialog::backdrop { background: #14203966; }
body.cinema-public[data-public-theme="light"] dialog :is(p, ul, label) { color: var(--muted); }
body.cinema-public[data-public-theme="light"] :is(.close, .guide-dismiss) { color: var(--muted); background: var(--public-control); width: 44px; height: 44px; }
body.cinema-public[data-public-theme="light"] :is(.close, .guide-dismiss):hover { background: #e2e9f3; color: var(--text); }
body.cinema-public[data-public-theme="light"] .profile-guide { background: #fffffff5; color: var(--text); border-color: var(--line); box-shadow: 0 16px 40px #1a35531a; }
body.cinema-public[data-public-theme="light"] .profile-guide .eyebrow { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .profile-guide p { color: var(--text); }
body.cinema-public[data-public-theme="light"] .quiz-choice { border-color: var(--public-control-border); }
body.cinema-public[data-public-theme="light"] .quiz-choice.correct { color: #165f3e; background: #e8f5ed; border-color: #26734c; }
body.cinema-public[data-public-theme="light"] .quiz-result { color: #165f3e; }
body.cinema-public[data-public-theme="light"] :is(.service-message.error, [role="alert"]),
body.cinema-public[data-public-theme="light"] :is(.booking-workspace, .flow, dialog) :is(.service-message.error, [role="alert"]) { color: #b4232e; }
body.cinema-public[data-public-theme="light"] .network-status:not([hidden]) { color: #9c202a; background: #fff0f1; border-bottom: 1px solid #d58d95; }

/* Keep the consent-driven map and its textual alternative readable. */
body.cinema-public[data-public-theme="light"] .esr-exam-map { color: var(--text); --exam-map-line: var(--line); --exam-map-blue: var(--blue); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-stage { background: #eef3f9; }
body.cinema-public[data-public-theme="light"] .esr-exam-map :is(p, small, .esr-exam-map-kicker, .esr-exam-map-index, .esr-exam-map-sources li) { color: var(--muted) !important; }
body.cinema-public[data-public-theme="light"] .esr-exam-map :is(.esr-exam-map-compass, .esr-exam-map-sources a, .esr-exam-map-sources summary) { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-purpose strong { color: var(--text); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-consent button { color: #fff; background: #0967d8; border-color: #0967d8; min-height: 44px; }
body.cinema-public[data-public-theme="light"] .esr-exam-map-itinerary li button { color: var(--muted); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-itinerary li button[aria-pressed="true"] { color: var(--blue); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-itinerary li button[aria-pressed="true"] .esr-exam-map-index { color: var(--blue) !important; border-left-color: var(--blue); }
body.cinema-public[data-public-theme="light"] .esr-exam-map-unavailable { color: var(--muted); }
@media (min-width: 761px) and (max-height: 780px) {
  /* Centring an overflowing intro moves its first line above the stage.
     Start below the existing padding and scroll the complete content instead. */
  body.cinema-public[data-public-theme="light"] .advantage-page .stage { align-items: start; overflow-y: auto; }
  body.cinema-public[data-public-theme="light"] .advantage-page .intro { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body.cinema-public[data-public-theme="light"] :is(input:not([type="checkbox"]):not([type="radio"]), select) { font-size: 16px; }
  body.cinema-public[data-public-theme="light"] .flow-bottom :is(.primary, .secondary) { white-space: normal; text-align: center; }
}
@media (forced-colors: active) {
  body.cinema-public[data-public-theme="light"] { --bg: Canvas; --public-surface: Canvas; --public-control: Canvas; --text: CanvasText; --muted: CanvasText; --line: CanvasText; --public-control-border: ButtonText; --blue: LinkText; }
  body.cinema-public[data-public-theme="light"] :is(button, a, input, select, summary):focus-visible { outline-color: Highlight; }
}

/* A single appearance control for the cinema storefront. */
body.cinema-public[data-public-theme="dark"] {
  color-scheme: dark;
  --bg: #090b0f;
  --text: #f6f7fa;
  --muted: #a9afb9;
  --line: #ffffff24;
  --blue: #c0d7ff;
  --public-surface: #171d27;
  --public-control: #ffffff0c;
  --public-control-border: #66768c;
  background: var(--bg);
  color: var(--text);
}
body.cinema-public .header {
  grid-template-columns: auto minmax(0, 1fr) auto 44px;
  column-gap: clamp(12px, 2vw, 30px);
}
body.cinema-public .header > .appearance-toggle {
  grid-column: 4;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--public-control-border, #66768c);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
}
body.cinema-public .appearance-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.cinema-public .appearance-toggle:hover { background: var(--public-control, #ffffff0c); }
body.cinema-public[data-public-screen="accueil"] { height: auto; min-height: 100svh; }
body.cinema-public[data-public-screen="accueil"] .header { grid-template-rows: 76px; }
body.cinema-public[data-public-screen="accueil"] .header > .header-profile-nav { display: none; }

/* The entire photo width stays visible. Cropping from the sides would remove
   faces in the portrait source; only the lower foreground may leave the hero. */
body.cinema-public .home-minimal {
  --home-ink: #fff;
  --home-secondary: #e0e8f5;
  position: relative;
  height: 100%;
  min-height: max(460px, calc(100svh - 114px));
  overflow: hidden;
  background: #0a0e22;
}
body.cinema-public .home-minimal > picture { inset: 0; overflow: hidden; }
body.cinema-public .home-minimal > picture > img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center top;
}
body.cinema-public .home-minimal::after { display: none; }
body.cinema-public .home-minimal .home-content {
  position: relative;
  isolation: isolate;
  width: min(60%, 820px);
  max-width: none;
  height: auto;
  min-height: max(460px, calc(100svh - 114px));
  padding: clamp(200px, 22vw, 380px) var(--pad) 28px;
  justify-content: flex-end;
  color: var(--home-ink);
}
body.cinema-public .home-minimal .home-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto -70px 0 0;
  height: min(100%, 430px);
  background: radial-gradient(ellipse at 20% 75%, #080c12e8 0%, #080c12b3 40%, #080c1200 75%);
}
body.cinema-public .home-minimal h1 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 76px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.05em;
  color: var(--home-ink);
}
body.cinema-public .home-minimal h1 :is(time, span) { color: inherit; }
body.cinema-public .home-minimal .home-exam-schedule { margin-top: 10px; }
body.cinema-public .home-minimal .home-exam-time {
  display: block;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--home-ink);
}
body.cinema-public .home-minimal .home-exam-centre {
  display: block;
  margin-top: 12px;
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body.cinema-public .home-minimal .home-status-brief {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--home-secondary);
}
body.cinema-public .home-minimal .home-arrival-note {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--home-secondary);
}
body.cinema-public .home-minimal .home-stock-status { color: var(--home-secondary); max-width: 420px; }
body.cinema-public .home-minimal .home-stock-status[data-error] { color: #ffb7b7; }
body.cinema-public .home-minimal .actions { display: flex; width: 100%; max-width: 420px; margin: 24px 0 4px; }
body.cinema-public .home-minimal .actions .primary {
  width: 100%;
  min-height: 64px;
  padding: 18px 25px;
  border-radius: 18px;
  font-size: 18px;
  line-height: 1.3;
  white-space: normal;
  box-shadow: none;
}
body.cinema-public .home-minimal .home-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--home-secondary);
}
body.cinema-public .home-minimal .home-details-toggle span { font-size: 20px; }
body.cinema-public .home-minimal .home-details-toggle:hover { color: var(--home-ink); text-decoration: underline; text-underline-offset: 4px; }
body.cinema-public[data-public-theme="light"] .home-minimal { --home-ink: #19212d; --home-secondary: #435267; background: #f8f9fb; }
body.cinema-public[data-public-theme="light"] .home-minimal .home-content::before { background: radial-gradient(ellipse at 20% 75%, #f8f9fb 0%, #f8f9fbf5 40%, #f8f9fb00 75%); }
body.cinema-public[data-public-theme="light"] .home-minimal .home-stock-status[data-error] { color: #a51f2b; }
body.cinema-public[data-public-theme="light"] .home-minimal .home-content .home-details-toggle { color: var(--home-secondary); }

/* Details stay a normal accessible dialog, with the same choices and evidence. */
body.cinema-public .home-details { min-width: 0; }
body.cinema-public .home-detail-links { display: grid; gap: 2px; margin: 22px 0; }
body.cinema-public .home-detail-links .text-button { min-height: 44px; text-align: left; padding-block: 8px; }
body.cinema-public .home-details .home-other-slots { width: 100%; margin-top: 20px; }
body.cinema-public .home-details .home-other-slot { min-height: 56px; }
body.cinema-public .home-details .esr-trust-strip { margin-top: 20px; }

/* Open the whole image, rather than zoom-cropping people into the form layout. */
body.cinema-public .flow .intro .intro-photo {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  cursor: zoom-in;
}
body.cinema-public .flow .intro .intro-photo img { width: 100%; height: auto; object-fit: contain; }
body.cinema-public .flow .intro .intro-photo::after { background: linear-gradient(0deg, #080d1480, transparent 36%); }
body.cinema-public .team-portraits .portrait-photo { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
body.cinema-public .team-portraits .portrait-photo:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
body.cinema-public dialog[data-modal="photo"] {
  width: 100vw;
  height: 100svh;
  max-width: 100vw;
  max-height: 100svh;
  margin: 0;
  padding: 64px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}
body.cinema-public .photo-viewer { height: 100%; width: 100%; min-width: 0; }
body.cinema-public dialog[data-modal="photo"] #dialog-content { height: 100%; min-height: 0; }
body.cinema-public .photo-viewer img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
body.cinema-public dialog[data-modal="photo"] .close { width: 44px; height: 44px; top: 10px; right: max(14px, env(safe-area-inset-right)); }

/* Hard-coded colors from the Code and professional pages also follow an
   explicit light choice. The photos and their white captions stay unchanged. */
body.cinema-public[data-public-theme="light"] .code-exam-summary { background: var(--public-surface); border-color: var(--line); }
body.cinema-public[data-public-theme="light"] :is(
  .code-exam-summary p, .code-exam-summary .code-exam-address,
  .code-number span, .code-stats small, .earnings-heading p,
  .earnings-list span, .earnings-list strong small, .earnings-note,
  .rate-unit, .home-centre-choice label, .home-other-slot time,
  .home-details .home-other-slots > p
) { color: var(--muted); }
body.cinema-public[data-public-theme="light"] :is(.code-number, .code-exam-summary .code-exam-date, .home-other-slot strong),
body.cinema-public[data-public-theme="light"] .advantage-page .intro .rate-caption > .energy-rate { color: var(--text); }
body.cinema-public[data-public-theme="light"] :is(.earnings-list b, .home-other-slot > span:last-child) { color: var(--blue); }
body.cinema-public[data-public-theme="light"] :is(.earnings-list li, .home-other-slot) { border-color: var(--line); }
body.cinema-public[data-public-theme="light"] .home-other-slot:hover strong { color: var(--blue); }
/* These supplied logos are white artwork. Keep their original contrast. */
body.cinema-public[data-public-theme="light"] .esr-trust-strip { background: #111722; border-color: #111722; }

@media (min-width: 761px) {
  body.cinema-public .flow .stage:has(.intro-photo) { align-items: start; overflow-y: auto; }
  body.cinema-public .flow .intro:has(.intro-photo) { justify-content: flex-start; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  body.cinema-public .header > .journey-nav { gap: 12px; }
  body.cinema-public .header > .journey-nav a { font-size: 11px; }
}
@media (max-aspect-ratio: 1/1) {
  body.cinema-public .home-minimal .home-content { width: 100%; padding-top: max(230px, 46vw); }
  body.cinema-public .home-minimal .home-content::before { inset-inline: 0; height: 430px; background: linear-gradient(0deg, #0a0e22 0%, #0a0e22f5 45%, #0a0e2200 100%); }
  body.cinema-public[data-public-theme="light"] .home-minimal .home-content::before { background: linear-gradient(0deg, #f8f9fb 0%, #f8f9fbf5 45%, #f8f9fb00 100%); }
}
@media (max-width: 760px) {
  body.cinema-public .header { grid-template-columns: minmax(0, 1fr) auto 44px; column-gap: 12px; }
  body.cinema-public .header > .appearance-toggle { grid-column: 3; }
  body.cinema-public[data-public-screen="accueil"] .header { grid-template-rows: 52px 56px; }
  body.cinema-public .home-minimal { min-height: max(490px, calc(100svh - 164px)); }
  body.cinema-public .home-minimal .home-content { width: 100%; min-height: max(490px, calc(100svh - 164px)); padding: max(205px, 46vw) var(--pad) 18px; }
  body.cinema-public .home-minimal h1 { font-size: clamp(36px, 9.6vw, 58px); line-height: 1.06; }
  body.cinema-public .home-minimal .home-exam-schedule { margin-top: 8px; }
  body.cinema-public .home-minimal .home-exam-time { font-size: 24px; }
  body.cinema-public .home-minimal .home-exam-centre { font-size: clamp(23px, 6.1vw, 32px); margin-top: 9px; }
  body.cinema-public .home-minimal :is(.home-status-brief, .home-arrival-note) { font-size: 12px; }
  body.cinema-public .home-minimal .actions { max-width: 420px; margin-top: 18px; }
  body.cinema-public .home-minimal .actions .primary { min-height: 60px; padding: 16px 18px; font-size: 17px; }
}
@media (forced-colors: active) {
  body.cinema-public .home-minimal { --home-ink: CanvasText; --home-secondary: CanvasText; background: Canvas; }
  body.cinema-public .home-minimal .home-content::before { background: Canvas; }
  body.cinema-public .appearance-toggle { border-color: ButtonText; }
}
