
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#293b32;background:#f4f3ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bd873f;outline-offset:3px}button{color:inherit}.top{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid #dfE3da;background:#fafbf7}.brand{display:flex;align-items:center;gap:13px;font-size:25px;font-weight:750;letter-spacing:-1px}.mark{background:#345b46;color:white;width:39px;height:39px;border-radius:13px;display:grid;place-items:center;font-size:23px}.tagline{font-size:12px;letter-spacing:0;font-weight:450;color:#788277;margin-top:3px}.local{font-size:12px;padding:8px 13px;border:1px solid #d9dfd2;border-radius:20px;background:#eef2e7}.intro{max-width:1400px;margin:30px auto 22px;padding:0 35px;display:flex;justify-content:space-between;align-items:end}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#75816e;font-weight:700}h1{font-size:29px;letter-spacing:-1px;margin:9px 0 8px;font-weight:600}.intro p{font-size:14px;color:#788076;margin:0}.date{font-size:12px;color:#7c857b}.app{max-width:1330px;margin:0 auto 24px;height:650px;max-height:calc(100dvh - 285px);min-height:400px;display:grid;grid-template-columns:310px 1fr 245px;border:1px solid #dce1d7;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 35px #263a2b06}.sidebar{background:#f9faf6;border-right:1px solid #e5e8df;display:flex;flex-direction:column;min-height:0}.section-head{padding:25px 23px 18px;display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:650}.count{font-size:11px;background:#e9ede3;border-radius:7px;padding:4px 7px;color:#718067}.search{margin:0 18px 19px;position:relative}.search span{position:absolute;left:12px;top:9px;color:#8b9586}.search input{width:100%;padding:10px 12px 10px 34px;border:1px solid #e0e5d9;border-radius:9px;background:white;font-size:12px}.contacts{overflow:auto;flex:1}.contact{border:0;background:none;text-align:left;width:calc(100% - 20px);margin:0 10px 5px;padding:14px 12px;display:flex;gap:11px;border-radius:10px;align-items:center}.contact:hover{background:#eef1e9}.contact.active{background:#e8eee1}.avatar{position:relative;flex-shrink:0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e8dacb;color:#775d49;font-size:13px;font-weight:600}.dot{position:absolute;width:11px;height:11px;border:2px solid #fafbf7;border-radius:50%;background:#5b9568;bottom:0;right:0}.away{background:#c8a05a}.busy{background:#bc716b}.offline{background:#a5ada5}.person{min-width:0;flex:1}.name{font-size:13px;font-weight:650;margin-bottom:5px}.preview{font-size:11px;color:#7e877c;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stamp{font-size:10px;color:#8f988b;align-self:start;margin-top:2px}.self{border-top:1px solid #e3e7dc;padding:19px;display:flex;align-items:center;gap:11px}.self .avatar{background:#dce7d5;color:#45613e}.self select{border:0;background:transparent;color:#727e6b;font-size:11px;max-width:150px;padding:0;margin-left:-3px}.chat{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-head{padding:21px 27px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0e8}.chat-head .name{font-size:15px}.status-text{font-size:11px;color:#7b8875}.demo-label{margin-left:auto;font-size:10px;color:#8c9686;background:#f3f5ee;padding:6px 9px;border-radius:6px}.messages{flex:1;overflow:auto;padding:22px 30px;background:#fff;display:flex;flex-direction:column;gap:18px}.day{align-self:center;font-size:10px;color:#929a8d;background:#f7f8f3;padding:6px 13px;border-radius:20px}.message{max-width:84%;align-self:flex-start}.message.mine{align-self:flex-end}.bubble{background:#f1f3ec;border-radius:3px 14px 14px 14px;padding:13px 16px;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.mine .bubble{background:#e6eddf;border-radius:14px 3px 14px 14px}.meta{font-size:9px;color:#91998b;margin-top:6px}.mine .meta{text-align:right}.composer{padding:15px 25px 19px;border-top:1px solid #edf0e7}.quick{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}.quick button{border:1px solid #e2e7db;background:#fafbf7;border-radius:20px;padding:7px 10px;font-size:10px;color:#6d7b63}.write{display:flex;align-items:end;gap:10px;border:1px solid #dde3d5;border-radius:11px;padding:10px 10px 10px 14px;background:#fcfdf9}.write textarea{resize:none;border:0;outline:0;background:transparent;flex:1;min-width:0;height:40px;max-height:130px;font-size:12px;line-height:1.6;padding-top:8px}.send{border:0;background:#385d44;color:white;border-radius:8px;width:38px;height:38px;font-size:20px}.send:disabled{opacity:.35;cursor:default}.hint{display:flex;justify-content:space-between;font-size:9px;color:#939b8c;margin-top:9px}.details{overflow:auto;border-left:1px solid #e6e9e0;background:#fcfdf9;padding:28px 22px}.profile{text-align:center;padding:8px 0 28px;border-bottom:1px solid #e4e8dd}.profile .avatar{width:64px;height:64px;font-size:21px;margin:0 auto 15px}.profile h2{font-size:16px;margin:0 0 7px}.profile p{font-size:11px;color:#839078;margin:0}.detail-title{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#929c87;margin-top:26px;margin-bottom:13px}.detail-copy{font-size:12px;line-height:1.8;color:#76836c}.note{margin-top:25px;padding:15px;background:#f1f4e9;border:1px solid #e5eadb;border-radius:9px;font-size:11px;line-height:1.8;color:#718060}.note strong{display:block;color:#536448;font-size:12px;margin-bottom:5px}.reset{margin-top:24px;background:none;border:0;padding:0;font-size:10px;color:#8b8f80;text-decoration:underline}.footer{max-width:1330px;margin:0 auto 22px;display:flex;justify-content:space-between;color:#92998b;font-size:10px;padding:0 3px}.empty{padding:25px;color:#828d79;font-size:12px}.toast{font-size:11px;color:#7c5525;min-height:15px;margin-top:5px}.back{display:none}dialog{border:1px solid #dce1d7;border-radius:15px;padding:28px;max-width:400px;color:#293b32}dialog::backdrop{background:#263b3255}dialog p{font-size:13px;line-height:1.7}dialog button{border:1px solid #dce1d7;padding:9px 12px;border-radius:7px;background:#f3f5ed;margin-right:6px}@media(min-height:950px){.app{height:730px}}@media(max-width:1150px){.app{margin:0 25px 20px;grid-template-columns:280px 1fr}.details{display:none}.footer{padding:0 28px}}@media(max-width:700px){.top{height:74px;padding:0 18px}.brand{font-size:22px}.local{font-size:10px}.intro{padding:0 20px;margin:22px auto}.intro h1{font-size:25px}.date{display:none}.app{margin:0 12px 18px;max-height:none;height:calc(100dvh - 220px);min-height:440px;grid-template-columns:1fr}.chat{display:none}.app.in-chat .sidebar{display:none}.app.in-chat .chat{display:flex}.back{display:block;border:0;background:none;font-size:22px;padding:0 6px 0 0}.chat-head{padding:17px}.messages{padding:20px}.composer{padding:12px}.hint span:last-child{display:none}.footer{padding:0 16px;line-height:1.7;gap:15px}.demo-label{font-size:9px}.intro p{font-size:12px}}

