:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:#20312b;background:#f7f8f5;--muted:#65706a;--accent:#285747;--border:#dce2da}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100vh;min-height:100dvh}
button,summary{font:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{cursor:pointer}
button:focus-visible,summary:focus-visible{outline:3px solid #42896d;outline-offset:4px}
button:disabled{cursor:default;opacity:.48}
h1,h2,p{margin:0}
.app{width:min(100%,460px);min-height:100vh;min-height:100dvh;margin:auto;padding:calc(22px + env(safe-area-inset-top,0px)) 26px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}
.header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:35px}
.header h1{font-size:28px;font-weight:650;letter-spacing:-1.3px}
.header h1 span{color:#638b5d}
.header-caption{color:var(--muted);font-size:12px}
.call-panel{display:flex;flex:1;flex-direction:column;text-align:center}
.conversation{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 0 34px}
.voice-mark{width:100px;height:100px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:28px;border-radius:34px;background:#e7eddf;color:var(--accent);transition:background .2s}
.voice-mark span{width:5px;height:13px;border-radius:6px;background:currentColor}
.voice-mark span:nth-child(2),.voice-mark span:nth-child(4){height:27px}
.voice-mark span:nth-child(3){height:40px}
.voice-mark[data-state="connecting"]{animation:breathe 1.5s ease-in-out infinite}
.voice-mark[data-state="connected"] span{animation:voice 1.1s ease-in-out infinite alternate}
.voice-mark[data-state="connected"] span:nth-child(2n){animation-delay:-.5s}
.voice-mark[data-state="muted"]{background:#e8e9e5;color:#788078}
.call-panel h2{font-size:clamp(26px,7.5vw,32px);font-weight:550;line-height:1.2;letter-spacing:-1.1px}
.intro{margin-top:11px;max-width:300px;font-size:15px;line-height:1.55;color:var(--muted)}
.status-group{margin-top:26px;min-height:24px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 12px}
.status{font-size:13px;line-height:1.5;color:var(--accent)}
.timer{padding:3px 8px;border-radius:7px;background:#e9eee6;font-size:12px;font-variant-numeric:tabular-nums}
.invitation-panel{width:100%;margin-top:24px;padding:16px 18px;border-left:2px solid #acc1a1;border-radius:0 12px 12px 0;background:#eef1e9;text-align:left}
.eyebrow{font-size:11px;line-height:1.4;color:var(--muted)}
.invitation-title{margin-top:5px;font-size:15px;font-weight:550;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.invitation-date{margin-top:7px;font-size:11px;line-height:1.5;color:var(--muted)}
.controls{width:100%}
.call-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:16px 18px;border:0;border-radius:18px;background:var(--accent);color:#fff;font-size:16px;font-weight:600;line-height:1.4;transition:background .2s,transform .15s}
.call-button svg{flex:none}
.call-button:not(:disabled):active{transform:scale(.985)}
.call-button[data-active="true"]{background:#af4941}
.call-button[data-active="true"] svg{transform:rotate(135deg)}
.mute-button,.audio-button,.generic-button{min-height:44px;margin:10px auto 0;padding:10px 16px;border:1px solid var(--border);border-radius:14px;color:#344c40;background:transparent;font-size:14px;line-height:1.4}
.mute-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.mute-button[aria-pressed="true"]{color:#84382d;background:#f5e8e3;border-color:#e4c8bd}
.audio-button,.generic-button{display:block;width:100%}
.audio-button{background:#e7eddf;border-color:#b4c8aa;font-weight:600}
.limit{margin-top:15px;color:var(--muted);font-size:12px;line-height:1.5}
.reservation-note{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5}
.notice{margin-bottom:16px;padding:14px 16px;background:#fbefe2;color:#784e27;border:1px solid #edd8bd;border-radius:14px;text-align:left;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.details-group{margin-top:28px;border-top:1px solid var(--border)}
details{border-bottom:1px solid var(--border)}
summary{list-style:none;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-size:13px;color:#46574d}
summary::-webkit-details-marker{display:none}
.chevron{width:7px;height:7px;border-right:1.5px solid #71816e;border-bottom:1.5px solid #71816e;transform:rotate(45deg);margin-right:3px;flex:none}
details[open] .chevron{transform:rotate(225deg)}
.transcript{padding-bottom:18px;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}
.placeholder{color:var(--muted)}
.help-content{padding-bottom:6px}
.help-content p{font-size:13px;line-height:1.65;margin-bottom:12px;color:var(--muted)}
footer{text-align:center;padding-top:20px;color:var(--muted);font-size:11px;line-height:1.5}
@keyframes breathe{50%{opacity:.5}}
@keyframes voice{to{transform:scaleY(.55)}}
@media(max-width:360px){.app{padding-left:20px;padding-right:20px}.call-button{font-size:15px}}
@media(max-height:720px){.conversation{padding-top:28px;padding-bottom:24px}.voice-mark{width:76px;height:76px;border-radius:26px;margin-bottom:20px}.status-group{margin-top:20px}.details-group{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
