/* ============================================================
   FOXREADS CONSULTATION: /consultation and /consultation-manage.
   Consumes the body.fox-rebuild tokens; scoped under .cs. The
   consultation CTA on a story page lives here too (.cs-cta), so
   reads.css stays about the magazine. Selected = teal outline on
   pure white.
   ============================================================ */
.cs { --gut: clamp(20px, 4vw, 56px); max-width: 860px; margin: 0 auto; padding: var(--fox-page-top) var(--gut) var(--fox-sec); background: #fff; }
.cs a { color: var(--fox-color-primary-deep); }
.cs .cs-open .kicker { margin-bottom: 16px; }
.cs .cs-open .kicker a { color: inherit; text-decoration: none; }
.cs .cs-h1 { font-family: var(--fox-font-display); font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; color: var(--fox-color-text-strong); }
.cs .cs-lede { max-width: 58ch; margin-top: 16px; font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.5; color: var(--fox-color-text); }
.cs .cs-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cs .cs-facts span { padding: 7px 14px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-pill); font-size: .92rem; color: var(--fox-color-text-strong); }

.cs .cs-form { display: grid; gap: 0; }
.cs .cs-step { margin-top: clamp(32px, 4.5vw, 52px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--fox-line); }
.cs .cs-step > .h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cs .cs-n { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fox-color-primary-soft); font-family: var(--fox-font-family); font-size: .9rem; font-weight: 600; color: var(--fox-color-primary-deep); }
.cs .cs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.cs input:not([type=hidden]):not([type=radio]), .cs select, .cs textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-input); background: #fff; font: inherit; font-size: 1rem; color: var(--fox-color-text-strong); }
.cs textarea { resize: vertical; line-height: 1.5; }
.cs input:focus-visible, .cs select:focus-visible, .cs textarea:focus-visible { outline: 2px solid var(--fox-color-primary); outline-offset: 1px; }
.cs .cs-field { display: grid; gap: 6px; min-width: 0; }
.cs .cs-field label { font-size: .92rem; font-weight: 500; color: var(--fox-color-text-strong); }
.cs .cs-f2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .cs .cs-f2 { grid-template-columns: 1fr 1fr; } }
.cs .cs-phone { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-input); background: #fff; }
.cs .cs-cc { position: relative; display: flex; align-items: center; gap: 6px; flex: none; padding: 0 12px; border-right: 1px solid var(--fox-line); }
.cs .cs-cc::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--fox-color-text-muted); border-bottom: 1.5px solid var(--fox-color-text-muted); transform: translateY(-2px) rotate(45deg); }
.cs .cs-cc b { font-weight: 500; color: var(--fox-color-text-strong); }
.cs .cs-cc select { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.cs .cs-cc:focus-within { outline: 2px solid var(--fox-color-primary); outline-offset: 1px; border-radius: var(--fox-radius-input); }
.cs .cs-phone input:not([type=hidden]) { flex: 1; border: 0; border-radius: 0 var(--fox-radius-input) var(--fox-radius-input) 0; }

.cs .cs-topics { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
@media (min-width: 640px) { .cs .cs-topics { grid-template-columns: 1fr 1fr; } }
.cs .cs-opt, .cs .cs-slot { position: relative; cursor: pointer; }
.cs .cs-opt input, .cs .cs-slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cs .cs-opt span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-input); background: #fff; color: var(--fox-color-text-strong); transition: border-color .2s var(--fox-ease); }
.cs .cs-opt input:checked + span, .cs .cs-slot input:checked + span { border-color: var(--fox-color-primary); outline: 1px solid var(--fox-color-primary); }
.cs .cs-opt input:focus-visible + span, .cs .cs-slot input:focus-visible + span { outline: 2px solid var(--fox-color-primary); outline-offset: 1px; }

.cs .cs-tz { margin-bottom: 16px; font-size: .95rem; color: var(--fox-color-text-muted); }
.cs .cs-week + .cs-week { margin-top: 26px; }
.cs .cs-week__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--fox-line); }
.cs .cs-week__h b { font-weight: 600; color: var(--fox-color-text-strong); }
.cs .cs-week__h span { font-size: .92rem; color: var(--fox-color-primary-deep); }
.cs .cs-day { margin-top: 14px; }
.cs .cs-day__h { margin-bottom: 8px; font-size: .95rem; color: var(--fox-color-text-muted); }
.cs .cs-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.cs .cs-slot { display: inline-block; }
.cs .cs-slot span { display: flex; align-items: center; justify-content: center; min-width: 104px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-input); background: #fff; color: var(--fox-color-text-strong); }
.cs .cs-slot.is-booked { cursor: not-allowed; }
.cs .cs-slot.is-booked input { cursor: not-allowed; }
.cs .cs-slot.is-booked span { padding-bottom: 20px; color: var(--fox-color-text-muted); text-decoration: line-through; opacity: .75; }
.cs .cs-slot.is-booked small { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-size: .72rem; color: var(--fox-color-text-muted); }

