.mobile-only { display: none !important; }
.details-copy { padding-inline: 14px; }
.topic-back svg, .text-action svg { width: 16px; height: 16px; flex: none; }
.section-link.text-action, .map-link { gap: 7px; }
.collapse-icon, details[open] .expand-icon { display: none; }
details[open] .collapse-icon { display: inline; }

@media (min-width: 900px) {
  .redesign-drawer .drawer-brand { padding: 16px var(--drawer-padding) 0; }
  .redesign-drawer .menu-body { min-height: 0; padding: 0 4px 6px; overflow-y: auto; }
  .redesign-drawer .drawer-heading { padding-left: 0; }
  .redesign-drawer .menu-cross-links { display: grid; gap: 7px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
  .redesign-drawer .menu-cross-links a { display: grid; grid-template-columns: 22px 1fr 17px; align-items: center; gap: 12px; min-height: 44px; padding: 0 9px; }
  .redesign-drawer .pill-copy small { display: block; color: var(--muted); font: 400 12px/1.4 system-ui, sans-serif; }
  .redesign-drawer .pill-copy strong { font-weight: inherit; }
}

@media (max-width: 899px) {
  @font-face {
    font-family: Baskervville;
    src: url("fonts/Baskervville.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
  }
  @font-face {
    font-family: "DM Sans";
    src: url("fonts/DM-Sans.woff2") format("woff2");
    font-weight: 400 600;
    font-display: swap;
  }
  .desktop-only { display: none !important; }
  :is(.support-page, .resources-page, .redesign-drawer) {
    --paper: #fbf4eb;
    --ink: #233522;
    --text: var(--ink);
    --muted: #505a4d;
    --line: #c9b8a7;
    --sage: #ebece0;
    --serif: Baskervville, Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
    --phone-gutter: clamp(16px, 6.16vw, 24px);
    --accent: #c19375;
    --warm-surface:
      linear-gradient(145deg, transparent 52%, #fffaf0cf 67%, transparent 78%),
      radial-gradient(ellipse at 88% 4%, #ead4bd 0%, transparent 46%),
      radial-gradient(ellipse at 0% 100%, #efdecb 0%, transparent 52%),
      #f9f0e5;
    color: var(--ink);
    font: 400 14px/1.43 var(--sans);
  }
  :is(.support-document, .resources-document) {
    --top-safe: env(safe-area-inset-top, 0px);
    --bottom-safe: env(safe-area-inset-bottom, 0px);
    --chapter-height: calc(66px + var(--top-safe));
    --masthead-height: calc(90px + var(--top-safe));
    --phone-dock-height: calc(69px + var(--bottom-safe));
    background: #f9f0e5;
    scrollbar-gutter: auto;
    scroll-padding-top: 0;
  }
  :is(.support-page, .resources-page) {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    background: #f9f0e5;
  }
  .screen-pad {
    padding-inline: max(var(--phone-gutter), env(safe-area-inset-left, 0px))
      max(var(--phone-gutter), env(safe-area-inset-right, 0px));
  }

  .phone-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    min-height: 100dvh;
    background: var(--warm-surface);
  }
  .phone-panel:focus { outline: 0; }
  .phone-panel.inner-panel { padding-top: var(--chapter-height); }

  :is(.support-page, .resources-page) .site-header, .redesign-drawer .drawer-brand {
    padding: calc(7px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px))
      9px max(clamp(23px, 8.2vw, 32px), env(safe-area-inset-left, 0px));
    border: 0;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(109deg, #f4e5d6, #f7ece0 49%, #ead8c6);
    color: var(--ink);
  }
  :is(.support-page, .resources-page) .site-header {
    position: absolute;
    inset: 0 0 auto;
    height: var(--masthead-height);
  }
  :is(.support-page, .resources-page, .redesign-drawer) .logo-brand { width: 126px; flex: none; }
  .welcome-page .redesign-drawer .logo-brand { width: 126px; }
  :is(.support-page, .resources-page, .redesign-drawer) :is(.part-name, .part-surname, .part-descriptor) {
    background: var(--ink);
    -webkit-mask: var(--logo-mask) center / 100% 100% no-repeat;
    mask: var(--logo-mask) center / 100% 100% no-repeat;
  }
  :is(.support-page, .resources-page, .redesign-drawer) .part-name { --logo-mask: url("logo-name.png"); }
  :is(.support-page, .resources-page, .redesign-drawer) .part-surname { --logo-mask: url("logo-surname.png"); }
  :is(.support-page, .resources-page, .redesign-drawer) .part-descriptor { --logo-mask: url("logo-descriptor.png"); }
  :is(.support-page, .resources-page) .menu-text { display: none; }
  :is(.support-page, .resources-page) .menu-toggle,
  :is(.support-page, .resources-page) .compact-back.mobile-only,
  .redesign-drawer .dialog-close {
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #fbf1e7;
    color: var(--ink);
  }
  :is(.support-page, .resources-page) .menu-lines {
    width: 16px;
    height: 1.4px;
    border: 0;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
  }
  :is(.support-page, .resources-page) .menu-lines::before { content: none; }

  :is(.support-page, .resources-page) .compact-header {
    height: var(--chapter-height);
    padding: var(--top-safe) max(18px, env(safe-area-inset-right, 0px)) 0
      max(18px, env(safe-area-inset-left, 0px));
    border: 0;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(105deg, #f3e4d5, #f7ebdf 48%, #ebdbcc);
  }
  :is(.support-page, .resources-page) .compact-inner {
    display: grid;
    height: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 14px;
    padding: 0;
  }
  :is(.support-page, .resources-page) .compact-section { min-width: 0; display: block; text-align: center; }
  :is(.support-page, .resources-page) .compact-title { display: block; font: 600 13px/1.2 var(--sans); }
  .support-page .compact-number { display: none; }
  .support-page .compact-progress { display: flex; justify-content: center; gap: 4px; width: auto; margin-top: 6px; }
  .support-page .compact-progress i { flex: none; width: 15px; height: 2.5px; background: #d2c1ae; }
  .support-page .compact-progress .filled { background: #9ca58e; }
  .support-page .compact-progress .current { width: 23px; background: var(--ink); }
  :is(.support-page, .resources-page) .compact-menu {
    position: static;
    opacity: 1;
    visibility: inherit;
    transform: none;
  }
  :is(.support-page, .resources-page) .compact-header:not([hidden]) .compact-menu { visibility: inherit; }
  :is(.support-page, .resources-page) .compact-back svg { width: 20px; height: 20px; }
  .support-document:has(#topic-answer:not([hidden])) .site-header { visibility: hidden; }
  .support-document:has(#topic-answer:not([hidden])) .compact-header { visibility: visible; }

  .eyebrow { margin: 0 0 9px; color: #5c6456; font: 600 9.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  :is(.hero-intro, .appointment-intro) { text-align: center; }
  :is(.hero-intro, .appointment-intro) .body-copy { max-width: 308px; margin-inline: auto; }
  :is(.support-page, .resources-page) svg:not(.accent-sweep), .redesign-drawer svg { stroke-width: 1.45; }
  :is(.support-page, .resources-page) .compact-back svg { stroke-width: 1.65; }
  :is(.support-page, .resources-page) .view-heading {
    margin: 0;
    color: var(--ink);
    font: 400 clamp(36px, 10.77vw, 42px)/.99 var(--serif);
    letter-spacing: -.057em;
    text-wrap: balance;
  }
  .section-label {
    margin: 0;
    color: var(--ink);
    font: 400 29px/1.04 var(--serif);
    letter-spacing: -.045em;
  }
  .body-copy { margin: 0; color: var(--muted); font: 400 14.5px/1.48 var(--sans); text-wrap: pretty; }
  .accent-sweep.mobile-only {
    display: block !important;
    width: 123px;
    height: 15px;
    margin: 5px auto 10px;
    fill: var(--accent);
    stroke: none;
  }

  .row-list { display: grid; gap: 9px; }
  .pill {
    display: grid;
    min-width: 0;
    min-height: 58px;
    grid-template-columns: 32px minmax(0, 1fr) 21px;
    align-items: center;
    gap: 10px;
    padding: 7px clamp(11px, 3.85vw, 15px);
    border: 1px solid #a4a797;
    border-radius: 100px;
    background: #fffbf256;
    color: var(--ink);
    text-align: left;
  }
  .pill.mobile-only:not(.desktop-only) { display: grid !important; }
  .pill svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.45;
  }
  .pill > svg:first-child, .redesign-drawer .pill > svg:first-child { justify-self: center; }
  .pill > svg:last-of-type:not(:first-child) { width: 20px; height: 20px; }
  .pill .pill-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 28px;
    padding-inline-start: 11px;
    border-inline-start: 1px solid #c8b5a4;
  }
  .pill strong { font: 600 15.2px/1.15 var(--sans); letter-spacing: -.024em; }
  .pill small { margin-top: 3px; color: var(--muted); font: 400 11.8px/1.26 var(--sans); }
  .pill.is-primary {
    border-color: transparent;
    background: linear-gradient(#394b35, #253525);
    color: #fff9ef;
    box-shadow: 0 3px 7px #372e1e26;
  }
  .pill.is-primary small { color: #f3e8d9; }
  .pill.is-primary .pill-copy { border-color: #e9d9c37e; }
  .pill[aria-current] { border-color: #8b9982; background: #e9eddf; }
  .pill.secondary-cta { min-height: 54px; margin-top: 14px; }
  .text-action {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 13px/1.2 var(--sans);
  }
  .text-action.center { margin-inline: auto; }
  .note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid #decdbb;
    border-radius: 15px;
    background: #fbf4e9bf;
    color: #4c5749;
    font: 400 12.4px/1.41 var(--sans);
  }
  .note > svg { flex: none; width: 18px; height: 18px; }
  .note div { min-width: 0; }
  .note strong { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 600; font-size: 13px; }
  .platform-foot.mobile-only {
    display: grid !important;
    gap: 5px;
    margin-top: auto;
    padding: 17px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e3d5c7;
    text-align: center;
  }
  .platform-foot span { color: var(--muted); font-size: 11px; }
  .platform-foot .text-action { min-height: 34px; }

  .redesign-drawer {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--warm-surface);
    box-shadow: none;
    overflow: hidden;
  }
  .redesign-drawer .drawer-content { height: 100%; padding: 0; }
  .redesign-drawer .drawer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(90px + env(safe-area-inset-top, 0px));
    flex: none;
  }
  .redesign-drawer .menu-logo { display: block; margin: 0; }
  .redesign-drawer .dialog-close { position: static; }
  .redesign-drawer .dialog-close svg { width: 20px; height: 20px; stroke-width: 1.65; }
  .redesign-drawer .menu-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 25px max(23px, env(safe-area-inset-right, 0px))
      calc(24px + env(safe-area-inset-bottom, 0px)) max(23px, env(safe-area-inset-left, 0px));
  }
  .redesign-drawer .drawer-heading { margin: 0; padding: 0; }
  .redesign-drawer .drawer-heading h2 { margin: 0; font: 400 39px/.99 var(--serif); letter-spacing: -.057em; text-wrap: balance; }
  .redesign-drawer .eyebrow.mobile-only { display: block !important; }
  .redesign-drawer .menu-list {
    display: grid;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
    overflow: visible;
  }
  .redesign-drawer .pill { min-height: 47px; }
  .redesign-drawer .menu-list .pill {
    grid-template-columns: 32px minmax(0, 1fr) 21px;
    gap: 10px;
    padding: 7px clamp(11px, 3.85vw, 15px);
    border-color: #a4a797;
    border-radius: 100px;
    overflow-wrap: normal;
  }
  .redesign-drawer .menu-list .pill.is-primary { border-color: transparent; background: linear-gradient(#394b35, #253525); }
  .redesign-drawer .menu-list .pill[aria-current] { border-color: #8b9982; background: #e9eddf; }
  .redesign-drawer .menu-list .pill:not([aria-current], .is-primary):hover { background: #fffaf2; }
  .redesign-drawer .pill-copy { min-height: 24px; }
  .redesign-drawer .pill strong { font-size: 14px; }
  .redesign-drawer .pill svg { width: 18px; height: 18px; }
  .redesign-drawer .menu-list .pill > svg:first-child { width: 18px; height: 18px; }
  .redesign-drawer .pill > svg:last-child { width: 17px; height: 17px; }
  .redesign-drawer .menu-cross-links { display: grid; gap: 7px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #d5c2b0; }
  .redesign-drawer .menu-cross-links .pill { min-height: 45px; }
  .redesign-drawer.main-menu .menu-body { padding-top: 42px; }
  .redesign-drawer.main-menu .menu-list { gap: 10px; margin-top: 21px; }
  .redesign-drawer.main-menu .menu-list .pill { min-height: 59px; }
  .redesign-drawer.main-menu .menu-cross-links { margin-top: 27px; padding-top: 17px; }

  details > summary { list-style: none; cursor: pointer; }
  details > summary::-webkit-details-marker { display: none; }
  details > summary:focus-visible { outline-offset: -3px; }
  details[open] > summary .expand-icon, details:not([open]) > summary .collapse-icon { display: none; }
  details[open] > summary .collapse-icon { display: block; }

  @media (hover: hover) {
    .pill:is(a,button,summary):hover { background: #fffaf2; }
    .pill.is-primary:hover { background: #384b34; }
    .pill[aria-current]:hover { background: #e9eddf; }
  }
  @media (prefers-reduced-motion: reduce) {
    .redesign-drawer, .redesign-drawer[open] { animation: none; transition: none; }
    :is(.support-page, .resources-page) .compact-header { animation: none; }
  }
}
