:root {
  --easy-canvas: #fff9f4;
  --easy-surface: rgb(255 254 252 / .88);
  --easy-peach-50: #fdf0e8;
  --easy-peach-100: #f9ddcf;
  --easy-coral: #f05a3c;
  --easy-coral-action: #c9412e;
  --easy-coral-pressed: #ae3526;
  --easy-ink: #173653;
  --easy-ink-soft: #52677a;
  --easy-line: #efd8cc;
  --easy-success: #5d8061;
  --easy-success-bg: #eaf3e8;
  --easy-danger: #b43b35;
  --easy-radius-sm: 12px;
  --easy-radius-md: 18px;
  --easy-radius-lg: 24px;
  --easy-radius-xl: 30px;
  --easy-shadow: 0 12px 36px rgb(95 51 34 / .08);
}

html, body { min-height: 100%; }

body {
  min-width: 320px;
  background: var(--easy-canvas) url("ui-assets/girl-v1/background-clouds.webp") center / cover fixed;
  color: var(--easy-ink);
  font-family: var(--easy-reading);
}

body.guide-page { background: #1c3145; }

button, a, input, textarea, summary { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--easy-coral);
  outline-offset: 3px;
}

.ph { display: inline-grid; place-items: center; flex: none; font-size: 22px; line-height: 1; }

.site-nav {
  position: relative;
  z-index: 10;
  width: min(100%, 520px);
  height: 64px;
  padding: 0 20px;
  border: 0;
}

.brand, .guide-brand {
  color: var(--easy-coral);
  font-family: var(--easy-display);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -.06em;
}

.brand span, .guide-brand span { color: inherit; }

.nav-action {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--easy-line);
  border-radius: 50%;
  background: rgb(255 254 252 / .76);
  color: var(--easy-ink-soft);
  box-shadow: 0 4px 12px rgb(95 51 34 / .05);
  cursor: pointer;
}

.nav-action:active { transform: scale(.96); }

