/* site.css — the static SEO pages (hub, cities, school profiles, guides, for-schools)
   and the crawlable header/footer shared with the cinematic homepage.
   Plain CSS, no build step, no framework. Fast is the feature here.

   ONE TYPEFACE, EVERYWHERE (July 2026 design pass)
     These pages used to be set in a serif while the homepage was set in the
     system sans. Two typefaces on one domain reads as two websites, and the
     owner's verdict on the serif was that it looked retro rather than
     considered. --sans is now the only family in the file: body, headings,
     breadcrumbs, cards, guides. There is deliberately no serif fallback in the
     stack — if the first family is missing the browser should reach for
     another sans, never for Times.

   ONE BLOCK SYSTEM, EVERYWHERE (same pass)
     The homepage's shape — warm neutral page, content in white rounded cards
     with air between them — now runs through every inner page. .pblock is that
     card. Pages compose themselves out of blocks; nothing sits loose on the
     background except section headings and the breadcrumb line. */

:root {
  --ink: #152e49;
  --ink-soft: #627180;
  --ink-faint: #627180;
  --sky: #152e49;
  --sky-deep: #152e49;
  /* Shared with the redesigned homepage: warm cream canvas, deep navy ink,
     and a burnt-orange accent with strong contrast for white CTA text. */
  --sun: #c44d1b;
  --paper: #ffffff;
  --paper-warm: #f4f2ec;
  --paper-cool: #f8f7f3;
  --rule: #e2e0db;
  --measure: 42rem;
  --shell: 54rem;
  /* WIDTH PARITY (owner's ruling, addendum, July 2026). The single measure for
     every two-column filter+results layout on the site — the homepage's
     search results and /us/<state>/'s sidebar+cities — so the two can never
     drift narrower or wider than each other again. Roughly Aviasales' own
     content measure: noticeably narrower than the full screen, wider than the
     site's 44rem reading column. home.css's --col-wide reads this token
     directly rather than declaring its own number. See .wide-break below for
     how a state page reaches it from inside the narrower `.shell`.

     FIT TO FOUR CARDS (owner's addendum, July 2026). 68.75rem was a chosen
     round number, and it left about 113px of dead canvas to the right of the
     fourth popular-states tile — the one row on the homepage whose cards all
     fit on one line, so the one row where slack is visible rather than absorbed
     by a peeking card. The measure is now DERIVED from that row instead of
     picked: exactly four state tiles, their three gaps, the row block's own
     padding and border, and the homepage column's gutters. Nothing else moved.

       4 × 13.5rem  four .row--states cards      (home.css .row--states)
       3 × 0.75rem  the gaps between them        (home.css .row__scroll)
       2 × 1.4rem   the row block's side padding (home.css .row)
       2 × 1px      its border
       2 × 1.25rem  the .column gutters          (home.css .column)
       = 61.675rem

     Change any of those five numbers and change this sum with it, or the dead
     space comes back. The other rows are unaffected in kind: their cards are
     wider or narrower than a state tile, so each still ends mid-card at the
     trailing edge — which is the peek that says the row scrolls. */
  --wide-col: calc(4 * 13.5rem + 3 * 0.75rem + 2 * 1.4rem + 2px + 2 * 1.25rem);

  /* The page behind the cards. Same warm neutral the homepage column sits on,
     so a visitor moving from / to /us/texas/ does not change product. */
  --page-bg: #f4f2ec;
  --card-rule: #e2e0db;

  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Corner radii. --r-ctl is the control radius: tabs, chips, search fields,
     browse cards and buttons are rectangles with rounded corners now, not
     pills. --r-pill survives only for things that are genuinely round (the
     step numerals, the ✓ marker and the heart). */
  --r-ctl: 12px;
  --r-card: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 32, 58, 0.04), 0 2px 8px rgba(18, 32, 58, 0.04);
  --shadow-md: 0 2px 4px rgba(18, 32, 58, 0.05), 0 10px 28px rgba(18, 32, 58, 0.07);

  /* ROW 1'S HEIGHT, AND IT IS A CONSTANT ON PURPOSE (pass 6).
     The header is `position: fixed` on every page now, so something has to
     hold the space it no longer occupies. Measuring it in JavaScript and
     writing a padding would make the top of every page depend on a script
     having run — the page would load, paint, and then jump. A fixed number
     that the header is also sized to means the space and the bar are the same
     number from the first frame, with no script involved at all. */
  --hdr-h: 80px;
  /* Fallback height for the homepage's sticky search row. home.js measures the
     rendered section and replaces this value, including after responsive
     layout changes. */
  --hdr-row2-h: 144px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Every in-page anchor on the site — including city jump links — now has a
     fixed bar sitting over the top of the viewport. Without
     this, following one of them parks the heading you asked for underneath the
     bar. One declaration, all of them fixed, no per-anchor scroll-margin. */
  scroll-padding-top: calc(var(--hdr-h) + 1rem);
}

