/* Signature Entrée desktop. The existing grid column and the trigger hitboxes stay anchored. */
@media (min-width: 861px) {
  html[data-signature-entree="closed"] .signature-entree-index:has(> .sb-rail-panel) {
    --sb-rail-paper: color-mix(in srgb, var(--se-paper) 62%, var(--se-inset));
    --sb-rail-ink: var(--se-ink);
    --sb-rail-raised: color-mix(in srgb, var(--sb-rail-ink) 3%, var(--sb-rail-paper));
    --sb-rail-dim: color-mix(in srgb, var(--sb-rail-ink) 73%, var(--sb-rail-paper));
    --sb-rail-line: color-mix(in srgb, var(--sb-rail-ink) 12%, var(--sb-rail-paper));
    --sb-rail-divider: color-mix(in srgb, var(--sb-rail-ink) 14%, transparent);
    --sb-rail-rim: color-mix(in srgb, var(--sb-rail-ink) 23%, var(--sb-rail-paper));
    --sb-rail-glint: color-mix(in srgb, var(--sb-rail-ink) 45%, var(--sb-rail-paper));
    --sb-rail-cta: color-mix(in srgb, var(--sb-rail-ink) 7%, var(--sb-rail-paper));
    --sb-rail-ease: cubic-bezier(.18, .8, .24, 1);
    overflow: visible;
    transition: border-color 190ms, z-index 0s linear 240ms;
  }

  html[data-signature-entree="closed"] .signature-entree-index[data-sb-rail-open] {
    z-index: 10;
    border-right-color: transparent;
    transition-delay: 0s;
  }

  /* Signature mounts its engraved house beside the rail. Keep it on
     the raised surface with its native light/dark treatment. */
  .terminal-body:has(> .signature-entree-index[data-sb-rail-open]) > .signature-entree-house {
    z-index: 11;
  }
  @media screen and (forced-colors: none) {
    html[data-signature-entree="closed"]
      .terminal-body:has(> .signature-entree-index > .sb-rail-panel)
      > :is(.terminal-header, #home, .signature-entree-footer, .terminal-footer) {
      transition: filter 165ms cubic-bezier(.25, .6, .3, 1);
    }
    html[data-signature-entree="closed"]
      .terminal-body:has(> .signature-entree-index[data-sb-rail-open])
      > :is(.terminal-header, #home, .signature-entree-footer, .terminal-footer) {
      filter: blur(clamp(3px, .25vw, 4px));
      transition-duration: 210ms;
    }
  }

  .signature-entree-index:has(> .sb-rail-panel)::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6px -5px 6px 5px;
    box-sizing: border-box;
    border: 1px solid var(--sb-rail-rim);
    border-radius: 18px 10px 10px 18px;
    background: linear-gradient(100deg, var(--sb-rail-raised), var(--sb-rail-paper) 78%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), 0 2px 5px rgb(5 15 23 / .14), 6px 12px 28px -15px rgb(5 15 23 / .48);
    opacity: 0;
    transform: translateX(-3px);
    pointer-events: none;
    transition: transform 245ms var(--sb-rail-ease), opacity 175ms ease;
  }

  .signature-entree-index[data-sb-rail-open]::after {
    opacity: 1;
    transform: none;
  }

  .signature-entree-index[data-sb-rail-open] .sb-signature-rail-guide {
    visibility: hidden;
  }

  .signature-entree-index[data-sb-rail-open] .signature-entree-topic-row {
    position: relative;
    isolation: isolate;
  }

  .signature-entree-index [data-sb-rail-current] > .signature-entree-topic-row::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 5px -1px 5px -5px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sb-rail-ink) 5%, transparent));
    pointer-events: none;
  }

  /* A short datum line connects the stationary toggle to the action wing. */
  .signature-entree-index [data-sb-rail-current] > .signature-entree-topic-row::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% - 1px);
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, var(--sb-rail-glint), transparent);
    pointer-events: none;
  }

  .signature-entree-index[data-sb-rail-open] [data-sb-rail-current] .signature-entree-topic {
    color: var(--sb-rail-ink);
  }

  .signature-entree-index [data-sb-rail-current] .signature-entree-topic::before {
    opacity: .9;
  }

  html[data-signature-entree="closed"] .signature-entree-index [data-sb-rail-current] .signature-entree-topic-toggle__symbol::after {
    opacity: 0;
    transform: scaleY(0);
  }

  /* The action surface owns one continuous hit area all the way to the plus. Only its paint moves. */
  .sb-rail-panel {
    position: absolute;
    top: var(--sb-rail-panel-top, 12px);
    left: calc(100% - 1px);
    z-index: 3;
    width: clamp(302px, 27.5cqw, 374px);
    container: sb-rail-actions / inline-size;
    box-sizing: border-box;
    isolation: isolate;
    visibility: hidden;
    pointer-events: none;
    color: var(--sb-rail-ink);
    font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    transition: visibility 0s linear 230ms;
  }

  .signature-entree-index[data-sb-rail-open] > .sb-rail-panel {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .sb-rail-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 -5px;
    border: 1px solid var(--sb-rail-rim);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(110deg, var(--sb-rail-paper) 22%, var(--sb-rail-raised));
    box-shadow: 0 2px 4px -2px rgb(5 15 23 / .24), 13px 19px 34px -17px rgb(5 15 23 / .41), inset 0 1px 0 rgb(255 255 255 / .07);
    opacity: 0;
    clip-path: inset(-60px 99% -60px -8px);
    transition: clip-path 220ms cubic-bezier(.35, 0, .25, 1), opacity 150ms 65ms ease;
  }

  .signature-entree-index[data-sb-rail-open] > .sb-rail-panel::before {
    opacity: 1;
    clip-path: inset(-60px -72px -60px -8px);
    transition: clip-path 265ms var(--sb-rail-ease), opacity 100ms ease;
  }

  .sb-rail-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 46%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-rail-glint) 32%, transparent);
    opacity: 0;
    transform: scaleX(.15);
    transform-origin: left;
    pointer-events: none;
    transition: opacity 130ms ease, transform 200ms var(--sb-rail-ease);
  }

  .signature-entree-index[data-sb-rail-open] > .sb-rail-panel::after {
    opacity: .73;
    transform: none;
    transition: opacity 185ms ease, transform 320ms var(--sb-rail-ease);
  }

  .sb-rail-panel__content {
    position: relative;
    box-sizing: border-box;
    max-height: var(--sb-rail-panel-max-height, 76dvh);
    padding: 13px 19px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--sb-rail-rim) transparent;
    opacity: 0;
    transform: translateX(-9px);
    transition: opacity 115ms ease, transform 160ms var(--sb-rail-ease);
  }

  .signature-entree-index[data-sb-rail-open] .sb-rail-panel__content {
    opacity: 1;
    transform: none;
    transition: opacity 170ms 70ms ease, transform 220ms 50ms var(--sb-rail-ease);
  }

  .sb-rail-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 6px;
  }

  .sb-rail-panel .sb-rail-panel__title {
    margin: 0;
    color: var(--sb-rail-ink);
    font: 500 clamp(18px, 5.2cqw, 20px)/1.2 var(--sans, sans-serif);
    letter-spacing: -.027em;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .sb-rail-panel .sb-rail-panel__close {
    appearance: none;
    flex: 0 0 30px;
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: -2px -5px -2px 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--sb-rail-dim);
    cursor: pointer;
  }

  .sb-rail-panel__close::before, .sb-rail-panel__close::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .sb-rail-panel__close::after { transform: rotate(-45deg); }

  .sb-rail-panel__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0 10px;
  }
  .sb-rail-panel__list > * { grid-column: 1 / -1; }

  .sb-rail-panel .sb-rail-panel__group {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 3px;
    color: var(--sb-rail-dim);
    font: 500 9.5px/1.4 var(--sans, sans-serif);
    letter-spacing: .095em;
    text-transform: uppercase;
  }

  .sb-rail-panel__group::after {
    content: "";
    flex: 1 1 18px;
    height: 1px;
    background: var(--sb-rail-line);
  }

  .sb-rail-panel .sb-rail-panel__action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    appearance: none;
    min-width: 0;
    width: 100%;
    min-height: 34px;
    padding: 6px 21px 6px 3px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: var(--sb-rail-ink);
    font: 450 13px/1.35 var(--sans, sans-serif);
    letter-spacing: -.01em;
    text-align: start;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: background-color 150ms ease;
  }

  /* Draw separators only between actionable siblings in the same group. */
  .sb-rail-panel__action:not([data-primary]) + .sb-rail-panel__action::before {
    content: "";
    position: absolute;
    inset: 0 4px auto 3px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-rail-divider) 7%, var(--sb-rail-divider) 76%, transparent);
    pointer-events: none;
  }

  .sb-rail-panel__action::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 9px;
    height: 9px;
    background: currentColor;
    clip-path: polygon(13% 87%, 5% 79%, 70% 14%, 27% 14%, 27% 3%, 89% 3%, 89% 65%, 78% 65%, 78% 22%);
    opacity: .46;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 140ms, transform 175ms var(--sb-rail-ease);
  }

  .sb-rail-panel .sb-rail-panel__action[data-primary] {
    min-height: 48px;
    padding: 9px 36px 9px 13px;
    margin-bottom: 4px;
    border: 1px solid var(--sb-rail-rim);
    border-radius: 7px;
    background-color: var(--sb-rail-cta);
    background-image: linear-gradient(112deg, color-mix(in srgb, var(--sb-rail-ink) 4%, transparent), transparent 56%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .055), 0 1px 2px rgb(5 15 23 / .08);
    color: var(--sb-rail-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.018em;
  }

  .sb-rail-panel__action[data-primary]::after {
    right: 14px;
    width: 14px;
    height: 11px;
    clip-path: polygon(0 46%, 79% 46%, 47% 13%, 55% 5%, 100% 50%, 55% 95%, 47% 87%, 79% 55%, 0 55%);
    opacity: .85;
    transform: translate(0, -50%);
  }

  /* Only an owner's second section uses the two-column list. Other categories keep their natural order. */
  @container sb-rail-actions (min-width: 350px) {
    .sb-rail-panel__list:has(.sb-rail-panel__group ~ .sb-rail-panel__group) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sb-rail-panel__list > .sb-rail-panel__group ~ .sb-rail-panel__group ~ .sb-rail-panel__action {
      grid-column: auto;
      font-size: 12.75px;
    }
    /* The first two cells share a row, so neither needs a top divider. */
    .sb-rail-panel__group ~ .sb-rail-panel__group + .sb-rail-panel__action + .sb-rail-panel__action::before {
      content: none;
    }
  }

  .sb-rail-panel :is(.sb-rail-panel__action, .sb-rail-panel__close):focus-visible {
    outline: 2px solid var(--sb-rail-ink);
    outline-offset: 1px;
  }

  .sb-rail-panel__action:focus-visible::after { opacity: .95; }

  @media (hover: hover) {
    .sb-rail-panel .sb-rail-panel__close:hover,
    .sb-rail-panel .sb-rail-panel__action:not([data-primary]):hover {
      background-color: color-mix(in srgb, var(--sb-rail-ink) 5%, var(--sb-rail-paper));
    }
    .sb-rail-panel .sb-rail-panel__action[data-primary]:hover {
      background-color: color-mix(in srgb, var(--sb-rail-ink) 11%, var(--sb-rail-paper));
    }
    .sb-rail-panel__action:hover::after { opacity: .9; transform: translate(1px, calc(-50% - 1px)); }
    .sb-rail-panel__action[data-primary]:hover::after { transform: translate(2px, -50%); }
  }

  @media (any-pointer: coarse) {
    .sb-rail-panel .sb-rail-panel__action { min-height: 44px; }
    .sb-rail-panel .sb-rail-panel__action[data-primary] { min-height: 48px; }
    .sb-rail-panel .sb-rail-panel__close { width: 44px; height: 44px; flex-basis: 44px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html[data-signature-entree="closed"]
      .terminal-body:has(> .signature-entree-index > .sb-rail-panel)
      > :is(.terminal-header, #home, .signature-entree-footer, .terminal-footer),
    .signature-entree-index:has(> .sb-rail-panel),
    .signature-entree-index:has(> .sb-rail-panel)::after,
    .signature-entree-index[data-sb-rail-open] .signature-entree-topic-row::before,
    .sb-rail-panel, .sb-rail-panel::before, .sb-rail-panel::after, .sb-rail-panel__content, .sb-rail-panel__action,
    .sb-rail-panel__action::after, .signature-entree-index[data-sb-rail-open] > .sb-rail-panel::before,
    .signature-entree-index[data-sb-rail-open] > .sb-rail-panel::after,
    .signature-entree-index[data-sb-rail-open] .sb-rail-panel__content {
      transition: none !important;
      animation: none !important;
    }
  }

  @media (forced-colors: active) {
    html[data-signature-entree="closed"] .signature-entree-index:has(> .sb-rail-panel) {
      --sb-rail-paper: Canvas;
      --sb-rail-raised: Canvas;
      --sb-rail-ink: CanvasText;
      --sb-rail-dim: CanvasText;
      --sb-rail-line: GrayText;
      --sb-rail-rim: CanvasText;
      --sb-rail-cta: ButtonFace;
      --sb-rail-glint: CanvasText;
    }
    .sb-rail-panel::before, .signature-entree-index:has(> .sb-rail-panel)::after { background: Canvas; }
    .sb-rail-panel .sb-rail-panel__action[data-primary] { border: 2px solid ButtonText; }
    .sb-rail-panel__close::before, .sb-rail-panel__close::after, .sb-rail-panel__action::after { background: ButtonText; }
    .sb-rail-panel__action:not([data-primary]) + .sb-rail-panel__action::before { background: GrayText; }
    .sb-rail-panel :is(.sb-rail-panel__action, .sb-rail-panel__close):focus-visible { outline-color: Highlight; }
  }
}

/* The Signature Entrée uses its existing mobile navigation below its sidebar breakpoint. */
@media (max-width: 860px) {
  .sb-rail-panel { display: none; }
}

/* Signature Entrée touch navigation, registered in its existing shell. */
.sb-mobile-choice,
.sb-mobile-choice-layer,
.sb-mobile-choice-layer:not([open]) {
  display: none;
}

@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    position: absolute;
    z-index: 9;
    inset: 0 12px auto auto;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    box-sizing: border-box;
    min-height: 44px;
    padding: clamp(7px, 1.4vw, 11px) 8px 10px;
    appearance: none;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: var(--se-ink, var(--terminal-text));
    font: 500 13px/18px var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: .005em;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .sb-mobile-choice__icon {
    position: relative;
    width: 14px;
    height: 10px;
    margin-top: 4px;
    flex: 0 0 14px;
    color: inherit;
    opacity: .86;
    background: linear-gradient(currentColor, currentColor) 0 50% / 10px 1px no-repeat;
  }
  .sb-mobile-choice__icon::before,
  .sb-mobile-choice__icon::after {
    content: "";
    position: absolute;
    left: 0;
    height: 1px;
    background: currentColor;
  }
  .sb-mobile-choice__icon::before { top: 0; width: 14px; }
  .sb-mobile-choice__icon::after { bottom: 0; width: 7px; }
  .sb-mobile-choice:active .sb-mobile-choice__icon { opacity: .62; }
  .sb-mobile-choice:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }

}

