/* Business 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-terminal-variant="business"][data-business-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    position: absolute;
    z-index: 9;
    inset: 0 auto auto 12px;
    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(--business-ink);
    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-terminal-variant="business"] dialog.sb-mobile-choice-layer[open] {
    --choice-paper: color-mix(in srgb, var(--business-paper) 65%, var(--business-surface));
    --choice-raised: color-mix(in srgb, var(--business-ink) 3%, var(--choice-paper));
    --choice-accent: var(--business-ink);
    --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-terminal-variant="business"][data-business-entree="closed"] .terminal-body:has(> .sb-mobile-choice)
      > :is(.business-workspace, .business-entree-ready, .business-entree-credit, .sb-mobile-choice) {
      transition: filter 175ms ease;
    }
    html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body[data-sb-mobile-choice-open]
      > :is(.business-workspace, .business-entree-ready, .business-entree-credit, .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-terminal-variant="business"] 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-terminal-variant="business"][data-business-entree="closed"] .terminal-body:has(> .sb-mobile-choice)
      > :is(.business-workspace, .business-entree-ready, .business-entree-credit, .sb-mobile-choice) {
      transition: none !important;
    }
  }
  @media (forced-colors: active) {
    html[data-terminal-variant="business"] 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-terminal-variant="business"][data-business-entree="closed"] .terminal-body[data-sb-mobile-choice-open] > * { filter: none; }
  }
}

/* Give the caption and the existing status notch their own segment on small phones. */
@media (max-width: 390px) {
  html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body[data-business-entree="closed"]:has(> .sb-mobile-choice:not([hidden])) {
    --business-shell-notch-width: min(240px, calc(100% - 103px));
  }
}

/* The architectural drawing and a quiet single-line wordmark form one identity. */
html:root[data-terminal-variant="business"][data-business-entree="closed"]
  .business-entree-signature .business-entree-signature__type > strong {
  font-family: var(--sans);
  font-size: clamp(14px, 1vw, 15.5px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .075em;
  color: color-mix(in srgb, var(--business-ink) 80%, var(--business-paper));
  white-space: nowrap;
}

@media (min-width: 861px) {
  /* Reallocate the space above the first action to the three-line question.
     Its 72px block keeps the first plus at the original vertical position. */
  html:root[data-terminal-variant="business"][data-business-entree="closed"] .business-entree-index {
    padding-block-start: 132px;
  }

  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label {
    margin: 0 0 9px;
    max-inline-size: calc(100% - 34px);
    font: 420 clamp(20px, 1.42vw, 23px)/24px var(--sans);
    letter-spacing: -.024em;
    text-transform: none;
    white-space: pre;
    color: var(--business-ink);
  }
}

/* The same wordmark moves between the desktop index and mobile introduction. */
html:root[data-terminal-variant="business"][data-business-entree="closed"]
  :is(.business-entree-index, .business-entree-copy) > .business-entree-signature
  .business-entree-signature__type > strong {
  font-size: clamp(13px, .9vw, 14.5px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .065em;
}

@media (min-width: 861px) {
  html:root[data-terminal-variant="business"][data-business-entree="closed"] .business-entree-index {
    padding-block-start: 134px;
  }

  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label {
    margin-block-end: 13px;
    font-size: clamp(17.5px, 1.16vw, 19px);
    font-weight: 440;
    line-height: 22px;
    letter-spacing: -.02em;
  }
}

@media (min-width: 861px) {
  /* Use the existing space above the first category for the line and its arrow. */
  html:root[data-terminal-variant="business"][data-business-entree="closed"] .business-entree-index {
    padding-block-start: 157px;
  }

  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label {
    max-inline-size: 100%;
    margin-block-end: 34px;
    font: italic 400 16px/22px "Estate Serif", Georgia, serif;
    letter-spacing: .015em;
    white-space: nowrap;
  }
}

@media (min-width: 861px) {
  html:root[data-terminal-variant="business"][data-business-entree="closed"] .business-entree-index {
    padding-block-start: 134px;
  }

  /* Center the single question beside the original guide. Its measured box
     and the first plus retain the positions used by the long curve. */
  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label {
    display: grid;
    align-content: center;
    min-block-size: 66px;
    margin-block-end: 13px;
    font: normal 520 16px/22px var(--sans);
    letter-spacing: -.02em;
    white-space: nowrap;
    color: var(--business-ink);
  }

  /* English keeps its full question at the same type size, with space
     at the right for the guide throughout its animation. */
  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label:lang(en) {
    max-inline-size: 98px;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (min-width: 861px) {
  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-index__label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .008em;
  }
}

/* In the stacked mobile callback, the intro text sizes the column by its
   content. The horizontal layout's 210px flex basis would become a height. */
@media (max-width: 860px) {
  @container (max-width: 400px) {
    html[data-terminal-variant="business"][data-business-entree="closed"]
      .business-entree-callback .contact-callback__intro > div {
      flex: 0 1 auto;
    }
  }
}

/* Keep the native Business status notch on the right, with the selection
   button on its own left shoulder. */
@media (max-width: 860px) {
  html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]) {
    inset: 0 auto auto 0;
    height: 44px;
    padding: 0 2px 8px 12px;
    align-items: center;
    gap: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--business-ink);
    font: normal 500 16px/20px var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    letter-spacing: .02em;
  }
  html[data-terminal-variant="business"][data-business-entree="closed"] .sb-mobile-choice > .sb-mobile-choice__icon {
    display: grid;
    grid-template: repeat(2, 7px) / repeat(2, 7px);
    gap: 3px;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 0;
    opacity: 1;
    background: none;
    color: color-mix(in srgb, var(--business-accent, var(--terminal-accent)) 68%, var(--business-ink));
  }
  .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) {
    pointer-events: none;
    transition: transform 120ms ease-out;
  }
  html[data-terminal-variant="business"][data-business-entree="closed"] .sb-mobile-choice:active >
    :is(.sb-mobile-choice__icon,.sb-mobile-choice__label) {
    transform: translateY(1px);
    opacity: .84;
  }
  html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible { outline: none; }
  html[data-terminal-variant="business"][data-business-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;
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  html[data-terminal-variant="business"][data-business-entree="closed"] .sb-mobile-choice >
    :is(.sb-mobile-choice__icon,.sb-mobile-choice__label) {
    transition: none;
    transform: none;
  }
  html[data-terminal-variant="business"][data-business-entree="closed"] .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-terminal-variant="business"][data-business-entree="closed"] .terminal-body > .sb-mobile-choice:not([hidden]),
  html[data-terminal-variant="business"][data-business-entree="closed"] .sb-mobile-choice > .sb-mobile-choice__icon {
    color: ButtonText;
  }
  html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body > .sb-mobile-choice:focus-visible > .sb-mobile-choice__label { outline-color: Highlight; }
}

