[hidden] { display: none !important; }
:root { font: 17px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; color: #eaf5f0; background: #071c25; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% -25%, #214d58 0, #0b2731 38%, #071c25 75%); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: radial-gradient(#8ee1c0 0.7px, transparent 0.7px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 65%); }
main { position: relative; max-width: 1220px; margin: auto; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
header.hero { text-align: center; padding: 1.7rem 0 1.8rem; }
.brand-mark { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 auto 1rem; border: 1px solid #4b8b84; border-radius: 22px; background: linear-gradient(145deg,#234f54,#0d2b34); box-shadow: 0 16px 45px #0005, inset 0 1px #a5ebd633; }
.brand-mark span { width: 6px; border-radius: 9px; background: #b9edb6; height: 20px; }.brand-mark span:nth-child(2) { height: 34px; background: #77d8ce; }.brand-mark span:nth-child(3) { height: 25px; }
.eyebrow,.step { color: #aee3cd; text-transform: uppercase; letter-spacing: .19em; font-weight: 700; font-size: .68rem; }
h1 { font-family: Georgia, Cambria, serif; font-weight: 400; font-size: clamp(2.65rem, 6.5vw, 5.3rem); line-height: 1.04; letter-spacing: -.055em; margin: .45rem 0; }
h2 { font-family: Georgia, Cambria, serif; font-weight: 400; font-size: clamp(1.95rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.03em; margin: .5rem 0 1rem; }
header p { color: #c8dbd9; font-size: clamp(.95rem, 1.8vw, 1.1rem); margin: 0 auto; }
body[data-screen="conversation-screen"] header.hero,body[data-screen="complete-screen"] header.hero { padding: .2rem 0 .7rem; }
body[data-screen="conversation-screen"] .brand-mark,body[data-screen="complete-screen"] .brand-mark,body[data-screen="conversation-screen"] header .eyebrow,body[data-screen="complete-screen"] header .eyebrow,body[data-screen="conversation-screen"] header p,body[data-screen="complete-screen"] header p { display: none; }
body[data-screen="conversation-screen"] h1,body[data-screen="complete-screen"] h1 { font-size: clamp(1.4rem,3vw,1.8rem); letter-spacing: -.03em; }
body[data-screen="opening-screen"] header.hero { padding: .2rem 0 .7rem; }
body[data-screen="opening-screen"] .brand-mark,body[data-screen="opening-screen"] header .eyebrow,body[data-screen="opening-screen"] header p { display: none; }
body[data-screen="opening-screen"] h1 { font-size: clamp(1.4rem,3vw,1.8rem); letter-spacing: -.03em; }
#opening-screen { min-height: min(65vh, 570px); display: grid; place-items: center; text-align: center; }
#revisit-screen{display:grid;place-items:center;text-align:center;overflow:auto}#revisit-screen .opening-stage{max-width:38rem}#revisit-qr{display:block;width:min(42vw,190px);height:auto;margin:.7rem auto;background:white;padding:.25rem}#revisit-screen button{margin:.3rem;min-height:44px}
.opening-stage { max-width: 36rem; }
.opening-stage p { margin: .5rem auto; color: #c8ded9; }
.opening-count { display: grid; place-items: center; width: clamp(6rem, 16vh, 9rem); aspect-ratio: 1; margin: 1.3rem auto; border: 2px solid #a5e0c1; border-radius: 50%; background: #1a4950; color: #e0f5d1; font-size: clamp(3rem, 8vh, 5rem); font-weight: 750; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 .75rem #a5e0c114; }
p { max-width: 67ch; } a { color: #beeeca; }
#notice { max-width: 1100px; margin: 0 auto .9rem; padding: .65rem 1rem; border: 1px solid #497871; border-radius: 12px; background: #10343bcc; color: #d5efe2; font-size: .87rem; }
#notice.error { border-color: #c88578; background: #663d37; color: #fff2ee; }
section { max-width: 1100px; margin: 0 auto 1.2rem; padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid #47736f; border-radius: 24px; background: linear-gradient(135deg,#153941ef,#102c36f5); box-shadow: 0 25px 60px #0005, inset 0 1px #c5ffeb20; }
.section-head { text-align: center; }.section-head p { margin: 0 auto; color: #bfd4d2; }
.offer-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; width: fit-content; max-width: 100%; margin: 1.35rem auto 0; padding: .55rem 1rem; border: 1px solid #6f9e86; border-radius: 999px; background: #1c4945; color: #e2f5dc; text-align: center; font-size: .8rem; }.offer-note strong { color: #d9f5ad; }
button,input,textarea,select { font: inherit; border-radius: 12px; }
button { border: 1px solid transparent; padding: .8rem 1.15rem; min-height: 3rem; background: #d4f1b9; color: #0c292d; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
button:not(:disabled):hover { transform: translateY(-2px); background: #e6facd; box-shadow: 0 8px 25px #0004; }
button:disabled { opacity: .48; cursor: default; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible { outline: 3px solid #ffcf76; outline-offset: 3px; }
input,textarea,select { border: 1px solid #769b9b; background: #f8fcfa; color: #102b32; padding: .8rem .9rem; width: 100%; }
textarea { resize: vertical; min-height: 5.2rem; }
label { display: block; margin: .7rem 0; }
.confirm { display: flex; gap: .7rem; align-items: flex-start; }.confirm input { width: auto; margin: .35rem 0 0; accent-color: #a4d9a4; }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: .75rem; margin: 1.6rem 0; }
.domain-grid button { text-align: left; min-height: 5.7rem; padding: 1rem 1.1rem; border: 1px solid #4f7979; background: #204550; color: #eef9f2; font-size: 1.05rem; }
.domain-grid button::after { content: '↗'; float: right; font-size: 1.2rem; opacity: .65; }.domain-grid button.selected { background: #d4f1b9; color: #102b32; border-color: #d4f1b9; box-shadow: 0 0 0 2px #d4f1b950; }
#arrival-panel { border: 1px solid #527c7c; border-radius: 14px; padding: 1rem 1.2rem; margin: 1.2rem 0; background: #0c2b35; }
#prepare-qr { display: block; width: 176px; height: 176px; max-width: 100%; margin: .75rem 0; border-radius: 10px; } #prepare-url { overflow-wrap: anywhere; }
#arrival-camera { display: block; width: min(100%, 360px); max-height: 240px; object-fit: cover; margin: .7rem 0; border-radius: 12px; }
#arrival-status { min-height: 1.4em; color: #d8f3e7; font-size: .9rem; } #arrival-status.error { color: #ffbfb3; }
#code { font-size: 2rem; font-weight: 800; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
#arrival-qr { display: block; width: 230px; height: 230px; max-width: 100%; margin: .8rem 0; border: 6px solid white; border-radius: 12px; }
.start-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }.start-actions .confirm { margin: 0; }.fine-print,.voice-disclosure { color: #b2cbc9; font-size: .78rem; }
.agreement { max-height: 16rem; overflow: auto; white-space: pre-wrap; background: #082630; border: 1px solid #426969; border-radius: 14px; padding: 1.2rem; margin: 1.2rem 0; }
.topline { display: flex; align-items: center; justify-content: space-between; color: #c2ead1; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; font-weight: 700; border-bottom: 1px solid #49706c; padding-bottom: .8rem; }
.timer-wrap { display: flex; align-items: center; gap: .75rem; }.timer-wrap strong { font-size: 1.2rem; color: #e3f9d4; font-variant-numeric: tabular-nums; }
.conversation-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); gap: clamp(1rem,3vw,2.5rem); padding-top: 1.2rem; }
.conversation-main { min-width: 0; }.conversation-main h2 { margin-bottom: 1.3rem; }
.transcript { height: min(51vh,510px); min-height: 310px; overflow: auto; padding: .5rem .5rem .5rem 0; scrollbar-color: #5d8c86 transparent; }.empty-transcript { color: #b3ccca; padding: 1.2rem 0; }
.message { padding: 1rem 1.1rem; border-radius: 15px; margin: .7rem 0; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 8px 22px #0002; }.message.visitor { background: #28515a; margin-left: 10%; border-bottom-right-radius: 4px; }.message.consultant { background: #dcf0d4; color: #15363b; margin-right: 7%; border-bottom-left-radius: 4px; }
.conversation-controls { border: 1px solid #3c666a; border-radius: 20px; padding: 1.3rem; background: #0c2b35; align-self: start; }
.voice { text-align: center; }.voice p { margin: .65rem auto 1.2rem; color: #bad3d0; font-size: .8rem; }
.orb { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 50%; margin: .4rem auto 1rem; background: radial-gradient(circle at 35% 25%,#dff9c9,#5ec4bc 55%,#1b7d85); box-shadow: 0 0 0 10px #84d9c21b, 0 0 35px #78d9c47b; }.orb span { width: 4px; border-radius: 5px; height: 16px; background: #103840; }.orb span:nth-child(2),.orb span:nth-child(4) { height: 27px; }.orb span:nth-child(3) { height: 40px; }
.listening .orb { animation: pulse 1s ease-in-out infinite alternate; }.starting #speak,.listening #speak { background: #f9d5aa; }
.thinking .orb { animation: pulse 1.5s ease-in-out infinite alternate; filter: saturate(.75); }
@keyframes pulse { to { transform: scale(1.08); box-shadow: 0 0 0 21px #84d9c21b, 0 0 50px #78d9c4; } }
#speak { width: 100%; } #turn-form { display: flex; flex-direction: column; gap: .55rem; } #turn-form button { align-self: stretch; }
.audio-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; align-items: end; border-top: 1px solid #456b6c; padding-top: 1rem; margin-top: 1rem; }.audio-controls button { font-size: .76rem; padding: .55rem; min-height: 2.5rem; }
.quiet,.reset { background: transparent; color: #d8f3e7; border: 1px solid #83aca9; }.quiet:hover,.reset:hover { background: #1f4a50!important; color: white; }
.closing-reply { background: #dcefd6; color: #17363c; padding: 1rem 1.2rem; border-radius: 15px; white-space: pre-wrap; margin: 1.2rem 0; }
#prices p,#prices button { display: block; margin: .6rem 0; }.reset { margin: .7rem 0 1rem; }
footer { text-align: center; color: #a8c3c3; font-size: .8rem; } footer p { margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) { .conversation-layout { grid-template-columns: 1fr; }.transcript { height: 35vh; min-height: 230px; }.conversation-controls { max-width: none; } }
@media (max-width: 800px) { .conversation-controls { order: -1; }.conversation-main { margin-top: .8rem; } }
@media (max-width: 600px) { main { padding: .7rem .7rem 2rem; } header.hero { padding: 1rem 0; } section { border-radius: 18px; }.domain-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.domain-grid button { font-size: .94rem; min-height: 4.7rem; }.start-actions { flex-direction: column; align-items: stretch; }.transcript { min-height: 200px; }.topline { flex-wrap: wrap; gap: .5rem; }.timer-wrap { width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms!important; transition-duration: .01ms!important; scroll-behavior: auto!important; } }

/* One-screen kiosk flow. The agreement is paged in JavaScript rather than scrolled. */
html, body { height: 100%; }
body { overflow: hidden; }
main { height: 100dvh; display: grid; grid-template-rows: auto auto minmax(0, 1fr) min-content; gap: .3rem; padding: .3rem clamp(.5rem, 2vw, 1.2rem); }
header.hero, body[data-screen="conversation-screen"] header.hero, body[data-screen="complete-screen"] header.hero { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 0; }
header.hero .brand-mark, body[data-screen="conversation-screen"] .brand-mark, body[data-screen="complete-screen"] .brand-mark { display: flex; width: 32px; height: 32px; margin: 0; border-radius: 9px; }
header.hero .brand-mark span { width: 3px; height: 10px; } header.hero .brand-mark span:nth-child(2) { height: 16px; }
header.hero .eyebrow, header.hero p { display: none; }
header.hero h1, body[data-screen="conversation-screen"] h1, body[data-screen="complete-screen"] h1 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin: 0; letter-spacing: -.025em; }
#notice { width: 100%; max-width: none; min-height: 2rem; margin: 0; padding: .3rem .7rem; font-size: .78rem; }
section { width: 100%; max-width: none; height: 100%; min-height: 0; margin: 0; padding: clamp(.6rem, 1.5vh, 1rem); overflow: hidden; }
section h2 { font-size: clamp(1.4rem, 3vh, 2rem); margin: .2rem 0 .35rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 1.25rem; line-height: 1.2; font-size: .68rem; }
footer p { max-width: none; margin: 0; } footer .reset { min-height: 2.2rem; margin: 0; padding: .35rem .7rem; font-size: .78rem; }

#start-screen { display: flex; flex-direction: column; }
#start-screen .section-head p { display: none; }
#start-screen .offer-note { margin: .25rem 0; padding: .3rem .7rem; font-size: .74rem; }
#domains { flex: 0 1 auto; min-height: 0; height: min(34vh, 260px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: .35rem 0; }
#domains button { height: 100%; min-height: 44px; padding: .45rem .7rem; font-size: clamp(.82rem, 1.5vw, .95rem); }
#domains .phone-prepare-card { display: flex; align-items: center; gap: .45rem; min-width: 0; padding: .3rem; border: 1px solid #6f9e86; border-radius: 14px; background: #1c4945; }
.phone-prepare-card strong, .phone-prepare-card span { display: block; font-size: .72rem; line-height: 1.25; }
.phone-prepare-card strong { color: #e2f5dc; }
.phone-prepare-card span { color: #b7d7ce; margin-top: .2rem; }
#domains #prepare-qr { flex: 0 0 auto; width: min(14vh, 112px); height: min(14vh, 112px); max-width: 45%; margin: 0; background: white; }
#show-arrival { align-self: flex-start; min-height: 44px; padding: .35rem .7rem; margin: .15rem 0; font-size: .8rem; }
#start-screen .start-hint { margin: .25rem 0 0; font-size: .76rem; color: #c5ded7; }
#start-screen .privacy-trigger { align-self: flex-start; min-height: 44px; margin: .3rem 0; padding: .35rem .7rem; font-size: .78rem; }
.privacy-dialog { width: min(720px, calc(100vw - 2rem)); max-height: min(80dvh, 780px); margin: auto; padding: 1rem 1.25rem; overflow: auto; border: 1px solid #527c7c; border-radius: 14px; background: #0c2b35; color: #eaf5f0; box-shadow: 0 20px 60px #0009; }
.privacy-dialog::backdrop { background: #000a; }
.privacy-dialog .dialog-heading { position: sticky; top: -1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 0; background: #0c2b35; }
.privacy-dialog h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.privacy-dialog p { color: #c5d8d4; font-size: .88rem; }
.privacy-dialog .dialog-heading button { flex: 0 0 auto; min-height: 44px; }
#start-screen > .fine-print { display: none; }
body[data-start-view="arrival"] #start-screen > :not(#arrival-panel) { display: none; }
#arrival-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; padding: .6rem; overflow: auto; }
#back-from-arrival { align-self: flex-start; min-height: 2rem; padding: .25rem .5rem; font-size: .75rem; }
#arrival-panel > p { margin: .25rem 0; font-size: .78rem; }
#arrival-prepare-qr { width: min(22vh, 150px); height: min(22vh, 150px); margin: .3rem 0; background: white; }
#arrival-panel form { display: flex; align-items: end; gap: .5rem; margin-top: .3rem; }
#arrival-panel form label { flex: 1; min-width: 0; margin: 0; font-size: .8rem; }
#arrival-panel form input { padding: .45rem; }
#arrival-panel form button { flex: 0 0 auto; min-height: 2.6rem; padding: .4rem .7rem; font-size: .8rem; }
#arrival-camera { max-height: min(36vh, 240px); margin: .3rem 0; }

#back-to-mode { align-self: flex-start; min-height: 44px; padding: .35rem .7rem; font-size: .78rem; }

#tutorial-screen { display: flex; flex-direction: column; justify-content: center; gap: .55rem; }
#tutorial-screen h2 { margin: .1rem 0 .3rem; }
#tutorial-back { align-self: flex-start; min-height: 44px; padding: .35rem .7rem; font-size: .78rem; }
.tutorial-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: .5rem 0; }
.tutorial-card { min-width: 0; padding: 1rem; border: 1px solid #56817e; border-radius: 16px; background: #204550; }
.tutorial-card strong { display: block; color: #e3f6d3; }
.tutorial-card p { margin: .35rem 0 0; color: #d1e4dd; font-size: .86rem; }
.tutorial-icon { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; margin-bottom: .6rem; border-radius: 50%; background: #a8e3c6; color: #123840; font-size: 1.5rem; font-weight: 800; }
.tutorial-mic { box-shadow: 0 0 0 .45rem #a8e3c626; animation: tutorial-pulse 1.8s ease-in-out infinite; }
@keyframes tutorial-pulse { 50% { box-shadow: 0 0 0 .8rem #a8e3c60c; } }
@media (prefers-reduced-motion: reduce) { .tutorial-mic { animation: none; } }
.tutorial-note { margin: 0; font-size: .85rem; color: #c6ddd6; }
#tutorial-continue { align-self: flex-end; min-width: 15rem; }
#unavailable-screen { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .5rem; }
#unavailable-screen p { margin: 0 0 1rem; }

#agreement-screen { display: flex; flex-direction: column; }
#agreement-intro { margin: .15rem 0 .4rem; font-size: .8rem; }
.agreement { flex: 1; min-height: 0; max-height: none; margin: .25rem 0; padding: .8rem; overflow: hidden; font-size: clamp(.78rem, 1.7vh, .97rem); line-height: 1.45; }
.page-actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.6rem; }
.page-actions button { min-height: 2.3rem; padding: .3rem .65rem; font-size: .8rem; }
.page-actions span { color: #c5ded7; font-size: .78rem; }
#agreement-form { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: .25rem .6rem; overflow: hidden; }
#agreement-form label { margin: 0; font-size: .8rem; }
#agreement-form input:not([type="checkbox"]) { padding: .4rem .55rem; }
#agreement-form label:first-of-type, #agreement-form .confirm, #agreement-form > button { grid-column: 1 / -1; }
#agreement-form .confirm { font-size: .76rem; }
#agreement-form > button { min-height: 2.25rem; padding: .3rem .6rem; }

#conversation-screen { display: flex; flex-direction: column; }
#conversation-screen .topline { padding-bottom: .3rem; }
#conversation-screen .conversation-layout { flex: 1; min-height: 0; padding-top: .45rem; gap: .65rem; }
.conversation-main { display: flex; flex-direction: column; min-height: 0; }
.conversation-main h2 { margin: .1rem 0 .35rem; }
.transcript { flex: 1; min-height: 0; height: auto; overflow: hidden; padding: 0; }
.transcript .message { max-height: 100%; overflow: auto; margin: .25rem 0; padding: .65rem .8rem; font-size: clamp(.8rem, 1.7vh, .98rem); line-height: 1.42; }
.transcript-nav { flex: 0 0 auto; }
.conversation-controls { min-height: 0; max-height: 100%; padding: .65rem; overflow: hidden; }
.voice p { margin: .25rem auto .45rem; font-size: .75rem; }
.orb { width: clamp(48px, 9vh, 70px); height: clamp(48px, 9vh, 70px); margin: .2rem auto .45rem; }
#speak { min-height: 3rem; padding: .4rem .6rem; }
#speak { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#live-caption { margin: .35rem 0; padding: .45rem .65rem; border: 1px solid #89b6ac; border-radius: 10px; background: #173f46; text-align: left; }
#live-caption strong { font-size: .72rem; color: #b9edb6; text-transform: uppercase; letter-spacing: .08em; }
#live-caption p { margin: .1rem 0; font-size: .85rem; color: white; overflow-wrap: anywhere; }
#turn-form { gap: .3rem; } #turn-form textarea { min-height: 2.9rem; max-height: 5rem; padding: .45rem .6rem; font-size: .85rem; }
#turn-form button { min-height: 2.4rem; padding: .35rem .6rem; }
.audio-controls { margin-top: .5rem; padding-top: .5rem; }
.audio-controls button { min-height: 2rem; padding: .3rem; }
.conversation-controls > .voice-disclosure { display: none; }

#complete-screen { display: flex; flex-direction: column; }
#complete-screen p { margin: .3rem 0; }
#recap-heading { margin: .5rem 0 .2rem; font-size: 1.05rem; }
#discovery-recap { display: grid; gap: .4rem; padding: 0; margin: .2rem 0 .55rem; list-style: none; max-height: 34vh; overflow: auto; }
#discovery-recap li { display: grid; gap: .18rem; padding: .55rem .7rem; border-radius: 12px; background: #e3f1d7; color: #18333a; overflow-wrap: anywhere; }
#discovery-recap strong { font-size: .82rem; }
#discovery-recap span { font-size: .8rem; line-height: 1.35; }
#closing-reply { max-height: 28vh; overflow: auto; margin: .5rem 0; }
#prices { flex: 1; min-height: 0; overflow: auto; }
#prices .price-offer { display: block; width: 100%; margin: .5rem 0; padding: .75rem 1rem; border: 1px solid #9bc9af; border-radius: 12px; background: #dff0c7; color: #15343b; font-weight: 700; text-align: center; }
#terminal-payment-panel{border:1px solid #9bc9af;border-radius:12px;padding:.75rem;text-align:center}#terminal-payment-qr{display:block;margin:.5rem auto;background:#fff;max-width:min(100%,220px);height:auto}#terminal-payment-status{font-weight:700}

@media (max-width: 800px) {
  .tutorial-flow { grid-template-columns: 1fr; }
  .tutorial-card { display: grid; grid-template-columns: 3rem 1fr; gap: 0 .8rem; padding: .6rem; }
  .tutorial-icon { grid-row: span 2; width: 2.8rem; height: 2.8rem; margin: 0; }
  #tutorial-continue { align-self: stretch; }
  #domains { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(4.5rem, auto); }
  #domains .phone-prepare-card { grid-column: 1 / -1; }
  #conversation-screen .conversation-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .conversation-controls { order: -1; }
  .conversation-main { margin-top: 0; }
  .conversation-main h2 { display: none; }
  .conversation-controls .orb { display: none; }
}
@media (max-width: 600px) {
  #start-screen .offer-note { display: none; }
  #start-screen .start-actions { align-items: stretch; gap: .25rem; }
  #start-screen .start-actions .confirm { font-size: .75rem; }
  #agreement-form { grid-template-columns: 1fr; }
  #agreement-form label { grid-column: 1 / -1; }
  #arrival-panel form { flex-direction: column; align-items: stretch; }
}
@media (max-height: 620px) {
  body { overflow: auto; }
  main { min-height: 620px; height: auto; }
  #notice { min-height: 0; }
}
@media (max-width: 800px), (max-height: 760px) {
  body { overflow: auto; }
  main { height: auto; min-height: 100dvh; grid-template-rows: auto auto auto auto; }
  section { height: auto; overflow: visible; }
  #domains { min-height: 0; }
  #arrival-panel { overflow: visible; }
}
