/* Twin Studio. Tokens match the twin engine (styles/twin.css): ASU Unity base palette. */
:root {
  --maroon: #8c1d40; --maroon-dark: #440e22; --gold: #ffc627; --white: #fff;
  --gray-1: #191919; --gray-2: #484848; --gray-3: #747474; --gray-4: #bfbfbf; --gray-5: #d0d0d0; --gray-6: #e8e8e8; --gray-7: #fafafa;
  --ok-bg: #e9f5db; --ok-ink: #446d12; --warn-bg: #ffeade; --warn-ink: #8a3c00; --info-bg: #d6f0fa; --info-ink: #00577a; --err: #cc2f2f;
  --font: Arial, Helvetica, 'Nimbus Sans L', 'Liberation Sans', FreeSans, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ink: var(--gray-1); --ink-2: var(--gray-2); --ink-3: var(--gray-3); --line: var(--gray-6); --panel: var(--white); --plane: var(--gray-7);
  --radius: 8px; --shadow: 0 1px 2px rgba(25,25,25,.08), 0 8px 24px rgba(25,25,25,.10);
  --bar-h: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--plane); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; }
a { color: var(--maroon); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gray-1); outline-offset: 2px; box-shadow: 0 0 0 5px var(--gold); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gray-1); padding: .5rem 1rem; z-index: 30; }
.skip:focus { left: 8px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One bar on every screen: ASU Next Lab | Twin Studio on the left, New twin on the right. With a twin
   open (View or Details) it also holds the twin's search box in the middle and, on the right, its
   connection lights, About (i) and View | Details. White, because the Next Lab logo is maroon and black. */
.bar { position: sticky; top: 0; z-index: 10; height: var(--bar-h); padding: 0 1.5rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search right";
  align-items: center; column-gap: 1.5rem;
  background: var(--white); color: var(--ink); border-bottom: 1px solid var(--gray-5); box-shadow: 0 1px 4px rgba(25,25,25,.06); }
.brand { grid-area: brand; display: flex; align-items: center; min-width: 0; }
.brand-logo-link { display: block; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-divider { width: 1px; height: 40px; background: var(--gray-4); margin: 0 1rem; }
/* Twin Studio is the way home (My twins): a button with a home icon. */
.home-btn { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem 0 .8rem;
  border: 1px solid var(--gray-4); border-radius: 400rem; background: var(--white); color: var(--ink); text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s; }
.home-btn svg { flex: none; color: var(--maroon); }
.home-btn:hover { background: var(--gray-7); border-color: var(--gray-1); box-shadow: 0 2px 6px rgba(25,25,25,.12); }
.home-btn[aria-current] { background: var(--gray-6); border-color: var(--gray-5); }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; white-space: nowrap; }
.bar-right { grid-area: right; justify-self: end; display: flex; align-items: center; gap: 1rem; }

/* The twin's search box. Its answers open inside the twin, just under it. Same look as the engine's. */
.search { grid-area: search; justify-self: center; width: 100%; max-width: 640px; height: 44px; display: flex; align-items: center; gap: .5rem;
  padding: 0 .25rem 0 1rem; border: 1px solid var(--gray-4); border-radius: 400rem; background: var(--white); }
.search:focus-within { border-color: var(--gray-1); box-shadow: 0 0 0 3px var(--gold); }
.search.open { border-color: var(--gray-1); }
.search .spark { flex: none; color: var(--maroon); font-weight: 700; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: .875rem; padding: 0; }
.search input:focus, .search input:focus-visible { outline: none; box-shadow: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: inherit; font-size: .75rem; color: var(--ink-3); border: 1px solid var(--gray-5); border-radius: 4px; padding: 1px 6px; }
.search button { flex: none; height: 36px; border: 0; border-radius: 400rem; background: var(--gold); color: var(--gray-1); font-weight: 700; font-size: .875rem; padding: 0 1rem; }

/* Connection lights: Google Maps (or the open basemap) and CreateAI (or keyword lookup). */
.lights { display: inline-flex; align-items: center; gap: .4rem; }
.light { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 400rem; background: var(--gray-7); border: 1px solid var(--line);
  font-size: .75rem; color: var(--ink-2); white-space: nowrap; }
.light .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-4); flex: none; }
.light .dot.ok { background: #78be20; box-shadow: 0 0 0 3px var(--ok-bg); }
.light .dot.warn { background: #ff7f32; box-shadow: 0 0 0 3px var(--warn-bg); }
.light .short { display: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-4); background: var(--white); color: var(--ink);
  font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.icon-btn:hover { background: var(--gray-6); }

.bar-new { flex: none; }
.bar-new .plus { font-size: 1.15rem; line-height: 1; }

/* The open twin: its name beside the Twin Studio button, View | Details at the top right. */
.twin-crumb { display: flex; align-items: center; gap: .6rem; min-width: 0; margin-left: .75rem; }
.twin-crumb .sep { color: var(--gray-4); font-size: 1.25rem; line-height: 1; flex: none; }
.twin-crumb b { font-size: 1.0625rem; max-width: 17rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.twin-tabs { display: flex; align-items: center; flex: none; }
.seg { display: inline-flex; padding: 3px; background: var(--gray-6); border-radius: 400rem; }
.seg a, .seg .off { padding: .28rem .9rem; border-radius: 400rem; color: var(--ink-2); text-decoration: none; font-size: .875rem; font-weight: 700; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { background: var(--gold); color: var(--gray-1); }
.seg .off { color: var(--gray-4); cursor: not-allowed; }

/* Narrower screens: short light labels, then the search box gets its own row. */
@media (max-width: 1599px) {
  .light .full { display: none; }
  .light .short { display: inline; }
}
@media (max-width: 1365px) {
  body.has-search { --bar-h: 116px; }
  body.has-search .bar { grid-template-columns: auto 1fr auto; grid-template-rows: 64px 44px; grid-template-areas: "brand . right" "search search search";
    align-content: start; padding-bottom: 8px; }
  body.has-search .search { max-width: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.25rem; padding: .4rem 1.1rem;
  border-radius: 400rem; border: 1px solid transparent; font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(25,25,25,.18); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn.primary { background: var(--maroon); color: var(--white); }
.btn.gold { background: var(--gold); color: var(--gray-1); }
.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--gray-4); }
.btn.small { min-height: 1.9rem; padding: .25rem .9rem; font-size: .8125rem; }

/* Pages (everything except View) */
main { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; outline: none; }
.loading { color: var(--ink-3); }
.page-head { margin-bottom: 1.5rem; }
.page-head h1 { font-size: 2rem; }
.page-head p { color: var(--ink-2); margin: .5rem 0 0; max-width: 70ch; }
.error-box { background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid var(--warn-ink); padding: .75rem 1rem; border-radius: 4px; }
.error-box ul { margin: .25rem 0 0; padding-left: 1.25rem; }

/* View: the twin inside the studio */
.stage { position: fixed; inset: var(--bar-h) 0 0 0; background: var(--plane); visibility: hidden; }
.stage iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--plane); }
body.viewing { overflow: hidden; }
body.viewing main { display: none; }
body.viewing .stage { visibility: visible; }
.stage-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  padding: 2rem 1.5rem; text-align: center; background: var(--plane); }
.stage-msg h1 { font-size: 1.4rem; }
.stage-msg p { margin: 0; max-width: 52ch; color: var(--ink-2); }
.spinner { width: 36px; height: 36px; border: 3px solid var(--gray-6); border-top-color: var(--maroon); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* My twins */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-map { display: block; height: 116px; background: #f4f1ec; border-bottom: 1px solid var(--line); }
.card-map svg { display: block; width: 100%; height: 100%; }
.card-map svg.has-tiles { background: #9c9784; }
.has-tiles .map-halo { fill: rgba(255,255,255,.55); }
.has-tiles .map-dot { stroke-width: 2; }
.map-grid { stroke: #e6e0d6; stroke-width: 1; }
.map-halo { fill: rgba(140,29,64,.14); }
.map-dot { fill: var(--maroon); stroke: var(--white); stroke-width: 1.5; }
.map-empty { fill: var(--ink-3); font: 600 12px var(--font); }
.card-body { padding: 1rem 1.1rem .5rem; flex: 1; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.card h2 { font-size: 1.2rem; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.sub { color: var(--ink-2); margin: .25rem 0 0; font-size: .9375rem; }
.counts { margin: .75rem 0 0; font-size: .875rem; color: var(--ink); }
.updated { margin: .5rem 0 0; font-size: .8125rem; color: var(--ink-3); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 1.1rem 1.1rem; }
.card-actions .push { margin-left: auto; }
/* Make public / Make private (Studio admins, hosted Studio): an in-card confirmation */
.card-confirm { flex: 1 1 100%; background: var(--plane); border: 1px solid var(--line); border-radius: 6px; padding: .7rem .8rem; }
.card-confirm p { margin: 0 0 .6rem; font-size: .875rem; color: var(--ink-2); }
.card-confirm .row { display: flex; flex-wrap: wrap; gap: .5rem; }
.card-confirm .confirm-error { margin: .55rem 0 0; color: var(--warn-ink); font-weight: 700; }
.admin-status { margin: 1rem 0 0; padding: .6rem .9rem; border-left: 4px solid var(--ok-ink); background: var(--ok-bg); color: var(--ok-ink);
  border-radius: 4px; font-size: .875rem; font-weight: 700; }
.map-credit { margin: 1rem 0 0; color: var(--ink-3); font-size: .75rem; }
.new-card { border: 2px dashed var(--gray-4); background: transparent; }
.new-card a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: 2rem 1.5rem;
  min-height: 280px; color: var(--ink); text-decoration: none; text-align: center; }
.new-card .plus { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 2rem; font-weight: 700; line-height: 1; }
.new-card .label { font-weight: 700; font-size: 1.15rem; margin-top: .4rem; }
.new-card .hint { color: var(--ink-3); font-size: .875rem; max-width: 26ch; }

/* State pills and progress */
.pill { flex: none; display: inline-flex; align-items: center; gap: .3rem; border-radius: 400rem; padding: .15rem .65rem; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill.info { background: var(--info-bg); color: var(--info-ink); }
.pill.muted { background: var(--gray-6); color: var(--gray-2); }
.pill.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.progress { margin: .75rem 0 0; }
.progress-bar { height: 6px; border-radius: 3px; background: var(--gray-6); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--maroon); border-radius: 3px; transition: width .4s; }
.progress p { margin: .35rem 0 0; font-size: .8125rem; color: var(--ink-2); }

/* Details */
.twin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.twin-head h1 { font-size: 2rem; }
.head-actions { display: flex; align-items: center; gap: .75rem; }
.desc { max-width: 75ch; color: var(--ink-2); margin: .75rem 0 1.5rem; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.cols .panel { margin-bottom: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.panel h3 { font-size: 1rem; margin: 0 0 .6rem; }
.panel .note { color: var(--ink-3); font-size: .875rem; margin: 0; }
.panel .prompt + .note { margin-top: .6rem; }
.callout { background: var(--gray-1); color: var(--white); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; }
.callout.warn { border-left: 6px solid var(--gold); }
.callout h2 { font-size: 1.15rem; }
.callout p { margin: .5rem 0 0; color: var(--gray-6); }
.callout .fine { font-size: .875rem; color: var(--gray-4); }
.prompt { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; background: #2b2b2b; border-radius: 6px; padding: .6rem .6rem .6rem .9rem; }
.prompt code { flex: 1; font-family: var(--mono); font-size: .875rem; color: var(--white); overflow-wrap: anywhere; }
.panel .prompt { background: var(--gray-7); border: 1px solid var(--line); }
.panel .prompt code { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: .75rem; padding-bottom: 1rem; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--gray-6); }
.steps li.done:not(:last-child)::after { background: var(--maroon); }
.steps .icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 700;
  background: var(--white); border: 2px solid var(--gray-5); color: var(--ink-3); z-index: 1; }
.steps .done .icon { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.steps .current .icon { border-color: var(--maroon); color: var(--maroon); animation: ring 1.6s infinite; }
.steps .failed .icon { background: var(--warn-ink); border-color: var(--warn-ink); color: var(--white); }
@keyframes ring { 50% { box-shadow: 0 0 0 5px rgba(140,29,64,.15); } }
.steps .name { font-weight: 700; padding-top: .2rem; }
.steps .when { font-size: .8125rem; color: var(--ink-3); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .5rem; font-size: .9375rem; }
.checks .r { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-top: .1rem; }
.checks .ok .r { background: var(--ok-bg); color: var(--ok-ink); }
.checks .failed .r { background: var(--warn-bg); color: var(--warn-ink); }
.checks .skipped .r { background: var(--gray-6); color: var(--gray-2); }
.checks .detail { display: block; font-size: .8125rem; color: var(--ink-3); }

.inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.5rem; }
.inside h3 { font-size: .875rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--gray-7); border: 1px solid var(--line); border-radius: 400rem; padding: .15rem .6rem; font-size: .8125rem; }
.chips .more { background: transparent; border-style: dashed; color: var(--ink-3); }

table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-3); font-weight: 700; font-size: .8125rem; }
.table-wrap { overflow-x: auto; }
.fold summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; }
.fold[open] summary { margin-bottom: 1rem; }
.fold .cols { margin-bottom: 1rem; }
.md { margin-top: .5rem; font-size: .9375rem; }
.md h2 { font-size: 1.15rem; margin: 1.25rem 0 .5rem; } .md h3 { font-size: 1rem; margin: 1rem 0 .4rem; } .md h4 { font-size: .9375rem; margin: .9rem 0 .3rem; }
.md code { font-family: var(--mono); font-size: .85em; background: var(--gray-6); padding: 0 .25em; border-radius: 3px; }
.foot { font-size: .8125rem; color: var(--ink-3); overflow-wrap: anywhere; }
.foot code { font-family: var(--mono); }

/* New twin */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
form.panel { padding: 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field > label, .field legend { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .3rem; }
.field .req { color: var(--maroon); }
.field .hint { font-size: .8125rem; color: var(--ink-3); margin: .3rem 0 0; }
.field .hint.bad { color: var(--err); }
.field .hint.good { color: var(--ok-ink); }
input[type=text], input[type=url], textarea { width: 100%; padding: .55rem .75rem; border: 1px solid var(--gray-4); border-radius: 0; background: var(--white); }
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--gray-1); }
fieldset { border: 0; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choices { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .9375rem; }
.choices label, .check { display: inline-flex; align-items: center; gap: .45rem; }
.check { align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: .2rem; }
input[type=checkbox], input[type=radio] { width: 1.1rem; height: 1.1rem; accent-color: var(--maroon); }
.confirm { background: var(--gray-7); border: 1px solid var(--line); padding: .85rem 1rem; }
.form-actions { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.form-actions .hint { font-size: .8125rem; color: var(--ink-3); }
#form-error { margin-bottom: 1.25rem; }
.aside h2 { font-size: 1rem; margin-bottom: .6rem; }
.aside ol { margin: 0; padding-left: 1.2rem; font-size: .9375rem; color: var(--ink-2); display: grid; gap: .5rem; }
.aside b { color: var(--ink); }
.aside .note { margin-top: .9rem; }
/* The hosted Studio's New twin result (infra/amplify-main/new.js) */
.next-steps { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .6rem; font-size: .9375rem; color: var(--ink-2); }
.next-steps b { color: var(--ink); }
.next-steps .prompt + .note { margin-top: .35rem; }
.prompt.long code { max-height: 10rem; overflow-y: auto; }
::placeholder { color: #9a9a9a; opacity: 1; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(150%); background: var(--gray-1); color: var(--white);
  padding: .7rem 1.1rem; border-radius: 6px; box-shadow: var(--shadow); font-size: .9375rem; max-width: min(90vw, 560px); z-index: 20;
  visibility: hidden; opacity: 0; transition: transform .25s, opacity .25s, visibility 0s .25s; }
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; opacity: 1; transition: transform .25s, opacity .25s; }
.toast.error { background: var(--err); }
.toast a { color: var(--gold); }

/* Narrow phones: the home button keeps its icon, and its name stays for screen readers, so it doesn't run
   under New twin and Sign out. */
@media (max-width: 440px) {
  .bar .home-btn { width: 34px; padding: 0; justify-content: center; }
  .bar .home-btn .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 860px) {
  .cols, .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --bar-h: 56px; }
  .bar { padding: 0 1rem; column-gap: .6rem; }
  .brand-logo { height: 26px; }
  .brand-divider { height: 28px; margin: 0 .55rem; }
  .home-btn { height: 34px; padding: 0 .75rem 0 .6rem; gap: .35rem; }
  .brand-name { font-size: .9375rem; }
  .bar-right { gap: .45rem; }
  .lights { display: none; }
  /* Inside a twin there's less room: the home button keeps only its icon. */
  .seg a, .seg .off { padding: .25rem .65rem; }
  /* Inside a twin on a phone: the home button keeps its icon, and the twin's name takes the logo's place. */
  body.in-twin .brand-logo-link, body.in-twin .brand-divider, body.in-twin .brand-name { display: none; }
  body.in-twin .home-btn { width: 34px; padding: 0; justify-content: center; }
  .twin-crumb { margin-left: .45rem; gap: .4rem; }
  .twin-crumb b { font-size: .9375rem; }
  body.has-search { --bar-h: 108px; }
  body.has-search .bar { grid-template-rows: 56px 44px; }
  .icon-btn { width: 32px; height: 32px; }
  .bar-new { padding: .4rem .8rem; }
  .bar-new .label { display: none; }
  main { padding: 1.25rem 1rem 3rem; }
  .page-head h1, .twin-head h1 { font-size: 1.6rem; }
  .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .prompt { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
