/* ptr-booking - PTR Admin Dashboard theme tokens (ported verbatim), Calendly-like
   booking UI. Mobile-first, light+dark (auto + explicit toggle), WCAG AA.

   Ported unchanged from the pre-React web/styles.css (Task 10). Every value here
   is the value that page already shipped; nothing was re-derived. */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;

  --brand-cyan: #00b4cb;
  --brand-cyan-400: #27b5d0;
  --brand-cyan-300: #4fc9dd;
  --brand-glow: #83f1f2;
  --brand-lavender: #a57dc3;
  --brand-lavender-2: #979bbe;
  --navy: #0f2435;

  --status-good: #1fae8f;
  --status-watch: #e0a23c;
  --status-act: #e05a5a;

  --text: #22303a;
  --text-muted: #566169;
  --text-faint: #8795a0;
  --white: #ffffff;

  --glass-bg: rgba(255, 255, 255, .5);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-2: rgba(255, 255, 255, .4);
  --glass-border: rgba(255, 255, 255, .66);
  --hairline: rgba(15, 36, 53, .09);

  --glass-shadow: 0 8px 30px rgba(15, 36, 53, .12), 0 1px 2px rgba(15, 36, 53, .05);
  --glass-shadow-lg: 0 20px 50px rgba(15, 36, 53, .18), 0 2px 6px rgba(15, 36, 53, .08);

  --modal-surface: rgba(255, 255, 255, .96);
  --modal-field-bg: rgba(255, 255, 255, .88);
  --modal-overlay: rgba(6, 13, 22, .62);

  --app-bg:
    radial-gradient(120% 80% at 12% -5%, rgba(131, 241, 242, .42) 0%, transparent 52%),
    radial-gradient(110% 90% at 105% 6%, rgba(165, 125, 195, .26) 0%, transparent 50%),
    linear-gradient(180deg, #f4fbfc 0%, #e3f1f1 56%, #efe9f3 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --white: #0f2435;
    --text: #e9f1f4;
    --text-muted: #9fb1bb;
    --text-faint: #6f818c;

    --glass-bg: rgba(20, 29, 40, .5);
    --glass-bg-strong: rgba(20, 29, 40, .66);
    --glass-2: rgba(40, 52, 68, .4);
    --glass-border: rgba(131, 241, 242, .16);
    --hairline: rgba(131, 241, 242, .1);

    --glass-shadow: 0 10px 36px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .35);
    --glass-shadow-lg: 0 22px 56px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .4);

    --modal-surface: rgba(14, 24, 34, .97);
    --modal-field-bg: rgba(28, 40, 54, .94);
    --modal-overlay: rgba(3, 8, 14, .72);

    --app-bg:
      radial-gradient(120% 80% at 12% -5%, rgba(0, 180, 203, .22) 0%, transparent 52%),
      radial-gradient(110% 90% at 105% 6%, rgba(165, 125, 195, .2) 0%, transparent 50%),
      linear-gradient(180deg, #0a1420 0%, #0f2435 56%, #15131f 100%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --white: #0f2435;
  --text: #e9f1f4;
  --text-muted: #9fb1bb;
  --text-faint: #6f818c;

  --glass-bg: rgba(20, 29, 40, .5);
  --glass-bg-strong: rgba(20, 29, 40, .66);
  --glass-2: rgba(40, 52, 68, .4);
  --glass-border: rgba(131, 241, 242, .16);
  --hairline: rgba(131, 241, 242, .1);

  --glass-shadow: 0 10px 36px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .35);
  --glass-shadow-lg: 0 22px 56px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .4);

  --modal-surface: rgba(14, 24, 34, .97);
  --modal-field-bg: rgba(28, 40, 54, .94);
  --modal-overlay: rgba(3, 8, 14, .72);

  --app-bg:
    radial-gradient(120% 80% at 12% -5%, rgba(0, 180, 203, .22) 0%, transparent 52%),
    radial-gradient(110% 90% at 105% 6%, rgba(165, 125, 195, .2) 0%, transparent 50%),
    linear-gradient(180deg, #0a1420 0%, #0f2435 56%, #15131f 100%);
}