.cs .cs-gst { margin-top: 16px; }
.cs .cs-gst summary { cursor: pointer; font-size: .95rem; color: var(--fox-color-primary-deep); }
.cs .cs-gst[open] summary { margin-bottom: 12px; }

.cs .cs-pay { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--fox-line); }
.cs .cs-total b { font-family: var(--fox-font-display); font-size: var(--fox-h); font-weight: 500; color: var(--fox-color-text-strong); }
.cs .cs-total span { color: var(--fox-color-text-muted); }
.cs .cs-terms { max-width: 62ch; font-size: .92rem; line-height: 1.5; color: var(--fox-color-text-muted); }
.cs .cs-pay .fx-btn { justify-self: start; }
.cs .cs-err { font-size: .95rem; color: var(--fox-color-danger); }
.cs .is-bad .cs-opt span, .cs .is-bad input:not([type=radio]), .cs .is-bad textarea, .cs .is-bad .cs-slot span { border-color: var(--fox-color-danger); }
.cs .cs-none { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--fox-line); display: grid; gap: 10px; }

.cs .cs-dl { display: grid; gap: 14px; }
.cs .cs-dl > div { display: grid; gap: 2px; }
@media (min-width: 640px) { .cs .cs-dl > div { grid-template-columns: 130px 1fr; gap: 16px; } }
.cs .cs-dl dt { font-size: .92rem; color: var(--fox-color-text-muted); }
.cs .cs-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--fox-color-text-strong); }
.cs .cs-pre { white-space: pre-wrap; }
.cs .cs-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-weight: 500; }
.cs [data-cs-move] .fx-btn { justify-self: start; margin-top: 22px; }