.one-screen {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  height: calc(100dvh - 64px);
  min-height: 0;
  margin: 0 auto;
  padding: 14px 20px max(16px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.mini-step { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.page-intro {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 86px;
  margin-bottom: 14px;
}

.one-screen h1 {
  margin: 0;
  color: var(--easy-ink);
  font-family: var(--easy-display);
  font-size: clamp(36px, 10vw, 50px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.ui-companion {
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: -12px;
  width: min(36vw, 156px);
  max-height: 118px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.materials-form, .confirm-form {
  display: flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 11px;
}

.materials-form { flex-direction: column; }
.materials-form .button:disabled { background: #ddd5d1; color: #8b807a; border-color: #ddd5d1; box-shadow: none; cursor: not-allowed; transform: none; opacity: 1; }

.prompt-panel {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 124px;
  padding: 0;
  border: 0;
  border-radius: var(--easy-radius-lg);
  background: transparent;
}

.prompt-panel::after { display: none; }

.prompt-panel textarea {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--easy-line);
  border-radius: var(--easy-radius-lg);
  background: var(--easy-surface);
  box-shadow: var(--easy-shadow);
  color: var(--easy-ink);
  font: 500 19px/1.55 var(--easy-reading);
  resize: none;
}

.prompt-panel textarea::placeholder { color: #8b99a8; opacity: 1; }
.prompt-panel textarea:focus { border-color: var(--easy-coral); outline: 3px solid rgb(240 90 60 / .18); }

.optional-panel {
  flex: none;
  overflow: hidden;
  border: 1px solid var(--easy-line);
  border-radius: var(--easy-radius-md);
  background: var(--easy-surface);
  box-shadow: 0 6px 18px rgb(95 51 34 / .04);
}

.optional-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 17px;
  color: var(--easy-ink);
  cursor: pointer;
  font: 400 19px/1 var(--easy-display);
  list-style: none;
}

.optional-panel summary::-webkit-details-marker { display: none; }
.optional-panel summary::after { display: none; }
.optional-panel summary .ph { color: var(--easy-coral); }
.optional-panel[open] summary .ph-plus { display: none; }
.optional-panel summary .ph-minus { display: none; }
.optional-panel[open] summary .ph-minus { display: inline-grid; }

.optional-body { max-height: 30dvh; padding: 5px 17px 17px; overflow: auto; }
.optional-body .field { gap: 5px; margin: 11px 0; }
.optional-body .field label { color: var(--easy-ink-soft); font: 700 13px/1.2 var(--easy-reading); }
.optional-body .field input, .optional-body .field textarea { border-color: var(--easy-line); border-radius: var(--easy-radius-sm); font-family: var(--easy-reading); }

.file-picker label {
  min-height: 44px;
  border-color: var(--easy-line);
  border-radius: var(--easy-radius-sm);
  background: #fff;
  color: var(--easy-ink);
  font: 700 14px var(--easy-reading);
}

.file-name { color: var(--easy-ink-soft); padding-top: 5px; }

.action-dock { flex: none; padding-top: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--easy-radius-md);
  font: 400 18px/1 var(--easy-display);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.button .ph { margin-right: 8px; font-size: 20px; }
.button.primary { margin: 0; border: 1px solid var(--easy-coral-action); background: var(--easy-coral-action); box-shadow: 0 10px 22px rgb(201 65 46 / .18); color: #fff; }
.button.primary:hover { background: var(--easy-coral-pressed); }
.button.primary:active { transform: scale(.98); background: var(--easy-coral-pressed); }
.button.secondary { margin: 0; border-color: var(--easy-line); background: var(--easy-surface); box-shadow: none; color: var(--easy-ink); }
.button.secondary:active { transform: scale(.98); }
.action-dock .button { display: flex; width: 100%; }

.resume-section { margin: 8px 0 0; border-color: transparent; background: transparent; box-shadow: none; }
.resume-section summary { justify-content: center; color: var(--easy-ink-soft); font-size: 16px; }
.resume-list { max-height: 20dvh; padding: 0 5px 7px; overflow: auto; }
.resume-list a { color: var(--easy-ink-soft); font: 500 13px/1.35 var(--easy-reading); }

.confirm-form { flex-direction: column; flex: 1; }
.confirm-form .check-stack { flex: 1; min-height: 0; margin: 0; padding: 1px 1px 4px; overflow: auto; align-content: start; gap: 9px; }
.confirm-form .check-item {
  min-height: 58px;
  border-color: var(--easy-line);
  border-radius: 17px;
  background: var(--easy-surface);
  box-shadow: 0 5px 15px rgb(95 51 34 / .04);
  color: var(--easy-ink);
  font: 600 15px/1.4 var(--easy-reading);
}
.confirm-form .check-item:has(input:checked) { border-color: rgb(240 90 60 / .48); background: #fff0e9; }
.confirm-form .check-item input { width: 22px; height: 22px; accent-color: var(--easy-coral-action); }
.confirm-form .directions>div>div label, .confirm-form .density>div>div { border-color: var(--easy-line); }
.confirm-form .directions>div>div:has(input:checked) label, .confirm-form .density>div>div:has(input:checked) { border-color: rgb(240 90 60 / .48); background: #fff0e9; }

.result-page { display: flex; flex-direction: column; }
.result-page .page-intro { flex: none; min-height: 64px; margin-bottom: 12px; }
.result-page #generation-status { display: flex; flex: 1; min-height: 0; }
.status-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--easy-line);
  border-radius: var(--easy-radius-xl);
  background: var(--easy-surface);
  box-shadow: var(--easy-shadow);
  text-align: center;
}
.status-card p { margin: 0; color: var(--easy-ink); font: 400 clamp(25px, 7vw, 35px)/1.2 var(--easy-display); }
.status-card .status-note { margin-top: 9px; color: var(--easy-ink-soft); font: 600 14px/1.4 var(--easy-reading); }
.wait-details { display: grid; flex: none; gap: 5px; max-width: calc(100% - 32px); margin-top: 18px; color: var(--easy-ink-soft); font: 400 13px/1.5 var(--easy-reading); overflow-wrap: anywhere; }
.wait-elapsed { color: var(--easy-ink); font-variant-numeric: tabular-nums; }
@media (max-height: 740px) {
  .status-card .ui-status-character { max-height: 20dvh; }
  .status-research-scene { height: 23dvh; }
  .status-card p { font-size: 25px; }
  .status-steps { gap: 6px; margin-top: 12px; }
  .wait-details { gap: 2px; margin-top: 10px; font-size: 12px; }
  .status-card .status-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .status-card .status-step { flex-direction: column; gap: 5px; font-size: 12px; white-space: nowrap; }
}
.status-card .ui-status-character { width: min(44vw, 196px); max-height: 28dvh; object-fit: contain; }
.status-card .ui-status-research { width: min(52vw, 240px); max-height: 33dvh; }
.status-research-scene { position: relative; flex: none; width: min(52vw, 240px); height: min(28dvh, 240px); margin: 0 0 24px; }
.status-research-scene .ui-status-research { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%; object-fit: contain; animation: guide-research 2.8s ease-in-out infinite; will-change: transform; }
.status-card > p, .status-card > .status-note { flex: none; position: relative; }
/* Never introduce a default mascot before guide selection. */
.journey-status::after { content: none; background: none; }
@media (max-height: 740px) {
  .status-card .ui-status-character { max-height: 20dvh; }
  .status-research-scene { height: 20dvh; margin-bottom: 20px; }
  .status-card .status-research-scene .ui-status-research { max-height: 100%; }
}
.status-sweat { position: absolute; width: 9px; height: 14px; border: 1px solid rgb(76 153 207 / .55); border-radius: 70% 30% 70% 30%; background: linear-gradient(145deg, #dff5ff, #65bae7); opacity: .9; transform: rotate(38deg); animation: guide-sweat 1.45s ease-in-out infinite; }
.status-sweat-one { left: 23%; top: 20%; }
.status-sweat-two { left: 17%; top: 28%; width: 7px; height: 11px; animation-delay: .26s; }
.status-sweat-three { left: 28%; top: 13%; width: 6px; height: 10px; animation-delay: .54s; }
.status-page-turn { position: absolute; right: 8%; bottom: 21%; width: 32px; height: 23px; border: 1px solid rgb(184 137 92 / .35); border-radius: 2px 8px 3px 2px; background: linear-gradient(135deg, #fffef9 0 52%, #f7d9b6 53% 58%, #fff6e9 59% 100%); box-shadow: -5px 3px 0 #f9e5cc; transform-origin: 0 100%; animation: guide-page-turn 1.7s ease-in-out infinite; }
@keyframes guide-research { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 42% { transform: translate3d(-2px, 2px, 0) rotate(-1.2deg); } 68% { transform: translate3d(2px, -1px, 0) rotate(.8deg); } }
@keyframes guide-sweat { 0%, 35% { opacity: 0; transform: translate3d(0, -5px, 0) rotate(38deg) scale(.65); } 54% { opacity: .95; } 100% { opacity: 0; transform: translate3d(4px, 14px, 0) rotate(38deg) scale(1); } }
@keyframes guide-page-turn { 0%, 18% { transform: rotateY(0) rotate(-4deg); } 52% { transform: rotateY(66deg) rotate(7deg) translateY(-4px); } 78%, 100% { transform: rotateY(0) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .status-research-scene .ui-status-research, .status-sweat, .status-page-turn { animation: none; } }
.status-card .button { min-width: 136px; margin-top: 20px; }
.status-card.is-success { background: linear-gradient(180deg, #fffefc, var(--easy-success-bg)); }
.status-card.is-error { background: linear-gradient(180deg, #fffefc, #fff1ed); }
.status-steps { display: grid; width: min(250px, 80%); margin-top: 20px; gap: 11px; text-align: left; }
.status-step { display: flex; align-items: center; gap: 10px; color: var(--easy-ink-soft); font: 700 14px/1 var(--easy-reading); }
.status-step .ph { display: grid; width: 28px; height: 28px; border-radius: 50%; background: var(--easy-peach-50); color: var(--easy-coral); font-size: 17px; }
.status-step.is-done .ph { background: var(--easy-success-bg); color: var(--easy-success); }
.status-step.is-active { color: var(--easy-coral-action); }
.status-step.is-active .ph { background: #ffe4d9; color: var(--easy-coral-action); }

/* Reading is a journey, not a dashboard: the server owns state; this UI only makes it legible. */
.status-card:has(.research-journey) {
  display: block;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  scrollbar-width: none;
}
.status-card:has(.research-journey)::-webkit-scrollbar { display: none; }
.status-card:has(.research-journey) > .wait-details { display: none; }
.research-journey {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2px 2px 12px;
}
.research-journey__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding: 0 3px;
  color: var(--easy-ink-soft);
  font: 700 12px/1 var(--easy-reading);
  letter-spacing: .01em;
}
.research-live { display: inline-flex; align-items: center; gap: 7px; color: var(--easy-coral-action); }
.research-live > span { width: 7px; height: 7px; border-radius: 50%; background: var(--easy-coral); box-shadow: 0 0 0 0 rgb(240 90 60 / .28); animation: research-live-pulse 1.9s ease-out infinite; }
.research-elapsed { font-variant-numeric: tabular-nums; }
.research-journey__visual {
  position: relative;
  display: grid;
  width: min(100%, 330px);
  height: clamp(168px, 29dvh, 222px);
  margin: 5px auto 0;
  place-items: center;
  isolation: isolate;
}
.research-journey__visual::before {
  position: absolute;
  z-index: -3;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fff 0 12%, #fff3eb 43%, rgb(249 221 207 / .4) 70%, transparent 71%);
  content: "";
}
.research-orbit { position: absolute; z-index: -2; border: 1px dashed rgb(240 90 60 / .26); border-radius: 50%; }
.research-orbit--one { width: 68%; aspect-ratio: 1; transform: rotate(-20deg); }
.research-orbit--two { width: 89%; height: 52%; border-color: rgb(23 54 83 / .12); transform: rotate(12deg); }
.research-mascot { z-index: 1; width: min(52vw, 218px); height: 100%; object-fit: contain; animation: research-mascot-float 3.4s ease-in-out infinite; }
.research-mascot--hamster { width: min(58vw, 236px); transform: translateY(5px); }
.research-signal { position: absolute; z-index: 2; border-radius: 50%; box-shadow: 0 8px 15px rgb(46 94 120 / .12); }
.research-signal--one { top: 18%; left: 8%; width: 13px; height: 13px; background: #ff9b86; animation: research-signal 2.1s ease-in-out infinite; }
.research-signal--two { right: 6%; bottom: 24%; width: 18px; height: 10px; border-radius: 999px; background: #91d8c5; animation: research-signal 2.1s ease-in-out .6s infinite; }
.research-kicker { margin: 3px 0 7px; color: var(--easy-coral-action); font: 800 13px/1.2 var(--easy-reading); letter-spacing: .04em; }
.research-journey h2 { margin: 0; color: var(--easy-ink); font: 400 clamp(27px, 7.7vw, 35px)/1.13 var(--easy-display); letter-spacing: -.035em; }
.research-summary { margin: 10px 0 18px; color: var(--easy-ink-soft); font: 500 14px/1.65 var(--easy-reading); }
.research-track { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.research-track li { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; min-height: 50px; align-items: center; color: #8493a0; }
.research-track li:not(:last-child)::after { position: absolute; top: 34px; bottom: -2px; left: 16px; width: 1px; background: var(--easy-line); content: ""; }
.research-track__icon { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--easy-line); border-radius: 12px; background: #fffdfb; color: #9aa7b2; }
.research-track__icon .ph { font-size: 17px; }
.research-track strong, .research-track small { display: block; font-family: var(--easy-reading); }
.research-track strong { font-size: 14px; line-height: 1.25; }
.research-track small { margin-top: 3px; color: #a4b0ba; font-size: 11px; line-height: 1; }
.research-track .is-active { color: var(--easy-ink); }
.research-track .is-active .research-track__icon { border-color: transparent; background: var(--easy-coral-action); color: #fff; box-shadow: 0 7px 16px rgb(201 65 46 / .18); }
.research-track .is-active small { color: var(--easy-coral-action); font-weight: 700; }
.research-detail { margin-top: 17px; border-top: 1px solid var(--easy-line); color: var(--easy-ink-soft); }
.research-detail summary { display: flex; min-height: 45px; align-items: center; justify-content: space-between; color: var(--easy-ink); cursor: pointer; font: 700 13px/1.3 var(--easy-reading); list-style: none; }
.research-detail summary::-webkit-details-marker { display: none; }
.research-detail summary .ph { transition: transform 160ms ease; }
.research-detail[open] summary .ph { transform: rotate(180deg); }
.research-detail p { margin: -2px 2px 12px; font: 500 13px/1.62 var(--easy-reading); }
@keyframes research-live-pulse { 0% { box-shadow: 0 0 0 0 rgb(240 90 60 / .32); } 70%, 100% { box-shadow: 0 0 0 7px rgb(240 90 60 / 0); } }
@keyframes research-mascot-float { 0%, 100% { transform: translateY(5px) rotate(-.8deg); } 48% { transform: translateY(-2px) rotate(.8deg); } }
@keyframes research-signal { 0%, 100% { transform: translateY(0) scale(.9); opacity: .65; } 50% { transform: translateY(-7px) scale(1.08); opacity: 1; } }
@media (max-height: 740px) {
  .research-journey__visual { height: 144px; margin-top: 0; }
  .research-kicker { margin-top: 0; }
  .research-summary { margin-block: 7px 11px; }
  .research-track li { min-height: 43px; }
  .research-track li:not(:last-child)::after { top: 31px; }
  .research-track__icon { width: 31px; height: 31px; border-radius: 10px; }
  .research-detail { margin-top: 9px; }
  .research-detail summary { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .research-live > span, .research-mascot, .research-signal { animation: none; }
}

.result-stage {
  flex: 1;
  min-height: 0;
  /* Keep navigation outside the generated canvas: it must not cover learning content. */
  overflow: visible;
  border: 1px solid var(--easy-line);
  border-radius: var(--easy-radius-lg);
  background: #fff;
  box-shadow: var(--easy-shadow);
}
.result-slide { overflow: hidden; border-radius: inherit; }
.result-slide img { background: #fff; }
/* The persistent bottom action already downloads the selected page. */
.result-download { display: none; }
.result-arrow { width: 36px; height: 36px; border-color: rgb(255 255 255 / .82); background: rgb(255 254 252 / .74); color: var(--easy-coral-action); font: inherit; }
.result-arrow .ph { font-size: 20px; }
.result-previous { left: -18px; }
.result-next { right: -18px; }
.result-version { top: -43px; right: 0; left: auto; border-color: var(--easy-line); background: rgb(255 254 252 / .86); color: var(--easy-ink-soft); transform: none; }
.result-version strong { font-family: var(--easy-display); }
.result-actions { display: flex; flex: none; gap: 10px; padding-top: 12px; }
.result-actions .button { flex: 1; min-height: 48px; font-size: 16px; }
.result-actions .result-diagnostics { flex: 0 0 82px; padding-inline: 10px; }
@media (max-width: 360px) {
  .result-actions { gap: 6px; }
  .result-actions .button { min-width: 0; padding-inline: 8px; gap: 6px; }
  .result-actions .result-diagnostics { flex-basis: 70px; }
}

/* Full-screen guide remains an immersive illustration, not a card. */
.guide-stage { background: #1c3145; }
.guide-brand { top: 18px; left: 20px; color: #fff; font-size: 25px; }
.guide-step { display: none; }
.guide-scrim { background: linear-gradient(180deg, rgb(5 14 26 / .16), transparent 44%, rgb(5 14 26 / .78)); }
.guide-copy { right: 24px; bottom: 104px; left: 24px; max-width: none; }
.guide-copy h1 { font-family: var(--easy-display); font-size: clamp(34px, 9vw, 44px); }
.guide-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / .60); background: rgb(255 255 255 / .31); color: #fff; font: inherit; }
.guide-arrow .ph { font-size: 25px; }
.guide-confirm { right: 20px; bottom: 20px; left: 20px; text-align: left; }
.guide-confirm .button { width: 100%; background: #fff; color: var(--easy-ink); }

/* Authentication is a welcome surface, not a back-office form. */
.compact-auth {
  position: relative;
  width: min(100%, 520px);
  padding: 20px;
}
.compact-auth .auth-panel {
  position: relative;
  width: min(350px, calc(100vw - 40px));
  box-sizing: border-box;
  margin: 0 auto;
  padding: 25px 24px 24px;
  overflow: visible;
}
.auth-companion {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: calc(100% - 42px);
  width: min(35vw, 142px);
  height: auto;
  filter: drop-shadow(0 9px 10px rgb(146 77 48 / .10));
  pointer-events: none;
}
.compact-auth .auth-tabs { position: relative; z-index: 1; }
@media (max-width: 360px) {
  .compact-auth .auth-panel { padding: 21px 20px 20px; }
  .auth-companion { right: 13px; width: 118px; }
}

@media (max-width: 760px) {
  .app-sheet[open] {
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 50%;
    width: min(100%, 520px);
    max-height: min(64dvh, 540px);
    margin: 0;
    transform: translateX(-50%);
    border-radius: 25px 25px 0 0;
    background: #fffaf7;
    box-shadow: 0 -18px 44px rgb(66 41 28 / .18);
  }
  .app-sheet[open]::before { display: block; width: 34px; height: 4px; margin: 9px auto 1px; border-radius: 99px; background: #e5c6b8; content: ""; }
  .app-sheet[open] .optional-body { max-height: none; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .materials-page:has(.app-sheet[open])::after, .confirm-page:has(.app-sheet[open])::after { position: fixed; z-index: 30; inset: 0; background: rgb(45 32 26 / .16); content: ""; pointer-events: none; }
}

@media (max-width: 360px) {
  .one-screen { padding-right: 14px; padding-left: 14px; }
  .page-intro { min-height: 71px; margin-bottom: 9px; }
  .one-screen h1 { font-size: 35px; }
  .ui-companion { max-height: 96px; }
  .prompt-panel textarea { min-height: 108px; padding: 17px; font-size: 18px; }
  .optional-panel summary { min-height: 44px; }
  .button { min-height: 48px; }
  .confirm-form .check-item { min-height: 52px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
