/*
 * DiLibero & Associates mobile preview, 2026-11-05.
 * Load after the published styles. The existing 64rem desktop boundary is
 * intentional: all presentation changes below it stay out of desktop layouts.
 */
.m-nav,
.m-toc,
.m-toc-toggle,
.m-footer-toggle,
.m-table-hint,
.m-load-more {
  display: none;
}

.m-table-new {
  display: contents;
}

@media (max-width: 63.99rem) {
  :root {
    --gutter: max(1.25rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --section: clamp(2.125rem, 5vw, 3rem);
    --fs-body: 1.0625rem;
    --fs-small: .9375rem;
    --hh: 4.25rem;
    --m-surface: var(--paper);
    --m-radius: .5rem;
  }

  html {
    scroll-padding-top: calc(var(--hh) + 1rem);
    scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  body {
    line-height: 1.65;
  }

  body.m-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  :is(main, .wrap, .split, .np-grid, .contact, .lphero, .dvhero) > * {
    min-width: 0;
  }

  :is(h1, h2, h3, .prose, .office__dl, .footer, .cf2-title, .field__hint) {
    overflow-wrap: break-word;
  }

  :is(.prose, .office__dl, .footer, .cf2-note) a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  :is(button, summary, a, input, select, textarea) {
    -webkit-tap-highlight-color: rgba(199, 155, 103, .2);
    touch-action: manipulation;
  }

  :is(button, summary, .btn, .tlink) {
    min-height: 2.75rem;
  }

  .btn {
    min-height: 3.125rem;
    padding: .75rem 1rem;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .btn > span {
    min-width: 0;
  }

  /* Mobile content is immediately readable, even in tall swipe containers. */
  html.mobile-enhanced :is(.reveal, [data-reveal], .reveal-stagger, .reveal-stagger > *, .hero__h1, .hero__brand .brand__l, .hero__sub):not(.revs__track):not(.jump__ind) {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  html.mobile-enhanced .rule-draw::after,
  html.mobile-enhanced .tl[data-reveal]::before {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* A quieter header leaves the full menu, languages and theme one tap away. */
  .hdr,
  .home .hdr:not(.is-solid) {
    background: var(--navy);
    box-shadow: 0 1px 0 rgba(199, 155, 103, .24);
  }

  .hdr__bar {
    min-height: var(--hh);
    gap: .75rem;
    padding-block: .5rem;
  }

  .hdr__logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hdr__logo .brand-mark {
    width: clamp(9rem, 39vw, 12rem);
    max-width: 100%;
  }

  .hdr__acts {
    flex: 0 0 auto;
    gap: .375rem;
  }

  .m-nav-ready .hdr__nav,
  .m-nav-ready .hdr__acts > :is(.wx, .theme-toggle, .lang, .hdr__book, .hdr__tel) {
    display: none !important;
  }

  .m-nav-ready .hdr__acts :is(.find-btn, button.menu-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(241, 235, 221, .22);
    border-radius: .375rem;
  }

  .m-nav-ready .hdr__acts .menu-btn--link {
    display: none;
  }

  /* Layered navigation: one short topic screen at a time. */
  .m-nav[open] {
    position: fixed;
    inset: 0 0 auto auto;
    z-index: 180;
    display: flex;
    flex-direction: column;
    width: min(100%, 30rem);
    max-width: 100%;
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ink);
    background: var(--paper);
    box-shadow: -12px 12px 48px rgba(6, 13, 25, .24);
    overflow: hidden;
    overscroll-behavior: contain;
    font-family: var(--sans);
  }

  .m-nav:not([open]),
  .m-nav [hidden],
  .m-toc [hidden],
  .m-footer-panel[hidden],
  .blog-grid > [hidden] {
    display: none !important;
  }

  .m-nav::backdrop {
    background: rgba(6, 13, 25, .7);
  }

  .m-nav__top {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: max(.75rem, env(safe-area-inset-top, 0px)) var(--gutter) .75rem;
    border-bottom: 1px solid rgba(241, 235, 221, .18);
    color: #f6f1e7;
    background: var(--navy);
  }

  .m-nav__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
  }

  .m-nav__eyebrow {
    margin-bottom: .25rem;
    color: #dbc08e;
    font-size: .625rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .15em;
  }

  .m-nav__close {
    display: grid;
    place-items: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid rgba(241, 235, 221, .3);
    border-radius: .375rem;
    color: inherit;
    font-size: 1.625rem;
    line-height: 1;
  }

  .m-nav__body {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: .875rem var(--gutter);
    scrollbar-width: thin;
  }

  .m-nav__search {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    min-height: 3.125rem;
    margin-bottom: .75rem;
    padding: .25rem .75rem;
    border: 1px solid var(--line-2);
    border-radius: var(--m-radius);
    color: var(--muted);
    background: var(--ivory);
    text-align: left;
    font-size: 1rem;
  }

  .m-nav__search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    min-height: 2.75rem;
    padding: .5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    outline-offset: 0;
  }

  .m-nav__search input::placeholder {
    color: var(--muted);
    opacity: 1;
  }

  .m-nav__search-all {
    flex: 0 1 auto;
    max-width: 8rem;
    min-height: 2.75rem;
    padding: .5rem 0 .5rem .75rem;
    border-left: 1px solid var(--line-2);
    color: var(--gold-ink);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }

  .m-nav__search svg {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    fill: var(--gold-ink);
  }

  .m-nav__home {
    display: grid;
    gap: .75rem;
  }

  .m-nav__groups {
    display: grid;
    gap: .375rem;
  }

  .m-nav__group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3rem;
    padding: .625rem .875rem;
    border: 1px solid var(--line);
    border-radius: var(--m-radius);
    color: var(--ink);
    background: var(--ivory);
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
  }

  .m-nav__group[aria-expanded="true"] {
    border-color: var(--gold-ink);
    background: var(--ivory-2);
  }

  .m-nav__group > span:first-child {
    min-width: 0;
  }

  .m-nav__chev {
    flex: 0 0 auto;
    color: var(--gold-ink);
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    font-size: 1.5rem;
    line-height: 1;
  }

  .m-nav__quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem 1rem;
    margin-top: .125rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
  }

  .m-nav__quick a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--link);
    text-decoration: none;
    font-size: .9375rem;
    line-height: 1.35;
  }

  .m-nav__back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    margin-bottom: .25rem;
    color: var(--gold-ink);
    font-size: .9375rem;
    font-weight: 500;
    text-align: left;
  }

  .m-nav__heading {
    margin: .25rem 0 1rem;
    color: var(--ink);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
  }

  .m-nav__links {
    display: grid;
    gap: 0;
  }

  .m-nav__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 3.125rem;
    padding: .75rem .125rem;
    border-bottom: 1px solid var(--line);
    color: var(--link);
    font-size: 1rem;
    line-height: 1.45;
    text-decoration: none;
  }

  .m-nav__links a[aria-current="page"] {
    border-left: 3px solid var(--gold);
    padding-left: .75rem;
    background: var(--ivory);
    font-weight: 600;
  }

  .m-nav__links .m-nav__group {
    margin-block: .5rem;
    padding-inline: 1rem;
    border: 1px solid var(--line);
  }

  .m-nav__langs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }

  .m-nav__langs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .5rem .875rem;
    border: 1px solid var(--line-2);
    border-radius: .375rem;
    color: var(--link);
    font-size: 1rem;
    text-decoration: none;
  }

  .m-nav__langs a[aria-current="true"] {
    border-color: var(--gold-ink);
    background: var(--ivory-2);
    font-weight: 600;
  }

  .m-nav__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 0;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
  }

  .m-nav__tools :is(button, a) {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--line-2);
    border-radius: .375rem;
    color: var(--link);
    font-size: .9375rem;
    line-height: 1.35;
    text-decoration: none;
  }

  .m-nav__tools > .m-nav__group {
    flex: 1 1 0;
    width: auto;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    font-size: .875rem;
  }

  .m-nav__tools svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  .m-nav__footer {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: minmax(5rem, .7fr) minmax(0, 1.6fr);
    gap: .625rem;
    padding: .875rem var(--gutter) max(.875rem, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(241, 235, 221, .18);
    background: var(--navy);
    color: #f6f1e7;
  }

  .m-nav__footer .btn {
    padding-inline: .75rem;
    min-height: 3rem;
    font-size: .9375rem;
  }

  .m-nav :is(a, button):focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 3px;
  }

  .m-nav :is(.m-nav__top, .m-nav__footer) :is(a, button):focus-visible {
    outline-color: #dbc08e;
  }

  .m-nav :is(.m-nav__group, .m-nav__links a, .m-nav__quick a):active {
    background: var(--ivory-2);
  }

  /* Keep the primary content calm and readable across all page families. */
  .hero {
    min-height: 0;
    align-items: end;
  }

  .hero__inner {
    padding-top: calc(var(--hh) + 1.5rem);
    padding-bottom: 1.75rem;
  }

  .hero__brand {
    max-width: 100%;
  }

  .hero__sub {
    max-width: 36ch;
    font-size: clamp(1.0625rem, 3.2vw, 1.25rem);
    line-height: 1.55;
  }

  .hero__acts,
  .phero__acts,
  .closing__acts {
    gap: .625rem;
    margin-top: 1.125rem;
  }

  .phero {
    padding-top: calc(var(--hh) + 1rem);
    padding-bottom: 1.75rem;
  }

  .phero__h1 {
    max-width: 25ch;
    font-size: clamp(1.875rem, 4.5vw, 2.5rem);
    line-height: 1.16;
    letter-spacing: -.02em;
  }

  .phero__lede {
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 57ch;
  }

  .phero__meta {
    line-height: 1.55;
    max-width: 58ch;
  }

  .crumbs ol {
    row-gap: .125rem;
    font-size: .8125rem;
    line-height: 1.4;
    margin-bottom: .75rem;
  }

  .crumbs li {
    min-width: 0;
    max-width: 100%;
  }

  .crumbs [aria-current] {
    overflow-wrap: anywhere;
  }

  .sh {
    margin-bottom: 1.125rem;
  }

  .sh__lede {
    margin-top: .875rem;
    line-height: 1.6;
  }

  .split,
  .guide__wrap,
  .where,
  .profile__in,
  .dvhero,
  .lphero,
  .blog-hub .blog-intro,
  .blog-hub .blog-reading {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .pri {
    grid-template-columns: minmax(0, 1fr) !important;
    border: 0;
    gap: .875rem;
  }

  .pri__card,
  .pri__card + .pri__card {
    padding: 1.125rem;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: var(--m-radius);
  }

  :is(.card, .ncard, .blog-hub .blog-card, .guide__box, .rev, .helpbox, .formcard) {
    border-radius: var(--m-radius);
  }

  .card {
    padding: 1.125rem 1.125rem 2.75rem;
  }

  .card__go {
    left: 1.125rem;
  }

  .other__list {
    columns: 1;
  }

  .pri__more {
    gap: .25rem 1rem;
    margin-top: 1rem;
  }

  .pri__more > .eyebrow {
    flex-basis: 100%;
  }

  .guide__box {
    padding: 1rem;
  }

  .guide__opt {
    min-height: 3rem;
    line-height: 1.45;
    padding-block: .75rem;
  }

  .profile__photo {
    max-width: 24rem;
    width: 100%;
  }

  .profile__img {
    aspect-ratio: 4 / 4.5;
  }

  .np-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .np-article {
    width: 100%;
    max-width: 100%;
  }

  .np-sec + .np-sec {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .np-sec,
  .pc-article .np-sec,
  .pc-anchor,
  .blog-hub section[id] {
    scroll-margin-top: calc(var(--hh) + 1rem);
  }

  .acc__btn {
    gap: 1rem;
    padding-block: .875rem;
    align-items: flex-start;
  }

  .acc__q {
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .acc__ico {
    margin-top: .375rem;
  }

  .acc__inner {
    line-height: 1.7;
  }

  /* Desktop side contents become an optional mobile table of contents. */
  .m-toc {
    display: block;
    position: static;
    order: -1;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: var(--m-radius);
    background: var(--paper);
    overflow: hidden;
  }

  .m-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.25rem;
    padding: .875rem 1rem;
    color: var(--link);
    font-size: .9375rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
  }

  .m-toc-toggle::after,
  .m-footer-toggle::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
  }

  .m-toc-toggle[aria-expanded="true"]::after,
  .m-footer-toggle[aria-expanded="true"]::after {
    content: "−";
  }

  .m-toc-panel {
    padding: .25rem 1rem .875rem;
    border-top: 1px solid var(--line);
  }

  .m-toc-panel > :is(h2, h3, .eyebrow) {
    margin-top: .75rem;
    font-size: .875rem;
  }

  .m-toc ol {
    display: grid;
    gap: 0;
    margin-top: .5rem;
    padding: 0;
    list-style: none;
  }

  .m-toc a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding-block: .625rem;
    color: var(--link);
    font-size: .9375rem;
    line-height: 1.5;
    text-decoration: none;
  }

  .m-toc a:active {
    color: var(--gold-ink);
  }

  /* Tables keep column relationships and scroll inside a labelled region. */
  :is(.m-table-wrap, .table-wrap, .table-scroll, .pc-table) {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--ivory-2);
    border-radius: var(--m-radius);
  }

  .m-table-wrap {
    margin-block: 1.25rem;
    border: 1px solid var(--line-2);
    background: var(--paper);
  }

  .m-table-new {
    display: block;
  }

  .m-table-wrap:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }

  .m-table-hint {
    display: block;
    margin: 1.25rem 0 -.75rem;
    padding-left: .125rem;
    color: var(--muted);
    font-size: .8125rem;
    line-height: 1.5;
  }

  .m-table-hint[hidden] {
    display: none !important;
  }

  .m-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: 1rem;
    padding: .75rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: var(--m-radius);
    color: var(--link);
    background: var(--paper);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
  }

  .m-table-wrap table {
    width: 100%;
    min-width: 32rem;
    margin: 0;
  }

  :is(.tbl, .pc-table table) :is(th, td) {
    padding: .875rem;
    font-size: .9375rem;
    line-height: 1.55;
  }

  .blog-hub .blog-topic-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .5rem;
    padding-block: .75rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .blog-hub .blog-topic-nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .blog-hub .blog-topic-nav a {
    min-height: 2.75rem;
    padding: .5rem .875rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    white-space: nowrap;
    background: var(--ivory);
  }

  .blog-hub .blog-section-head {
    margin-bottom: 1.5rem;
  }

  .article-notice {
    margin-block: 1.25rem;
    line-height: 1.6;
  }

  /* Court search remains usable with a thumb and a narrow viewport. */
  .cf2-toolbar {
    padding: 1rem;
    gap: 1rem;
  }

  .cf2-filters {
    gap: .5rem;
  }

  .cf2-chip {
    min-height: 2.75rem;
    padding-inline: .875rem;
    font-size: .9375rem;
  }

  .cf2-filters .cf2-type {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    min-height: 3rem;
    margin-left: 0;
    font-size: 1rem;
  }

  .cf2-search {
    min-width: 0;
    padding-inline: .75rem;
    border-radius: var(--m-radius);
  }

  .cf2-search input,
  .cf2-strip .cf2-search input {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
  }

  .cf2-search .cf2-clear {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .cf2-below,
  .cf2-location,
  .cf2-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .cf2-canvas {
    height: clamp(17rem, 45vw, 24rem);
  }

  .cf2-blockhead {
    flex-wrap: wrap;
    gap: .375rem .75rem;
    padding: 1rem;
  }

  .cf2-row {
    min-height: 4.5rem;
    padding: 1rem;
    text-align: left;
  }

  .cf2-row strong {
    font-size: 1rem;
    line-height: 1.4;
  }

  :is(.cf2-mapctl button, .cf2-reset, .cf2-buildings button) {
    min-height: 2.75rem;
    min-width: 2.75rem;
  }

  .cf2-card,
  .cf2-loc-body,
  .cf2-inline {
    padding: 1.25rem 1rem;
  }

  .cf2-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .cf2-actions {
    gap: .625rem;
  }

  .cf2-actions .cf2-btn {
    flex: 1 1 auto;
    min-height: 3rem;
    padding: .75rem;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .cf2-help {
    padding: 1rem;
  }

  .cf2-nearby li {
    flex-wrap: wrap;
  }

  .cf2-minimap-wrap {
    max-width: 24rem;
    margin-inline: auto;
  }

  .cf2-strip .cf2-chip {
    min-height: 2.75rem;
  }

  /* Contact, intake and landing-page forms use full-size native controls. */
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .contact__aside {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-2);
  }

  .form {
    max-width: 100%;
    gap: 1rem;
  }

  :is(input, select, textarea),
  .field__c,
  .assist__in,
  .find__in {
    font-size: max(1rem, 16px);
  }

  .field__c {
    min-height: 3.125rem;
    padding: .8125rem .875rem;
    border-radius: .375rem;
  }

  .field__l {
    font-size: .9375rem;
    line-height: 1.45;
  }

  .field__hint,
  .field__err {
    line-height: 1.55;
  }

  .choice {
    min-height: 2.75rem;
  }

  .formcard {
    padding: 1rem;
  }

  .office__dl dd {
    overflow-wrap: anywhere;
  }

  .office__dl a {
    max-width: 100%;
    line-height: 1.4;
  }

  .map {
    width: 100%;
    max-width: 100%;
    min-height: 15rem;
    aspect-ratio: 4 / 3;
    border-radius: var(--m-radius);
  }

  .map__cap {
    padding: 1rem;
    gap: .75rem;
  }

  .map__note {
    max-width: 100%;
  }

  /* Search and assistant overlays leave no content behind a device toolbar. */
  .find__panel {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    transform: none;
  }

  .find.is-open .find__panel,
  .find.is-shown .find__panel {
    transform: none;
  }

  .find__bar {
    min-height: 4.25rem;
    height: auto;
    padding: max(.75rem, env(safe-area-inset-top, 0px)) 1rem .75rem;
    gap: .625rem;
  }

  .find__in {
    min-height: 2.75rem;
  }

  .find__cancel {
    display: inline-flex;
    align-items: center;
    padding-inline: .5rem;
    color: var(--link);
  }

  .find__x {
    display: none;
  }

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

  .find__pre {
    display: none;
  }

  .find__list {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: 1rem;
  }

  .find__foot {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .assist {
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border: 0;
  }

  .assist__head {
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem 1rem;
  }

  .assist__x {
    flex: 0 0 2.75rem;
    margin: -.375rem 0 0;
  }

  .assist__log {
    overscroll-behavior: contain;
    min-height: 0;
    padding: 1rem;
  }

  .assist__foot {
    padding-bottom: max(.875rem, env(safe-area-inset-bottom, 0px));
  }

  .assist__acts .btn {
    min-height: 3rem;
    padding: .625rem;
    font-size: .875rem;
  }

  .assist-l {
    display: none !important;
  }

  /* The existing callbar remains controlled by the published visibility JS. */
  .callbar {
    display: flex;
    min-height: 4.5rem;
    gap: .5rem;
    padding: .625rem var(--gutter) max(.625rem, env(safe-area-inset-bottom, 0px));
    background: var(--navy-2);
    box-shadow: 0 -4px 20px rgba(6, 13, 25, .12);
  }

  .callbar .btn {
    min-height: 3rem;
    font-size: .9375rem;
    padding: .625rem .75rem;
    line-height: 1.35;
  }

  .callbar__ask {
    width: 3rem;
    height: 3rem;
    border-radius: .375rem;
  }

  .m-nav-open .callbar,
  .m-input-active :is(.callbar, .assist-l) {
    visibility: hidden;
    pointer-events: none;
  }

  /* The long practice lists are explicit, accessible footer disclosures. */
  .footer {
    padding-top: 2rem;
    padding-bottom: calc(2rem + 4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer__top {
    gap: 1.25rem;
    padding-bottom: 1.125rem;
  }

  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid rgba(241, 235, 221, .2);
  }

  .footer__col {
    min-width: 0;
    border-bottom: 1px solid rgba(241, 235, 221, .2);
  }

  .m-footer-heading {
    display: none;
  }

  .m-footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.5rem;
    padding: .875rem 0;
    color: #dbc08e;
    font-size: .9375rem;
    font-weight: 500;
    text-align: left;
    line-height: 1.45;
  }

  .m-footer-panel {
    padding-bottom: .75rem;
  }

  .footer__col a {
    min-height: 2.75rem;
    padding-block: .625rem;
    line-height: 1.45;
  }

  .footer__mid {
    gap: 1.25rem;
    padding-block: 1.25rem;
  }

  .footer__mid a,
  .footer__legal a,
  .footer__langs a {
    min-height: 2.75rem;
    line-height: 1.45;
  }

  .footer__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem 1rem;
    padding-top: 1rem;
  }

  .footer__langs {
    gap: .25rem 1rem;
    margin-top: .5rem;
  }

  .footer__fine {
    margin-top: 1.25rem;
    line-height: 1.65;
  }
}