body {
  margin: 0;
  /* The space row 1 no longer takes in the flow, held open by exactly its own
     height. See --hdr-h. */
  padding-top: var(--hdr-h);
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: clip;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* WIDTH PARITY BREAKOUT (owner's ruling, addendum, July 2026). /us/<state>/'s
   filter-rail-plus-cities layout used to inherit `.shell`'s 54rem prose
   measure — comfortable for a paragraph, visibly narrower than the same
   two-column layout on the homepage, which lives in its own --col-wide
   column. This breaks a section out of `.shell` to --wide-col regardless of
   how deep it is nested, using the standard full-bleed-inside-a-constrained-
   parent technique: `.wide-break` expands to the full viewport width via a
   margin computed from `.shell`'s own centering (works for any container
   width, not just this one, and needs `.shell` to stay horizontally centered
   in ITS parent — true today and the only assumption this makes); its child
   `.wide-break__inner` then re-centers itself at --wide-col with the same
   1.25rem gutter `.column` uses on the homepage, so the two surfaces end up
   pixel-identical. Only /us/<state>/'s two-column section uses this — the
   breadcrumb, the intro paragraph and the CTA above/below it stay at `.shell`'s
   narrower prose width on purpose. */
.wide-break {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wide-break__inner {
  max-width: var(--wide-col);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (max-width: 640px) {
  .wide-break__inner {
    padding: 0 1rem;
  }
}

/* ---------------------------------------------------------------- header */
/*
   ROW 1 IS FIXED, SITE-WIDE (owner's ruling, pass 6, Aviasales as the
   reference). It used to scroll away with the page everywhere, and on the
   homepage a whole second bar flew down from the top to replace it — two bars
   doing one job with a visible gap between them. There is one bar now and it
   never moves: the brand, the section links and a school-finder action are
   reachable from anywhere on any page without scrolling back up.

   Its height is a token (--hdr-h) rather than whatever the content happens to
   measure, because `body` holds exactly that much space open for it and the
   two numbers cannot be allowed to disagree. `flex-wrap: nowrap` is part of
   that contract: a header that wraps to two lines is a header that is taller
   than the space reserved for it.
*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  height: var(--hdr-h);
  max-width: 1320px;
  padding: 0 28px;
  justify-content: space-between;
}

.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--sky-deep);
  text-decoration: none;
  /* Row 1 is a fixed height and it is the wordmark that breaks first: at
     375px "Start Your Wings" wrapped to three lines and pushed itself out of
     the bar. It never wraps now; what gives at that width is type size, in the
     media query at the foot of this file. */
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand span {
  color: var(--sun);
}

.site-nav {
  display: flex;
  /* Row 1 has a fixed height now (see .site-header), so nothing in it may
     wrap onto a second line. */
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand--inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sky-deep);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.brand--inner span {
  color: inherit;
}

.brand--inner svg,
.brand--footer-inner svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav--inner {
  gap: clamp(1rem, 2vw, 2.35rem);
  font-size: 0.78rem;
}

.site-nav--inner a {
  color: var(--sky-deep);
  text-decoration: none;
}

.site-nav--inner a:hover,
.site-nav--inner a[aria-current='page'] {
  color: var(--sun);
  text-decoration: none;
}

.site-nav--inner .inner-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 5px;
  background: var(--sun);
  color: #fff;
  font-size: inherit;
  font-weight: 650;
}

.site-nav--inner .inner-nav__cta:hover {
  background: #a93e12;
  color: #fff;
  text-decoration: none;
}
.site-nav--inner .inner-nav__cta[aria-current='page'] { color: #fff; }

.site-nav--inner .inner-nav__cta span {
  font-size: 1.15rem;
  line-height: 1;
}
.site-nav .school-nav__dashboard { font-weight: 750; color: var(--sky-deep); }
.site-nav .school-nav__dashboard:hover { color: var(--sun); }

.site-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  color: var(--sky-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav-toggle span { font-size: 17px; line-height: 1; }
.nav-mega__trigger {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--sky-deep);
  font: inherit;
  font-size: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.nav-mega.is-open .nav-mega__trigger,
.nav-mega__trigger:hover { color: var(--sun); }
.nav-mega__panel {
  position: absolute;
  top: 100%;
  right: max(16px, calc(50vw - 632px));
  z-index: 61;
  width: min(860px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid #dbe4ee;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(15, 23, 42, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s;
}
.nav-mega.is-open .nav-mega__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-mega__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.nav-mega__head > div { display: grid; gap: 5px; }
.nav-mega__head > div > span { color: #b45309; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.nav-mega__head strong { color: #0f172a; font-size: 21px; line-height: 1.2; }
#primary-nav .nav-mega__head > a { color: #047857; font-size: 12px; font-weight: 800; white-space: nowrap; }
.nav-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 16px; }
.nav-mega__group h3 { margin: 0 0 6px; padding: 0 10px; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
#primary-nav .nav-mega__group a { display: grid; gap: 4px; padding: 10px; border-radius: 10px; color: #0f172a; font-size: 14px; line-height: 1.3; white-space: normal; }
#primary-nav .nav-mega__group a:hover,
#primary-nav .nav-mega__group a:focus-visible { background: #f0f9ff; color: #0f172a; text-decoration: none; }
.nav-mega__group a strong { font-weight: 800; }
.nav-mega__group a span { color: #64748b; font-size: 12px; }

@media (max-width: 1150px) {
  .site-nav-toggle { display: inline-flex; }
  #primary-nav.site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--hdr-h) - 12px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid #dbe4ee;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
  }
  #primary-nav.site-nav.is-open { display: flex; }
  #primary-nav .nav-mega__trigger { width: 100%; justify-content: space-between; padding: 12px; text-align: left; }
  #primary-nav > a:not(.inner-nav__cta):not(.home-nav__cta) { display: block; padding: 12px; }
  #primary-nav .inner-nav__cta,
  #primary-nav .home-nav__cta { justify-content: space-between; margin-top: 8px; }
  #primary-nav .nav-mega__panel { position: static; display: none; width: auto; padding: 12px; border: 0; border-radius: 12px; background: #f8fafc; box-shadow: none; transform: none; }
  #primary-nav .nav-mega.is-open .nav-mega__panel { display: block; }
  #primary-nav .nav-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #primary-nav .nav-mega__head { align-items: start; flex-direction: column; }
  #primary-nav .nav-mega__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ typography */
main {
  flex: 1 0 auto;
  padding: 1.6rem 0 3.5rem;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sky-deep);
}

h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  margin: 0 0 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.22rem, 1.05rem + 0.8vw, 1.5rem);
  margin: 2rem 0 0.7rem;
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.4rem;
  font-weight: 700;
}

p,
li {
  max-width: var(--measure);
}

a {
  color: var(--sky);
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

/* ============================================================ block system
   Every inner page is a stack of these. First child never carries a top
   margin and last child never a bottom one, so the card's own padding is the
   only thing setting its internal air — a heading that kept its 2rem margin
   inside a card made every block look broken at the top. */
.pblock {
  background: var(--paper);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
  margin: 0 0 1rem;
}

.pblock > :first-child {
  margin-top: 0;
}

.pblock > :last-child {
  margin-bottom: 0;
}

.pblock h1 {
  margin-bottom: 0.5rem;
}

.state-description.directory-intro { padding-block: 1rem; }
.state-description .lede { margin-bottom: .35rem; }
.state-description__details > summary {
  cursor: pointer;
  width: fit-content;
  padding: .35rem 0;
  color: var(--sky);
  font-weight: 600;
}
.state-description__details > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.state-description__details .state-description__less,
.state-description__details[open] .state-description__more { display: none; }
.state-description__details[open] .state-description__less { display: inline; }
.state-description__details h2 { margin: .6rem 0 .35rem; font-size: 1.08rem; }
.state-description__details ul { margin-block: .45rem; padding-inline-start: 1.35rem; }
.state-description__details p { max-width: 76ch; margin: .65rem 0 0; }

#claim-form {
  display: grid;
  gap: 1rem;
  width: min(100%, 640px);
  margin: 1.25rem auto 0;
  padding: 1.5rem;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

#claim-form-view,
.claim-fields {
  display: grid;
  gap: 1rem;
}

#claim-form-view[hidden],
#partner-funnel-view[hidden] {
  display: none !important;
}

.claim-fields label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

#claim-form input:not([type="checkbox"]):not([type="hidden"]),
#claim-form select,
.claim-roi input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.claim-fleet,
.claim-systems {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--card-rule);
  border-radius: 12px;
}

.claim-fleet legend,
.claim-systems legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.claim-fleet__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.claim-fleet__row label { display: grid; gap: .35rem; font-weight: 600; min-width: 0; }
.claim-fleet__details { grid-column: 1 / -1; }
.claim-fleet__row input { width: 100%; box-sizing: border-box; }

.claim-fleet__row button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.claim-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.claim-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}

.claim-checkbox input {
  flex: none;
  margin-top: 0.3rem;
}

.claim-preview {
  max-width: 32rem;
  margin: 1rem auto 0;
  padding: 1.15rem;
  border: 1px solid var(--card-rule);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.claim-preview__top,
.claim-preview__fleet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.claim-preview__top span {
  color: #14743e;
  font-weight: 700;
}

.claim-preview__pill,
.claim-preview__fleet span {
  display: inline-block;
  margin: 0.15rem;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  background: #eff6ff;
  color: #173d65;
  font-size: 0.83rem;
}

.claim-preview__link {
  color: #145da0;
  text-decoration: underline;
}

.claim-checkout {
  display: grid;
  gap: 1.25rem;
  max-width: 54rem;
  margin: 2rem auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--card-rule);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.claim-funnel-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.claim-funnel-stages span {
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  background: #eff6ff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.claim-systems label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid var(--card-rule);
  border-radius: 10px;
  cursor: pointer;
}

.claim-systems label > span {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

.claim-checkout__summary {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: #f1f5f9;
}

.claim-checkout__summary [data-plan-total] {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.claim-roi {
  display: grid;
  gap: 0.5rem;
  max-width: 28rem;
}

.claim-checkout {
  max-width: 70rem;
  color: #15243a;
}

.claim-congrats {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid #a8dfc0;
  border-radius: 14px;
  background: #eaf8ef;
  color: #124b2c;
}

.claim-congrats p { margin: 0; }
.claim-congrats__icon { font-size: 1.7rem; }

.claim-comparison,
.claim-roi-hero,
.claim-system-grid,
.claim-how-grid,
.claim-why-grid {
  display: grid;
  gap: 1rem;
}

.claim-comparison,
.claim-roi-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.claim-school-card,
.claim-roi-calculator,
.claim-system-card,
.claim-how-grid article,
.claim-why-grid article,
.claim-founder {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--card-rule);
  border-radius: 16px;
  background: #fff;
}

.claim-school-card h3,
.claim-system-card h3,
.claim-how-grid h3,
.claim-why-grid h3 { margin: 0 0 0.65rem; }

.claim-school-card--partner {
  border-color: #bb8a42;
  box-shadow: 0 8px 24px rgba(20, 36, 61, 0.09);
}

.claim-card__eyebrow,
.claim-system-card__number {
  margin: 0 0 0.45rem;
  color: #6b7888;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.claim-mock-listing {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e1e6ec;
  border-radius: 12px;
  background: #f8fafc;
}

.claim-mock-listing--partner {
  border-color: #e7d5b3;
  background: #fffaf0;
}

.claim-mock-listing p { margin: 0.7rem 0; }
.claim-mock-listing__title { display: grid; gap: 0.55rem; }
.claim-badge { display: inline-flex; width: fit-content; padding: 0.28rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; }
.claim-badge--verified { background: #e1f4e8; color: #146139; }
.claim-badge--partner { background: #f5e5c4; color: #68430d; }
.claim-pill { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 999px; background: #e8eef6; font-size: 0.82rem; font-weight: 700; }
.claim-pill-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.claim-pill-list span { padding: 0.25rem 0.5rem; border-radius: 999px; background: #e8eef6; font-size: 0.78rem; }
.claim-mock-listing__note,
.claim-muted { color: var(--ink-soft); font-size: 0.88rem; }
.claim-partner-benefits { margin: 0.75rem 0 0; padding-left: 1.2rem; }
.claim-partner-benefits li + li { margin-top: 0.35rem; }

.claim-roi-hero {
  align-items: stretch;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 18px;
  background: #14243d;
  color: #fff;
}

.claim-roi-hero__copy { display: flex; flex-direction: column; justify-content: center; }
.claim-roi-hero__copy h2 { margin: 0 0 0.8rem; color: #fff; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.1; }
.claim-roi-hero__copy > p:not(.eyebrow) { color: #dbe5ef; }
.claim-roi-hero .eyebrow { color: #efbd70; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.claim-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0.65rem 0 1.2rem; }
.btn--accent { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1rem; border: 0; border-radius: 9px; background: #d39545; color: #1d2736; font-weight: 800; text-decoration: none; }
.btn--accent:hover { background: #e3aa5c; color: #172033; }
.claim-roi-hero .btn--ghost { color: #fff; }

.claim-proof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-top: auto; }
.claim-proof-stats div { display: grid; gap: 0.25rem; padding: 0.7rem; border-radius: 10px; background: rgba(255,255,255,0.08); }
.claim-proof-stats strong { color: #fff; font-size: 0.95rem; }
.claim-proof-stats span { color: #cfdae6; font-size: 0.75rem; line-height: 1.35; }

.claim-roi-calculator { color: #15243a; }
.claim-roi-calculator h3 { margin: 0; font-size: 1.25rem; }
.claim-roi-calculator > p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.9rem; }
.claim-range { display: grid; gap: 0.45rem; margin: 1rem 0; font-size: 0.86rem; }
.claim-range > span { display: flex; justify-content: space-between; gap: 1rem; }
.claim-range strong { white-space: nowrap; color: #14243d; }
.claim-range input { width: 100%; accent-color: #c78331; }
.claim-roi-results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin: 1rem 0; }
.claim-roi-results div { display: grid; gap: 0.3rem; padding: 0.8rem; border-radius: 10px; background: #f2f5f8; }
.claim-roi-results span { color: #566579; font-size: 0.76rem; }
.claim-roi-results strong { color: #15243a; font-size: 1.15rem; }
.claim-roi-calculator small { display: block; color: #697586; font-size: 0.72rem; line-height: 1.45; }

.claim-live-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 14px;
  background: #101c30;
  color: #fff;
}

.claim-live-call h3 { margin: 0 0 0.35rem; color: #fff; }
.claim-live-call p { margin: 0.2rem 0; color: #d1dae6; }
.claim-live-call .eyebrow { color: #efbd70; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.claim-live-call__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.claim-live-call__actions .btn--ghost { color: #fff; }

.claim-system-builder,
.claim-how,
.claim-why { display: grid; gap: 1rem; scroll-margin-top: 1rem; }
.claim-section-heading h2 { margin: 0 0 0.45rem; }
.claim-section-heading p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.claim-section-heading .eyebrow { margin: 0 0 0.35rem; color: #8a5c20; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.claim-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.claim-system-card { position: relative; display: flex; flex-direction: column; gap: 0.55rem; padding: 1.35rem 1.45rem; cursor: pointer; }
.claim-system-card:has(input:checked) { border-color: #bd8235; box-shadow: 0 0 0 2px rgba(189,130,53,0.15); }
.claim-system-card > input { position: absolute; top: 1.15rem; right: 1.15rem; width: 1.2rem; height: 1.2rem; accent-color: #a9691f; }
.claim-system-card__check { display: none; }
.claim-system-card__number { color: #916323; }
.claim-system-card h3 { padding-right: 1.5rem; }
.claim-system-card p { margin: 0; }
.claim-system-card__hook { color: #21364f; font-weight: 700; }
.claim-system-card ul { margin: 0.25rem 0 0.5rem; padding-left: 1.15rem; color: #526174; font-size: 0.88rem; }
.claim-system-card li + li { margin-top: 0.55rem; }
.claim-system-card__price { margin-top: auto; color: #15243a; font-size: 1.35rem; font-weight: 850; }
.claim-system-card__price small { margin-left: 0.2rem; color: #667487; font-size: 0.82rem; }
.btn--bundle { justify-self: start; padding: 0.65rem 0.9rem; border: 1px solid #c99753; border-radius: 9px; background: #fff8ec; color: #513914; font-weight: 800; cursor: pointer; }
.btn--bundle span { font-weight: 600; }
.claim-synergy-note { margin: 0; padding: 1rem 1.1rem; border-left: 4px solid #c78331; border-radius: 8px; background: #fff8ec; color: #4d402d; }

.claim-how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.claim-how-grid article > span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #14243d; color: #fff; font-size: 0.8rem; font-weight: 800; }
.claim-how-grid article h3 { margin-top: 0.7rem; }
.claim-how-grid article p,
.claim-why-grid article p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.9rem; }
.claim-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.claim-why-grid article { padding: 1.1rem; }
.claim-why-grid h3 { font-size: 1rem; }

.claim-founder { padding: 1.5rem; background: #f8f6f1; }
.claim-founder h2 { margin: 0 0 0.8rem; }
.claim-founder__contact { margin: 1rem 0 0; font-weight: 700; }
.claim-founder__contact a,
.claim-summary-call { color: #173d65; font-weight: 800; }

.claim-checkout__summary { gap: 0.8rem; padding: clamp(1.2rem, 3vw, 1.7rem); border: 1px solid #d5dce5; background: #f2f5f8; }
.claim-checkout__summary h2 { margin: 0; }
.claim-selected-systems { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.claim-selected-systems li { padding: 0.35rem 0.65rem; border-radius: 999px; background: #fff; border: 1px solid #dce2e9; font-size: 0.82rem; font-weight: 700; }
.claim-bundle-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.claim-bundle-row p { margin: 0; }
.claim-bundle-row strong { color: #146139; }
.claim-billing { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; margin: 0; padding: 0.8rem; border: 1px solid #d5dce5; border-radius: 10px; }
.claim-billing legend { padding: 0 0.35rem; font-weight: 800; }
.claim-billing label { display: inline-flex; align-items: center; gap: 0.4rem; }
.claim-billing input { accent-color: #173d65; }
.claim-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.4rem; border-top: 1px solid #d5dce5; }
.claim-total-row strong { font-size: 1.8rem; }
.claim-billing-note { margin: -0.5rem 0 0; color: #607084; font-size: 0.82rem; }
.claim-summary-call { justify-self: start; }

@media (max-width: 900px) {
  .claim-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claim-proof-stats { grid-template-columns: 1fr; }
  .claim-live-call { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  #claim-form {
    padding: 1rem;
  }

  .claim-funnel-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claim-fleet__row {
    grid-template-columns: 1fr;
  }

  .claim-comparison,
  .claim-roi-hero,
  .claim-system-grid,
  .claim-how-grid,
  .claim-why-grid { grid-template-columns: 1fr; }

  .claim-roi-results { grid-template-columns: 1fr; }
  .claim-hero-actions,
  .claim-live-call__actions { flex-direction: column; align-items: stretch; }
  .claim-hero-actions .btn,
  .claim-live-call__actions .btn { width: 100%; text-align: center; }
  .claim-billing { display: grid; }
}

/* A heading that introduces a run of cards, sitting on the page background
   rather than inside a card of its own. */
.sec-head {
  margin: 2rem 0 0.85rem;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
}

.sec-head .tree__count {
  font-weight: 400;
}

@media (max-width: 640px) {
  .pblock {
    padding: 1.2rem 1.1rem;
    border-radius: 14px;
  }
}

.breadcrumbs {
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin: 0 0 1.4rem;
}

.breadcrumbs a {
  color: var(--ink-faint);
}

.breadcrumbs span {
  padding: 0 0.35rem;
}

/* ----------------------------------------------------------------- lists */
.plain-list {
  padding-left: 1.15rem;
}

.plain-list li {
  margin-bottom: 0.5rem;
}

/* Each school card is its own block, floating directly on the page canvas —
   the owner's July 2026 ruling, made after measuring us against the reference
   himself. There is no wrapping panel around a list of results any more: white
   cards on a white panel read as one slab with hairlines in it. What makes a
   card read as separate is its own surface, a definite border, a soft lift and
   real space between it and the next one. */
.school-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

/* ZONES, NOT A STACK (owner's July 2026 pass, from a booking-site reference).
   A card used to be a column of paragraphs — summary, badges, a review
   sentence, a meta line, a CTA line — which meant every card was a wall of
   small text and no two cards scanned the same way. It is now three zones:

     media  a fixed image slot down the left, spanning the whole card
     main   name, the rating row, ONE clamped line of the school's own words,
            quiet badges, and one compact facts row
     act    the Details button, bottom-right

   The media column spans both rows, so the card's height is set by its
   content and the image slot fills it. Below 600px the media column is
   dropped entirely and the two remaining zones stack — see the media query at
   the bottom of this section. */
.school-card {
  max-width: none;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-ctl);
  padding: 0.95rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  grid-template-areas:
    'media main'
    'media act';
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.5rem;
  align-items: start;
  /* Explicit, not left to the "normal" default: when public/card-heights.js
     gives a card a taller min-height than its content needs, this is what
     pushes the extra space into the two auto rows so the Details button
     (align-self: end on .card-act) and the image slot (align-self: stretch
     on .card-media) land on the new bottom edge instead of leaving a gap
     under a card that stopped being the tallest one in its list. */
  align-content: stretch;
}
.school-card[data-card] { position: relative; padding-right: 3.1rem; }
.school-card:has(> .school-card__open),
.dashboard-card-preview { position: relative; grid-template-areas: 'media main'; grid-template-rows: auto; }
.school-card:has(> .school-card__open) { padding-right: 3.1rem; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.school-card:has(> .school-card__open):hover,
.school-card:has(> .school-card__open):focus-within { border-color: var(--sky-deep); box-shadow: 0 5px 18px rgba(24, 70, 116, .13); }
.school-card__open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.school-card__open:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.school-card .card-programs, .school-card .card-about { margin: .25rem 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.4; }
.school-card .card-programs { font-weight: 600; }
.school-card .card-about { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; }
.school-card :is([data-school-bookmark], [data-fav]) { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--card-rule); border-radius: 50%; background: #fff; color: var(--sky-deep); cursor: pointer; }
.school-card :is([data-school-bookmark], [data-fav]) svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.school-card :is([data-school-bookmark], [data-fav])[aria-pressed='true'] { background: var(--sky-deep); color: #fff; }
.school-card :is([data-school-bookmark], [data-fav]):focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

.school-card h3 {
  grid-area: auto;
  margin: 0 0 0.25rem;
  font-size: 1.06rem;
}

.school-card h3 a {
  text-decoration: none;
}

.school-card h3 a:hover {
  text-decoration: underline;
}

.school-card p {
  margin: 0.3rem 0;
  max-width: none;
}

.school-card__meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.school-card__meta a {
  color: var(--ink-faint);
}

/* ------------------------------------------------------- the image slot */
/* NO PHOTO IS NOT A PROBLEM TO PAPER OVER. We do not own photographs of these
   schools, and scraping Google Maps place photos is not licensed for reuse, so
   the slot renders as what it is: a flat sky tint with a small plane glyph,
   obviously a decorative placeholder rather than a picture of anything. When a
   partner school sends us real photography it drops straight into this slot,
   and the empty modifier comes off.

   CLICKABLE IMAGES (July 2026): wherever a profile page exists, both card
   renderers (public/home.js, scripts/build-pages.mjs) render this element as
   its own <a> — never nested inside another link —
   pointed at the same URL as the card's Details button. A school with no
   profile page still gets the plain non-interactive <div>. Either way the
   selector is the same, so this block styles both. */
.card-media {
  display: block;
  position: relative;
  grid-area: media;
  align-self: stretch;
  min-height: 82px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf1fa 0%, #dce7f5 100%);
  border: 1px solid #dbe5f2;
}

a.card-media:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.card-media--empty {
  display: grid;
  place-items: center;
}

.card-media--empty::after {
  content: '✈\FE0E';
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(36, 82, 143, 0.32);
  transform: rotate(-12deg);
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aircraft art remains a fallback for schools with no logo. */
.card-media--photo {
  background: linear-gradient(160deg, #eaf1fa 0%, #dce7f5 100%);
}

/* A school logo is contained inside the media slot rather than cropped. */
.card-media img.card-media__art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.card-media--logo {
  display: grid;
  place-items: center;
  background: #f4f7fb;
}

.card-media img.card-media__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
  object-fit: contain;
}

.card-main {
  grid-area: main;
  min-width: 0;
}

.card-act {
  grid-area: act;
  justify-self: end;
  align-self: end;
}

/* A card with no profile page behind it does not get a button-shaped hole where
   the button would be. Its link sits under the facts, left, reading as the
   quiet aside it is — otherwise a column of them draws a ghost button column
   down the right-hand side of the list. */
.card-act--quiet {
  justify-self: start;
  align-self: start;
}

/* --------------------------------------------------------- rating chip */
/* The platform and check date accompany a neutral score chip. A school with no
   rating gets no chip; a review count without a score prints on its own. */
.card-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.82rem;
}
.card-rating[hidden] { display: none; }

.card-rating__chip {
  display: inline-block;
  min-width: 2.15rem;
  text-align: center;
  padding: 0.16rem 0.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: #eaf1fa;
  color: #173d62;
  border: 1px solid #cfdef0;
}

.card-rating__count {
  color: var(--ink-soft);
}

/* ------------------------------------------------- one line, then a page */
/* The school's own words are a paragraph on its profile page and ONE line on a
   card. Clamped rather than truncated at build time, so the full sentence is
   still in the HTML for a crawler and for anyone reading with CSS off. */
.card-text {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* A status note ("their Google listing says temporarily closed, but their own
   Facebook says they are mid-move…") is a paragraph on the profile page and one
   line here, for the same reason the summary is: five lines of small grey text
   is what the redesign was aimed at. Clamped, not truncated — the whole note is
   still in the HTML. */
.card-note {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-facts {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--ink-soft);
}

/* A phone number and a "Website" link are single tokens to a reader; letting
   the line break inside one ("480-359-" / "7979") is what made this row read
   as two lines of noise rather than one row of facts. */
.card-facts a {
  color: var(--ink-soft);
  white-space: nowrap;
}

.card-hours {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.card-hours summary {
  width: fit-content;
  color: var(--sky-deep);
  font-weight: 700;
  cursor: pointer;
}

.card-hours summary span { color: var(--ink-soft); font-weight: 400; }
.card-hours dl { display: grid; gap: 0.15rem; margin: 0.5rem 0; }
.card-hours dl div { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: 0.35rem; }
.card-hours dt { font-weight: 700; }
.card-hours dd { margin: 0; }
.card-hours small { display: block; line-height: 1.4; }

.dashboard-opening-hours { min-width: 0; }
.dashboard-opening-hours > p { color: var(--ink-soft); font-size: 0.88rem; }
.dashboard-opening-hours > label { display: grid; gap: 0.35rem; max-width: 26rem; }
.dashboard-opening-hours__days { display: grid; gap: 0.65rem; margin: 1rem 0; max-width: 42rem; }
.dashboard-opening-hours__day { display: grid; grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr); gap: .65rem; align-items: center; border: 1px solid #dce7ed; border-radius: 8px; padding: .75rem; background: #f8fbfc; }
.dashboard-opening-hours__day > strong { display: block; }
.dashboard-opening-hours__day label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 600; }
.dashboard-opening-hours__day select { box-sizing: border-box; min-width: 0; width: 100%; padding: .5rem; }
.dashboard-opening-hours__times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.dashboard-opening-hours__day [data-hours-legacy],.dashboard-opening-hours__legacy-clear { grid-column: 2; }
.dashboard-opening-hours__day [data-hours-legacy] { color: var(--ink-soft); margin: .2rem 0 0; }
.dashboard-opening-hours__legacy-clear[hidden] { display: none !important; }
.dashboard-opening-hours__zone { margin-top: 0.9rem; }
@media (max-width: 480px) { .dashboard-opening-hours__day { grid-template-columns: minmax(4.6rem, 5.5rem) minmax(0, 1fr); gap: .4rem; padding: .55rem; }.dashboard-opening-hours__times { gap: .4rem; } }

/* --------------------------------------------------------- the actions */
/* A real button, sized for a card rather than for a page CTA, in the same
   orange as the search button. It only ever appears when there is a profile
   page behind it: a school we have not written up gets the quiet link instead,
   because a button that goes nowhere is worse than no button. */
.card-btn {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.52rem 1.15rem;
  border: 1px solid transparent;
  white-space: normal;
  overflow-wrap: break-word;
}

.card-btn--primary {
  background: var(--sun);
  color: #fff;
}

.card-btn--primary:hover {
  background: #a93e12;
}

.card-btn--outline {
  border-color: var(--sun);
  background: transparent;
  color: #a34818;
}

.card-btn--outline:hover {
  border-color: #843511;
  background: transparent;
  color: #843511;
}

.card-btn--outline:focus-visible {
  outline: 2px solid #843511;
  outline-offset: 2px;
}

.card-act {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

.card-act .card-btn {
  text-align: center;
}

.card-link {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  /* Clean over complete (owner's call): at phone width the image slot is the
     first thing to go rather than the thing that squeezes the name into three
     lines. The button goes full width under the facts. */
  .school-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'main'
      'act';
  }

  .school-card:has(> .school-card__open),
  .dashboard-card-preview { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: 'media main'; }

  .school-card:has(> .school-card__open) .card-media,
  .dashboard-card-preview .card-media { display: block; min-height: 64px; align-self: start; }

  .school-card:has(> .school-card__open) .card-media--empty,
  .dashboard-card-preview .card-media--empty { display: grid; }

  .card-media {
    display: none;
  }

  .card-act {
    justify-self: stretch;
  }

  .card-btn {
    display: block;
    text-align: center;
  }
}

.flag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 7px;
  padding: 0.1rem 0.55rem;
  background: var(--paper-warm);
  color: var(--sun);
  border: 1px solid #ecd9c0;
  vertical-align: 0.12em;
}

/* ----------------------------------------------------------------- facts */
.facts {
  margin: 1.5rem 0;
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
}

.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 0;
}

.facts dt {
  font-family: var(--sans);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex: 0 0 11rem;
}

.facts dd {
  margin: 0;
  flex: 1 1 14rem;
}

/* -------------------------------------------------------------- callouts */
.note {
  max-width: var(--measure);
  background: var(--paper-cool);
  border-left: 3px solid var(--sky);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

.note p {
  margin: 0;
}

/* The concierge CTA. It is a block like any other now — same width, same
   radius, same rhythm — just the one painted dark. */
.cta-block {
  max-width: none;
  margin: 0 0 1rem;
  padding: 1.6rem 1.7rem;
  border-radius: var(--r-card);
  background: var(--sky-deep);
  color: #eaf1fa;
  box-shadow: var(--shadow-sm);
}

.cta-block h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.cta-block p {
  margin: 0 0 1rem;
  color: #cfdcee;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* The shape the owner picked as the house control: a rectangle with rounded
   corners, not a pill. Everything clickable on the site now matches it. */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-ctl);
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--sun);
  color: #fff;
}

.btn--primary:hover {
  background: #a93e12;
  color: #fff;
}

.btn--ghost {
  border-color: #6d86ab;
  color: #eaf1fa;
}

/* Claim-page notice and verification notes. */
.note-inline {
  background: var(--paper-cool);
  border-left: 3px solid var(--sun);
  border-radius: 0 8px 8px 0;
  padding: 0.8rem 1rem;
  max-width: var(--measure);
  font-size: 0.92rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------- browse by location */
/* The pre-footer grid of collapsible state cards. Native <details>, so it opens
   with no JavaScript and every link inside is in the shipped HTML whether the
   card is open or shut. */
.browse {
  border-top: 1px solid var(--card-rule);
  background: var(--page-bg);
  padding: 2.25rem 0 0.5rem;
}

/* The same grid, reused on /flight-schools/ in place of the old full-width
   accordion tree. There it is the primary browse surface, so it gets a little
   more room per card and no top rule of its own. */
.browse--inline {
  border-top: 0;
  background: transparent;
  padding: 0;
}

.browse__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.browse__head h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin: 0;
  color: var(--sky-deep);
}

.browse__more {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.browse__more:hover {
  text-decoration: underline;
}

.browse__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  align-items: start;
}

/* Rectangles with rounded corners, closed and open alike — these used to be
   full pills, which is exactly the shape the owner asked us to drop. */
.browse__card {
  border: 1px solid var(--card-rule);
  border-radius: var(--r-ctl);
  background: #fff;
  font-family: var(--sans);
  box-shadow: var(--shadow-sm);
  /* Grid items default to min-width: auto, which lets a card's intrinsic
     content width push past its 1fr track instead of wrapping — the actual
     cause of the sideways scroll the owner flagged on the open /flight-schools/
     dropdowns (July 2026). min-width: 0 makes the card respect its grid track
     like any normal block, so long content wraps instead of overflowing. */
  min-width: 0;
}

.browse__card[open] {
  border-radius: var(--r-ctl);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(18, 32, 58, 0.05), 0 8px 24px rgba(18, 32, 58, 0.07);
}

.browse__card summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.65rem 1rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink);
}

.browse__card summary::-webkit-details-marker {
  display: none;
}

.browse__state {
  font-weight: 600;
}

.browse__count {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

/* The chevron, drawn in CSS so it needs no icon and rotates on open. */
.browse__card summary::after {
  content: '';
  margin-left: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.16s ease;
}

.browse__card[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

/* Single vertical column, always — a state card now shows at most ~10 links
   plus the "All in <State> →" line (see BROWSE_CITY_CAP in build-pages.mjs),
   so it no longer needs a fixed-height scroll box to stay a reasonable size.
   overflow-x: hidden is a belt-and-braces backstop, not the fix itself — the
   fix is min-width: 0 on .browse__card above plus the cap; nothing here
   should ever actually reach this edge. */
.browse__links {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.9rem;
  font-size: 0.87rem;
  overflow-x: hidden;
}

.browse__links li {
  margin-bottom: 0.28rem;
}

.browse__links a {
  color: var(--ink-soft);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.browse__links a:hover {
  text-decoration: underline;
}

.browse__n {
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.browse__all {
  font-weight: 600;
  color: var(--sky) !important;
}

@media (max-width: 860px) {
  .browse__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .browse__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--card-rule);
  background: var(--paper-warm);
  padding: 2.25rem 0 2.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

/* Brand + three short link columns. Narrower tracks than the old essay layout,
   because none of these columns is prose any more. */
.footer-grid--slim {
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .footer-grid--slim {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-honesty {
  max-width: 34rem;
}

.footer-honesty p {
  margin: 0 0 0.8rem;
  max-width: none;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.83rem;
  color: var(--ink-faint);
}

.footer-legal p {
  margin: 0;
  max-width: none;
}

/* Inner pages share the homepage's school-owner invitation and deep-navy
   footer, while keeping the directory, Arizona hub and guides. */
.site-footer--figma {
  border: 0;
  background: var(--sky-deep);
  padding: 0;
  color: #fff;
}

.site-footer--figma .site-footer__inner {
  max-width: 1264px;
}

.site-footer--figma .site-footer__invite {
  padding: 3.25rem 0 2rem;
}

.site-footer--figma .site-footer__invite .site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-footer--figma .site-footer__eyebrow {
  margin: 0 0 0.8rem;
  color: #c7d1dc;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer--figma .site-footer__invite h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
}

.site-footer--figma .site-footer__invite p:not(.site-footer__eyebrow) {
  max-width: 42rem;
  margin: 0;
  color: #c4d0dc;
  font-size: 0.88rem;
}

.site-footer--figma .site-footer__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 5px;
  background: var(--sun);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer--figma .site-footer__button:hover {
  background: #a93e12;
}

.site-footer--figma .site-footer__body {
  max-width: 1264px;
  padding-top: 0;
  padding-bottom: 1.35rem;
}

.site-footer--figma .site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding: 0.2rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-footer--figma .brand--footer-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.site-footer--figma .brand--footer-inner span {
  color: inherit;
}

.site-footer--figma .site-footer__brand p {
  max-width: 17rem;
  margin: 0.85rem 0;
  color: #c4d0dc;
  font-size: 0.75rem;
}

.site-footer--figma .site-footer__talk {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer--figma .site-footer__talk span {
  margin-left: 0.45rem;
  font-size: 1rem;
}

.site-footer--figma .site-footer__grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer--figma .site-footer__grid h2 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer--figma .site-footer__grid a:not(.brand) {
  color: #bdcbd9;
  font-size: 0.7rem;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer--figma .site-footer__grid a:not(.brand):hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer--figma .site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 0;
  color: #bdcbd9;
  font-size: 0.6rem;
}

.site-footer--figma .site-footer__legal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer--figma .site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer--figma .site-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

/* -------------------------------------------------- homepage static core
   The pre-JS content the crawler (and a no-JS visitor) sees. main.js removes
   #seo-core once the cinematic experience has taken over the viewport. */
#seo-core {
  padding: 3.5rem 0 3rem;
}

#seo-core .eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  margin: 0 0 0.6rem;
}

.home-header {
  position: relative;
  z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================= directory
   /flight-schools/ and the 53 state pages. Same ink, same paper, same rules as
   the rest of the site — the directory is not allowed to look like a different
   product. Everything here degrades to readable text with CSS or JS switched
   off, because the accordion is the no-JS path. */

/* The search + filters get a block of their own on /flight-schools/ — it is
   the one control surface on the page and it should not share a card with
   prose. .pblock does the card; this only adds what is specific to it. */
.search {
  max-width: none;
}

.search h2 {
  margin-top: 0;
}

.search__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.search__input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-ctl);
  background: var(--paper);
  color: var(--ink);
}

.search__input:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}

.search__status {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0.75rem 0 0;
  min-height: 1.2em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.chip {
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-ctl);
  border: 1px solid var(--card-rule);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}

.chip:hover {
  border-color: var(--sun);
  color: var(--sun);
}

.chip[aria-pressed='true'] {
  background: var(--sun);
  border-color: var(--sun);
  color: #fff;
}

.results-head {
  margin: 1.75rem 0 0.35rem;
  font-size: 1.05rem;
  color: var(--sky-deep);
}

.note-inline {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-faint);
  max-width: var(--measure);
  margin: 0.35rem 0 0;
}

.note--quiet {
  background: transparent;
  border-left-color: var(--rule);
  font-size: 0.9rem;
  color: var(--ink-faint);
  padding: 0.5rem 0 0.5rem 1rem;
  border-radius: 0;
}

/* ------------------------------------------------------------ the two tiers */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  vertical-align: 0.14em;
}

/* The directory promise uses the same full label shown on Add Your School. */
.badge--verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dcfce7;
  border: 1px solid #b7ebc6;
  color: #166534;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.22rem 0.55rem;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}

/* Quieter and smaller since the card redesign — the badges are a supporting
   detail on a card whose loud elements are now the name, the score chip and
   the button. No border, no fill weight, just a tinted token. */
.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0;
  margin: 0 0 0.35rem;
}

.badges li {
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 0.08rem 0.45rem;
  border-radius: 6px;
  background: var(--paper-cool);
  color: var(--ink-soft);
  border: 1px solid transparent;
}

/* Tier used to be a coloured left border (blue verified / amber enriched /
   grey listed). The owner dropped that stripe entirely (2026-07-26) — the
   ✓ badge next to a verified school's name is now the only tier marker on
   the card; enriched and listed cards carry no marker at all. */
.school-card--listed {
  background: #fff;
}

.school-card--enriched {
  background: var(--paper);
}

.school-card__cta {
  font-family: var(--sans);
  font-size: 0.88rem;
  margin-top: 0.55rem;
}

/* The full-width accordion tree that used to live on /flight-schools/ was
   replaced in July 2026 by the same collapsible-card grid the footer uses
   (.browse__grid, three columns on desktop). Its rules went with it; what
   survives here is the small count chip, which the state pages and the
   section headings still use. */
.tree__name {
  font-weight: 600;
}

.tree__count {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.plain-list--columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.15rem 1rem;
  list-style: none;
  padding: 0;
}

/* ------------------------------------------------------------ ground school */
.resource-section { margin: 2rem 0; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.resource-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.25rem 3rem 1.25rem 1.35rem;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-ctl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--sky-deep);
  text-decoration: none;
}
.resource-card:hover,
.resource-card:focus-visible { border-color: var(--sky); box-shadow: var(--shadow-md); text-decoration: none; }
.resource-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.resource-card p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.resource-card > span { position: absolute; top: 1.3rem; right: 1.3rem; color: var(--sun); font-weight: 700; }
@media (max-width: 700px) { .resource-grid { grid-template-columns: 1fr; } }

/* The guides at /guides/<slug>/. They use the same type, the same measure and
   the same block system as every other page — a magazine section that restyled
   itself would read as a different website, which is the opposite of the point.
   Three things are specific to them: a byline, the index cards, and the small
   date line on those. */
.byline {
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin: 0.9rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

/* One card for the whole article: continuous prose chopped into six floating
   panels is less readable, not more. It gets a little more inner room than a
   standard block because somebody is going to sit and read it. */
.pblock--article {
  padding: 1.9rem 2rem;
}

.pblock--article > h2:first-child {
  margin-top: 0;
}

.guide-index {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.85rem;
}

/* Index entries float on the canvas exactly like school cards do — same
   surface, same border, same lift, same spacing. */
.guide-index__item {
  max-width: none;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-ctl);
  padding: 1.15rem 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guide-index__item h2 {
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
}

.guide-index__item h2 a {
  text-decoration: none;
}

.guide-index__item h2 a:hover {
  text-decoration: underline;
}

.guide-index__item p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-index__meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.5rem !important;
}

/* ================================================ PASS 4 — the stacked page
   (July 2026, owner-approved "stacked blueprint")

   School pages and city pages are now two halves: an answer-shaped top — media
   header, chips, program cards, map, contact — and an editorial bottom. These
   rules style the new furniture. Nothing above this line changed for the pass;
   the block system, the cards and the facts list are reused as they are, which
   is why this section is short. */

/* The top card of a stacked page. Slightly more air than a normal block,
   because it is carrying an h1, a lede, an image and three rows of metadata
   and it should not read as cramped next to the cards under it. */
.pblock--hero {
  padding-bottom: 1.3rem;
}

.pblock--hero .card-rating,
.pblock--hero .badges,
.pblock--hero .card-facts {
  margin: 0.7rem 0 0;
}

/* School profiles use the reference's clear hierarchy with our own colors.
   The body stays factual and omits fields that have no source data. */
main:has(.listing-profile__hero) { background: #fff; padding-top: 0; }
.listing-profile__hero { margin-top: 0; padding: clamp(1.8rem, 4vw, 3rem) 1.25rem 0; background: linear-gradient(112deg, #102c42, #185568); border-bottom: 4px solid var(--sun); color: #fff; }
.listing-profile__hero-inner { width: 100%; max-width: 68rem; margin: 0 auto; }
.listing-profile__main > [data-school-social] .school-social-links { margin: 0 0 1.5rem; }
.school-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .6rem; }
.school-social-links a { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border-radius: 6px; background: white; }
.school-social-links img { width: 20px; height: 20px; }
.school-social-links a:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
form .school-social-editor-row { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr) auto; align-items: end; gap: .6rem; }
form .school-social-editor-row label { min-width: 0; }
@media (max-width: 600px) {
  form .school-social-editor-row { grid-template-columns: minmax(0,1fr); }
  form .school-social-editor-row button { justify-self: start; }
}
.listing-profile__hero .eyebrow { margin: 0 0 1rem; color: #9bd8e4; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.11em; }
.listing-profile__identity { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); }
.listing-profile__identity-copy { flex: 1 1 260px; min-width: 0; }
.listing-profile__identity h1 { margin: 0 0 0.3rem; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.listing-profile__identity p:last-of-type { margin: 0 0 0.55rem; color: #dbeaf0; }
.listing-profile__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.listing-profile__badges .badge { margin: 0; font-size: 0.7rem; line-height: 1.3; vertical-align: middle; }
.listing-profile__badges .badge--partner { display: inline-flex; align-items: center; justify-content: center; padding: 0.22rem 0.55rem; border: 1px solid #e7d5a5; font-weight: 700; line-height: 1.2; letter-spacing: normal; text-transform: none; }
.listing-profile__logo { flex: 0 0 124px; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--sky); box-shadow: 0 10px 28px #071b2a33; }
.listing-profile__logo img { max-width: 112px; max-height: 112px; object-fit: contain; }
.listing-profile__logo span { font-size: 3rem; line-height: 1; }


.listing-profile__booking-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.listing-profile__save { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 44px; height: 44px; padding: 0; border: 1px solid #cbd9e2; border-radius: 50%; background: #fff; color: var(--sky-deep); cursor: pointer; }
.listing-profile__save svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.listing-profile__save[aria-pressed='true'] svg { fill: currentColor; }
.listing-profile__save:hover, .listing-profile__save:focus-visible { background: #e7f5f9; }
.listing-profile__save:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }


.listing-profile__summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 1.5rem 0 0; overflow: hidden; border: 1px solid #dbe6ec; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -2px 24px #071b2a16; }
.listing-profile__summary div { min-width: 0; padding: 0.85rem 1rem; border-right: 1px solid #e0e8ed; border-bottom: 1px solid #e0e8ed; }
.listing-profile__summary div:nth-child(3n) { border-right: 0; }
.listing-profile__summary dt, .listing-profile__contact-grid dt, .listing-profile__training-extras dt { color: var(--ink-faint); font: 800 0.71rem var(--sans); letter-spacing: 0.07em; text-transform: uppercase; }
.listing-profile__summary dd { margin: 0.3rem 0 0; color: var(--ink); font-weight: 750; overflow-wrap: anywhere; }
.listing-profile__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 500px); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); width: 100%; max-width: 90rem; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 2rem; }
.listing-profile__main { min-width: 0; }
.listing-profile__body .listing-profile__section,
.listing-profile__body .pblock--map { margin: 0 0 2rem; padding: 0 0 2rem; border: 0; border-bottom: 1px solid #dbe5eb; border-radius: 0; background: transparent; box-shadow: none; }
.listing-profile__body .listing-profile__section:last-child { border-bottom: 0; }
.listing-profile__section h2 { margin: 0.2rem 0 1.05rem; }
.listing-profile__section .eyebrow, .listing-profile__contact-card .eyebrow { margin: 0 0 0.3rem; color: #15789b; font: 800 0.69rem var(--sans); letter-spacing: 0.11em; }
.listing-profile__section > p:not(.eyebrow) { max-width: 65ch; }
.listing-profile__training-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.8rem; }
.listing-profile__training-card[data-training-kind="features"] { order: 1; }
.listing-profile__training-card[data-training-kind="aircraft"] { order: 2; }
.listing-profile__training-card[data-training-kind="programs"] { order: 3; }
.listing-profile__training-card[data-training-kind="accelerated"] { order: 4; }
.listing-profile__training-card[data-training-kind="other"] { order: 5; }
.listing-profile__training-card[data-training-kind="programs"] { order: 1; }
.listing-profile__training-card[data-training-kind="aircraft"] { order: 2; }
.listing-profile__training-card[data-training-kind="discovery"] { order: 3; }
.listing-profile__training-card[data-training-kind="payment"] { order: 4; }
.listing-profile__training-card[data-training-kind="student"] { order: 5; }
.listing-profile__training-card li.listing-profile__program-name { margin-top: .8rem; font-weight: 700; }
.listing-profile__training-card li.listing-profile__program-option,
.listing-profile__training-card li.listing-profile__program-inclusion { margin-left: 1rem; font-size: .85rem; }
.listing-profile__training-card li.listing-profile__program-inclusion { color: #526b7d; }
.listing-program-detail { padding: .8rem 0; border-bottom: 1px solid #dce7ed; }
.listing-program-detail > strong { display: block; margin-bottom: .6rem; }
.listing-program-detail .listing-program-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); margin: .5rem 0; }
.listing-program-detail details { margin: .7rem 0; }
.listing-profile__training-card { padding: 1rem; border: 1px solid #dce7ed; border-radius: 10px; background: #f5f9fb; }
.listing-profile__training-card h3 { margin: 0 0 0.7rem; font-size: 0.95rem; }
.listing-profile__training-card ul { margin: 0; padding: 0; list-style: none; }
.listing-profile__training-card li { position: relative; margin: 0 0 0.5rem; padding-left: 1.3rem; line-height: 1.4; font-size: 0.91rem; }
.listing-profile__training-card li:last-child { margin-bottom: 0; }
.listing-profile__training-card li::before { position: absolute; left: 0; content: '✓'; color: #087a59; font-weight: 800; }
.listing-profile__training-extras { margin: 1.1rem 0 0; }
.listing-profile__training-extras > div { padding: 0.8rem 0; border-bottom: 1px solid #e1e9ed; }
.listing-profile__training-extras dd { margin: 0.25rem 0 0; overflow-wrap: anywhere; }
.listing-profile__contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.5rem; margin: 0; }
.listing-profile__contact-grid > div { min-width: 0; padding: 0.8rem 0; border-top: 1px solid #e1e9ed; }
.listing-profile__contact-grid > .listing-profile__hours-row { grid-column: 1 / -1; }
.listing-profile__contact-grid--aligned > [data-profile-detail] { grid-column: 1; grid-row: var(--detail-row); }
.listing-profile__contact-grid--aligned > .listing-profile__hours-row { grid-column: 2; grid-row: var(--detail-row); }
.listing-profile__contact-grid--aligned > .listing-profile__extra-detail { grid-column: 1 / -1; }
.listing-profile__review-date { display: block; color: var(--ink-faint); font-size: 0.75rem; margin-top: 0.25rem; }
@media (max-width: 600px) {
  .listing-profile__contact-grid.listing-profile__contact-grid--aligned { grid-template-columns: minmax(0,1fr); }
  .listing-profile__contact-grid--aligned > [data-profile-detail],
  .listing-profile__contact-grid--aligned > .listing-profile__hours-row { grid-column: 1; grid-row: auto; }
}
.listing-profile__contact-grid dd { margin: 0.25rem 0 0; overflow-wrap: anywhere; }
.listing-profile__aside { position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.listing-profile__contact-card { padding: 1.3rem; border: 1px solid #dce6ec; border-top: 4px solid var(--sun); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px #102b4512; }
.listing-profile__contact-card h2 { margin: 0.35rem 0 0.6rem; font-size: 1.4rem; }
.listing-profile__contact-card p:not(.eyebrow) { color: var(--ink-soft); font-size: 0.92rem; }
.listing-profile__contact-card .btn { display: flex; margin-top: 1.2rem; text-align: center; }
.profile-calendar { width: 100%; max-width: 420px; margin: 0.85rem auto 0; padding: 0.75rem; border: 1px solid #dce6ec; border-radius: 10px; background: #f7fafc; }
.profile-calendar__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.8rem; }
.profile-calendar__head h3 { margin: 0; font-size: 0.92rem; }
.profile-calendar__head span { flex: 0 0 auto; padding: 0.25rem 0.48rem; border-radius: 999px; background: #e5edf2; color: #40566a; font-size: 0.7rem; font-weight: 800; }
.profile-calendar .fc { --fc-border-color: #dae5ec; min-width: 0; font-family: var(--sans); }
.profile-calendar [data-profile-calendar-grid] > div:first-child { flex-wrap: nowrap; margin-bottom: 0.55rem; }
.profile-calendar [data-profile-calendar-grid] [role="heading"] { font-size: 1rem; white-space: nowrap; }
.profile-calendar [data-profile-calendar-grid] button[aria-label$="Month"] { min-width: 2rem; padding: 0.2rem; }
.profile-calendar [data-profile-calendar-grid] [role="row"][aria-label^="Week "] { flex-basis: 36px !important; min-height: 36px; }
.profile-calendar .fc .fc-daygrid-day-number { padding: 0.25rem; font-size: 0.76rem; }
.profile-calendar .fc .fc-col-header-cell-cushion { padding: 0.2rem 0; font-size: 0.68rem; }
.profile-calendar .fc .fc-daygrid-day-frame { min-height: 2rem; }
.listing-profile__contact-card .profile-calendar__note { margin: 0.8rem 0 0; font-size: 0.78rem; line-height: 1.4; }
.listing-profile__phone { display: inline-block; margin-top: 0.85rem; font-weight: 700; }
.listing-profile__share { display: flex; align-items: center; gap: 0.55rem; padding: 1rem 0; color: var(--ink-faint); font-size: 0.77rem; font-weight: 700; }
.listing-profile__share span { margin-right: auto; }
.listing-profile__share a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dce6ec; border-radius: 50%; background: #fff; }
.listing-profile__share a:hover { background: #edf7fa; }
.listing-profile__share img { display: block; }
.listing-profile__owner { font-weight: 700; }
[data-live-profile] [hidden] { display: none !important; }
.compare-shortcut { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; padding: 0.55rem 0.85rem; border-radius: 999px; background: var(--sky-deep); color: #fff; box-shadow: 0 8px 24px #102b4533; font: 700 0.86rem var(--sans); text-decoration: none; }
.compare-shortcut span { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--sky-deep); }
.compare-shortcut:hover { background: var(--sky); color: #fff; }
.compare-shortcut:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.compare-shortcut[hidden] { display: none; }
@media (max-width: 480px) { .compare-shortcut { right: 12px; bottom: 12px; } }
@media (max-width: 1050px) {
  .listing-profile__body { grid-template-columns: minmax(0,1fr); }
  .listing-profile__aside { position: static; grid-row: 1; }
}
@media (max-width: 580px) {
  .listing-profile__hero { padding-top: 1.5rem; }
  .listing-profile__identity { align-items: flex-start; gap: 0.8rem; }
  .listing-profile__logo { flex-basis: 72px; width: 72px; height: 72px; border-radius: 10px; }
  .listing-profile__logo img { max-width: 64px; max-height: 64px; }
  .listing-profile__logo span { font-size: 2rem; }
  .listing-profile__identity h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .listing-profile__identity-copy { flex-basis: calc(100% - 100px); }

  .listing-profile__summary div { padding: 0.65rem; font-size: 0.82rem; }
  .listing-profile__training-grid, .listing-profile__contact-grid { grid-template-columns: minmax(0,1fr); }
}

/* The call/ask pair at the top of a city page. .cta-row already exists inside
   .cta-block; this modifier is the same row standing on a white card, so it
   only needs its own spacing. */
.cta-row--hero {
  margin: 1.1rem 0 0.9rem;
}

/* .btn--ghost was written for the navy .cta-block, so its text colour is a
   near-white that vanishes on a white card. The hero row is the same pair of
   buttons standing on paper, so it gets the light-surface treatment: same
   shape, ink-blue text, a visible rule instead of an invisible one. */
.cta-row--hero .btn--ghost {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--sky-deep);
}

.cta-row--hero .btn--ghost:hover {
  border-color: var(--sky);
  background: var(--paper-cool);
}

/* ------------------------------------------------------------- media header
   Same honesty rule as .card-media, at page scale: a decorative placeholder
   unless src/data/card-art.mjs has real, locally-hosted art for this school.
   No school gains a photograph it does not have. */
.hero-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 120px;
  margin: 1.1rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf1fa 0%, #dce7f5 100%);
  border: 1px solid #dbe5f2;
  position: relative;
}

.hero-media--empty {
  display: grid;
  place-items: center;
}

.hero-media--empty::after {
  content: '✈\FE0E';
  font-size: 3rem;
  line-height: 1;
  color: rgba(36, 82, 143, 0.28);
  transform: rotate(-12deg);
}

.hero-media--art {
  display: grid;
  place-items: center;
}

.hero-media img.hero-media__art {
  display: block;
  width: auto;
  max-width: min(420px, 70%);
  height: 78%;
  object-fit: contain;
}

.hero-media img.hero-media__logo {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: auto;
  height: 34px;
  max-width: 40%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 4px 7px;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------- program cards
   The hotel-room-card row. Every card carries the same concierge ask, and the
   price on it is an industry RANGE — the note under the row says so in words,
   and src/data/programs.js explains why in full. Do not restyle the range to
   look like a quoted price. */
.prog-grid {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.prog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.15rem;
}

.prog-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.prog-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.prog-card__price {
  margin: 0.65rem 0 0;
  line-height: 1.3;
}

.prog-card__price strong {
  font-size: 1.16rem;
  color: var(--sky-deep);
}

.prog-card__price span {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-faint);
}

.prog-card__text {
  margin: 0.7rem 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Pushes the ask to the bottom edge so a row of cards of different text
   lengths still lines its buttons up. */
.prog-card .card-btn {
  margin-top: auto;
  align-self: flex-start;
  text-align: left;
}

/* ------------------------------------------------------------------- map
   OpenStreetMap's standard embed. The aspect-ratio wrapper is what keeps the
   iframe from collapsing to its default 150px height, and the ODbL attribution
   under it is required — see the note on mapBlock() in scripts/build-pages.mjs. */
.pblock--map .map-embed {
  margin-top: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  aspect-ratio: 16 / 9;
  background: var(--paper-cool);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

@media (max-width: 600px) {
  .pblock--map .map-embed {
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------------------- editorial
   The long read at the bottom of a city page, and the restructured profile
   prose at the bottom of a school page. On a city page it alternates text and
   an image down the column; on a school page (.ed--profile) the sections are
   ordinary blocks and this wrapper only groups them. */
.ed {
  display: block;
  margin: 1.75rem 0 1rem;
}

.ed__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 1.95rem);
  line-height: 1.22;
}

.ed__row {
  background: var(--paper);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 1.3rem;
  align-items: center;
}

.ed__row > :first-child,
.ed__text > :first-child {
  margin-top: 0;
}

.ed__row > :last-child,
.ed__text > :last-child {
  margin-bottom: 0;
}

.ed__row h2 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.3;
}

.ed__row--right {
  grid-template-columns: 1.35fr 1fr;
}

.ed__row--left {
  grid-template-columns: 1fr 1.35fr;
}

.ed__row--left .ed__text {
  order: 2;
}

.ed__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .ed__row--right,
  .ed__row--left {
    grid-template-columns: 1fr;
  }

  /* On one column the picture always follows the words it belongs to, whatever
     side it was on at desktop width. */
  .ed__row--left .ed__text {
    order: 0;
  }
}

@media (max-width: 640px) {
  .ed__row {
    padding: 1.2rem 1.1rem;
    border-radius: 14px;
  }
}

/* ============================================================ sidebar layout
   Shared by every two-column results/browse surface on the site (owner's
   ruling, July 2026, Aviasales results page as the visual reference):
   /us/<state>/ (the "where they are" city list, see stateCard/`sidebar` in
   build-pages.mjs) and the homepage's search results (the Filters card, see
   build-home.mjs). One grid, one card component, so every sidebar on the
   site reads as the same idiom rather than two competing ones.

   .aside-card is deliberately plain <details>/<div> markup, not JS-driven:
   the jump-list card works with JavaScript off (it always did, as a full-
   width block before this pass), and the Filters card degrades to "a list of
   checkboxes with no results below yet" rather than disappearing. */
.sidebar-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  align-items: start;
  gap: 1.4rem;
}

/* `display: grid` above beats the UA [hidden] rule on specificity ties
   (author styles win over UA styles) — this is the toggle public/home.js's
   resultsLayout.hidden actually relies on. Without it the results sidebar
   would stay visible, empty, before anyone has searched. */
.sidebar-layout[hidden] {
  display: none;
}

.sidebar-layout__main {
  min-width: 0;
}

/* The rail sticks BELOW row 1, which is fixed on every page since pass 6 —
   `top: 1.25rem` parked its first 60px underneath the bar. It also has to fit
   the viewport now that it carries six filter groups and a city list: cap the
   height at what is left and let it scroll inside itself, or the last filter
   is simply unreachable on a laptop. */
.aside-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}

.aside-card {
  background: var(--paper);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.2rem;
  font-family: var(--sans);
}

.aside-card > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--sky-deep);
  font-size: 1rem;
}

.aside-card > summary::-webkit-details-marker {
  display: none;
}

/* The chevron, same CSS-drawn shape as .browse__card's, so every disclosure
   control on the site rotates the same way when it opens. */
.aside-card > summary::after {
  content: '';
  margin-left: auto;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.16s ease;
  flex: 0 0 auto;
}

.aside-card[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.aside-card__n {
  margin-left: auto;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.82rem;
  white-space: nowrap;
}

.aside-card__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--card-rule);
  font-size: 0.9rem;
  max-height: 22rem;
  overflow-y: auto;
}

.aside-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.aside-card__list a {
  color: var(--ink-soft);
  text-decoration: none;
}

.aside-card__list a:hover {
  text-decoration: underline;
}

.aside-card--cta p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.btn--block {
  display: block;
  text-align: center;
}

@media (max-width: 900px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  /* There is no viewport to fit the rail into once it is a full-width block
     above the results, so the cap and the inner scroll both come off. */
  .aside-stack {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* ==========================================================================
   THE FILTER RAIL — shared by the homepage and every /us/<state>/ page
   ==========================================================================

   These rules were written for the homepage and lived in home.css. Pass 6 put
   the same rail on the state pages, which load site.css and nothing else, so
   the component moved down here with the sidebar chrome it sits inside. Both
   surfaces render it from one function (scripts/filter-ui.mjs) and style it
   from one place; the homepage adds nothing but its own colour context.

   Plain checkbox + label rows, not a chip row — "Verified only" does not appear
   in this list, the ✓ marker stays a pure binary badge on a card, it is just
   not something you can filter by. */
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-rule);
}

/* Florida has 84 cities and California has more. A city list that runs the
   whole height of the rail pushes every other filter off the bottom of it, so
   the list scrolls inside its own card and the six groups underneath stay
   where a visitor can see them. Nothing is hidden by this: every city is still
   in the box, and every one of them is still a real anchor in the HTML. */
.filter-list--scroll {
  max-height: 17rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

/* A row is a <div>, not a <label> (July 2026 polish pass): the "?" button has
   to be a SIBLING of the label, because anything inside a label forwards its
   clicks to the control and a help button that ticks the checkbox is not a help
   button. The same is true of a city page's ↓ jump link. The label still wraps
   the input and its words, so clicking the words still ticks it — the hit area
   a visitor uses did not shrink. */
.filter-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.filter-row__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  cursor: pointer;
}

.filter-row input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  accent-color: var(--sky);
}

/* The count at the end of a row — an aircraft family's schools, a city's. Right
   aligned so a list of them reads as a small table rather than ragged lines. */
.filter-row__n {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ink-faint);
  flex: 0 0 auto;
  padding-left: 0.4rem;
  font-variant-numeric: tabular-nums;
}

/* THE CITY ANCHOR THAT SURVIVED THE CHECKBOX (pass 6). Every city row on a
   state page still carries its real `#city-…` link — that anchor is a crawl
   path and an in-page jump, not decoration, and with scripting off it is the
   entire jump list this replaced. It is small and quiet because ticking the box
   is the primary action now and jumping is the fallback. */
.filter-row__jump {
  flex: 0 0 auto;
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--r-pill);
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1;
}

.filter-row__jump:hover,
.filter-row__jump:focus-visible {
  color: #fff;
  background: var(--sky);
}

.filter-row__n {
  order: 2;
}

.filter-group .filter-row {
  margin-bottom: 0.4rem;
}

.filter-group .filter-row:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------- filter help bubbles */
/*
   THE "?" AND ITS BUBBLE (owner's ruling, July 2026 polish pass; shared since
   pass 6, behaviour in public/filter-help.js).

   Every explained filter used to carry its explanation as a permanent grey
   paragraph under the label. Six of them stacked turned a filter rail into an
   essay, and a rail you have to read is a rail nobody uses. The same sentence
   now sits behind this button and opens on hover AND on click, and closes on
   mouse-out, click-away or Escape.

   THE BUBBLE IS position: fixed AND PORTALLED TO <body>, and neither half is a
   style choice. .aside-stack scrolls internally, and an overflow box clips its
   descendants — including fixed ones. `fixed` alone shipped a bubble that
   measured correctly and was sliced off at the rail's right edge; the script
   moves the node to <body> the first time it opens, then writes its left/top
   from the button's own rect and clamps it to the viewport. Nothing is clipped
   and nothing reflows the rail, so hovering a "?" never shifts the row under
   the cursor.
*/
.filter-help {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-faint);
  background: transparent;
  border: 1px solid var(--card-rule);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.filter-help:hover,
.filter-help[aria-expanded='true'] {
  color: #fff;
  background: var(--sky);
  border-color: var(--sky);
}

.filter-help:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.filter-bubble {
  position: fixed;
  z-index: 80;
  max-width: 17rem;
  padding: 0.55rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--card-rule);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------ the state page's status */
/*
   WHAT THE FILTERS DID, SAID OUT LOUD (pass 6). A state page filters cards in
   place, and a page that silently loses two hundred rows is a page that looks
   broken. This line appears the moment anything is ticked, says how many of how
   many are showing, and carries the one control that puts it all back. It is
   `hidden` in the shipped HTML and stays hidden with scripting off, where
   nothing has been filtered and there is nothing to report.
*/
.filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.filter-status__n {
  font-weight: 700;
  color: var(--ink);
}

.filter-status__clear {
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid var(--card-rule);
  background: var(--paper);
  color: var(--sky);
  border-radius: var(--r-ctl);
  padding: 0.25rem 0.75rem;
}

.filter-status__clear:hover {
  border-color: var(--sky);
}

.filter-status__why {
  flex: 1 0 100%;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* A hidden card must not leave its grid gap behind. */
.school-list > li[hidden] {
  display: none;
}

/* ==================================================== the mobile chip bar
   AVIASALES' MOBILE RESULTS PAGE, NOT THE DESKTOP RAIL SHRUNK (owner's ruling,
   July 2026 mobile-filters pass). Between 720px and 900px this is still the
   pass-6 collapsible rail as a full-width block above the results — that part
   is untouched. Below ~720px it becomes what a phone visitor of a travel site
   already knows: one horizontal row of small pill chips pinned under the
   fixed header, with a round icon button at its leading edge that opens the
   whole rail as a sheet sliding up from the bottom of the screen.

   THE SHEET IS THE RAIL, REPOSITIONED — NOT A COPY OF IT. The `[data-filter-rail]`
   attribute below is on the exact same `<aside class="aside-stack">` that sits
   in a sticky left column on desktop (see build-home.mjs / build-pages.mjs);
   this media query only changes WHERE it sits, never what is inside it. So
   does every checkbox a chip proxies for: public/mobile-filters.js flips the
   real `data-attr`/`data-ac` input this rail already renders and dispatches a
   real `change` event, which is exactly the event home.js's chipBox listener
   and state-filters.js's rail listener were already built to answer. Nothing
   here is a second filter engine — see the long note at the top of that file.

   HIDDEN ABOVE ~720PX, UNCONDITIONALLY. `.mobile-filterbar` and
   `.mobile-sheet-close` ship in every page's HTML now — the homepage and
   every /us/<state>/ page alike — but `display: none` outside the media query
   below means neither ever paints above that width. Nothing is generated
   conditionally at build time; the same markup exists everywhere and the
   viewport alone decides whether it is visible. */
.mobile-filterbar {
  display: none;
}

.mobile-sheet-close {
  display: none;
}

@media (max-width: 720px) {
  .mobile-filterbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: sticky;
    top: var(--hdr-h);
    z-index: 45;
    background: var(--page-bg);
    padding: 0.65rem 0;
    margin-bottom: 0.6rem;
  }

  .mobile-filterbar__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: var(--r-pill);
    border: 1px solid var(--card-rule);
    background: var(--paper);
    color: var(--sky-deep);
    cursor: pointer;
  }

  /* The open state mirrors the rail's own "open" look elsewhere on the site
     (the docked tab pill, the active state radios) — solid ink-blue rather
     than a border tint, so a visitor can tell the sheet is open from the icon
     alone even before the sheet itself has finished sliding into view. */
  .mobile-filterbar__icon[aria-expanded='true'] {
    background: var(--sky-deep);
    border-color: var(--sky-deep);
    color: #fff;
  }

  .mobile-filterbar__chips {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
  }

  .mobile-filterbar__chips::-webkit-scrollbar {
    display: none;
  }

  .mchip {
    flex: 0 0 auto;
    font: inherit;
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--card-rule);
    border-radius: var(--r-pill);
    padding: 0.42rem 0.85rem;
    cursor: pointer;
  }

  /* A TOGGLE CHIP'S PRESSED LOOK COMES FROM aria-pressed, NEVER FROM A CLASS
     THIS FILE TOGGLES ITSELF. public/mobile-filters.js sets the attribute
     from the real checkbox's own `.checked` on every change anywhere on the
     page (see syncAllChips() there) — the chip's colour is a rendering of
     that fact, not a second copy of it. The 'sheet' chip (Aircraft) never
     carries aria-pressed at all: it is not a fact that is on or off, it opens
     a picker, same as tapping the leading icon does. */
  .mchip[aria-pressed='true'] {
    background: var(--sky-deep);
    border-color: var(--sky-deep);
    color: #fff;
  }

  /* THE SHEET. `html body` in front of the attribute selector is not
     decoration: `.aside-stack` already carries `position: sticky` from the
     shared rule above this section, and the homepage layers its own
     `.page--home .aside-stack` offset on top of that (home.css) — both are
     class selectors of the same or greater specificity, and which one a
     browser would otherwise obey depends on the order site.css and home.css
     happen to be linked in, which a filter-BEHAVIOUR rule should not have to
     track. Two extra type selectors win regardless of link order, without
     reaching for !important anywhere in this file. */
  html body .aside-stack[data-filter-rail] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 82vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    background: var(--page-bg);
    padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 28px rgba(18, 32, 58, 0.22);
    /* Off-screen by default and slid up on `.is-open` — see openSheet() in
       public/mobile-filters.js. transform, not display, so the slide is an
       actual animated transition rather than a hard cut. */
    transform: translateY(105%);
    transition: transform 0.24s ease;
    z-index: 71;
  }

  html body .aside-stack[data-filter-rail].is-open {
    transform: translateY(0);
  }

  .mobile-sheet-close {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    margin: 0.4rem 0 0.7rem;
    font: inherit;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--paper-warm);
    border: 1px solid var(--card-rule);
    border-radius: var(--r-ctl);
    padding: 0.35rem 0.7rem;
    cursor: pointer;
  }

  /* Portalled onto <body> by public/mobile-filters.js the first time a sheet
     opens — the same "create it once, on first use" trick filter-help.js's
     bubble already uses elsewhere in this codebase. Below the
     sheet (71) and the filter "?" bubble (80, so a bubble opened from inside
     an open sheet still reads on top of it), above everything else on the
     page. */
  .mobile-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 26, 46, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .mobile-sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* A visitor scrolling the page behind an open sheet is a visitor who has
     lost the sheet. public/mobile-filters.js holds this class on <body> for
     exactly as long as the sheet stays open. */
  body.mobile-sheet-open {
    overflow: hidden;
  }
}

/* Row 1 is shorter at phone width — the same three things, less air around
   them. Redefining the token is enough: `body`'s padding, the sticky rail's
   offset and the scroll-padding for every in-page anchor all read it. */
@media (max-width: 640px) {
  :root {
    --hdr-h: 62px;
    --hdr-row2-h: 244px;
  }

  /* The brand and primary action stay visible; secondary navigation gives
     way on a narrow viewport. */
  .site-header__inner {
    gap: 0.5rem 0.6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .site-nav {
    font-size: 0.78rem;
    gap: 0 0.6rem;
  }
}

@media (max-width: 880px) {
  :root {
    --hdr-h: 72px;
  }

  .site-nav--inner {
    gap: 13px;
  }

}

@media (max-width: 640px) {
  :root {
    --hdr-h: 62px;
  }

  .brand--inner {
    gap: 7px;
    font-size: 0.88rem;
  }

  .brand--inner svg {
    width: 22px;
    height: 22px;
  }

  .site-nav--inner .inner-nav__cta {
    min-height: 39px;
    gap: 12px;
    padding: 0 12px;
    font-size: inherit;
  }

  .site-footer--figma .site-footer__invite {
    padding: 2.4rem 0 1.5rem;
  }

  .site-footer--figma .site-footer__invite .site-footer__inner {
    display: block;
    padding-bottom: 1.5rem;
  }

  .site-footer--figma .site-footer__button {
    margin-top: 1.15rem;
  }

  .site-footer--figma .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.1rem;
    padding: 0.2rem 0 1.5rem;
  }

  .site-footer--figma .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer--figma .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (max-width: 760px) {
  .site-footer--figma .site-footer__grid {
    gap: 1.75rem;
  }
}

/* Authoritative directory rail and filter disclosure styles. This block is
   intentionally last so earlier responsive and shared-card rules cannot
   displace the rail from the results row or reopen collapsed filter groups. */
.aside-stack {
  position: sticky;
  align-self: start;
  top: calc(var(--hdr-h, 72px) + 16px);
  max-height: calc(100vh - var(--hdr-h, 72px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-rule) transparent;
}

.aside-stack::-webkit-scrollbar,
.filter-list--scroll::-webkit-scrollbar {
  width: 6px;
}

.aside-stack::-webkit-scrollbar-thumb,
.filter-list--scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--card-rule);
}

.filter-group {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid var(--card-rule);
}

.filter-group:first-child,
.filter-group--loc[hidden] + .filter-group {
  border-top: 0;
  padding-top: 0;
}

.filter-group__h {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.6rem;
  margin: 0;
  padding: 10px 1.5rem 10px 0;
  border-bottom: 1px solid var(--card-rule);
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  list-style: none;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-group__h::-webkit-details-marker {
  display: none;
}

.filter-group__h::marker {
  content: '';
}

.filter-group--loc > .filter-group__h .aside-card__n {
  margin-right: 1rem;
}

.filter-group__h::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.2rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.16s ease;
}

.filter-group__h:hover {
  color: var(--sky);
}

.filter-group__h:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.filter-group[open] > .filter-group__h {
  margin-bottom: 0.5rem;
}

.filter-group[open] > .filter-group__h::after {
  transform: translateY(-30%) rotate(225deg);
}

.filter-group > .filter-help {
  position: absolute;
  top: 1.1rem;
  right: 1.35rem;
}

.filter-group:first-child > .filter-help,
.filter-group--loc[hidden] + .filter-group > .filter-help {
  top: 0.75rem;
}

.filter-group__content {
  min-width: 0;
}

@media (max-width: 900px) {
  .aside-stack {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 720px) {
  html body .aside-stack[data-filter-rail] {
    position: fixed;
    top: auto;
    bottom: 0;
    max-height: 82vh;
    overflow-y: auto;
    margin: 0;
    padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  }
}

/* School partner funnel layout and responsive card system. */
.claim-plan-block {
  margin-top: 1.25rem;
}

.claim-week-one-bonus {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid #f3c65f;
  border-radius: 14px;
  background: linear-gradient(110deg, #fff8df, #fff1c1);
  color: #634407;
}

.claim-week-one-bonus strong {
  font-size: 0.95rem;
}

.claim-week-one-bonus span {
  font-size: 0.9rem;
  line-height: 1.55;
}

.claim-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: start;
  gap: 1.25rem;
}

.claim-system-builder {
  min-width: 0;
}

.claim-roi-results {
  grid-template-columns: 1fr;
}

.claim-system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.claim-system-card {
  border: 1px solid #d5dce5;
  border-left: 5px solid var(--system-accent, #3975a5);
  border-radius: 13px;
  background: var(--system-tint, #fff);
  box-shadow: 0 2px 10px rgba(20, 36, 61, 0.05);
}

.claim-system-card--sky { --system-accent: #3884c7; --system-tint: #f0f7ff; }
.claim-system-card--cyan { --system-accent: #08a8bd; --system-tint: #effcff; }
.claim-system-card--emerald { --system-accent: #18a873; --system-tint: #effbf5; }
.claim-system-card--amber { --system-accent: #e09a23; --system-tint: #fff9ed; }
.claim-system-card--indigo { --system-accent: #5868c9; --system-tint: #f3f4ff; }
.claim-system-card--purple { --system-accent: #9552b7; --system-tint: #fbf3ff; }

.claim-system-card__number {
  color: var(--system-accent);
}

.claim-system-card__workflow {
  color: #40536a;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.claim-calendar-note {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  background: #eaf5f2;
  color: #23604e;
  font-size: 0.86rem;
  font-weight: 700;
}

.claim-programs {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--card-rule);
  border-radius: 12px;
}

.claim-programs legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.claim-programs__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(7rem, 0.7fr);
  align-items: center;
  gap: 0.6rem;
}

.claim-programs__row > input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sky);
}

.claim-programs__row > input[type="text"] {
  min-width: 0;
}

.claim-checkout__summary {
  position: sticky;
  top: calc(var(--hdr-h, 72px) + 16px);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--hdr-h, 72px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(20, 36, 61, 0.1);
}

.claim-selected-systems {
  max-height: 8rem;
  overflow-y: auto;
  margin: 0;
  padding-left: 1.25rem;
}

.claim-billing {
  display: grid;
  gap: 0.5rem;
}

.claim-billing label {
  cursor: pointer;
}

.claim-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  padding-top: 0.35rem;
  font-weight: 700;
}

.claim-total-row strong {
  color: #133d63;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.claim-checkout__summary [data-partner-status] {
  margin: 0;
  color: #8a351f;
  font-weight: 700;
}

.claim-summary-call,
.claim-edit-button {
  text-align: center;
}

.claim-edit-button {
  border: 0;
  background: transparent;
  color: #315a7b;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
}

.claim-founder {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.claim-founder__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(145deg, #174d78, #17243d 68%, #a9691f);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72), 0 10px 28px rgba(20, 36, 61, 0.2);
  color: #fff;
}

.claim-founder__avatar span {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.claim-founder__avatar small {
  margin-top: 0.3rem;
  color: #e8eef5;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.claim-founder__copy {
  min-width: 0;
}

.claim-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.claim-live-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.claim-live-call h3,
.claim-live-call p {
  margin: 0;
}

.claim-live-call__button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .claim-plan-layout {
    grid-template-columns: 1fr;
  }

  .claim-checkout__summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .claim-proof-stats {
    grid-template-columns: 1fr;
  }

  .claim-programs__row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .claim-programs__row > input[type="text"] {
    grid-column: 1 / -1;
  }

  .claim-live-call {
    align-items: stretch;
    flex-direction: column;
  }

  .claim-founder {
    grid-template-columns: 1fr;
  }

  .claim-founder__avatar {
    width: 120px;
    height: 120px;
  }

  .claim-founder__avatar span {
    font-size: 3.2rem;
  }
}

/* Authoritative /for-schools/ presentation rules. */
.claim-page {
  width: min(1200px, calc(100vw - 32px));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.claim-page .pblock {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.claim-step-one-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 32px !important;
  align-items: start !important;
}

.claim-step-one-copy,
.claim-step-one-form {
  min-width: 0;
}

.claim-step-one-copy > .pblock--hero {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.claim-step-one-form {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.claim-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.claim-value-grid > article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.claim-value-grid > article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 800;
}

.claim-value-grid h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
}

.claim-value-grid p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.claim-preview {
  display: grid;
  gap: 0;
  max-width: none;
  margin: 1.25rem 0 0;
  padding: 1.25rem;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.claim-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.claim-preview__top strong {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
}

.claim-preview__top > span {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
}

.claim-preview__location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  color: #475569;
}

.claim-preview__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.claim-preview__fleet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.claim-preview__fleet > span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
}

.claim-preview__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.claim-preview__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
}

.claim-preview__calendar {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
}

.claim-preview__link {
  color: #c2410c;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

button.claim-add-aircraft,
[data-add-aircraft],
[data-add-instructor],
[data-add-discovery],
button.claim-back-button,
[data-back-to-step1],
[data-back-to-claim] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  margin-top: 8px !important;
  padding: 10px 16px !important;
  border: 1.5px dashed #64748b !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

button.claim-add-aircraft:hover,
[data-add-aircraft]:hover,
[data-add-instructor]:hover,
[data-add-discovery]:hover,
button.claim-back-button:hover,
[data-back-to-step1]:hover,
[data-back-to-claim]:hover {
  border-color: #0f172a !important;
  background: #e2e8f0 !important;
}

@media (max-width: 979px) {
  .claim-page {
    width: min(100%, calc(100vw - 32px));
  }

  .claim-step-one-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .claim-value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .claim-preview__top,
  .claim-preview__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .claim-preview__link {
    white-space: normal;
  }
}

/* Step 1 keeps the title, help text, prefill notice, and form in one card. */
.claim-step-one-form {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.claim-step-one-form > h2 {
  margin-top: 0;
  color: #0f172a;
}

.claim-step-one-form > p {
  color: #475569;
  line-height: 1.5;
}

.claim-programs__training {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

/* Partner funnel: styles mapped from the supplied HTML design. */
@media (max-width: 979px) {
  .claim-step-one-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 1.5rem !important; }
}
.claim-page { box-sizing: border-box; width: min(1360px, 100vw) !important; max-width: 1360px !important; margin: 0 auto !important; padding: 0 32px !important; }
body:has(#partner-funnel-view:not([hidden])) { background: #f6f2ea; }
#partner-funnel-view { display: block; width: 100%; max-width: none; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #0f172a; font: 400 16px/1.5 'Plus Jakarta Sans', sans-serif; }
#partner-funnel-view *, #partner-funnel-view *::before, #partner-funnel-view *::after { box-sizing: border-box; }
#partner-funnel-view :is(h1,h2,h3,p,ul,li) { margin: 0; padding: 0; max-width: none; color: inherit; font-family: inherit; }
#partner-funnel-view :is(h1,h2,h3) { font-weight: 800; letter-spacing: normal; }
#partner-funnel-view ul { list-style: none; }
#partner-funnel-view a { color: inherit; text-decoration: none; }
#partner-funnel-view button, #partner-funnel-view input { font: inherit; }
#partner-funnel-view strong { font-weight: 700; }
#partner-funnel-view .claim-partner-shell { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 32px; }
#partner-funnel-view .claim-partner-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; container-type: inline-size; }
#partner-funnel-view .claim-partner-main > section { width: 100%; max-width: none; margin: 0; }
#partner-funnel-view .claim-partner-rail { min-width: 0; width: 100%; margin: 0; padding: 0; align-self: start; }
#partner-funnel-view .partner-eyebrow { font-size: 12px; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .05em; color: #9a3412; }
#partner-funnel-view .partner-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 14px 20px; border: 0; border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.5; text-align: center; cursor: pointer; transition: filter .18s, box-shadow .18s; }
#partner-funnel-view .partner-button:hover { filter: brightness(.94); }
#partner-funnel-view :is(a,button,input):focus-visible { outline: 3px solid #0284c7; outline-offset: 4px; }
#partner-funnel-view .partner-button--mint { background: #34d399; color: #020617; box-shadow: 0 4px 6px -1px #0002; }
#partner-funnel-view .partner-button--orange { background: #b84a14; color: #fff; box-shadow: 0 4px 6px -1px #0002; }
#partner-funnel-view .partner-button--gradient { background: linear-gradient(90deg,#38bdf8,#34d399); color: #020617; }
#partner-funnel-view .partner-button--navy { background: #0f172a; color: white; font-size: 14px; padding: 10px 16px; }
#partner-funnel-view .partner-congrats { padding: 32px; border: 2px solid #6ee7b7; border-radius: 24px; background: #ecfdf5; box-shadow: 0 1px 2px #0000000d; }
#partner-funnel-view .partner-congrats > * + * { margin-top: 24px; }
#partner-funnel-view .partner-congrats__header { display: flex; align-items: flex-start; gap: 14px; color: #064e3b; }
#partner-funnel-view .partner-congrats__header > span { font-size: 24px; line-height: 1; margin-top: 2px; }
#partner-funnel-view .partner-congrats__header h2 { font-size: 24px; line-height: 1.33; color: #022c22; }
#partner-funnel-view [data-funnel-school-name] { text-decoration: underline; text-decoration-color: #10b98199; }
#partner-funnel-view .partner-congrats__header p { margin-top: 4px; }
#partner-funnel-view .partner-school-card { padding: 24px; border: 1px solid #a7f3d0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px #0000000d; }
#partner-funnel-view .partner-school-card__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
#partner-funnel-view .partner-school-card__header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#partner-funnel-view .partner-school-card__header strong { font-size: 18px; font-weight: 800; }
#partner-funnel-view .partner-location { padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 12px; font-weight: 700; }
#partner-funnel-view .partner-verified-badge { padding: 4px 12px; border-radius: 999px; background: #d1fae5; color: #065f46; font-size: 12px; font-weight: 800; }
#partner-funnel-view .partner-school-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
#partner-funnel-view .partner-school-card__tags > span { padding: 4px 10px; border-radius: 6px; background: #f1f5f9; color: #334155; font-size: 12px; font-weight: 600; }
#partner-funnel-view .partner-school-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #f1f5f9; color: #475569; font-size: 12px; }
#partner-funnel-view .partner-school-card__footer > span:last-child { color: #b84a14; font-weight: 700; }
#partner-funnel-view .partner-congrats__hook { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-radius: 16px; background: #065f46; color: #ecfdf5; }
#partner-funnel-view .partner-congrats__hook .partner-eyebrow { color: #6ee7b7; margin-bottom: 4px; }
#partner-funnel-view .partner-congrats__hook p:last-child { font-weight: 500; line-height: 1.625; }
#partner-funnel-view .partner-hero { padding: 36px; border: 1px solid #1e293b; border-radius: 24px; background: linear-gradient(135deg,#020617,#0f172a,#082f49); color: #fff; box-shadow: 0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a; }
#partner-funnel-view .partner-hero__intro > * + * { margin-top: 20px; }
#partner-funnel-view .partner-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid #38bdf84d; border-radius: 999px; background: #0ea5e926; color: #7dd3fc; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
#partner-funnel-view .partner-hero__badge > span { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
#partner-funnel-view .partner-hero__title { font-size: 48px; line-height: 1.1; letter-spacing: -.025em; color: #fff; }
#partner-funnel-view .partner-hero__title > span { color: #38bdf8; }
#partner-funnel-view .partner-hero__description { font-size: 18px; line-height: 1.625; color: #cbd5e1; }
#partner-funnel-view .partner-hero__description strong { color: #fff; }
#partner-funnel-view .partner-hero__description strong:last-child { color: #6ee7b7; }
#partner-funnel-view .partner-proof-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding-top: 8px; }
#partner-funnel-view .partner-proof-stats > div { padding: 16px; border: 1px solid #1e293b; border-radius: 16px; background: #0f172ae6; }
#partner-funnel-view .partner-proof-stats > div > div:first-child { font-size: 20px; font-weight: 800; color: #38bdf8; }
#partner-funnel-view .partner-proof-stats > div:nth-child(2) > div:first-child { color: #34d399; }
#partner-funnel-view .partner-proof-stats > div:nth-child(3) > div:first-child { color: #fbbf24; }
#partner-funnel-view .partner-proof-stats > div > div:last-child { margin-top: 4px; font-size: 12px; line-height: 1.375; color: #cbd5e1; }
#partner-funnel-view .partner-live-call { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid #0ea5e94d; border-radius: 16px; background: #0f172af2; }
#partner-funnel-view .partner-live-call .partner-eyebrow { color: #fcd34d; font-size: 11px; }
#partner-funnel-view .partner-live-call p:last-child { margin-top: 2px; color: #fff; font-size: 14px; font-weight: 600; }
#partner-funnel-view .partner-voice-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
#partner-funnel-view .partner-voice-actions a { color: #075985; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
#partner-funnel-view .partner-live-call .partner-voice-actions { flex: 0 0 190px; }
#partner-funnel-view .partner-live-call .partner-voice-actions button { white-space: nowrap; }
#partner-funnel-view .partner-voice-actions .school-voice-unavailable { color: #475569; font-size: 12px; }
#partner-funnel-view .partner-live-call .partner-voice-actions a { color: #67e8f9; }
#partner-funnel-view .partner-live-call .school-voice-unavailable { color: #cbd5e1; }
#partner-funnel-view .partner-voice-actions button:disabled { opacity: .55; cursor: not-allowed; }
#partner-funnel-view .school-voice-panel { margin-top: 12px; padding: 20px; border: 1px solid #0ea5e94d; border-radius: 16px; background: #0f172a; color: #fff; }
#partner-funnel-view .school-voice-panel[hidden] { display: none; }
#partner-funnel-view .school-voice-panel h2 { margin: 0 0 8px; font-size: 20px; }
#partner-funnel-view .school-voice-panel p { margin: 0 0 12px; }
#partner-funnel-view .school-voice-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#partner-funnel-view .school-voice-panel__actions [hidden] { display: none; }
#partner-funnel-view .partner-calculator { margin-top: 32px; padding: 28px; border-radius: 16px; background: #fff; color: #0f172a; box-shadow: 0 10px 15px -3px #0000001a; }
#partner-funnel-view .partner-calculator > * + * { margin-top: 20px; }
#partner-funnel-view .partner-calculator__heading { padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
#partner-funnel-view .partner-calculator h2 { font-size: 24px; line-height: 1.33; }
#partner-funnel-view .partner-calculator__heading p { margin-top: 2px; font-size: 14px; color: #64748b; }
#partner-funnel-view .partner-ranges { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 28px; }
#partner-funnel-view .partner-range { min-width: 0; }
#partner-funnel-view .partner-range label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: #334155; }
#partner-funnel-view .partner-range label > span:last-child { flex-shrink: 0; padding: 4px 10px; border-radius: 6px; background: #f1f5f9; color: #0f172a; font-weight: 800; white-space: nowrap; }
#partner-funnel-view input[type=range] { display: block; width: 100%; height: 6px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px; accent-color: #d97706; cursor: pointer; }
#partner-funnel-view .partner-roi-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 16px; background: #020617; color: #fff; }
#partner-funnel-view .partner-roi-result > div > p:first-child { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
#partner-funnel-view [data-roi-lost-mo] { font-size: 36px; font-weight: 800; line-height: 1.1; color: #34d399; margin-top: 4px; white-space: nowrap; }
#partner-funnel-view .partner-roi-result > div > p:last-child { margin-top: 4px; font-size: 12px; color: #cbd5e1; }
#partner-funnel-view .partner-bonus { padding: 32px; border: 1px solid #065f46; border-radius: 24px; background: #022c22; color: #fff; box-shadow: 0 10px 15px -3px #0000001a; }
#partner-funnel-view .partner-bonus__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #34d39933; color: #6ee7b7; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
#partner-funnel-view .partner-bonus h3 { margin-top: 8px; font-size: 24px; line-height: 1.33; }
#partner-funnel-view .partner-bonus p { margin-top: 4px; font-size: 14px; line-height: 1.625; color: #d1fae5; }
#partner-funnel-view .partner-bonus__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
#partner-funnel-view .partner-bonus__grid > div { padding: 16px; border: 1px solid #047857cc; border-radius: 16px; background: #064e3bb3; }
#partner-funnel-view .partner-bonus__grid > div > div { font-size: 14px; font-weight: 800; color: #6ee7b7; }
#partner-funnel-view .partner-bonus__grid p { margin-top: 6px; font-size: 12px; }
#partner-funnel-view .partner-systems { padding-top: 8px; scroll-margin-top: 96px; }
#partner-funnel-view .partner-systems > * + * { margin-top: 16px; }
#partner-funnel-view .partner-systems__heading { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: end; gap: 16px; padding-bottom: 8px; }
#partner-funnel-view .partner-systems__heading h2 { font-size: 30px; line-height: 1.2; margin-top: 2px; }
#partner-funnel-view .partner-systems__heading p:last-child { margin-top: 2px; font-size: 14px; color: #475569; }
#partner-funnel-view .partner-select-all { display: flex; align-items: center; justify-content: center; width: 310px; max-width: 100%; height: 44px; padding: 0 16px; border: 1px solid #fcd34d; border-radius: 12px; background: #fef3c7; color: #451a03; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
#partner-funnel-view .partner-select-all:hover { background: #fde68a; }
#partner-funnel-view .partner-system-card { --card-accent: #0284c7; padding: 24px; border: 1px solid #e2e8f0; border-left: 4px solid var(--card-accent); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .18s,box-shadow .18s; }
#partner-funnel-view .partner-system-card:nth-of-type(2) { --card-accent: #0891b2; }
#partner-funnel-view .partner-system-card:nth-of-type(3) { --card-accent: #059669; }
#partner-funnel-view .partner-system-card:nth-of-type(4) { --card-accent: #f59e0b; }
#partner-funnel-view .partner-system-card:nth-of-type(5) { --card-accent: #4f46e5; }
#partner-funnel-view .partner-system-card:nth-of-type(6) { --card-accent: #9333ea; }
#partner-funnel-view .partner-system-card.is-selected { border-color: #0284c7; box-shadow: 0 0 0 2px #0284c7,0 12px 26px -10px #0284c72e; }
#partner-funnel-view .partner-system-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
#partner-funnel-view .partner-system-card__copy { min-width: 0; }
#partner-funnel-view .partner-system-card__copy > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#partner-funnel-view .partner-system-card__tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f1f5f9; color: #1e293b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
#partner-funnel-view .partner-system-card__popular { background: #d1fae5; color: #065f46; }
#partner-funnel-view .partner-system-card h3 { margin-top: 8px; font-size: 20px; line-height: 1.4; }
#partner-funnel-view .partner-system-card__copy > p { margin-top: 2px; color: #475569; font-size: 14px; }
#partner-funnel-view .partner-system-card__price { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
#partner-funnel-view .partner-system-card__price > div > span:first-child { font-size: 24px; font-weight: 800; }
#partner-funnel-view .partner-system-card__price > div > span:last-child { font-size: 12px; font-weight: 600; color: #64748b; }
#partner-funnel-view .partner-system-card input[type=checkbox] { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: #0284c7; cursor: pointer; }
#partner-funnel-view .partner-system-card ul { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
#partner-funnel-view .partner-system-card li { display: flex; align-items: flex-start; gap: 10px; color: #334155; font-size: 14px; line-height: 20px; }
#partner-funnel-view .partner-system-card li + li { margin-top: 10px; }
#partner-funnel-view .partner-system-card li > span:first-child { flex-shrink: 0; color: var(--card-accent); font-weight: 800; margin-top: 2px; }
#partner-funnel-view .partner-system-card li strong { color: #0f172a; }
#partner-funnel-view .partner-synergy { padding: 20px; border: 1px solid #fde68a; border-radius: 16px; background: #fffbebe6; color: #451a03; font-size: 14px; line-height: 1.625; }
#partner-funnel-view .partner-panel { padding: 32px; border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px #0000000d; }
#partner-funnel-view .partner-panel > * + * { margin-top: 20px; }
#partner-funnel-view .partner-section-heading h2 { margin-top: 4px; font-size: 24px; line-height: 1.33; }
#partner-funnel-view .partner-two-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#partner-funnel-view .partner-two-grid > div { padding: 20px; border: 1px solid #e2e8f0cc; border-radius: 16px; background: #f8fafc; }
#partner-funnel-view .partner-two-grid h3 { font-size: 14px; line-height: 1.5; }
#partner-funnel-view .partner-two-grid p { margin-top: 4px; color: #475569; font-size: 12px; line-height: 1.625; }
#partner-funnel-view .partner-how .partner-two-grid h3 { margin-top: 12px; font-size: 16px; }
#partner-funnel-view .partner-how .partner-two-grid > div > span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #0f172a; color: #fff; font-size: 12px; font-weight: 800; }
#partner-funnel-view .partner-how .partner-two-grid > div:nth-child(2) > span { background: #0284c7; }
#partner-funnel-view .partner-how .partner-two-grid > div:nth-child(3) > span { background: #059669; }
#partner-funnel-view .partner-how .partner-two-grid > div:nth-child(4) > span { background: #f59e0b; color: #020617; }
#partner-funnel-view .partner-after-launch { padding: 16px; border: 1px solid #bae6fd; border-radius: 16px; background: #f0f9ff; color: #082f49; font-size: 14px; }
#partner-funnel-view .partner-founder { padding: 32px; border: 2px solid #bae6fd; border-radius: 24px; background: linear-gradient(135deg,#f0f9ff,#fff,#ecfdf566); box-shadow: 0 1px 2px #0000000d; }
#partner-funnel-view .partner-founder__grid { display: grid; grid-template-columns: minmax(220px,300px) minmax(0,1fr); align-items: center; gap: 24px; }
#partner-funnel-view .partner-founder__aside { min-width: 0; width: 100%; }
#partner-funnel-view .partner-founder__portrait { box-sizing: border-box; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid #38bdf8; border-radius: 16px; background: #0f172a; box-shadow: 0 4px 6px -1px #0002; }
#partner-funnel-view .partner-founder__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#partner-funnel-view .partner-founder__social { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; margin-top: 12px; }
#partner-funnel-view .partner-founder__social a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #a9c9de; border-radius: 10px; background: #fff; text-decoration: none; }
#partner-funnel-view .partner-founder__social a:hover { border-color: #0284c7; background: #f0f9ff; }
#partner-funnel-view .partner-founder__social a:focus-visible { outline: 2px solid #0284c7; outline-offset: 2px; }
#partner-funnel-view .partner-founder__social img { display: block; width: 22px; height: 22px; }
@media (max-width: 380px) {
  #partner-funnel-view .partner-founder__social { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
#partner-funnel-view .partner-founder__avatar { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(#075985,#020617); color: #fff; }
#partner-funnel-view .partner-founder__avatar > span { font: 700 36px Georgia,serif; }
#partner-funnel-view .partner-founder__avatar strong { margin-top: 4px; color: #7dd3fc; font-size: 11px; }
#partner-funnel-view .partner-founder__avatar small { color: #94a3b8; font-size: 10px; }
#partner-funnel-view .partner-founder__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #0284c7; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
#partner-funnel-view .partner-founder__copy > * + * { margin-top: 12px; }
#partner-funnel-view .partner-founder h3 { font-size: 24px; line-height: 1.33; }
#partner-funnel-view .partner-founder p { font-size: 14px; line-height: 1.625; color: #334155; }
#partner-funnel-view .partner-summary { padding: 24px; border: 2px solid #e2e8f0e6; border-radius: 24px; background: #fff; max-height: none; overflow: visible; box-shadow: 0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a; }
#partner-funnel-view .partner-summary > * + * { margin-top: 16px; }
#partner-funnel-view .partner-summary__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
#partner-funnel-view .partner-summary__heading p { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
#partner-funnel-view [data-selected-count] { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: 12px; font-weight: 800; white-space: nowrap; }
#partner-funnel-view .partner-selected-pills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
#partner-funnel-view .partner-selected-pills li { overflow: hidden; padding: 6px 10px; border: 1px solid #bae6fdcc; border-radius: 8px; background: #f0f9ff; color: #082f49; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#partner-funnel-view .partner-summary__perks { padding: 10px 14px; border: 1px solid #a7f3d0; border-radius: 12px; background: #ecfdf5; color: #065f46; font-size: 11px; }
#partner-funnel-view .partner-summary__perks > div:first-child { font-size: 12px; font-weight: 800; }
#partner-funnel-view .partner-summary__perks > div + div { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-weight: 500; }
#partner-funnel-view .partner-billing__heading { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #334155; }
#partner-funnel-view .partner-billing__heading > span:last-child { color: #047857; font-size: 11px; font-weight: 800; }
#partner-funnel-view .partner-billing__tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 4px; border-radius: 12px; background: #f1f5f9; }
#partner-funnel-view .partner-billing__tab { position: relative; cursor: pointer; }
#partner-funnel-view .partner-billing__tab > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#partner-funnel-view .partner-billing__tab > span { display: block; padding: 8px; border-radius: 8px; color: #334155; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
#partner-funnel-view .partner-billing__tab > span > span { color: #059669; font-weight: 800; }
#partner-funnel-view .partner-billing__tab > input:checked + span { background: #0f172a; color: #fff; font-weight: 800; }
#partner-funnel-view .partner-billing__tab > input:focus-visible + span { outline: 3px solid #0284c7; outline-offset: 2px; }
#partner-funnel-view .partner-price { padding: 16px; border: 1px solid #e2e8f0cc; border-radius: 16px; background: #f8fafc; }
#partner-funnel-view .partner-price__total, #partner-funnel-view .partner-price__total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; white-space: nowrap; }
#partner-funnel-view [data-price-label] { color: #475569; font-size: 12px; font-weight: 700; }
#partner-funnel-view [data-strike-price] { color: #94a3b8; font-size: 12px; font-weight: 600; text-decoration: line-through; }
#partner-funnel-view [data-plan-total] { color: #020617; font-size: 30px; font-weight: 800; }
#partner-funnel-view .partner-price__savings { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; margin-top: 8px; font-size: 11px; white-space: nowrap; }
#partner-funnel-view [data-billing-note] { color: #64748b; font-weight: 500; }
#partner-funnel-view [data-savings-pill] { padding: 2px 8px; border-radius: 6px; background: #d1fae5; color: #065f46; font-weight: 800; }
#partner-funnel-view #partner-pay-btn { width: 100%; }
#partner-funnel-view #partner-pay-btn:disabled { opacity: .65; cursor: wait; }
#partner-funnel-view .partner-confirmation { padding: 16px; border: 1px solid #a7f3d0; border-radius: 12px; background: #ecfdf5; color: #064e3b; }
#partner-funnel-view .partner-confirmation[hidden], #partner-funnel-view .partner-confirmation [hidden] { display: none; }
#partner-funnel-view .partner-confirmation h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; }
#partner-funnel-view .partner-confirmation p { margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
#partner-funnel-view .partner-confirmation [data-checkout-link] { display: flex; justify-content: center; margin-top: 14px; text-align: center; text-decoration: none; }
#partner-funnel-view .partner-confirmation__help { margin-top: 12px; padding: 0; border: 0; background: transparent; color: #075985; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
#partner-funnel-view .partner-confirmation__help:focus-visible { outline: 2px solid #0284c7; outline-offset: 3px; }
#partner-funnel-view .partner-summary__call { padding-top: 4px; text-align: center; font-size: 12px; font-weight: 700; color: #475569; }
#partner-funnel-view [data-partner-status] { font-size: 12px; color: #475569; }
@media (min-width: 1024px) {
  #partner-funnel-view .claim-partner-shell { grid-template-columns: minmax(0, 1fr) 430px; }
  #partner-funnel-view .claim-partner-rail { position: sticky; top: 88px; }
}
@container (max-width: 680px) {
  #partner-funnel-view .partner-congrats__hook, #partner-funnel-view .partner-live-call, #partner-funnel-view .partner-roi-result { flex-direction: column; align-items: flex-start; }
  #partner-funnel-view .partner-live-call .partner-voice-actions { flex: 0 1 auto; width: min(100%, 220px); }
  #partner-funnel-view .partner-systems__heading { grid-template-columns: minmax(0,1fr); }
  #partner-funnel-view .partner-founder__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  #partner-funnel-view .partner-founder__aside { width: min(100%,300px); margin: 0 auto; }
}
@media (max-width: 639px) {
  .claim-page { padding: 0 16px !important; }
  #partner-funnel-view .partner-congrats, #partner-funnel-view .partner-hero, #partner-funnel-view .partner-bonus, #partner-funnel-view .partner-panel, #partner-funnel-view .partner-founder { padding: 24px; }
  #partner-funnel-view .partner-school-card, #partner-funnel-view .partner-congrats__hook, #partner-funnel-view .partner-summary { padding: 20px; }
  #partner-funnel-view .partner-calculator { padding: 24px; }
  #partner-funnel-view .partner-congrats__header h2, #partner-funnel-view .partner-bonus h3, #partner-funnel-view .partner-calculator h2, #partner-funnel-view .partner-founder h3 { font-size: 20px; }
  #partner-funnel-view .partner-congrats__header p, #partner-funnel-view .partner-congrats__hook p:last-child { font-size: 14px; }
  #partner-funnel-view .partner-hero__title { font-size: 30px; }
  #partner-funnel-view .partner-hero__description { font-size: 16px; }
  #partner-funnel-view .partner-proof-stats, #partner-funnel-view .partner-ranges, #partner-funnel-view .partner-bonus__grid, #partner-funnel-view .partner-two-grid { grid-template-columns: minmax(0,1fr); }
  #partner-funnel-view .partner-systems__heading h2 { font-size: 24px; }
  #partner-funnel-view .partner-system-card { padding: 20px; }
  #partner-funnel-view .partner-system-card__header { flex-wrap: wrap; }
  #partner-funnel-view .partner-system-card__price { margin-left: auto; }
  #partner-funnel-view .partner-system-card li, #partner-funnel-view .partner-synergy, #partner-funnel-view .partner-after-launch, #partner-funnel-view .partner-founder p { font-size: 12px; }
  #partner-funnel-view .partner-founder__grid { grid-template-columns: minmax(0,1fr); }
  #partner-funnel-view .partner-founder__portrait { width: 100%; margin: 0; }
  #partner-funnel-view .partner-founder .partner-button { font-size: 12px; }
  #partner-funnel-view [data-roi-lost-mo] { font-size: 30px; }
  #partner-funnel-view [data-plan-total] { font-size: 24px; }
  #partner-funnel-view [data-price-label], #partner-funnel-view [data-strike-price] { font-size: 11px; }
}

/* Add-school choice cards and inline free-listing flow. */
#claim-form-view .claim-step-one-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 24px !important;
}
#claim-form-view .claim-free-card,
#claim-form-view .claim-partner-card {
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid #dbe4ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}
#claim-form-view .claim-free-card { border-top: 4px solid #059669; }
#claim-form-view .claim-partner-card { border-top: 4px solid #d97706; }
#claim-form-view .claim-offer-heading .eyebrow,
#claim-form-view .claim-partner-card > .eyebrow { margin: 0 0 8px; color: #047857; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
#claim-form-view .claim-partner-card > .eyebrow { color: #b45309; }
#claim-form-view .claim-offer-heading h1,
#claim-form-view .claim-partner-card > h2 { margin: 0; color: #0f172a; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
#claim-form-view .claim-offer-heading > p:last-child,
#claim-form-view .claim-partner-card > p:not(.eyebrow) { margin: 12px 0 0; color: #475569; font-size: 15px; line-height: 1.65; }
#claim-form-view .claim-offer-points { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
#claim-form-view .claim-offer-points li { color: #334155; font-size: 14px; font-weight: 650; line-height: 1.5; }
#claim-form-view .claim-partner-cta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 24px; padding: 0 18px; border: 0; border-radius: 12px; background: #047857; color: white; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .18s, transform .18s; }
#claim-form-view .claim-partner-cta { background: #b45309; }
#claim-form-view .claim-partner-cta:hover { background: #92400e; transform: translateY(-1px); }
#claim-form-view .claim-partner-preview { margin-top: 18px; padding: 18px; border-color: #e2e8f0; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
#claim-form-view .claim-preview__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#claim-form-view .claim-preview__badges span { padding: 4px 8px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 10px; font-weight: 800; }
#claim-form-view .claim-preview__badges span + span { background: #fef3c7; color: #92400e; }
#claim-form-view .claim-partner-preview .claim-preview__fleet { margin-bottom: 8px; }
#claim-form-view .claim-partner-preview .claim-preview__calendar { display: inline-flex; }
#claim-form-view .claim-partner-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-bottom: 0; }
#claim-form-view .claim-partner-points li { font-size: 12px; }
#claim-form-view .claim-step-one-form { margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#claim-form-view .claim-form-panel { margin-top: 22px; }
#claim-form-view .claim-step-one-form form { margin-top: 18px; }
#claim-form-view .claim-success { padding: 22px; border: 1px solid #a7f3d0; border-radius: 18px; background: linear-gradient(140deg, #ecfdf5, #d1fae5); color: #064e3b; }
#claim-form-view .claim-success__heading { display: flex; align-items: flex-start; gap: 14px; }
#claim-form-view .claim-success__heading > span { display: flex; flex: 0 0 38px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #059669; color: #fff; font-weight: 900; }
#claim-form-view .claim-success__heading .eyebrow { margin: 0; color: #047857; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
#claim-form-view .claim-success__heading h2 { margin: 4px 0 0; color: #064e3b; font-size: 22px; line-height: 1.25; }
#claim-form-view .claim-success__heading p:last-child { margin: 6px 0 0; color: #166534; font-size: 13px; line-height: 1.55; }
#claim-form-view .claim-success__preview { margin: 18px 0 0; padding: 18px; box-shadow: none; }
#claim-form-view .claim-success__note { margin: 14px 0 0; color: #166534; font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) {
  #claim-form-view .claim-step-one-grid { grid-template-columns: minmax(0, 1fr) !important; }
  #claim-form-view .claim-partner-points { grid-template-columns: minmax(0, 1fr); }
}

/* Refined comparison and form states. */
.claim-page:has(#claim-form-view:not([hidden])) { width: min(1480px, 100vw) !important; max-width: 1480px !important; padding: 0 24px !important; }
#claim-form-view { padding-top: 4px; }
#claim-form-view .claim-choice-heading { max-width: 780px; margin: 0 0 28px; }
#claim-form-view .claim-choice-heading .eyebrow { margin: 0 0 8px; color: #b45309; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
#claim-form-view .claim-choice-heading h1 { margin: 0; color: #0f172a; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
#claim-form-view .claim-choice-heading > p:last-child { margin: 10px 0 0; color: #475569; font-size: 16px; line-height: 1.55; }
#claim-form-view .claim-step-one-grid { align-items: start !important; gap: 20px !important; }
#claim-form-view .claim-partner-card { position: sticky; top: max(calc(var(--hdr-h) + 16px), calc(50dvh - 255px)); align-self: start; max-height: none; overflow: visible; }
#claim-form-view .claim-offer-heading h2 { margin: 0; color: #0f172a; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
#claim-form-view .claim-free-preview,
#claim-form-view .claim-partner-preview { margin-top: 14px; padding: 14px; border-color: #e2e8f0; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
#claim-form-view .claim-partner-preview .claim-preview__top { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 8px; }
#claim-form-view .claim-partner-preview .claim-preview__top strong { min-width: 0; line-height: 1.25; }
#claim-form-view .claim-partner-preview .claim-preview__badges { justify-content: flex-end; flex-wrap: nowrap; gap: 4px; margin: 0; }
#claim-form-view .claim-partner-preview .claim-preview__badges span { padding: 3px 6px; font-size: 9px; white-space: nowrap; }
#claim-form-view .claim-free-preview .claim-preview__footer { color: #64748b; font-size: 11px; }
#claim-form-view .claim-free-preview .claim-preview__footer > span:last-child { color: #047857; font-weight: 800; }
#claim-form-view .claim-preview__fleet { justify-content: flex-start; gap: 6px; }
#claim-form-view .claim-preview__fleet > span { margin: 0; padding: 4px 8px; font-size: 11px; white-space: nowrap; }
#claim-form-view .claim-partner-preview__actions { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 10px; margin-top: 8px; }
#claim-form-view .claim-partner-preview .claim-preview__calendar { width: 100%; justify-content: center; margin: 0; font-size: 11px; }
#claim-form-view .claim-partner-preview__website { color: #047857; font-size: 11px; font-weight: 800; white-space: nowrap; }
#claim-form-view .claim-free-card .claim-offer-points,
#claim-form-view .claim-partner-card .claim-offer-points { margin: 14px 0 0; }
#claim-form-view .claim-partner-points { grid-template-columns: minmax(0,1fr); gap: 6px; }
#claim-form-view .claim-partner-points li { font-size: 13px; }
#claim-form-view .claim-form-signpost,
#claim-form-view .claim-partner-cta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 16px; padding: 0 18px; border: 0; border-radius: 12px; background: #047857; color: #fff; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
#claim-form-view .claim-form-signpost { cursor: pointer; }
#claim-form-view .claim-partner-cta { background: #b45309; }
#claim-form-view .claim-partner-cta:hover { background: #92400e; }
#claim-form-view .claim-form-panel__inner { min-height: 0; }
#claim-form-view .claim-form-panel__inner > h2 { margin: 0; color: #0f172a; font-size: 22px; }
#claim-form-view .claim-form-panel__inner > p { margin: 5px 0 0; color: #64748b; font-size: 13px; line-height: 1.5; }
#claim-form-view .claim-section-heading { display: flex; align-items: center; gap: 9px; margin: 26px 0 14px; padding-top: 20px; border-top: 1px solid #e2e8f0; color: #0f172a; font-size: 17px; }
#claim-form-view .claim-section-heading:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
#claim-form-view .claim-section-heading > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #d1fae5; color: #065f46; font-size: 11px; font-weight: 800; }
#claim-form-view .claim-consent { align-items: flex-start; margin-top: 16px; font-size: 12px; line-height: 1.5; }
#claim-form-view .claim-consent--optional { margin-top: 10px; color: #475569; }
#claim-form-view [data-claim-submit] { width: 100%; justify-content: center; background: #047857; color: #fff; }
#claim-form-view [data-claim-submit]:hover { background: #065f46; }
#claim-form-view [data-claim-status]:not([hidden]) { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fef3c7; color: #78350f; font-size: 12px; }
#claim-form-view .claim-success__preview-label { margin: 20px 0 0; color: #047857; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
#claim-form-view .claim-success__preview { margin-top: 8px; }
#claim-form-view .claim-success__preview .claim-preview__footer { color: #475569; font-size: 11px; }
#claim-form-view .claim-success__preview .claim-preview__footer > span:last-child { color: #047857; font-weight: 800; }
#claim-form-view .claim-mobile-partner-link { display: none; }
#partner-funnel-view.has-intake .claim-partner-rail { position: static; }
#partner-funnel-view .partner-intake { padding: 16px; border: 1px solid #bae6fd; border-radius: 14px; background: #f0f9ff; }
#partner-funnel-view .partner-intake h3 { color: #0f172a; font-size: 16px; }
#partner-funnel-view .partner-intake > p { margin: 4px 0 12px; color: #475569; font-size: 12px; line-height: 1.5; }
#partner-funnel-view .partner-intake__fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
#partner-funnel-view .partner-intake__fields label { display: grid; gap: 4px; color: #334155; font-size: 11px; font-weight: 700; }
#partner-funnel-view .partner-intake__fields input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; color: #0f172a; font-size: 12px; }
#partner-funnel-view .partner-intake__consent { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: #475569; font-size: 11px; line-height: 1.4; }
#partner-funnel-view .partner-intake__consent input { flex: 0 0 auto; width: 15px; height: 15px; min-height: 0; margin: 1px 0 0; }
#partner-funnel-view .partner-intake > button { width: 100%; margin-top: 12px; }
@media (max-width: 900px) {
  #claim-form-view .claim-partner-card { position: static; max-height: none; overflow: visible; }
  #claim-form-view:is(.is-form-open,.is-submitted) { padding-bottom: 68px; }
  #claim-form-view:is(.is-form-open,.is-submitted) .claim-mobile-partner-link { position: fixed; z-index: 20; right: 12px; bottom: 12px; left: 12px; display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #92400e; color: #fff; box-shadow: 0 12px 28px #0004; font-size: 13px; font-weight: 800; text-decoration: none; }
  #partner-funnel-view .partner-intake__fields { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  #claim-form-view .claim-partner-preview .claim-preview__top,
  #claim-form-view .claim-partner-preview__actions { grid-template-columns: minmax(0, 1fr); }
  #claim-form-view .claim-partner-preview .claim-preview__badges { justify-content: flex-start; }
  #claim-form-view .claim-partner-preview__website { justify-self: end; }
  #claim-form-view .claim-preview__fleet > span { max-width: 100%; white-space: normal; }
}
@media (min-width: 901px) and (max-width: 1150px) and (max-height: 730px) {
  #claim-form-view .claim-partner-card { padding: 22px; }
  #claim-form-view .claim-partner-card > p:not(.eyebrow) { font-size: 13px; line-height: 1.45; }
  #claim-form-view .claim-partner-preview { margin-top: 14px; padding: 14px; }
  #claim-form-view .claim-partner-card .claim-offer-points { margin-top: 14px; gap: 5px; }
  #claim-form-view .claim-partner-cta { min-height: 48px; margin-top: 16px; }
}
[hidden], #claim-form-view[hidden], #partner-funnel-view[hidden] { display: none !important; }

/* Give every Add Your School card preview the same left media slot used in
   directory results. The sample logo is illustrative; the submitted preview
   keeps the honest empty slot until a school supplies its own logo. */
#claim-form-view .claim-preview {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

#claim-form-view .claim-preview__media {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f7fb;
}

#claim-form-view .claim-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
}

#claim-form-view .claim-preview__media--empty::after {
  content: '✈\FE0E';
  color: rgba(36, 82, 143, 0.38);
  font-size: 2rem;
  transform: rotate(-12deg);
}

#claim-form-view .claim-preview__content {
  min-width: 0;
}

@media (min-width: 901px) and (max-width: 1150px) {
  #claim-form-view .claim-preview {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  #claim-form-view .claim-preview {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 639px) {
  .claim-page:has(#claim-form-view:not([hidden])) { padding: 0 16px !important; }
}

/* Approved school workspace */
.dashboard-page { max-width: 1240px; margin: 0 auto 72px; color: #152e49; }
.dashboard-page [hidden] { display: none !important; }
.dashboard-auth, .dashboard-activate { max-width: 520px; margin: 35px auto; padding: clamp(24px, 4vw, 42px); border: 1px solid #dce6ee; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px #102b4510; }
.dashboard-auth h1, .dashboard-activate h1, .dashboard-workspace h1 { margin: 0 0 10px; color: #102b45; font-size: clamp(30px, 4vw, 44px); }
.dashboard-auth > p:not(.eyebrow), .dashboard-activate > p:not(.eyebrow) { color: #52657a; line-height: 1.6; }
.dashboard-auth form, .dashboard-activate form, .dashboard-panel form { display: grid; gap: 16px; margin-top: 25px; }
/* Master dashboard uses this auth card outside .dashboard-page. Give its
   labels and inputs the same full-width, touch-sized controls as school auth. */
.master-page .dashboard-auth label, .master-page .dashboard-activate label { display: grid; gap: .45rem; min-width: 0; font-size: .875rem; font-weight: 700; }
.master-page .dashboard-auth input:not([type=checkbox]), .master-page .dashboard-activate input:not([type=checkbox]) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: .65rem .75rem; border: 1px solid #b9cbdc; border-radius: 9px; background: #fff; color: #102b45; font: inherit; font-weight: 400; }
.master-page .dashboard-auth input:focus-visible, .master-page .dashboard-activate input:focus-visible { outline: 3px solid #a5d8f0; outline-offset: 1px; }
.dashboard-page label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.dashboard-page input:not([type=checkbox]), .dashboard-page textarea { box-sizing: border-box; width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #b9cbdc; border-radius: 9px; background: #fff; color: #102b45; font: inherit; font-weight: 400; }
.dashboard-page textarea { resize: vertical; }
.dashboard-page input:focus-visible, .dashboard-page textarea:focus-visible { outline: 3px solid #a5d8f0; outline-offset: 1px; }
.dashboard-page [role=status] { min-height: 18px; margin: 0; color: #0b6860; font-size: 13px; }
.dashboard-auth__signup { margin-top: 28px; padding-top: 25px; border-top: 1px solid #dce6ee; }
.dashboard-auth__signup h2 { margin: 0; font-size: 20px; }
.dashboard-auth__signup p { color: #52657a; line-height: 1.55; }
.dashboard-auth__signup .btn { display: inline-flex; text-decoration: none; }
.dashboard-workspace__head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 25px 0; }
.dashboard-workspace__head p:last-child { margin: 0; color: #52657a; }
.dashboard-logout { padding: 10px 14px; border: 1px solid #b9cbdc; border-radius: 9px; background: #fff; color: #152e49; font: inherit; cursor: pointer; }
.dashboard-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
#school-workspace-card > .dashboard-panel + .dashboard-panel { margin-top: 20px; }
.dashboard-summary article, .dashboard-panel { padding: 22px; border: 1px solid #dce6ee; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px #102b4509; }
.dashboard-summary article { display: grid; gap: 7px; }
.dashboard-summary span { color: #52657a; font-size: 13px; }
.dashboard-summary strong { font-size: 24px; }
.dashboard-summary small { color: #607387; line-height: 1.45; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.dashboard-grid aside { display: grid; gap: 20px; }
.dashboard-panel h2 { margin: 0 0 7px; font-size: 22px; }
.dashboard-panel > p { margin: 0; color: #52657a; line-height: 1.55; }
.dashboard-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.dashboard-panel fieldset { padding: 16px; border: 1px solid #dce6ee; border-radius: 10px; }
.dashboard-panel legend { padding: 0 5px; font-size: 13px; font-weight: 800; }
.dashboard-checks { display: grid; grid-template-columns: 1fr; gap: 9px; }
.dashboard-checks label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
/* Keep each ground-school format checkbox beside its own label in both workspaces. */
.listing-program-detail .dashboard-checks > label,
form :is([data-profile-group="payment"], [data-profile-group="student"], [data-profile-group="rentals"], [data-profile-group="maintenance"]) .dashboard-checks > label {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px;
  min-height: 32px; width: fit-content; max-width: 100%; cursor: pointer;
}
.listing-program-detail .dashboard-checks > label > input[type="checkbox"],
form :is([data-profile-group="payment"], [data-profile-group="student"], [data-profile-group="rentals"], [data-profile-group="maintenance"]) .dashboard-checks > label > input[type="checkbox"] {
  appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0;
}

.dashboard-panel .claim-preview { margin: 15px 0; }
.dashboard-panel .claim-preview__content { min-width: 0; }
.dashboard-upgrade { background: #e9f5f5; }
.dashboard-upgrade .btn { display: inline-flex; margin-top: 18px; text-decoration: none; }
#claim-form-view .claim-partner-card { position: static; }
#claim-form-view .claim-free-card { grid-column: 1; grid-row: 1; }
#claim-form-view .claim-partner-card { grid-column: 2; grid-row: 1; }
#claim-form-view .claim-step-one-form { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
#claim-form-view .claim-form-panel { box-sizing: border-box; width: min(880px, 100%); max-width: 100%; margin-inline: auto; padding: clamp(20px, 3vw, 34px); border: 1px solid #dbe4ee; border-radius: 20px; background: #fff; box-shadow: 0 12px 36px #0f172a12; }
@media (max-width: 900px) {
  #claim-form-view .claim-free-card { grid-column: 1; grid-row: 1; }
  #claim-form-view .claim-partner-card { grid-column: 1; grid-row: 2; }
  #claim-form-view .claim-step-one-form { grid-column: 1; grid-row: 3; }
}
@media (max-width: 850px) { .dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dashboard-summary, .dashboard-fields { grid-template-columns: 1fr; } .dashboard-workspace__head { flex-direction: column; } .dashboard-checks { grid-template-columns: 1fr; } }
.claim-school-search{margin:1.2rem 0 1.5rem;padding:1.4rem;border:1px solid #b9d7e7;border-radius:16px;background:#f4faff;box-shadow:0 5px 18px rgba(0,57,100,.06)}
.claim-school-search h3{margin:0 0 .4rem;font-size:1.35rem}.claim-school-search p{margin:.4rem 0 1rem}.claim-school-search label{display:block;font-weight:700;margin-bottom:.35rem}.claim-school-search input{width:100%;padding:.8rem 1rem;border:1px solid #7da9c7;border-radius:8px;font:inherit;background:white}.claim-school-search [data-school-lookup-results]{display:grid;gap:.3rem;margin-top:.5rem}.claim-school-search__result{width:100%;text-align:left;padding:.7rem .9rem;border:1px solid #d7e5ef;border-radius:7px;background:white;color:#103e60;font:inherit;cursor:pointer}.claim-school-search__result:hover,.claim-school-search__result:focus-visible{border-color:#0077bb;background:#e8f5fc}.claim-school-search [data-school-lookup-choice]{font-weight:700;color:#145b2c}.claim-school-search [data-school-lookup-new]{margin-top:.5rem;border:0;background:transparent;color:#006ca6;text-decoration:underline;font:inherit;cursor:pointer}.badge--partner{display:inline-block;margin-left:.3rem;padding:.15rem .55rem;border-radius:999px;background:#fff2cf;color:#795100;font-size:.72em;font-weight:800;white-space:nowrap}
.master-page{max-width:1500px;margin:0 auto;padding:2rem 1.2rem 5rem}.master-head{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.4rem}.master-head h1{margin:.1rem 0}.master-tabs{display:flex;gap:.5rem;border-bottom:1px solid #d7e5ef;margin-bottom:1.5rem}.master-tabs button{border:0;background:transparent;padding:.8rem 1.1rem;font:inherit;font-weight:700;color:#33536a;cursor:pointer}.master-tabs button[aria-pressed=true]{color:#006fa9;border-bottom:3px solid #006fa9}.master-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:1.3rem;align-items:start}.master-sidebar,.master-editor{min-width:0}.master-sidebar{background:#f3f8fb;border:1px solid #d6e6f0;border-radius:14px;padding:1rem;position:sticky;top:1rem}.master-sidebar label{font-weight:700;display:grid;gap:.35rem}.master-sidebar input,.master-editor input:not([type=checkbox]),.master-editor textarea,.master-editor select{width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:7px;font:inherit;background:white}.master-sidebar .btn{margin:.8rem 0;width:100%}.master-results{display:grid;gap:.35rem;max-height:65vh;overflow:auto}.master-result{display:block;width:100%;border:1px solid #dae7ef;background:white;text-align:left;border-radius:7px;padding:.7rem .8rem;color:#163c54;font:inherit;cursor:pointer}.master-result:hover,.master-result:focus-visible{border-color:#0076ad;background:#eaf6fc}.master-editor__heading{display:flex;justify-content:space-between;gap:1rem;align-items:start}.master-editor h2{margin:.2rem 0}.master-editor fieldset{margin:1.2rem 0;border:1px solid #dae7ef;border-radius:8px}.master-check{display:flex;gap:.6rem;align-items:center;font-weight:700;margin:1rem 0}.master-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.master-editor dl{display:grid;grid-template-columns:minmax(110px,170px) 1fr;gap:.45rem 1rem}.master-editor dt{font-weight:700}.master-editor dd{margin:0;overflow-wrap:anywhere}.master-editor [data-master-match-search]{margin:.5rem 0}.master-editor select{margin:.3rem 0 .8rem}@media(max-width:780px){.master-layout{grid-template-columns:1fr}.master-sidebar{position:static}.master-results{max-height:300px}.master-head{display:block}}
.master-page{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:2rem clamp(1rem,2.5vw,3rem) 5rem}
.dashboard-card-preview{display:grid;margin:1.1rem 0;max-width:780px;cursor:text}
.dashboard-card-preview .card-main{min-width:0}
.dashboard-card-preview .card-main [data-card-description]{color:#52657a;line-height:1.5}
.dashboard-card-preview .card-main [data-card-fleet],.dashboard-card-preview .card-main [data-card-price]{font-size:.9rem;color:#35536a}
.dashboard-card-preview .card-act{pointer-events:none}
.dashboard-card-preview__hidden{font-weight:800;color:#a53737}
.dashboard-logo-field { display: grid; gap: .4rem; }
.dashboard-logo-field p { margin: 0; font-size: .85rem; color: #607387; }
.dashboard-logo-field input[type=file] { max-width: 100%; }
.listing-repeaters { min-width: 0; }
.listing-repeaters [data-aircraft-rows], .listing-repeaters [data-discovery-rows] { display: grid; gap: .65rem; margin-bottom: .8rem; }
.listing-repeaters__row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) auto; gap: .6rem; align-items: end; }
.listing-repeaters__row[data-listing-row="discovery"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.listing-repeaters__row[data-listing-row="discovery"] .listing-repeaters__remove { justify-self: start; }
@media (max-width: 620px) { .listing-repeaters__row[data-listing-row="discovery"] { grid-template-columns: 1fr; } }
.listing-repeaters__row label, .listing-program-row label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; min-width: 0; }
.listing-repeaters__remove { border: 1px solid #d2dce6; border-radius: 7px; padding: .65rem; background: white; color: #9b3d3d; cursor: pointer; }
.listing-programs { display: grid; gap: .8rem; }
.listing-program-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .8rem; align-items: center; }
.listing-program-row label:first-child { display: flex; align-items: center; }
.card-pricing { font-size: .85rem; color: #35536a; line-height: 1.4; }
@media (max-width: 620px) { .listing-repeaters__row, .listing-program-row { grid-template-columns: 1fr; } }
.dashboard-card-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin-bottom:1rem}
.dashboard-card-toolbar a{font-weight:700;color:#006fa9}
.dashboard-danger{border-color:#cf8f8f!important;color:#a02c2c!important}
.dashboard-panel form[hidden],.master-editor form[hidden]{display:none}

/* Optional personal account and school access request */
.account-page{max-width:1100px;margin:0 auto 5rem;color:#152e49}.account-page [hidden]{display:none!important}.account-intro{max-width:760px;margin:2.2rem 0}.account-intro h1{font-size:clamp(2.2rem,5vw,3.5rem);margin:.2rem 0}.account-intro p:last-child{color:#52657a;line-height:1.6}.account-card{background:#fff;border:1px solid #dce6ee;border-radius:18px;box-shadow:0 14px 35px #102b4510;padding:clamp(1.2rem,3vw,2rem);margin:1.4rem 0}.account-card h2,.account-card h3{margin-top:0}.account-card p{line-height:1.55;color:#52657a}.account-auth{max-width:520px}.account-auth form,.account-card form{display:grid;gap:1rem;margin-top:1.2rem}.account-page label{display:grid;gap:.4rem;font-weight:700;font-size:.9rem}.account-page input:not([type=checkbox]),.account-page select,.account-page textarea{box-sizing:border-box;width:100%;min-height:44px;padding:.65rem .75rem;border:1px solid #b9cbdc;border-radius:8px;background:#fff;color:#102b45;font:inherit;font-weight:400}.account-page textarea{resize:vertical}.account-page input:focus-visible,.account-page textarea:focus-visible,.account-page select:focus-visible{outline:3px solid #a5d8f0;outline-offset:1px}.account-page [role=status]{min-height:1.2rem;font-size:.88rem;color:#0b6860}.account-link{border:0;background:none;padding:0;color:#006fa9;text-decoration:underline;cursor:pointer;font:inherit}.account-page fieldset{border:1px solid #dce6ee;border-radius:10px;padding:1rem;display:grid;gap:.65rem}.account-page fieldset legend{font-weight:800}.account-page fieldset label,.account-checkbox{display:flex;align-items:center;gap:.6rem;font-weight:500}.account-page input[type=checkbox]{width:1.15rem;height:1.15rem;accent-color:#006fa9}.account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.account-workspace-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}.account-workspace-head h2{font-size:clamp(1.7rem,3vw,2.5rem);margin:.2rem 0}.account-workspace-head p{margin:.3rem 0;color:#52657a}.account-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.5rem 0}.account-saved-card{border-top:1px solid #dce6ee;padding:1.3rem 0;display:grid;gap:.65rem}.account-saved-card h4{margin:0;font-size:1.15rem}.account-saved-card p{margin:0}.account-rental{font-size:.9rem}.account-saved-actions{display:flex;flex-wrap:wrap;gap:.6rem}.master-account-list{display:grid;gap:.7rem}.master-account-row{padding:.9rem;border:1px solid #dce6ee;border-radius:9px}.master-account-row p{margin:.35rem 0 0;line-height:1.5;color:#52657a}@media(max-width:700px){.account-fields{grid-template-columns:1fr}.account-workspace-head{display:block}.account-workspace-head button{margin-top:1rem}}

/* My Account is the shared visitor and flight school entry point. */
.account-auth,.account-onboarding{margin:clamp(2rem,7vh,5rem) auto;max-width:560px}
.account-page [role=status]:empty{display:none}
.account-auth>h1{text-align:center;margin:0 0 1.4rem;font-size:clamp(2rem,4vw,2.7rem)}
.account-auth .btn,.account-google{width:100%;min-height:48px;justify-content:center}
.account-google{display:flex;align-items:center;gap:.8rem;box-sizing:border-box;border:1px solid #b7c5d4;border-radius:9px;background:#fff;color:#203044;font-size:1rem;font-weight:700;text-decoration:none;box-shadow:0 2px 7px #102b4519;margin-top:.8rem}
.account-google:hover{background:#f6f9fc;border-color:#6287aa;box-shadow:0 4px 14px #102b4526}
.account-google:focus-visible{outline:3px solid #a5d8f0;outline-offset:2px}
.account-google__mark{font-size:1.65rem;font-weight:800;line-height:1;background:conic-gradient(#4285f4 0 30%,#34a853 30% 46%,#fbbc05 46% 66%,#ea4335 66% 82%,#4285f4 82%);background-clip:text;-webkit-background-clip:text;color:transparent}
.account-auth__links{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem 1.3rem;margin:1.1rem 0}
.account-auth__privacy{text-align:center;border-top:1px solid #e4eaf0;padding-top:1rem;margin-top:1.4rem}
.account-onboarding>h1{text-align:center}.account-intent-options{margin:1.2rem 0}.account-intent-options label{display:flex;gap:1rem;align-items:center;padding:.9rem;border:1px solid #dce6ee;border-radius:10px;cursor:pointer}.account-intent-options label:has(input:checked){border-color:#0079ad;background:#eff9fc}.account-intent-options input{flex:none}.account-intent-options strong,.account-intent-options small{display:block}.account-intent-options small{margin-top:.25rem;color:#536b80}
.account-page .account-intent-options input[type=radio]{box-sizing:border-box;width:1.2rem;height:1.2rem;min-height:0;padding:0;flex:0 0 1.2rem;accent-color:#0079ad}
.account-intent-options label span{flex:1;min-width:0}
.account-school__selected .dashboard-card-preview .card-act{pointer-events:auto}
.account-school__selected button[data-claim-selected]{cursor:pointer}
.account-school__finder{max-width:840px;margin:1.7rem auto;padding:clamp(1.3rem,4vw,2.6rem)}.account-school__finder>h2{text-align:center;font-size:clamp(1.8rem,3vw,2.4rem)}.account-school__finder>.eyebrow{text-align:center}.account-school__finder>p{text-align:center}.account-school__finder>label{margin:1.4rem auto 0;max-width:620px}.account-school__results{display:grid;gap:.45rem;max-width:620px;margin:1rem auto}.account-school__result{width:100%;padding:.9rem 1rem;border:1px solid #d5e1ea;border-radius:9px;background:#f9fbfc;color:#12314d;text-align:left;font:inherit;cursor:pointer}.account-school__result:hover{border-color:#0079ad;background:#eef8fc}.account-school__selected{margin:1.5rem auto;max-width:680px}.account-school__selected .school-card{max-width:100%}.account-school__missing-button{display:block;margin:1.2rem auto}.account-school__missing{border-top:1px solid #e0e8ee;padding-top:1.4rem}.account-programs__row{display:grid!important;grid-template-columns:auto 1fr minmax(120px,190px);gap:.65rem;align-items:center}.account-programs__row input[type=checkbox]{width:1.1rem}.account-school__status,.account-school__partner{max-width:840px;margin:1.3rem auto}.account-school__partner{background:#eef8fc}.account-details{max-width:840px}.partner-system-card--bundle{grid-column:1/-1}.partner-bundle{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;padding:0 1.4rem 1.5rem}.partner-bundle__system{border-top:1px solid #dbe5ee;padding-top:1.2rem}.partner-bundle__system h4{font-size:1.15rem;margin:.45rem 0}.partner-bundle__system p{color:#52657a}.partner-bundle__system ul{padding-left:0}
@media(max-width:700px){.account-programs__row{grid-template-columns:auto 1fr}.account-programs__row input:not([type=checkbox]){grid-column:2}.partner-bundle{grid-template-columns:1fr}}
.dashboard-calendar { margin-top: 22px; min-width: 0; }
.master-review-fields { display: grid; gap: 0.8rem; }
.master-review-fields p { margin: 0; color: #52657a; font-size: 0.88rem; }
.master-review-fields label { display: grid; gap: 0.3rem; font-weight: 700; }
.master-review-fields__details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.8rem; }
.master-review-fields__details[hidden] { display: none; }
.master-review-fields__url { grid-column: 1 / -1; }
@media (max-width: 580px) { .master-review-fields__details { grid-template-columns: 1fr; } }
.dashboard-calendar[hidden] { display: none; }
.master-editor .dashboard-calendar { box-shadow: none; }
.dashboard-calendar__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dashboard-calendar__head .eyebrow { margin: 0 0 4px; }
.dashboard-calendar__head h2 { margin: 0; }
.dashboard-calendar__head strong { padding: 7px 11px; border-radius: 999px; background: #eaf4f7; color: #155b73; font-size: 13px; }
.dashboard-calendar__zone { display: flex !important; align-items: end; flex-wrap: wrap; gap: 10px !important; margin: 18px 0 10px !important; }
.dashboard-calendar__zone label { flex: 1 1 220px; }
.dashboard-calendar__zone input { width: 100%; }
.dashboard-calendar__zone button { flex: 0 0 auto; }
.dashboard-calendar__hint { margin: 0 0 16px !important; font-size: 13px; }
.dashboard-calendar .fc-event[role="button"]{cursor:pointer}
.dashboard-calendar .fc-event[role="button"]:focus-visible{outline:3px solid #f29b38;outline-offset:2px}
.dashboard-calendar__details{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:min(88dvh,780px);overflow:auto;border:1px solid #a7becb;border-radius:14px;padding:20px;background:#fff;color:#173b55;box-shadow:0 20px 60px #102b4259}
.dashboard-calendar__details::backdrop{background:#102b42a8}
.dashboard-calendar__details-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}
.dashboard-calendar__details-head h3{margin:0;font-size:21px}
.dashboard-calendar__details dl{display:grid;grid-template-columns:minmax(110px,35%) minmax(0,1fr);gap:8px 14px;margin:0}
.dashboard-calendar__details dt{font-weight:700;color:#52657a}
.dashboard-calendar__details dd{margin:0;overflow-wrap:anywhere}
.dashboard-calendar__details [data-calendar-details-note]{margin:16px 0 0;line-height:1.45}
.dashboard-calendar__details [data-calendar-details-inquiry]{list-style:none;padding:0;margin:0 0 16px}
.dashboard-calendar__inquiries{margin:20px 0;border:1px solid #dce6ee;border-radius:10px;padding:12px;background:#fff}
.dashboard-calendar__inquiries>summary{cursor:pointer;font-weight:800;color:#173b55}
.dashboard-calendar__inquiries>.dashboard-inquiries{margin-top:16px}
@media(max-width:480px){.dashboard-calendar__details{padding:14px}.dashboard-calendar__details dl{grid-template-columns:1fr;gap:3px}.dashboard-calendar__details dd{margin-bottom:9px}}
.dashboard-calendar [data-calendar-grid] { min-height: 340px; }
.dashboard-calendar .fc { --fc-border-color: #dce6ee; --fc-button-bg-color: #153e5a; --fc-button-border-color: #153e5a; --fc-button-hover-bg-color: #0e6584; --fc-button-active-bg-color: #0e6584; font-family: var(--sans); }
.dashboard-calendar .fc .fc-toolbar-title { font-size: clamp(18px, 2vw, 23px); }
.dashboard-calendar .fc .fc-button { font-size: 13px; }
.dashboard-calendar__event { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid #dce6ee; }
.dashboard-calendar__event h3 { margin: 0; font-size: 17px; }
.dashboard-flying-hours{margin-top:24px;padding-top:18px;border-top:1px solid #dce6ee}
.dashboard-flying-hours h3{margin:0 0 .5rem;color:#173b55}
.dashboard-flying-hours>p{color:#52657a;line-height:1.45}
.dashboard-flying-hours__days{display:grid;gap:.65rem;max-width:42rem;margin:1rem 0}
.dashboard-flying-hours__day{display:grid;grid-template-columns:minmax(5.5rem,7rem) minmax(0,1fr);gap:.65rem;align-items:center;padding:.75rem;border:1px solid #dce7ed;border-radius:8px;background:#f8fbfc}
.dashboard-flying-hours__times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.dashboard-flying-hours__times label{display:grid;gap:.25rem;font-size:.88rem;font-weight:600}
.dashboard-flying-hours__times select{box-sizing:border-box;min-width:0;width:100%;padding:.5rem}
.dashboard-flying-hours__day [data-flying-legacy],.dashboard-flying-hours__day [data-flying-clear-legacy]{grid-column:2}
.dashboard-flying-hours__day [data-flying-legacy]{margin:.2rem 0;color:#52657a}
.dashboard-flying-hours__day [data-flying-clear-legacy][hidden]{display:none!important}
@media(max-width:480px){.dashboard-flying-hours__day{grid-template-columns:minmax(4.6rem,5.5rem) minmax(0,1fr);gap:.4rem;padding:.55rem}.dashboard-flying-hours__times{gap:.4rem}}
.dashboard-calendar__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dashboard-calendar__fields input, .dashboard-calendar__fields select { width: 100%; }
.dashboard-calendar [data-calendar-feedback] { margin: 14px 0 0; color: #31536a; font-size: 13px; }
@media (max-width: 640px) { .dashboard-calendar__fields { grid-template-columns: 1fr; } .dashboard-calendar .fc .fc-toolbar { flex-wrap: wrap; gap: 8px; } .dashboard-calendar .fc .fc-button { padding: 5px 7px; } }

.dashboard-inquiries { margin-top: 20px; }
.dashboard-inquiries__head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; }
.dashboard-inquiries__head .eyebrow { margin: 0 0 4px; }
.dashboard-inquiries [data-inquiries-status] { margin: 12px 0; }
.dashboard-inquiries [data-inquiries-list] { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dashboard-inquiry { padding: 14px; border: 1px solid #dce6ee; border-radius: 10px; background: #f8fbfd; overflow-wrap: anywhere; }
.dashboard-inquiry h3 { margin: 0 0 8px; font-size: 17px; }
.dashboard-inquiry p { margin: 5px 0; color: #334d63; }

.dashboard-conversations { margin-top: 20px; min-width: 0; }
.dashboard-conversations[hidden] { display: none; }
.dashboard-conversations__head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; }
.dashboard-conversations__head .eyebrow { margin: 0 0 4px; }
.dashboard-conversations [data-conversation-status] { margin: 12px 0; color: #31536a; }
.dashboard-conversations__head-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}
.dashboard-conversations__layout { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.5fr); gap: 14px; min-width: 0; margin-top:1rem; }
.dashboard-conversations__threads { list-style: none; padding: 0; margin: 0; border: 1px solid #dce6ee; border-radius: 12px; max-height: 430px; overflow-y: auto; }
.dashboard-conversations__threads > li + li { border-top: 1px solid #e5edf2; }
.conversation-thread { display: grid; gap: 3px; width: 100%; padding: 12px; border: 0; background: white; color: #193c54; text-align: left; font: inherit; cursor: pointer; }
.conversation-thread:hover, .conversation-thread:focus-visible, .conversation-thread[aria-current=true] { background: #eaf6fc; outline-color: #0076ad; }
.conversation-thread span, .conversation-thread small { color: #52657a; overflow-wrap: anywhere; }
.dashboard-conversations__detail { min-width: 0; border: 1px solid #dce6ee; border-radius: 12px; padding: 14px; background: #fbfdfe; }
.dashboard-conversations__detail h3 { margin: 0; font-size: 18px; }
.dashboard-conversations__detail > p { margin: 4px 0 12px; color: #52657a; overflow-wrap: anywhere; }
.dashboard-conversations__messages { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 10px; max-height: 350px; overflow-y: auto; }
.conversation-message { max-width: 90%; padding: 10px 12px; border-radius: 12px; background: #eaf4f8; overflow-wrap: anywhere; }
.conversation-message--outbound { justify-self: end; background: #e7f5ed; }
.conversation-message p { margin: 0 0 5px; white-space: pre-wrap; }
.conversation-message small { display: block; color: #52657a; line-height: 1.35; }
.dashboard-conversations form { border-top: 1px solid #dce6ee; padding-top: 12px; margin-top: 14px; gap: 10px; }
.dashboard-conversations form[hidden] { display: none; }
.dashboard-conversations form label { display: grid; gap: 7px; font-weight: 700; }
.dashboard-conversations form textarea { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #a7becb; border-radius: 8px; font: inherit; resize: vertical; }
.dashboard-conversations form small { color: #52657a; }
.school-chat-reply__composer { min-width: 0; border: 1px solid #a7becb; border-radius: 10px; background: #fff; overflow: hidden; }
.school-chat-reply__composer:focus-within { outline: 2px solid #15789b; outline-offset: 1px; }
.dashboard-conversations .school-chat-reply__composer textarea { display: block; min-height: 52px; max-height: 144px; padding: .75rem; border: 0; border-radius: 0; line-height: 1.4; resize: none; overflow-y: hidden; background: #fff; outline: 0; }
.school-chat-reply__bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .35rem; border-top: 1px solid #dce6ee; background: #f4f8fb; }
.school-chat-reply__bar select { width: min(170px, 65%); min-width: 100px; padding: .35rem .5rem; border: 1px solid #a7becb; border-radius: 8px; background: #fff; font: inherit; font-size: .85rem; }
.school-chat-reply__send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sun); color: #fff; font: 1.2rem/1 var(--sans); cursor: pointer; }
.school-chat-reply__send:hover { background: #a93e12; }
.school-chat-reply__send:focus-visible, .school-chat-reply__composer textarea:focus-visible { outline: 3px solid #15789b; outline-offset: 2px; }
.school-chat-reply__send:disabled { opacity: .55; cursor: wait; }
.school-chat-reply [role="status"] { margin: .45rem 0 0; }
.school-chat-reply [role="status"]:empty { display: none; }
.school-chat-reply__availability { display: block; margin: .45rem 0 0; }
@media (max-width: 650px) { .dashboard-conversations__layout { grid-template-columns: 1fr; } .dashboard-conversations__threads { max-height: 210px; } }
.master-tabs { flex-wrap: wrap; }
.dashboard-owner-inbox__badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #eaf4f7; color: #155b73; font-size: 13px; font-weight: 700; }
.dashboard-owner-inbox__empty { padding: 18px; background: #fbfdfe; }
.dashboard-owner-inbox__empty p { margin: 8px 0 0; color: #52657a; }
.master-shell { display: grid; grid-template-columns: minmax(210px, 245px) minmax(0, 1fr); gap: 20px; align-items: start; }
.master-shell__sidebar { min-width: 0; position: sticky; top: calc(var(--hdr-h) + 12px); border: 1px solid #d6e6f0; border-radius: 14px; padding: 12px; background: #f3f8fb; }
.master-shell__sidebar { display: flex; flex-direction: column; min-height: min(70vh, 700px, calc(100dvh - var(--hdr-h) - 24px)); max-height: calc(100vh - var(--hdr-h) - 24px); max-height: calc(100dvh - var(--hdr-h) - 24px); box-sizing: border-box; }
.master-shell__footer { margin-top: auto; padding-top: 1.5rem; }
.master-shell__footer .dashboard-logout { width: 100%; text-align: left; }
.dashboard-school-footer { display: flex; justify-content: flex-start; margin: 2rem 0 0; }
.dashboard-signout-dialog { width: min(420px, calc(100vw - 2rem)); max-width: none; border: 1px solid #c8d7e1; border-radius: 16px; padding: 1.5rem; color: #173950; box-shadow: 0 18px 60px #153e5a33; }
.dashboard-signout-dialog::backdrop { background: #09253a99; }
.dashboard-signout-dialog h2 { margin: 0 0 .5rem; }
.dashboard-signout-dialog p { margin: 0; }
.dashboard-signout-dialog__status { min-height: 1.25rem; margin-top: .7rem !important; color: #9d3030; }
.dashboard-signout-dialog__actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.owner-inbox__channel-row { display: flex; justify-content: flex-end; margin: .65rem 0 .2rem; }
.owner-inbox__channel { display: grid; gap: .25rem; width: min(180px, 100%); font-size: .88rem; color: #31566c; }
.owner-inbox__channel select { width: 100%; padding: .38rem .55rem; border: 1px solid #a7becb; border-radius: 8px; background: #fff; font: inherit; }
.owner-inbox__availability { display: block; margin-bottom: .65rem; color: #52657a; }
.owner-compose { margin-top: .75rem; padding: .9rem; border: 1px solid #dce6ee; border-radius: 12px; background: #fbfdfe; }
.owner-compose[hidden], .owner-compose [hidden] { display: none !important; }
.dashboard-conversations__layout[hidden] { display: none !important; }
.owner-compose form { display: grid; gap: .7rem; }
.owner-compose h3 { margin: 0; }
.owner-compose label { display: grid; gap: .35rem; font-weight: 700; color: #173b55; }
.owner-compose__recipients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.owner-compose__recipients label:first-child { grid-column: 1 / -1; }
.owner-compose__channel-row { display: flex; justify-content: flex-end; }
.owner-compose__channel { width: min(180px, 100%); }
.owner-compose input, .owner-compose textarea, .owner-compose select { box-sizing: border-box; width: 100%; padding: .65rem; border: 1px solid #a7becb; border-radius: 8px; background: #fff; font: inherit; }
.owner-compose textarea { resize: vertical; }
.owner-compose__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.owner-compose small { color: #52657a; }
@media (max-width: 700px) { .owner-compose__recipients { grid-template-columns: 1fr; } }
.owner-compose__sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.owner-compose__message-box { min-width:0; border:1px solid #a7becb; border-radius:10px; background:#fff; overflow:hidden; }
.owner-compose__message-box:focus-within { outline:2px solid #15789b; outline-offset:1px; }
.owner-compose .owner-compose__message-box textarea { display:block; width:100%; min-height:5.5rem; padding:.75rem; border:0; border-radius:0; outline:0; resize:vertical; }
.owner-compose__inside-bar { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.35rem .45rem; border-top:1px solid #dce6ee; background:#f4f8fb; }
.owner-compose .owner-compose__inside-bar select { flex:0 1 170px; min-width:110px; width:auto; padding:.35rem .5rem; font-size:.85rem; }
.owner-compose__send { flex:none; display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:var(--sun); color:#fff; cursor:pointer; font-size:1.15rem; }
.owner-compose__send:hover { background:#a93e12; }
.owner-compose__send:focus-visible { outline:3px solid #15789b; outline-offset:2px; }
.owner-compose__send:disabled { opacity:.55; cursor:wait; }
.owner-compose--live { border:0; padding:0; background:transparent; }
.owner-compose--live form { border-top:1px solid #dce6ee; padding-top:12px; }
.owner-compose--live .owner-compose__email { display:grid; gap:.65rem; }
.owner-compose--live .owner-compose__inside-bar select { flex:0 1 170px; }
.dashboard-conversations__messages[hidden] { display:none!important; }
.master-shell__main { min-width: 0; }
.master-scope { position: relative; }
.master-scope__switch { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid #bcd2df; border-radius: 10px; background: white; color: #163c54; text-align: left; font: inherit; cursor: pointer; }
.master-scope__switch > span:nth-child(2) { flex: 1; min-width: 0; }
.master-scope__switch strong, .master-scope__switch small { display: block; overflow-wrap: anywhere; }
.master-scope__switch small { color: #52657a; font-size: 11px; }
.master-scope__mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #153e5a; color: white; }
.master-scope__options { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; width: min(340px, 85vw); padding: 10px; border: 1px solid #bdd0dc; border-radius: 10px; background: white; box-shadow: 0 12px 30px #102b4526; }
.master-scope__options[hidden] { display: none; }
.master-scope__options > button, .master-scope__results button { display: block; width: 100%; padding: 9px; border: 0; border-radius: 7px; background: white; color: #163c54; text-align: left; font: inherit; cursor: pointer; }
.master-scope__options > button:hover, .master-scope__results button:hover { background: #eaf6fc; }
.master-scope__options label { display: grid; gap: 5px; margin: 10px 0 7px; font-size: 13px; font-weight: 700; }
.master-scope__options input { box-sizing: border-box; width: 100%; padding: 9px; border: 1px solid #a7becb; border-radius: 7px; font: inherit; }
.master-scope__results { max-height: 260px; overflow-y: auto; }
.master-scope__results p { margin: 8px; color: #52657a; font-size: 13px; }
.master-shell__nav { display: grid; align-content: start; gap: 3px; margin-top: 18px; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.master-shell__nav[hidden] { display: none; }
.master-shell__nav p { margin: 0 0 6px; padding: 0 10px; color: #52657a; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; overflow-wrap: anywhere; }
.master-shell__nav button, .master-shell__nav a { display: block; box-sizing: border-box; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #244860; text-align: left; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.master-shell__nav button:hover, .master-shell__nav button:focus-visible, .master-shell__nav a:hover, .master-shell__nav a:focus-visible { background: #e2f0f8; }
.master-shell__nav button[aria-pressed=true], .master-shell__nav button[aria-current=true], .master-shell__nav a[aria-current=page] { background: #d7edf8; color: #075b80; }
.master-layout--scoped { display: block; }
.master-layout--scoped > .master-sidebar { display: none; }
.master-editor [data-school-section][hidden] { display: none !important; }
.master-visibility-actions { display: flex; justify-content: flex-end; border-top: 1px solid #dce6ee; margin-top: 1.5rem; padding-top: 1.2rem; }
.master-editor > [data-school-section] { min-width: 0; }
.master-layout--scoped .dashboard-inquiries, .master-layout--scoped .dashboard-conversations, .master-layout--scoped .dashboard-calendar { margin-top: 0; }
.master-shell__nav button[hidden], .master-shell__nav a[hidden] { display: none; }
.school-shell__identity { display: grid; gap: .35rem; padding: 10px; border-bottom: 1px solid #d6e6f0; color: #163c54; }
.school-shell__identity-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; min-width: 0; }
.school-shell__identity-top strong { min-width: 0; overflow-wrap: anywhere; }
.school-shell__signout { flex: none; min-height: 44px; padding: .35rem .5rem; border: 1px solid #bfd5e3; border-radius: 8px; background: white; color: #244860; font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.school-shell__signout:hover, .school-shell__signout:focus-visible { background: #e2f0f8; }
.school-shell__identity strong { font-size: 1rem; }
.school-shell__identity small { display: block; min-width: 0; color: #52657a; overflow-wrap: anywhere; word-break: normal; }
.school-shell [data-school-section][hidden] { display: none !important; }
.account-school-workspace main > .shell { box-sizing: border-box; max-width: none; padding-inline: clamp(1rem, 2.5vw, 3rem); }
.account-school-workspace .breadcrumbs { display: none; }
.account-school-workspace .account-page, .account-school-workspace .dashboard-page { box-sizing: border-box; width: 100%; max-width: none; margin-inline: 0; }
@media (max-width: 850px) { .master-shell { grid-template-columns: 1fr; } .master-shell__sidebar { position: static; min-height: 0; max-height: none; } .master-shell__nav { flex: none; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); } .master-shell__nav p { grid-column: 1 / -1; } }

/* Scoped Opportunities and Pipelines UI */
[data-board-empty-create-pipeline][hidden]{display:none}
.master-head--compact{display:flex;justify-content:flex-end;margin-bottom:.8rem}
.dashboard-workspace__head--compact{flex-direction:row;align-items:center;margin:0 0 .8rem}
.pipeline-builder__delete-note{margin:-.8rem 0 1rem;color:#8d3434;line-height:1.45}
.pipeline-builder__delete-note:empty{display:none}
.opportunity-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:1rem;background:#102b42a8}
.opportunity-modal[hidden]{display:none}
.opportunity-modal .opportunity-form{width:min(100%,640px);max-height:min(88vh,760px);overflow:auto;box-sizing:border-box;margin:0;padding:1.5rem;background:#fff;box-shadow:0 20px 60px #102b4259}
.opportunity-form__heading{grid-column:1/-1;display:flex;align-items:start;justify-content:space-between;gap:1rem}
.opportunity-form__close{min-width:2.5rem;min-height:2.5rem;border:1px solid #b7cbd8;border-radius:8px;background:#fff;color:#173b55;font-size:1.5rem;line-height:1;cursor:pointer}
.opportunity-form [data-board-form-status]{grid-column:1/-1;margin:0;color:#8d3434}
.opportunity-form [data-board-form-status]:empty{display:none}
.opportunity-card__actions{flex-wrap:wrap}
.opportunity-card__actions .opportunity-card__remove{color:#a02c2c;border-color:#cf8f8f}
.opportunity-board__totals{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.3rem}
.opportunity-board__value{padding:.2rem .45rem;border-radius:1rem;background:#e9f5ed;color:#145c37;font-size:.76rem;font-weight:800;white-space:nowrap}
.opportunity-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:.35rem}
.opportunity-card__top strong{min-width:0;overflow-wrap:anywhere}
.opportunity-card__value{color:#145c37;font-size:.85rem;font-weight:800;white-space:nowrap}
.opportunity-form fieldset{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;min-width:0;margin:0;padding:.8rem;border:1px solid #dce6ee;border-radius:8px}
.opportunity-form fieldset[hidden]{display:none}
.opportunity-form fieldset legend{font-weight:800;color:#173b55}
.opportunity-form fieldset label:has(textarea),.opportunity-form fieldset .master-check,.opportunity-form fieldset small{grid-column:1/-1}
.opportunity-form fieldset small{color:#52657a}
@media(max-width:700px){.opportunity-form fieldset{grid-template-columns:1fr}.dashboard-conversations__head-actions{margin-top:.7rem}}
@media(max-width:700px){.opportunity-modal{padding:.5rem}.opportunity-modal .opportunity-form{max-height:calc(100dvh - 1rem);padding:1rem}}
.pipeline-builder{margin:0 0 1.25rem}.pipeline-builder__heading{display:flex;justify-content:space-between;align-items:start;gap:1rem}.pipeline-builder__heading p:not(.eyebrow){color:#52657a;line-height:1.5}.pipeline-builder__toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem;margin:1.3rem 0}.pipeline-builder label,.pipeline-scope label{display:grid;gap:.4rem;font-weight:700;color:#173b55}.pipeline-builder input,.pipeline-builder select,.pipeline-scope select{width:100%;min-width:230px;box-sizing:border-box;padding:.7rem;border:1px solid #a7becb;border-radius:8px;background:#fff;font:inherit;color:#173b55}.pipeline-builder form{margin-top:1rem}.pipeline-builder form>label{max-width:580px}.pipeline-builder h3{margin:1.5rem 0 .4rem}.pipeline-builder [data-pipeline-empty]{color:#52657a}.pipeline-stages{display:grid;gap:.6rem;margin:1rem 0}.pipeline-stage{display:grid;grid-template-columns:2rem minmax(180px,1fr) auto auto;gap:.7rem;align-items:center;padding:.75rem;border:1px solid #dce6ee;border-radius:10px;background:#f8fbfd}.pipeline-stage label{font-size:.85rem}.pipeline-stage input{min-width:0}.pipeline-stage__order{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#dfedf5;font-weight:800}.pipeline-stage__count{white-space:nowrap;color:#52657a;font-size:.85rem}.pipeline-stage__actions{display:flex;gap:.3rem}.pipeline-stage__actions button{min-height:2.5rem;padding:0 .65rem;border:1px solid #b7cbd8;border-radius:7px;background:#fff;color:#173b55;cursor:pointer}.pipeline-stage__actions button:disabled{opacity:.4;cursor:default}.pipeline-stage__actions button:hover:not(:disabled){border-color:#0076ad;background:#eaf6fc}.pipeline-builder__footer{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.pipeline-builder__footer p{margin:0;color:#33536a}.pipeline-scope{margin-bottom:1rem}.pipeline-scope select{max-width:540px}@media(max-width:700px){.pipeline-builder__heading{display:block}.pipeline-stage{grid-template-columns:2rem 1fr}.pipeline-stage__count{grid-column:2}.pipeline-stage__actions{grid-column:2}.master-tabs{overflow:auto;white-space:nowrap}}
.pipeline-workspace__tabs{display:flex;gap:.3rem;margin:1.4rem 0 1rem;border-bottom:1px solid #cbdce7}.pipeline-workspace__tabs button{padding:.75rem 1.1rem;border:0;border-bottom:3px solid transparent;background:transparent;color:#36566d;font:inherit;font-weight:800;cursor:pointer}.pipeline-workspace__tabs button[aria-selected="true"]{border-bottom-color:#c84b18;color:#173b55}.pipeline-workspace__tabs button:hover{background:#edf5f9}.pipeline-builder [data-opportunity-board] [data-board-status]{min-height:1.4em;color:#33536a}.opportunity-board__columns{display:flex;gap:1rem;align-items:stretch;overflow-x:auto;padding:.35rem .1rem 1rem;scrollbar-gutter:stable}.opportunity-board__column{flex:0 0 min(235px,78vw);min-height:230px;padding:.8rem;border:1px solid #dce6ee;border-radius:12px;background:#f4f8fb}.opportunity-board__column h3{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin:0 0 .8rem;font-size:1rem}.opportunity-board__count{padding:.2rem .55rem;border-radius:1rem;background:#dfedf5;color:#173b55;font-size:.8rem}.opportunity-board__empty{color:#61798a;font-size:.9rem}.opportunity-card{margin:.6rem 0;padding:.8rem;border:1px solid #cddde8;border-radius:10px;background:#fff;box-shadow:0 2px 5px #173b550d}.opportunity-card strong{display:block;color:#173b55}.opportunity-card p{margin:.35rem 0;color:#52657a;font-size:.85rem;overflow-wrap:anywhere}.opportunity-card__note{border-top:1px solid #e6edf1;padding-top:.4rem}.opportunity-card__actions{display:flex;gap:.35rem;margin-top:.7rem}.opportunity-card__actions button{min-width:2.35rem;min-height:2.2rem;padding:.3rem .55rem;border:1px solid #b7cbd8;border-radius:7px;background:#fff;color:#173b55;font:inherit;cursor:pointer}.opportunity-card__actions button:disabled{opacity:.4;cursor:default}.opportunity-card__actions button:hover:not(:disabled){border-color:#0076ad;background:#eaf6fc}.opportunity-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;padding:1rem;margin:1rem 0;border:1px solid #dce6ee;border-radius:10px;background:#f8fbfd}.opportunity-form h3,.opportunity-form label:has(textarea),.opportunity-form__actions{grid-column:1/-1}.opportunity-form h3{margin:0}.opportunity-form label{display:grid;gap:.4rem}.opportunity-form input,.opportunity-form select,.opportunity-form textarea{box-sizing:border-box;min-width:0;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;background:#fff;font:inherit}.opportunity-form__actions{display:flex;gap:.6rem;align-items:center}@media(max-width:700px){.pipeline-workspace__tabs button{flex:1}.opportunity-form{grid-template-columns:1fr}.opportunity-board__column{flex-basis:min(280px,82vw)}}
.opportunity-board__scroll-note{display:none;color:#52657a;font-size:.85rem}@media(max-width:700px){.opportunity-board__scroll-note{display:block}}
.opportunity-card[draggable="true"]{cursor:grab}.opportunity-card.is-dragging{opacity:.42;cursor:grabbing}.opportunity-board__column.is-drag-over{border:2px dashed #087ba8;background:#e6f5fc;box-shadow:inset 0 0 0 3px #ffffffb8}.opportunity-board__column{transition:background-color .14s,border-color .14s}.pipeline-builder [data-board-retry]{margin:0 0 .8rem}@media(prefers-reduced-motion:reduce){.opportunity-board__column{transition:none}}
.opportunity-board__column{box-sizing:border-box;flex:0 0 min(260px,78vw);width:min(260px,78vw);min-width:0;max-width:min(260px,78vw)}
.opportunity-board__heading{display:flex;justify-content:flex-start!important;align-items:center;gap:.35rem;white-space:nowrap}
.opportunity-board__stage-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.opportunity-board__heading .opportunity-board__totals{display:contents}
.opportunity-board__heading .opportunity-board__value{min-width:0;margin-left:auto;overflow:hidden;text-overflow:ellipsis}
.opportunity-board__count{flex:none}
.opportunity-card{box-sizing:border-box;min-width:0;max-width:100%}
.opportunity-card[role="button"]{cursor:pointer}
.opportunity-card[role="button"]:focus-visible{outline:3px solid #087ba8;outline-offset:2px}
.opportunity-card__note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.8em;line-height:1.4;overflow:hidden;overflow-wrap:anywhere}
.opportunity-form__actions .opportunity-form__delete{margin-left:auto}
.dashboard-refresh-icon{display:inline-grid;place-items:center;min-width:2.6rem;min-height:2.6rem;padding:.3rem .55rem;font-size:1.4rem;line-height:1;cursor:pointer}
.dashboard-refresh-icon:disabled{cursor:default;opacity:.55}
.pipeline-builder__archive{margin:1.4rem 0 0;padding:1rem;border:1px solid #dce6ee;border-radius:10px;background:#f8fbfd}
.pipeline-builder__archive[hidden]{display:none}
.pipeline-builder__archive summary{cursor:pointer;font-weight:800;color:#173b55}
.pipeline-builder__archive p{margin:.65rem 0;color:#52657a}
.pipeline-builder__archive>div{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem}
.pipeline-builder__archive label{min-width:min(100%,230px)}
/* Owner-run Arizona booking destination setup in the Calendar panel. */
.dashboard-booking-setup[hidden]{display:none}
.dashboard-booking-setup{margin:1.5rem 0;color:#173b55}
.dashboard-booking-setup>h3{margin:0}
.dashboard-booking-setup>p{color:#52657a;line-height:1.5}
.dashboard-booking-setup__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.8rem;margin:1rem 0}
.dashboard-booking-setup .dashboard-notification{min-width:0;padding:1rem;border:1px solid #dce6ee;border-radius:12px;background:#f8fbfd}
.dashboard-booking-setup .dashboard-notification h4{margin:0 0 .6rem}
.dashboard-booking-setup .dashboard-notification label{display:grid;gap:.4rem;margin:.6rem 0;font-weight:700}
.dashboard-booking-setup .dashboard-notification input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;background:#fff;font:inherit}
.dashboard-booking-setup .dashboard-booking-setup__consent{display:flex;align-items:start;font-weight:400;line-height:1.4}
.dashboard-booking-setup__consent input{margin:.2rem .4rem 0 0;flex:none}
.dashboard-booking-setup .dashboard-notification button{margin:.5rem .4rem .3rem 0}
.dashboard-booking-setup .dashboard-notification [hidden]{display:none!important}
.dashboard-booking-setup .dashboard-notification .booking-verify-primary{box-sizing:border-box;width:100%;min-height:44px;margin:.55rem 0 .2rem}
.dashboard-booking-setup .dashboard-notification input:not([type=checkbox]){min-height:44px}
.dashboard-booking-setup .booking-verify-secondary{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.35rem}
.dashboard-booking-setup .booking-verify-secondary button{margin:0}
.dashboard-booking-setup .booking-verify-verified{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.dashboard-booking-setup .booking-verify-verified p{margin:.3rem 0;overflow-wrap:anywhere}
.dashboard-booking-setup [role=status]{min-height:1.4em;color:#36566d}
@media(max-width:720px){.dashboard-booking-setup__grid{grid-template-columns:minmax(0,1fr)}}
.pipeline-workspace__topbar{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem 1rem;margin:1.4rem 0 1rem;border-bottom:1px solid #cbdce7}
.pipeline-workspace__topbar .pipeline-workspace__tabs{flex-wrap:wrap;gap:.3rem;margin:0;border:0}
.pipeline-workspace__topbar .pipeline-workspace__tabs button{padding:.72rem .62rem;font-size:.88rem}
.pipeline-workspace__topbar .pipeline-workspace__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0;padding-bottom:.25rem}
.pipeline-workspace__actions label{display:flex;align-items:center;gap:.45rem;font-size:.9rem}
.pipeline-workspace__actions select{width:170px;min-width:0}
.pipeline-workspace__actions .btn{white-space:nowrap;padding:.63rem .8rem;font-size:.86rem}
@media(max-width:700px){.pipeline-workspace__topbar .pipeline-workspace__tabs{width:100%}.pipeline-workspace__topbar .pipeline-workspace__tabs button{flex:1 1 auto;padding:.7rem .45rem}.pipeline-workspace__topbar .pipeline-workspace__actions{width:100%}.pipeline-workspace__actions label{flex:1 1 170px}.pipeline-workspace__actions select{width:100%}}
/* The comparison occupies nearly the whole viewport without leaving the page. */
.compare-dialog-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(8px, 2vw, 24px); background: #102b45b8; }
.compare-dialog { display: flex; flex-direction: column; width: 100%; max-width: 1600px; max-height: calc(100dvh - clamp(16px, 4vw, 48px)); min-height: min(500px, calc(100dvh - 16px)); overflow: hidden; border: 1px solid #dce6ee; border-radius: 18px; background: #fff; box-shadow: 0 24px 72px #061c3d4d; color: #102b45; }
.compare-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 2vw, 28px); border-bottom: 1px solid #dce6ee; }
.compare-dialog__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem 0.8rem; min-width: 0; }
.compare-dialog__header h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.compare-dialog__title [data-compare-modal-count] { color: #52657a; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.compare-dialog__close { display: flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 44px; height: 44px; padding: 0; border: 1px solid #dce6ee; border-radius: 50%; background: #f4f8fb; color: #102b45; cursor: pointer; }
.compare-dialog__close svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.compare-dialog__close:hover { background: #e5f1f8; }
.compare-dialog__close:focus-visible, .compare-dialog a:focus-visible, .compare-dialog button:focus-visible, .compare-dialog__scroll:focus-visible { outline: 3px solid #1678ad; outline-offset: 2px; }
.compare-dialog__content { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(16px, 2vw, 28px); }
.compare-dialog__scroll { max-width: 100%; overflow-x: auto; border: 1px solid #dce6ee; border-radius: 12px; }
.compare-dialog table { width: 100%; min-width: max-content; border-collapse: collapse; text-align: left; }
.compare-dialog th, .compare-dialog td { min-width: 205px; max-width: 270px; padding: 14px 16px; border-right: 1px solid #e5edf3; border-bottom: 1px solid #e5edf3; vertical-align: top; overflow-wrap: anywhere; }
.compare-dialog th:first-child { position: sticky; left: 0; z-index: 1; min-width: 150px; max-width: 150px; background: #f4f8fb; }
.compare-dialog thead th { background: #f4f8fb; }
.compare-dialog tbody tr:last-child th, .compare-dialog tbody tr:last-child td { border-bottom: 0; }
.compare-dialog thead a { display: block; font-weight: 800; }
.compare-dialog thead button { margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: #a73f18; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.compare-dialog__empty, .compare-dialog__status { margin: 0; }
@media (max-width: 600px) {
  .compare-dialog-backdrop { padding: 0; }
  .compare-dialog { width: 100%; height: 100dvh; max-height: 100dvh; min-height: 0; border-radius: 0; }
  .compare-dialog th:first-child { min-width: 105px; max-width: 105px; }
  .compare-dialog th, .compare-dialog td { min-width: 175px; max-width: 210px; padding: 12px; }
}

.contacts-panel__heading,.contacts-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.contacts-panel__heading h2{margin:.15rem 0}.contacts-panel__heading p{margin:.3rem 0}
.contacts-panel__toolbar{margin:1.1rem 0}.contacts-panel__toolbar label{display:grid;gap:.35rem;flex:1 1 250px}
.contacts-panel__toolbar input,.contacts-panel__form input{box-sizing:border-box;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;background:#fff;font:inherit}
.contacts-panel__bulk{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:.45rem 0 .75rem}
.contacts-panel__bulk label,.contacts-panel__list-row{display:flex;align-items:center;gap:.6rem}
.contacts-panel__bulk input,.contacts-panel__list-row input{width:1.05rem;height:1.05rem;flex:none;accent-color:#0076ad}
.contacts-panel__bulk-delete{color:#9b2c2c;border-color:#d6a4a4}
.contacts-panel__layout{display:grid;grid-template-columns:minmax(210px,30%) minmax(0,1fr);gap:1rem;align-items:start;min-width:0}
.contacts-panel__list,.contacts-panel__detail{min-height:240px;border:1px solid #dce6ee;border-radius:10px;padding:.8rem;background:#f8fbfd}
.contacts-panel__list{display:flex;flex-direction:column;gap:.4rem;max-height:65vh;overflow:auto}
.contacts-panel__detail{box-sizing:border-box;display:flex;flex-direction:column;height:clamp(360px,65vh,700px);min-height:0;min-width:0;overflow:hidden}
.contacts-panel__detail>h3{flex:none}
.contacts-panel__item{width:100%;padding:.75rem;border:1px solid #dce6ee;border-radius:8px;background:#fff;color:#173b55;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.contacts-panel__list-row .contacts-panel__item{flex:1;min-width:0}
.contacts-panel__item:hover,.contacts-panel__item:focus{border-color:#0076ad;background:#eaf6fc}
.contacts-panel__item[aria-current="true"]{border-color:#0076ad;background:#d7edf8;box-shadow:inset 4px 0 #0076ad;font-weight:800}
.contacts-panel__detail h3{margin:.2rem 0 .7rem}.contacts-panel__detail section{margin-top:1.1rem;border-top:1px solid #dce6ee;padding-top:.6rem}
.contacts-panel__detail ul{padding-left:1.2rem}.contacts-panel__detail li{margin:.45rem 0;overflow-wrap:anywhere}
.contacts-panel__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:1rem;padding:1rem;border:1px solid #dce6ee;border-radius:10px;background:#f8fbfd}
.contacts-panel__modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:1rem;background:#102b42a8}
.contacts-panel__modal[hidden]{display:none!important}
.contacts-panel__modal .contacts-panel__form{width:min(100%,640px);max-height:min(88vh,760px);overflow:auto;box-sizing:border-box;margin:0;padding:1.5rem;background:#fff;box-shadow:0 20px 60px #102b4259}
.contacts-panel__form h3,.contacts-panel__form p,.contacts-panel__form div{grid-column:1/-1;margin:.2rem 0}.contacts-panel__form label{display:grid;gap:.35rem}.contacts-panel__form div{display:flex;gap:.5rem}
.contacts-panel__form .contacts-panel__actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.contacts-panel__delete{margin-left:auto;color:#9b2c2c;border-color:#d6a4a4}
.contacts-panel__field-error{color:#9b2c2c;font-size:.84rem;line-height:1.35}
.contacts-panel__field-error[hidden],.contacts-panel__form-error[hidden]{display:none!important}
.contacts-panel__form-error{color:#9b2c2c}
.contacts-panel__form input[aria-invalid="true"]{border-color:#b42318;box-shadow:0 0 0 2px #b4231822}
@media(max-width:700px){.contacts-panel__layout,.contacts-panel__form{grid-template-columns:1fr}}
.contacts-panel__tabs{display:flex;flex:none;gap:.2rem;overflow-x:auto;border-bottom:1px solid #cbdce7;margin:.8rem 0 1rem;scrollbar-width:thin}
.contacts-panel__tabs button{flex:none;padding:.65rem .7rem;border:0;border-bottom:3px solid transparent;background:transparent;color:#36566d;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer}
.contacts-panel__tabs button:hover{background:#edf5f9}
.contacts-panel[data-accounts-open] > :not([data-contact-view-tabs],[data-account-view]){display:none!important}
.contacts-panel [data-account-view] .master-account-row{overflow-wrap:anywhere}
.contacts-panel [data-account-view]{min-height:0;overflow:auto;padding:0 1rem 1rem}
.contacts-panel [data-account-filters]{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap}
.contacts-panel [data-account-filters] .ek-admin-project-bar{padding:0;border:0}
.contacts-panel [data-account-filters] select,.contacts-panel [data-contact-view-tabs] button{min-height:44px;max-width:100%}
.contacts-panel__tabs button[aria-selected="true"]{border-bottom-color:#c84b18;color:#173b55}
.contacts-panel__tab-content[hidden]{display:none}
.contacts-panel__tab-content{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.contacts-panel__tab-content[data-contact-content="conversations"]{max-height:none}
.contact-conversations{min-width:0}
.contact-conversations .dashboard-conversations__layout{grid-template-columns:minmax(0,1fr)}
.contact-conversations .dashboard-conversations__threads{max-height:120px;padding-left:0}
.contact-conversations .dashboard-conversations__messages{max-height:210px;padding-left:0}
.contacts-panel__detail .contact-conversations section{margin-top:0;border-top:0;padding-top:0}
.contacts-panel__tab-content>p{overflow-wrap:anywhere;line-height:1.5}
.contacts-panel__event,.contacts-panel__work-item{padding:.75rem 0;border-bottom:1px solid #dce6ee;overflow-wrap:anywhere}
.contacts-panel__event strong{display:block;text-transform:capitalize;color:#173b55}
.contacts-panel__event time,.contacts-panel__work-item small{display:block;color:#61798a;font-size:.8rem;margin:.2rem 0}
.contacts-panel__event p,.contacts-panel__work-item p{margin:.35rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
.contacts-panel__work-item button{margin:.35rem .35rem 0 0}
.contacts-panel__work-form{display:grid;gap:.65rem;margin:.5rem 0 1rem;padding:1rem;border:1px solid #dce6ee;border-radius:10px;background:#fff}
.contacts-panel__work-form h3{margin:0}.contacts-panel__work-form label{display:grid;gap:.35rem;font-weight:700;color:#173b55}
.contacts-panel__work-form input,.contacts-panel__work-form textarea{box-sizing:border-box;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;font:inherit}
.contacts-panel__work-form textarea{min-height:5rem;resize:vertical}.contacts-panel__work-form>div{display:flex;gap:.5rem;flex-wrap:wrap}
.listing-profile__chat-entry{width:100%;max-width:420px;margin:.75rem auto 0}
.listing-profile__chat-entry .btn{box-sizing:border-box;width:100%;margin-top:0;align-items:center;justify-content:center}
.local-webchat{max-width:760px;margin:2rem auto;padding:1.25rem;border:1px solid #cbdce7;border-radius:14px;background:#f8fbfd}
.listing-profile__contact-card .local-webchat{box-sizing:border-box;max-width:420px;margin:.75rem auto;padding:1rem}
.local-webchat__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}
.local-webchat__close{flex:none;width:2rem;height:2rem;border:0;border-radius:6px;background:transparent;color:#173b55;font:1.5rem/1 var(--sans);cursor:pointer}
.local-webchat__close:hover,.local-webchat__close:focus-visible{background:#e2edf3}
.local-webchat[hidden],.local-webchat [hidden]{display:none!important}
.local-webchat h2{margin:.2rem 0}.local-webchat p{line-height:1.5}
.local-webchat__history{display:flex;flex-direction:column;align-items:flex-start;max-height:16rem;overflow:auto;margin:1rem 0;padding:.75rem;border:1px solid #dce6ee;border-radius:9px;background:#fff}
.local-webchat__history p{box-sizing:border-box;max-width:88%;width:max-content;margin:.4rem 0;padding:.55rem .7rem;border-radius:12px;background:#eaf5fb;white-space:pre-wrap;overflow-wrap:anywhere}
.local-webchat__history .local-webchat__message--visitor{align-self:flex-end;background:#e7f5ed}
.local-webchat__history .local-webchat__message--school{align-self:flex-start;background:#eaf5fb}
.local-webchat form{display:grid;gap:.65rem;margin:.9rem 0}.local-webchat label{display:grid;gap:.35rem;font-weight:700}
.local-webchat input,.local-webchat textarea{box-sizing:border-box;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;font:inherit}
.local-webchat__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.local-webchat__composer{position:relative;min-width:0}
.local-webchat__composer textarea{display:block;min-height:56px;max-height:144px;padding:.8rem 3.65rem .8rem .75rem;line-height:1.4;resize:none;overflow-y:hidden}
.local-webchat__send{position:absolute;right:.375rem;bottom:.375rem;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--sun);color:#fff;cursor:pointer}
.local-webchat__send:hover{background:#a93e12}
.local-webchat__send:focus-visible,.local-webchat__composer textarea:focus-visible{outline:3px solid #15789b;outline-offset:2px}
.local-webchat__send:disabled{opacity:.55;cursor:wait}
.local-webchat [data-chat-status]:empty{display:none}
.local-webchat [data-chat-status].local-webchat__status--quiet{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* The same messenger panel is used on school pages and inside the embed frame. */
.local-webchat__launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:2147483000;display:grid;place-items:center;width:60px;height:60px;border:0;border-radius:50%;background:#153d58;color:#fff;box-shadow:0 8px 26px #0b253b4d;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.local-webchat__launcher:hover{transform:translateY(-2px);box-shadow:0 12px 30px #0b253b66}
.local-webchat__launcher:focus-visible{outline:3px solid #d47a3f;outline-offset:3px}
.local-webchat__launcher[hidden]{display:none!important}
body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 68px)}
body:has(.compare-shortcut:not([hidden])) .local-webchat{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 144px);height:min(540px,calc(100dvh - 184px))}
.listing-profile__contact-card .local-webchat,.local-webchat{box-sizing:border-box;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 76px);z-index:2147482999;display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));height:min(540px,calc(100dvh - 116px));max-width:none;margin:0;padding:0;border:1px solid #d5e2e9;border-radius:18px;background:#fff;box-shadow:0 18px 55px #0b253b38;overflow:hidden;color:#173b55}
.local-webchat__heading{display:flex;align-items:center;gap:.7rem;padding:1rem;background:#153d58;color:#fff}
.local-webchat__heading>div{min-width:0;flex:1}
.local-webchat__heading h2{margin:0;color:#fff;font-size:1rem;line-height:1.3}
.local-webchat__heading p{margin:.15rem 0 0;color:#d9e9f2;font-size:.76rem;line-height:1.25}
.local-webchat__avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#ffffff24;color:#fff;font-size:1.1rem}
.local-webchat__close{width:36px;height:36px;border-radius:50%;color:#fff}
.local-webchat__close:hover,.local-webchat__close:focus-visible{background:#ffffff24}
.local-webchat [data-chat-session]{display:flex;flex:1;flex-direction:column;min-height:0}
.local-webchat__history{flex:1;max-height:none;min-height:0;gap:.25rem;margin:0;padding:1rem;border:0;border-radius:0;background:#f4f7f9}
.local-webchat__history p{max-width:86%;margin:.25rem 0;padding:.65rem .85rem;border-radius:16px;background:#fff;box-shadow:0 1px 2px #153d5814;font-size:.9rem;line-height:1.4}
.local-webchat__history .local-webchat__message--visitor{border-bottom-right-radius:5px;background:#d8eee8}
.local-webchat__history .local-webchat__message--school{border-bottom-left-radius:5px;background:#fff}
.local-webchat form{flex:none;margin:0;padding:.75rem;border-top:1px solid #e5ecf0;background:#fff}
.local-webchat__composer textarea{min-height:44px;max-height:120px;padding:.7rem 3.25rem .7rem .8rem;border-radius:22px;background:#f8fafb;font-size:.9rem}
.local-webchat__send{right:.22rem;bottom:.22rem;width:38px;height:38px;background:#153d58}
.local-webchat__send:hover{background:#235d7e}
.local-webchat [data-chat-status]:not(:empty):not(.local-webchat__status--quiet){flex:none;margin:0;padding:.45rem .8rem;background:#fff4e7;color:#68410b;font-size:.76rem}
@media(max-width:480px){.local-webchat__launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:56px;height:56px}.listing-profile__contact-card .local-webchat,.local-webchat{right:8px;bottom:calc(80px + env(safe-area-inset-bottom));width:calc(100vw - 16px);height:min(540px,calc(100dvh - 104px));border-radius:16px}}
@media(max-width:480px){body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(84px + env(safe-area-inset-bottom))}body:has(.compare-shortcut:not([hidden])) .local-webchat{bottom:calc(148px + env(safe-area-inset-bottom));height:min(540px,calc(100dvh - 172px))}}
.dashboard-chat-install{margin:1rem 0;padding:1rem;border:1px solid #d5e2e9;border-radius:12px;background:#f7fafc}
.dashboard-chat-install[hidden]{display:none!important}
.dashboard-chat-install h3{margin:0 0 .5rem}
.dashboard-chat-install p{margin:.4rem 0 .75rem;overflow-wrap:anywhere}
.dashboard-chat-install textarea{box-sizing:border-box;display:block;width:100%;margin:.5rem 0;padding:.75rem;border:1px solid #a7becb;border-radius:8px;background:#fff;font:monospace;resize:vertical}
.dashboard-chat-install-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:1.5rem;border:1px solid #cbdce7;border-radius:16px;background:#fff;color:#173b55;box-shadow:0 24px 80px #0b253b4d;overflow:auto}
.dashboard-chat-install-dialog::backdrop{background:#0b253b99}
.dashboard-chat-install-dialog h3{margin:0 0 .75rem;font-size:1.3rem}
.dashboard-chat-install-dialog p{line-height:1.5;overflow-wrap:anywhere}
.dashboard-chat-install-dialog textarea{box-sizing:border-box;width:100%;padding:.75rem;border:1px solid #a7becb;border-radius:8px;background:#f8fbfd;font:13px/1.5 monospace;resize:vertical}
.dashboard-chat-install-dialog__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.local-webchat__heading,.local-webchat__send{background:var(--chat-accent,#153d58)}
.webchat-setup{max-width:850px}
.webchat-setup form{display:grid;gap:1rem}
.webchat-setup form[hidden]{display:none}
.webchat-setup label{display:grid;gap:.4rem;font-weight:650}
.webchat-setup input:not([type=checkbox]),.webchat-setup textarea{box-sizing:border-box;width:100%;padding:.7rem;border:1px solid #a7becb;border-radius:8px;background:#fff;color:#153d58;font:inherit}
.webchat-setup input[type=color]{max-width:110px;min-height:50px;padding:.25rem}
.webchat-setup textarea[data-webchat-snippet]{font:13px/1.5 monospace;resize:vertical}
.webchat-setup__appearance{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}
.webchat-setup p{overflow-wrap:anywhere}
.school-chat-ownership{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:.5rem 0;color:#395466;font-size:.82rem}
.school-chat-ownership button[hidden]{display:none!important}

/* Automation list uses the school workspace navigation; the editor has its own full-screen route. */
.automations-home{box-sizing:border-box;width:100%;min-height:calc(100dvh - var(--hdr-h) - 3rem);margin:0}
.automations-home .master-shell__main{min-width:0}
.automations-home .master-shell__main .dashboard-panel{box-sizing:border-box;min-height:calc(100dvh - var(--hdr-h) - 3rem)}
.automations-home .master-editor__heading{align-items:center;flex-wrap:wrap}
.automations-home .master-editor__heading h1{margin:0}
.automations-home__actions{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.automations-home__actions>.btn{box-sizing:border-box;min-height:44px}
.automations-home__actions>button{border:1px solid #bfd5e3;background:#fff;color:#155a79;cursor:pointer}
.automations-home__actions>button:hover,.automations-home__actions>button:focus-visible{background:#e2f0f8}
.automations-home__templates[hidden]{display:none!important}
.automations-home__templates{position:absolute;z-index:3;top:calc(100% + .4rem);right:0;display:grid;gap:.25rem;min-width:min(260px,calc(100vw - 2rem));padding:.5rem;border:1px solid #d6e6f0;border-radius:12px;background:#fff;box-shadow:0 12px 28px #102b4526}
.automations-home__templates a{display:block;padding:.7rem .75rem;border-radius:8px;color:#155a79;text-decoration:none;font-weight:700}
.automations-home__templates a:hover,.automations-home__templates a:focus-visible{background:#e2f0f8}
.automations-home__table{width:100%;margin-top:1.5rem;border-collapse:collapse;table-layout:fixed}
.automations-home__table th,.automations-home__table td{padding:.85rem .75rem;border-bottom:1px solid #d6e6f0;text-align:left;overflow-wrap:anywhere}
.automations-home__table th:nth-child(2),.automations-home__table td:nth-child(2){width:25%}
.automations-home__table th:last-child,.automations-home__table td:last-child{width:44px;text-align:right}
.automations-home__table th{color:#395466;font-size:.875rem}
.automations-home__table a{color:#155a79;font-weight:700}
.automations-home__table a:hover,.automations-home__table a:focus-visible{color:#006fa9}
@media(max-width:600px){.automations-home .master-editor__heading{display:grid;grid-template-columns:minmax(0,1fr)}.automations-home__actions{width:100%}.automations-home__actions>.btn{flex:1 1 0;min-width:0;padding:.65rem .5rem;font-size:.85rem;text-align:center;white-space:nowrap}.automations-home__templates{left:0;right:auto}.automations-home__table th,.automations-home__table td{padding:.75rem .4rem}}

/* Keep the public chat above the site shell and inside short visual viewports. */
.local-webchat__launcher{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:44px;height:44px;background:transparent;box-shadow:none;isolation:isolate}
.local-webchat__launcher::before{content:"";position:absolute;inset:2px;border-radius:50%;background:#153d58;box-shadow:0 8px 24px #0b253b4d;z-index:-1}
.local-webchat__launcher:hover{box-shadow:none}
.local-webchat__launcher:hover::before{box-shadow:0 10px 27px #0b253b66}
.local-webchat__launcher svg{position:relative;z-index:1}
body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 68px)}
.listing-profile__contact-card .local-webchat,.local-webchat{right:max(12px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 56px);z-index:2147483001;height:min(540px,calc(100dvh - max(12px,env(safe-area-inset-bottom)) - max(8px,env(safe-area-inset-top)) - 56px));min-height:0}
body:has(.compare-shortcut:not([hidden])) .local-webchat{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 124px);height:min(540px,calc(100dvh - max(12px,env(safe-area-inset-bottom)) - max(8px,env(safe-area-inset-top)) - 124px))}
.local-webchat__heading{flex:none}
.local-webchat [data-chat-session]{min-height:0}
.local-webchat__history{min-height:0;overflow-y:auto}
.local-webchat__composer textarea{min-height:46px;max-height:120px}
.local-webchat__send{right:4px;bottom:4px}
@media(max-width:480px){.local-webchat__launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px}.listing-profile__contact-card .local-webchat,.local-webchat{right:8px;bottom:calc(68px + env(safe-area-inset-bottom));width:calc(100vw - 16px);height:min(540px,calc(100dvh - 76px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(80px + env(safe-area-inset-bottom))}body:has(.compare-shortcut:not([hidden])) .local-webchat{bottom:calc(136px + env(safe-area-inset-bottom));height:min(540px,calc(100dvh - 144px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}}
@media(max-height:360px){.listing-profile__contact-card .local-webchat,.local-webchat,body:has(.compare-shortcut:not([hidden])) .local-webchat{top:max(4px,env(safe-area-inset-top));right:8px;bottom:max(4px,env(safe-area-inset-bottom));left:auto;width:min(380px,calc(100vw - 16px));height:auto;max-height:none}.local-webchat__heading{padding:.4rem .65rem}.local-webchat__avatar{display:none}.local-webchat__history{padding:.4rem}.local-webchat form{padding:.35rem}}

/* A tall booking step scrolls with the page until the bottom of the sidebar is visible. */
.listing-profile__aside{top:min(calc(var(--hdr-h) + .75rem),calc(100dvh - var(--profile-aside-height, 0px) - .75rem))}
.listing-profile__contact-card{box-sizing:border-box;padding:1.05rem}
.listing-profile__contact-card h2.eyebrow{margin:0;color:#15789b;font:800 .8rem var(--sans);letter-spacing:.11em;text-transform:uppercase}
.listing-profile__contact-card .profile-calendar{margin:.55rem auto 0;padding:.65rem}
/* Match the school CTA while leaving the panel and launcher hit target intact. */
.local-webchat__launcher{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));color:#1d2736}
.local-webchat__launcher::before{background:#d39545}
.local-webchat__launcher:hover::before{background:#e3aa5c}
.local-webchat__launcher:focus-visible{outline-color:#153d58}
body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 64px)}
@media(max-width:480px){.local-webchat__launcher{right:8px;bottom:calc(8px + env(safe-area-inset-bottom))}body:has(.compare-shortcut:not([hidden])) .local-webchat__launcher{bottom:calc(76px + env(safe-area-inset-bottom))}}

.automations-home__row-actions{position:relative}
.automations-home__row-toggle{min-width:44px;min-height:44px;border:1px solid #bfd5e3;border-radius:8px;background:#fff;color:#155a79;font-size:1.5rem;cursor:pointer}
.automations-home__row-menu[hidden]{display:none!important}
.automations-home__row-menu{position:absolute;right:4px;top:calc(100% - 10px);z-index:8;min-width:140px;max-width:calc(100vw - 2rem);padding:5px;background:#fff;border:1px solid #bfd5e3;border-radius:10px;box-shadow:0 8px 24px #102b4530;text-align:left}
.automations-home__row-menu a,.automations-home__row-menu button{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:#fff;font:inherit;text-decoration:none;cursor:pointer;text-align:left}
.automations-home__row-menu .automations-home__delete{color:#a12121}
.automations-home__row-toggle:hover,.automations-home__row-menu a:hover,.automations-home__row-menu button:hover{background:#e2f0f8}
.automations-home__row-toggle:focus-visible,.automations-home__row-menu :focus-visible{outline:3px solid #006fa9;outline-offset:2px}

/* Authenticated school phone intake; uses the dashboard's existing visual language. */
.phone-setup { max-width: 960px; overflow-wrap: anywhere; }
.phone-setup fieldset { min-width: 0; border: 1px solid #dce2e6; border-radius: 12px; padding: 20px; margin: 24px 0; }
.phone-setup legend { font-weight: 700; padding: 0 8px; }
.phone-setup__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.phone-setup label { display: grid; gap: 7px; margin-bottom: 16px; }
.phone-setup input:not([type=checkbox]), .phone-setup select, .phone-setup textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #9daeb9; border-radius: 6px; font: inherit; background: white; color: #173b52; }
.phone-setup textarea { resize: vertical; }
.phone-setup .phone-setup__ack { display: flex; align-items: flex-start; gap: 12px; }
.phone-setup__ack input { flex: 0 0 22px; width: 22px; height: 22px; }
.phone-setup__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-setup :focus-visible { outline: 3px solid #296e9b; outline-offset: 3px; }
@media(max-width:600px) { .phone-setup__grid { grid-template-columns: 1fr; } .phone-setup fieldset { padding: 12px; } }
.application-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.application-tabs button { min-height: 44px; padding: 10px 12px; border: 1px solid #8eabbc; border-radius: 8px; background: white; color: #173b52; font: inherit; cursor: pointer; }
.application-tabs button[aria-selected=true] { background: #173b52; color: white; }
.application-tabs button:focus-visible { outline: 3px solid #296e9b; outline-offset: 3px; }

/* Applications uses the full workspace width, like the other master sections. */
[data-master-requests].master-layout { grid-template-columns: minmax(0, 1fr); }
[data-master-requests] > .master-sidebar { position: static; }

/* Shared offer inside School Card: keep checkout clear of the sidebar and header. */
#partner-funnel-view.school-partner-offer { display: block; width: 100%; min-width: 0; margin-top: 24px; }
#partner-funnel-view.school-partner-offer .claim-partner-main { width: 100%; min-width: 0; }
#partner-funnel-view.school-partner-offer .school-partner-billing { margin-top: 24px; padding: 24px; border: 1px solid #cbdde8; border-radius: 18px; background: #fff; }
#partner-funnel-view.school-partner-offer .school-partner-billing h2 { margin-bottom: 14px; }
#partner-funnel-view.school-partner-offer .school-partner-billing p { margin-top: 12px; font-size: 13px; }
#partner-funnel-view .school-partner-bar { position: fixed; bottom: 0; z-index: 45; box-sizing: border-box; display: flex; align-items: center; gap: 20px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #c5d8e5; background: #fff; box-shadow: 0 -6px 24px #082f491a; }
#partner-funnel-view .school-partner-bar[hidden] { display: none; }
#partner-funnel-view .school-partner-bar__selection { flex: 1; min-width: 0; }
#partner-funnel-view .school-partner-bar ul { padding: 0; margin: 4px 0 0; list-style: none; font-size: 12px; overflow-wrap: anywhere; }
#partner-funnel-view .school-partner-bar__total { display: grid; gap: 3px; font-size: 12px; }
#partner-funnel-view .school-partner-bar__total strong { font-size: 22px; color: #082f49; }
#partner-funnel-view .school-partner-bar button { width: auto; min-height: 44px; flex-shrink: 0; }
#school-workspace-card { padding-bottom: var(--partner-bar-space, 0px); scroll-padding-bottom: var(--partner-bar-space, 0px); }
#school-workspace-card :is(input, button, a, select, textarea) { scroll-margin-bottom: var(--partner-bar-space, 0px); }
@media (max-width: 760px) {
  #partner-funnel-view .school-partner-bar { gap: 8px 12px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); flex-wrap: wrap; }
  #partner-funnel-view .school-partner-bar__selection { flex-basis: 55%; }
  #partner-funnel-view .school-partner-bar button { width: 100%; }
  #partner-funnel-view.school-partner-offer .partner-hero { padding: 20px; }
  #partner-funnel-view.school-partner-offer .partner-hero__title { font-size: clamp(26px, 7vw, 40px); }
}
@media (max-height: 500px) {
  #partner-funnel-view .school-partner-bar { gap: 8px; padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  #partner-funnel-view .school-partner-bar__selection > strong { display: none; }
  #partner-funnel-view .school-partner-bar button { width: auto; flex: 1; }
}

/* Single Autopilot offer: distinct, readable feature groups on both surfaces. */
#partner-funnel-view .partner-bundle { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#partner-funnel-view .partner-bundle__system { min-width: 0; padding: 20px; border: 1px solid #dbe5ee; border-radius: 14px; background: #f8fafc; }
#partner-funnel-view .partner-bundle__system ul { display: grid; gap: 12px; padding: 0; margin-top: 16px; }
#partner-funnel-view .partner-bundle__system h4 { line-height: 1.3; }
#partner-funnel-view .partner-system-card--bundle { cursor: default; }
#partner-funnel-view .partner-offer-note { margin: 0; padding: 0 24px 24px; color: #52657a; font-size: .9rem; line-height: 1.6; }
#partner-funnel-view .school-partner-bar__selection > span { display:block; font-size:.85rem; color:#52657a; }
@media(max-width:1100px){#partner-funnel-view .partner-bundle { grid-template-columns: minmax(0,1fr); }}

#partner-funnel-view .partner-summary__perks { font-size: 12px; line-height: 1.5; }
#partner-funnel-view .partner-price__total { flex-wrap: wrap; white-space: normal; }
#partner-funnel-view .partner-price__savings { white-space: normal; }

/* Scope to the school sidebar; do not change the master workspace. */
.school-shell__identity { gap: 6px; padding: 8px 10px 16px; }
.school-shell__plan-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; min-width: 0; }
.school-shell__plan-row[hidden], .school-shell__upgrade[hidden] { display: none; }
.school-shell__plan-badge { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #cedee8; border-radius: 999px; background: #e7eff5; color: #34566b; font-size: 12px; line-height: 1.3; font-weight: 700; }
.school-shell__plan-badge[data-plan="paid"] { border-color: #b5ddd1; background: #e3f3ed; color: #235c4b; }
.school-shell__upgrade { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 10px; border: 1px solid #b5cddd; border-radius: 8px; background: #fff; color: #164d6c; text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.school-shell__upgrade:hover { background: #e2f0f8; }
.school-shell__upgrade:focus-visible, .school-shell__footer button:focus-visible { outline: 3px solid #117da6; outline-offset: 3px; }
.school-shell__identity > strong { overflow-wrap: anywhere; }
.school-shell__footer { border-top: 1px solid #d6e6f0; padding-top: 12px; }
.school-shell__footer .school-shell__signout { background: transparent; border-color: transparent; }
.school-shell__footer .school-shell__signout:hover { background: #e2f0f8; }


/* Compact, context-aware promotion and billing, scoped to the embedded offer. */
#partner-funnel-view.school-partner-offer { scroll-margin-top: calc(var(--hdr-h, 72px) + 16px); }
#partner-funnel-view .school-partner-bar { padding: 6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); gap: 4px 8px; }
#partner-funnel-view .school-partner-bar [hidden] { display: none !important; }
#partner-funnel-view .school-partner-bar__selection > span { display: none; }
#partner-funnel-view .school-partner-bar__selection > strong { display: block; }
#partner-funnel-view .school-partner-bar button { box-sizing: border-box; min-height: 44px; padding: 6px 8px; margin: 0; width: auto; flex: 0 0 auto; font-size: 12px; line-height: 16px; }
#partner-funnel-view .school-partner-bar[data-mode="promo"] { flex-wrap: nowrap; }
#partner-funnel-view .school-partner-bar[data-mode="promo"] .school-partner-bar__selection { flex: 1 1 auto; }
#partner-funnel-view .school-partner-bar[data-mode="payment"] { display: grid; grid-template-columns: 152px minmax(0,1fr) 112px; }
#partner-funnel-view .school-partner-bar[data-mode="payment"] .school-partner-bar__selection { display: none; }
#partner-funnel-view .school-partner-bar__billing { min-width: 0; grid-column: auto; }
#partner-funnel-view .school-partner-bar__billing .partner-billing { margin: 0; }
#partner-funnel-view .school-partner-bar__billing .partner-billing__heading { display: none; }
#partner-funnel-view .school-partner-bar__billing .partner-billing__tabs { margin: 0; padding: 0; gap: 4px; grid-template-columns: 60px 88px; }
#partner-funnel-view .school-partner-bar__billing .partner-billing__tab { min-height: 44px; }
#partner-funnel-view .school-partner-bar__billing .partner-billing__tab > span { box-sizing: border-box; display: flex; flex-direction: column; gap: 0; align-items: center; justify-content: center; min-height: 44px; padding: 4px; font-size: 12px; line-height: 16px; }
#partner-funnel-view .school-partner-bar__billing .partner-billing__tab > span > span { font-size: 10px; line-height: 12px; }
#partner-funnel-view .school-partner-bar__total { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 0 6px; min-width: 0; font-size: 11px; line-height: 14px; }
#partner-funnel-view .school-partner-bar__total [data-price-label] { grid-column: 1 / -1; }
#partner-funnel-view .school-partner-bar__total strong { font-size: 20px; line-height: 24px; white-space: nowrap; }
#partner-funnel-view .school-partner-bar__total [data-annual-equivalent] { font-size: 11px; line-height: 14px; }
#partner-funnel-view .school-partner-bar[data-mode="payment"][data-layout="narrow"] { grid-template-columns: minmax(152px,1fr) 112px; }
#partner-funnel-view .school-partner-bar[data-layout="narrow"] .school-partner-bar__billing { grid-column: 1; grid-row: 1; }
#partner-funnel-view .school-partner-bar[data-layout="narrow"] [data-proceed-checkout] { grid-column: 2; grid-row: 1; }
#partner-funnel-view .school-partner-bar[data-layout="narrow"] .school-partner-bar__total { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
#partner-funnel-view .school-partner-bar[data-layout="narrow"] .school-partner-bar__total strong { font-size: 18px; line-height: 22px; }

/* Only the confirmed Free badge is a keyboard-accessible upgrade link. */
.school-shell__plan-badge[href] { cursor: pointer; text-decoration: none; position: relative; }
.school-shell__plan-badge[href]::after { content: ""; position: absolute; inset: -9px 0; }
.school-shell__plan-badge[href]:hover { background: #d7e8f3; }
.school-shell__plan-badge[href]:focus-visible { outline: 3px solid #0284c7; outline-offset: 3px; }
@media (max-width: 480px) {
  #partner-funnel-view:not(.school-partner-offer) .partner-billing__tab > span { white-space: normal; min-height: 52px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
}
/* Master Conversations: keep the existing composer, compact the controls. */
.owner-compose--live .owner-compose__inside-bar{justify-content:flex-start;flex-wrap:wrap;align-items:center;gap:.375rem}
.owner-compose--live .owner-compose__inside-bar select{box-sizing:border-box;flex:0 1 auto;width:auto;min-width:0;max-width:100%;min-height:36px;padding-inline:.45rem 1.5rem}
.owner-compose--live .owner-compose__inside-bar .owner-compose__channel{flex:0 0 auto;width:calc(10ch + 1.85rem);max-width:100%}
.owner-compose--live .owner-compose__inside-bar .owner-compose__send{margin-inline-start:auto;flex:none}
.owner-compose__ai-status:empty{display:none}
@media(max-width:640px){.owner-compose--live .owner-compose__inside-bar select{min-height:42px}}
/* Keep the master inbox list close to its title and actions. */
.master-conversations-main .dashboard-conversations__head{align-items:center;gap:.4rem .75rem;margin:0}
.master-conversations-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem .65rem}
.master-conversations-heading h2,.master-conversations-heading p{margin:0}
.master-conversations-heading p{font-size:.82rem;line-height:1.25;color:#52657a}
.master-conversations-main .dashboard-conversations__head-actions{flex-wrap:nowrap;align-items:center;gap:.4rem;margin:0;max-width:100%}
.master-conversations-main .dashboard-conversations__head-actions .btn{padding:.5rem .7rem;white-space:nowrap}
.master-conversations-main .dashboard-conversations__layout{margin-top:.4rem}
.master-conversations-rail{min-width:0}
.master-conversations-history{border:0;background:none;color:#365e73;font:inherit;font-size:.82rem;text-decoration:underline;padding:.45rem 0;cursor:pointer}
.master-conversations-secondary > button{margin-bottom:.5rem}
.master-conversations-main[hidden],.master-conversations-secondary[hidden]{display:none!important}
.contact-school-assignment{display:grid;gap:.75rem;max-width:42rem;min-width:0}
.contact-school-assignment h4,.contact-school-assignment p{margin:0}
.contact-school-assignment small{color:#52657a}
.contact-school-assignment form{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem}
.contact-school-assignment form[hidden],.contact-school-assignment [hidden]{display:none!important}
.contact-school-assignment label{display:grid;gap:.25rem;flex:1 1 14rem;min-width:0}
.contact-school-assignment :is(input,select){box-sizing:border-box;width:100%;min-width:0;border:1px solid #a7becb;border-radius:8px;padding:.5rem .65rem;font:inherit;background:white}
.contact-school-assignment > button{justify-self:start}
.contact-school-assignment [role=status]:empty{display:none}
.contact-school-assignment .contact-school-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}
.contact-school-suggestions{grid-column:1/-1;max-height:15rem;overflow-y:auto;border:1px solid #cbdde6;border-radius:8px;background:#fff}
.contact-school-suggestions button{display:block;width:100%;padding:.55rem .7rem;text-align:left;color:#193c54;border:0;background:#fff;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.contact-school-suggestions button:hover,.contact-school-suggestions button:focus-visible{background:#eaf6fc}
.contact-school-suggestions p{padding:.55rem .7rem}

/* Ground-school format prices share the same controls in school and administrator forms. */
.ground-school-offer { display: grid; grid-template-columns: minmax(160px,1.3fr) minmax(120px,1fr) minmax(120px,1fr); align-items: center; gap: 12px; margin-top: 12px; }
.listing-program-detail .ground-school-offer > label { min-width: 0; }
.listing-program-detail .ground-school-offer > label.ground-school-choice { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; cursor: pointer; }
.listing-program-detail .ground-school-choice > input[type="checkbox"] { appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; }
.ground-school-offer input:disabled, .ground-school-offer select:disabled { opacity: .55; }
@media (max-width: 620px) { .ground-school-offer { grid-template-columns: minmax(0,1fr); } }
