html body .demo-shell .construction .completion-instruction{margin:0 0 6px;font-size:14px;line-height:1.35}html body .demo-shell .construction .completion-answer{flex-wrap:wrap;align-items:center;gap:6px;display:flex}html body .demo-shell .construction .completion-answer>ol{min-width:0;max-width:100%;margin:0}html body .demo-shell .construction .completion-answer>ol:empty{display:none}html body .demo-shell .construction .completion-fixed,html body .demo-shell .construction .completion-placeholder{overflow-wrap:anywhere;font-size:clamp(18px,2vw,24px);line-height:1.3}html body .demo-shell .construction .completion-placeholder{text-align:center;min-width:42px}
html body .demo-shell .conversation-history .history-dialog[open]{min-height:0;max-height:calc(var(--visible-height,100dvh) - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));flex-direction:column;display:flex;overflow:hidden}html body .demo-shell .history-dialog>:is(.dialog-heading,.pager){flex-shrink:0}html body .demo-shell .history-dialog .dialog-heading h2{overflow-wrap:anywhere;min-width:0}html body .demo-shell .history-dialog .history-reading{min-width:0;padding:0}html body .demo-shell .history-line{overflow-wrap:anywhere;min-width:0;max-width:100%}html body .demo-shell .history-line .actions{flex-wrap:wrap;gap:8px;display:flex}html body .demo-shell .history-line .actions>*{min-width:0;max-width:100%}html body .demo-shell .history-line :is(button,.audio-button){min-height:48px;font-size:16px}html body .demo-shell .history-line .meaning{font-size:16px;line-height:1.4}html body .demo-shell .history-line small{font-size:12px}html body .demo-shell .history-dialog .pager{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;margin:8px 0 0;font-size:12px;display:grid}html body .demo-shell .history-dialog .pager button{justify-content:center;min-width:0;min-height:44px;padding:8px 6px;font-size:14px}html body .demo-shell .history-dialog .pager button svg{flex-shrink:0}html body .demo-shell .history-reading[data-fit-density=compact] .history-line{margin-inline:0;padding:12px}html body .demo-shell .history-reading[data-fit-density=tight] .history-line{margin-inline:0;padding:8px}html body .demo-shell .history-reading[data-fit-density=tight] .history-line p{margin-block:6px}html body .demo-shell .history-reading[data-fit-density=tight] .speaker-label{margin-bottom:6px}
@container demo-app (min-width:761px){html body .demo-shell .scene-frame.scene-composition{grid-template-rows:minmax(0,1fr) auto minmax(0,max-content) auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:0 clamp(1.25rem,3vw,3rem);padding-block:12px}html body .demo-shell .scene-frame.scene-composition>.scene-grid{display:contents}html body .demo-shell .scene-frame.scene-composition>.scene-grid>.scene-column{grid-area:1/1/-1;align-self:stretch;min-height:0}html body .demo-shell .scene-frame.scene-composition>.scene-grid>.scene-intro-slot{grid-area:2/2}html body .demo-shell .scene-frame.scene-composition>.scene-grid>.conversation-panel{grid-area:3/2;min-height:0;margin:0}html body .demo-shell .scene-frame.scene-composition>.activity-actions{grid-area:4/2;width:100%;min-width:0;margin:0;padding:12px 6px 6px}html body .demo-shell .scene-frame.scene-composition>.activity-actions:empty{padding:0}html body .demo-shell .scene-frame.scene-composition .activity-body.auto-fit{flex:0 auto}html body .demo-shell .scene-frame.scene-composition .activity-body>.auto-fit-size{margin-block:0}}html body .demo-shell .scene-choice-prompt{font-family:var(--comic-display,var(--font-geist-sans)),sans-serif;letter-spacing:.015em;margin:0 0 12px;font-size:clamp(22px,2.3vw,34px);font-weight:400;line-height:1.2}
.app-shell .experience:has(.conversation-replay){grid-template-rows:minmax(0,1fr)}:is(.app-shell .experience:has(.conversation-replay)>.experience-bar,.app-shell .experience:has(.conversation-replay)>.session-notices){display:none}.conversation-replay{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.replay-bar{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.replay-bar strong,.replay-bar span{display:block}.replay-bar strong{font-size:15px;font-weight:550}.replay-bar span{color:var(--muted);margin-top:3px;font-size:12px}.app-shell .replay-bar button{flex-shrink:0;min-height:44px}.app-shell .conversation-replay .activity-actions.replay-pager{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.app-shell .conversation-replay .replay-pager>button{text-align:center;justify-content:center;align-self:stretch;width:auto;min-width:0;min-height:48px}.app-shell .replay-meaning{margin-top:12px}.app-shell .replay-meaning p,.app-shell .replay-model-note{color:var(--muted);font-size:15px;line-height:1.4}.app-shell .review-actions:has(.replay-start){grid-template-columns:1fr auto;display:grid}.app-shell .review-actions>.replay-start{grid-column:1/-1;justify-content:center}.app-shell .ending .replay-entry-actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}@media (max-width:760px){.app-shell .replay-bar button{padding:8px 10px;font-size:13px}.app-shell .conversation-replay .replay-pager>button{padding-inline:6px;font-size:14px}.app-shell .conversation-replay .opening-card{padding:16px}.app-shell .replay-meaning{margin-top:4px}.app-shell .replay-meaning p,.app-shell .replay-model-note{font-size:14px}.app-shell .ending .replay-entry-actions{flex-direction:column}.app-shell .ending .replay-entry-actions button{justify-content:center}}@media (max-width:760px) and (max-height:700px){.app-shell .conversation-replay .scene-grid.opening-scene[data-density]{grid-template-rows:clamp(72px,17dvh,110px) auto}.app-shell .conversation-replay .opening-card[data-presentation=dialogue] h1{font-size:24px}}html body .demo-shell .conversation-replay .replay-bar{flex-shrink:0;min-width:0}html body .demo-shell .conversation-replay .replay-bar>div{overflow-wrap:anywhere;min-width:0}html body .demo-shell .conversation-replay .replay-reading{padding:0}html body .demo-shell .conversation-replay .activity-content{min-width:0;max-width:100%}html body .demo-shell .conversation-replay .replay-reading :is(.replay-meaning p,.replay-model-note){font-size:16px;line-height:1.4}html body .demo-shell .conversation-replay .replay-reading :is(button,.audio-button){min-height:48px}html body .demo-shell .conversation-replay .replay-pager>button{overflow-wrap:anywhere;min-height:44px}html body .demo-shell .replay-reading[data-fit-density=compact] .opening-card{padding:12px}html body .demo-shell .replay-reading[data-fit-density=compact] .opening-card .audio-trigger{margin-top:8px}html body .demo-shell .replay-reading[data-fit-density=tight] .opening-card{padding:8px 10px}html body .demo-shell .replay-reading[data-fit-density=tight] .opening-card h1{margin-block:4px}html body .demo-shell .replay-reading[data-fit-density=tight] .opening-card .audio-trigger{margin-top:4px}html body .demo-shell .replay-reading[data-fit-density=tight] :is(.speaker-label,.replay-meaning,.replay-model-note){margin-block:4px}