html[data-terminal-variant="business"][data-business-entree="closed"]
  .business-entree-media > .business-showcase .business-showcase__price {
  font: normal 500 16px/1.35 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0;
}

@media (max-width: 860px) {
  html[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-media > .business-showcase .business-showcase__price {
    font-size: 15px;
  }
}

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

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

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

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

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

/* The opened desktop navigation begins with its first group. */
@media (min-width: 861px) {
  html[data-terminal-variant="business"]:not([data-business-entree="closed"]) .business-rail {
    padding-top: 22px;
  }

  html[data-terminal-variant="business"]:not([data-business-entree="closed"]) .business-rail > .business-brand {
    display: none;
  }

  html[data-terminal-variant="business"]:not([data-business-entree="closed"]) .business-rail > .business-brand + .business-navigation-group {
    padding-top: 0;
  }
}

/* One shared origin for the front face, notch status and mobile menu. */
html[data-terminal-variant="business"][data-business-entree="closed"]
  .terminal-body[data-business-entree="closed"] {
  --entree-ledge: max(78px, 4.875rem);
  --entree-plate-start: color-mix(in srgb, #35494d 87%, var(--business-ink));
  --entree-plate-end: color-mix(in srgb, #293a3d 87%, var(--business-ink));
  --entree-plate-ink: #faf7ef;
  padding-block-start: var(--entree-ledge);
}

html[data-terminal-variant="business"][data-business-entree="closed"]:is(
  [data-sb-entree-active][data-sb-entree-theme="dark"],
  [data-theme="dark"]:not([data-sb-entree-active])
) .terminal-body[data-business-entree="closed"] {
  --entree-plate-start: color-mix(in srgb, #e9e3d9 95%, var(--business-paper));
  --entree-plate-end: color-mix(in srgb, #ded8cd 93%, var(--business-paper));
  --entree-plate-ink: #34342f;
}

/* Square lower corners extend behind the front face beyond the entire curved notch. */
html[data-terminal-variant="business"][data-business-entree="closed"]
  .terminal-body[data-business-entree="closed"] > .business-entree-backplate {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: calc(var(--entree-ledge) + var(--business-shell-notch-height) + max(48px, var(--frame-radius, 24px)));
  box-sizing: border-box;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--backplate-custom-ink, var(--entree-plate-ink)) 18%, transparent);
  border-bottom: 0;
  border-radius: var(--entree-outer-corner, 24px) var(--entree-outer-corner, 24px) 0 0;
  background: var(--backplate-custom-fill, linear-gradient(110deg, var(--entree-plate-start), var(--entree-plate-end)));
  color: var(--backplate-custom-ink, var(--entree-plate-ink));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%);
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  pointer-events: none;
}

.business-entree-backplate__copy {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: calc(var(--entree-ledge) - 1px);
  gap: clamp(20px, 2vw, 34px);
  padding: 0 clamp(20px, 2.3vw, 38px);
}
.business-entree-backplate__lead,
.business-entree-backplate__prompt {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
}
.business-entree-backplate__prompt {
  padding-inline-start: clamp(20px, 2vw, 34px);
  border-inline-start: 1px solid color-mix(in srgb, currentColor 46%, transparent);
}
.business-entree-backplate__copy p { margin: 0; color: inherit; }
.business-entree-backplate__title {
  font: 600 clamp(20px, 1.62vw, 23px)/1.14 var(--sans, sans-serif);
  letter-spacing: -.026em;
}
.business-entree-backplate__topics {
  font: 500 10.5px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .075em;
}
.business-entree-backplate__hint { font: 400 13px/1.3 var(--sans, sans-serif); }
.business-entree-backplate__action { font: 500 14px/1.3 var(--sans, sans-serif); }

html[data-terminal-variant="business"][data-business-entree="closed"]
  .terminal-body[data-business-entree="closed"] > :is(.business-shell-surface, .background-glow, .business-entree-ready) {
  top: var(--entree-ledge);
}
html[data-terminal-variant="business"][data-business-entree="closed"]
  .terminal-body[data-business-entree="closed"] > .business-entree-ready {
  color: var(--backplate-custom-ink, var(--entree-plate-ink));
}

@media (max-width: 860px) {
  html[data-terminal-variant="business"][data-business-entree="closed"] .terminal-body[data-business-entree="closed"] {
    --entree-ledge: max(60px, 3.75rem);
  }

  .business-entree-backplate { --entree-outer-corner: 17px; }
  .business-entree-backplate__copy {
    gap: 0;
    padding-inline: clamp(15px, 3vw, 24px);
  }
  .business-entree-backplate__prompt { display: none; }
  .business-entree-backplate__title { font-size: 18px; }
  .business-entree-backplate__topics { font-size: 10.5px; letter-spacing: .05em; }

  html[data-terminal-variant="business"][data-business-entree="closed"]
    .terminal-body[data-business-entree="closed"] > .sb-mobile-choice:not([hidden]) { top: var(--entree-ledge); }
}

@media (forced-colors: active) {
  html[data-terminal-variant="business"][data-business-entree="closed"]
    .terminal-body[data-business-entree="closed"] > .business-entree-backplate {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }
  .business-entree-backplate__prompt { border-color: CanvasText; }
  html[data-terminal-variant="business"][data-business-entree="closed"]
    .terminal-body[data-business-entree="closed"] > .business-entree-ready { color: CanvasText; }
}

/* Set the desktop lettering against the drawing's actual column width.
   The signature is horizontally anchored by the existing left/right insets. */
@media (min-width: 861px) {
  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-signature {
    container-type: inline-size;
    row-gap: 9px;
  }

  html:root[data-terminal-variant="business"][data-business-entree="closed"]
    .business-entree-index > .business-entree-signature .business-entree-signature__type > strong {
    font-size: 19px;
    font-size: min(14.35cqi, 20.65px);
    font-weight: 450;
    line-height: 1.16;
    letter-spacing: .045em;
    color: color-mix(in srgb, var(--business-ink) 88%, var(--business-paper));
  }
}

/* The entrance hides all #home children except the hero. The renderer's stage
   is its decorative sibling, behind the hero and clipped to the same bounds. */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html[data-terminal-variant="business"][data-business-entree="closed"]:is(
    [data-sb-entree-active][data-sb-entree-theme="dark"],
    :not([data-sb-entree-active])[data-theme="dark"]
  ) .terminal-body[data-business-entree] #home.terminal-lamellae-host > .terminal-lamellae {
    display: block !important;
    --lamella-bg: var(--business-paper, var(--terminal-bg));
  }
}