@media (max-width: 39.99rem) {
  :root {
    --gutter: max(1.125rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-top: calc(var(--hh) + 1.25rem);
  }

  :is(.hero__acts, .phero__acts, .closing__acts, .footer__acts, .helpbox__acts, .guide__acts) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .625rem;
  }

  :is(.hero__acts, .phero__acts, .closing__acts, .footer__acts, .helpbox__acts, .guide__acts) .btn {
    width: 100%;
  }

  .phero__acts .tlink {
    margin-left: 0;
    justify-content: center;
  }

  :is(.cards, .ncards, .people, .facts, .defs, .defs--3, .others, .nsteps, .blog-hub .blog-grid, .blog-hub .blog-grid--two) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .creds__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }

  .creds__i {
    font-size: .875rem;
    line-height: 1.55;
  }

  .people {
    gap: 1.5rem;
  }

  .person__photo {
    margin-bottom: .5rem;
    border-radius: var(--m-radius);
  }

  .person__img {
    aspect-ratio: 4 / 4.2;
    object-position: 50% 25%;
  }

  .person__role {
    line-height: 1.65;
  }

  .person__go {
    min-height: 2.75rem;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .choice-set,
  .choices {
    flex-direction: column;
    align-items: stretch;
  }

  .form .btn[type="submit"] {
    width: 100%;
  }

  .cf2-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .cf2-kicker {
    flex-wrap: wrap;
    line-height: 1.6;
  }

  .cf2-actions .cf2-btn {
    flex-basis: 100%;
  }

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

  .callbar .cb-more {
    display: none;
  }

  .callbar .btn--outline-light {
    flex: 1 1 auto;
  }

  .closing__meta {
    line-height: 1.65;
  }
}