/* A narrow embedded Terminal can be expanded to a wider host viewport. The
   dialog remains styled there, while its shoulder trigger stays mobile-only. */
@media screen {
  /* showModal() supplies native focus containment. Geometry comes from the
     intersection of the Entrée and its host viewport, also in tall iframes. */
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open] {
    --choice-paper: color-mix(in srgb, var(--se-paper, var(--terminal-bg)) 65%, var(--terminal-panel, var(--terminal-bg)));
    --choice-raised: color-mix(in srgb, var(--se-ink, var(--terminal-text)) 3%, var(--choice-paper));
    --choice-accent: var(--se-ink, var(--terminal-text));
    --choice-muted: color-mix(in srgb, var(--choice-accent) 72%, var(--choice-paper));
    --choice-line: color-mix(in srgb, var(--choice-accent) 15%, transparent);
    --choice-rim: color-mix(in srgb, var(--choice-accent) 23%, var(--choice-paper));
    --choice-action: color-mix(in srgb, var(--choice-accent) 7%, var(--choice-paper));
    --choice-motion: cubic-bezier(.18, .78, .22, 1);
    position: fixed;
    inset: var(--sb-choice-top, 0px) auto auto var(--sb-choice-left, 0px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    width: var(--sb-choice-width, 100%);
    height: var(--sb-choice-height, 100dvh);
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    container: sb-visible-mobile-entree / size;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--choice-accent);
    font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    text-align: start;
    overscroll-behavior: contain;
    isolation: isolate;
  }
  .sb-mobile-choice-layer::backdrop { background: transparent; }

  .sb-mobile-choice-backdrop {
    position: absolute;
    inset: 0;
    touch-action: pinch-zoom;
    background: rgb(6 17 22 / .26);
    opacity: 0;
    transition: opacity 175ms ease;
  }
  .sb-mobile-choice-layer[data-open] .sb-mobile-choice-backdrop { opacity: 1; }

  @media (max-width: 860px) {
    html[data-signature-entree="closed"] .terminal-body:has(> .sb-mobile-choice)
      > :is(#home, .terminal-header, .signature-entree-house, .signature-entree-footer, .sb-mobile-choice) {
      transition: filter 175ms ease;
    }
    html[data-signature-entree="closed"] .terminal-body[data-sb-mobile-choice-open]
      > :is(#home, .terminal-header, .signature-entree-house, .signature-entree-footer, .sb-mobile-choice) {
      filter: blur(3px);
    }

  }

  .sb-mobile-choice-sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(100%, 480px);
    height: min(536px, 82%);
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid var(--choice-rim);
    border-bottom: 0;
    border-radius: 19px 19px 0 0;
    background: linear-gradient(125deg, var(--choice-raised), var(--choice-paper) 65%);
    color: var(--choice-accent);
    box-shadow: 0 -12px 36px -18px rgb(4 14 19 / .48);
    transform: translateY(18px);
    opacity: 0;
    transition: transform 185ms var(--choice-motion), opacity 155ms ease;
  }
  .sb-mobile-choice-sheet::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 16px;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--choice-accent) 34%, transparent) 24%, transparent 78%);
    pointer-events: none;
  }
  .sb-mobile-choice-layer[data-open] .sb-mobile-choice-sheet {
    opacity: 1;
    transform: translateY(0);
    transition: transform 235ms var(--choice-motion), opacity 175ms ease;
  }

  .sb-mobile-choice-head {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    min-width: 0;
    min-height: 55px;
    padding: 4px 9px 4px 18px;
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(9px, env(safe-area-inset-right, 0px));
    border-bottom: 1px solid var(--choice-line);
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-title {
    min-width: 0;
    flex: 1;
    margin: 0;
    color: var(--choice-accent);
    font: 500 20px/1.18 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: -.035em;
    text-align: start;
    overflow-wrap: anywhere;
  }
  .sb-mobile-choice-sheet :is(.sb-mobile-choice-back, .sb-mobile-choice-close) {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    min-height: 44px;
    width: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--choice-muted);
    cursor: pointer;
    touch-action: manipulation;
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-back { margin-left: -10px; }
  .sb-mobile-choice-back::before {
    content: "";
    width: 8px;
    height: 8px;
    border-inline-start: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
  }
  .sb-mobile-choice-close::before,
  .sb-mobile-choice-close::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 1.25px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .sb-mobile-choice-close::after { transform: rotate(-45deg); }

  .sb-mobile-choice-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 5px 18px max(14px, env(safe-area-inset-bottom, 0px));
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--choice-rim) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 8px 27px 8px 3px;
    margin: 0;
    appearance: none;
    border: 0;
    border-radius: 5px;
    background: transparent;
    box-shadow: none;
    color: var(--choice-accent);
    font: 450 14px/1.38 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: -.01em;
    text-align: start;
    overflow-wrap: anywhere;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
  }
  .sb-mobile-choice-row:not([data-kind="primary"]) + .sb-mobile-choice-row::before {
    content: "";
    position: absolute;
    inset: 0 2px auto 3px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--choice-line) 7%, var(--choice-line) 78%, transparent);
    pointer-events: none;
  }
  .sb-mobile-choice-row::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    pointer-events: none;
    color: var(--choice-muted);
    transform: translateY(-50%);
  }
  .sb-mobile-choice-row[data-kind="category"]::after {
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }
  .sb-mobile-choice-row:is([data-kind="action"], [data-kind="resource"])::after {
    width: 9px;
    height: 9px;
    opacity: .7;
    background: currentColor;
    clip-path: polygon(13% 87%, 5% 79%, 70% 14%, 27% 14%, 27% 3%, 89% 3%, 89% 65%, 78% 65%, 78% 22%);
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-row[data-kind="primary"] {
    min-height: 48px;
    margin: 8px 0 4px;
    padding: 10px 33px 10px 13px;
    border: 1px solid var(--choice-rim);
    border-radius: 7px;
    background: var(--choice-action);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .065);
    font-size: 15px;
    font-weight: 500;
  }
  .sb-mobile-choice-row[data-kind="primary"]::after {
    right: 13px;
    width: 14px;
    height: 11px;
    background: currentColor;
    clip-path: polygon(0 46%, 79% 46%, 47% 13%, 55% 5%, 100% 50%, 55% 95%, 47% 87%, 79% 55%, 0 55%);
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-group {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 0 1px;
    color: var(--choice-muted);
    font: 500 10px/1.4 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: .085em;
    text-transform: uppercase;
  }
  .sb-mobile-choice-group::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--choice-line);
  }

  .sb-mobile-choice-layer [hidden] { display: none !important; }
  .sb-mobile-choice-sheet :is(button:focus-visible) {
    outline: 2px solid var(--choice-accent);
    outline-offset: -2px;
  }
  .sb-mobile-choice-sheet button:active {
    background-color: color-mix(in srgb, var(--choice-accent) 11%, var(--choice-paper));
  }
  @container sb-visible-mobile-entree (max-height: 460px) {
    .sb-mobile-choice-sheet { height: calc(100% - 6px); }
    .sb-mobile-choice-head { min-height: 48px; padding-block: 1px; }
  }
  /* With first-party host expansion or standalone mode, the content plane
     occupies the complete visible viewport. Scroll belongs to the action list. */
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-fullscreen] {
    background: var(--choice-paper);
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-backdrop {
    display: none;
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-sheet {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    box-sizing: border-box;
    align-items: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-sheet::before {
    display: none;
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-head,
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-scroll {
    box-sizing: border-box;
    width: min(100%, 560px);
    min-width: 0;
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-head {
    min-height: 58px;
    padding: calc(5px + env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) 5px max(20px, env(safe-area-inset-left, 0px));
  }
  .sb-mobile-choice-layer[data-fullscreen] .sb-mobile-choice-scroll {
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    scroll-padding-block: 5px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .sb-mobile-choice-sheet .sb-mobile-choice-row[data-kind="resource"] {
    min-height: 44px;
    font-size: 13px;
    color: var(--choice-muted);
  }

  @media (prefers-reduced-motion: reduce) {
    .sb-mobile-choice-layer *,
    html[data-signature-entree="closed"] .terminal-body:has(> .sb-mobile-choice)
      > :is(#home, .terminal-header, .signature-entree-house, .signature-entree-footer, .sb-mobile-choice) {
      transition: none !important;
    }
  }
  @media (forced-colors: active) {
    html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open] {
      --choice-accent: CanvasText;
      --choice-muted: CanvasText;
      --choice-action: ButtonFace;
      --choice-rim: CanvasText;
      --choice-line: GrayText;
      --choice-paper: Canvas;
    }
    .sb-mobile-choice-sheet { background: Canvas; }
    .sb-mobile-choice-backdrop { background: Canvas; opacity: 0; }
    .sb-mobile-choice-layer[data-open] .sb-mobile-choice-backdrop { opacity: .45; }
    .sb-mobile-choice-row:not([data-kind="primary"]) + .sb-mobile-choice-row::before { background: GrayText; }
    .sb-mobile-choice-row:is([data-kind="action"], [data-kind="resource"], [data-kind="primary"])::after,
    .sb-mobile-choice-close::before, .sb-mobile-choice-close::after { background: ButtonText; }
    html[data-signature-entree="closed"] .terminal-body[data-sb-mobile-choice-open] > * { filter: none; }
  }
}


/* The Signature frame cuts away on the left. Reserve a clear inked shoulder
   on the right at phone widths; edge and surface use identical geometry. */
@media (max-width: 480px) {
  html[data-signature-entree="closed"] .terminal-body[data-signature-entree="closed"]:has(> .sb-mobile-choice:not([hidden])) {
    --se-choice-notch-width: min(240px, calc(100% - 106px));
    --se-notch-top-size: var(--se-choice-notch-width) 47.52950956px;
    --se-notch-top-edge-size: var(--se-choice-notch-width) 48px;
  }
  html[data-signature-entree="closed"] .terminal-body:has(> .sb-mobile-choice:not([hidden])) .servicecenter-brand {
    width: var(--se-choice-notch-width);
  }
}
@media (min-width: 481px) and (max-width: 540px) {
  html[data-signature-entree="closed"] .terminal-body[data-signature-entree="closed"]:has(> .sb-mobile-choice:not([hidden])) {
    --frame-notch-width: min(290px, calc(100% - 208px));
  }
}

/* On Signature the desktop index and Entrée share their top, bottom and left edges.
   An equal inset on these edges keeps the two corner arcs concentric. */
@media (min-width: 861px) {
  html[data-signature-entree="closed"] .signature-entree-index:has(> .sb-rail-panel)::after {
    --sb-rail-frame-inset: 6px;
    --sb-rail-frame-inner-radius: max(0px, calc(var(--frame-radius) - var(--sb-rail-frame-inset)));
    --sb-rail-frame-offset: calc(0px - var(--sb-rail-frame-inset));
    inset: var(--sb-rail-frame-inset) -5px var(--sb-rail-frame-inset) var(--sb-rail-frame-inset);
    border-radius: var(--sb-rail-frame-inner-radius) 12px 12px var(--sb-rail-frame-inner-radius);
    /* Clip this decoration and its shadow at the original frame contour. The
       outward-facing edge is free, and the separate action panel keeps its full extent. */
    clip-path: inset(var(--sb-rail-frame-offset) -48px var(--sb-rail-frame-offset) var(--sb-rail-frame-offset)
      round var(--frame-radius) 0 0 var(--frame-radius));
    transform: none;
    transition: opacity 180ms var(--sb-rail-ease);
  }
}

.signature-entree-index > .signature-entree-index__wordmark {
  display: none;
}

@media (min-width: 861px) {
  html:root[data-signature-entree="closed"] .signature-entree-index > .signature-entree-index__wordmark {
    display: block;
    position: absolute;
    inset-block-start: 101px;
    /* The native index's content edge supplies the static inline position. */
    font: normal 400 clamp(13px, .9vw, 14.5px)/1.4 var(--sans);
    letter-spacing: .065em;
    color: color-mix(in srgb, var(--se-nav-ink) 83%, var(--se-paper));
    white-space: nowrap;
  }

  html:root[data-signature-entree="closed"] .signature-entree-index > .signature-entree-index__label {
    position: relative;
    /* This native line box is also the guide's positioning reference.
       Center the new copy in it and preserve the existing category positions. */
    min-block-size: 1lh;
  }
  html:root[data-signature-entree="closed"] .signature-entree-index__label > .signature-entree-index__question {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 50%;
    transform: translateY(-50%);
    font: normal 400 14px/22px var(--sans);
    letter-spacing: .008em;
    text-transform: none;
    white-space: nowrap;
    color: var(--se-nav-ink);
  }
  html:root[data-signature-entree="closed"] .signature-entree-index__label > .signature-entree-index__question:lang(en) {
    inline-size: 98px;
    white-space: normal;
    text-wrap: balance;
  }
}

/* The existing frame cuts out the title on the left. Its raised right
   shoulder is the mobile selection control, including the 44px hit area. */
@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-notch-paper: var(--se-paper, var(--terminal-bg));
    --sb-notch-ink: var(--se-ink, var(--terminal-text));
    --sb-notch-accent: var(--terminal-accent, var(--sb-notch-ink));
    --sb-notch-material: color-mix(in srgb, var(--sb-notch-accent) 10%, var(--sb-notch-paper));
    --sb-notch-edge: color-mix(in srgb, var(--sb-notch-ink) 19%, transparent);
    --sb-notch-radius: var(--frame-radius, 22px);
    --sb-notch-material-width: 144px;
    inset: 0 0 auto auto;
    width: max(100px, calc((100% - var(--frame-notch-width, 290px)) / 2));
    height: 44px;
    min-height: 44px;
    max-width: 100%;
    padding: 0 17px 8px 10px;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: color-mix(in srgb, var(--sb-notch-ink) 92%, var(--sb-notch-paper));
    font: 500 12.5px/16px var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: .025em;
  }

  /* The inset follows the frame at the top and right, with just one lip
     toward the content. Its curved left end meets the lifted shoulder. */
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1px 1px 8px max(0px, calc(100% - var(--sb-notch-material-width)));
    pointer-events: none;
    border-radius: 0 max(0px, calc(var(--sb-notch-radius) - 1px)) 0 29px / 0 max(0px, calc(var(--sb-notch-radius) - 1px)) 0 34px;
    background: linear-gradient(110deg,
      color-mix(in srgb, var(--sb-notch-material) 72%, var(--sb-notch-paper)),
      var(--sb-notch-material));
    box-shadow: inset 0 -1px 0 var(--sb-notch-edge);
  }

  html[data-signature-entree="closed"] .sb-mobile-choice > .sb-mobile-choice__icon {
    display: grid;
    grid-template: repeat(2, 5px) / repeat(2, 5px);
    gap: 2px;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin: 0;
    opacity: .87;
    background: none;
  }
  .sb-mobile-choice__icon::before,
  .sb-mobile-choice__icon::after { content: none; }
  .sb-mobile-choice__icon > i {
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: 1.25px;
  }
  .sb-mobile-choice__icon > i:first-child { background: currentColor; }
  .sb-mobile-choice__label { font: inherit; letter-spacing: inherit; }
  .sb-mobile-choice > :is(.sb-mobile-choice__icon, .sb-mobile-choice__label) {
    transition: transform 120ms ease-out;
    pointer-events: none;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:active {
    --sb-notch-material: color-mix(in srgb,
      color-mix(in srgb, var(--sb-notch-accent) 10%, var(--sb-notch-paper)) 90%, black);
    --sb-notch-edge: color-mix(in srgb, var(--sb-notch-ink) 23%, transparent);
  }
  .sb-mobile-choice:active > :is(.sb-mobile-choice__icon, .sb-mobile-choice__label) {
    transform: translateY(1px);
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible {
    outline: none;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible::before {
    outline: 2px solid var(--sb-focus, currentColor);
    outline-offset: -2px;
  }
}

@media (max-width: 480px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-notch-material-width: 148px;
    width: calc(100% - var(--se-choice-notch-width, 240px));
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .sb-mobile-choice > :is(.sb-mobile-choice__icon, .sb-mobile-choice__label) { transition: none; }
}
@media (max-width: 860px) and (forced-colors: active) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    color: ButtonText;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice::before {
    background: ButtonFace;
    border-bottom: 1px solid ButtonText;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible::before {
    outline-color: Highlight;
  }
}

/* Reveal the choice surface at its normal text size from the original
   shoulder button. The terminal and the host page are not transformed. */
@media screen and (prefers-reduced-motion: no-preference) {
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-fullscreen][data-notch-motion] {
    clip-path: inset(
      var(--sb-notch-face-y)
      calc(100% - var(--sb-notch-face-x) - var(--sb-notch-face-w))
      calc(100% - var(--sb-notch-face-y) - var(--sb-notch-face-h))
      var(--sb-notch-face-x) round var(--sb-notch-corners)
    );
    transition: clip-path 180ms cubic-bezier(.36, .02, .54, 1);
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-fullscreen][data-notch-motion][data-open] {
    clip-path: inset(0px 0px 0px 0px round 0px);
    transition: clip-path 210ms cubic-bezier(.2, .78, .25, 1);
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-fullscreen][data-notch-motion] .sb-mobile-choice-sheet {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* The mobile control shares the original frame surface. The dialog still
   measures the invisible pseudo-element's insets and radii for its motion. */
@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--sb-notch-ink);
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .02em;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice::before {
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible::before {
    outline: none;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible > .sb-mobile-choice__label {
    outline: 2px solid var(--sb-focus, currentColor);
    outline-offset: 3px;
    border-radius: 2px;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice > .sb-mobile-choice__icon {
    color: color-mix(in srgb, var(--sb-notch-accent) 68%, var(--sb-notch-ink));
    opacity: 1;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:active >
    :is(.sb-mobile-choice__icon, .sb-mobile-choice__label) {
    opacity: .84;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .sb-mobile-choice:active > :is(.sb-mobile-choice__icon, .sb-mobile-choice__label) {
    transform: none;
  }
}
@media (max-width: 860px) and (forced-colors: active) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]),
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice > .sb-mobile-choice__icon {
    color: ButtonText;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible > .sb-mobile-choice__label {
    outline-color: Highlight;
  }
}

/* The documented host can move the iframe while the real menu already
   obscures its contents. A light change in material originates at the same
   notch; text stays readable throughout the presentation and return. */
@media screen {
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-sb-notch-stable] {
    clip-path: none !important;
    transition: none !important;
    background: var(--choice-paper);
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-sb-notch-stage] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 2147483647;
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-sb-notch-stable] .sb-mobile-choice-sheet {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  @keyframes sb-notch-arrival-light {
    0%, 100% { opacity: 0; }
    32% { opacity: 1; }
  }
  @keyframes sb-notch-return-light {
    0%, 100% { opacity: 0; }
    46% { opacity: 1; }
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-sb-notch-stable][data-notch-motion]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(150deg, color-mix(in srgb, var(--choice-accent) 5%, transparent), transparent 70%);
    opacity: 0;
    clip-path: inset(var(--sb-notch-face-y)
      calc(100% - var(--sb-notch-face-x) - var(--sb-notch-face-w))
      calc(100% - var(--sb-notch-face-y) - var(--sb-notch-face-h)) var(--sb-notch-face-x)
      round var(--sb-notch-corners));
    transition: clip-path 180ms cubic-bezier(.36,.02,.54,1);
    animation: sb-notch-return-light 180ms ease-out both;
  }
  html[data-signature-entree="closed"] dialog.sb-mobile-choice-layer[open][data-sb-notch-stable][data-notch-motion][data-open]::after {
    clip-path: inset(0px 0px 0px 0px round 0px);
    transition: clip-path 210ms cubic-bezier(.2,.78,.25,1);
    animation: sb-notch-arrival-light 210ms ease-out both;
  }
}

@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    font-size: 16px;
    line-height: 20px;
    gap: 8px;
    padding-inline: 2px 12px;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice > .sb-mobile-choice__icon {
    grid-template: repeat(2, 7px) / repeat(2, 7px);
    gap: 3px;
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }
}

html[data-signature-entree="closed"] .signature-entree-media > .signature-showcase {
  padding-block-start: 8px;
}

.signature-showcase .signature-showcase__header {
  margin-block-end: 4px;
}

/* Keep the section heading available to screen readers. */
.signature-showcase .signature-showcase__intro {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.signature-showcase .signature-showcase__actions {
  width: 100%;
  justify-content: space-between;
}

.signature-showcase .signature-showcase__all span {
  overflow-wrap: anywhere;
}

/* The cap and masked Signature frame share one piece of paper behind the upper cutout. */
html[data-signature-entree="closed"] .page-wrap > .signature-entree-header-card {
  --signature-card-paper: var(--cap-paper, Canvas);
  --signature-card-ink: rgb(var(--cap-ink, 28, 34, 46));
  --signature-card-gutter: clamp(27px, 3.65vw, 64px);
  --signature-card-center: clamp(176px, 17vw, 282px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--signature-card-center) minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: clamp(67px, 5vw, 79px);
  margin: 0;
  padding: 12px var(--signature-card-gutter);
  color: var(--signature-card-ink);
}

/* Use the native .terminal-cap's tenant paint, grain, shimmer, border and palette.
   This rule supplies geometry only. The same surface continues behind the real notch. */
html[data-signature-entree="closed"] .signature-entree-header-card > .signature-entree-header-material {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0 0 calc(-1 * max(53px, var(--frame-radius, 76px)));
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  border-radius: var(--frame-radius, 76px) var(--frame-radius, 76px) 0 0;
  pointer-events: none;
}

html[data-signature-entree="closed"] .signature-entree-header-card > .cap-intro {
  position: relative;
  z-index: 2;
  grid-column: 1;
  display: grid;
  grid-template-columns: max-content 1px minmax(0, 1fr);
  grid-template-areas: none;
  gap: clamp(11px, 1.25vw, 23px);
  align-items: center;
  min-width: 0;
  color: var(--signature-card-ink);
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-block {
  display: block;
  min-width: 0;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-lead {
  grid-area: auto;
  margin: 0;
  color: inherit;
  font: 600 clamp(16px, 1.22vw, 21px)/1.19 var(--sans, sans-serif);
  letter-spacing: -.018em;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms {
  grid-area: auto;
  position: static;
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--signature-card-ink) 82%, var(--signature-card-paper));
  font: 500 clamp(8px, .62vw, 10px)/1.3 var(--cap-mono, monospace);
  letter-spacing: .11em;
  text-align: start;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms span {
  display: inline;
  height: auto;
  margin: 0;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms span + span::before {
  content: "·";
  margin: 0 .48em;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms::before,
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms::after,
html[data-signature-entree="closed"] .signature-entree-header-card .cap-terms span::after {
  content: none;
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-divider {
  display: block;
  align-self: stretch;
  width: 1px;
  min-height: 26px;
  margin: 2px 0;
  background: linear-gradient(transparent, rgba(var(--cap-ink), .24) 20%, rgba(var(--cap-ink), .24) 80%, transparent);
}
html[data-signature-entree="closed"] .signature-entree-header-card .cap-description {
  grid-area: auto;
  align-self: center;
  margin: 0;
  color: color-mix(in srgb, var(--signature-card-ink) 87%, var(--signature-card-paper));
  font: 400 clamp(11.5px, .8vw, 13px)/1.38 var(--sans, sans-serif);
  overflow-wrap: break-word;
}

html[data-signature-entree="closed"] .signature-entree-header-card > .signature-entree-header-card__brand {
  display: block;
  position: absolute;
  z-index: 8;
  top: 100%;
  right: auto;
  left: 50%;
  width: var(--frame-notch-width, 330px);
  height: var(--frame-notch-height, 34px);
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
html[data-signature-entree="closed"] .signature-entree-header-card__brand > .cap-villa {
  position: absolute;
  display: block;
  top: auto;
  bottom: calc(100% + 2px);
  left: 50%;
  width: clamp(134px, 11.7vw, 178px);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  opacity: .84;
  filter: none;
}
html[data-signature-entree="closed"] .signature-entree-header-card__brand > span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--signature-card-ink);
  font: 500 clamp(10px, .8vw, 12px)/1.4 var(--cap-mono, monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen.sb-entree-membership {
  z-index: 2;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  width: auto;
  min-height: 46px;
  max-width: 100%;
  margin: 0;
  padding: 7px clamp(12px, .95vw, 15px);
  gap: clamp(6px, .75vw, 14px);
  color: var(--signature-card-ink);
}
html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen .sb-entree-membership__mark > strong {
  font-size: clamp(18px, 1.35vw, 22px);
}
html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen .sb-entree-membership__mark > span {
  max-width: 8.5ch;
  font-size: clamp(10px, .76vw, 11px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .105em;
  opacity: .86;
}
html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen.sb-entree-membership:hover {
  background: color-mix(in srgb, var(--signature-card-ink) 5%, transparent);
  border-color: color-mix(in srgb, var(--signature-card-ink) 16%, transparent);
}
html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen.sb-entree-membership:focus-visible {
  outline: 2px solid var(--signature-card-ink);
  outline-offset: 2px;
}

/* Align the first topic with the masthead after moving the house out of the rail. */
@media (min-width: 861px) {
  html[data-signature-entree="closed"] .signature-entree-header-card + .terminal-body > .signature-entree-index {
    padding-block-start: 55px;
  }
}

/* Reserve the house's center track even when the translated prompt is longer. */
@media (max-width: 1099px) {
  html[data-signature-entree="closed"] .signature-entree-header-card > .cap-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  html[data-signature-entree="closed"] .signature-entree-header-card :is(.cap-divider, .cap-description) {
    display: none;
  }
}

@media (max-width: 860px) {
  html[data-signature-entree="closed"] .page-wrap > .signature-entree-header-card {
    display: block;
    min-height: clamp(61px, 9vw, 70px);
    padding: 0;
  }
  html[data-signature-entree="closed"] .signature-entree-header-card > .cap-intro {
    display: none;
  }
  html[data-signature-entree="closed"] .signature-entree-header-card__brand > .cap-villa {
    width: clamp(151px, 24vw, 177px);
    bottom: calc(100% + 1px);
  }
  html[data-signature-entree="closed"] .signature-entree-header-card__brand > span {
    top: 8px;
    font-size: 9.5px;
    letter-spacing: .125em;
  }
}

/* The original phone cutout starts at the left. Anchor house and caption to it
   while the existing selection control remains on the opposite shoulder. */
@media (max-width: 480px) {
  html[data-signature-entree="closed"] .page-wrap > .signature-entree-header-card {
    --signature-phone-notch: min(240px, calc(100% - 106px));
    min-height: clamp(59px, 16vw, 68px);
  }
  html[data-signature-entree="closed"] .signature-entree-header-card > .signature-entree-header-card__brand {
    left: 0;
    width: var(--signature-phone-notch);
    transform: none;
  }
  html[data-signature-entree="closed"] .signature-entree-header-card__brand > :is(.cap-villa, span) {
    transform: translateX(calc(-50% - 9.64px));
  }
  html[data-signature-entree="closed"] .signature-entree-header-card__brand > .cap-villa {
    width: min(85%, clamp(145px, 41vw, 167px));
  }
  html[data-signature-entree="closed"] .signature-entree-header-card__brand > span {
    top: 7px;
    font-size: clamp(8px, 2.2vw, 9.2px);
    letter-spacing: .13em;
  }
}

@media (forced-colors: active) {
  html[data-signature-entree="closed"] .signature-entree-header-card {
    --signature-card-ink: CanvasText;
    --signature-card-paper: Canvas;
  }
  html[data-signature-entree="closed"] .signature-entree-header-card > .signature-entree-header-material {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }
  html[data-signature-entree="closed"] .signature-entree-header-material::before {
    opacity: 0;
  }
}

/* Signature's index shares the large left arcs of the outer frame. Its
   ::before remains the horizontal rule above the topics. */
@media screen and (min-width: 861px) and (forced-colors: none) {
  html:root[data-signature-entree="closed"] .terminal-body > .signature-entree-index {
    --sb-index-face: color-mix(in srgb, var(--se-paper) 96.5%, var(--se-ink));
    --sb-index-light: rgb(255 255 255 / .40);
    --sb-index-edge: color-mix(in srgb, var(--se-ink) 11%, var(--sb-index-face));
    --sb-index-shade: color-mix(in srgb, var(--se-ink) 80%, #201e1b);
    --sb-index-contact: color-mix(in srgb, var(--sb-index-shade) 13%, transparent);
    --sb-index-soft: color-mix(in srgb, var(--sb-index-shade) 5%, transparent);
    --sb-index-wing: color-mix(in srgb, var(--sb-index-shade) 16%, transparent);
    border-right-color: transparent;
  }

  html:root[data-signature-entree="closed"]:is(
    [data-sb-entree-active][data-sb-entree-theme="dark"],
    [data-theme="dark"]:not([data-sb-entree-active])
  ) .terminal-body > .signature-entree-index {
    --sb-index-face: color-mix(in srgb, var(--se-paper) 97.5%, var(--se-ink));
    --sb-index-light: rgb(255 255 255 / .032);
    --sb-index-edge: color-mix(in srgb, var(--se-ink) 9%, var(--sb-index-face));
    --sb-index-shade: color-mix(in srgb, var(--se-paper) 18%, black);
    --sb-index-contact: color-mix(in srgb, var(--sb-index-shade) 40%, transparent);
    --sb-index-soft: color-mix(in srgb, var(--sb-index-shade) 16%, transparent);
    --sb-index-wing: color-mix(in srgb, var(--sb-index-shade) 45%, transparent);
  }

  html:root[data-signature-entree="closed"] .terminal-body > .signature-entree-index::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -17px 0 0;
    box-sizing: border-box;
    border: 0;
    border-radius: var(--frame-radius) 0 0 var(--frame-radius);
    /* Leave the shell's one-pixel stroke visible around the rail. Clip only
       its paint, including the shadow, and follow the inside of both arcs. */
    clip-path: inset(1px 0 1px 1px round max(0px, calc(var(--frame-radius) - 1px)) 0 0 max(0px, calc(var(--frame-radius) - 1px)));
    /* The first 16px beyond the column are the cast shadow. The opaque face
       ends precisely at the frame's divider and the flyout covers the join. */
    background:
      linear-gradient(90deg, transparent calc(100% - 17px), var(--sb-index-edge) calc(100% - 17px) calc(100% - 16px), var(--sb-index-contact) calc(100% - 16px), var(--sb-index-soft) calc(100% - 12px), transparent),
      radial-gradient(ellipse 90% 175px at 0 0, var(--sb-index-light), transparent) left / calc(100% - 16px) 100% no-repeat,
      linear-gradient(var(--sb-index-face), var(--sb-index-face)) left / calc(100% - 16px) 100% no-repeat;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: none;
  }

  html:root[data-signature-entree="closed"] .signature-entree-index > .sb-rail-panel::before {
    border-color: var(--sb-index-edge);
    background: linear-gradient(105deg, var(--sb-index-face) 24%, color-mix(in srgb, var(--sb-index-face) 97%, var(--se-ink)));
    box-shadow: 3px 4px 8px -5px var(--sb-index-contact), 10px 13px 25px -12px var(--sb-index-wing);
  }
}

/* The Entrée normally shows only its hero child inside #home. Keep the native
   background between the surface and the interactive content in the same host. */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html:root[data-signature-entree="closed"]:is(
    [data-sb-entree-active][data-sb-entree-theme="dark"],
    :not([data-sb-entree-active])[data-theme="dark"]
  ) .terminal-body.terminal-lamellae-active > #home.terminal-lamellae-host > .terminal-lamellae {
    display: block !important;
    inset-inline: 0;
    --lamella-bg: var(--se-paper, var(--terminal-bg));
  }
}

.signature-entree-index [data-owner-valuation-shortcut] .signature-entree-offers__pill,
.sb-mobile-choice-sheet [data-owner-valuation-shortcut] .signature-entree-offers__pill {
  border-color: color-mix(in srgb, currentColor 32%, transparent);
  background: color-mix(in srgb, currentColor 6%, transparent);
  font-weight: 600;
}
.sb-mobile-choice-sheet .sb-mobile-choice-row[data-owner-valuation-shortcut] {
  padding: 0 0 2px 7px;
  min-height: 44px;
  color: var(--choice-accent);
}
.sb-mobile-choice-sheet [data-owner-valuation-shortcut] .signature-entree-action__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sb-mobile-choice-sheet [data-owner-valuation-shortcut] .signature-entree-offers__arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  opacity: .7;
}
.sb-mobile-choice-sheet [data-owner-valuation-shortcut] .signature-entree-offers__pill {
  display: inline-block;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  padding: 5px 10px;
  line-height: 1.25;
}

/* A single mobile choice with independent category and valuation buttons. */
.sb-mobile-choice-sheet .sb-mobile-choice-owner-row {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) fit-content(57%);
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--choice-line);
}
.sb-mobile-choice-owner-row > .sb-mobile-choice-row[data-category="owner"] {
  min-width: 44px;
  gap: 8px;
  padding-inline-end: 0;
}
.sb-mobile-choice-owner-row > .sb-mobile-choice-row[data-category="owner"]::after {
  position: static;
  flex: none;
  transform: rotate(45deg);
}
.sb-mobile-choice-sheet .sb-mobile-choice-owner-row > [data-owner-valuation-shortcut] {
  justify-content: flex-end;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  text-align: center;
}
.sb-mobile-choice-owner-row > [data-owner-valuation-shortcut].sb-mobile-choice-row::before {
  content: none;
}
.sb-mobile-choice-owner-row > [data-owner-valuation-shortcut] .signature-entree-offers__arrow {
  display: none;
}
.sb-mobile-choice-owner-row > [data-owner-valuation-shortcut] .signature-entree-offers__pill {
  white-space: normal;
}

/* Center the visible group on the shoulder; the hit area continues below it. */
@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-shelf-height: 30px;
    height: max(44px, var(--sb-choice-shelf-height));
    padding: 0 3px max(0px, calc(44px - var(--sb-choice-shelf-height)));
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  .sb-mobile-choice > .sb-mobile-choice__label {
    position: relative;
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: start;
  }
  .sb-mobile-choice__text {
    display: block;
    width: max-content;
  }
  .sb-mobile-choice__short { display: none; }
}
@media (max-width: 480px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-shelf-height: 26px;
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .sb-mobile-choice[data-choice-overflow] .sb-mobile-choice__text {
    animation: sb-choice-label-pan var(--sb-choice-pan-time, 3.2s) ease-in-out infinite alternate;
  }
  @keyframes sb-choice-label-pan {
    0%, 20% { transform: translateX(0); }
    80%, 100% { transform: translateX(var(--sb-choice-label-travel)); }
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .sb-mobile-choice__icon > i {
    animation: sb-choice-tile 3.2s steps(1, end) infinite;
  }
  .sb-mobile-choice__icon > i:nth-child(2) { animation-delay: -2.4s; }
  .sb-mobile-choice__icon > i:nth-child(3) { animation-delay: -.8s; }
  .sb-mobile-choice__icon > i:nth-child(4) { animation-delay: -1.6s; }
  @keyframes sb-choice-tile {
    0% { background-color: currentColor; }
    25%, 100% { background-color: transparent; }
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .sb-mobile-choice[data-choice-overflow] .sb-mobile-choice__text {
    position: absolute;
    visibility: hidden;
  }
  .sb-mobile-choice[data-choice-overflow] .sb-mobile-choice__short { display: block; }
}
@media (max-width: 860px) and (forced-colors: active) {
  .sb-mobile-choice__icon > i {
    forced-color-adjust: none;
    color: ButtonText;
  }
}

/* At shelf mid-height the outer notch Bézier is at x=303/330.
   The 20px outer radius takes another .65px (1.25px on phones). */
@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-curve-start: calc(50% + var(--frame-notch-width, 290px) * .418182);
    --sb-choice-corner-inset: .65px;
    right: var(--sb-choice-corner-inset);
    width: calc(100% - var(--sb-choice-curve-start) - var(--sb-choice-corner-inset));
    padding-inline: 9px;
  }
  .sb-mobile-choice > .sb-mobile-choice__label {
    font-size: .75rem;
    line-height: 1.25;
    letter-spacing: .02em;
  }
}
@media (max-width: 480px) {
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-curve-start: calc(var(--se-choice-notch-width, 240px) * .918182);
    --sb-choice-corner-inset: 1.25px;
  }
}

@media (max-width: 860px) {
  html[data-signature-entree="closed"] .terminal-body > .terminal-header {
    min-height: 120px;
    padding-top: max(56px, calc(var(--frame-notch-height, 30px) + 26px));
  }
  html[data-signature-entree="closed"] .terminal-header > .signature-entree-masthead {
    align-self: flex-start;
  }
}

/* The IVD button uses the ink of the surface it actually occupies. */
@media (forced-colors: none) {
  html:root[data-signature-entree="closed"] .terminal-header > #ivdOpen.sb-entree-membership {
    background-color: color-mix(in srgb, var(--terminal-text) 4%, transparent);
    border-color: color-mix(in srgb, var(--terminal-text) 10%, transparent);
  }
  html:root[data-signature-entree="closed"] .signature-entree-header-card > #ivdOpen.sb-entree-membership {
    background-color: color-mix(in srgb, var(--signature-card-ink) 5%, transparent);
    border-color: color-mix(in srgb, var(--signature-card-ink) 16%, transparent);
  }
}

@media (max-width: 860px) {
  html[data-signature-entree="closed"] .page-wrap:has(> .terminal-body > .sb-mobile-choice:not([hidden])) {
    --sb-choice-cut-width: min(274px, calc(100% - 224px));
  }
  html[data-signature-entree="closed"] .terminal-body[data-signature-entree="closed"]:has(> .sb-mobile-choice:not([hidden])) {
    --se-notch-top-size: var(--sb-choice-cut-width) calc(var(--frame-notch-height) * 1.0588235294);
    --se-notch-top-edge-size: var(--sb-choice-cut-width) calc(var(--frame-notch-height) + 2px);
  }
  html[data-signature-entree="closed"] .page-wrap:has(> .terminal-body > .sb-mobile-choice:not([hidden])) .signature-entree-header-card > .signature-entree-header-card__brand {
    width: var(--sb-choice-cut-width);
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-curve-start: calc(50% + var(--sb-choice-cut-width) * .418182);
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice > .sb-mobile-choice__icon {
    grid-template: repeat(2, 6px) / repeat(2, 6px);
    gap: 3px;
    flex-basis: 15px;
    width: 15px;
    height: 15px;
  }
  .sb-mobile-choice > .sb-mobile-choice__arrow {
    display: block;
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  html[data-signature-entree="closed"] .page-wrap:has(> .terminal-body > .sb-mobile-choice:not([hidden])) {
    --sb-choice-cut-width: clamp(156px, calc(100% - 122px), 224px);
  }
  html[data-signature-entree="closed"] .terminal-body[data-signature-entree="closed"]:has(> .sb-mobile-choice:not([hidden])) {
    --se-choice-notch-width: var(--sb-choice-cut-width);
    --se-notch-top-size: var(--sb-choice-cut-width) 47.52950956px;
    --se-notch-top-edge-size: var(--sb-choice-cut-width) 48px;
  }
  html[data-signature-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    --sb-choice-curve-start: calc(var(--sb-choice-cut-width) * .918182);
  }
  /* The phone notch starts at the frame edge and curves inward on the right. */
  html[data-signature-entree="closed"] .page-wrap:has(> .terminal-body > .sb-mobile-choice:not([hidden])) .signature-entree-header-card__brand > :is(.cap-villa, span) {
    left: 45.9091%;
    transform: translateX(-50%);
  }
}

.sb-mobile-choice-sheet .sb-mobile-choice-category-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}
.sb-mobile-choice-sheet .sb-mobile-choice-category-hint {
  flex: 0 1 auto;
  max-width: 55%;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background-color: color-mix(in srgb, currentColor 7%, transparent);
  color: var(--choice-accent);
  font: inherit;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

/* One hinge holds the three leaves. Artwork moves inside a fixed icon box. */
@media (max-width: 860px) {
  html:is([data-signature-entree="closed"],[data-business-entree="closed"]) .terminal-body > .sb-mobile-choice > .sb-mobile-choice__icon.sb-choice-fan {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    background: none;
    pointer-events: none;
  }
  .sb-choice-fan > svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .sb-choice-fan__left, .sb-choice-fan__right {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    transform-box: view-box;
    transform-origin: 10px 15px;
    transform: rotate(var(--fan-rest));
  }
  .sb-choice-fan__left { --fan-rest: -31deg; --fan-fold: -8deg; --fan-open: -41deg; opacity: .84; }
  .sb-choice-fan__right { --fan-rest: 31deg; --fan-fold: 7deg; --fan-open: 41deg; }
  .sb-choice-fan__front { fill: currentColor; }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  @keyframes sb-choice-fan-turn {
    0%, 100% { transform: rotate(var(--fan-fold)); }
    21%, 28% { transform: rotate(var(--fan-open)); }
    40%, 68% { transform: rotate(var(--fan-rest)); }
    91% { transform: rotate(var(--fan-fold)); }
  }
  .sb-choice-fan[data-fan-folded] > svg > :is(.sb-choice-fan__left,.sb-choice-fan__right) {
    transform: rotate(var(--fan-fold));
  }
  .sb-mobile-choice:not(:active):not([aria-expanded="true"]) .sb-choice-fan:not([data-fan-folded]) > svg > :is(.sb-choice-fan__left,.sb-choice-fan__right) {
    animation: sb-choice-fan-turn 3.2s cubic-bezier(.38,.03,.24,1) infinite backwards;
  }
  .sb-mobile-choice:not(:active):not([aria-expanded="true"]) .sb-choice-fan:not([data-fan-folded]) > svg > .sb-choice-fan__right {
    animation-delay: 90ms;
  }
  .sb-mobile-choice:is(:active,[aria-expanded="true"]) .sb-choice-fan > svg > :is(.sb-choice-fan__left,.sb-choice-fan__right) {
    transform: rotate(var(--fan-open));
  }
}

/* Follow the card motion with one narrow band of light across the lettering. */
@media (max-width: 860px) and (forced-colors: none) {
  .sb-mobile-choice .sb-choice-letter { opacity: .86; }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .sb-mobile-choice .sb-choice-letter { opacity: .74; }
  .sb-mobile-choice:not(:active):not([aria-expanded="true"]) > .sb-choice-fan:not([data-fan-folded]) ~ .sb-mobile-choice__label .sb-choice-letter {
    animation: sb-choice-letter-light 3.2s ease-in-out var(--sb-letter-delay) infinite;
  }
  @keyframes sb-choice-letter-light {
    0%, 16%, 100% { opacity: .74; text-shadow: none; }
    6%, 8% {
      opacity: 1;
      text-shadow: 0 0 .6px currentColor, 0 0 2px color-mix(in srgb, currentColor 68%, transparent), 0 0 4px color-mix(in srgb, currentColor 36%, transparent);
    }
  }
}

.signature-header-hours__heading { display: none; }
.signature-header-hours { display: none; position: relative; }
.signature-header-hours[data-fits] { display: block; }
.signature-header-hours__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb,var(--se-ink) 18%,var(--se-paper));
  border-radius: 8px;
  background: color-mix(in srgb,var(--se-ink) 8%,var(--se-paper));
  color: var(--se-ink);
  font: 500 12px/1.35 var(--sans,sans-serif);
  white-space: nowrap;
  cursor: pointer;
}
.signature-header-hours__trigger:is(:hover,[aria-expanded="true"]) {
  background: color-mix(in srgb,var(--se-ink) 13%,var(--se-paper));
}
.signature-header-hours__trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.signature-header-hours__trigger .entree-availability__icon { width: 14px; height: 14px; flex-basis: 14px; margin: 0; }
.signature-header-hours__chevron {
  width: 6px; height: 6px; margin: -3px 1px 0 3px;
  border: solid currentColor; border-width: 0 1.3px 1.3px 0;
  transform: rotate(45deg);
}
.signature-header-hours__trigger[aria-expanded="true"] .signature-header-hours__chevron { transform: rotate(225deg); margin-top: 3px; }
.signature-header-hours > .entree-availability {
  top: calc(100% + 7px); left: auto; right: 0;
  width: 264px; max-width: none; max-height: min(400px,70vh);
  padding: 14px 16px; border-radius: 10px;
  background: var(--terminal-panel,var(--se-paper));
  box-shadow: 0 8px 24px rgb(0 0 0 / .14);
}
.signature-header-hours > .entree-availability:not([hidden]) { display: flex; flex-direction: column; }
.signature-header-hours > .entree-availability[hidden],
.signature-header-hours .entree-availability__hours,
.signature-header-hours .entree-availability__heading:has(~ .entree-availability__week),
.signature-header-hours .entree-availability__actions:not(:has(.entree-availability__action)) { display: none; }
.signature-header-hours .signature-header-hours__heading { display: block; font-size: 14px; }
.signature-header-hours .entree-availability__week { margin: 9px 0 0; padding-top: 9px; }
.signature-header-hours .entree-availability__actions { order: 1; margin-top: 10px; padding-top: 7px; }

.signature-header-hours__trigger {
  min-height: 44px;
  text-align: start;
}
.signature-header-hours__copy {
  display: grid;
  gap: 2px;
}
.signature-header-hours__detail {
  color: color-mix(in srgb,var(--se-ink) 78%,var(--se-paper));
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}
.signature-header-hours__detail[hidden] { display: none; }
@media (forced-colors: active) {
  .signature-header-hours__detail { color: ButtonText; }
}

@media (min-width: 1024px) {
  html[data-signature-entree="closed"] .terminal-header .header-tools {
    display: grid;
    grid-template-columns: auto 44px;
    grid-template-rows: repeat(2,32px);
    gap: 0 10px;
    align-items: center;
    justify-items: center;
    overflow: visible;
  }
  html[data-signature-entree="closed"] .terminal-header .header-tools:has(> .signature-header-hours[data-fits]) {
    grid-template-columns: auto auto 44px;
  }
  html:root[data-signature-entree="closed"] .terminal-header .header-tools > #sbEntreeHeaderTeam {
    grid-area: 1 / 1 / span 2;
    margin: 0;
  }
  html[data-signature-entree="closed"] .header-tools > .signature-header-hours {
    grid-area: 1 / 2 / span 2;
  }
  html[data-signature-entree="closed"] .header-tools > .terminal-language-slot {
    grid-column: -2; grid-row: 1;
  }
  html[data-signature-entree="closed"] .header-tools > #appearanceOpen {
    grid-column: -2; grid-row: 2;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools > #sbSignatureHours[data-fits] {
    display: block !important;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(.terminal-language-slot,.sb-language-button,#appearanceOpen) {
    box-sizing: border-box;
    width: 44px; height: 32px !important; min-height: 32px !important; margin: 0; padding-block: 0;
  }
}

@media (min-width: 1024px) {
  .signature-header-hours__trigger {
    display: inline-grid;
    grid-template-columns: 16px auto auto;
    column-gap: 7px;
    row-gap: 2px;
  }
  .signature-header-hours__copy { display: contents; }
  .signature-header-hours__copy > :first-child {
    grid-area: 1 / 2;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
  }
  .signature-header-hours__trigger > .entree-availability__icon {
    grid-area: 1 / 1;
    width: 16px;
    height: 16px;
    align-self: center;
  }
  .signature-header-hours__detail { grid-area: 2 / 2; }
  .signature-header-hours__chevron { grid-area: 1 / 3 / span 2; }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools {
    row-gap: 2px;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(#appearanceOpen,.sb-language-button) {
    background: color-mix(in srgb,var(--se-ink) 8%,var(--se-paper));
    border-color: color-mix(in srgb,var(--se-ink) 18%,var(--se-paper)) !important;
    border-radius: 7px;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(#appearanceOpen,.sb-language-button):is(:hover,:focus-visible,[aria-expanded="true"]) {
    background: color-mix(in srgb,var(--se-ink) 14%,var(--se-paper));
  }
}

/* Both utility faces together share the availability card's 56px silhouette. */
@media (min-width: 1024px) {
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools {
    --sig-utility-width: 40px;
    --sig-utility-height: 26px;
    --sig-utility-gap: 4px;
    grid-template-columns: auto var(--sig-utility-width);
    grid-template-rows: repeat(2,var(--sig-utility-height));
    row-gap: var(--sig-utility-gap);
    column-gap: clamp(10px, calc(3.75vw - 38px), 16px);
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools:has(> .signature-header-hours[data-fits]) {
    grid-template-columns: auto auto var(--sig-utility-width);
  }
  .signature-header-hours__trigger {
    display: grid;
    min-height: calc(2 * var(--sig-utility-height) + var(--sig-utility-gap));
    align-content: center;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(#terminalLanguage,.sb-language-button,#appearanceOpen) {
    width: var(--sig-utility-width) !important;
    height: var(--sig-utility-height) !important;
    min-height: var(--sig-utility-height) !important;
    min-width: var(--sig-utility-width) !important;
    flex-basis: var(--sig-utility-width);
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(.sb-language-button,#appearanceOpen) {
    padding: 0 3px;
    gap: 3px;
    border-radius: 6px;
  }
  
  html[data-signature-entree="closed"] .terminal-header #terminalLanguage .sb-language-button > span:not(.sb-language-flag) {
    font-size: 11px;
    line-height: 1;
  }
  html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools #appearanceOpen > svg {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (min-width: 1024px) {
  .signature-header-hours__trigger { grid-template-columns: 20px auto auto; }
  .signature-header-hours__trigger > .signature-hours-clock { width: 20px; height: 20px; }
  .signature-hours-clock {
    --clock-accent: color-mix(in srgb,var(--terminal-accent,currentColor) 55%,currentColor);
    overflow: visible;
    stroke-linecap: round;
  }
  .signature-hours-clock__rim {
    fill: color-mix(in srgb,currentColor 5%,transparent);
    stroke: currentColor;
    stroke-width: 1.05;
  }
  .signature-hours-clock .signature-hours-clock__second {
    stroke: var(--clock-accent);
    transform-box: view-box;
    transform-origin: 50% 50%;
  }
  .signature-hours-clock__pin { fill: var(--clock-accent); stroke: none; }
}

@media all {
 html[data-signature-entree="closed"] .hero .signature-entree-media__picture > .signature-entree-visual-selector--market-toggle {
  position:absolute!important; inset:auto 0 0!important; display:block; box-sizing:border-box;
  width:100%!important; max-width:none; margin:0!important; padding:0; transform:none!important;
  border:0; border-radius:24px 24px 0 0; background:transparent; box-shadow:none; pointer-events:auto; z-index:5;
 }
 html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {
  position:relative; display:flex; align-items:center; justify-content:flex-start; gap:10px; box-sizing:border-box;
  width:100%; min-height:52px; margin:0; padding:10px 28px; border:0; border-radius:24px 24px 0 0;
  color:var(--se-ink); background:var(--se-paper); text-align:start; cursor:pointer;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--se-ink) 25%,transparent);
 }
 @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {
   background:color-mix(in srgb,var(--se-paper) 76%,transparent); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  }
 }
 html[data-signature-entree="closed"] .signature-entree-media__picture button[data-signature-entree-visual-choice="market-toggle"]::after {
  content:""; margin-inline-start:auto; width:16px; height:16px; flex:none; background:currentColor;
  clip-path:polygon(0 46%,80% 46%,51% 17%,58% 10%,100% 50%,58% 90%,51% 83%,80% 54%,0 54%);
 }
 html[data-signature-entree="closed"] .signature-entree-media__picture button[data-signature-entree-visual-choice="market-toggle"]:focus-visible {
  outline:2px solid currentColor; outline-offset:-4px;
 }
}
@media (prefers-reduced-motion:no-preference) {
 .signature-entree-media__picture > .signature-market-arrival > button {animation:signature-market-arrival 260ms cubic-bezier(.22,.68,.24,1) both}
 .signature-entree-media__picture button[data-signature-entree-visual-choice="market-toggle"]::after {transition:transform 170ms ease-out}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .signature-entree-media__picture button[data-signature-entree-visual-choice="market-toggle"]:hover::after {transform:translateX(3px)}
}
@keyframes signature-market-arrival {from{translate:0 8px}to{translate:0 0}}

@media all {
  html[data-signature-entree="closed"] .hero .signature-entree-media__picture > .signature-entree-visual-selector--market-toggle {
    overflow:hidden;
    background:transparent;
    -webkit-backdrop-filter:blur(2.4px) saturate(1.12);
    backdrop-filter:blur(2.4px) saturate(1.12);
    box-shadow:0 -1px 4px rgb(0 0 0 / .12);
  }
  html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {
    --market-glass-shade:var(--se-paper);
    padding-inline-end:clamp(36px,3.1vw,54px);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    background:
      radial-gradient(ellipse 56px 32px at calc(100% - clamp(36px,3.1vw,54px) - 8px) 50%,color-mix(in srgb,var(--market-glass-shade) 38%,transparent) 0%,color-mix(in srgb,var(--market-glass-shade) 29%,transparent) 32%,transparent 100%),
      linear-gradient(175deg,rgb(255 255 255 / .15),transparent 24%),
      linear-gradient(112deg,transparent 45%,rgb(255 255 255 / .07) 53%,transparent 63%),
      linear-gradient(90deg,color-mix(in srgb,var(--market-glass-shade) 70%,transparent) 0,
        color-mix(in srgb,var(--market-glass-shade) 62%,transparent) 225px,
        color-mix(in srgb,var(--market-glass-shade) 15%,transparent) max(55%,325px),
        color-mix(in srgb,var(--market-glass-shade) 10%,transparent) 82%,
        color-mix(in srgb,var(--market-glass-shade) 53%,transparent) 100%);
    box-shadow:inset 0 1px 0 rgb(255 255 255 / .55);
  }
  @media (forced-colors:active) {
    html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {
      background:ButtonFace; color:ButtonText; border:1px solid ButtonText;
    }
  }
}

@media (max-width:1023px) {
 html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {
   padding:6px 16px; gap:8px; min-height:44px;
   background:
     radial-gradient(ellipse 38px 28px at calc(100% - 24px) 50%,color-mix(in srgb,var(--se-paper) 38%,transparent),transparent),
     linear-gradient(175deg,rgb(255 255 255 / .15),transparent 24%),
     linear-gradient(110deg,color-mix(in srgb,var(--se-paper) 70%,transparent),color-mix(in srgb,var(--se-paper) 60%,transparent) 54%,color-mix(in srgb,var(--se-paper) 15%,transparent) 82%,color-mix(in srgb,var(--se-paper) 50%,transparent));
 }
 html[data-signature-entree="closed"] .signature-entree-media__picture .signature-entree-visual-selector__label {min-width:0;white-space:normal}
 @media (forced-colors:active) {
   html[data-signature-entree="closed"] .hero .signature-entree-media__picture .signature-entree-visual-selector--market-toggle > button {background:ButtonFace}
 }
}

/* Signature uses Estate Sans throughout. The entry title keeps its display face. */
:root, :root body, :root .terminal-body {
  --serif: var(--sans);
  --mono: var(--sans);
  --cap-mono: var(--sans);
}
:root #signatureEntreeTitle {
  --serif: "Estate Serif", Georgia, serif;
  font-family: var(--serif);
}
:root :is(.developer-terminal-principles, .investor-terminal-paths) span {
  font-family: var(--sans);
}
:root :is(.terminal-cap, .signature-entree-header-card, .servicecenter-brand) {
  --cap-mono: var(--sans);
}
:root :is(.cap-way-number, .cap-way-label, .cap-terms, .cap-terms > *, .signature-entree-header-card__brand) {
  font-family: var(--sans);
}

@media (min-width: 861px) {
  html[data-signature-entree="closed"] .terminal-body .signature-entree-index {
    --rail-half-header: calc(var(--rail-header-height, 110px) / 2);
    padding-top: var(--rail-half-header) !important;
  }
  html[data-signature-entree="closed"] .terminal-body .signature-entree-index::before {
    top: calc(var(--rail-header-height, 110px) - 1px);
  }
  html[data-signature-entree="closed"] .terminal-body .signature-entree-index__label {
    height: var(--rail-half-header);
    flex: 0 0 var(--rail-half-header);
    margin-bottom: 9px;
  }
  html:root[data-signature-entree="closed"] .signature-entree-index__label > .signature-entree-index__question {
    inset-block-start: 0;
  }
}

html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(.sb-language-button,#appearanceOpen) {
    background: color-mix(in srgb,var(--se-ink) 5%,var(--se-paper));
    border-color: color-mix(in srgb,var(--se-ink) 13%,var(--se-paper)) !important;
}
html[data-signature-entree="closed"] .terminal-body > .terminal-header .header-tools :is(.sb-language-button,#appearanceOpen):is(:hover,:focus-visible,[aria-expanded="true"]) {
    background: color-mix(in srgb,var(--se-ink) 13%,var(--se-paper));
  }
