:root {
  --panel-border: rgba(0, 0, 0, 0.12);
  --text: #111111;
  --left-panel-bg: rgba(255, 255, 255, 0.38);
  --left-panel-border: rgba(255, 255, 255, 0.45);
  --mockup-card-bg: #ffffff;
  --mockup-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  --stack-tile-min-h: 4.35rem;
}

/* Nerd Fonts (TTF via jsDelivr — OFL) */
@font-face {
  font-family: "NF JetBrains";
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/patched-fonts/JetBrainsMono/NoLigatures/Regular/JetBrainsMonoNLNerdFont-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NF FiraCode";
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/patched-fonts/FiraCode/Regular/FiraCodeNerdFont-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NF Hack";
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/patched-fonts/Hack/Regular/HackNerdFont-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NF UbuntuMono";
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/patched-fonts/UbuntuMono/Regular/UbuntuMonoNerdFont-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "NF UbuntuMono", ui-monospace, monospace;
  color: var(--text);
}

.bg-blueprint {
  background-color: #1a4a7a;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.38) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-paper {
  background-color: #f3eadf;
  background-image:
    linear-gradient(to right, rgba(109, 76, 45, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 76, 45, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, #f8f2e8 0%, #ece1d0 100%);
  background-size: 22px 22px, 22px 22px, 100% 100%;
}

.bg-dark-dots {
  color: #efefef;
  background-color: #030303;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 16px 16px;
}

.bg-dark-dots .left-panel {
  --text: #e8e8e8;
  color: var(--text);
  --panel-border: rgba(255, 255, 255, 0.2);
}

.bg-dark-dots .stack-tile {
  background: rgba(20, 20, 22, 0.88);
  color: #eee;
  border-color: rgba(255, 255, 255, 0.18);
}

.bg-dark-dots .stack-tile:hover {
  background: rgba(32, 32, 36, 0.92);
}

.bg-dark-dots .stack-tile.is-active,
.bg-dark-dots .mockup-link.stack-tile.is-active {
  background: rgba(50, 80, 120, 0.92);
  border-color: rgba(120, 170, 255, 0.45);
}

.bg-dark-dots .stack-tile[data-theme].is-active,
.bg-dark-dots .stack-tile[data-mockup-size].is-active {
  background: rgba(50, 80, 120, 0.92);
  border-color: rgba(120, 170, 255, 0.45);
}

/* —— Layout: intro (no section open) — centered menu, mockup hidden —— */
.app-shell {
  width: min(1100px, 96vw);
  min-height: 88vh;
  padding: 16px;
  align-items: start;
}

@media (max-width: 767px) {
  .app-shell {
    width: 100%;
    padding: 16px;
  }

  .app-shell--intro .left-panel--stack.panel,
  .app-shell--split-narrow .left-panel--stack.panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .app-shell--intro .left-panel--stack,
  .app-shell--split-narrow .left-panel--stack {
    max-width: none;
  }

  .app-shell--intro .left-panel--stack {
    margin-top: 16px;
  }
}

.app-shell--intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
}

.app-shell--intro .right-panel {
  display: none !important;
}

.app-shell--intro .left-panel--stack {
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(2.75rem, 12vh, 6.5rem);
  max-width: 22rem;
  width: 100%;
}

/* All three nav sections open: minimize vertical padding (shell + panel) */
.app-shell.app-shell--nav-compact {
  padding-top: max(8px, 1vh);
  padding-bottom: max(8px, 1vh);
}

.app-shell--intro.app-shell--nav-compact .left-panel--stack {
  margin-top: 0.75rem;
}

/* Blueprints-only (or partial) on narrow: match comfortable offset from single-section intro */
.app-shell--split-narrow:not(.app-shell--nav-compact) .left-panel--stack {
  margin-top: clamp(2.75rem, 12vh, 6.5rem);
}

.app-shell--split-narrow.app-shell--nav-compact .left-panel--stack {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .app-shell--split-wide:not(.app-shell--nav-compact) .left-panel--stack {
    margin-top: clamp(1.5rem, 8vh, 5rem);
  }

  .app-shell--split-wide.app-shell--nav-compact {
    padding-top: max(8px, 1vh);
    align-items: start;
  }

  .app-shell--split-wide.app-shell--nav-compact .left-panel--stack {
    margin-top: 0.35rem;
  }

  .app-shell--split-wide.app-shell--nav-compact .right-panel {
    min-height: min(72vh, 780px);
  }

  .app-shell--split-wide.app-shell--nav-compact .right-panel.right-panel--chromeless-active {
    min-height: 0;
  }
}

/* —— Wide + split: menu left, mockup right —— */
@media (min-width: 768px) {
  .app-shell--split-wide {
    display: grid;
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: 16px;
    align-items: start;
  }

  .app-shell--split-wide .left-panel--stack {
    text-align: left;
  }

  .app-shell--split-wide .nav-disclosures,
  .app-shell--split-wide .nav-disclosure {
    max-width: none;
    width: 100%;
  }

  .app-shell--split-wide .app-title--centered {
    text-align: left;
    justify-content: flex-start;
    margin-left: 0;
    max-width: none;
  }

  .app-shell--split-wide .shell-overview {
    text-align: justify;
    margin-left: 0;
    max-width: none;
  }

  .app-shell--split-wide .app-tagline {
    text-align: left;
    margin-left: 0;
    max-width: none;
  }

  .app-shell--split-wide .pages-status {
    margin-left: 0;
    margin-right: 0;
  }

  .app-shell--split-wide .pages-status-refresh-wrap {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .app-shell--split-wide .right-panel {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(88vh, 900px);
    position: sticky;
    top: 16px;
    overflow: auto;
  }

  .app-shell--split-wide .right-panel.right-panel--chromeless-active {
    min-height: 0;
    overflow: visible;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    top: auto;
  }
}

/* —— Narrow + split: stacked —— */
.app-shell--split-narrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.app-shell--split-narrow .left-panel--stack {
  width: 100%;
  max-width: 22rem;
}

.app-shell--split-narrow .right-panel {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding-bottom: 24px;
}

.panel {
  border-radius: 10px;
  padding: 16px;
}

.left-panel--stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  background: var(--left-panel-bg);
  border: 1px solid var(--left-panel-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.right-panel {
  background: transparent;
  border: none;
  padding: 0;
}

.mockup-placeholder {
  margin: 12px 0 0;
  font-size: 0.68rem;
  text-align: center;
  opacity: 0.85;
  max-width: 18rem;
  line-height: 1.4;
}

.mockup-placeholder[hidden] {
  display: none;
}

.app-title--centered {
  font-family: "NF JetBrains", ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: normal;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.app-title__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.2;
}

.app-shell--split-wide .app-title__stack {
  align-items: flex-start;
}

.app-title__line {
  display: block;
}

.app-title__line--sub {
  font-size: 0.82em;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

.pages-status {
  width: fit-content;
  max-width: min(100%, 17.5rem);
  margin: 0 auto 12px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-family: "NF Hack", ui-monospace, monospace;
  font-size: 0.64rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-align: center;
  opacity: 0.95;
}

.pages-status[data-status-state="loading"] {
  opacity: 0.75;
}

.pages-status[data-status-state="ready"] {
  border-color: rgba(46, 125, 50, 0.28);
}

.pages-status[data-status-state="fallback"],
.pages-status[data-status-state="error"] {
  border-color: rgba(176, 106, 7, 0.28);
}

.bg-dark-dots .pages-status {
  background: rgba(16, 18, 22, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  color: #efefef;
}

.pages-status-refresh-wrap {
  width: 100%;
  max-width: 17.5rem;
  margin: -4px auto 12px;
  text-align: center;
}

.pages-status-refresh {
  color: inherit;
  font-size: 0.64rem;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12rem;
  opacity: 0.84;
}

.pages-status-refresh:hover,
.pages-status-refresh:focus-visible {
  opacity: 1;
}

.app-tagline {
  width: 100%;
  max-width: 17.5rem;
  margin: 0 auto 12px;
  font-size: 0.7rem;
  line-height: 1.48;
  opacity: 0.88;
  text-align: center;
}

.shell-overview {
  width: 100%;
  max-width: 17.5rem;
  margin: 0 auto 16px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
  font-size: 0.68rem;
  line-height: 1.5;
  opacity: 0.92;
}

.shell-overview p {
  margin: 0;
}

.shell-overview p:last-child {
  margin-bottom: 0;
}

.shell-overview[hidden] {
  display: none;
}

.nav-disclosures {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.nav-disclosure {
  width: 100%;
  max-width: 17.5rem;
  border: none;
  margin: 0;
}

.nav-disclosure__summary {
  list-style: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 6px 0 8px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: "NF FiraCode", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-align: left;
  user-select: none;
  transition: opacity 0.12s ease;
}

.app-shell--intro .nav-disclosure__summary {
  justify-content: center;
}

.nav-disclosure__summary::-webkit-details-marker {
  display: none;
}

.nav-disclosure__summary:hover {
  opacity: 0.85;
}

.nav-disclosure[open] > .nav-disclosure__summary {
  margin-bottom: 8px;
  opacity: 1;
}

.nav-disclosure__chevron {
  font-size: 0.55rem;
  line-height: 1;
  opacity: 0.65;
  flex-shrink: 0;
  margin-inline-end: 6px;
  padding-inline-end: 4px;
}

.nav-disclosure__chevron::before {
  content: "\25b6";
  display: inline-block;
  transition: transform 0.15s ease;
}

.nav-disclosure[open] .nav-disclosure__chevron::before {
  transform: rotate(90deg);
}

.nav-disclosure__body {
  text-align: left;
  width: 100%;
  padding-left: 1.1rem;
  margin-bottom: 4px;
}

.stack-list--tight {
  margin-top: 10px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mockup-group-heading {
  margin: 10px 0 0;
  padding: 6px 2px 2px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-group-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mockup-group-links--flat {
  gap: 2px;
}

/* Mockups nav: no white “card” per row; headings without divider “cut” */
.stack-list--mockup-nav {
  gap: 2px;
}

.stack-list--mockup-nav > .mockup-group-heading {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 6px 2px 8px;
  border-top: none;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.5);
}

.stack-list--mockup-nav > .mockup-group-heading:first-of-type {
  margin-top: 10px;
}

.bg-dark-dots .stack-list--mockup-nav > .mockup-group-heading {
  color: rgba(255, 255, 255, 0.55);
}

.bg-paper .stack-list--mockup-nav > .mockup-group-heading {
  color: rgba(0, 0, 0, 0.45);
}

.stack-list--mockup-nav .mockup-link.stack-tile {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  min-height: 2.75rem;
  padding: 8px 10px;
}

.stack-list--mockup-nav .mockup-link.stack-tile:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: transparent;
}

.stack-list--mockup-nav .mockup-link.stack-tile .stack-tile__title {
  margin-bottom: 0;
}

.stack-list--mockup-nav .mockup-link.stack-tile .stack-tile__desc {
  margin-top: 4px;
}

.stack-list--mockup-nav .mockup-link.stack-tile.is-active {
  background: rgba(255, 255, 255, 0.22);
  border-color: transparent;
  box-shadow: inset 3px 0 0 #2563eb;
}

.bg-dark-dots .stack-list--mockup-nav .mockup-link.stack-tile:hover {
  background: rgba(255, 255, 255, 0.08);
}

.bg-dark-dots .stack-list--mockup-nav .mockup-link.stack-tile.is-active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 #60a5fa;
}

.bg-paper .stack-list--mockup-nav .mockup-link.stack-tile.is-active {
  background: rgba(255, 252, 245, 0.85);
  box-shadow: inset 3px 0 0 #b45309;
}

.bg-dark-dots .mockup-group-heading {
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.bg-paper .mockup-group-heading {
  color: rgba(0, 0, 0, 0.4);
}

.stack-tile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: var(--stack-tile-min-h);
  padding: 10px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.stack-tile:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
}

.stack-tile:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.stack-tile__glyph {
  flex-shrink: 0;
  font-size: 1.1rem;
  opacity: 0.88;
  line-height: 1.2;
  margin-top: 2px;
  min-width: 1.5rem;
  text-align: center;
  box-sizing: content-box;
  padding-inline-end: 4px;
  margin-inline-end: 0;
}

.stack-tile__copy {
  flex: 1;
  min-width: 0;
}

.stack-tile__title {
  display: block;
  font-family: "NF Hack", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: normal;
  margin-bottom: 4px;
}

.stack-tile__desc {
  display: block;
  font-size: 0.62rem;
  line-height: 1.4;
  opacity: 0.78;
}

/* Main tile: app logo + miniature of standalone launch (same as mockups/main.html) */
.stack-tile__glyph--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding-inline-end: 4px;
}

.stack-tile__glyph--logo img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
}

.stack-tile__mockup-preview {
  display: block;
  width: 100%;
  max-width: 148px;
  height: 40px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 120% at 50% 15%, rgba(91, 140, 255, 0.38) 0%, transparent 52%),
    radial-gradient(ellipse 75% 90% at 88% 92%, rgba(45, 106, 170, 0.28) 0%, transparent 42%),
    linear-gradient(168deg, #0d2844 0%, #1a4a7a 40%, #0f1f35 68%, #060d18 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stack-tile__mockup-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 7px 7px;
  opacity: 0.75;
  pointer-events: none;
}

.stack-tile__mockup-preview::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  max-width: 56px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(91, 140, 255, 0.25),
    0 0 8px rgba(91, 140, 255, 0.2);
}

.bg-dark-dots .stack-tile__mockup-preview {
  border-color: rgba(255, 255, 255, 0.12);
}

.stack-tile.is-active,
.mockup-link.stack-tile.is-active {
  background: rgba(230, 240, 255, 0.98);
  border-color: rgba(30, 100, 200, 0.4);
}

.bg-paper .stack-tile.is-active,
.bg-paper .mockup-link.stack-tile.is-active {
  background: rgba(255, 248, 235, 0.98);
  border-color: rgba(139, 90, 43, 0.38);
}

.stack-tile[data-theme].is-active,
.stack-tile[data-mockup-size].is-active {
  background: rgba(230, 240, 255, 0.98);
  border-color: rgba(30, 100, 200, 0.4);
}

.bg-paper .stack-tile[data-theme].is-active,
.bg-paper .stack-tile[data-mockup-size].is-active {
  background: rgba(255, 248, 235, 0.98);
  border-color: rgba(139, 90, 43, 0.38);
}

/* Mockup frame */
.phone-frame {
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: var(--mockup-card-bg);
  box-shadow: var(--mockup-card-shadow);
  display: flex;
  flex-direction: column;
}

.phone-frame--phone {
  width: min(390px, 100%);
  height: min(844px, 82vh);
  border-radius: 18px;
}

.phone-frame--ableton {
  width: min(340px, 100%);
  height: min(200px, 35vh);
  border-radius: 6px;
}

.phone-frame--desktop {
  width: min(960px, 100%);
  max-width: 100%;
  max-height: min(628px, 76vh);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Host viewport chrome: macOS-style traffic lights; red closes mockup (see index.js) */
.phone-frame__chrome {
  display: flex;
  flex-shrink: 0;
  height: 28px;
  background: linear-gradient(180deg, #e8e8ec 0%, #d8d8de 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  align-items: center;
  padding: 0 10px;
}

.phone-frame--phone .phone-frame__chrome {
  border-radius: 18px 18px 0 0;
}

.phone-frame--ableton .phone-frame__chrome {
  border-radius: 6px 6px 0 0;
}

.phone-frame__traffic {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-frame__traffic-light {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 0;
  border: none;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.phone-frame__traffic-light--close {
  background: #ff5f57;
  cursor: pointer;
  transition: filter 0.1s ease, transform 0.08s ease;
}

.phone-frame__traffic-light--close:hover {
  filter: brightness(1.06);
}

.phone-frame__traffic-light--close:active {
  transform: scale(0.92);
}

.phone-frame__traffic-light--close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.phone-frame__traffic-light--yellow {
  background: #febc2e;
  pointer-events: none;
}

.phone-frame__traffic-light--green {
  background: #28c840;
  pointer-events: none;
}

.phone-frame iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

/* Chromeless mode: hide frame chrome, full-width, height follows content */
.phone-frame--chromeless .phone-frame__chrome {
  display: none;
}

.phone-frame--chromeless {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.phone-frame--chromeless iframe {
  display: block;
  width: 100%;
  min-height: 72px;
  background: transparent;
}

.app-shell--split-wide .right-panel--chromeless-active {
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
  min-height: 0;
  max-height: none;
}

.app-shell--split-wide.app-shell--nav-compact .right-panel--chromeless-active {
  min-height: 0;
}

.app-shell--split-narrow .right-panel--chromeless-active {
  align-items: stretch;
  width: 100%;
  max-width: none;
  overflow: visible;
  min-height: 0;
}

.phone-frame--desktop iframe {
  flex: 1;
  min-height: 240px;
  max-height: min(600px, calc(76vh - 32px));
}

@media (max-width: 767px) {
  .app-shell--split-wide {
    display: flex;
    flex-direction: column;
  }
}