@media (max-width: 47.99rem) {
  /* The published swipe grid uses implicit columns. Explicit one-column
   * layouts would otherwise consume the first track and squeeze its content. */
  .swipe {
    display: grid;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    align-items: start;
  }

  .swipe > * {
    min-width: 0;
    height: auto;
    align-self: start;
  }
}

@media (max-width: 23.49rem) {
  :root {
    --gutter: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .hdr__logo .brand-mark {
    width: 8.75rem;
  }

  .hdr__acts {
    gap: .25rem;
  }

  .m-nav__title {
    font-size: 1rem;
  }

  .m-nav__group {
    min-height: 3rem;
    padding: .75rem;
  }

  .m-nav__footer .btn {
    padding-inline: .5rem;
    font-size: .875rem;
  }

  .cf2-chip {
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: .625rem;
  }

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

@media (max-height: 32rem) and (max-width: 63.99rem) {
  .m-nav__top {
    min-height: 3.5rem;
    padding-block: .375rem;
  }

  .m-nav__footer {
    padding-block: .5rem;
  }

  .m-nav__footer .btn {
    min-height: 2.75rem;
  }

  .jump {
    position: static;
  }
}

@media (max-width: 63.99rem) and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .m-nav,
  .m-toc-toggle,
  .m-footer-toggle {
    display: none !important;
  }

  .m-toc-panel[hidden],
  .m-footer-panel[hidden] {
    display: block !important;
  }
}
