/* The bar around the second pass's page: dark, as the proposals' was, with the clicks that reach the scenario beside the
   frame (under it on a narrow screen). Its own tokens: the page's stylesheet is not loaded here. */
@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bar: #1d2a33; --bar-raised: #263746; --stage: #121c25; --ink: #e0e6eb; --ink-soft: #c9d2da; --white: #fff;
  --action: #ad5645; --action-hover: #96493a;
  --font: 'Inter', system-ui, -apple-system, sans-serif; --title: 'Montserrat', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; background: var(--bar); color: var(--ink); font: 14px/1.45 var(--font); }
button, select { font: inherit; }
:focus-visible { outline: 2px solid #8fc1e8; outline-offset: 2px; }
[hidden] { display: none !important; }

.bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; padding: 10px 16px; }
.bar b { font: 700 .95rem var(--title); color: var(--white); margin-right: 6px; align-self: center; }
.bar label { display: flex; flex-direction: column; gap: 2px; font-size: .78rem; color: var(--ink-soft); }
.bar select { height: 32px; padding: 0 8px; border-radius: 8px; border: 0; background: var(--bar-raised); color: var(--white); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bar-raised); }
.seg button { border: 0; background: none; padding: 4px 14px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--action); color: var(--white); }
.actions { display: flex; gap: 8px; margin-left: auto; }
.plain { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bar-raised); color: var(--white); font-weight: 600; cursor: pointer; }
.plain:hover:not(:disabled) { background: var(--action); }
.plain[aria-pressed="true"] { background: var(--action); }
.plain:disabled { color: #8d9ba7; cursor: not-allowed; }

.says { margin: 0; padding: 0 16px 10px; color: var(--ink-soft); }
.says b { color: var(--white); font-weight: 600; }

.main { flex: 1; min-height: 0; display: flex; background: var(--stage); }
.stage { flex: 1; min-width: 0; display: flex; justify-content: center; }
.stage iframe { width: 100%; min-height: 80vh; border: 0; background: #f0f4f7; }
.stage.phone iframe { width: 375px; max-width: 100%; }
.reach { flex: 0 0 280px; padding: 14px 16px; background: var(--bar); border-left: 1px solid var(--bar-raised); overflow: auto; }
.reach h2 { margin: 0 0 6px; font: 700 .95rem var(--title); color: var(--white); }
.reach ol { margin: 0; padding-left: 20px; color: var(--ink); }
.reach li { margin: 0 0 6px; }

@media (max-width: 900px) {
  .main { flex-direction: column; }
  .reach { flex: none; border-left: 0; border-top: 1px solid var(--bar-raised); }
  .actions { margin-left: 0; }
}
