@font-face {
  font-family: "Google Sans Flex";
  src: url("/assets/google-sans-flex-latin.5dd2c8c51dee.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f6f1e9; background: #101113; color-scheme: dark;
  --muted: #b1aba4; --apricot: #f1b486; --rule: #353432;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 9% 60%, #1c1b1b, #111214 64%); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid var(--apricot); outline-offset: 4px; }
.topbar { height: 70px; padding: 0 clamp(23px, 5vw, 76px); display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 25px; font-weight: 650; letter-spacing: -.06em; }
.wordmark img { width: 23px; height: 23px; }
.room-tag, .exit, .back { font-weight: 500; font-size: 14px; }
.room-tag { padding-left: 20px; border-left: 1px solid #56514c; color: #c9c3b9; }
.exit { margin-left: auto; color: var(--muted); }
.exit span { margin-left: 6px; }
.exit:hover, .back:hover { color: white; text-decoration: underline; }
.layout { max-width: 1670px; margin: auto; min-height: calc(100svh - 70px); display: grid; grid-template-columns: 1.04fr 1fr; padding: 16px; }
.editor { display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 3vw, 48px) clamp(25px, 5.2vw, 88px) 20px; }
.stage-indicator { display: flex; align-items: center; gap: 17px; font-size: 13px; color: #cdc6b9; }
#progress { display: inline-flex; gap: 4px; }
#progress i { width: 17px; height: 2px; border-radius: 4px; background: #464340; }
#progress .lit { background: #e4b28d; }
.question { width: 100%; max-width: 620px; margin: auto 0; padding: clamp(35px, 6vh, 83px) 0; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(39px, 4.95vw, 82px); font-weight: 530; line-height: 1.02; letter-spacing: -.064em; text-wrap: balance; }
h1:focus { outline: none; }
#intro { margin: 17px 0 30px; max-width: 33em; color: #c0bab2; font-size: clamp(16px, 1.38vw, 22px); line-height: 1.4; text-wrap: pretty; }
h2 { font-size: clamp(20px, 1.7vw, 27px); font-weight: 510; letter-spacing: -.026em; }
.hint { color: var(--muted); margin-top: 5px; font-size: 14px; line-height: 1.45; }
.operator-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.operator-list button { border: 1px solid #4c4843; background: #252422; color: #f5f0e9; border-radius: 15px; padding: 15px 13px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.operator-list button:hover, .operator-list button[aria-pressed=true] { background: #35302b; border-color: #bd9575; }
.operator-list img { width: 22px; height: 22px; }
.op-arrow { font-size: 12px; color: #aaa094; }
textarea, input { width: 100%; color: inherit; border: 1px solid #524d46; background: #222121; border-radius: 14px; padding: 14px 16px; }
textarea { resize: vertical; display: block; min-height: 102px; max-height: 40vh; font-size: 17px; line-height: 1.45; }
textarea::placeholder { color: #aaa399; }
.night-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.night-fields label { color: #d2c9bb; font-size: 14px; }
.night-fields input { margin-top: 8px; font-size: 18px; }
.error { margin: 6px 0; color: #f5a997; font-size: 14px; }
.error:empty { margin: 0; }
.actions, .plan-actions { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.plan-actions { gap: 6px 12px; }
#connect-operator { padding-inline: 16px; gap: 10px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: #f7f2e9; border: 1px solid #f7f2e9; color: #181715; border-radius: 999px; padding: 12px 21px; font-size: 15px; font-weight: 570; min-height: 46px; }
.primary:hover { background: #f0d8bd; border-color: #f0d8bd; }
.primary span[aria-hidden] { font-size: 19px; line-height: 1; }
.back { color: #b8b1a7; border: 0; padding: 9px 3px; background: transparent; }
.previous { margin-top: 20px; }
.privacy { display: flex; align-items: center; gap: 9px; color: #aaa49d; font-size: 12px; }
.privacy span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #a69f93; }
.canvas { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; min-height: min(575px, 69svh); color: #fffaf1; border-radius: 23px; overflow: hidden; padding: clamp(23px, 3.25vw, 55px); background: #272420; border: 1px solid #423e39; }
.canvas-top, .map-label { font-size: 13px; font-weight: 530; display: flex; align-items: center; gap: 8px; }
.light-dot, .map-label i { width: 6px; height: 6px; border-radius: 50%; background: #f4cda7; }
.caption { position: relative; }
.map-label { color: #efd3ad; }
.caption > p { margin: 8px 0 0; font-size: clamp(23px, 3vw, 51px); font-weight: 460; letter-spacing: -.045em; line-height: 1.1; overflow-wrap: anywhere; white-space: pre-wrap; }
#map-facts { margin: 0; }
#map-facts dt { margin: 15px 0 4px; color: #e0c9ae; font-size: 12px; }
#map-facts dd { margin: 0; color: #eee8de; font-size: clamp(15px, 1.17vw, 18px); line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; }
body[data-filled=true] .caption > p { font-size: clamp(21px, 2vw, 35px); }
#copy-status { margin-top: 7px; font-size: 13px; color: var(--muted); }
@media (max-width: 850px) {
  .layout { grid-template-columns: 1.12fr 1fr; }
  .editor { padding-inline: 18px 28px; }
  .operator-list button { padding: 11px 9px; }
}
@media (max-width: 680px) {
  .topbar { height: 62px; gap: 13px; }
  .room-tag { padding-left: 13px; font-size: 13px; }
  .layout { display: flex; flex-direction: column; padding: 0; min-height: calc(100svh - 62px); }
  /* Phone pass (gate F8, Nov 30): one 16px gutter on every funnel screen, the top bar's own. */
  .editor { padding: 24px 16px 18px; }
  .question { padding: 32px 0 20px; }
  h1 { font-size: clamp(40px, 10vw, 62px); }
  #intro { margin-bottom: 24px; }
  .canvas { min-height: 230px; margin: 0 16px 16px; gap: 13px; padding: 20px; }
  .caption { margin-top: auto; }
  .caption > p { max-width: 90%; font-size: 26px; }
  body[data-filled=true] .caption { margin-top: 26px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#name { display: block; width: 100%; padding: 13px 0 15px; font-size: clamp(24px, 2vw, 36px); border: 0; border-bottom: 1px solid #686158; border-radius: 0; background: transparent; }
#name::placeholder { color: #858079; }
#name:focus-visible { outline: none; border-color: #efc397; box-shadow: 0 1px #efc397; }
body[data-stage=name] #intro { color: #e3dbce; font-size: clamp(21px, 2.1vw, 32px); letter-spacing: -.03em; }
#welcome-promise { max-width: 39ch; margin-top: 15px; color: #c9c0b7; font-size: clamp(15px,1.25vw,18px); line-height: 1.5; }
#take-plan { font-size: 14px; color: #d6c9ba; }
#result .operator-list { margin-top: 10px; }
#result .operator-list button { padding: 10px 12px; }
#result .op-arrow { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .question.reveal { animation: unfold .35s cubic-bezier(.16,.7,.35,1) both; }
  .caption.reveal { animation: unfold .55s ease-out both; }
  @keyframes unfold { from { opacity: .15; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
}
h1 { overflow-wrap: anywhere; }
#world-title { overflow-wrap: anywhere; }
body[data-stage=name] .privacy { margin-top: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .arrival-in-motion .question h1 { animation: unfold .65s .16s both; }
  .arrival-in-motion .question > p, .arrival-in-motion #entry { animation: unfold .55s .23s both; }
}

#welcome-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  container-type: size;
  display: grid;
  grid-template: 100% / 100%;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}
.welcome-fresco {
  position: relative;
  /* Zoom the shared scene so the enlarged mark still fits between the fingertips. */
  width: calc(1.66 * max(100cqw, calc(100cqh * 16 / 9), 1040px));
  aspect-ratio: 16 / 9;
}
.welcome-fresco::before, #welcome-art::after { content: ""; position: absolute; inset: 0; }
.welcome-fresco::before { background: url("/assets/odei-hero-poster-1920.2745a987e9e2.webp") center / cover; opacity: .64; }
#welcome-art::after { z-index: 1; background: linear-gradient(165deg, rgba(24,18,13,.09), rgba(29,21,15,.12) 39%, rgba(21,18,16,.86) 80%, #1c1917); }
.welcome-fresco img {
  position: absolute;
  z-index: 2;
  /* The gap is centered at (939, 545) in the 1920 × 1080 fresco. */
  left: 48.90625%;
  top: 50.463%;
  width: 2.75%;
  aspect-ratio: 1;
  filter: drop-shadow(0 2px 10px #0d0907b3);
  transform: translate(-50%, -50%);
}
#welcome-art:not([hidden]) ~ .caption { margin-top: auto; }
body[data-stage=name] .caption > p { max-width: 21ch; text-wrap: balance; }
@media (max-width: 680px) {
  body[data-stage=name] .canvas { min-height: clamp(240px, 42svh, 340px); }
}
body:not([data-stage=name]) .canvas { background: #050709; padding: 0; border-color: #34363a; }
body:not([data-stage=name]) .canvas-top { padding: 17px 22px; gap: 9px; border-bottom: 1px solid #272a2c; background: #101214; }
body:not([data-stage=name]) .light-dot { background: #a8d6b5; }
#map-beside { position: relative; flex: 1; min-height: clamp(340px,48svh,550px); }
#map-beside > .world-atlas, #map-expanded > .world-atlas { position: absolute; inset: 0; height: 100%; width: 100%; min-height: 0; border-radius: 0; border: 0; }
body:not([data-stage=name]) .caption {
  flex: none; margin: 0; padding: 18px clamp(18px, 2.2vw, 32px) 21px;
  background: linear-gradient(120deg, #16191b, #101214 78%); border-top: 1px solid #303436;
}
body:not([data-stage=name]) .caption > p {
  max-width: 100%; margin-top: 6px; font-size: clamp(18px,1.6vw,24px); letter-spacing: -.02em; line-height: 1.35;
}
.caption .map-label { font-size: 12px; letter-spacing: .015em; color: #bfc8c8; gap: 8px; }
.caption .map-label i { background: #9fbeb8; flex: none; }
.map-goal .map-label { color: #e8c6a2; }
.map-goal .map-label i {
  width: 11px; height: 11px; border-radius: 0; background: #f3cb9f;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.map-goal p {
  margin-top: 7px; white-space: pre-wrap; overflow-wrap: anywhere; text-wrap: pretty;
  font-size: clamp(22px, 2.1vw, 32px); font-weight: 470; letter-spacing: -.032em; line-height: 1.23;
}
.map-goal.long-goal p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.48; letter-spacing: -.014em; }
.map-goal:not([hidden]) + .map-label:not([hidden]) { border-top: 1px solid #303436; margin-top: 15px; padding-top: 13px; }
@media (min-width: 681px) {
  body:not([data-stage=name]) .canvas { align-self: start; min-height: calc(100svh - 102px); }
  #map-beside { min-height: clamp(250px, 41svh, 480px); }
  .layout:has(.map-goal.long-goal:not([hidden])) .editor { position: sticky; top: 0; align-self: start; min-height: calc(100svh - 102px); }
}
#map-facts { max-height: 20svh; overflow: auto; }
@media (max-width: 680px) {
  body:not([data-stage=name]) .canvas { gap: 0; }
  #map-beside { min-height: 345px; }
}

#answer-choices {
  display: grid;
  border: 1px solid #46423c;
  border-radius: 16px;
  overflow: hidden;
  background: #1c1d1e;
}
#answer-choices button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 49px; padding: 12px 16px;
  font: inherit; font-size: clamp(15px, 1.25vw, 19px); font-weight: 470; text-align: left;
  background: transparent; border: 0; color: #f4eee5;
}
#answer-choices button + button { border-top: 1px solid #393734; }
#answer-choices .choice-mark { color: #b6a995; font-size: 17px; line-height: 1; }
#answer-choices button:has(small) { line-height: 1.3; }
#answer-choices small { display: block; color: #b9b3ab; margin-top: 4px; font-weight: 400; font-size: 13px; line-height: 1.35; }
#answer-choices button:hover, #answer-choices button:focus-visible { background: #302b26; }
#answer-choices button:focus-visible { outline-offset: -3px; }
#answer-choices .chosen { background: #2a2622; }
#answer-choices .chosen .choice-mark { color: #e9c6a3; }
.selection-tools { display: flex; align-items: center; justify-content: space-between; min-height: 33px; margin: 0 3px 5px; color: var(--muted); font-size: 13px; }
.selection-tools .back { padding: 6px 0 6px 10px; color: #e4cbb0; font-size: 13px; }
#answer-choices.multiple-choices .choice-mark {
  display: grid; place-items: center; flex: none; width: 19px; height: 19px;
  color: transparent; border: 1px solid #6b675f; border-radius: 5px; font-size: 13px;
}
#answer-choices.multiple-choices .chosen .choice-mark {
  background: #ead1b4; color: #241f18; border-color: #ead1b4;
}
.network-answer-title { display: block; padding: 10px 16px 7px; color: #e1c9ac; font-size: 13px; font-weight: 550; background: #252524; }
.network-answer-group + .network-answer-group { border-top: 1px solid var(--rule); }
#entry-next:disabled { background: #292929; border-color: #494640; color: #aaa49b; cursor: default; }
#custom-answer { color: #e9d6bf; }
body[data-stage=direction] #answer-choices button[aria-checked=true] {
  background: #302a24; box-shadow: inset 3px 0 #e5b78e;
}
body[data-stage=direction] #answer-choices button[aria-checked=true] .choice-mark { color: #241f18; }
#skip[aria-pressed=true] { color: #f4d6b6; }
#skip[aria-pressed=true]::before { content: '✓' / ''; margin-inline-end: 6px; }
#custom-goal-text {
  display: block; text-align: start; color: #f1e4d4; background: #292622; border: 0;
  margin: 12px 0 0; padding: 9px 13px; border-inline-start: 2px solid #c99d78;
  font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap;
}
#goal-decision { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 9px; }
#confirm-goal:disabled { background: #292929; border-color: #494640; color: #aaa49b; cursor: default; }
.goal-tools { display: flex; flex: none; align-items: center; flex-wrap: wrap; gap: 8px; }
#undo-goal { margin-inline-start: 13px; }
.goal-tools #undo-goal { margin: 0; }
@media (pointer: coarse) {
  #custom-answer, #skip, #previous, #cancel-answer, #cancel-goal-draft, #cancel-goal-edit, #undo-goal { min-height: 44px; }
}
#entry .actions { column-gap: 20px; row-gap: 4px; }
#answer-choices:not([hidden]) ~ .actions { margin-top: 9px; }
@media (max-width: 680px) {
  #answer-choices button { min-height: 47px; }
}

#answer-window {
  position: fixed; box-sizing: border-box; width: min(460px, 43vw);
  max-height: calc(100dvh - 36px); overflow: auto;
  margin: auto auto auto max(5.2vw,calc((100vw - 1490px) / 2));
  padding: clamp(23px,2.4vw,36px); border-radius: 22px;
  border: 1px solid #5a534b; color: #f6f1e9;
  background: linear-gradient(155deg,#272625,#1a1b1c 62%);
  box-shadow: 0 24px 76px #0009;
}
#answer-window::backdrop { background: linear-gradient(90deg,#0c0c0fe8 10%,#0c0c0fa8 53%,#0c0c0f28 83%); }
#answer-title { font-size: clamp(30px,3vw,44px); line-height: 1.08; letter-spacing: -.055em; }
#answer-hint { margin: 9px 0 20px; font-size: 16px; line-height: 1.4; color: #c7c0b6; }
#answer-window textarea { background: #171819; border-color: #645b50; min-height: 116px; max-height: 32dvh; }
#answer-window textarea::placeholder { color: #9d9891; }
#answer-window textarea:focus-visible { outline-offset: 2px; outline-width: 1px; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
@media (max-width: 680px) {
  #answer-window { width: calc(100vw - 24px); margin: auto auto max(12px,env(safe-area-inset-bottom)); padding: 23px; }
  #answer-window::backdrop { background: #08090b9c; }
}
@media (prefers-reduced-motion: no-preference) {
  #answer-window[open] { animation: answer-appear .18s ease-out; }
  @keyframes answer-appear { from { opacity: .35; transform: translateY(7px); } }
}

.desktop-access p { color: #c8c0b6; max-width: 40ch; font-size: 16px; line-height: 1.5; }
.desktop-access .primary { margin: 24px 0 10px; }
.desktop-access .availability { font-size: 13px; color: var(--muted); }
#personal-choices {
  margin: 0; padding: 0; overflow: hidden;
  border: 1px solid #484541; border-radius: 15px;
  background: #211f1e;
}
#personal-choices label {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; min-height: 46px; font-size: 15px; cursor: pointer;
}
#personal-choices label + label { border-top: 1px solid #3b3835; }
#personal-choices label:is(:hover, :focus-within) { background: #302c28; }
#personal-choices label:has(:checked) { color: #ffe0be; background: #342e28; }
#personal-choices input { width: 16px; height: 16px; flex: none; margin: 0; padding: 0; accent-color: #e1c4a3; }
#personal-words { margin-top: 12px; }
#personal-next { margin-top: 18px; }
#personal-next:disabled { color: #a09b93; background: #292929; border-color: #494640; cursor: default; }
#personal-summary { margin: 0; }
#personal-summary dt { color: #c8b8a6; font-size: 13px; margin-top: 14px; }
#personal-summary dd { color: #f5eee5; font-size: 19px; margin: 4px 0 0; overflow-wrap: anywhere; }
.desktop-access .back { display: inline-block; margin-top: 10px; }
.copy-feedback { color: #d8c4ab; font-size: 13px; }
@media (max-width: 680px) {
  .topbar { padding-inline: 16px; gap: 10px; }
  .room-tag { min-width: 0; padding-inline-start: 10px; font-size: 12px; line-height: 1.2; text-wrap: balance; }
  .exit { white-space: nowrap; font-size: 12px; }
  .exit span { margin-inline-start: 2px; }
  body:not([data-stage=name], [data-stage=world]) .layout {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; padding: 18px 16px;
  }
  body:not([data-stage=name], [data-stage=world]) :is(.editor, .question) { display: contents; }
  body:not([data-stage=name], [data-stage=world]) .stage-indicator { order: 1; }
  body:not([data-stage=name], [data-stage=world]) #heading { order: 2; font-size: clamp(32px, 7.8vw, 44px); }
  body:not([data-stage=name], [data-stage=world]) #intro { order: 3; margin: 0; }
  body:not([data-stage=name], [data-stage=world]) .canvas { order: 4; min-height: 0; margin: 0; }
  body:not([data-stage=name], [data-stage=world]) #map-beside {
    flex: none; height: clamp(260px, 41svh, 365px); min-height: 0;
  }
  body:not([data-stage=name], [data-stage=world]) .canvas-top { padding: 9px 14px; }
  body:not([data-stage=name], [data-stage=world]) .caption { padding: 9px 14px; }
  body:not([data-stage=name], [data-stage=world]) :is(#entry, #personal-form, #desktop-access, #result) { order: 5; }
  body:not([data-stage=name], [data-stage=world]) :is(#previous, #undo-goal) { order: 6; justify-self: start; margin: 0; }
  body:not([data-stage=name], [data-stage=world]) .privacy { order: 7; }
  .route-choices { margin: 0; }

  /* The map reflects choices. Keep the questionnaire ahead of it on phones. */
  body:is([data-stage=direction], [data-stage=meaning], [data-stage=path], [data-stage=skills], [data-stage=constraints], [data-stage=availability]) {
    & .layout { row-gap: 10px; }
    & #entry { order: 4; }
    & :is(#previous, #undo-goal) { order: 5; }
    & .canvas { order: 6; margin-block-start: 4px; }
    & #map-beside { height: clamp(208px, 60vw, 272px); }
  }
}
/* For you Talk: "What brings you here?" keeps the questionnaire ahead of the map on phones, as every other question does. */
@media (max-width: 680px) {
  body[data-stage=intent] {
    & .layout { row-gap: 10px; }
    & #entry { order: 4; }
    & :is(#previous, #undo-goal) { order: 5; }
    & .canvas { order: 6; margin-block-start: 4px; }
    & #map-beside { height: clamp(208px, 60vw, 272px); }
  }
}
/* Critic r6 L1: a choice's note wraps in balanced lines (never one word alone on the last). */
body[data-stage=intent] #answer-choices small { text-wrap: balance; }
/* Critic r7 M5: the first step's headline never leaves one word alone on its last line. */
body[data-stage=world] #network-start-step { text-wrap: balance; }
/* Phone pass (critic r1 finding 10): the funnel's small text controls keep a 44px target on touch screens without changing their look. */
@media (max-width: 680px) {
  :is(.wordmark, .exit, .back, .edit-goal, #network-options-link):not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; }
  .exit { margin-block: -8px; }
}
/* Phone pass (critic r1 finding 6): after an account switch the way on reads as a link, with a 44px target. */
#network-start-error a { display: inline-flex; align-items: center; min-height: 44px; color: #f5eee5; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Phone pass (gate F8): under 360px the top bar's tagline would take three lines beside the mark; the mark and Back to site stay. */
@media (max-width: 359px) {
  .room-tag { display: none; }
}

.network-answer-panel > summary.network-answer-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  cursor: pointer;
  list-style: none;
}
.network-answer-panel > summary::-webkit-details-marker { display: none; }
.network-answer-panel > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.network-answer-panel[open] > summary::after { transform: rotate(225deg); }
.network-answer-panel > summary:focus-visible { outline: 2px solid var(--apricot); outline-offset: -3px; }
.network-answer-count { margin-inline-start: auto; color: var(--muted); font-size: 12px; font-weight: 450; }

/* The app shell owns scrolling: size the embedded map by available width so an
   iframe height update never increases the minimum height of its own contents. */
.interview-status { min-height: 90px; padding: 18px; }
.interview-status > p { margin-bottom: 8px; }
body[data-embedded] { background: #101113; }
body[data-embedded] .layout,
body[data-embedded][data-stage=world] .layout { min-height: 0; padding: 0; }
body[data-embedded] #network-world { padding-block: 0 16px; }
body[data-embedded] .question { padding-block: clamp(18px, 3vw, 42px); }
body[data-embedded] .editor { padding: clamp(14px, 2.2vw, 32px); }
body[data-embedded] .canvas,
body[data-embedded] .layout:has(.map-goal.long-goal:not([hidden])) .editor { min-height: clamp(330px, 51vw, 580px); }
body[data-embedded] #map-beside { min-height: clamp(230px, 34vw, 430px); }
body[data-embedded][data-network-start] .atlas-layout { min-height: clamp(340px, 45vw, 550px); }
@media (max-width: 680px) {
  body[data-embedded] .editor { padding: 10px 4px 16px; }
  body[data-embedded] .canvas { min-height: 0; margin-inline: 0; }
  body[data-embedded][data-stage=name] .canvas { min-height: 215px; }
  body[data-embedded] #map-beside { min-height: 0; }
  body[data-embedded][data-network-start] .atlas-layout { min-height: 0; }
  body[data-embedded][data-network-start] .atlas-surface { min-height: clamp(260px, 76vw, 370px); }
}
