:root{color-scheme:dark;--page:#121315;--surface:#202226;--out:#363b43;--edge:#363a40;--ink:#f1f2f4;--muted:#b1b6bf;--header:#191b1e;font:16px/1.44 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#101113;color:var(--ink)}button,textarea{font:inherit;color:inherit}button{cursor:pointer;background:#303338;border:0;border-radius:12px;padding:.65rem 1rem;font-weight:600}button:disabled{opacity:.5}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #edf0f6;outline-offset:2px}#layout{width:min(100%,840px);height:100vh;height:100dvh;margin:auto;display:flex;flex-direction:column;background:var(--page);box-shadow:0 0 0 1px #2a2c31}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top)) clamp(14px,4vw,28px) 10px;background:var(--header);border-bottom:1px solid #303237}.identity{display:flex;align-items:center;gap:10px}.identity img,.card img{border-radius:30%;filter:grayscale(1);border:1px solid #45484e}.identity img{width:44px;height:44px}h1{margin:0;letter-spacing:-.04em;font-size:21px;line-height:1.17}#presence{font-size:12px;color:#bec2c9}nav{display:flex;gap:4px}nav button{display:grid;place-items:center;padding:0;width:42px;height:42px;background:transparent;border-radius:50%}nav button[aria-pressed=true]{background:#373b41}#chatTab[aria-pressed=true]{display:none}main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 85% 0%,#1d1f23 0%,transparent 58%),var(--page)}section{padding:20px clamp(13px,4vw,32px)}#chatView{padding-top:22px;padding-bottom:16px}h2{margin:.4em 0;font-size:clamp(23px,4vw,30px);letter-spacing:-.04em}h3{margin:0 0 .4em}.card,.task{padding:20px;background:#222428;border:1px solid var(--edge);border-radius:18px;margin:10px 0}.card p,.dim,.empty p{color:var(--muted)}.primary{background:#e1e4e8;color:#1b1c20}#pairView{max-width:530px;margin:clamp(16px,6vh,65px) auto}#pairCode{display:block;margin:14px 0;overflow-wrap:anywhere}.empty{margin:10vh auto;text-align:center}.empty>*{margin:3px}#messages{display:flex;flex-direction:column;gap:7px}.conversation-turn{display:contents}.bubble{max-width:86%;align-self:flex-start;min-width:70px;background:#25272b;border:1px solid #32353b;border-radius:17px 17px 17px 6px;position:relative;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 12px 6px;box-shadow:0 2px 4px #0002}.mine{align-self:flex-end;background:var(--out);border-color:#454a53;border-radius:17px 17px 6px 17px}.bubble .label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.bubble time{display:block;color:#bac0c9;font-size:10.5px;text-align:right;line-height:1.2;margin-top:3px;font-variant-numeric:tabular-nums}.bubble a{display:block;color:#f0f1f4;background:#ffffff0a;padding:9px 10px;border:1px solid #ffffff28;border-radius:10px;margin-top:6px;text-decoration:underline;text-underline-offset:3px}.voice-note{width:clamp(175px,55vw,260px);max-width:100%;display:grid;grid-template-columns:37px minmax(40px,1fr) 33px;align-items:center;gap:8px;min-height:44px}.voice-play{background:transparent;display:grid;place-items:center;width:38px;height:44px;padding:0;color:#f8f9fa}.voice-play svg{width:27px;height:27px}.voice-avatar{display:grid;place-items:center;border:1px solid #ffffff30;border-radius:50%;font-size:13px;font-weight:650;letter-spacing:-.02em;height:33px;background:#17191db0;color:#eee}.voice-track{display:grid;min-width:0}.scrubber{position:relative;display:flex;align-items:center;height:29px}.scrubber canvas{width:100%;height:25px}.voice-seek{width:100%;margin:0;accent-color:#e8eaed;height:26px;cursor:pointer}.scrubber.measured input{opacity:0;position:absolute;inset:0;height:100%}.scrubber:focus-within{outline:2px solid #a2a9b3;border-radius:4px}.voice-length,#elapsed{font-variant-numeric:tabular-nums}.voice-length{font-size:11px;color:#c8ccd3;line-height:1}.bubble:has(.voice-note) time{margin-top:-3px}.task h3{font-size:16px;overflow-wrap:anywhere;margin-top:6px}.task em{font-style:normal;color:#c9cdd5;font-size:13px}.task ol{padding-left:19px;margin-bottom:0}.task li{margin:4px 0}.task time{color:#bac0c8;font-size:12px;margin-right:8px}footer{background:#191b1e;padding:9px clamp(10px,3vw,24px) calc(9px + env(safe-area-inset-bottom));border-top:1px solid #313439}#compose{display:flex;align-items:center;gap:8px}textarea{min-width:0;flex:1;resize:none;height:45px;padding:10px 15px;border-radius:22px;border:1px solid #43474f;background:#292c31}textarea::placeholder{color:#bbbfc6}.mic,.send{display:grid;place-items:center;flex:none;width:46px;height:46px;padding:0;border-radius:50%;background:#e3e6eb;color:#181a1d}.mic{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mic.live{background:#f3c3c4;color:#4a1e25}#recording{display:flex;align-items:center;gap:9px;min-width:0;flex:1;height:45px;padding:0 13px;border-radius:23px;background:#292c31;border:1px solid #45494f}.record-dot{width:9px;height:9px;border-radius:50%;background:#f3989e;flex:none}#elapsed{font-weight:650}#gesture{margin-left:auto;color:#c1c5cd;font-size:12px;text-align:right;line-height:1.2}#info:not(:empty){padding:6px 14px;color:#f0e5da;background:#35312e;font-size:13px}#retryClip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:6px;font-size:13px}@media(min-width:680px){#chatView{padding-inline:36px}.bubble{max-width:75%}}
