/* A bounded workspace: records scroll while the input and navigation stay visible. */
html,body{height:100%;overflow:hidden}body{padding:0}
.app{width:100%;max-width:900px;height:100dvh;min-height:0;display:flex;flex-direction:column;padding:18px 24px max(10px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden}
.top{flex:none;margin-bottom:12px}.eyebrow{font-size:.7rem;margin-bottom:4px}h1{font-size:1.45rem}.wordmark{font-size:.5rem;margin-top:4px}
.mode{flex:none;font-size:.67rem;margin:0 0 7px}.next-card{flex:none;min-height:57px;padding:10px 13px;border-radius:16px;gap:10px}.next-icon{width:32px;height:32px;border-radius:10px}.next-card p{font-size:.68rem;margin-bottom:2px}.next-card strong{font-size:.83rem;line-height:1.4}.next-card>div{min-width:0}.next-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.view{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 2px 6px;margin-top:12px;scroll-padding-bottom:12px}
#talk{display:flex;flex-direction:column}.intro{flex:1;display:grid;align-content:center;padding:12px 0}.intro h2{font-size:1.4rem;margin-bottom:8px}.intro p{font-size:.77rem}.intro .intro-kicker{font-size:.52rem;margin-bottom:8px}
.conversation{flex:none;max-height:none;overflow:visible;gap:7px;padding:2px 0 8px}.bubble{max-width:88%;padding:8px 12px;font-size:.83rem;line-height:1.55;border-radius:15px;white-space:pre-wrap}
.recent{margin-top:5px}.recent-heading{font-size:.68rem;color:var(--muted);margin:7px 0 4px;display:flex;align-items:center;justify-content:space-between}.recent-heading button{border:0;background:none;color:var(--accent);min-height:32px;font-size:.72rem}
.section-title{font-size:1.1rem;margin:6px 0 10px}.item{margin:5px 0;padding:0;border-radius:13px}.item summary{list-style:none;display:flex;gap:10px;align-items:center;min-height:62px;padding:9px 12px;cursor:pointer}.item summary::-webkit-details-marker{display:none}.item summary::after{content:'⌄';color:#8b988c;font-size:1rem;margin-left:auto;flex:none}.item[open] summary::after{transform:rotate(180deg)}.item-main{min-width:0;flex:1}.item h3{margin:0 0 3px;font-size:.86rem;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .item-time{font-size:.72rem;color:var(--muted);margin:0;line-height:1.35}.pill{font-size:.64rem;line-height:1.4;padding:3px 6px;max-width:124px;text-align:right;flex:none}.item-detail{padding:0 12px 12px;border-top:1px solid #e8ece4}.item-detail p{font-size:.77rem;line-height:1.6;margin:8px 0}.item-detail .draft-send{display:inline-block;margin:5px 8px 0 0;min-height:38px;padding:7px 12px}.calendar-link{display:inline-flex;align-items:center;min-height:38px;padding:7px 0}.item-detail .calendar-note{font-size:.69rem;color:var(--muted)}

/* The welcome and flower share one group instead of opposite ends of a tall page. */
.app{height:100vh;height:100dvh}.workspace{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.intro{flex:none;display:block;padding:0;text-align:center}.intro h2{font-size:clamp(1.3rem,3vw,1.65rem);margin:0 0 8px;letter-spacing:-.04em}.intro p{font-size:.8rem;margin:0;line-height:1.55}.intro .intro-kicker{display:none}
.app[data-view=talk]:not(.has-activity) .workspace{justify-content:center;gap:12px;overflow-y:auto;padding:20px 0}
.app[data-view=talk]:not(.has-activity) #talk{flex:none;min-height:auto;overflow:visible;margin:0;padding:0}
.composer{flex:none;text-align:center;margin:8px 0 0;padding:0;border:0}
.mic,.has-activity .mic{flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:460px;min-height:0;gap:0;padding:0;border:0;background:transparent}
.dandelion-scene,.has-activity .dandelion-scene{width:clamp(180px,23vh,240px);height:clamp(180px,23vh,240px);flex:none}
.app[data-view=talk]:not(.has-activity) .dandelion-scene{width:clamp(260px,min(60vw,44vh),420px);height:clamp(260px,min(60vw,44vh),420px)}
#mic-label,.has-activity #mic-label{font-size:.9rem;font-weight:500;letter-spacing:.025em;margin:2px 0 0}
.status{font-size:.74rem;line-height:1.45;min-height:0;margin:0 auto 5px;max-width:520px;max-height:44px;overflow:auto}
.text-toggle{color:#7b897c;min-height:36px;font-size:.73rem;padding:7px 14px;display:inline-flex;align-items:center;gap:5px}.text-toggle svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.transcript{max-height:54px;overflow:auto;font-size:.78rem;line-height:1.4;margin:3px 0}.voice-row .submit{bottom:1px;min-height:40px}.wave{height:12px;margin:0}
#text-composer{display:flex;gap:8px;align-items:flex-end;text-align:left;padding:4px 0}#text-composer textarea{min-height:60px;max-height:105px;resize:none;padding:9px 12px;line-height:1.45}#text-composer .small-button{flex:none;margin:0;padding:10px 16px}.text-open .voice-row{display:none}
.bottom-nav{flex:none;gap:0;justify-content:space-around;margin:8px 0 0;padding:8px 0 0;border-top-color:#e2e8df80}.bottom-nav button{min-height:44px;font-size:.65rem;gap:3px}.bottom-nav svg{width:21px;height:21px}footer{display:none}.empty{font-size:.82rem;padding:25px 0}
.connection-notice{margin:0;padding:8px 12px;border-radius:12px;text-align:center;color:#71806f;background:#eaf0e680;font-size:.76rem;line-height:1.6}
.alert-status{font-size:.73rem!important;margin:8px 0!important}.capability{padding:13px;margin:16px 0 10px}.capability .quiet-button{font-size:.78rem}.capability a{display:inline-block;min-height:36px;font-size:.76rem;color:var(--accent);padding:8px 0;margin-right:14px}.reminder-silence{margin:5px 0 10px;min-height:36px;font-size:.76rem;padding:7px 12px}
@media(min-width:1000px){.app{max-width:980px;padding-right:44px;padding-left:44px}.view{padding-right:7px}.bubble{max-width:76%}}
@media(max-width:420px){.app{padding:max(12px,env(safe-area-inset-top)) 15px max(9px,env(safe-area-inset-bottom))}.top{margin-bottom:9px}.next-card{min-height:53px}.pill{max-width:100px}.item summary{min-height:60px}.bubble{font-size:.8rem}.view{margin-top:9px}.app[data-view=talk]:not(.has-activity) .workspace{padding:10px 0}.dandelion-scene,.has-activity .dandelion-scene{width:160px;height:160px}}
@media(max-height:650px){.app{padding-top:9px}.eyebrow,.wordmark,.intro-kicker{display:none!important}.top{margin-bottom:7px}.composer{margin-top:3px}.dandelion-scene,.has-activity .dandelion-scene{width:110px;height:110px}.app[data-view=talk]:not(.has-activity) .dandelion-scene{width:clamp(150px,36vh,235px);height:clamp(150px,36vh,235px)}.text-toggle{min-height:30px;padding:4px 10px}.next-card{min-height:48px}.bottom-nav{padding-top:5px}.intro h2{font-size:1.25rem}.intro p{font-size:.73rem}}