:root[data-theme="light"] {
  color-scheme: light;
  --white: #ffffff;
  --text: #22303a;
  --text-muted: #566169;
  --text-faint: #8795a0;

  --glass-bg: rgba(255, 255, 255, .5);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-2: rgba(255, 255, 255, .4);
  --glass-border: rgba(255, 255, 255, .66);
  --hairline: rgba(15, 36, 53, .09);

  --glass-shadow: 0 8px 30px rgba(15, 36, 53, .12), 0 1px 2px rgba(15, 36, 53, .05);
  --glass-shadow-lg: 0 20px 50px rgba(15, 36, 53, .18), 0 2px 6px rgba(15, 36, 53, .08);

  --modal-surface: rgba(255, 255, 255, .96);
  --modal-field-bg: rgba(255, 255, 255, .88);
  --modal-overlay: rgba(6, 13, 22, .62);

  --app-bg:
    radial-gradient(120% 80% at 12% -5%, rgba(131, 241, 242, .42) 0%, transparent 52%),
    radial-gradient(110% 90% at 105% 6%, rgba(165, 125, 195, .26) 0%, transparent 50%),
    linear-gradient(180deg, #f4fbfc 0%, #e3f1f1 56%, #efe9f3 100%);
}

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: var(--app-bg);
  background-attachment: fixed;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-cyan);
  color: #04212a;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* House link rule (operator, 2026-09-27): a text link wears its parent's colour
   and an underline at rest; colour arrives ONLY on hover, focus or press. A
   coloured link at rest reads as tacky. Button-styled links (.btn, .btn-back)
   set their own colour and no underline, and win: both rules are wrapped in
   :where() so they carry ZERO specificity. A bare a:hover (0,1,1) out-ranked
   .btn-primary (0,1,0) and turned a primary button's label cyan on its own
   cyan fill on hover; a bare a:focus-visible would do the same to the skip
   link. */
:where(a) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
:where(a:hover, a:focus-visible, a:active) { color: var(--brand-cyan); }

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

/* ---------- Utility ---------- */
[hidden] { display: none !important; }
/* ============================================================================
   THE PEOPLETECHREVOLUTION.COM SITE HEADER.

   Reproduced from what https://peopletechrevolution.com RENDERS (component
   source: ptr-website-html public/TopNav.dc.html plus the shared ring in
   public/ptr-motion.css, origin/main e34cfd18). Every value below was read
   from the live site's computed styles on 2026-09-29 at 1440x900 and 390x844
   and is pinned as data in tests/test_web_assets.py (PTR_COM_HEADER_SPEC),
   asserted against the BUILT stylesheet, because that is what ships.

   It is a SPEC, not an inspiration: if a value here disagrees with the pin,
   the pin is right. If the live header changes, re-measure it and change both.

   The live component writes most of these values as inline styles; here they
   are classes with the live component's own names. Colour rules carry the
   .ptrTopNav prefix because booking's base.css styles bare `a` and `a:hover`
   (cyan), and a single class would lose to `a:hover` on specificity.

   The site header has ONE look (light), on every live page. It is used in both
   booking themes, exactly as the site renders it.

   FIXED, like the live bar; body carries the matching padding-top per
   breakpoint because a fixed bar is out of flow. Do NOT put overflow-x:
   clip/hidden on html/body: it silently disables position:fixed/sticky
   descendants (see WEB-STICKY-HEADER in siteground-ptrvr-website).

   Font: the live header uses the system stack "Helvetica Neue", Helvetica,
   Arial, sans-serif - no web font, so nothing to self-host and no request to
   any font service.
   ============================================================================ */

/* The shared ring's angle has to be a registered property or the conic
   gradient cannot spin (ptr-motion.css, same declaration). */
@property --pm-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- Isolation from booking's own base styles ---------- */

