/* mobile.css: the one phone standard for every page (Tmob, 16 Nov 2026).
   Loaded last on every page. Phone only (640px and down). Rules here win over page files on purpose,
   so every hero, header, button and gutter matches. Benchmarks measured at 390px: Linear, Stripe, Intercom,
   Notion, Framer, Ramp (see plan/MOBILE-RULES.md). Do not add desktop rules here. */
@media (max-width: 640px) {
  /* 1. Header: logo, one button, menu. Log in lives in the drawer. */
  .cp-header .cp-bar .cp-login {
    display: none !important;
  }
  .cp-header .cp-bar {
    gap: 6px;
  }
  .cp-header .cp-mobile-trigger {
    min-height: 44px;
  }
  .cp-header .cp-bar .cp-contact {
    min-height: 42px;
    padding-inline: 16px;
  }

  /* 2. Hero headline: one size, one leading, on every page (home hero is locked, left alone). */
  html body:not(.page-home) main h1:not(#_) {
    font-size: clamp(2rem, 1.25rem + 5vw, 2.5rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
    text-wrap: balance;
  }
  /* long headlines step down so they stay at four lines or fewer */
  html body.page-managers main h1:not(#_) {
    font-size: clamp(1.9375rem, 1.2rem + 4vw, 2.1875rem) !important;
  }
  html body:is(.page-workplaces, .page-licensing) main h1:not(#_) {
    font-size: clamp(1.9375rem, 1.2rem + 4vw, 2.25rem) !important;
  }

  /* 3. Hero top: 40px between the header and the first line, on every page. */
  html body.page-about main > .ab-top:not(#_) {
    padding-top: 80px !important;
  }
  html body.page-contact main > .pick-screen:not(#_) {
    padding-top: 91px !important;
  }
  body:is(.page-cookies, .page-letter, .page-press, .page-questions, .page-security) main > .hero {
    padding-top: 107px !important;
  }
  html body.page-deployments main > .hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-giving main > .band-hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-licensing main .lx-hero:not(#_) {
    padding-top: 48px !important;
  }
  html body.page-privacy main > .pv-top:not(#_) {
    padding-top: 112px !important;
  }
  html body.page-schools main > .band-hero:not(#_) {
    padding-top: 107px !important;
  }
  html body.page-administrators main > .hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-contact-schools main > .cx:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-jobs main > .band-hero:not(#_) {
    padding-top: 83px !important;
  }
  html body.page-ngos main > .band-hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-responsible-by-design main > .hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-students main > .band-hero:not(#_) {
    padding-top: 116px !important;
  }
  html body.page-teachers main > .band-hero:not(#_) {
    padding-top: 102px !important;
  }
  html body.page-workplaces main > .hero:not(#_) {
    padding-top: 80px !important;
  }
  html body.page-contact-workplaces main > .cx:not(#_) {
    padding-top: 101px !important;
  }
  html body.page-employees main > .hero:not(#_) {
    padding-top: 97px !important;
  }
  html body.page-managers main > .hero:not(#_) {
    padding-top: 108px !important;
  }
  html body.page-rollout main > .hero:not(#_) {
    padding-top: 102px !important;
  }

  /* 4. Hero buttons: full width, 52px tall, stacked with a 10px gap. Easy to hit with a thumb. */
  html body main > :first-child .actions:not(#_) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100%;
  }
  html body main > :first-child .actions > :is(a, button).btn:not(#_):not(#_):not(#_) {
    width: 100%;
    height: 52px !important;
    min-height: 0 !important;
    padding-block: 0 !important;
    font-size: 16px !important;
    justify-content: center;
  }
  html body main .lx-hero .lx-btn:not(#_) {
    display: flex;
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    justify-content: center;
  }

  /* 5. Hero lede: 17px on every page. */
  html body:not(.page-home) main > :first-child :is(p.lede, .lx-lede):not(#_):not(#_) {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  /* 6. One 20px gutter. These two pages doubled it. */
  body.page-ngos .band-hero.side.ng-hero > .wrap {
    padding-inline: 20px !important;
  }
  body.page-licensing .lx .container {
    max-width: calc(100% - 40px) !important;
  }

  /* 7. Section headings: left-aligned on a phone, on every page. Pages used to flip between left and centred. */
  html
    body
    main
    :is(
      .ab-head,
      .dp-head,
      .gv-hd.center,
      .gv-sh.center,
      .gp-head,
      .dl-top,
      .letter-top,
      .shead,
      .ng-sh.center,
      .pc-head,
      .rd-head,
      .cy-head,
      .tu-head,
      .lc-head,
      .fit-head,
      .mx-chead,
      .am-head
    ):not(#_) {
    text-align: left !important;
    align-items: flex-start !important;
    justify-items: start !important;
    justify-content: flex-start !important;
  }
  html
    body
    main
    :is(
      .ab-head,
      .dp-head,
      .gv-hd.center,
      .gv-sh.center,
      .gp-head,
      .dl-top,
      .letter-top,
      .shead,
      .ng-sh.center,
      .pc-head,
      .rd-head,
      .cy-head,
      .tu-head,
      .lc-head,
      .fit-head,
      .mx-chead,
      .am-head
    )
    > :is(.label, h2, h3, p):not(#_),
  html body.page-workplaces main #managers > .wrap > :is(.label, h2, p):not(#_),
  html body.page-managers main #overview > .wrap > :is(.label, h2, p):not(#_) {
    text-align: left !important;
    margin-inline: 0 !important;
  }

  /* 8. Home hero on a phone (Max 11-16: the phone version was not acceptable).
     The film is a wide shot cropped to a tall screen, so it needs a deeper, even scrim to read as mood, not mud.
     The logo wall becomes two tidy rows (4 + 3) that line up with the gutters, at one optical size. */
  /* The film plays on phones too (Max 11-16). It is a wide shot cropped tall, so the scrim is dark behind the centred text and the logos and lighter near the top where the film shows. */
  body.page-home .film video,
  body.page-home .film .film-poster {
    object-position: 60% 50%;
    filter: saturate(0.7) brightness(0.9);
  }
  body.page-home .film::before {
    background: linear-gradient(
      180deg,
      rgba(12, 13, 15, 0.62) 0%,
      rgba(12, 13, 15, 0.4) 16%,
      rgba(12, 13, 15, 0.58) 34%,
      rgba(12, 13, 15, 0.62) 70%,
      rgba(10, 11, 12, 0.95) 100%
    ) !important;
  }
  /* Max 11-16: headline and the two doors sit together as one group, centred between the header and the logos. The doors are narrower than the screen. */
  body.page-home .film-grid {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
  }
  body.page-home .film-grid > div {
    width: 100%;
  }
  body.page-home .film .route {
    display: block;
    width: min(100%, 296px);
  }
  body.page-home .film-grid {
    gap: 30px !important;
    padding-top: calc(var(--head) + 8px) !important;
    padding-bottom: 18px !important;
    align-content: start !important;
  }
  body.page-home .film .label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  body.page-home .film h1 {
    font-size: clamp(38px, 11vw, 44px) !important;
    letter-spacing: -0.045em;
  }
  body.page-home .film .lede {
    margin-top: 14px !important;
    font-size: 17px;
  }
  body.page-home .film .route {
    padding: 14px 18px !important;
    background: rgba(60, 58, 56, 0.55);
    border-color: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
  }
  body.page-home .film .route + .route {
    margin-top: 10px;
  }
  body.page-home .film .route h3 {
    font-size: 24px;
  }
  body.page-home .trust {
    padding: 16px 0 max(20px, env(safe-area-inset-bottom)) !important;
    border-top-color: rgba(245, 242, 236, 0.16);
  }
  body.page-home .trust .label {
    margin-bottom: 14px;
    opacity: 0.8;
  }
  /* Six logos on a phone, three to a row (Deloitte is left off here; desktop keeps all seven). */
  body.page-home .trust-logos {
    display: grid !important;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between !important;
    gap: 20px 12px !important;
    align-items: center;
  }
  body.page-home .trust-logos > * {
    max-width: none !important;
    opacity: 0.86;
    justify-self: center;
  }
  body.page-home .trust-logos > img[src$='deloitte.svg'] {
    display: none !important;
  }
  body.page-home .trust-logos > :is(img[src$='nvidia.svg'], img[src$='university-of-oxford.svg']) {
    justify-self: start;
  }
  /* right column: UN sets the column width and sits on the gutter, Duke is centred above it so the two share one axis */
  body.page-home .trust-logos > .un {
    justify-self: end;
  }
  body.page-home .trust-logos > img[src$='duke-university.svg'] {
    justify-self: center;
  }
  body.page-home .trust-logos > img[src$='nvidia.svg'] {
    height: 18px !important;
  }
  body.page-home .trust-logos > img[src$='government-of-canada.svg'] {
    height: 21px !important;
  }
  body.page-home .trust-logos > img[src$='duke-university.svg'] {
    height: 23px !important;
  }
  body.page-home .trust-logos > img[src$='university-of-oxford.svg'] {
    height: 31px !important;
  }
  body.page-home .trust-logos > img[src$='wolfram-research.svg'] {
    height: 28px !important;
  }
  body.page-home .trust-logos .un {
    font-size: 13.5px;
    gap: 8px;
  }
  body.page-home .trust-logos .un img {
    height: 31px !important;
  }
}

/* Responsive repair, November 16. Shared reading and input rules first,
   followed by fixes for layouts whose intrinsic width exceeds a phone. */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 84px;
  }
  main :is(.wrap, .split, .hero-split, .grid-2, .grid-3, .grid-4) > * {
    min-inline-size: 0;
  }
  main :is(h1, h2, h3, p, li),
  .site-footer {
    overflow-wrap: anywhere;
  }
  main :is(.btn, .lx-btn, .cx-book) {
    min-inline-size: 0;
    max-inline-size: 100%;
    min-block-size: 44px;
    white-space: normal;
    text-align: center;
  }
  .field :is(input, select, textarea) {
    font-size: max(1rem, 16px);
    scroll-margin-block: 96px;
  }
  .cp-drawer .cp-menu-link > span:last-child {
    min-inline-size: 0;
  }
  .cp-drawer .cp-menu-link small {
    white-space: normal;
  }
  .cp-drawer .cp-choice {
    min-block-size: 44px;
  }
  .drawer .d-lang .lang-btn {
    min-block-size: 44px;
  }
  .drawer .d-link {
    min-block-size: 44px;
  }
  .site-footer .foot-col a {
    min-block-size: 44px;
    display: flex;
    align-items: center;
  }

  /* Keep the complete teachers' device within the content column. */
  html body.page-teachers .band-hero.side .hpad {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 680px;
    min-width: 0;
    margin: 28px auto 0;
    translate: none;
    justify-self: center;
  }
  body.page-licensing .lx .map {
    overflow-x: auto;
  }
  body.page-animations .ag {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-animations :is(.ag-main, .ag-side, .ag-page, .ag-card) {
    min-width: 0;
  }
  body.page-animations .ag-page-head {
    flex-wrap: wrap;
  }
  body.page-animations .ag-act {
    flex-wrap: wrap;
  }
  body.page-animations :is(.ag-btn, .ag-worlds button, .ag-index a) {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  body:is(.world-schools, .world-workplaces) {
    --sec-pad: 48px;
  }
  .site-footer {
    padding-block: 48px 28px;
  }
  .site-footer .foot-grid {
    gap: 28px 20px;
  }
  .site-footer .foot-base {
    margin-top: 36px;
    gap: 16px;
  }
  main .actions {
    flex-wrap: wrap;
  }
  html body main > :first-child .actions > :is(a, button).btn:not(#_):not(#_):not(#_) {
    height: auto !important;
    min-height: 52px !important;
    padding-block: 12px !important;
  }
  .cp-header .cp-bar .cp-contact {
    min-height: 44px;
  }
  body main .faq .q {
    min-height: 52px;
    padding: 18px 16px;
  }
  body main .faq .a {
    padding-inline: 16px;
  }
  body main .faq .a > * {
    max-width: 100%;
  }
  main :is(.hero-split, .split, .grid-2, .grid-3, .grid-4, .fcards) {
    grid-template-columns: minmax(0, 1fr);
  }
  main :is(.actions, .hs-col, .tt-head, .tt-path, .fcard) {
    min-width: 0;
  }

  /* Home keeps the film and its two destinations, with room for menu and text. */
  body.page-home .site-header .nav {
    display: none;
  }
  body.page-home .site-header .menu-btn {
    display: block;
    width: 44px;
    height: 44px;
  }
  body.page-home .site-header .bar {
    gap: 8px;
  }
  body.page-home .site-header .rt {
    margin-inline-start: auto;
  }
  body.page-home .film h1 {
    font-size: clamp(2rem, 1.25rem + 5vw, 2.75rem) !important;
  }
  body.page-home .film .route {
    width: 100%;
  }
  body.page-home .film .route h3 {
    font-size: clamp(1.25rem, 0.9rem + 3vw, 1.5rem);
  }
  body.page-home .film-grid {
    padding-top: calc(var(--head) + 32px) !important;
    padding-bottom: 32px !important;
  }
  body.page-home .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px !important;
  }
  body.page-home .trust-logos > * {
    max-width: 100% !important;
    min-width: 0;
  }
  body.page-home .trust-logos > img {
    object-fit: contain;
  }
  body.page-home .trust-logos .un {
    font-size: 11px;
    gap: 5px;
  }
  body.page-home .trust-logos .un img {
    height: 26px !important;
  }

  /* Choice cards must allow both titles and translated labels to grow. */
  html body.page-contact .pick-head {
    padding-bottom: 28px;
  }
  html body.page-contact .aud a {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }
  html body.page-contact .aud .ttl {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    margin-top: 20px;
  }
  html body.page-contact .aud .mk {
    width: 44px;
    height: 44px;
  }
  html body.page-contact .aud b {
    font-size: clamp(1.75rem, 1rem + 4vw, 2.125rem);
  }
  html body.page-contact .aud p {
    margin-top: 16px;
  }
  html body.page-contact .aud .go {
    margin-top: 24px;
  }
  html body.page-contact-workplaces .cx-book {
    font-size: 18px;
    gap: 10px;
    padding: 16px;
  }
  html body:is(.page-contact-schools, .page-contact-workplaces) .form {
    padding: 22px 18px;
  }

  /* School landing cards and controls share the available track width. */
  html body.page-schools .band-hero > .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.page-schools .hero-levels {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  html body.page-schools .hero-levels button {
    min-height: 44px;
    white-space: normal;
  }
  html body.page-schools #students .fcard {
    min-width: 0;
  }
  html body.page-schools #students .stu-tabs {
    flex-wrap: wrap;
  }
  html body.page-schools #students .stu-tabs button {
    min-height: 44px;
  }

  /* Expose all three student cards in reading order on phones. */
  html body.page-students #class .hb-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: 0;
    padding-inline: 0;
    gap: 20px;
    overflow: visible;
  }
  html body.page-students #class .hb-card {
    min-width: 0;
  }
  html body.page-students #class .hb-well {
    padding: 14px;
  }
  html body.page-students #class .hb-card :is(h3, .hb-row b, .hb-f b) {
    white-space: normal;
  }

  /* Both research cards need their full text width. */
  html body.page-responsible-by-design #research .r4-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    overflow: visible;
  }
  html body.page-responsible-by-design #research .r4-frame {
    min-width: 0;
    width: 100%;
  }
  html body.page-responsible-by-design #research .r4-well {
    height: auto;
    min-height: 0;
    padding: 20px 12px;
  }
  html body.page-responsible-by-design #research :is(.rev-top, .board-top) {
    flex-wrap: wrap;
  }
  html body.page-responsible-by-design #safe .rt-bar {
    flex-wrap: wrap;
    height: auto;
  }
  html body.page-responsible-by-design #safe .rt-pill {
    white-space: normal;
  }

  /* Intrinsic table widths and timeline cards were escaping their devices. */
  html body.page-administrators .device .tbl {
    table-layout: fixed;
    width: 100%;
  }
  html body.page-administrators .device .tbl :is(th, td) {
    padding-inline: 4px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html body.page-administrators .device .tbl th:first-child {
    width: 40%;
  }
  html body.page-administrators .device .tbl .meter {
    min-width: 0;
  }
  html body:is(.page-giving, .page-administrators, .page-deployments, .page-ngos) .jr li {
    min-width: 0;
  }
  html body:is(.page-giving, .page-administrators, .page-deployments, .page-ngos) .jr-card {
    width: auto;
    min-width: 0;
    flex-basis: 0;
  }
  html body.page-jobs .band-hero .btn {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

  /* Workplace headings and demo controls must fit at 320px and in French. */
  html body.page-employees :is(.tt-head, .tt-path) {
    min-width: 0;
  }
  html body.page-employees .tt-head em {
    white-space: normal;
  }
  html body.page-managers #overview .sx-chips {
    flex-wrap: wrap;
    overflow: visible;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
  html body.page-managers .sx-chip {
    min-height: 44px;
    white-space: normal;
  }
  html body.page-workplaces .s05-row2 {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.page-workplaces .s05-f {
    min-width: 0;
  }
  html body.page-workplaces .cv-wh {
    flex-wrap: wrap;
  }
  html body.page-workplaces .cv-stat {
    max-width: 100%;
    white-space: normal;
  }

  /* The static licensing feature cloud uses normal document flow. */
  html body.page-licensing .lx .wi-board .wi-feature {
    transform: none !important;
    max-width: 100%;
    white-space: normal;
  }
  html body.page-licensing .lx .wi-copy {
    padding: 28px 22px 12px;
  }
  html body.page-licensing .lx .sec-pad {
    padding-block: 48px;
  }
  html body.page-licensing .lx .p-row .t {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  html body.page-schools .hs-photo figure.hlap {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
  }
  html body.page-schools #students .ln-parts {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.page-schools #students .ln-p {
    min-width: 0;
    gap: 6px;
    flex-wrap: wrap;
  }
  html body.page-schools #students .ln-p > span {
    min-width: 0;
    flex: 1 1 80px;
    white-space: normal;
  }
  html body.page-students .mo-cal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html body.page-students .mo-cal :is(.cd, .ch) {
    min-width: 0;
  }
  html body.page-students .mo-cal .dn {
    flex-wrap: wrap;
    gap: 4px;
  }
  html body.page-students .mo-cal .ch {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html body.page-administrators .setup .su-call p {
    white-space: normal;
    max-width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  html body:is(.page-giving, .page-administrators, .page-deployments, .page-ngos) .jr .jr-card h3 {
    white-space: normal !important;
  }
  html body.page-jobs .band-hero.jr-hero {
    min-height: 0;
    padding-top: calc(var(--head) + 32px);
    padding-bottom: calc(var(--rowh) + 64px);
  }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  html.js body.page-rollout main > section.rlam .am-cards .am-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js body.page-jobs .jr-road .jr-pin {
    transform: translate(-50%, -100%) !important;
  }
  html.js body.page-jobs .jr-road .jr-pin:not(.jr-on) {
    visibility: hidden;
  }
}

/* Opening must reveal the dialog before its first control receives focus. */
.drawer.is-open {
  transition-delay: 0s !important;
  visibility: visible;
}
@media (max-width: 640px) {
  html body.page-teachers #setup .cy-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  html body.page-teachers #setup .cy-card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 640px) {
  html body.page-teachers .cap .cap-list {
    flex-wrap: wrap;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  html body.page-teachers .cap .cap-list button {
    min-height: 44px;
    white-space: normal;
  }
}

/* Selected mobile direction A, November 17.
   Keep Capyo orange, the country proof under the actions, and the live level bar below the iPad. */
@media (max-width: 640px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  body.page-schools .cp-header .cp-bar .cp-contact {
    display: none;
  }
  body.page-schools .cp-header .cp-bar {
    padding-inline: 24px;
  }
  body.page-schools .cp-header .cp-wordmark {
    font-size: 30px;
  }
  body.page-schools .cp-header .cp-mobile-trigger {
    font-size: 13px;
    padding-inline-end: 0;
  }
  html body.page-schools main > .band-hero:not(#_) {
    padding-top: 110px !important;
  }
  html body.page-schools .band-hero.side.hs-photo {
    background-image: none !important;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    padding-bottom: 36px;
    justify-content: flex-start;
  }
  html body.page-schools .band-hero.side > .wrap {
    width: calc(100% - 48px);
    padding-inline: 0;
  }
  html body.page-schools .band-hero .hero-split {
    gap: 20px;
  }
  html body.page-schools .band-hero.side.hs-photo h1:not(#_) {
    font-size: clamp(2rem, 1rem + 5.65vw, 2.375rem) !important;
    font-weight: 500 !important;
    line-height: 1.07 !important;
    letter-spacing: -0.04em !important;
    text-wrap: wrap;
  }
  html body.page-schools .band-hero.side.hs-photo h1 > span:not(#_) {
    display: block;
    white-space: normal;
  }
  html body.page-schools .band-hero.side.hs-photo .lede:not(#_):not(#_) {
    margin-top: 22px;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #4b4c42;
    text-wrap: wrap;
  }
  html body.page-schools main > .band-hero .actions:not(#_) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px !important;
    margin-top: 24px;
  }
  html body.page-schools main > .band-hero .actions > :is(a, button).btn:not(#_):not(#_):not(#_) {
    width: auto;
    min-height: 48px !important;
    padding: 12px 22px !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 5px;
    box-shadow: none;
  }
  html body.page-schools .band-hero.side.hs-photo .actions .btn:not(.ghost):not(#_) {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: none;
  }
  html body.page-schools .band-hero.side.hs-photo .actions .btn:not(.ghost) svg {
    display: none;
  }
  html body.page-schools main > .band-hero .actions > button.btn.ghost:not(#_):not(#_):not(#_) {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-inline: 0 !important;
    font-size: 14px !important;
    font-weight: 400;
    gap: 7px;
  }
  html body.page-schools .band-hero.side.hs-photo .actions .btn.ghost:not(#_):not(#_) svg {
    width: 13px;
    height: 13px;
  }
  html body.page-schools .band-hero.side.hs-photo .hs-col .proof-line:not(#_) {
    margin-top: 20px;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #616252;
    text-wrap: wrap;
  }
  html body.page-schools .band-hero.side.hs-photo figure.hlap.hx-ph .hero-levels {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 2px !important;
    box-shadow: 0 2px 4px rgba(40, 18, 4, 0.12);
  }
  html body.page-schools .band-hero.side.hs-photo figure.hlap.hx-ph .hero-levels button {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 24px;
    padding: 4px 8px !important;
    font-size: 11.5px !important;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }
  /* Keep a 44px tap area around the slimmer visible segments. */
  html body.page-schools .band-hero.side.hs-photo figure.hlap.hx-ph .hero-levels button::after {
    content: '';
    position: absolute;
    inset-block: -10px;
    inset-inline: 0;
  }
}