/* One step at a time (JavaScript on): only the open step shows its fields. */
.cs [hidden] { display: none !important; }
.cs .cs-form { grid-template-columns: minmax(0, 1fr); }
.cs .cs-step, .cs .cs-step__b, .cs .cs-picker, .cs [data-field="slot"] { min-width: 0; }
.cs .cs-form.cs-live .cs-step { margin-top: 0; padding: clamp(18px, 2.4vw, 24px) 0; }
.cs .cs-form.cs-live { margin-top: clamp(24px, 3vw, 36px); }
.cs .cs-form.cs-live .cs-step > .h { margin-bottom: 0; }
.cs .cs-form.cs-live .cs-step.is-open > .h { margin-bottom: 16px; }
.cs .cs-form.cs-live .cs-step:not(.is-open) .cs-step__b { display: none; }
.cs .cs-form.cs-live .cs-step.is-todo > .h { opacity: .45; }
.cs .cs-form.cs-live .cs-pay { margin-top: 0; }
.cs .cs-step { scroll-margin-top: calc(var(--fox-nav-h, 88px) + 12px); }
.cs .cs-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 0 42px; color: var(--fox-color-text); }
.cs .cs-change { padding: 0; border: 0; background: none; font: inherit; font-size: .92rem; font-weight: 500; color: var(--fox-color-primary-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cs .cs-next { margin-top: 18px; }
.cs .cs-topics { grid-template-columns: 1fr 1fr; }
.cs .cs-opt span { min-height: 46px; padding: 9px 12px; font-size: .95rem; line-height: 1.25; }

/* The date row: one line that scrolls sideways; only the chosen date's times show. */
.cs .cs-picker__note { margin-bottom: 10px; font-size: .92rem; color: var(--fox-color-primary-deep); }
.cs .cs-dates { display: none; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cs .cs-dates::-webkit-scrollbar { display: none; }
.cs .cs-picker.is-live .cs-dates { display: flex; }
.cs .cs-picker.is-live .cs-day__h { display: none; }
.cs .cs-picker.is-live .cs-day { margin-top: 8px; }
.cs .cs-date { flex: none; display: grid; justify-items: center; gap: 1px; width: 74px; padding: 10px 4px 9px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-input); background: #fff; font: inherit; font-size: .82rem; color: var(--fox-color-text-muted); cursor: pointer; }
.cs .cs-date b { font-family: var(--fox-font-display); font-size: 1.4rem; font-weight: 500; line-height: 1.15; color: var(--fox-color-text-strong); }
.cs .cs-date small { margin-top: 3px; font-size: .72rem; color: var(--fox-color-primary-deep); }
.cs .cs-date.is-full b, .cs .cs-date.is-full small { color: var(--fox-color-text-muted); }
.cs .cs-date.is-on { border-color: var(--fox-color-primary); outline: 1px solid var(--fox-color-primary); }
.cs .cs-date:focus-visible { outline: 2px solid var(--fox-color-primary); outline-offset: 1px; }

/* The button at the end of Foxpop's own stories. */
.cs-cta { display: grid; gap: 10px; margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--fox-line); border-radius: var(--fox-radius-card); background: var(--fox-color-primary-soft); }
.cs-cta h2.cs-cta__t { margin: 0; padding: 0; border: 0; font-family: var(--fox-font-display); font-size: var(--fox-h); font-weight: 500; line-height: 1.15; color: var(--fox-color-text-strong); }
.cs-cta p { margin: 0; max-width: 54ch; color: var(--fox-color-text); }
.lg .lg-doc .cs-cta a.fx-btn { justify-self: start; margin-top: 6px; color: #fff; font-weight: 500; text-decoration: none; }

/* The consultation box, wherever it appears (fx_consult_promo). One look: pure white,
   a teal rule on the left, the price beside the button. Early is compact; end and hire
   say what the consultation includes. */
.cs-promo { display: grid; gap: 10px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--fox-line); border-left: 3px solid var(--fox-color-primary); border-radius: var(--fox-radius-card); background: #fff; }
.cs-promo p { margin: 0; }
.cs-promo .cs-promo__k { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fox-color-primary-deep); }
.cs-promo .cs-promo__t { margin: 0; padding: 0; border: 0; font-family: var(--fox-font-display); font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--fox-color-text-strong); }
.cs-promo .cs-promo__p { max-width: 56ch; color: var(--fox-color-text); }
.cs-promo .cs-promo__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.cs-promo .cs-promo__m { font-size: .88rem; color: var(--fox-color-text-muted); }
.cs-promo .cs-promo__list { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.cs-promo .cs-promo__list li { position: relative; padding-left: 26px; color: var(--fox-color-text-strong); }
.cs-promo .cs-promo__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--fox-color-primary); border-bottom: 2px solid var(--fox-color-primary); transform: rotate(-45deg); }
.cs-promo a.fx-btn { text-decoration: none; }
.cs-promo a.fx-btn--fill { color: #fff; font-weight: 500; }
.cs-promo a.fx-btn--quiet { color: var(--fox-color-text-strong); font-weight: 500; }
/* Inside a story, the article's own link and heading styles must not reach the box. */
.lg .lg-doc .cs-promo { margin-top: clamp(28px, 4vw, 40px); margin-bottom: clamp(8px, 2vw, 16px); }
.lg .lg-doc .cs-promo a { text-decoration: none; }
.lg .lg-doc .cs-promo h2.cs-promo__t { margin: 0; padding: 0; border: 0; }
.lg .lg-doc .cs-promo--end { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.4vw, 36px); background: var(--fox-color-primary-soft); }
/* Hire: copy and button side by side on a wide screen (contact page, browse pages). */
@media (min-width: 860px) {
  .cs-promo--hire { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 40px; }
  .cs-promo--hire .cs-promo__c { display: grid; gap: 10px; }
  .cs-promo--hire .cs-promo__go { flex-direction: column; align-items: flex-end; margin: 0; }
}
.cs-promo--hire .cs-promo__c { display: grid; gap: 10px; }

/* /consultation as a landing page (13 Nov 2026): what you leave with and how it works
   before the form, questions after it. */
.cs .cs-open__go { margin-top: 24px; }
.cs .cs-gets { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--fox-line); }
.cs .cs-gets > .h { margin-bottom: 18px; }
.cs .cs-gets__list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cs .cs-gets__list li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--fox-line); border-radius: var(--fox-radius-card); background: #fff; }
.cs .cs-gets__list b { font-family: var(--fox-font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; color: var(--fox-color-text-strong); }
.cs .cs-gets__list span { color: var(--fox-color-text); }
@media (min-width: 760px) { .cs .cs-gets__list { grid-template-columns: repeat(3, 1fr); } }
.cs .cs-how { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--fox-color-text-strong); }
.cs .cs-how li { display: flex; align-items: center; gap: 10px; }
.cs .cs-book-t { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--fox-line); scroll-margin-top: calc(var(--fox-nav-h, 88px) + 16px); }
.cs .cs-book-t + .cs-form .cs-step[data-step="1"] { margin-top: 18px; padding-top: 0; border-top: 0; }
.cs .cs-faq { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--fox-line); }
.cs .cs-faq > .h { margin-bottom: 8px; }
.cs .cs-faq details { border-bottom: 1px solid var(--fox-line); }
.cs .cs-faq summary { padding: 16px 0; font-weight: 500; color: var(--fox-color-text-strong); cursor: pointer; }
.cs .cs-faq details p { margin: 0 0 16px; max-width: 60ch; color: var(--fox-color-text); }