/* Booking's base.css draws a cyan 2px focus outline with a 4px radius on every
   element. The live header uses the browser's own focus ring on its links, and
   its own outline on the ringed controls (.pm-ring below), so inside the header
   the UA rule is restored. :where() keeps this at single-class specificity, so
   any header rule that sets a radius still wins. */
:where(.ptrTopNav) :focus-visible {
  outline: revert;
  outline-offset: revert;
  border-radius: revert;
}

.ptrTopNav *, .ptrTopNav *::before, .ptrTopNav *::after { box-sizing: border-box; }

.ptrTopNav {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;       /* booking's body is 1.5; the live header is normal */
  letter-spacing: normal;
}

/* The live site's own `a { color: inherit; text-decoration: none; }`. */
.ptrTopNav a,
.ptrTopNav a:hover { text-decoration: none; }

/* ---------- The bar (#ptrTopNavBar) ---------- */

#ptrTopNavBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  color: #0B0D12;
}

/* The bar is 75px tall: 14px + the 46px logo + 14px + a 1px hairline. */
body { padding-top: 75px; }

.ptrTopNavInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(250, 250, 252, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 13, 18, 0.08);
}

.ptrTopNav .ptrTopNavLogo {
  display: flex;
  align-items: center;
  border-radius: 50%;
  color: inherit;
}

.ptrTopNavLogo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  max-width: 100%;
}

@media (hover: hover) {
  .ptrTopNav .ptrTopNavLogo:hover { opacity: 1; }
  .ptrTopNav .ptrTopNavLogo:hover img { filter: drop-shadow(0 0 10px rgba(128, 237, 239, 0.55)); }
}

.ptrTopNavLinks {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
}

/* TRAINING / XR / AI / FAST BUILDS. Vertical padding only, so the hit height is
   37px and the row width is untouched (live comment). */
.ptrTopNav .ptrNavLink {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #0B0D12;
  padding: 11px 0;
}
.ptrTopNav .ptrNavLink:last-child { white-space: nowrap; }   /* FAST BUILDS */

.ptrTopNavActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  /* The live box holds the 44px twin button, a 10px gap and the 44px Menu
     button (98px). The twin is not on this page; the box keeps its width so
     the four links sit exactly where they sit on the live bar. */
  min-width: 98px;
}

.ptrTopNav .ptrTopNavMenuBtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(11, 13, 18, 0.12);
  background: rgba(11, 13, 18, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.ptrTopNavMenuBtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0B0D12;
}

/* ---------- Link hover: the homepage hero's underline, and a colour ---------- */

.ptrNavLink, .ptrMenuLink {
  position: relative;
  display: inline-block;
  transition: opacity 180ms cubic-bezier(.2,.72,.18,1), filter 180ms cubic-bezier(.2,.72,.18,1);
}
.ptrNavLink::after, .ptrMenuLink::after {
  content: ""; position: absolute; left: 8%; right: 8%; height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--hm-a), var(--hm-b));
  box-shadow: 0 0 18px var(--hm-glow);
  opacity: 0; transform: scaleX(.6); transform-origin: 50% 50%;
  transition: opacity 180ms cubic-bezier(.2,.72,.18,1), transform 180ms cubic-bezier(.2,.72,.18,1);
  pointer-events: none;
}
.ptrMenuNav .ptrMenuTop::after, .ptrMenuNav .ptrMenuChild::after { left: 14px; right: 14px; }
.ptrNavLink::after { bottom: 4px; }
.ptrMenuLink::after { bottom: -2px; }
.ptrNavLink:hover, .ptrNavLink:focus-visible, .ptrNavLink:active,
.ptrMenuLink:hover, .ptrMenuLink:focus-visible, .ptrMenuLink:active {
  opacity: 1;
  text-shadow: 0 0 22px var(--hm-glow);
}
/* The hover is a colour, every time: the words take the link's own gradient. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ptrNavLink:hover, .ptrNavLink:focus-visible, .ptrNavLink:active,
  .ptrMenuLink:hover, .ptrMenuLink:focus-visible, .ptrMenuLink:active {
    text-shadow: none;
    background-image: linear-gradient(90deg, var(--hm-a), var(--hm-b));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--hm-glow));
  }
}
.ptrNavLink:hover::after, .ptrNavLink:focus-visible::after, .ptrNavLink:active::after,
.ptrMenuLink:hover::after, .ptrMenuLink:focus-visible::after, .ptrMenuLink:active::after {
  opacity: 1; transform: scaleX(1);
}

/* ---------- The hamburger overlay ---------- */

