/* Lamplight, booking: the site's look since October 17, 2026 (the founder's pick). Every rule is scoped to
   html[data-look="lamplight"], which each page sets on its <html> tag; without it the page falls back to styles.css. */

/* Book a session, on top of lamplight/site.css (which maps the site's tokens, and styles the fields, buttons,
   choices' picked state, checkboxes and the price slip's panel). What is only this page's:
   - the steps: a rail of lamp light that fills as the family moves on;
   - the form panel: a raised desk surface, lit from the top right, its parts divided by seams of light;
   - the calendar: open days are lit keys with a glowing dot, the picked day is the lamp itself (amber);
   - the places: picked like the other choices (raised fill, amber edge), not the old paper edge;
   - the price: under the lamp, the total in Caslon Display with the lamp's glow (as the home page's prices);
   - the confirm record and the "Booking received" panel: the booked time and the amount as the lit figures,
     "Save this link" a frosted glass card.
   Same steps, words, checks and messages: nothing here hides, moves or adds anything. */

/* ============================== The steps ============================== */
/* A rail of lamp light: the done and current segments are lit amber, the ones to come a faint brass line */
html[data-look="lamplight"] .booking-wrap .stepper li{color:var(--ll-ink-3);}
html[data-look="lamplight"] .booking-wrap .stepper li::after{height:2px; top:1px; background:rgba(244,182,110,.24);}
html[data-look="lamplight"] .booking-wrap .stepper li.is-done::after,
html[data-look="lamplight"] .booking-wrap .stepper li[aria-current="step"]::after{
  background:linear-gradient(90deg, #C98A4C, var(--ll-amber) 70%, var(--ll-amber-2));
  box-shadow:0 0 10px rgba(255,180,100,.45), 0 0 2px rgba(255,214,160,.6);}
html[data-look="lamplight"] .booking-wrap .stepper li.is-done{color:var(--ll-ink-2);}
html[data-look="lamplight"] .booking-wrap .stepper li.is-done::before{background:var(--ll-amber);}
html[data-look="lamplight"] .booking-wrap .stepper li[aria-current="step"]{color:var(--ll-paper);}
html[data-look="lamplight"] .booking-wrap .stepper li[aria-current="step"] .step-n{color:var(--ll-amber-2);}

/* ============================== The panel ============================== */
/* A raised desk surface, its top edge catching the light, the lamp's pool in its top right corner */
html[data-look="lamplight"] .booking-wrap .panel.card{
  border:0; border-radius:28px;
  background:
    radial-gradient(90% 460px at 100% 0%, rgba(255,190,120,.13), rgba(255,180,110,.04) 52%, transparent 78%),
    linear-gradient(180deg, #2D1315 0, #241012 380px, #1D0B0D 100%);
  box-shadow:inset 0 1px 0 rgba(255,226,186,.28), inset 0 0 0 1px rgba(244,182,110,.13),
    0 2px 3px rgba(4,1,2,.55), 0 30px 64px -34px rgba(4,1,2,.95), 0 50px 120px -60px rgba(244,150,70,.18);}
@media (max-width:720px){ html[data-look="lamplight"] .booking-wrap .panel.card{border-radius:22px;} }
/* The parts of step 1 meet on a seam of light, brightest where the light comes in */
html[data-look="lamplight"] .booking-wrap :is(.when, .pay-row){border-top:0; background:var(--ll-seam-l) top left / 100% 1px no-repeat;}
/* Computers 1200px and wider: the price and the referral code are a column of their own beside the form
   (the booking page's styles), with no seam over them; in high contrast no edge either */
@media (min-width:1200px){
  html[data-look="lamplight"] .booking-wrap #panel-1 > .pay-row{background:none; border-top:0;}
}
html[data-look="lamplight"] .booking-wrap .step-title{font-weight:400;}   /* Caslon Text has one weight, 400 (since November 4, 2026) */
/* Small labels in the form: brass, the dark ground's label colour */
html[data-look="lamplight"] .booking-wrap .time-part{color:var(--ll-brass); font-weight:500;}
html[data-look="lamplight"] .booking-wrap .when-help{color:var(--ll-ink-2);}
/* A busy day's Start time dropdown (November 3, 2026): "Pick a time" reads as a hint until a time is picked (the
   site's hint colour, the same as every ::placeholder), and in the lit list Morning, Afternoon and Evening are the
   same brass labels as over the buttons */
html[data-look="lamplight"] .booking-wrap .time-drop select:has(option[value=""]:checked){color:var(--ll-ink-3);}
@supports (appearance: base-select) {
  html[data-look="lamplight"] .booking-wrap .time-drop optgroup{padding-top:6px; color:var(--ll-brass); font-size:0.9375rem; font-weight:500;}
  html[data-look="lamplight"] .booking-wrap .time-drop optgroup:first-of-type{padding-top:0;}
}

/* ============================== Choices ============================== */
/* Unpicked keys hold a faint warm tint, so they read as keys on the desk; the picked state is site.css's */
html[data-look="lamplight"] .booking-wrap .choice:not(:has(input:checked)){background:rgba(255,214,170,.035);}
/* Prices and "15% off" under a choice: brass, amber-2 once picked */
html[data-look="lamplight"] .booking-wrap .choice-sub{color:var(--ll-brass); font-weight:500;}
html[data-look="lamplight"] .booking-wrap .choice:has(input:checked) .choice-sub{color:var(--ll-amber-2);}
/* Places: real check rows, picked like the other choices */
html[data-look="lamplight"] .booking-wrap .loc-list .loc-item{border-color:var(--field-line); background:rgba(255,214,170,.035);}
html[data-look="lamplight"] .booking-wrap .loc-list .loc-item:has(input:checked){
  background:linear-gradient(180deg, rgba(255,214,170,.1), rgba(255,214,170,.03)), var(--raise-2);
  border-color:var(--ll-pick); box-shadow:inset 0 0 0 1px var(--ll-pick), 0 8px 20px -12px rgba(244,160,80,.55); color:var(--ll-paper);}
@media (hover:hover) and (pointer:fine){
  html[data-look="lamplight"] .booking-wrap .loc-list .loc-item:not(:has(input:checked)):hover{border-color:var(--ll-amber); background:rgba(255,214,170,.06);}
}
/* The rebook note ("Booking with ..."): a lit card on the panel */
html[data-look="lamplight"] .booking-wrap .lock-note{
  background:linear-gradient(180deg, rgba(255,214,170,.1), rgba(255,214,170,.03)), #2C1315; color:var(--ll-paper);
  box-shadow:inset 0 1px 0 rgba(255,226,186,.22), inset 0 0 0 1px rgba(244,182,110,.3);}
html[data-look="lamplight"] .booking-wrap .lock-note .lock-title{color:var(--ll-amber-2);}

/* ============================== The calendar ============================== */
html[data-look="lamplight"] .booking-wrap .mini-cal .cal-title{font-family:var(--ll-serif); font-weight:400; font-size:1.1875rem; letter-spacing:-0.004em;}
html[data-look="lamplight"] .booking-wrap .mini-cal .cal-dow{color:var(--ll-brass);}
/* A day with open times: a lit key, warmer at its top, with a glowing dot */
html[data-look="lamplight"] .booking-wrap .mc-day:not(.none):not(.off):not([aria-pressed="true"]){
  background:linear-gradient(180deg, rgba(255,214,170,.14), rgba(255,214,170,.05)); border-color:rgba(244,182,110,.62);
  box-shadow:inset 0 1px 0 rgba(255,226,190,.16), 0 1px 2px rgba(6,1,2,.5); color:var(--ll-paper);}
html[data-look="lamplight"] .booking-wrap .mc-day .dot{background:var(--ll-amber); box-shadow:0 0 6px rgba(255,186,110,.85);}
/* The picked day: the lamp itself, amber, the dot in the night colour */
html[data-look="lamplight"] .booking-wrap .mc-day.mc-day[aria-pressed="true"]:not(.none){
  background-color:var(--ll-amber); background-image:var(--ll-btn-sheen); border-color:transparent; color:#2A0D07; font-weight:600;
  box-shadow:var(--ll-btn-depth-sm);}
html[data-look="lamplight"] .booking-wrap .mc-day.mc-day[aria-pressed="true"] .dot{background:#2A0D07; box-shadow:none;}
/* A day in range with nothing open, tapped: only an edge, never the amber of a real pick (as the live page) */
html[data-look="lamplight"] .booking-wrap .mc-day.mc-day.none[aria-pressed="true"]{border-color:var(--ll-ink-3);}
html[data-look="lamplight"] .booking-wrap .mc-day.none, html[data-look="lamplight"] .booking-wrap .mc-day.off{color:var(--ll-ink-3);}
html[data-look="lamplight"] .booking-wrap .cal-day[aria-current="date"]{text-decoration-color:var(--ll-amber);}
html[data-look="lamplight"] .booking-wrap .mc-legend{color:var(--ll-ink-2);}
html[data-look="lamplight"] .booking-wrap .mc-legend i{background:var(--ll-amber); box-shadow:0 0 6px rgba(255,186,110,.85);}
@media (hover:hover) and (pointer:fine){
  html[data-look="lamplight"] .booking-wrap .mc-day:not(.none):not(.off):not([aria-pressed="true"]):hover{border-color:var(--ll-amber-2); background:linear-gradient(180deg, rgba(255,214,170,.2), rgba(255,214,170,.07));}
}
/* "No open times on this day", "Pick a grade and subject...": plain reading text, no box (October 31, 2026) */
html[data-look="lamplight"] .booking-wrap :is(.no-times, .mc-wait){color:var(--ll-ink-2);}
html[data-look="lamplight"] .booking-wrap .no-times b{color:var(--ll-paper);}
html[data-look="lamplight"] .booking-wrap .cal-loading{color:var(--ll-ink-2);}

/* ============================== The price ============================== */
/* Under the lamp: its light on the panel, the total in Caslon Display (32px and up, as the home page's prices) with the lamp's glow */
html[data-look="lamplight"] .booking-wrap .price-slip{border-radius:22px; padding:22px 24px 20px;
  background:radial-gradient(90% 70% at 70% -12%, rgba(255,198,130,.2), rgba(255,180,110,.06) 50%, transparent 78%), var(--ll-panel-bg);}
html[data-look="lamplight"] .booking-wrap .price-slip .slip-head{color:var(--ll-amber-2); font-weight:500;}
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table th,
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table td{border-top-color:var(--ll-line);}
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table tbody th{color:var(--ll-ink-2);}
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table td.money{color:var(--ll-paper);}
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table tr.total th,
html[data-look="lamplight"] .booking-wrap .price-slip .slip-table tr.total td{border-top-color:rgba(244,182,110,.55); color:var(--ll-paper);}
html[data-look="lamplight"] .booking-wrap .price-slip .inked{font-family:var(--ll-display); font-weight:400; font-size:2.75rem; line-height:.95; letter-spacing:-0.012em; font-synthesis:none;
  font-variant-numeric:lining-nums tabular-nums; color:#FFF5EA; text-shadow:0 0 34px rgba(255,186,110,.32), 0 0 2px rgba(255,226,190,.16);}
/* The total's "$" is the small raised amber $ of the home page's prices and the dashboards' big figures (November 2026
   audit, consistency-03), in Caslon Text like the home page's. Drawn with ::first-letter, so the figure stays one plain
   text node ("$35.00"): the money roll, the tests and screen readers read it whole. Its own fill colour keeps it lit
   while the figure goes see-through for a roll; the rolling copy's own "$" is hidden (Motion, below). */
html[data-look="lamplight"] .booking-wrap .price-slip #price-total{display:inline-block;}
html[data-look="lamplight"] .booking-wrap .price-slip #price-total::first-letter{font-family:var(--ll-serif); font-size:.38em; font-weight:400;
  vertical-align:top; margin-right:.06em; color:var(--ll-amber); -webkit-text-fill-color:var(--ll-amber); text-shadow:none;}
/* Small phones: a little less edge and a smaller total, so the row labels get room and don't wrap word by word */
@media (max-width:420px){
  html[data-look="lamplight"] .booking-wrap .price-slip{padding:20px 18px 18px;}
  html[data-look="lamplight"] .booking-wrap .price-slip .inked{font-size:2.25rem;}
}

/* ============================== Step 3: the record ============================== */
/* It opens on a seam of light; the money rows start on a brass line, the amount due is the lit figure */
html[data-look="lamplight"] .booking-wrap .confirm-summary .record{border-top:0; background:var(--ll-seam-l) top left / 100% 1px no-repeat;}
html[data-look="lamplight"] .booking-wrap .confirm-summary .record > div{border-bottom-color:var(--ll-line);}
html[data-look="lamplight"] .booking-wrap .confirm-summary .record > .rec-money{border-top-color:rgba(244,182,110,.55);}
html[data-look="lamplight"] .booking-wrap .confirm-summary .rec-due dd .inked{font-family:var(--ll-display); font-weight:400; font-size:2.625rem; line-height:.95; letter-spacing:-0.012em; font-synthesis:none;
  font-variant-numeric:lining-nums tabular-nums; color:#FFF5EA; text-shadow:0 0 34px rgba(255,186,110,.3);}
html[data-look="lamplight"] .booking-wrap .confirm-summary .rec-due dt{color:var(--ll-amber-2);}
html[data-look="lamplight"] .booking-wrap .confirm-summary .record > .rec-due{padding-block:20px 16px;}   /* room for the tall figure under the brass line */

/* ============================== Booking received ============================== */
html[data-look="lamplight"] .booking-wrap :is(.tutor-reveal, .pay-box){border-top:0; background:var(--ll-seam-l) top left / 100% 1px no-repeat;}
/* the booked time: the lit line of the panel */
html[data-look="lamplight"] .booking-wrap .tutor-reveal .next-title{font-family:var(--ll-serif); font-weight:400; font-size:clamp(1.375rem, 2.4vw, 1.625rem); line-height:1.2; letter-spacing:-0.004em; margin-bottom:6px;}
html[data-look="lamplight"] .booking-wrap .success-lead b{color:var(--ll-paper); font-weight:500;}
html[data-look="lamplight"] .booking-wrap .success-head .status{color:var(--ll-paper); background:rgba(255,214,170,.08); box-shadow:inset 0 0 0 1px rgba(244,182,110,.35);}
html[data-look="lamplight"] .booking-wrap .success-head .status::before{color:var(--ll-amber);}
html[data-look="lamplight"] .booking-wrap .next-note{color:var(--ll-amber-2);}
/* "Save this link": a frosted glass card, lit from above (a solid lit card where glass isn't supported) */
html[data-look="lamplight"] .booking-wrap .manage-link-box{position:relative; isolation:isolate; overflow:hidden; padding:22px 22px 20px; border-radius:20px; color:var(--ll-paper);
  background:linear-gradient(175deg, #46261F 0%, #33181A 46%, #27110F 100%);
  box-shadow:inset 0 1px 0 rgba(255,238,214,.45), inset 0 0 0 1px rgba(255,206,150,.16), inset 0 -16px 26px -20px rgba(10,2,3,.6),
    0 0 0 1px rgba(244,182,110,.14), 0 2px 3px rgba(10,2,3,.55), 0 18px 34px -16px rgba(10,2,3,.85), 0 26px 70px -30px rgba(244,150,70,.36);}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)){
  html[data-look="lamplight"] .booking-wrap .manage-link-box{
    background:linear-gradient(175deg, rgba(255,216,178,.15) 0%, rgba(255,198,152,.07) 46%, rgba(255,186,140,.04) 100%), rgba(38,15,14,.62);
    -webkit-backdrop-filter:blur(18px) saturate(150%); backdrop-filter:blur(18px) saturate(150%);}
}
html[data-look="lamplight"] .booking-wrap .manage-link-box::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(80% 70% at 50% -14%, rgba(255,214,160,.22), rgba(255,200,140,.06) 52%, transparent 76%),
    linear-gradient(118deg, rgba(255,240,222,.08) 0%, rgba(255,240,222,0) 36%);}
html[data-look="lamplight"] .booking-wrap .manage-link-box .next-title{color:var(--ll-amber-2);}
html[data-look="lamplight"] .booking-wrap .manage-link-box :is(.next-text, .help){color:var(--ll-ink-2);}
html[data-look="lamplight"] .booking-wrap .manage-link-box input{background-color:rgba(10,3,4,.7);}

/* ============================== Motion ============================== */
/* After a tap on Continue or Back, the step's panel comes up out of the dark as it opens (320ms; booking.js marks it
   step-in). Not when the page opens (since October 30, 2026): then, after a tap on this site led here, the page's own
   arrival plays (styles.css, "Page arrivals"). Pointing at a day or a place lights its edge (above). Reduced motion:
   nothing moves. */
@keyframes llb-rise{from{opacity:0; transform:translate3d(0, 10px, 0);}}
@media (prefers-reduced-motion: no-preference){
  html[data-look="lamplight"] .booking-wrap .panel.active.step-in{animation:llb-rise 320ms var(--ll-ease) backwards;}
  html[data-look="lamplight"] .booking-wrap .mc-day{transition:background-color 140ms ease, border-color 140ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);}
}
/* The total's figures roll whenever the family's own tap or typing on the first step changes the price (booking.js
   setPriceTotal and endPriceTap, with the shared engine money-roll.js, November 7, 2026; the founder's exception in
   DESIGN.md, Motion). An aria-hidden copy over the total, inside the price box, one column per character at the
   figure's own place; a changed digit's column clips a strip of digits that slides through it. The real figure stays in
   the page, see-through while it plays (money-roll.js lays the copy out and makes the figure see-through; only the look
   is here). It never plays with reduced motion or in Windows high contrast, so these rules live under no-preference. */
@media (prefers-reduced-motion: no-preference){
  html[data-look="lamplight"] .booking-wrap .price-slip{position:relative;}
  /* the see-through figure keeps its broad glow (it neither moves nor clips); the moving copy has only the tight halo,
     so the clipped columns show no hard-edged block of stacked glows */
  html[data-look="lamplight"] .booking-wrap .price-slip .inked.price-rolling{text-shadow:0 0 34px rgba(255,186,110,.32);}
  html[data-look="lamplight"] .booking-wrap .price-roll{text-shadow:0 0 2px rgba(255,226,190,.16);}
  /* the small amber "$" stays lit on the real figure (above), so the copy draws none of its own */
  html[data-look="lamplight"] .booking-wrap .price-roll [data-c="$"]{visibility:hidden;}
}

/* ============================== Accessibility fallbacks ============================== */
@media (prefers-reduced-transparency: reduce){
  html[data-look="lamplight"] .booking-wrap .manage-link-box{background:#33181A; -webkit-backdrop-filter:none; backdrop-filter:none;}
}
/* Windows high contrast: no light, glows or glass; the picked day keeps a clear system fill */
@media (forced-colors: active){
  /* the system colours styles.css gives the steps, the dots and the legend (this file's amber would win otherwise) */
  html[data-look="lamplight"] .booking-wrap .stepper li::after{box-shadow:none; background:GrayText;}
  html[data-look="lamplight"] .booking-wrap .stepper li:is(.is-done, [aria-current="step"])::after,
  html[data-look="lamplight"] .booking-wrap .stepper li.is-done::before{background:CanvasText;}
  html[data-look="lamplight"] .booking-wrap .mc-day .dot, html[data-look="lamplight"] .booking-wrap .mc-legend i{background:CanvasText;}
  /* choices get their high-contrast edge from site.css */
  html[data-look="lamplight"] .booking-wrap :is(.when, .pay-row, .tutor-reveal, .pay-box, .confirm-summary .record){background:none; border-top:1px solid CanvasText;}
  html[data-look="lamplight"] .booking-wrap :is(.panel.card, .lock-note){border:1px solid CanvasText;}
  html[data-look="lamplight"] .booking-wrap .manage-link-box{-webkit-backdrop-filter:none; backdrop-filter:none; border:1px solid CanvasText;}
  html[data-look="lamplight"] .booking-wrap .manage-link-box::before{display:none;}
  html[data-look="lamplight"] .booking-wrap :is(.price-slip .inked, .rec-due .inked){text-shadow:none;}
  html[data-look="lamplight"] .booking-wrap .mc-day .dot, html[data-look="lamplight"] .booking-wrap .mc-legend i{box-shadow:none;}
  html[data-look="lamplight"] .booking-wrap .mc-day.mc-day[aria-pressed="true"]:not(.none){forced-color-adjust:none; background:Highlight; color:HighlightText; border-color:Highlight;}
  html[data-look="lamplight"] .booking-wrap .mc-day.mc-day[aria-pressed="true"]:not(.none) .dot{background:HighlightText;}
  html[data-look="lamplight"] .booking-wrap .loc-list .loc-item:has(input:checked){border:2px solid CanvasText;}
}

/* Book a session with one library open: a plain line names it (booking.js showPlaces). */
html[data-look="lamplight"] .booking-wrap .loc-only{margin:4px 0 0;}
/* Online's price note beside the libraries ("$5 less an hour"): brass, amber-2 once ticked, like the prices under a choice */
html[data-look="lamplight"] .booking-wrap .loc-list .loc-sub{color:var(--ll-brass); font-weight:500;}
html[data-look="lamplight"] .booking-wrap .loc-list .loc-item:has(input:checked) .loc-sub{color:var(--ll-amber-2);}

/* What the family typed came back after a reload (booking.js startBookingDraft, November 5, 2026): the kept line
   (styles.css and site.css) at the top of the first step, with the same room under it as the rebook note. */
html[data-look="lamplight"] .booking-wrap #booking-kept .zv-kept{margin-bottom:24px;}
/* Without JavaScript (the <noscript> line under the page head): the kept line's look, a soft fill and the lamp dot */
html[data-look="lamplight"] .booking-wrap .noscript-note{position:relative; margin:0 0 24px; padding:12px 16px 12px 34px;
  background:var(--sunk); border:1px solid var(--ll-line-2); border-radius:var(--r-field); color:var(--ink); font-size:1rem; line-height:1.5;}
html[data-look="lamplight"] .booking-wrap .noscript-note::before{content:""; position:absolute; left:16px; top:calc(12px + .55em);
  width:8px; height:8px; border-radius:50%; background:var(--ll-amber);}
@media (forced-colors: active){
  html[data-look="lamplight"] .booking-wrap .noscript-note{border-color:CanvasText;}
  html[data-look="lamplight"] .booking-wrap .noscript-note::before{forced-color-adjust:none; background:CanvasText;}
}
