:root{color:#2b2438;font-synthesis:none;--canvas:#faf6ef;--surface:#fff;--ink:#2b2438;--muted:#706678;--line:#e7ddd4;--accent:#a94428;--soft:#f2e4dc;--sage:#447351;background:#faf6ef;font-family:ui-rounded,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-underline-offset:4px;text-decoration:none}button{border:0}button,textarea,input{color:var(--ink)}button:hover:not(:disabled){filter:brightness(.96)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{color:var(--ink);background:#edd1c0}input,textarea{caret-color:var(--accent)}::placeholder{color:var(--muted);opacity:1}*{scrollbar-width:thin;scrollbar-color:#cbbeb3 transparent}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-.025em;text-wrap:balance}p{line-height:1.6}.brand{letter-spacing:-.04em;font-size:40px;font-weight:800;line-height:1}.brand-dot{color:#c65d3b}.primary{background:var(--accent);color:#fff;border-radius:12px;width:100%;min-height:48px;padding:12px 20px;font-weight:650}.text-button,.icon-button{color:var(--muted);background:0 0;justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}.text-button{padding:8px 0}.icon-button{border-radius:10px;min-width:44px}.loading{text-align:center;max-width:620px;margin:auto;padding:15vh 24px}.loading p{color:var(--muted);margin-top:24px}.welcome{grid-template-columns:1.2fr 1fr;align-content:center;gap:48px 90px;max-width:1200px;min-height:100dvh;margin:auto;padding:56px 64px;display:grid}.welcome>.brand{grid-column:1/-1;margin-bottom:80px}.welcome-copy{align-self:center}.welcome-mark{color:#c65d3b;margin-bottom:24px}.welcome h1{margin-bottom:26px;font-size:clamp(40px,5vw,64px);font-weight:750;line-height:1.06}.welcome-copy p{color:var(--muted);font-size:19px}.welcome-form{background:#fff;border-radius:16px;align-self:center;padding:40px;box-shadow:0 12px 40px #4a30230a}.welcome-form h2{margin-bottom:10px;font-size:26px}.welcome-form>p{color:var(--muted)}label{margin-bottom:20px;font-size:14px;font-weight:600;display:block}input{background:var(--surface);border:1px solid #bbafa6;border-radius:10px;width:100%;min-height:48px;margin-top:9px;padding:13px 14px;font-size:16px}.fine-print{text-align:center;margin:24px 0 0;font-size:13px}.error{color:#9d302c;font-size:14px}.setup{max-width:1000px;margin:auto;padding:40px}.setup>header{justify-content:space-between;align-items:center;display:flex}.setup-section{max-width:780px;margin:90px auto 0}.setup-section>h1{margin-bottom:16px;font-size:40px}.setup-section>p{color:var(--muted);margin-bottom:42px}.setup-section>form{max-width:380px}.setup-columns{grid-template-columns:1fr 1fr;gap:60px;display:grid}.setup-columns h2{margin-bottom:24px;font-size:22px}.hub-list{margin-bottom:40px}.hub-list button{text-align:left;background:#fff;border-radius:12px;align-items:center;gap:16px;width:100%;margin-bottom:10px;padding:18px;display:flex}.hub-list button>span{flex:1}small{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.app-shell{grid-template-columns:272px minmax(0,1fr);height:100dvh;display:grid}.sidebar{background:var(--canvas);border-right:1px solid var(--line);flex-direction:column;gap:30px;min-height:0;padding:32px 20px 18px;display:flex}.sidebar-brand{justify-content:space-between;align-items:center;padding-left:12px;display:flex}.hub-switch{border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;padding:14px 12px;font-weight:600;display:flex}.hub-switch span{overflow-wrap:anywhere}.sidebar nav{flex:1;overflow:auto}.sidebar nav h2{color:var(--muted);letter-spacing:0;margin:10px 12px 16px;font-size:13px;font-weight:550}.room-link{overflow-wrap:anywhere;border-radius:12px;align-items:center;gap:12px;min-height:48px;margin-bottom:4px;padding:14px 12px;display:flex}.room-link.selected{background:var(--soft);font-weight:650}.room-link.selected svg{color:var(--accent)}.sidebar footer{border-top:1px solid var(--line);align-items:center;gap:10px;padding-top:16px;display:flex}.sidebar footer>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.avatar{color:#53405d;background:#e5dce7;border-radius:50%;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:650;display:inline-flex}.conversation{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-header{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:16px;padding:24px 36px;display:flex}.chat-header>div{flex:1;min-width:0}.chat-header h1{overflow-wrap:anywhere;margin:0 0 6px;font-size:26px}.connection{color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.status-dot{background:#8c8074;border-radius:50%;width:7px;height:7px}.status-dot.live{background:var(--sage)}.invite-button{background:var(--canvas);border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.invite-panel{background:#f2e4dc;align-items:center;gap:20px;padding:18px 36px;display:flex}.invite-panel>div{flex:1}.invite-panel strong{font-size:14px}.invite-panel p{color:var(--muted);margin:4px 0 0;font-size:13px}.invite-panel code{white-space:nowrap;-webkit-user-select:all;user-select:all;font-size:18px}.offline-notice{color:#6f3526;background:#f2e4dc;gap:10px;padding:14px 36px;font-size:14px;display:flex}.chat-error{background:#fff;margin:0;padding:12px 36px}.transcript{overscroll-behavior:contain;flex:1;min-height:0;padding:0 36px 24px;overflow-y:auto}.message-list{max-width:820px;margin:auto}.day-divider{color:var(--muted);align-items:center;gap:18px;margin:32px 0;font-size:12px;display:flex}.day-divider:before,.day-divider:after{content:"";background:var(--line);flex:1;height:1px}.message{align-items:flex-start;gap:12px;margin:22px 0;display:flex}.message>.avatar{margin-top:25px}.message-content{min-width:0;max-width:min(75%,65ch)}.message-meta{align-items:baseline;gap:10px;margin:0 2px 7px;font-size:13px;display:flex}.message-meta time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:4px 14px 14px;padding:13px 17px;font-size:15px;line-height:1.55}.message.own{flex-direction:row-reverse}.own>.avatar{color:#36513a;background:#dde8dc}.own .message-meta{justify-content:flex-end}.own .bubble{background:#edded2;border-radius:14px 4px 14px 14px}.deleted{color:var(--muted);font-style:italic}.delivery{color:var(--muted);justify-content:flex-end;align-items:center;gap:4px;margin:7px 2px 0;font-size:11px;display:flex}.bubble blockquote{color:var(--muted);border-bottom:1px solid #cbbeb3;margin:0 0 10px;padding:6px 0;font-size:13px}.attachment-label{margin-bottom:0;font-size:13px}.reactions{gap:5px;margin-top:5px;font-size:13px;display:flex}.reactions>span{border:1px solid var(--line);background:#fff;border-radius:20px;padding:3px 9px}.empty-chat{text-align:center;color:var(--muted);padding:15vh 12px 32px}.empty-chat svg{color:#c65d3b;margin-bottom:18px}.empty-chat h2{color:var(--ink);margin-bottom:10px;font-size:24px}.empty-chat p{font-size:15px}.composer{padding:20px 36px max(20px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;align-items:flex-end;gap:12px;display:flex}.composer textarea{resize:none;field-sizing:content;border:1px solid #bbafa6;border-radius:12px;flex:1;min-height:52px;max-height:140px;padding:14px 16px;font-size:16px;line-height:1.5}.send-button{background:var(--accent);color:#fff;border-radius:12px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.global-error,.update-notice{color:#6f3526;background:#f2e4dc;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;display:flex}.global-error button,.update-notice button{color:inherit;background:0 0;min-height:44px}.mobile-only{display:none}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=760px){.welcome{padding:32px 24px;display:block}.welcome>.brand{margin:0 0 48px;display:block}.welcome-copy{margin-bottom:32px}.welcome h1{font-size:42px}.welcome-copy p{font-size:17px}.welcome-form,.setup{padding:28px 24px}.setup-section{margin-top:55px}.setup-section>h1{font-size:32px}.setup-columns{grid-template-columns:1fr;gap:40px}.app-shell{display:block}.conversation{height:100%}.sidebar{display:none}.sidebar.open{z-index:3;width:min(310px,88vw);padding-top:max(32px, env(safe-area-inset-top));display:flex;position:fixed;top:0;bottom:0;left:0}.scrim{z-index:2;background:#2b243855;position:fixed;inset:0}.mobile-only{display:inline-flex}.chat-header{padding:max(16px, env(safe-area-inset-top)) 16px 16px 8px;gap:8px}.chat-header h1{font-size:22px}.invite-button{padding:12px}.invite-button span{max-width:85px;font-size:12px}.invite-panel{flex-wrap:wrap;gap:8px;padding:16px}.invite-panel>div{flex-basis:calc(100% - 52px)}.offline-notice,.chat-error{padding:12px 18px;font-size:13px}.transcript{padding:0 16px 20px}.message{gap:8px}.message>.avatar{flex-basis:28px;width:28px;height:28px;font-size:12px}.message-content{max-width:82%}.bubble{padding:11px 14px}.composer{padding:12px 16px max(12px, env(safe-area-inset-bottom));gap:10px}.empty-chat{padding-top:17vh}.global-error,.update-notice{padding:8px 16px;font-size:13px}}@media (prefers-reduced-motion:no-preference){.welcome-form{animation:.4s cubic-bezier(.16,1,.3,1) arrive}@keyframes arrive{0%{clip-path:inset(0 0 6% round 16px)}to{clip-path:inset(0 round 16px)}}}
