/* Loaded after the approved design's own stylesheets on every design page
   (src/site/site-page.tsx), so at equal specificity these win. Outside
   public/s on purpose: scripts/import-site.py rebuilds that folder from the
   design and would delete anything kept there.

   A field looks the same whether you are in it or not (Augusta,
   2026-09-25; e2e/field-focus.spec.ts): the design drew a 2px orange ring
   around the website box on focus, and its own :where(a,button,input)
   rule rounds a focused field's corners to 6px. Focused, each box keeps
   exactly the edge and shadow it has at rest (v14.css .gen, el* .g54-find)
   and its field keeps its square corners. */
.gen:focus-within { box-shadow: 0 0 0 1px var(--line-2), 0 14px 34px -16px rgba(11, 20, 38, .32); }
.g54-find:focus-within { box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(11, 20, 38, .35); }
.gen input:focus-visible, .g54-find input:focus-visible { border-radius: 0; }

/* Nothing scrolls sideways at 320px (e2e/hero-fit.spec.ts): the home's
   channel list kept its desk width of 342px inside a 288px box on the
   smallest phones. The design's own fix for the same list on another page
   (pc48.css, scoped to .c50), applied to every page that draws it. */
@media (max-width: 760px) {
  .q9-chl, .q9-hub, .q9-may, .q9-chl li { box-sizing: border-box; max-width: 100%; min-width: 0; }
}

/* The home hero's one ask is Talk to us (Augusta, 18 Nov 2026: "i meant only talk to us and in better way", then
   "b but better" and "ship it" on desks/design-uiux/output/2026-11-18-home-talk/hero-b2-*.png). It is the design's
   own arrow-chip button (.q8-cta, el18.css) at hero scale in the primary orange (.btn-or's colour and glow), with
   the Admiral mark beside who replies. Full width on a phone, like the website box it replaces. */
.htalk { display: grid; justify-items: center; margin-top: 34px; }
.htalk .q8-cta {
  height: 60px; padding: 0 8px 0 30px; gap: 18px; border-radius: 8px;
  background: var(--or-btn); color: #fff; font: 600 18px/1 var(--sans); letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(194, 65, 12, .4), 0 14px 30px -12px rgba(242, 92, 25, .65);
}
.htalk .q8-cta:hover { background: #b93c0b; }
.htalk .q8-cta i { width: 44px; height: 44px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.htalk .q8-cta i svg { width: 18px; height: 18px; }
.htalk-by { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 15px; line-height: 1.45; color: var(--mute); }
.htalk-by svg { flex: none; width: 20px; height: 20px; }
.htalk-by b { font-weight: 600; color: var(--ink-2); }
@media (max-width: 560px) {
  .htalk { margin-top: 28px; width: 100%; }
  .htalk .q8-cta { width: 100%; justify-content: space-between; }
  .htalk-by { display: block; max-width: 340px; text-align: center; text-wrap: balance; }
  .htalk-by svg { display: inline-block; width: 18px; height: 18px; margin: 0 6px 0 0; vertical-align: -4px; }
}

/* /talk is the design's page since 20 Nov 2026 (Augusta: "feel too much inconsistent with the rest of the website").
   Its fields keep their resting edge when you are in them, as every field does (the 25 Sep rule above; t65.css drew a
   2px orange ring). The booking door the React form had sits under the form, and again in the "Got it" panel with the
   free start; the status line under the send button shows only when it has something to say (site-forms.tsx). */
.t65-f input:focus, .t65-note textarea:focus { box-shadow: inset 0 0 0 1px var(--line-2); }
/* The placeholders read at the site's lead-card grey (.w49-in, t65.css), not the browser's 2.4:1 default. */
.t65-f input::placeholder, .t65-note textarea::placeholder { color: #5b6577; opacity: 1; }
.t65-book {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2);
}
.t65-sa { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
/* A long label wraps inside the card rather than running past it on a 320px phone (Greptile P2 on #531). */
.t65-sa .btn { max-width: 100%; height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.3; }
.t65-lk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.t65-lk .ico { width: 16px; height: 16px; }
.t65-st:empty { display: none; }

/* /book is /talk's sibling in the design since 20 Nov 2026 (src/site/pages/book.json, src/site/book-picker.tsx): the
   card's two numbered steps in the "What happens next" mark (t65.css .t65-steps), the calendar's gate, the booked
   state, and the calendar's own window (moved from site.css's round 7 rules, on the 17 Nov corner scale). */
.t65-kq { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.t65-kq em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 13px; color: var(--mute); }
.t65-n { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px;
  background: var(--or-soft); color: var(--or-ink); font: 600 13px/1 var(--sans); }
.t65-pick { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.t65-gate { display: grid; gap: 12px; justify-items: start; padding: 16px; border-radius: 8px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line); }
.t65-gate p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.t65-gate .btn { width: 100%; height: 50px; }
.t65-gate .btn .ico { width: 18px; height: 18px; }
.t65-done { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); outline: none; }
.t65-done h2 { margin: 0; font: 600 22px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.t65-done p { margin: 0; color: var(--ink-2); }
dialog.calx { width: min(860px, calc(100vw - 48px)); height: min(720px, calc(100dvh - 48px)); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: 12px; background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 32px 96px -24px rgba(11, 20, 38, .45), 0 2px 10px rgba(11, 20, 38, .1); }
dialog.calx[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog.calx::backdrop { background: rgba(11, 20, 38, .55); }
.calx-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.calx-t { margin: 0; font: 600 20px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.calx-s { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.calx-x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px;
  background: var(--bg-2); color: var(--ink); cursor: pointer; }
.calx-x:hover { background: var(--bg-3); }
.calx-x svg { width: 18px; height: 18px; display: block; }
.calx-c { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.calx-c iframe { display: block; width: 100%; }
.calx-f { display: grid; gap: 14px; justify-items: start; align-content: start; padding: 28px 22px; }
.calx-f p { margin: 0; max-width: 60ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.calx-n { margin: 0; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--mute); }
.calx-n a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { dialog.calx { width: 100vw; height: 100dvh; border-radius: 0; } .calx-h { padding: 14px 16px; } .calx-n { padding: 10px 16px; } }
