:root{--bg:#fff;--canvas:#f7f8fa;--sidebar:#f4f5f7;--rail:#e9edee;--text:#272e34;--muted:#354149;--line:#e6e9ec;--accent:#243e76;--accent-soft:#e5edff;--coral:#dd795e;--shadow:0 18px 60px #17202b20;--radius:12px;font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:var(--accent);text-decoration:none}button:disabled{cursor:wait;opacity:1;border-style:dashed}button:focus-visible,a:focus-visible{outline:3px solid #5b789e;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #7c92ae;outline-offset:2px}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted)}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.status-dot,.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4674c6;flex-shrink:0}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border-radius:8px;flex-shrink:0}.primary,.button{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--accent);color:white;border:0;padding:13px 18px;border-radius:9px;font-weight:600}.primary:hover{background:#1a305e}kbd{font:10px inherit;border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--muted)}
.app-shell{height:100dvh;min-height:430px;display:grid;grid-template-columns:72px 244px minmax(320px,1fr) 286px;overflow:hidden}.rail{background:var(--rail);display:flex;align-items:center;flex-direction:column;padding:23px 0 16px;gap:19px;border-right:1px solid var(--line)}.brand-mark{display:flex;margin-bottom:15px}.workspace{position:relative;border-radius:14px;width:44px;height:44px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:27px;font-weight:700;box-shadow:0 0 0 4px var(--rail),0 0 0 5px #b5bfcc}.workspace:before{content:'';position:absolute;left:-14px;top:12px;height:20px;width:3px;border-radius:3px;background:var(--accent)}.workspace span{transform:translateY(-2px)}.rail-line{height:1px;width:27px;background:#d1d8d9}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:20px}.profile-dot,.avatar{display:flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;border-radius:11px;background:#e9cfb9;color:#362a20;font-size:14px;font-weight:650}.profile-dot{border:3px solid var(--rail);box-shadow:0 0 0 1px #b8c2c3;border-radius:50%;width:39px;height:39px}.sidebar{background:var(--sidebar);display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}.community-heading{padding:27px 20px 19px;display:flex;align-items:center;justify-content:space-between}.community-heading .eyebrow{font-size:8px;letter-spacing:1.35px}.community-heading h1{font-size:16px;letter-spacing:-.5px;margin:9px 0 0;display:flex;align-items:center;gap:10px;font-weight:650}.sidebar-search{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid #dfe3e7;background:var(--bg);color:var(--muted);font-size:11px;border-radius:7px;padding:9px 10px;margin:4px 16px 24px}.sidebar-search svg{width:16px;height:16px}.sidebar-search kbd{margin-left:auto;font-size:9px;white-space:nowrap}.side-scroll{overflow:auto;padding:0 12px;flex:1}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 9px;font-size:9px;letter-spacing:1.2px;font-weight:650;color:var(--muted)}.section-heading .icon-button{width:22px;height:22px}.section-heading svg{width:15px;height:15px}.channel-link{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:7px;color:var(--muted);text-align:left;font-size:13px;margin-bottom:3px}.channel-link svg{width:17px;height:17px;color:#939ba2}.channel-link:hover{background:var(--line)}.channel-link.selected{background:var(--accent-soft);color:var(--accent);font-weight:600}.channel-link.selected svg{color:var(--accent)}.channel-link .unread{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--coral)}.channel-link .channel-count{font-size:10px;margin-left:auto;background:var(--bg);padding:2px 6px;border-radius:4px;color:var(--muted)}.dm-heading{margin-top:30px}.new-conversation{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;padding:8px 12px}.new-conversation svg{width:16px;height:16px}.next-up{display:flex;gap:10px;margin:38px 4px 12px;padding:16px 12px;border-top:1px solid var(--line);color:var(--muted)}.next-up>svg{width:19px;height:19px;margin-top:1px}.next-up strong{font-size:11px;font-weight:600;color:var(--muted)}.next-up p{font-size:11px;line-height:1.7;margin:6px 0}.next-up button{padding:0;color:var(--accent);font-size:10px;font-weight:600;margin-top:7px}.sidebar-footer{padding:17px 21px;display:flex;align-items:center;gap:8px;font-size:10px;border-top:1px solid var(--line);color:var(--muted)}.version{margin-left:auto;font-size:9px;letter-spacing:.6px}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--bg)}.channel-header{display:flex;align-items:center;gap:12px;padding:19px 27px;border-bottom:1px solid var(--line);height:86px;flex-shrink:0}.channel-symbol{color:var(--muted);display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;width:38px;height:38px;flex-shrink:0}.channel-symbol svg{width:23px;height:23px}.channel-heading{min-width:0}.channel-heading h2{font-size:16px;margin:0 0 6px;font-weight:650;letter-spacing:-.4px}.channel-heading p{font-size:11px;color:var(--muted);margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:440px}.header-actions{display:flex;gap:6px;margin-left:auto;padding-left:10px}.header-actions svg{width:18px;height:18px}.messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 30px 24px;scroll-behavior:smooth;min-height:0}.welcome{padding-top:52px;padding-bottom:27px;border-bottom:1px solid var(--line);margin-bottom:24px}.welcome .channel-badge{width:56px;height:56px;border-radius:18px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;transform:rotate(-6deg);margin-bottom:23px}.channel-badge svg{width:30px;height:30px}.welcome .eyebrow{font-size:9px;letter-spacing:1.6px}.welcome h2{font-weight:650;letter-spacing:-1px;font-size:30px;margin:10px 0 11px}.welcome p{font-size:13px;color:var(--muted);line-height:1.8;max-width:430px;margin:0}.welcome-actions{display:flex;align-items:center;gap:10px;margin-top:24px}.subtle-button{border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:11px;display:inline-flex;align-items:center;gap:7px;color:var(--text);background:var(--bg)}.subtle-button:hover{background:var(--canvas)}.subtle-button svg{width:14px;height:14px}.welcome-actions .little-label{font-size:10px;color:var(--muted)}.day-divider{display:flex;align-items:center;gap:14px;font-size:10px;color:var(--muted);margin:22px 0}.day-divider:before,.day-divider:after{content:'';height:1px;flex:1;background:var(--line)}.message{position:relative;display:flex;gap:12px;padding:13px 8px;margin:0 -8px;border-radius:9px}.message:hover{background:var(--canvas)}.message .avatar{width:34px;height:34px;font-size:12px;margin-top:1px}.message-content{min-width:0;flex:1}.message-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.message-meta strong{font-size:12px;font-weight:650}.message-meta time{font-size:10px;color:var(--muted)}.message-meta .self-tag{font-size:8px;border-radius:3px;color:var(--muted);background:var(--sidebar);padding:2px 4px;letter-spacing:.4px}.message-body{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.message-tools{display:none;position:absolute;right:7px;top:-13px;background:var(--bg);box-shadow:0 2px 9px #0000000d;border:1px solid var(--line);border-radius:7px;padding:2px}.message:hover .message-tools,.message:focus-within .message-tools{display:flex}.message-tools button{width:27px;height:27px}.message-tools svg{width:14px;height:14px}.reactions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.reaction{border:1px solid var(--line);border-radius:6px;background:var(--canvas);padding:3px 7px;font-size:11px;color:var(--muted)}.reaction.mine{border-color:#9eb0c7;background:var(--accent-soft);color:var(--accent)}.pin-label{font-size:9px;color:var(--accent);display:flex;align-items:center;gap:4px;margin-bottom:5px}.pin-label svg{width:11px;height:11px}.empty-room{padding:26px 8px 34px;display:flex;gap:13px;align-items:flex-start}.empty-room>span{color:var(--coral);background:#f9eee8;display:grid;place-items:center;width:34px;height:34px;border-radius:11px}.empty-room strong{font-size:12px;font-weight:600}.empty-room p{font-size:12px;color:var(--muted);line-height:1.8;margin:5px 0;max-width:340px}.composer-wrap{padding:0 28px 19px}.composer{border:1px solid #dce1e4;border-radius:11px;padding:13px 13px 10px;box-shadow:0 2px 3px #17202b03;background:var(--bg)}.composer:focus-within{border-color:#91a1b7;box-shadow:0 0 0 2px #192d5508}.composer textarea{width:100%;resize:none;max-height:160px;background:transparent;border:0;outline:0!important;color:var(--text);font-size:13px;line-height:1.6;padding:2px 4px}.composer textarea::placeholder{color:var(--muted)}.composer .icon-button{width:27px;height:27px}.composer .icon-button svg{width:18px;height:18px}.send-button{display:flex;align-items:center;gap:11px;font-size:11px;font-weight:600;background:var(--accent);color:#fff;padding:8px 12px;border-radius:7px}.send-button svg{width:14px;height:14px}.details{border-left:1px solid var(--line);background:var(--canvas);padding:23px 24px;overflow:auto;display:flex;flex-direction:column;min-height:0}.details-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.details-heading h2{font-size:12px;font-weight:600;margin:0}.details-heading .icon-button{width:23px;height:23px}.details-heading svg{width:15px;height:15px}.space-art{position:relative;height:146px;margin-bottom:10px;flex-shrink:0;overflow:hidden}.mini-orbit{position:absolute;width:175px;height:110px;border:1px dashed #b9c1cb;transform:rotate(-25deg);border-radius:50%;top:25px;left:20px}.space-art .shape-green{width:66px;height:71px;left:75px;top:35px;border-radius:22px;font-size:47px;box-shadow:6px 7px 0 #dfe3e9}.mini-star{position:absolute;color:#e38e77;font-size:54px;left:10px;top:11px;transform:rotate(20deg)}.mini-smile{position:absolute;background:#f5d49c;color:#483017;right:9px;top:83px;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;transform:rotate(15deg);font-size:19px}.details h3{font-size:24px;line-height:1.2;letter-spacing:-.9px;font-weight:650;margin:8px 0 12px}.space-description{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.detail-divider{height:1px;background:var(--line);margin:24px 0;flex-shrink:0}.details h4{font-size:8px;letter-spacing:1.3px;font-weight:650;color:var(--muted);margin:0 0 18px}.detail-item{display:flex;align-items:center;gap:10px;margin-bottom:19px}.detail-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.detail-icon svg{width:16px;height:16px}.peach{background:#f5e4dc;color:#b57558}.mint{background:#e0e5ec;color:var(--accent)}.detail-item strong{font-size:10px;font-weight:600}.detail-item p{font-size:10px;color:var(--muted);margin:5px 0 0}.members-heading{display:flex;justify-content:space-between;align-items:baseline}.members-heading>span{font-size:9px;color:var(--muted)}.member{display:flex;align-items:center;gap:10px;padding:9px 0;width:100%;text-align:left}.member .avatar{width:30px;height:30px;font-size:11px;border-radius:10px}.member strong{display:block;font-size:11px;font-weight:600}.member small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.member .owner-tag{margin-left:auto;font-size:8px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:3px 5px}.invite-button{border:1px dashed #cbd0d6;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border-radius:7px;font-size:10px;margin-top:19px;color:var(--accent)}.invite-button svg{width:14px;height:14px}.detail-note{font-size:9px;color:var(--muted);line-height:1.7;text-align:center}.detail-bottom{font-size:9px;color:var(--muted);margin-top:auto;padding-top:27px;display:flex;align-items:center;justify-content:center;gap:7px}.detail-bottom .tiny-dot{width:5px;height:5px}.search-bar{display:flex;gap:10px;align-items:center;padding:11px 25px;border-bottom:1px solid var(--line)}.search-bar>svg{width:17px;color:var(--muted)}.search-bar input{border:0;background:transparent;width:100%;color:var(--text);font-size:12px;padding:5px}.filter-bar{display:flex;justify-content:space-between;background:var(--accent-soft);color:var(--accent);font-size:11px;padding:11px 28px}.filter-bar button{text-decoration:underline;font-size:11px}.edit-context{display:flex;justify-content:space-between;font-size:11px;padding:10px;background:var(--accent-soft);color:var(--accent);border-radius:8px 8px 0 0}.edit-context button{font-size:11px}.loading-state{padding:60px 0;color:var(--muted);font-size:13px}.loading{font-size:12px;padding:10px}.load-earlier{display:block;margin:22px auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#202f4b;color:white;border:1px solid #49586c;padding:13px 20px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;z-index:100;max-width:90vw}.mobile-menu,.mobile-close{display:none}dialog{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:25px;width:440px;max-width:calc(100vw - 32px);max-height:85dvh}dialog::backdrop{background:#141d2a55;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-heading h2{font-size:20px;letter-spacing:-.5px;margin:0}#modal-body p{font-size:13px;color:var(--muted);line-height:1.7}#modal-body label{font-size:12px;font-weight:600;display:block;margin:17px 0 8px}#modal-body input{background:var(--bg);border:1px solid var(--line);border-radius:7px;width:100%;padding:11px;color:var(--text);font-size:13px}#modal-body .primary{margin-top:20px;font-size:12px}#modal-body .member{padding:12px 7px;border-radius:8px}#modal-body .member:hover{background:var(--canvas)}.roadmap-row{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;display:flex;gap:12px;line-height:1.7}.roadmap-row>span{font-size:10px;background:var(--accent-soft);color:var(--accent);border-radius:5px;padding:2px 7px;height:fit-content;flex-shrink:0}.emoji-picker{display:flex;gap:7px;flex-wrap:wrap}.emoji-picker button{padding:10px;font-size:24px;border-radius:8px;background:var(--canvas)}.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.form-error{color:#7b241b;background:#fff0eb;border-radius:8px;padding:12px;font-size:12px;margin-bottom:14px}.no-results{font-size:13px;color:var(--muted);padding:35px 0}
.login-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--login-surface);position:relative;padding:44px 60px 30px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.wordmark{display:flex;align-items:center;gap:11px;font-size:22px;letter-spacing:2px;color:var(--login-ink);font-weight:700}.wordmark-dot{font-size:7px;align-self:flex-start;margin:9px 0 0 -5px;color:var(--coral)}.login-story>div{padding-top:55px}.login-story .eyebrow{color:var(--login-ink);font-size:10px}.login-story h1{font-size:clamp(42px,4.5vw,70px);line-height:1.07;letter-spacing:-3px;font-weight:650;color:var(--login-ink);margin:20px 0}.login-story p{max-width:380px;color:var(--login-ink);font-size:14px;line-height:1.9}.login-story small{font-size:8px;letter-spacing:1.6px;color:var(--login-ink);margin-top:20px}.orbit-art{height:250px;position:relative;max-width:420px;margin-top:10px}.orbit{position:absolute;border:1px solid #c4ccd6;border-radius:50%;width:330px;height:180px;left:10px;top:30px;transform:rotate(-22deg)}.orbit-two{transform:rotate(24deg);border-style:dashed;width:300px;left:30px}.art-shape{position:absolute;display:flex;align-items:center;justify-content:center;font-weight:600}.shape-green{left:130px;top:57px;background:#243e76;color:white;width:100px;height:105px;border-radius:31px;font-size:71px;transform:rotate(-9deg);box-shadow:9px 11px 0 #d4dae2}.shape-coral{left:25px;top:26px;color:#dd896e;font-size:95px;transform:rotate(20deg)}.shape-yellow{right:24px;top:134px;background:#f0cc8c;color:#483017;width:66px;height:66px;border-radius:50%;font-size:30px;transform:rotate(18deg)}.art-note{position:absolute;left:55px;bottom:6px;transform:rotate(-6deg);background:#fffdf7;padding:9px 16px;font-size:11px;letter-spacing:.2px;color:#354149;box-shadow:0 3px 12px #24364e0a}.spark{position:absolute;right:45px;top:20px;font-size:28px;color:#65768d}.login-panel{position:relative;display:grid;place-items:center;background:var(--canvas);padding:60px 40px}.login-card{width:100%;max-width:330px}.tag{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted)}.tag .status-dot{width:6px;height:6px}.login-card h1{font-size:33px;letter-spacing:-1.2px;font-weight:650;margin:26px 0 9px}.login-card>p{font-size:13px;color:var(--muted);margin-bottom:32px}.login-card form>label:not(.check){font-size:12px;font-weight:600;display:block;margin:18px 0 9px}.login-card form>input{width:100%;padding:13px 14px;border:1px solid #d8dbdf;border-radius:8px;background:var(--bg);font-size:12px;color:var(--text)}.login-card .check{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin:17px 0 23px}.check input{accent-color:var(--accent)}.login-card .primary{width:100%;font-size:12px}.login-card .login-footnote{font-size:10px;text-align:center;line-height:1.7;margin:25px 0;color:var(--muted)}.local-label{position:absolute;bottom:30px;letter-spacing:1.8px;font-size:8px;color:var(--muted)}
[data-theme=dark]{--bg:#202529;--canvas:#242b2f;--sidebar:#252d31;--rail:#1b2226;--text:#e6eaf1;--muted:#dfe5f0;--line:#344051;--accent:#c9deff;--accent-soft:#283954;--coral:#e99c81;--shadow:0 18px 60px #0006}[data-theme=dark] .send-button,[data-theme=dark] .primary{background:#243e76;color:#fff}[data-theme=dark] .workspace{background:#243e76}[data-theme=dark] .channel-link{color:var(--muted)}[data-theme=dark] .channel-link.selected{color:var(--accent)}[data-theme=dark] .sidebar-search,[data-theme=dark] .composer{border-color:var(--line)}[data-theme=dark] .mint{background:#283954}[data-theme=dark] .peach{background:#48392f}[data-theme=dark] .next-up strong{color:var(--muted)}[data-theme=dark] .mini-orbit{border-color:#525b67}[data-theme=dark] .space-art .shape-green{box-shadow:6px 7px 0 #333b46}
@media(min-width:1600px){.app-shell{grid-template-columns:78px 260px minmax(400px,1fr) 310px}.messages{padding-left:45px;padding-right:45px}.composer-wrap{padding-left:43px;padding-right:43px}.channel-header{padding-left:43px;padding-right:43px}.details{padding-left:30px;padding-right:30px}.welcome{padding-top:65px}}
@media(max-width:1200px){.app-shell{grid-template-columns:64px 218px minmax(300px,1fr)}.details{display:none}.app-shell.show-info .details{display:flex;position:fixed;right:0;top:0;bottom:0;width:286px;z-index:30;box-shadow:var(--shadow)}.community-heading{padding-left:17px;padding-right:14px}.community-heading h1{font-size:14px}.sidebar-search{margin-left:12px;margin-right:12px}.sidebar-search kbd{display:none}.channel-heading p{max-width:310px}.rail .workspace:before{left:-10px}}
@media(max-width:800px){.app-shell{grid-template-columns:56px 190px minmax(0,1fr)}.community-heading{padding-left:12px}.community-heading h1{font-size:13px;gap:7px}.community-heading .eyebrow{font-size:7px}.channel-link{font-size:12px;padding:10px 8px;gap:7px}.channel-header{padding:15px;height:76px;gap:8px}.header-actions{gap:0;padding-left:2px}.channel-heading p{max-width:180px}.messages{padding-left:20px;padding-right:20px}.composer-wrap{padding-left:16px;padding-right:16px}.welcome h2{font-size:27px}.rail .brand-mark svg{width:31px;height:31px}.rail .workspace{width:36px;height:36px;border-radius:11px}.login-story{padding-left:32px;padding-right:32px}.login-panel{padding-left:30px;padding-right:30px}.login-story h1{letter-spacing:-2px}.orbit-art{transform:scale(.82);transform-origin:left center;width:360px;margin-left:-5px}.next-up{padding-left:4px;padding-right:4px;gap:6px}.next-up strong{font-size:10px}}
@media(max-width:620px){.app-shell{grid-template-columns:minmax(0,1fr);min-height:350px}.rail{display:none}.sidebar{display:none}.mobile-menu,.mobile-close{display:inline-flex}.app-shell.show-sidebar .sidebar{display:flex;position:fixed;left:0;top:0;bottom:0;width:270px;z-index:41;box-shadow:var(--shadow)}.mobile-scrim{position:fixed;inset:0;background:#141d2a55;z-index:40}.community-heading{padding:25px 20px 19px}.community-heading h1{font-size:16px}.community-heading .eyebrow{font-size:9px}.channel-link{font-size:13px;padding:11px 12px}.channel-header{padding:12px 10px;height:72px;gap:7px}.channel-symbol{width:31px;height:31px;border-radius:9px}.channel-symbol svg{width:19px;height:19px}.channel-heading h2{font-size:14px;margin-bottom:4px}.channel-heading p{font-size:10px;max-width:170px}.header-actions .icon-button{width:29px;height:32px}.header-actions svg{width:17px;height:17px}.header-actions [data-action=members]{display:none}.messages{padding:0 20px 15px}.welcome{padding-top:35px}.welcome h2{font-size:27px}.welcome p{font-size:12px}.composer-wrap{padding:0 12px max(12px,env(safe-area-inset-bottom))}.composer{padding:10px}.message-tools{position:static;display:flex;align-self:start;margin-left:auto;background:transparent;border:0;box-shadow:none;flex-wrap:wrap;max-width:60px}.message{gap:8px}.message-tools button{width:26px;height:25px}.message-body{font-size:12px}.message .avatar{width:29px;height:29px}.message-meta{gap:6px}.message-meta strong{font-size:11px}.message-meta time{font-size:9px}.message-tools [data-op=pin]{display:none}.app-shell.show-info .details{width:min(286px,90vw)}.login-shell{grid-template-columns:1fr}.login-story{padding:23px 26px 29px}.login-story>div{padding-top:33px}.login-story h1{font-size:44px;line-height:1.05;margin:14px 0}.login-story p{font-size:12px;max-width:290px;margin:0}.login-story small,.orbit-art{display:none}.login-story .wordmark{font-size:18px}.login-story .wordmark img{width:30px;height:30px}.login-story .eyebrow{font-size:8px}.login-panel{padding:38px 28px 65px}.login-card h1{font-size:28px;margin-top:18px}.login-card>p{margin-bottom:24px}.local-label{bottom:17px}.search-bar{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* NOVE text contrast policy: >= 7.5:1 in every theme/state, including disabled text.
   Keep foregrounds separate from decorative accent colors. tests/contrast.mjs guards this. */
:root{--accent:#203969;--login-surface:#e9ecf0;--login-ink:#25303e;--on-accent:#fff;--accent-fill:#243e76;--accent-hover:#142447;--art-ink:#743a28}
[data-theme=dark]{--accent:#c9deff;--login-surface:#222d3c;--login-ink:#e0e7f0;--art-ink:#ffd0b8}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.primary,.send-button,.workspace{background:var(--accent-fill);color:var(--on-accent)}
.primary:hover{background:var(--accent-hover);color:var(--on-accent)}
.primary:disabled,.send-button:disabled{opacity:1;border:1px dashed currentColor}
[data-theme=dark] .primary:hover{background:var(--accent-hover)}
.wordmark-dot{color:var(--login-ink)}
.shape-coral,.mini-star{color:var(--art-ink)}
.spark{color:var(--login-ink)}
[data-theme=dark] .login-story .orbit{border-color:#647387}
.offline-page{font:18px 'Segoe UI',system-ui,sans-serif;max-width:440px;margin:15vh auto;padding:28px;background:var(--canvas);color:var(--text)}

/* The word stays readable throughout its entrance. Only the brand moves. */
.nove-lockup { display:inline-flex; align-items:center; gap:.18em; line-height:1; vertical-align:middle; }
.nove-lockup svg { width:1em; height:1em; fill:none; stroke:none; }
.community-heading .nove-lockup { font-size:21px; }
.community-heading h1 { margin-top:13px; }
.mobile-brand { display:none; }
.login-story { background:#192d55; color:#fff3d7; justify-content:center; gap:clamp(26px,6vh,75px); padding:clamp(28px,5vw,85px); }
.login-story > div { padding-top:0; }
.arrival-brand .nove-lockup { font-size:clamp(65px,8vw,148px); align-items:flex-start; flex-direction:column; gap:.25em; }
.arrival-brand svg { width:1.9em; height:1.9em; margin-left:-.2em; }
.story-caption { border-top:1px solid #768bad; padding-top:24px!important; }
.login-story .story-caption h1 { color:#fff3d7; font-size:clamp(22px,2.3vw,36px); letter-spacing:-.04em; margin:0 0 10px; }
.login-story .story-caption p { color:#e8efff; margin:0; max-width:37ch; }
.message-body { font-size:15px; line-height:1.58; }
.message-meta strong,.member strong { font-size:13px; }
.details .space-description { font-size:13px; }
@media(max-width:620px) {
  .mobile-brand { display:block; }
  .mobile-brand .nove-lockup { font-size:14px; gap:3px; flex-direction:column; }
  .mobile-brand svg { width:23px; height:23px; }
  .channel-symbol { display:none; }
  .login-story { padding:22px 26px; gap:16px; }
  .arrival-brand .nove-lockup { flex-direction:row; align-items:center; font-size:45px; gap:10px; }
  .arrival-brand svg { width:1.5em; height:1.5em; margin:0; }
  .story-caption { padding-top:14px!important; }
}

/* Shared optical proportions for the emblem and custom lettering. */
.nove-lockup .nove-type { width:2.5em; height:auto; margin:0; overflow:visible; }
.arrival-brand .nove-lockup { flex-direction:row; align-items:center; gap:.08em; font-size:clamp(60px,7.5vw,128px); }
.arrival-brand .nove-lockup > svg:first-child { width:1.3em; height:1.3em; margin-left:-.2em; }
.mobile-brand .nove-lockup .nove-type { width:2.2em; height:auto; }
@media(max-width:620px){
  .arrival-brand .nove-lockup { font-size:44px; }
}
.nove-intro { display:none; }
@media (prefers-reduced-motion:no-preference) {
  .nove-arrival .nove-intro {
    display:grid; place-items:center; position:fixed; inset:0; z-index:1000;
    pointer-events:none; overflow:hidden; background:#192d55; color:#fff3d7;
    animation:intro-lift 420ms 1240ms cubic-bezier(.7,0,.24,1) both;
  }
  .nove-intro-stage { position:relative; font-size:clamp(64px,11vw,128px); }
  .nove-intro .nove-lockup { position:relative; display:flex; flex-direction:column; gap:.15em; }
  .nove-intro .nove-lockup > svg:first-child { width:1.25em; height:1.25em; overflow:visible; }

  .nove-intro .nove-type { width:1.7em; overflow:hidden; }
  .intro-orbit { position:absolute; width:2.1em; height:1.05em; left:50%; top:.09em;
    transform:translateX(-50%); fill:none; stroke:#a6c6ff; stroke-width:1.6; }
  .intro-orbit ellipse { stroke-dasharray:26 74; animation:intro-trace 1050ms both; }
  .nove-intro .nove-fold-left,.nove-intro .nove-fold-right {
    transform-origin:64px 64px; animation:intro-fold 940ms cubic-bezier(.2,.75,.24,1) both;
  }
  .nove-intro .nove-fold-left { --x:-19px; --y:11px; --bank:-72deg; --turn:-26deg; }
  .nove-intro .nove-fold-right { --x:19px; --y:-11px; --bank:72deg; --turn:26deg; animation-delay:65ms; }
  .nove-intro .intro-seam { stroke-dasharray:1; animation:intro-glint 400ms 740ms both; }
  .nove-intro .nove-type path { animation:intro-letter 440ms var(--cue,570ms) cubic-bezier(.2,.8,.2,1) both; }
  .nove-intro .nove-type path:nth-child(2) { --cue:625ms; }
  .nove-intro .nove-type path:nth-child(3) { --cue:680ms; }
  .nove-intro .nove-type path:nth-child(4) { --cue:735ms; }
}
@keyframes intro-fold {
  from { transform:perspective(220px) translate(var(--x),var(--y)) rotate(var(--turn)) rotateY(var(--bank)) scale(.62); }
  72% { transform:perspective(220px) rotate(-2deg) rotateY(-8deg) scale(1.035); }
  to { transform:perspective(220px) rotate(0) rotateY(0) scale(1); }
}
@keyframes intro-trace {
  0% { stroke-dashoffset:40; stroke-dasharray:0 100; opacity:0; }
  18% { opacity:.85; }
  55% { stroke-dasharray:30 70; }
  100% { stroke-dashoffset:-68; stroke-dasharray:0 100; opacity:0; }
}
@keyframes intro-glint {
  0% { stroke-dashoffset:1; opacity:0; }
  45% { opacity:1; }
  100% { stroke-dashoffset:-1; opacity:0; }
}
@keyframes intro-letter {
  from { transform:translateY(47px) skewY(5deg); }
  to { transform:translateY(0) skewY(0); }
}
@keyframes intro-lift {
  from { clip-path:polygon(0 0,100% 0,100% 110%,0 100%); }
  to { clip-path:polygon(0 0,100% 0,100% 0,0 -10%); visibility:hidden; }
}
/* The monogram sits directly on the surrounding surface. */
:root {
  --nove-ink: #192d55;
  --nove-amber: #673905;
  --nove-brand-surface: #fff;
  color-scheme: light;
  --nove-brand-trace: #36588b;
}
[data-theme=dark] {
  --nove-ink: #fff3d7;
  --nove-amber: #f6bd70;
  --nove-brand-surface: #192d55;
  color-scheme: dark;
  --nove-brand-trace: #a6c6ff;
}

.nove-fold-left { fill:var(--nove-ink); }
.nove-fold-right { fill:var(--nove-amber); }
.nove-lockup { color:var(--nove-ink); }
.rail .brand-mark svg { width:37px; height:37px; stroke:none; }
.login-story { background:var(--canvas); }
.nove-arrival .nove-intro { background:var(--nove-brand-surface); }
.login-story .story-caption h1,.login-story .story-caption p { color:var(--nove-ink); }
.nove-intro .intro-orbit { stroke:var(--nove-brand-trace); }
.nove-intro .intro-seam { stroke:var(--nove-ink); }
@media(max-width:800px) {
  .rail .brand-mark svg { width:31px; height:31px; }
}
/* Navigation labels and supporting actions stay quieter than the conversation. */
.section-heading,.details h4 { font-size:12px; letter-spacing:normal; }
.roadmap-link { margin:24px 8px 12px; padding:4px 0; font-size:12px; color:var(--muted); }
.roadmap-link:hover { text-decoration:underline; }
.channel-heading h2 { margin:0; }
.empty-room { align-items:center; }
.space-description + .space-description { margin-top:8px; }
#voice-panel { width:min(460px,96vw); }
#settings-voice fieldset { border:0; border-top:1px solid var(--line); margin:16px 0 0; padding:12px 0 0; }
#settings-voice legend { font-size:14px; font-weight:650; padding-right:8px; }
#settings-voice label { display:block; margin:10px 0; font-size:13px; }
#settings-voice select { display:block; padding:7px; margin-top:5px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:5px; width:100%; }
#settings-voice input[type=range],#settings-voice meter { display:block; width:100%; accent-color:var(--accent); }
#settings-voice input[type=checkbox] { accent-color:var(--accent); }
#settings-voice meter::-webkit-meter-optimum-value { background:var(--accent); }
#settings-voice meter::-moz-meter-bar { background:var(--accent); }
#settings-voice output { float:right; }
.voice-help,#voice-notice { font-size:12px; color:var(--muted); }
#voice-notice:empty { display:none; }
.voice-actions,.voice-person { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.voice-person { justify-content:space-between; padding:5px 0; font-size:13px; }
.voice-person input { max-width:100px; }
.sidebar-footer { display:block; padding:10px; }
.server-status { display:flex; align-items:center; gap:8px; padding:3px 5px; }
#voice-bar:not([hidden]) + .server-status { display:none; }
#voice-bar { display:grid; gap:8px; color:var(--text); }
.call-heading { display:flex; gap:8px; align-items:center; min-width:0; }
:root { --call-surface:var(--rail); }
[data-theme=dark] { --call-surface:var(--bg); }
.call-signal { display:grid; place-items:center; width:28px; height:30px; color:var(--accent); }
.call-heading > div { flex:1; min-width:0; }
#voice-status { display:block; font-size:12px; font-weight:650; color:var(--accent); }
#voice-current { max-width:100%; display:block; padding:0; font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#voice-current:hover { text-decoration:underline; }
.call-tools { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
.call-button { display:grid; place-items:center; position:relative; padding:0; border:1px solid var(--line); border-radius:7px; min-height:32px; --icon-surface:var(--call-surface); background:var(--icon-surface); color:var(--text); }
.call-button span[data-icon] { position:relative; display:grid; place-items:center; }
.call-button svg { width:19px; height:19px; }
.call-button[aria-pressed=true] { --icon-surface:var(--accent-soft); background:var(--icon-surface); color:var(--accent); border-color:currentColor; }
.hang-up { width:30px; color:#892c32; }
[data-theme=dark] .hang-up { color:#ffc3c5; }
:is(#voice-mute,#voice-deafen)[aria-pressed=true] > [data-icon]::after { content:""; position:absolute; width:20px; height:2px; border-radius:2px; background:currentColor; transform:rotate(-46deg); }
.camera-housing { transform-origin:6px 15px; }
.camera-slash { transform-origin:12px 12px; stroke-dasharray:1 2; stroke-dashoffset:0; }
.camera-slash .slash-gap { stroke:var(--icon-surface); stroke-width:4.4; }
#voice-camera[aria-pressed=true] .camera-slash { stroke-dashoffset:1.08; opacity:0; }
.mic-capsule { transform-origin:12px 14px; }
.headband { transform-origin:12px 13px; }
#voice-hold,#voice-resume { border-radius:6px; background:var(--accent-soft); color:var(--accent); min-height:32px; font-size:13px; }
#call-feedback { margin:0; font-size:12px; } #call-feedback:empty { display:none; }
#voice-hold { touch-action:none; user-select:none; }
#voice-hold[aria-pressed=true] { color:#fff; background:#243e76; }
.profile-initial { display:grid; place-items:center; flex:none; background:#e9cfb9; color:#362a20; border-radius:50%; }
.composer-wrap { padding:4px clamp(10px,1.5vw,24px) max(9px,env(safe-area-inset-bottom)); }
.composer { display:flex; align-items:flex-end; gap:4px; padding:4px 5px 4px 12px; border-radius:9px; background:var(--canvas); }
.composer textarea { min-width:0; flex:1; font:inherit; font-size:14px; line-height:20px; padding:6px 0; max-height:132px; }
.composer .icon-button,.composer .send-button { display:grid; place-items:center; width:32px; height:32px; flex:none; padding:0; }
.composer .send-button svg { width:17px; height:17px; }
.composer .send-button { --icon-surface:var(--accent-fill); color:#e8ebf0; --icon-pose:translate(2px,-1.6px) rotate(-9deg) scale(1.08); }
.icon-button[data-icon=close] { --icon-pose:rotate(17deg); }
.hang-up { --icon-pose:translateY(-1.5px) rotate(-13deg); }
@media (prefers-reduced-motion:no-preference) {
  .camera-slash { transition:stroke-dashoffset 290ms cubic-bezier(.35,0,.22,1),opacity 260ms ease,transform 330ms ease-out; }
}
@media (hover:hover) {
  :is(.call-button,.icon-button,.send-button):enabled:hover {
    background-color:color-mix(in srgb,var(--icon-surface,transparent) 90%,white 10%);
  }
  :is(.call-button,.icon-button,.send-button):enabled:hover > :is(svg,[data-icon]) {
    filter:brightness(1.1);
  }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  :is(.call-button,.icon-button,.send-button) {
    transition:background-color 160ms ease-out;
  }
  :is(.call-button,.icon-button,.send-button) > :is(svg,[data-icon]) {
    transition:transform 240ms cubic-bezier(.22,.75,.25,1),filter 160ms ease-out;
  }
  :is(.call-button,.icon-button,.send-button):enabled:hover > :is(svg,[data-icon]) {
    transform:var(--icon-pose,translateY(-1.4px) scale(1.08));
  }
  .call-button :is(.camera-housing,.camera-lens,.mic-capsule,.headband,.ear-left,.ear-right,.share-arrow,.slider-top,.slider-bottom) {
    transition:transform 360ms cubic-bezier(.22,1.32,.36,1);
  }
  #voice-camera:enabled:hover .camera-housing { transform:rotate(-9deg); }
  #voice-camera:enabled:hover .camera-lens { transform:translateX(1.1px); }
  #voice-camera[aria-pressed=false]:enabled:hover .camera-slash { transform:rotate(7deg); stroke-dashoffset:.055; }
  #voice-mute:enabled:hover .mic-capsule { transform:translateY(-1px) rotate(-14deg); }
  #voice-deafen:enabled:hover .headband { transform:scaleX(1.13); }
  #voice-deafen:enabled:hover .ear-left { transform:translate(-1px,.8px); }
  #voice-deafen:enabled:hover .ear-right { transform:translate(1px,.8px); }
  #share-toggle:enabled:hover .share-arrow { transform:translateY(-2.6px); }
  #voice-audio-settings:enabled:hover .slider-top { transform:translateX(4px); }
  #voice-audio-settings:enabled:hover .slider-bottom { transform:translateX(-4px); }
  :is(.call-button,.icon-button,.send-button):enabled:active > :is(svg,[data-icon]) {
    transform:scale(.98);
    transition-duration:90ms;
  }
}
#char-count { align-self:center; color:var(--muted); font-size:10px; white-space:nowrap; }
@media(max-width:620px) {
  .app-shell.show-sidebar .rail { display:flex; position:fixed; left:0; top:0; bottom:0; width:50px; z-index:41; }
  .app-shell.show-sidebar .sidebar { left:50px; width:min(270px,calc(100vw - 80px)); }
  .app-shell.show-sidebar :is(.rail,.sidebar) {
    transform:translateX(max(-320px,calc(30px - 100vw)));
    transition:transform 190ms cubic-bezier(.4,0,.6,1);
  }
  .app-shell.drawer-open :is(.rail,.sidebar) {
    transform:translateX(0);
    transition:transform 250ms cubic-bezier(.2,.8,.2,1);
  }
  .mobile-scrim { opacity:0; transition:opacity 190ms ease; }
  .app-shell.drawer-open + .mobile-scrim { opacity:1; }
  .app-shell:not(.show-sidebar):has(#voice-bar:not([hidden])) { grid-template-rows:minmax(0,1fr) auto; }
  .app-shell:not(.show-sidebar) .sidebar:has(#voice-bar:not([hidden])) { display:contents; }
  .app-shell:not(.show-sidebar) .sidebar > :not(.sidebar-footer) { display:none; }
  .app-shell:not(.show-sidebar) .sidebar-footer { grid-row:2; grid-column:1; background:var(--sidebar); padding:6px 8px max(6px,env(safe-area-inset-bottom)); }
  .app-shell:not(.show-sidebar) #voice-bar { grid-template-columns:minmax(0,1fr) minmax(160px,1.2fr); align-items:center; }
  .app-shell:not(.show-sidebar) #voice-bar > :is(#call-feedback,#voice-resume,#voice-hold) { grid-column:1/-1; }
  .app-shell:not(.show-sidebar) .call-signal { display:none; }
  .app-shell:not(.show-sidebar) .call-button { min-height:36px; }
}
#user-settings { width:min(1040px,95vw); height:min(760px,91dvh); max-height:100dvh; max-width:100vw; padding:0; overflow:hidden; }
.settings-layout { display:grid; grid-template-columns:250px minmax(0,1fr); position:relative; height:100%; }
.settings-nav,.settings-content { overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.settings-nav { background:var(--sidebar); padding:28px 16px 18px; border-right:1px solid var(--line); }
.settings-nav h2 { font-size:21px; margin:0 10px 18px; letter-spacing:-.6px; }
.settings-search { display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; background:var(--bg); gap:6px; padding:0 8px; }
.settings-search svg { width:15px; height:15px; }
.settings-search input { width:100%; min-width:0; border:0; background:transparent; color:var(--text); padding:9px 0; font:inherit; font-size:13px; }
.settings-nav nav h3 { color:var(--muted); font-size:12px; margin:20px 10px 6px; }
.settings-nav nav button,.settings-signout { width:100%; padding:8px 10px; display:flex; align-items:center; gap:10px; color:var(--text); font-size:14px; text-align:left; border-radius:6px; }
.settings-nav nav button span { display:flex; }
.settings-nav nav button svg { width:17px; height:17px; }
.settings-nav nav button:hover,.settings-signout:hover { background:var(--line); }
.settings-nav nav button[aria-current] { color:var(--accent); background:var(--accent-soft); font-weight:650; }
.settings-signout { margin-top:20px; }
.settings-content { padding:36px clamp(24px,5vw,66px) 52px; }
.settings-content h1 { font-size:clamp(26px,3vw,34px); letter-spacing:-1px; margin:0 42px 24px 0; }
.settings-content h2,.settings-box legend { font-size:16px; font-weight:650; margin:0; }
.settings-content p { color:var(--muted); font-size:14px; line-height:1.6; }
.settings-close { --icon-surface:var(--canvas); position:absolute; right:14px; top:14px; border:1px solid var(--line); background:var(--icon-surface); border-radius:50%; }
.settings-back { display:none; }
.voice-roster { list-style:none; border-left:1px solid var(--line); margin:0 0 8px 20px; padding:0 0 0 10px; }
.voice-roster li { overflow-wrap:anywhere; color:var(--muted); font-size:13px; padding:3px 0; }
.voice-roster:empty,#share-stage:empty,#share-result:empty { display:none; }
#share-stage { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:8px; padding:8px 12px; background:var(--canvas); overflow:auto; max-height:44dvh; flex:none; }
#share-stage figure { min-width:0; margin:0; background:var(--bg); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
#share-stage figcaption { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:5px 10px; color:var(--text); font-size:13px; overflow-wrap:anywhere; }
#share-stage figcaption span { white-space:nowrap; }
#share-stage video { display:block; width:100%; height:auto; max-height:32dvh; background:#131720; object-fit:contain; }
#share-stage video:fullscreen { max-height:none; height:100%; }
#share-form { display:grid; gap:14px; }
#share-form label { display:grid; gap:5px; font-size:14px; color:var(--text); }
#share-form select,#share-custom input { width:100%; min-width:0; font:inherit; padding:8px; color:var(--text); background:var(--canvas); border:1px solid var(--line); border-radius:6px; }
#share-custom { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
#share-form .share-audio { display:flex; align-items:center; }
#share-result { margin:0; color:var(--muted); }
.profile-card { border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.profile-banner { height:108px; background:linear-gradient(124deg,#293e66 0 49%,#354e7f 49% 62%,#466393 62% 73%,#d9ac79 73% 76%,#263955 76%); }
.profile-identity { display:flex; flex-direction:column; align-items:flex-start; padding:0 22px 20px; overflow-wrap:anywhere; }
.profile-initial { width:64px; height:64px; font-size:26px; border:4px solid var(--bg); margin-top:-30px; }
.profile-identity strong { font-size:21px; margin-top:6px; }
.profile-identity span:last-child { color:var(--muted); font-size:13px; margin-top:2px; }
.settings-box { border:1px solid var(--line); border-radius:12px; padding:18px; margin:20px 0; min-width:0; }
.settings-box label,.settings-row,.settings-list dt { font-weight:600; font-size:14px; }
#profile-name,.settings-content select { font:inherit; font-size:14px; color:var(--text); border:1px solid var(--line); background:var(--canvas); border-radius:7px; padding:9px; }
#profile-name { display:block; width:100%; margin:8px 0 14px; }
#profile-form button { display:inline-flex; padding:9px 14px; font-size:14px; }
#profile-result { font-size:13px; margin-left:10px; }
.settings-list { margin:0 0 20px; display:grid; align-items:center; grid-template-columns:minmax(100px,1fr) minmax(0,1.3fr); }
.settings-list dt,.settings-list dd { padding:15px 0; margin:0; border-bottom:1px solid var(--line); align-self:stretch; overflow-wrap:anywhere; }
.settings-list dd { color:var(--muted); font-size:14px; }
.settings-row { min-height:63px; display:flex; gap:16px; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.settings-row input { width:18px; height:18px; accent-color:var(--accent); }
.theme-choices { display:flex; gap:12px; }
.theme-choices label { cursor:pointer; flex:1; position:relative; }
.theme-choices input { position:absolute; top:8px; right:8px; color:var(--text); accent-color:#243e76; }
.theme-sample { height:65px; display:flex; align-items:center; gap:8px; margin-bottom:7px; border-radius:8px; border:1px solid var(--line); overflow:hidden; }
.theme-sample i { width:25%; height:100%; }
.theme-sample b { width:38%; height:6px; border-radius:3px; box-shadow:0 12px 0 currentColor; }
.sample-light { background:#fff; color:#62738e; }.sample-light i { background:#e5edff; }.sample-dark { background:#242b2f; color:#b5c7e4; }.sample-dark i { background:#38435b; }.theme-sample b { background:currentColor; }
.theme-choices input:checked + span { outline:2px solid var(--accent); outline-offset:1px; }
#settings-voice fieldset { margin:0 0 22px; padding:14px 18px; border:1px solid var(--line); border-radius:12px; min-width:0; }
#settings-voice legend { font-size:16px; }
#settings-voice label { font-weight:600; }
#settings-voice .voice-check { display:flex; align-items:center; gap:8px; }
#settings-voice .voice-check input { margin:0; }
#settings-voice select { background:var(--canvas); }
#voice-notice:empty,#voice-room-notice:empty,#install-help:empty { display:none; }
[data-text-size=large] .message-body { font-size:18px; }[data-text-size=larger] .message-body { font-size:21px; }
[data-density=compact] .message { padding-block:4px; margin-block:0; }
[data-unread=off] .channel-link .unread { display:none; }
@media(max-width:720px) {
  #user-settings { width:100vw; height:100dvh; margin:0; border:0; border-radius:0; }
  .settings-layout { display:block; }
  .settings-nav,.settings-content { height:100%; padding:22px 20px 30px; }
  .settings-nav { border:0; }
  .settings-back { display:inline-flex; margin:0 0 20px; }
  #user-settings[data-view=index] .settings-content,#user-settings[data-view=page] .settings-nav { display:none; }
  .settings-nav nav button { min-height:42px; }
  .settings-content h1 { margin-bottom:19px; }
}
*, ::before, ::after { corner-shape: squircle; }
.composer { position:relative; }
#command-picker {
  position:absolute; z-index:8; inset:auto 0 calc(100% + 6px); max-height:min(320px,42dvh); overflow:auto;
  padding:4px; background:var(--bg); color:var(--text); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--shadow); overscroll-behavior:contain;
}
#command-picker [role=option] { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 14px; padding:8px 10px; cursor:pointer; border-radius:8px; text-align:left; }
#command-picker strong { min-width:100px; font-size:13px; }
#command-picker span { color:var(--muted); font-size:12px; }
#command-picker [aria-selected=true],#command-picker [role=option]:hover { background:var(--accent-soft); }
[data-voice-person] { display:block; max-width:100%; padding:3px 5px; font:inherit; color:inherit; text-align:left; overflow-wrap:anywhere; border-radius:6px; }
[data-voice-person]:hover,[data-voice-person]:focus-visible { background:var(--canvas); text-decoration:underline; }
.voice-roster [data-voice-person] { width:100%; }
#participant-menu {
  position:fixed; inset:auto; margin:0; width:228px; max-width:calc(100vw - 12px);
  max-height:calc(100dvh - 12px); padding:14px; border-radius:12px; overflow:auto;
}
#participant-menu::backdrop { background:transparent; backdrop-filter:none; }
#participant-menu .modal-heading { margin:0 0 8px; }
#participant-title { font-size:16px; overflow-wrap:anywhere; }
#participant-menu label { display:block; font-size:13px; }
#participant-level { float:right; font-variant-numeric:tabular-nums; }
#participant-volume { width:100%; margin:8px 0; accent-color:var(--accent); }
#participant-juke { display:grid; gap:2px; border-top:1px solid var(--line); padding-top:6px; }
#participant-juke button { border-radius:6px; text-align:left; padding:7px 6px; color:var(--text); }
#participant-juke button:hover,#participant-juke button:focus-visible { background:var(--accent-soft); }
#participant-juke label { margin:6px 6px 2px; }
#participant-destination { font:inherit; font-size:13px; padding:5px; margin:2px 4px 5px; background:var(--canvas); color:var(--text); border:1px solid var(--line); border-radius:6px; }
.dm-ring { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 16px; background:var(--accent-soft); color:var(--text); }
.dm-ring strong { flex:1 1 130px; overflow-wrap:anywhere; }
.dm-ring button { width:auto; margin:0; min-height:34px; padding:4px 12px; }
#typing-status:not(:empty) { padding:0 4px 4px; font-size:12px; color:var(--text); }
[data-online-member] { display:block; font-size:11px; color:var(--text); }

.nove-google { margin: 14px 0; color: var(--text); }
.nove-google [data-google-status]:not(:empty) { display: block; margin-top: 8px; }

.app-shell.typing-on-phone { position:fixed; inset:var(--chat-top) 0 auto; height:var(--chat-height); min-height:0; }
@media (any-pointer:coarse) {
  /* Keep fields at Safari's focus-zoom threshold, including controls inside dialogs. */
  :where(input:not([type]), input:is([type=text],[type=search],[type=email],[type=password],[type=tel],[type=url],[type=number]), textarea, select, [contenteditable=""], [contenteditable=true], [contenteditable=plaintext-only]) {
    font-size:max(16px, 1rem) !important;
  }
}
#juke-stage { flex:0 1 auto; min-height:0; overflow:auto; padding:5px 14px; border-bottom:1px solid var(--border); }
.juke-controls { display:flex; gap:10px; align-items:center; }
#juke-title { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#juke-video iframe { display:block; width:min(100%,480px); height:clamp(200px,27dvh,270px); border:0; margin:5px auto; }
#juke-hint:empty { display:none; }