:root{color:#352f35;background:#f0ece8;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 85% 0,#ebe1e8,transparent 45%),#f5f1ec}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #8b6686;outline-offset:2px}.top{height:80px;flex-shrink:0;padding:0 32px;background:#ffffffb8;border-color:#e5ddd7}.mark{background:#62475f;border-radius:12px}.brand{color:#40343e}.tagline{color:#80727b}.top-actions{display:flex;gap:14px;align-items:center}.quiet{border:0;background:transparent;color:#73616e;text-decoration:none;font-size:12px;padding:10px 4px}.profile-button{display:flex;align-items:center;gap:9px;border:0;background:none;padding:5px;font-size:12px;font-weight:600}.profile-button .avatar{width:32px;height:32px;font-size:12px}.local{background:#eee7e9;border-color:#e3dadf;color:#796777}.intro{width:100%;max-width:1440px;padding:0 32px;margin:24px auto 22px;flex-shrink:0}.eyebrow{color:#8b7986;font-size:10px;letter-spacing:1.8px}h1{font-size:28px;color:#3c303a;margin:7px 0}.intro p,.date{color:#80717c}.date{font-size:11px}.app{width:calc(100% - 64px);max-width:1440px;flex:1;min-height:0;height:auto;max-height:none;grid-template-columns:310px minmax(0,1fr) 235px;margin:0 auto 12px;border-radius:16px;border-color:#e3dadf;box-shadow:0 10px 32px #54364b0c}.sidebar{background:#faf7f3;border-color:#eae2dc}.section-head{font-size:16px;padding:24px 22px 18px}.count{background:#eee7e9;color:#867680}.search{margin:0 16px 12px}.search input{font-size:13px;border-color:#e3dadf;padding:12px 10px 12px 32px;background:white}.search span{top:10px}.filters{display:flex;gap:5px;padding:0 16px 12px}.filters button{min-height:36px;flex:1;border:1px solid #e3dadf;background:white;border-radius:7px;color:#796b75;font-size:12px}.filters button[aria-pressed=true]{background:#694f66;border-color:#694f66;color:white}.filters button:disabled{opacity:.4;cursor:default}.scope-note{font-size:10px;color:#8a7b84;padding:0 20px 14px;line-height:1.5}.contact{padding:14px 12px;min-height:74px;gap:12px;margin-bottom:3px}.contact:hover{background:#f2ecee}.contact.active{background:#eee4ec;box-shadow:none}.contact{position:relative;padding-left:22px}.contact.active::before{content:"";position:absolute;left:8px;top:22%;bottom:22%;width:3px;border-radius:4px;background:#866180}.name{font-size:14px;font-weight:600}.preview{font-size:12px;color:#796c76;line-height:1.5}.stamp{display:none}.avatar{background:#eae1e6!important;color:#796174;border:0;width:43px;height:43px;font-size:14px;isolation:isolate}.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar .dot{z-index:1}.dot{background:#559b78;border-color:#faf7f3}.away{background:#c2a064}.busy{background:#b97b7b}.offline{background:#a6a09f}.self{padding:15px 20px;border-color:#e7ddd8}.self select{font-size:12px;color:#796b75;min-height:30px;max-width:195px}.chat-head{padding:18px 24px;border-color:#ece5e0;flex-shrink:0;min-height:81px}.chat-head .name{font-size:16px}.status-text{color:#80717c;font-size:12px}.demo-label{background:#f3efeb;color:#887c85;white-space:nowrap}.messages{background:#fff;padding:24px;gap:16px;overscroll-behavior:contain}.day{color:#8a7e84;background:#f7f4f0;font-size:10px}.bubble{background:#f3efeb;color:#53454f;font-size:14px;padding:12px 16px;line-height:1.6}.mine .bubble{background:#eee3ed;color:#583e54}.meta{color:#8d7e88;font-size:10px}.composer{padding:14px 22px 12px;background:#fff;border-color:#eee6e0;flex-shrink:0}.quick{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px}.quick button{white-space:nowrap;min-height:36px;font-size:11px;background:#faf7f3;border-color:#e7ddd8;color:#7c6877}.write{background:#fcfaf7;border-color:#e5dbe2;align-items:center;padding:7px 8px 7px 13px}.write textarea{font-size:14px;padding:8px 0;height:40px}.send{background:#70516a;min-width:44px;width:44px;height:44px;border-radius:9px}.hint{color:#8c7d87;font-size:10px;line-height:1.5}.toast{color:#826b7d;font-size:10px;min-height:14px;margin-top:3px}.details{background:#fcfaf7;border-color:#e9dfda;padding:25px 20px;overscroll-behavior:contain}.profile{border-color:#e7ddd8;padding-bottom:22px}.profile .avatar{width:66px;height:66px}.profile h2{color:#5f4d5b}.profile p{color:#8b7b86}.detail-title{color:#8e7c89;margin-top:23px}.detail-copy{color:#806a7a}.note{background:#f3ebef;border-color:#e9dce5;color:#86737f;font-size:11px;line-height:1.7;margin-top:22px;padding:13px}.note strong{color:#775e70}.reset{color:#8b7b86}.footer{width:calc(100% - 64px);max-width:1440px;margin:0 auto 12px;flex-shrink:0;color:#8b7b86;font-size:10px}.footer span{line-height:1.5}.empty{color:#85737e}dialog{width:min(480px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 36px);padding:26px;border-color:#e6dce1;border-radius:16px;color:#503f4d;overflow:auto}dialog::backdrop{background:#30202d5c;backdrop-filter:blur(4px)}dialog h2{font-size:22px;letter-spacing:-.5px;margin:0}dialog p{font-size:13px;color:#80717c;line-height:1.7}dialog button{min-height:44px;background:#f5efed;border-color:#e6dce1;color:#81697b}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-head button{border:0;background:none;margin:0;font-size:25px;padding:0 10px}.large.avatar{width:76px;height:76px;margin:20px auto;font-size:30px}dialog label{display:block;font-size:13px;color:#7b6275;margin:16px 0}dialog label span{font-weight:400;color:#94818f}dialog input:not([type=file]),dialog select{display:block;width:100%;font-size:16px;color:#61485b;padding:11px;border:1px solid #e6dce1;background:#fdfaf7;border-radius:8px;margin-top:7px;min-height:46px}fieldset{padding:12px;border:1px solid #e7ddd8;border-radius:10px;margin:20px 0}legend{font-size:12px;color:#87717f}.avatar-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.avatar-choices button{margin:0;font-size:13px}.avatar-choices button[aria-pressed=true]{border-color:#94758b;background:#ede0e9;color:#7d5872}.photo-label input{display:block;font-size:12px;max-width:100%;margin-top:10px}.small,dialog p.small{font-size:11px;line-height:1.6;color:#8b7585}.primary,dialog .primary{width:100%;background:#70516a;color:white;border:0;border-radius:8px;margin:8px 0 0;padding:12px}.setting-card{background:#f6f0ed;border-radius:10px;padding:15px;margin:13px 0;font-size:13px}.setting-card p{margin:7px 0 0;font-size:12px}
@media(max-width:1150px){.app{grid-template-columns:285px minmax(0,1fr)}.details{display:none}.hint span:last-child{display:none}.top-actions{gap:9px}}
@media(max-width:700px){body{height:var(--visible-height,100dvh);min-height:0;overflow:hidden}.top{height:65px;padding:0 14px;gap:10px}.brand{font-size:20px;gap:8px}.mark{width:32px;height:32px;border-radius:10px;font-size:21px}.tagline{display:none}.top-actions{gap:4px}.top-actions .quiet{font-size:11px;padding:10px 5px}.top-actions a.quiet{display:none}.profile-button{min-height:44px;padding:5px}.profile-button>span:last-child{display:none}.local{font-size:9px;padding:6px 8px}.intro{margin:16px 0;padding:0 18px}.intro .eyebrow{font-size:9px;letter-spacing:1.2px}.intro h1{font-size:24px}.intro p{font-size:12px;line-height:1.5;max-width:330px}.date{display:none}.app{width:100%;border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:none;margin:0;min-height:0;max-height:none;height:auto;grid-template-columns:1fr}.sidebar{border:0}.section-head{padding:17px 20px 14px}.search input{font-size:16px;padding:12px 10px 12px 34px;min-height:46px}.search span{top:12px}.filters button{min-height:42px;font-size:13px}.scope-note{font-size:11px;padding-bottom:12px}.contact{min-height:80px;padding:14px 12px}.contact .avatar{width:46px;height:46px}.contact .name{font-size:15px}.preview{font-size:13px}.self{padding:10px 18px max(10px,env(safe-area-inset-bottom))}.self select{font-size:14px;min-height:36px}.chat{display:none}.app.in-chat .sidebar{display:none}.app.in-chat .chat{display:flex}.back{display:block;min-width:44px;min-height:44px;border:0;background:transparent;padding:0;font-size:30px;color:#86627d}.chat-head{padding:10px 12px 10px 4px;gap:9px;min-height:70px}.chat-head .avatar{width:38px;height:38px}.chat-head .name{font-size:15px}.chat-head>div:nth-last-of-type(1){min-width:0}.status-text{font-size:11px}.demo-label{font-size:9px;padding:5px 6px}.messages{padding:18px 14px;gap:16px}.message{max-width:90%}.bubble{font-size:15px;padding:11px 14px}.meta{font-size:10px}.composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.quick{gap:7px;margin-bottom:9px}.quick button{min-height:40px;font-size:11px;padding:8px 11px}.write textarea{font-size:16px}.send{width:46px;min-width:46px;height:46px}.hint{font-size:10px}.toast:empty{display:none}.footer{display:none}body:has(.in-chat) .intro{display:none}dialog{padding:20px;max-height:calc(var(--visible-height,100dvh) - 28px)}button{touch-action:manipulation}}
@media(max-height:550px) and (max-width:700px){.intro{display:none}.top{height:50px}.quick{display:none}.chat-head{min-height:58px;padding-top:4px;padding-bottom:4px}.hint{margin-top:4px}.self{padding-top:5px;padding-bottom:5px}}

.mark svg{width:27px;height:27px;display:block}.contact.active .avatar{background:#e3d5e0!important}@media(max-width:700px){.contact{padding-left:22px}.mark svg{width:23px;height:23px}}
/* Fixed product appearance. Organisation branding remains a future capability. */
:root{--page:#f3f2ef;--surface:#fff;--side:#faf9f7;--soft:#f0eeeb;--selected:#e8e5e1;--line:#dedbd6;--text:#302e2b;--muted:#706c66;--accent:#48443e;--on-accent:#fff;--sent:#e5e1db;--avatar:#e9e5de;color-scheme:light}
:root[data-theme=dark]{--page:#191a1b;--surface:#222425;--side:#1e2021;--soft:#2b2d2e;--selected:#353739;--line:#414344;--text:#eeece7;--muted:#b3b0a9;--accent:#e5dfd3;--on-accent:#272624;--sent:#383b3c;--avatar:#3c3e3f;color-scheme:dark}
:root,body{color:var(--text);background:var(--page)}.top,.messages,.composer,.app{background:var(--surface)}.sidebar,.details{background:var(--side)}.brand,h1,.profile h2,dialog{color:var(--text)}.mark,.send,.filters button[aria-pressed=true],.primary,dialog .primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.tagline,.quiet,.intro p,.date,.eyebrow,.status-text,.preview,.scope-note,.self select,.hint,.meta,.day,.toast,.detail-title,.detail-copy,.note,.note strong,.profile p,.reset,.footer,.empty,dialog p,dialog label,dialog label span,legend,.small,dialog p.small{color:var(--muted)}.count,.local,.demo-label,.day,.note,.setting-card,dialog button{background:var(--soft);color:var(--muted)}.contact:hover{background:var(--soft)}.contact.active{background:var(--selected)}.contact.active::before{background:var(--accent)}.avatar,.contact.active .avatar{background:var(--avatar)!important;color:var(--text)}.dot{border-color:var(--side)}.bubble{background:var(--soft);color:var(--text)}.mine .bubble{background:var(--sent);color:var(--text)}.write,.quick button,.filters button,dialog input:not([type=file]),dialog select,.search input{background:var(--side);color:var(--text)}.profile-button,.back{color:var(--text)}.top,.app,.sidebar,.self,.chat-head,.composer,.details,.profile,.note,.write,.quick button,.filters button,.search input,.local,dialog,dialog input:not([type=file]),dialog select,fieldset,dialog button{border-color:var(--line)}dialog{background:var(--surface)}.avatar-choices button[aria-pressed=true]{background:var(--selected);color:var(--text);border-color:var(--accent)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline-color:var(--accent)}.theme-toggle{display:grid;place-items:center;width:42px;min-width:42px;height:42px;border:1px solid var(--line);background:var(--soft);color:var(--text);border-radius:50%;font-size:21px}.write textarea{color:var(--text)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}@media(max-width:700px){.top-actions .local{display:none}.theme-toggle{width:40px;min-width:40px;height:40px}.top-actions{gap:6px}}

/* Warm beige with restrained sage and caramel accents. */
:root{--page:#f3ede3;--surface:#fffdf8;--side:#f9f4eb;--soft:#f1e8da;--selected:#e9dfcc;--line:#ded3c2;--text:#3d362e;--muted:#786b5c;--accent:#73634e;--on-accent:#fffdf7;--sent:#e4e9db;--avatar:#e9ddcb}
:root[data-theme=dark]{--page:#24221e;--surface:#2d2a25;--side:#282620;--soft:#39352e;--selected:#494034;--line:#51493c;--text:#f2e9d9;--muted:#c5b8a3;--accent:#d6bf95;--on-accent:#332a1d;--sent:#3b4538;--avatar:#514635}
.appearance-setting{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.appearance-setting .theme-toggle{display:block;width:auto;min-width:0;height:32px;min-height:32px;border-radius:7px;padding:4px 10px;font-size:12px;margin:0;background:var(--soft);color:var(--text)}

[hidden]{display:none!important}.auth-wrap{flex:1;overflow:auto;padding:35px 18px}.auth-card{max-width:430px;margin:2vh auto;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:28px}.auth-card h1{font-size:27px}.auth-card p{font-size:13px;color:var(--muted);line-height:1.7}.auth-card label{display:block;margin:18px 0;font-size:13px;color:var(--muted)}.auth-card input{display:block;width:100%;padding:12px;margin-top:7px;background:var(--side);border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:16px}.auth-tabs{display:flex;gap:8px;margin:20px 0}.auth-tabs button{flex:1;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--side);color:var(--muted);font-size:12px}.auth-tabs button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.auth-card .primary{min-height:46px}.auth-error{color:var(--text);font-size:13px;line-height:1.6;min-height:20px;margin-top:14px}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.connection::before{content:'';width:6px;height:6px;border-radius:50%;background:#739472}.connection.error::before{background:#bc8a60}.older{align-self:center;border:1px solid var(--line);background:var(--side);color:var(--muted);padding:8px 12px;border-radius:7px;font-size:11px}.self>div{min-width:0}.readonly-handle{font-size:11px;color:var(--muted)}.chat-empty{margin:auto;text-align:center;max-width:300px;padding:20px;color:var(--muted);font-size:14px;line-height:1.8}.logout{width:100%;margin:14px 0 0;padding:10px;border:1px solid var(--line);border-radius:8px;background:none;color:var(--muted);font-size:12px}.top .quiet{font-size:11px}.auth-note{font-size:11px!important}.profile-error{font-size:12px;color:var(--text);line-height:1.5}.message.unsent .bubble{border:1px dashed var(--muted)}.send[disabled]{cursor:wait}.app{grid-template-columns:310px minmax(0,1fr) 235px}.photo-label input{color:var(--muted)}@media(max-width:1150px){.app{grid-template-columns:285px minmax(0,1fr)}}@media(max-width:700px){.app{grid-template-columns:1fr}.intro{margin:15px 0}.intro h1{font-size:23px}.auth-wrap{padding-top:20px}.auth-card{padding:23px;margin:0 auto}.top .local{display:inline-block;font-size:9px}.top-actions{gap:8px}.chat-head{padding-right:12px}.chat-head .status-text{font-size:10px}.top .connection{display:none}.profile-button .avatar{width:32px;height:32px}.self select{max-width:210px}.section-head{padding-top:16px}.empty{line-height:1.8}.hint span:last-child{display:none}}

/* Compact, nameless workspace: room for contacts and conversations. */
.top{height:54px;padding:0 24px}.page-label{font-size:18px;font-weight:600;letter-spacing:-.4px}.intro,#intro{display:none!important}.app{margin:12px auto 8px}.footer{margin-bottom:8px}.contact .preview{white-space:normal;overflow:visible;line-height:1.55}.availability-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:3px;overflow-wrap:anywhere}.chat-head .status-text{line-height:1.5;overflow-wrap:anywhere;max-width:600px}.chat-head{min-height:72px;padding-top:12px;padding-bottom:12px}.vacation{background:#bb9661}.unavailable{background:#a28d79}.dnd{background:#b97b7b}.expired{background:#9b9690}.self select{max-width:220px}.auth-card{margin:0 auto}.auth-wrap{padding-top:24px}.scope-note{padding-bottom:9px}@media(max-width:700px){.top{height:48px;padding:0 14px}.page-label{font-size:17px}.app{margin:0}.chat-head{min-height:68px;padding:8px 12px 8px 4px}.self select{max-width:245px}.section-head{padding-top:14px}.filters button{font-size:11px}.chat-head .status-text{max-width:275px}.auth-wrap{padding-top:14px}.appearance-setting{padding:8px 0}.auth-card h1{font-size:25px}}

/* nebenbei: fixed brand palette, exact user supplied base colors. */
:root{--page:#F3F4F8;--surface:#F3F4F8;--side:#ECEEF4;--soft:#E5E8F1;--selected:#DCE2F3;--line:#D0D5E2;--text:#42495C;--muted:#626B80;--accent:#42495C;--on-accent:#F3F4F8;--sent:#DCE2F3;--avatar:#DCE2F3;--brand-accent:#A8B8E8;color-scheme:light}
:root[data-theme=dark]{--page:#42495C;--surface:#42495C;--side:#3B4254;--soft:#4C546B;--selected:#555F7A;--line:#626C84;--text:#F3F4F8;--muted:#D0D6E5;--accent:#A8B8E8;--on-accent:#42495C;--sent:#56627F;--avatar:#56627F;--brand-accent:#A8B8E8;color-scheme:dark}
.brand-logo{display:block;width:48px;height:42px;object-fit:contain}.brand-logo.dark{display:none}:root[data-theme=dark] .brand-logo.light{display:none}:root[data-theme=dark] .brand-logo.dark{display:block}.contact.active::before{background:var(--brand-accent)}.send{background:var(--brand-accent);color:#42495C}.top{background:var(--page)}.auth-tabs button[aria-pressed=true],.filters button[aria-pressed=true]{background:var(--brand-accent);color:#42495C;border-color:var(--brand-accent)}.auth-card{box-shadow:0 12px 40px #42495C0a}.brand{gap:0}.mark{background:var(--brand-accent);color:#42495C}@media(max-width:700px){.brand-logo{height:38px;width:44px}}

.new-group{margin:0 18px 12px;border:1px solid var(--line);background:var(--soft);color:var(--text);border-radius:9px;padding:9px 12px;text-align:left;font-size:12px;min-height:40px}.new-group:hover{background:var(--selected)}.group-option{display:flex;align-items:center;gap:12px;padding:10px 0;min-height:44px}.group-option input[type=checkbox]{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--accent)}.group-option span{color:var(--text);font-size:13px}.filters{flex-wrap:wrap}#group-dialog{width:420px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);overflow:auto}#group-options{max-height:270px;overflow:auto}#group-form .primary{min-height:44px}

.filters button{flex:0 1 auto;padding:6px 8px;white-space:nowrap}.filters{row-gap:5px}#group-options .group-option{margin:0}.new-group{flex-shrink:0}

.install-button{border:1px solid var(--line);background:var(--soft);color:var(--text);border-radius:8px;min-height:34px;padding:6px 9px;font-size:11px;white-space:nowrap}.install-button:hover{background:var(--selected)}#install-dialog{width:390px;max-width:calc(100vw - 28px)}#install-dialog p{line-height:1.7}#install-dialog .primary{min-height:42px}@media(max-width:700px){.install-button{font-size:10px;padding:5px 7px;min-height:34px}.top-actions{gap:6px}.top-actions .local{display:none}}