.ptrMenuOverlay {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(6, 6, 9, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.ptrMenuCloseRow {
  display: flex;
  justify-content: flex-end;
  padding: 14px clamp(20px, 4vw, 56px);
}

/* The close glyph keeps the browser's own button face, as on the live site;
   only its size and colours are set. */
.ptrTopNav .ptrMenuClose {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.ptrMenuNav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: clamp(7px, 1.5vh, 15px);
  padding: 0 clamp(24px, 8vw, 120px);
  overflow-y: auto;
}

/* Type ramp, one class per level (the live menu's inline font sizes). */
.ptrMenuS0 { font-size: clamp(28px, min(5.2vw, 5.8vh), 54px); }
.ptrMenuS1 { font-size: clamp(17px, 2.4vh, 24px); }
.ptrMenuS2 { font-size: clamp(15px, 2vh, 19px); }
.ptrMenuSDemo { font-size: clamp(22px, min(4vw, 4.4vh), 38px); }
.ptrTopNav .ptrMenuT0 { font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ptrTopNav .ptrMenuT1 { font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.ptrTopNav .ptrMenuT2 { color: rgba(255, 255, 255, 0.85); }
.ptrTopNav .ptrMenuTDemo { font-weight: 600; letter-spacing: 0.02em; color: #fff; }
.ptrTopNav .ptrMenuTCta { font-weight: 600; color: #fff; }
.ptrTopNav .ptrMenuLegal { font-size: clamp(16px, 1.2vw, 18px); color: rgba(255, 255, 255, 0.78); }

.ptrMenuArrow { opacity: 0.55; }
.ptrMenuExt { font-size: 0.5em; vertical-align: 0.35em; opacity: 0.6; }

.ptrMenuDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: clamp(6px, 1.2vh, 12px) 0;
  max-width: 360px;
}
.ptrMenuDivider.ptrMenuDividerWide { margin: clamp(8px, 1.6vh, 16px) 0; }

.ptrMenuContact { text-align: left; }   /* a <button> on the live site */

.ptrMenuLegalRow { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* The underline runs the width of the word, not the column. */
.ptrMenuLink { width: fit-content; }
/* Shrinking the box to the word also shrank the tap target: horizontal padding
   buys the reach back and the negative margin cancels the indent. */
.ptrMenuNav .ptrMenuTop, .ptrMenuNav .ptrMenuChild { padding: 0 14px; margin-left: -14px; }
.ptrMenuNav .ptrMenuLink:not(.ptrMenuTop):not(.ptrMenuChild) { padding: 2px 8px; margin-left: -8px; }
/* One hover spec for every row: gradient words, underline, and a 1px ring in
   --hm-a with the --hm-glow halo at the row's own radius. */
.ptrMenuNav .ptrMenuLink { border-radius: 14px; }
@media (hover: hover) {
  .ptrMenuNav .ptrMenuLink:hover { box-shadow: 0 0 0 1px var(--hm-a), 0 0 26px var(--hm-glow), 0 0 8px var(--hm-glow); }
}
.ptrMenuNav .ptrMenuLink:focus-visible, .ptrMenuNav .ptrMenuLink:active { box-shadow: 0 0 0 1px var(--hm-a), 0 0 26px var(--hm-glow), 0 0 8px var(--hm-glow); }
@media (prefers-reduced-motion: no-preference) { .ptrMenuNav .ptrMenuLink { transition: box-shadow 180ms cubic-bezier(.2,.72,.18,1), opacity 180ms cubic-bezier(.2,.72,.18,1), filter 180ms cubic-bezier(.2,.72,.18,1); } }

/* Section headers that only expand are buttons, not links. */
.ptrMenuSec { background-color: transparent; border: none; text-align: left; cursor: pointer; font-family: inherit; }
.ptrChev { display: inline-block; font-size: 0.5em; vertical-align: 0.3em; opacity: 0.55; margin-left: 10px; transition: transform 180ms cubic-bezier(.2,.72,.18,1); }
.ptrChev.open { transform: rotate(90deg); }

/* The heading navigates, the chevron expands: a row is a link plus its own
   disclosure button. */
.ptrMenuRow { display: flex; align-items: center; gap: 2px; }
.ptrMenuDisc {
  background: none; border: none; cursor: pointer; font-family: inherit; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 32px; padding: 0 6px; line-height: 1;
}
.ptrMenuDisc .ptrChev { margin-left: 0; }
/* The round outlined expander with a full-strength chevron. */
.ptrMenuDisc .ptrChev, .ptrMenuSec .ptrChev { font-size: 18px; vertical-align: 0; opacity: 1; width: 30px; height: 30px; line-height: 27px; text-align: center; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 50%; }
.ptrMenuSec .ptrChev { margin-left: 12px; }
.ptrMenuDisc:hover .ptrChev, .ptrMenuSec:hover .ptrChev, .ptrChev.open { border-color: #fff; background: rgba(255, 255, 255, 0.14); }

/* The XR section's one cross-link to the training programs: gradient words and
   a thin ring at rest. */
.ptrMenuNav .ptrMenuChild.ptrMenuCta { padding: 6px 18px; margin: 6px 0 4px -4px; border: 1px solid rgba(128, 237, 239, 0.55); border-radius: 999px; white-space: nowrap; }
@media (max-width: 520px) { .ptrMenuNav .ptrMenuChild.ptrMenuCta { font-size: 17px; padding: 6px 14px; } }
.ptrMenuCta .ptrMenuCtaTxt { background: linear-gradient(90deg, var(--hm-a), var(--hm-b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ptrMenuCtaArrow { margin-left: 0.3em; }
.ptrMenuNav .ptrMenuChild.ptrMenuCta::after { left: 18px; right: 18px; bottom: 2px; }
@media (prefers-reduced-motion: no-preference) { .ptrMenuNav .ptrMenuCta { transition: border-color 180ms cubic-bezier(.2,.72,.18,1), box-shadow 180ms cubic-bezier(.2,.72,.18,1), color 180ms cubic-bezier(.2,.72,.18,1); } }

/* Children live in an indented rail with a hairline to read as "inside". */
.ptrMenuKids { display: flex; flex-direction: column; gap: clamp(6px, 1.2vh, 12px); padding: clamp(4px, 0.8vh, 8px) 0 clamp(6px, 1.2vh, 12px) clamp(18px, 3vw, 34px); border-left: 1px solid rgba(255, 255, 255, 0.14); margin-left: 6px; }

/* The overlay scrolls; only the scrollbar chrome is hidden. */
.ptrMenuNav { scrollbar-width: none; -ms-overflow-style: none; }
.ptrMenuNav::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Scroll cue: a soft fade and a chevron at the pane's bottom edge while there
   is more below (scroll-driven; nothing shows where that is unsupported). */
.ptrMenuNav::after { content: ""; position: sticky; bottom: 0; flex: none; display: block; height: 64px; margin-top: -64px; margin-inline: calc(-1 * clamp(24px, 8vw, 120px)); pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M2 2l9 8 9-8' fill='none' stroke='%2380EDEF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center bottom 12px / 22px 12px, linear-gradient(to bottom, rgba(11, 13, 18, 0), rgba(11, 13, 18, 0.92));
  animation: ptrMenuCue linear both; animation-timeline: scroll(nearest); }
@keyframes ptrMenuCue { from { opacity: 1; } 85% { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ptrNavLink, .ptrMenuLink, .ptrNavLink::after, .ptrMenuLink::after, .ptrChev { transition: none !important; }
}

/* ---------- Phones ---------- */

/* Below 768px the four links stay on the SAME row as the logo and the Menu
   button: smaller type and tracking, a smaller gap, each link a 44px tall tap
   target. */
@media (max-width: 767.98px) {
  .ptrTopNavInner { flex-wrap: nowrap; }
  .ptrTopNavLinks { flex: 0 1 auto; min-width: 0; justify-content: center; gap: clamp(6px, 2vw, 14px); }
  .ptrTopNav .ptrTopNavLinks > .ptrNavLink { display: inline-flex; align-items: center; height: 44px; box-sizing: border-box; white-space: nowrap;
    font-size: 12px; letter-spacing: 0.1em; padding: 0; }
}

/* Up to 520px the bar tightens: 8px padding, 38px logo, 40px Menu button,
   clamp(10px, 2.8vw, 12px) type. 61px tall (8 + the 44px links + 8 + 1). */
@media (max-width: 520px) {
  .ptrTopNavInner { padding: 8px 12px; gap: 8px; }
  .ptrTopNavActions { gap: 6px; min-width: 86px; }   /* live: 40 + 6 + 40 */
  .ptrTopNavLogo img { width: 38px; height: 38px; }
  .ptrTopNav .ptrTopNavMenuBtn { width: 40px; height: 40px; }
  .ptrTopNav .ptrTopNavLinks > .ptrNavLink { font-size: clamp(10px, 2.8vw, 12px); letter-spacing: 0.06em; }
  body { padding-top: 61px; }
}

/* ---------- The shared ring (ptr-motion.css .pm-ring) ---------- */

/* Keyboard focus is always a solid outline; the glow is decoration on top. */
.ptrTopNav .pm-ring:focus-visible { outline: 2px solid #6D57FF; outline-offset: 3px; }
.pm-ring { position: relative; }
/* A conic rainbow masked to a 2px band on the control's edge. */
.pm-ring::after {
  content: ''; position: absolute; inset: -2px; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--pm-angle), #4285F4, #9B72CB, #D96570, #F4B400, #34A853, #41BBF5, #4285F4); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes pm-halo {
  0%, 100% { box-shadow: 0 0 0 1px rgba(66, 133, 244, .18), 0 0 24px 1px rgba(66, 133, 244, .42), 0 12px 28px rgba(11, 13, 18, .14); }
  25%      { box-shadow: 0 0 0 1px rgba(155, 114, 203, .18), 0 0 24px 1px rgba(155, 114, 203, .42), 0 12px 28px rgba(11, 13, 18, .14); }
  50%      { box-shadow: 0 0 0 1px rgba(217, 101, 112, .18), 0 0 24px 1px rgba(217, 101, 112, .40), 0 12px 28px rgba(11, 13, 18, .14); }
  75%      { box-shadow: 0 0 0 1px rgba(52, 168, 83, .18), 0 0 24px 1px rgba(65, 187, 245, .42), 0 12px 28px rgba(11, 13, 18, .14); }
}
@keyframes pm-spin { to { --pm-angle: 360deg; } }
@media (hover: hover) {
  .pm-ring:hover::after { opacity: 1; }
  .pm-ring-host:hover .pm-ring::after { opacity: 1; }
}
.pm-ring:focus-visible::after { opacity: 1; }
.pm-ring-host:focus-visible .pm-ring::after { opacity: 1; }
/* An open expander keeps its ring at rest, so the glow also reads as "open". */
.ptrChev.open.pm-ring::after { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .pm-ring {
    transition: transform 180ms cubic-bezier(.2,.72,.18,1), box-shadow 180ms cubic-bezier(.2,.72,.18,1), background-color 180ms cubic-bezier(.2,.72,.18,1),
                border-color 180ms cubic-bezier(.2,.72,.18,1), color 180ms cubic-bezier(.2,.72,.18,1);
  }
  .pm-ring::after { transition: opacity 180ms cubic-bezier(.2,.72,.18,1); }
  .pm-ring:focus-visible::after, .pm-ring-host:focus-visible .pm-ring::after { animation: pm-spin 2.6s linear infinite; }
  @media (hover: hover) {
    .pm-ring:hover, .pm-ring-host:hover .pm-ring { animation: pm-halo 3.2s linear infinite; }
    .pm-ring-host:hover .pm-ring::after { animation: pm-spin 2.6s linear infinite; }
    .pm-ring:hover::after { animation: pm-spin 2.6s linear infinite; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-ring, .pm-ring::after { animation: none !important; }
}
/* Booking's own surfaces: toolbar, calendar, slots, form, confirmation.
   Ported verbatim from the pre-React web/styles.css (Task 10) - these are the
   values that page already shipped.

   Deliberately NOT the site header bar (see header.css). The bar carries ONLY
   the peopletechrevolution.com header; booking's own controls (back, tagline,
   timezone, theme) sit in the toolbar row inside the page column. Cramming them
   into the bar is what made an earlier port read as clobbered. */

/* ---------- Booking toolbar ---------- */
.booking-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0 2px;
}

.booking-toolbar .brand-tagline {
  flex: 1;
  min-width: 0;
}

/* Back to wherever the user came from. It is navigation, not a form control
   (the form's own "Back" is #backToTimes inside the card), and since Task 11 it
   is a real <a href> to an already-resolved target rather than a <button> that
   walked the session history backwards. Every value below is the one the button
   already shipped; only text-decoration is new, and it is what keeps the pixels
   identical - an <a href> picks up the UA underline that a <button> never had. */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 10px 6px 7px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  min-height: 36px;
}

.btn-back:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.back-chevron {
  font-size: 1.15rem;
  line-height: 1;
  margin-top: -2px;
}

.brand-tagline {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Narrow phones: the meeting name takes its own full-width line above the back
   button and timezone picker, rather than being hidden (operator, 2026-09-30:
   the visitor must see which meeting they are booking). */
@media (max-width: 560px) {
  .booking-toolbar .brand-tagline {
    flex-basis: 100%;
    order: -1;
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .back-label { display: none; }
  .btn-back { padding: 6px 8px; }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-label {
  display: block;
  font-size: .72rem;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.tz-picker select {
  font: inherit;
  font-size: .85rem;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  color: var(--text);
  max-width: 46vw;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.icon-btn:hover { border-color: var(--brand-cyan); color: var(--brand-cyan-400); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }

.theme-toggle .theme-icon { font-size: 1.05rem; }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.booking-card {
  padding: 18px;
  position: relative;
  min-height: 320px;
}

/* ---------- Banners / states ---------- */
.banner {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .9rem;
  margin-bottom: 12px;
}
.banner-error {
  background: color-mix(in srgb, var(--status-act) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--status-act) 40%, transparent);
  color: var(--text);
}
.banner-loading {
  color: var(--text-muted);
}
.banner[hidden] { display: none; }

/* ---------- Booking layout ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 760px) {
  .booking-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .calendar-panel {
    border-right: 1px solid var(--hairline);
    padding-right: 20px;
  }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.panel-head h2, .slots-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.month-label {
  font-size: .88rem;
  color: var(--text-muted);
  min-width: 9ch;
  text-align: center;
}

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.weekday-row span {
  text-align: center;
  font-size: .72rem;
  color: var(--text-faint);
  font-weight: 600;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
  position: relative;
}
.cal-day.outside-month { color: var(--text-faint); opacity: .5; }
.cal-day.has-slots {
  background: var(--glass-2);
  border-color: var(--hairline);
  font-weight: 600;
}
.cal-day.has-slots::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-cyan);
}
.cal-day.has-slots:hover:not(:disabled) {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan-400);
}
.cal-day.selected {
  background: var(--brand-cyan);
  color: #04212a;
  font-weight: 700;
}
.cal-day.selected::after { background: #04212a; }
.cal-day.is-today:not(.selected) { border-color: var(--brand-lavender); }
.cal-day:disabled {
  cursor: not-allowed;
  color: var(--text-faint);
  opacity: .4;
}

.cal-status {
  margin: 8px 2px 0;
  min-height: 1.2em;
  font-size: .85rem;
  color: var(--text-muted);
}

.step-breadcrumb {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--brand-cyan-400);
}

.slots-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.slot-btn {
  padding: 10px 8px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}
.slot-btn:hover { border-color: var(--brand-cyan); color: var(--brand-cyan-400); }
.slot-btn.selected {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #04212a;
  font-weight: 700;
}

.empty-note {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 8px 2px;
}

/* ---------- Form ---------- */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chosen-slot {
  margin: -4px 0 4px;
  color: var(--text-muted);
  font-size: .9rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 460px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 4px; }

.field label, legend {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.req { color: var(--status-act); }
.optional { color: var(--text-faint); font-weight: 400; }

input[type="text"], input[type="email"], input[type="tel"], input:not([type]), textarea, select {
  font: inherit;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--modal-field-bg);
  color: var(--text);
  width: 100%;
}
textarea { resize: vertical; min-height: 72px; }

input:focus, textarea:focus, select:focus {
  border-color: var(--brand-cyan);
}

input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--status-act);
}

.field-error, .form-error {
  margin: 0;
  min-height: 1.1em;
  font-size: .8rem;
  color: var(--status-act);
}

.field-hint {
  margin: 0;
  font-size: .78rem;
  color: var(--text-faint);
}

.meeting-type-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meeting-type-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  cursor: pointer;
  font-size: .9rem;
}
.meeting-type-option:has(input:checked) {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan-400);
  background: color-mix(in srgb, var(--brand-cyan) 12%, var(--glass-bg-strong));
}
.meeting-type-option input { width: auto; margin: 0; }

.turnstile-wrap { margin-top: 4px; }

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
  flex-wrap: wrap;
}

.btn {
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cyan-400) 100%);
  color: #04212a;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; filter: none; }
.btn-secondary {
  background: var(--glass-2);
  color: var(--text);
  border-color: var(--hairline);
}
.btn-secondary:hover { border-color: var(--brand-cyan); }

/* Availability retry control - the calendar status line's own affordance. */
.add-window-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px dashed var(--hairline);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .82rem;
  cursor: pointer;
}
.add-window-btn:hover { border-color: var(--brand-cyan); color: var(--brand-cyan-400); }

/* ---------- Confirmation ---------- */
.confirm-view {
  text-align: center;
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--status-good) 20%, transparent);
  color: var(--status-good);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.confirm-when { font-size: 1.05rem; font-weight: 600; }
.confirm-detail { margin: 6px 0; }
.confirm-note { color: var(--text-muted); font-size: .88rem; max-width: 40ch; }
/* The way home after a booking. Plain text on the card, no box behind it. */
#confirmHome { margin-top: 8px; }
.confirm-countdown { margin: 0; color: var(--text-muted); font-size: .85rem; }
/* Who the invitation comes from, under the submit button. Plain text. */
.invite-from-note { margin: 8px 0 0; color: var(--text-muted); font-size: .85rem; text-align: right; }

/* The .site-footer rules were removed with the footer itself (Task 11): the
   operator asked for both of the lines it carried off the page, so the element
   is gone and these rules had no element left to style. */

/* Reschedule page (2026-09-30). Plain text on the card, no box behind the
   heading; the confirm row reuses the booking form's buttons. */
.reschedule-head { margin: 0 0 16px; }
.reschedule-title { margin: 0 0 6px; font-size: 1.35rem; }
.reschedule-current { margin: 0; color: var(--text-muted); }
.reschedule-current strong { color: var(--text); font-weight: 600; }
.reschedule-confirm { margin-top: 16px; }
.reschedule-confirm[hidden] { display: none; }
