@import './companion-voice.css';
@import './companion-memory.css';
@import './companion-memory-edit.css';
@import './companion-memory-review.css';
@import url('./companion-rooms.css');

@import './companion-uploads.css';
@import url('./message-rich.css');
@import url('./message-actions.css');
@import url('./companion-team-admin.css');
@import url('./companion-team-entry.css');
@import url('./companion-team-identity.css');
@import url('./companion-team.css');
@import url('./companion-previews.css');
@import url('./companion-notifications.css');
@import url('./companion-connections.css');
@import url('./companion-resources.css');

@import url('./companion-inbox.css');
/* Source: UniApp.swift UniPalette/UniTypography/QuietStudioMetrics and CalmEditMenus.swift.
   Shared approved web layout, used by the app and preview. */
@font-face{font-family:'Open Sans';src:url('/uni/OpenSans-Variable.ttf') format('truetype');font-weight:300 800;font-style:normal;font-display:block}
:root{color-scheme:light;--canvas:#f2f1ee;--surface:#f7f6f4;--raised:#fff;--card:#f8fafd;--nav:#e9e8e5;--ink:#1b1a22;--secondary:#55525f;--muted:#6b6878;--accent:#111;--on-accent:#fff;--line:#e4e1dc;--ring:#d6d2cb;--selection:rgba(255,255,255,.68);--window-selection:rgba(255,255,255,.56);--window-ink:#202936;--window-secondary:#465469;--calm-ink:#1d1c1a;--calm-muted:#6b6863;--glass:rgba(255,255,255,.62);--reply:#f5f4f2;--ok:#2f7d5b;--bad:#b83f39;--shadow:rgba(0,0,0,.08)}
[data-theme=dark]{color-scheme:dark;--canvas:#0a0a0a;--surface:#1c1c1c;--raised:#1c1c1c;--card:#0d0d0d;--nav:#161616;--ink:#f5f2ec;--secondary:#b9b4ac;--muted:#aaa59d;--accent:#f5f5f5;--on-accent:#111;--line:#242427;--ring:#3a3a3e;--selection:rgba(71,71,71,.38);--window-selection:rgba(255,255,255,.11);--window-ink:#f7f8fc;--window-secondary:#d0d6e4;--calm-ink:#e9e7e3;--calm-muted:#9c9893;--glass:rgba(255,255,255,.09);--reply:#222;--ok:#6cc59a;--bad:#f08a82;--shadow:rgba(0,0,0,.26)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.6 'Open Sans';-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{color:inherit;text-underline-offset:4px}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ink);outline-offset:4px}strong{font-weight:600}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:300;line-height:1.3;letter-spacing:-.7px}h2{font-size:22px;font-weight:600;line-height:1.4;letter-spacing:-.35px}h3{font-size:18px;font-weight:600;line-height:1.4}small,.caption{font-size:12px;line-height:1.6}.muted{color:var(--muted)}.secondary{color:var(--secondary)}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.1px}.stack{display:grid;gap:18px}.stack.small{gap:10px}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.center{text-align:center}.grow{flex:1;min-width:0}.icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;flex-shrink:0}.icon svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon.filled svg{fill:currentColor;stroke:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:7px;background:var(--raised);color:var(--ink);text-decoration:none;font-size:13px;font-weight:600;line-height:1.5;text-align:center}.button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.button.quiet{background:transparent;border-color:transparent;color:var(--secondary)}.button.full{width:100%}.actions{display:flex;gap:12px;align-items:center}.actions>*{flex:1}.text-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;font-weight:600}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);padding:4px 10px;border-radius:30px;font-size:12px;font-weight:600;white-space:nowrap}.ok{color:var(--ok)}.error{color:var(--bad)}.notice{padding:14px 16px;border:1px solid var(--ring);border-radius:10px;background:var(--surface);font-size:13px;line-height:1.6}.notice.error{border-color:var(--bad)}.notice .row{align-items:flex-start}.spinner{display:inline-block;width:20px;height:20px;border:2px solid var(--ring);border-top-color:var(--ink);border-radius:50%;flex-shrink:0}.spinner.large{width:30px;height:30px;border-width:2px;margin:0 auto}.status-mark{display:flex;width:48px;height:48px;border:1px solid var(--ring);border-radius:50%;align-items:center;justify-content:center;margin:0 auto 6px}.status-mark .icon,.status-mark svg{width:24px;height:24px}.app-mark{width:62px;height:62px;border-radius:14px;overflow:hidden;position:relative;display:inline-block;flex-shrink:0}.app-mark img{width:124.272%;height:124.272%;position:absolute;left:-12.136%;top:-12.136%;max-width:none}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:var(--reply);border:1px solid var(--line);font-size:12px;font-weight:600;flex-shrink:0}.avatar.agent{background:linear-gradient(145deg,#e8a06a,#de8189,#8188de);color:#222}.avatar.coda{background:linear-gradient(145deg,#bfc4f2,#7fdce8);color:#222}.avatar.small{width:28px;height:28px;border-radius:9px;font-size:11px}.avatar.workspace{width:40px;height:40px;border-radius:12px;background:var(--raised);font-size:15px}.rule{height:1px;background:var(--line);border:0;margin:4px 0}
/* Native auth uses an illustration half and a form half. Light is a web adaptation. */
.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;padding:8px;gap:8px}.auth-art{position:relative;min-height:720px;border-radius:14px;overflow:hidden;background:#171b29 url('/uni/auth-quiet-studio.png') center/cover}.auth-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,9,18,.08) 45%,rgba(5,9,18,.88))}.art-caption{position:absolute;z-index:1;bottom:30px;left:30px;right:30px;color:#f5f2ec}.art-caption h2{font-weight:300;font-size:32px;max-width:360px;line-height:1.35}.art-caption p{margin-top:8px;color:#ddd9d2;font-size:14px;max-width:360px}.auth-side{display:flex;align-items:center;justify-content:center;padding:44px 42px;position:relative}.auth-content{width:100%;max-width:370px;display:grid;gap:18px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:4px}.auth-brand span:last-child{font-size:32px;font-weight:300}.auth-content>.pill{justify-self:center}.auth-content h1,.auth-content h2{text-align:center}.auth-content .intro{text-align:center;color:var(--muted)}.auth-content form{display:grid;gap:14px}.field{display:grid;gap:6px;font-size:12px;font-weight:600}.field input,.field select{min-height:46px;padding:11px 14px;background:var(--raised);border:1px solid var(--ring);border-radius:8px;color:var(--ink);font-size:14px;min-width:0}.field input:disabled{opacity:.7}.auth-foot{font-size:12px;color:var(--muted);text-align:center}.invite-note{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);background:var(--glass);border-radius:14px}.progress-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;text-align:left}.progress-steps li{display:flex;gap:12px;align-items:center;font-size:13px}.progress-steps .step-number{width:26px;height:26px;border:1px solid var(--ring);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.progress-steps .step-number svg{width:14px;height:14px}.auth-back{justify-self:center}
/* One Mac-ordered sidebar: supported destinations, Rooms, one profile. */
.workspace-shell{display:grid;grid-template-columns:212px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden;background:var(--nav)}.sidebar{display:flex;min-height:0;overflow:auto;flex-direction:column;padding:8px 0 18px}.workspace-brand{display:flex;align-items:center;gap:12px;min-height:72px;padding:8px 18px}.workspace-name{color:var(--window-ink);font-size:22px;font-weight:600;letter-spacing:-.35px}.sidebar-nav{display:flex;flex-direction:column;gap:6px;margin:4px 10px 0}.sidebar-destinations{display:grid;gap:2px}.nav-item{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:600;color:var(--window-secondary)}.nav-item .icon,.nav-item svg{width:16px;height:16px}.nav-item.selected{background:var(--window-selection);color:var(--window-ink)}.room-link{font-size:15px;font-weight:400}.nav-section{border-top:1px solid rgba(142,144,150,.26);margin:10px 12px 0;min-height:44px;display:flex;align-items:center;font-size:12px;color:var(--window-secondary);font-weight:600}.section-title{display:flex;align-items:center;gap:6px}.section-title .icon,.section-title svg{width:12px;height:12px}.direct-section{margin-top:16px}.sidebar .person{margin-top:auto;display:flex;gap:10px;align-items:center;padding:22px 18px 0}.person strong{font-size:13px}.person p{font-size:11px;color:var(--muted)}.chat-pane{margin:8px 8px 8px 0;border-radius:14px;background:var(--card);min-width:0;min-height:0;display:flex;flex-direction:column;box-shadow:0 3px 18px var(--shadow);overflow:hidden}.room-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;min-height:60px;color:var(--calm-ink)}.room-header h1{font-size:16px;font-weight:600;letter-spacing:0}.room-header p{font-size:12px;line-height:16px;color:var(--calm-muted)}.room-prefix{color:var(--calm-muted)}.member-faces{display:flex;padding-left:6px}.member-faces .avatar{margin-left:-6px;border:2px solid var(--card)}.room-content{padding:34px 24px 30px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px}.day-line{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:11px;justify-content:center}.day-line:before,.day-line:after{content:'';height:1px;flex:1;background:var(--line)}.message{display:flex;gap:12px;max-width:860px}.message .message-body{flex:1;min-width:0}.message .byline{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:6px}.byline strong{font-size:14px;font-weight:600}.byline span{font-size:11px;color:var(--muted)}.message p{font-size:15px;line-height:1.6}.message .avatar{width:30px;height:30px;border-radius:50%}.message{padding:5px 0}.message .source{margin-bottom:6px}.message .source{font-size:11px;color:var(--muted);margin-top:2px}.join-banner{padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:12px}.join-banner h2{font-size:15px;letter-spacing:0}.join-banner p{font-size:13px;color:var(--secondary);margin-top:2px}/* Native glass values, with Astro's removed top highlight kept absent. */
.composer-wrap{margin:auto 20px 16px;padding-top:12px}.composer{border:0;border-radius:16px;background:rgba(255,255,255,0);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 24px rgba(5,12,28,.16);padding:17px 20px 15px;display:flex;flex-direction:column;gap:2px}.composer textarea{display:block;width:100%;min-height:48px;resize:none;border:0;background:transparent;color:var(--ink);padding:0;font-size:15px;line-height:1.6}.composer textarea::placeholder{color:var(--muted);opacity:1}.composer textarea:disabled{opacity:.7}.composer-controls{display:flex;align-items:center;gap:4px}.composer-icon,.send-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--secondary);border-radius:50%;flex-shrink:0}.composer-icon .icon,.composer-icon svg{width:16px;height:16px}.composer-status{margin-left:auto;font-size:12px;color:var(--muted)}.send-disc{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:var(--on-accent);border-radius:50%}.send-disc .icon,.send-disc svg{width:16px;height:16px}.send-button:disabled .send-disc{background:var(--reply);color:var(--muted)}.send-disc .spinner{width:16px;height:16px}.send-error{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--bad);padding:0 12px 8px}.send-error .button{color:var(--bad);flex-shrink:0}[data-theme=dark] .composer{background:rgba(30,30,30,.37);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.mobile-head,.mobile-tabs{display:none}.review-card{margin:0 0 0 42px;max-width:740px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--raised);display:grid;gap:14px;box-shadow:0 4px 18px var(--shadow)}.review-card .goal{font-size:15px;font-weight:400;line-height:1.5;letter-spacing:-.2px}.review-card .scope-copy{font-size:12px;font-weight:600;color:var(--secondary)}.agent-line .name{font-weight:600;font-size:14px}.agent-line .provenance{font-size:12px;color:var(--muted)}.review-card .summary{padding:14px 16px;background:var(--surface);border-radius:10px;display:grid;gap:8px;font-size:13px}.summary-row{display:flex;justify-content:space-between;gap:20px}.summary-row span:first-child{color:var(--muted)}.receipt{display:grid;gap:12px;text-align:center;padding:18px 0}.receipt h2{font-size:22px}.receipt p{color:var(--secondary);font-size:14px;max-width:430px;margin:auto}.receipt .caption{font-size:12px}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;min-height:360px}.empty-content{display:grid;gap:16px;text-align:center;max-width:380px;margin:auto}.empty-content>p{font-size:14px;color:var(--muted)}.skeleton-row{display:flex;gap:12px;margin:14px 0}.ghost{height:12px;border-radius:5px;background:var(--line)}.ghost.face{width:36px;height:36px;border-radius:12px}.ghost.lines{height:52px;width:min(460px,70%);background:linear-gradient(var(--line),var(--line)) 0 0/36% 10px no-repeat,linear-gradient(var(--line),var(--line)) 0 22px/100% 10px no-repeat,linear-gradient(var(--line),var(--line)) 0 44px/72% 8px no-repeat}.consent-wrap{max-width:650px;width:100%;margin:0 auto;padding:14px 0}.consent-wrap .review-card{margin:0;max-width:none;padding:26px}.consent-wrap h1{font-size:14px;font-weight:600;letter-spacing:-.35px}.scope-list{display:grid;gap:10px;font-size:13px}.scope-list .row{align-items:flex-start}.scope-list .icon{width:18px;height:22px}.scope-list svg{width:16px;height:16px}.consent-choice{display:flex;align-items:center;gap:12px;border:1px solid var(--ring);border-radius:10px;padding:12px 14px;font-size:14px}.consent-choice input{accent-color:var(--accent);width:18px;height:18px}.review-card details{font-size:13px;color:var(--secondary)}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.review-card details p{font-size:12px;padding:4px 0 8px}.preview-note{font-size:11px;color:var(--muted);text-align:center;margin-top:18px}
@media(max-width:760px){h1{font-size:30px}.auth{display:block;min-height:100vh;padding:0}.auth-art{display:none}.auth-side{min-height:100dvh;padding:calc(32px + env(safe-area-inset-top,0px)) 24px calc(32px + env(safe-area-inset-bottom,0px))}.auth-content{max-width:370px;gap:18px}.auth-brand{margin-bottom:8px}.auth-content .intro{font-size:14px}.auth-content h1{font-size:30px}.workspace-shell{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;padding-top:env(safe-area-inset-top,0px);padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));background:var(--canvas)}.signed-in-auth .auth-side{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.sidebar{display:none}.mobile-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;min-height:72px}.mobile-head .workspace-name{font-size:16px}.mobile-head .avatar.workspace{width:32px;height:32px;border-radius:10px;font-size:12px}.mobile-head .eyebrow{font-size:11px;color:var(--muted)}.chat-pane{margin:0 8px;min-height:0;border-radius:14px;flex:1;overflow:hidden}.room-header,.mobile-head{flex-shrink:0}.room-header{padding:12px 16px;min-height:60px;gap:8px}.room-header h1{font-size:16px}.room-header p,.room-header .member-faces{display:none}.room-header .member-faces .avatar{width:26px;height:26px;font-size:10px}.room-content{padding:22px 18px;gap:14px;min-height:0;overflow:auto;overscroll-behavior:contain}.message{gap:12px}.message .avatar{width:30px;height:30px;border-radius:50%;font-size:10px}.message p{font-size:15px}.byline{gap:6px!important}.byline strong{font-size:14px}.composer-wrap{margin:0 20px 16px;padding-top:10px;flex-shrink:0}.composer{padding:14px 12px 10px}.composer textarea{font-size:16px}.send-error{padding:0 4px 8px;align-items:center}.send-error span{max-width:220px}.review-card{margin-left:0;padding:18px;gap:16px;border-radius:14px}.review-card .goal{font-size:15px}.review-card .summary{padding:12px}.review-card .actions{flex-direction:column-reverse;align-items:stretch;gap:8px}.review-card .actions>*{width:100%}.review-card .scope-copy{font-size:12px}.agent-line{gap:10px}.agent-line .provenance{font-size:11px}.review-card .pill{font-size:11px;padding:3px 8px}.review-card .summary-row{gap:10px;font-size:12px}.receipt{padding:10px 0}.receipt h2{font-size:20px}.receipt p{font-size:13px}.mobile-tabs{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;align-items:center;justify-content:space-around;min-height:calc(80px + env(safe-area-inset-bottom,0px));padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));gap:4px;background:var(--surface);box-shadow:0 -4px 24px var(--shadow)}.mobile-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;min-height:56px;min-width:0;flex:1;text-decoration:none;border-radius:14px;color:var(--muted)}.mobile-tabs a.selected{background:var(--selection);color:var(--ink);font-weight:600}.mobile-tabs a[aria-disabled=true]{opacity:.6}.consent-wrap{padding:0}.consent-wrap .review-card{padding:18px}.consent-wrap h1{font-size:14px}.consent-wrap .scope-list{font-size:12px}.join-banner{padding:14px;align-items:flex-start}.join-banner .icon{margin-top:2px}.empty-state{min-height:350px}.empty-content{padding:10px 0}.member-faces{padding-left:0}.mobile-head .person-copy{font-size:11px;color:var(--muted)}#review-tools{padding:12px;gap:8px}#review-tools select{width:100%;max-width:270px}#review-tools label{width:100%;justify-content:space-between}}
.capture .fixture-next{display:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(prefers-reduced-transparency:reduce){.composer{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}[data-theme=dark] .composer{background:#1e1e1e}}

/* xplat3: Mac row tokens shared by the phone room list. */
.room-back,.phone-room-list{display:none}
.list-screen .room-header{display:none}
.room-list-content{gap:0}
.empty-content{gap:10px;max-width:420px;padding:24px}
.empty-content h2{font-size:18px;font-weight:600;letter-spacing:0}
.empty-content>p{color:var(--secondary)}
.empty-content>.status-mark{width:56px;height:56px;border-radius:18px;background:color-mix(in srgb,var(--accent) 8%,transparent);border-color:color-mix(in srgb,var(--accent) 14%,transparent);margin-bottom:6px}
.empty-content>.status-mark .icon,.empty-content>.status-mark svg{width:20px;height:20px}
.inbox-screen .empty-content,.progress-screen .empty-content{color:var(--calm-ink)}
.inbox-screen .empty-content h2,.progress-screen .empty-content h2{font-size:16px}
.inbox-screen .empty-content>p,.progress-screen .empty-content>p{font-size:13px;color:var(--calm-muted)}
.empty-board{border:1.5px dashed var(--ring);border-radius:14px;background:color-mix(in srgb,var(--calm-ink) 2%,transparent);padding:34px 16px 40px;max-width:720px;width:100%}
.empty-board>p{max-width:360px;margin:auto}
.empty-lanes{display:flex;gap:8px;align-items:flex-end;justify-content:center;margin-bottom:6px}
.empty-lanes i{width:46px;height:40px;border:1.5px dashed var(--ring);border-radius:8px}
.empty-lanes i:nth-child(2){height:56px}.empty-lanes i:nth-child(3){height:34px}.empty-lanes i:nth-child(4){height:48px}
.empty-content>.button{justify-self:center}
.auth-content h1{font-size:18px;font-weight:600;letter-spacing:0}
.auth-content .intro{font-size:15px}
.room-detail .review-card{background:rgba(245,244,242,.3024);border:0;box-shadow:none}
[data-theme=dark] .room-detail .review-card{background:rgba(34,34,34,.3096)}
@media(max-width:760px){
  .phone-room-list{display:block;color:var(--window-ink)}
  .phone-room-list .room-sections{display:flex;flex-direction:column;gap:6px}
  .phone-room-list .nav-section{margin-left:12px;margin-right:12px}
  .phone-room-list .nav-section:first-child{margin-top:4px}
  .list-screen .mobile-head .workspace-name{font-size:22px}
  .list-screen .chat-pane{background:transparent;box-shadow:none;margin:0 10px;border-radius:0}
  .list-screen .room-list-content{padding:0;overflow:auto}
  .desktop-list-prompt{display:none}
  .list-screen .empty-state{min-height:260px}
  .room-detail{padding-bottom:env(safe-area-inset-bottom,0px);padding-top:env(safe-area-inset-top,0px);background:var(--card)}
  .room-detail .mobile-head,.room-detail .mobile-tabs{display:none}
  .room-detail .chat-pane{margin:0;border-radius:0;box-shadow:none}
  .room-back{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;color:var(--calm-ink);text-decoration:none;margin-left:-12px}
  .room-detail .room-header{gap:4px}
  .room-detail .room-content{padding:22px 20px}
  .empty-content{padding:18px 0}
  .empty-board{padding:26px 16px}
  .auth-content h1{font-size:18px}
}

.section-toggle{flex:1;min-width:0;min-height:44px;border:0;padding:0;background:transparent;color:inherit;text-align:left;font-size:12px;font-weight:600}
.section-action{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;color:var(--window-ink);flex-shrink:0}
.section-action .icon,.section-action svg{width:16px;height:16px}
.nav-section{gap:4px}.section-rows{display:grid;gap:6px}.section-rows[hidden]{display:none}

.message .avatar.agent,.message .avatar.coda{border-radius:9px}

/* TranscriptDayDivider / TranscriptDates: the Mac uses a dated capsule. */
.day-line{font-size:12.5px;font-weight:600;padding:6px 0}
.day-line>span{padding:3px 12px;border:1px solid color-mix(in srgb,var(--ink) 10%,transparent);border-radius:999px;background:var(--card)}
.day-line:before,.day-line:after{background:color-mix(in srgb,var(--ink) 10%,transparent)}
.byline span,.message .source{color:var(--secondary)}
.room-header h1{line-height:20px}
@media(max-width:760px){.room-detail .room-header{padding-top:8px;padding-bottom:8px}}

/* Larger profile hit target preserves the approved portrait geometry. */
.profile-target{display:inline-flex;position:relative;flex-shrink:0}.profile-hit{position:absolute;inset:-8px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;border-radius:12px;color:inherit}

/* Keep viewport geometry and long real data safe on both layouts. */
.room-header,.composer-wrap{flex-shrink:0}
.room-content>*{flex-shrink:0}
.message,.message-body,.byline strong,.workspace-name,.person-copy,.nav-item>span,.agent-line>div,.consent-choice>span,.review-card,.auth-content,.person>div{min-width:0;overflow-wrap:anywhere}
.room-header h1,.room-header p,.review-card p,.review-card strong,.provenance,.message p{overflow-wrap:anywhere}

/* Existing buttons and field tokens also serve message and Inbox actions. */
.message-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px}
.message-actions .button{padding:6px 10px;font-size:12px;min-height:44px}
.inline-edit,.thread-panel{min-width:0;width:100%}
.thread-panel{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.thread-panel h2{font-size:16px}
.field textarea{width:100%;min-height:88px;padding:12px;border:1px solid var(--ring);border-radius:10px;background:var(--raised);color:var(--ink);resize:vertical}
.message:focus-visible{outline:2px solid var(--ring);outline-offset:4px;border-radius:7px}
.message-read-marker{display:block;width:1px;height:1px;pointer-events:none}

/* Slice 1: exact approved 16 Nov artboard values; selector mapping only. */
.workspace-shell{--bg:#f0eeeb;--card:#fff;--line:#e6e3de;--ink:#1d1c1a;--text:#2b2a2e;--muted:#6f6b66;--faint:#a19d97;--sel:#e7e5e1;--hair:rgba(0,0,0,.07);--shadow:0 1px 2px rgba(20,18,16,.04),0 10px 30px rgba(20,18,16,.05);--btn:#fff;--accent:#111;--acc-ink:#fff;--t1:#f4906f;--t2:#d97fae;--hover:rgba(30,28,26,.035);position:relative;width:100%;height:100dvh;display:grid;grid-template-columns:256px 1fr;background:var(--bg);color:var(--text);font:16px/1.5 'Open Sans',system-ui,sans-serif;overflow:hidden;-webkit-font-smoothing:antialiased}
[data-theme=dark] .workspace-shell{--bg:#111113;--card:#161618;--line:#27272a;--ink:#ece9e4;--text:#e4e1dc;--muted:#a09c96;--faint:#6a6762;--sel:#252527;--hair:rgba(255,255,255,.08);--shadow:0 1px 2px rgba(0,0,0,.4),0 12px 34px rgba(0,0,0,.35);--btn:#1f1f21;--accent:#f4f4f4;--acc-ink:#111;--t1:#f8a98f;--t2:#e79cc3;--hover:rgba(255,255,255,.04)}
.sidebar{display:flex;flex-direction:column;padding:14px 0 16px;min-height:0}
.workspace-brand{display:flex;align-items:center;gap:12px;height:52px;padding:0 6px 0 26px}
.team-tile{width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,var(--t1),var(--t2));color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.workspace-brand .workspace-name{flex:1;font-size:22px;font-weight:600;letter-spacing:-.4px;color:var(--ink)}
.ib{width:44px;height:44px;border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;padding:0;border-radius:12px}
.sidebar-destinations{margin:8px 12px 0;display:flex;flex-direction:column;gap:2px}
.sidebar-destinations a{display:flex;align-items:center;gap:12px;height:44px;padding:0 14px;border-radius:13px;text-decoration:none;font-size:15px;font-weight:600;color:var(--text)}
.sidebar-destinations a svg{color:var(--muted)}
.sidebar-destinations a.selected,.room-link.selected{background:var(--sel)}
.rule{height:1px;background:var(--line);margin:12px 26px}
.sec{display:flex;align-items:center;margin:0 12px 2px 26px;font-size:13px;font-weight:700;color:var(--text)}
.sec span{flex:1;display:flex;align-items:center;gap:8px;height:44px}
.sec svg{color:var(--muted)}
.room-link{display:flex;align-items:center;gap:12px;height:44px;margin:0 12px;padding:0 16px;border-radius:13px;font-size:16px;color:var(--muted);text-decoration:none}
.room-link.selected{color:var(--ink)}
.room-link.pe{padding:0 14px}
.avatar{width:28px;height:28px;border-radius:50%;background:var(--card);border:1px solid var(--line);color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0;box-sizing:border-box}
.browse-rooms{display:flex;align-items:center;gap:10px;height:44px;margin:2px 12px 0;padding:0 16px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none;border-radius:13px}
.sidebar .person{margin-top:auto;display:flex;align-items:center;gap:12px;padding:0 26px}
.sidebar .person .avatar{width:36px;height:36px;font-size:12px}
.sidebar .person strong{display:block;font-size:14px;font-weight:600;line-height:1.3;color:var(--text)}
.sidebar .person p{display:block;font-size:12px;line-height:1.3;color:var(--muted)}
.chat-pane{margin:10px 10px 10px 0;background:var(--card);border-radius:26px;border:1px solid var(--hair);box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:0;min-width:0;position:relative;overflow:hidden}
.room-header{padding:24px 36px 14px;flex-shrink:0;background:linear-gradient(var(--card) 55%,transparent)}
.room-header h1{margin:0;font-size:22px;font-weight:600;letter-spacing:-.35px;line-height:1.25;color:var(--ink)}
.room-header p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.room-content{flex:1;overflow:hidden;padding:12px 24px;display:flex;flex-direction:column;gap:4px}
.message{position:relative;display:flex;gap:14px;padding:12px 16px;border-radius:16px;max-width:820px}
.message:hover{background:var(--hover)}
.message .avatar{width:34px;height:34px;font-size:11px}
.byline{display:flex;align-items:baseline;gap:10px;line-height:1.4}
.byline strong{font-size:15px;font-weight:700;color:var(--ink)}
.byline span{font-size:12px;font-weight:500;color:var(--muted)}
.message p{margin:3px 0 0;font-size:16px;line-height:1.55;color:var(--text)}
.message .message-actions{position:absolute;top:-18px;right:14px;display:flex;align-items:center;padding:3px;border-radius:999px;background:var(--card);border:1px solid var(--line);box-shadow:0 6px 20px rgba(20,18,16,.10),0 1px 3px rgba(20,18,16,.06)}
.message .message-actions button{width:44px;height:36px;border:0;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;padding:0;border-radius:999px}
.composer-wrap{margin:6px 28px 22px;flex-shrink:0}
.composer{border-radius:22px;background:var(--card);border:1px solid var(--line);box-shadow:0 10px 32px rgba(20,18,16,.08),0 1px 3px rgba(20,18,16,.05);padding:14px 20px 8px 22px;display:flex;flex-direction:column}
.composer textarea{display:block;width:100%;min-height:44px;resize:none;border:0;background:transparent;color:var(--ink);padding:0;font:inherit;font-size:16px;line-height:1.55;outline:0}
.composer textarea::placeholder{color:var(--muted);opacity:1}
.composer-controls{display:flex;align-items:center;justify-content:space-between}
.workspace-shell{--bg:#f0eeeb;--card:#fff;--line:#e6e3de;--ink:#1d1c1a;--text:#2b2a2e;--muted:#6f6b66;--faint:#a19d97;--sel:#e7e5e1;--hair:rgba(0,0,0,.07);--shadow:0 1px 2px rgba(20,18,16,.04),0 10px 30px rgba(20,18,16,.05);--btn:#fff;--accent:#111;--acc-ink:#fff;--t1:#f4906f;--t2:#d97fae;--pop:rgba(255,255,255,.84);--sheetline:rgba(255,255,255,.7);--scrim:rgba(30,28,26,.22);--fieldbg:rgba(0,0,0,.03);position:relative;width:100%;height:100dvh;display:grid;grid-template-columns:256px 1fr;background:var(--bg);color:var(--text);font:16px/1.5 'Open Sans',system-ui,sans-serif;overflow:hidden;-webkit-font-smoothing:antialiased}
[data-theme=dark] .workspace-shell{--bg:#111113;--card:#161618;--line:#27272a;--ink:#ece9e4;--text:#e4e1dc;--muted:#a09c96;--faint:#6a6762;--sel:#252527;--hair:rgba(255,255,255,.08);--shadow:0 1px 2px rgba(0,0,0,.4),0 12px 34px rgba(0,0,0,.35);--btn:#1f1f21;--accent:#f4f4f4;--acc-ink:#111;--t1:#f8a98f;--t2:#e79cc3;--pop:rgba(38,38,40,.86);--sheetline:rgba(255,255,255,.09);--scrim:rgba(0,0,0,.5);--fieldbg:rgba(255,255,255,.05)}
.sheet-scrim{position:absolute;inset:0;background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center}
.chat-sheet{width:520px;height:500px;box-sizing:border-box;padding:20px;border-radius:20px;background:var(--pop);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5);border:1px solid var(--hair);box-shadow:inset 0 0 0 1px var(--sheetline),0 28px 70px rgba(20,18,16,.22),0 3px 10px rgba(20,18,16,.06);display:flex;flex-direction:column;gap:16px}
.sheet-head{display:flex;align-items:center;justify-content:space-between}
.sheet-head h3{margin:0;font-size:17px;font-weight:600;letter-spacing:-.2px;color:var(--ink)}
.sheet-done{min-height:44px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;margin-right:-8px}
.sheet-field{position:relative}
.sheet-field svg{position:absolute;left:14px;top:13px;color:var(--faint)}
.sheet-field input{box-sizing:border-box;width:100%;height:44px;border:1px solid var(--line);border-radius:11px;background:var(--fieldbg);color:var(--ink);padding:0 14px 0 42px;font:inherit;font-size:14px;outline:0}
.sheet-field input::placeholder{color:var(--muted);opacity:1}
.sheet-list{flex:1;overflow:hidden;display:flex;flex-direction:column;gap:10px}
.browse-card{display:flex;align-items:center;gap:14px;padding:10px 12px 10px 18px;background:var(--btn);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px rgba(20,18,16,.03)}
.browse-open{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:left;color:var(--ink);font:inherit;display:flex;flex-direction:column;gap:1px;min-height:48px;justify-content:center}
.browse-open b{font-size:15px;font-weight:600;letter-spacing:-.1px;line-height:1.4}
.browse-open span{font-size:13px;color:var(--muted);line-height:1.4}
.browse-joined{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--muted);min-width:84px;justify-content:center}
.browse-join{height:44px;min-width:84px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:var(--btn);color:var(--ink);font:inherit;font-size:14px;font-weight:600;box-shadow:0 1px 2px rgba(20,18,16,.06)}
.sheet-close{width:44px;height:44px;border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;padding:0;border-radius:12px}
.sheet-label{padding:6px 8px 2px;font-size:12px;font-weight:700;color:var(--muted)}
.sheet-person{display:flex;align-items:center;gap:12px;width:100%;height:48px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:inherit;text-align:left}
.sheet-person:hover{background:var(--sel)}
.sheet-person .avatar{width:30px;height:30px}
.sheet-person b{font-size:14px;font-weight:600;letter-spacing:-.05px}
.membership-sheet{width:420px;box-sizing:border-box;padding:22px 22px 18px;border-radius:20px;background:var(--pop);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5);border:1px solid var(--hair);box-shadow:inset 0 0 0 1px var(--sheetline),0 32px 80px rgba(20,18,16,.28),0 4px 14px rgba(20,18,16,.08);display:flex;flex-direction:column;gap:8px}
.membership-sheet h3{margin:0;font-size:18px;font-weight:600;letter-spacing:-.25px;line-height:1.35;color:var(--ink)}
.membership-sheet p{margin:0;font-size:14px;line-height:1.65;color:var(--muted)}
.sheet-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.sheet-button{height:44px;padding:0 20px;border-radius:10px;font:inherit;font-size:14px;font-weight:600;border:1px solid transparent}
.sheet-button.sec{background:var(--btn);color:var(--ink);border-color:var(--line);box-shadow:0 1px 2px rgba(20,18,16,.06)}
.sheet-button.pri{background:var(--accent);color:var(--acc-ink);box-shadow:0 1px 3px rgba(20,18,16,.18)}
.sheet-button.bad{background:var(--bad);color:var(--bad-ink);box-shadow:0 1px 3px rgba(209,75,63,.35)}

.workspace-shell{--raised:var(--card);--surface:var(--bg);--secondary:var(--muted);--on-accent:var(--acc-ink);--window-ink:var(--ink);--window-secondary:var(--muted);--calm-ink:var(--ink);--calm-muted:var(--muted);--bad:#d14b3f;--bad-ink:#fff;--hover:rgba(30,28,26,.035);font:16px/1.5 'Open Sans',system-ui,sans-serif}
[data-theme=dark] .workspace-shell{--bad:#ee7a6e;--bad-ink:#161616;--hover:rgba(255,255,255,.04)}
.sidebar{overflow:auto}.workspace-brand{min-height:52px;flex-shrink:0}.workspace-name{color:var(--ink)}
.sidebar-nav{gap:0;margin:0}.sidebar-destinations{margin:8px 12px 0;display:flex;flex-direction:column;gap:2px}
.sidebar-destinations .nav-item{height:44px;padding:0 14px;gap:12px;font-size:15px;border-radius:13px;color:var(--text)}
.line-icon svg{fill:none;stroke:currentColor}.sidebar-destinations .icon,.sidebar-destinations svg{width:20px;height:20px;color:var(--muted)}
.nav-item.selected,.browse-rooms.selected{background:var(--sel);color:var(--ink)}
.nav-section{position:relative;border-top:0;margin:25px 12px 2px 26px;min-height:44px;color:var(--text);gap:0;font-size:13px;font-weight:700}
.nav-section:before{content:'';position:absolute;top:-13px;left:0;right:14px;height:1px;background:var(--line)}
.section-toggle{font-size:13px;font-weight:700}.section-title{gap:8px}.section-title .icon,.section-title svg{width:12px;height:12px;color:var(--muted);stroke-width:2.2}
.section-action{border-radius:12px;color:var(--muted)}.section-action .icon,.section-action svg{width:20px;height:20px}
.section-rows{gap:0}.section-rows .nav-item{height:44px;padding:0 16px;margin:0 12px;border-radius:13px;font-size:16px;font-weight:400;color:var(--muted);gap:12px}
.section-rows .nav-item.selected{color:var(--ink)}.section-rows .direct-link{padding:0 14px}.direct-link .avatar{width:28px;height:28px;font-size:10px;font-weight:700}
.browse-rooms{flex-shrink:0}.sidebar .person{padding:0 26px;flex-shrink:0;gap:12px}.sidebar .person .avatar{width:36px;height:36px;font-size:12px}
.avatar{background:var(--card);border-radius:50%;color:var(--ink);font-weight:700}.avatar.agent,.avatar.coda{color:#222}
.chat-pane{flex-direction:column;min-width:0;min-height:0;overflow:hidden;position:relative;align-items:stretch;justify-content:initial;gap:0}
.room-header{min-height:0;gap:12px}.room-header h1{line-height:1.25}.room-header p{line-height:1.5}.room-prefix,.member-faces{display:none}
.room-content{overflow:auto;gap:4px}.message{flex-shrink:0}.message:hover,.message:focus-within{background:var(--hover)}
.message .avatar{font-weight:700}.message .byline{gap:10px;margin-bottom:0;line-height:1.4}.message .byline span{color:var(--muted)}
.message .message-actions{opacity:0;pointer-events:none;flex-wrap:nowrap;margin:0;z-index:2;max-width:100%}
.message:hover>.message-body>.message-actions,.message:focus-within>.message-body>.message-actions{opacity:1;pointer-events:auto}
.message .message-actions .button{width:auto;min-width:44px;height:44px;min-height:44px;padding:4px 10px;margin-block:-4px;font-size:12px;border:0;background:transparent;color:var(--text);border-radius:999px}
.message .message-actions .icon,.message .message-actions svg{width:18px;height:18px}
.day-line{display:none}.room-content>.rule{display:none}
.composer-wrap{padding-top:0;margin-top:6px}.workspace-shell .composer{gap:0;backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--card)}
.composer textarea{min-height:44px}.composer-controls{min-height:44px}.send-button{width:44px;height:44px}.send-disc{width:36px;height:36px;background:var(--accent);color:var(--acc-ink)}
.send-button:disabled .send-disc{background:var(--accent);color:var(--acc-ink)}
.list-screen .room-list-content{padding:0}.list-screen .empty-state{min-height:0}.desktop-list-prompt .empty-content{padding:0;gap:16px}.empty-content>.status-mark{width:64px;height:64px;border-radius:20px;background:var(--bg);border:0;margin:0 auto}
.empty-content>.status-mark svg{width:28px;height:28px}.empty-content h2{letter-spacing:-.2px}.list-screen .chat-pane{justify-content:center}
.room-menu-wrap{position:relative;align-self:flex-start;margin-top:-2px;margin-right:-16px}.room-options{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center}
.room-menu{position:absolute;top:44px;right:0;z-index:3;background:var(--pop);border:1px solid var(--hair);border-radius:12px;box-shadow:var(--shadow);padding:4px}
.public-join-guidance{margin:6px 28px 22px;color:var(--muted);font-size:14px;display:flex;gap:14px;align-items:center}
.sheet-scrim{position:absolute;z-index:20}.picker-scrim{align-items:flex-start;padding-top:150px}.chat-sheet{max-width:calc(100% - 24px);max-height:calc(100% - 32px);overflow:auto;flex-shrink:0;color:var(--text)}
.people-sheet{width:404px;height:auto;padding:12px;border-radius:18px;gap:8px}.people-sheet .sheet-head{padding-left:8px;min-height:44px}.people-sheet h3{font-size:15px;letter-spacing:-.1px}.people-sheet .sheet-list{gap:2px;padding-bottom:2px}
.sheet-head,.sheet-field,.sheet-foot,.sheet-label{flex-shrink:0}.sheet-field .icon{position:absolute;left:14px;top:13px;color:var(--faint)}.sheet-field .icon svg{position:static;width:18px;height:18px}
.sheet-field input{display:block;min-height:44px}.sheet-field input:focus-visible{outline:2px solid var(--muted);outline-offset:1px}
.sheet-list{overflow:auto}.sheet-person{flex-shrink:0}.sheet-person:hover,.sheet-person:focus-visible{background:var(--sel)}.sheet-person .avatar{width:30px;height:30px}.sheet-person .spinner{margin-left:auto}
.sheet-state{padding:14px 8px;font-size:14px;color:var(--muted)}.sheet-state p+p{margin-top:6px}.sheet-grabber{display:none}
.browse-card{flex-shrink:0}.browse-joined .icon,.browse-joined svg{width:16px;height:16px}.rooms-sheet{height:500px}.browse-open span{overflow-wrap:anywhere}
.membership-scrim{z-index:21}.membership-scrim.two{background:rgba(30,28,26,.12);backdrop-filter:none;-webkit-backdrop-filter:none}
.membership-sheet{width:420px;height:auto;padding:22px 22px 18px;gap:8px}.membership-sheet h3{font-size:18px;line-height:1.35;letter-spacing:-.25px}.membership-sheet p{font-size:14px;line-height:1.65;color:var(--muted)}
.sheet-foot{flex-shrink:0}.sheet-button.secondary{background:var(--btn);color:var(--ink);border-color:var(--line);box-shadow:0 1px 2px rgba(20,18,16,.06)}.sheet-button.primary{background:var(--accent);color:var(--acc-ink);box-shadow:0 1px 3px rgba(20,18,16,.18)}.sheet-button.destructive{background:var(--bad);color:var(--bad-ink);box-shadow:0 1px 3px rgba(209,75,63,.35)}

@media(max-width:760px){
.mobile-head{padding:52px 8px 6px 22px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.team-tile{width:32px;height:32px;border-radius:10px;background:linear-gradient(145deg,var(--t1),var(--t2));color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.mobile-head b{flex:1;font-size:24px;font-weight:600;letter-spacing:-.45px;color:var(--ink)}
.section-rows .nav-item{display:flex;align-items:center;gap:12px;height:50px;margin:0 12px;padding:0 16px;border-radius:14px;font-size:17px;color:var(--muted);text-decoration:none}
.section-rows .nav-item.pe{padding:0 14px}
.browse-rooms{display:flex;align-items:center;gap:10px;height:46px;margin:2px 12px 0;padding:0 16px;font-size:15px;font-weight:600;color:var(--muted);text-decoration:none;border-radius:14px}
.mobile-tabs{display:flex;border-top:1px solid var(--line);background:var(--bg);padding:6px 12px 34px;flex-shrink:0}
.mobile-tabs a{flex:1;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;font-size:11px;font-weight:600;color:var(--muted)}
.mobile-tabs a.selected{color:var(--ink)}
.room-header{padding:52px 8px 10px;display:flex;align-items:center;gap:2px;flex-shrink:0;background:linear-gradient(var(--card) 70%,transparent);position:relative;z-index:1}
.room-header h1{margin:0;font-size:19px;font-weight:600;letter-spacing:-.3px;line-height:1.25;color:var(--ink)}
.room-header p{margin:0;font-size:12px;color:var(--muted)}
.room-content{flex:1;overflow:hidden;padding:6px 10px;display:flex;flex-direction:column;gap:2px}
.message{position:relative;display:flex;gap:12px;padding:12px 12px;border-radius:16px}
.byline{display:flex;align-items:baseline;gap:8px;line-height:1.4}
.byline strong{font-size:15px;font-weight:700;color:var(--ink)}
.byline span{font-size:12px;font-weight:500;color:var(--muted)}
.message p{margin:3px 0 0;font-size:16px;line-height:1.55;color:var(--text)}
.composer-wrap{margin:0 14px;padding-bottom:34px;flex-shrink:0}
.composer{border-radius:22px;background:var(--card);border:1px solid var(--line);box-shadow:0 10px 32px rgba(20,18,16,.10),0 1px 3px rgba(20,18,16,.05);padding:12px 12px 4px 18px;display:flex;flex-direction:column}
.composer textarea{display:block;width:100%;min-height:44px;resize:none;border:0;background:transparent;color:var(--ink);padding:0;font:inherit;font-size:16px;line-height:1.55;outline:0}
.composer textarea::placeholder{color:var(--muted);opacity:1}
.send{background:var(--accent);color:var(--acc-ink);width:38px;height:38px;margin:3px 2px 3px 0}
.sheet-scrim{position:absolute;inset:0;background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:flex-end}
.chat-sheet{width:100%;box-sizing:border-box;padding:10px 14px 34px;border-radius:24px 24px 0 0;background:var(--pop);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5);border:1px solid var(--hair);border-bottom:0;box-shadow:inset 0 0 0 1px var(--sheetline),0 -20px 60px rgba(20,18,16,.25);display:flex;flex-direction:column;gap:8px}
.sheet-grabber{width:38px;height:5px;border-radius:3px;background:var(--line);margin:2px auto 0}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding-left:6px;min-height:48px}
.sheet-head h3{margin:0;font-size:17px;font-weight:600;letter-spacing:-.2px;color:var(--ink)}
.sheet-field input{box-sizing:border-box;width:100%;height:46px;border:1px solid var(--line);border-radius:12px;background:var(--fieldbg);color:var(--ink);padding:0 14px 0 42px;font:inherit;font-size:16px;outline:0}
.sheet-field input::placeholder{color:var(--muted);opacity:1}
.sheet-label{padding:8px 6px 2px;font-size:12px;font-weight:700;color:var(--muted)}
.sheet-list{display:flex;flex-direction:column;gap:2px;padding-bottom:4px}
.sheet-person{display:flex;align-items:center;gap:12px;width:100%;height:52px;padding:0 8px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:inherit;text-align:left}
.sheet-person .avatar{width:32px;height:32px;font-size:11px}
.sheet-person b{font-size:16px;font-weight:600;letter-spacing:-.1px}

.workspace-shell{display:flex;width:100%;height:100dvh;padding-top:env(safe-area-inset-top,0px);padding-bottom:0;background:var(--bg)}.sidebar{display:none}
.workspace-shell{--pop:rgba(255,255,255,.9);--scrim:rgba(30,28,26,.3)}[data-theme=dark] .workspace-shell{--pop:rgba(38,38,40,.92);--scrim:rgba(0,0,0,.55)}
.mobile-head{min-height:0}.mobile-head .workspace-name{font-size:24px;letter-spacing:-.45px;flex:1}.mobile-head .avatar{width:34px;height:34px;font-size:11px}.mobile-head .profile-target{width:44px;height:44px;display:flex;align-items:center;justify-content:center}.mobile-head .profile-hit{inset:0}
.list-screen .chat-pane{margin:0;border:0;background:transparent;border-radius:0;box-shadow:none;justify-content:initial}.list-screen .room-list-content{padding:10px 0 0;gap:0}.phone-room-list .room-sections{display:block}.phone-room-list .nav-section{margin:0 8px 2px 26px}.phone-room-list .nav-section:before{display:none}.phone-room-list .direct-section{margin-top:25px}.phone-room-list .direct-section:before{display:block;right:18px}.phone-room-list .section-rows{gap:0}.phone-room-list .nav-item{font-size:17px;height:50px;border-radius:14px}.phone-room-list .direct-link .avatar{width:30px;height:30px}.phone-room-list .browse-rooms{font-size:15px;height:46px}
.mobile-tabs{position:static;z-index:auto;display:flex;min-height:0;box-shadow:none;padding-bottom:max(34px,env(safe-area-inset-bottom,0px));background:var(--bg)}.mobile-tabs{padding-inline:0;gap:0}.mobile-tabs a{position:relative;isolation:isolate;flex:1 1 50%}.mobile-tabs a.selected{background:transparent}.mobile-tabs a.selected:before{content:"";position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:34px;border-radius:17px;background:var(--sel,var(--selection))}.mobile-tabs .icon,.mobile-tabs svg{width:24px;height:24px}.list-screen .empty-state{display:none}
.room-detail{padding-bottom:0;background:var(--card)}.room-detail .chat-pane{border:0;border-radius:0;box-shadow:none;margin:0}.room-detail .room-header{padding:52px 8px 10px;gap:2px}.room-header p{display:block}.room-detail .room-header h1{font-size:19px;line-height:1.25;letter-spacing:-.3px}.room-back{margin:0;color:var(--ink)}.room-detail .room-content{padding:6px 10px;gap:2px}.room-content .message{padding:12px;gap:12px}.message p{font-size:16px}.message .avatar{width:34px;height:34px;font-size:11px}.message .byline strong{font-size:15px;font-weight:700}.message .byline span{font-size:12px}
.composer-wrap{margin:0 14px;padding-bottom:max(34px,env(safe-area-inset-bottom,0px));padding-top:0}.workspace-shell .composer{padding:12px 12px 4px 18px}.composer textarea{min-height:44px;font-size:16px}.send-disc{width:38px;height:38px}.room-detail .mobile-tabs,.room-detail .mobile-head{display:none}.room-menu-wrap{margin-right:0}
.sheet-scrim,.picker-scrim{align-items:flex-end;justify-content:center;padding:0}.chat-sheet{max-width:100%;max-height:calc(100% - env(safe-area-inset-top,0px) - 12px);border-bottom:0;border-radius:24px 24px 0 0;width:100%;box-shadow:inset 0 0 0 1px var(--sheetline),0 -20px 60px rgba(20,18,16,.25)}.people-sheet{height:auto;padding:10px 14px max(34px,env(safe-area-inset-bottom,0px));gap:8px}.people-sheet .sheet-head{padding-left:6px;min-height:48px}.sheet-head h3{font-size:19px;letter-spacing:-.3px}.people-sheet .sheet-head h3{font-size:15px;letter-spacing:-.1px}.sheet-person{height:52px;padding:0 8px}.sheet-person .avatar{width:32px;height:32px;font-size:11px}.sheet-person b{font-size:16px}.sheet-field input{height:46px;border-radius:12px;font-size:16px}.sheet-field .icon,.sheet-field .icon svg{width:20px;height:20px}.sheet-grabber{display:block;width:38px;height:5px;min-height:5px;border-radius:3px;background:var(--line);margin:2px auto 0}
.rooms-sheet{height:700px;padding:10px 16px max(34px,env(safe-area-inset-bottom,0px));gap:14px}.rooms-sheet .sheet-head{min-height:48px;padding-left:6px}.sheet-done{font-size:15px;padding:0 12px;margin-right:-6px}.browse-card{gap:12px;padding:10px 12px 10px 16px;border-radius:16px}.browse-open{min-height:52px}.browse-open b{font-size:16px}.browse-join{font-size:15px;border-radius:11px}.browse-joined svg{width:17px;height:17px}
.membership-sheet{padding:10px 22px max(34px,env(safe-area-inset-bottom,0px));height:auto;gap:8px}.membership-sheet .sheet-grabber{margin-bottom:8px}.message .message-actions .button{min-height:44px;height:44px;margin-block:0;padding-block:0}.message .message-actions{top:-30px;right:4px}
}
@media(prefers-reduced-transparency:reduce){.workspace-shell .chat-sheet{background:var(--card);backdrop-filter:none;-webkit-backdrop-filter:none}.workspace-shell .sheet-scrim{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Preserve the approved ink send disc while its empty action is disabled. */
.workspace-shell .send-button:disabled{opacity:1}
@media(max-width:760px){.message .byline{gap:8px!important}.room-detail .room-content{overflow:auto}}

.desktop-list-prompt .status-mark{color:var(--muted)}
.desktop-list-prompt .status-mark svg{stroke-width:1.4}
.desktop-list-prompt .status-mark .line-icon,.desktop-list-prompt .status-mark .line-icon svg{width:28px;height:28px}

/* Assistive heading focus stays in place; its indicator follows input modality. */
#app:not([data-input-modality="keyboard"]) .workspace-name[tabindex="-1"]:focus{outline:none}
#app[data-input-modality="keyboard"] .workspace-name[tabindex="-1"]:focus{outline:1px auto -webkit-focus-ring-color}

/* Approved slice 2 artboards; the room owns this shared resource host. */
.workspace-shell{--ctl:#1b1e24;--ctlsel:rgba(0,0,0,.07);--sec:#55525f;--alert:#b83f39;--tilebg:rgba(17,17,17,.08);--tileline:rgba(17,17,17,.14)}
[data-theme=dark] .workspace-shell{--ctl:#f0efff;--ctlsel:rgba(255,255,255,.10);--sec:#b9b4ac;--alert:#f08a82;--tilebg:rgba(245,245,245,.08);--tileline:rgba(245,245,245,.14)}
.room-primary{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.resource-open{flex-direction:row}
.room-detail:has(.room-tabs) .room-header{padding:22px 20px 6px 36px}
.room-tabs{display:flex;gap:4px;padding:0 28px;flex-shrink:0;overflow-x:auto;scrollbar-width:none}
.room-tabs::-webkit-scrollbar{display:none}
.room-tab{font:400 13.3333px Arial;height:40px;min-width:44px;border:0;background:transparent;padding:0 2px;display:flex;align-items:center;flex-shrink:0;white-space:nowrap;position:relative}
.room-tab:after{content:"";position:absolute;inset:-2px 0}
.room-tab span{display:block;padding:5px 9px;border-radius:6px;font:inherit;font-size:11px;font-weight:400;color:var(--sec);line-height:1.4}
.room-tab.on span{background:var(--ctlsel);color:var(--ctl)}
.room-tab.chatsel span{font-weight:600}
.resource-panel{box-sizing:border-box;width:254px;flex-shrink:0;border-left:0;box-shadow:inset 1px 0 var(--line);display:flex;flex-direction:column;background:#fff;min-height:0;overflow:auto}
[data-theme=dark] .resource-panel{background:#161616}
.resource-header{box-sizing:border-box;height:60px;min-height:60px;padding:0 18px;display:flex;align-items:center;gap:10px;border-bottom:0;box-shadow:inset 0 -1px var(--line);flex-shrink:0}
.resource-header h2{flex:1;margin:0;font-size:16px;font-weight:600;color:var(--calm-ink);letter-spacing:0;line-height:22px;white-space:nowrap}
.resource-close{width:28px;height:28px;flex-shrink:0;border:0;background:transparent;color:var(--calm-muted);display:flex;align-items:center;justify-content:center;padding:0;border-radius:6px;font-size:16px;font-weight:400;line-height:1}
.bookmark-list{padding:24px;display:flex;flex-direction:column;gap:10px}
.bookmark-card{display:grid;grid-template-columns:24px minmax(0,1fr) auto 44px;grid-template-areas:"i au au rm" "i bd bd rm" "ft ft sh sh";column-gap:10px;row-gap:0;align-items:start;padding:14px;border-radius:18px;background:rgba(245,244,242,.3192);border:0;box-shadow:none;flex-shrink:0;min-width:0}
[data-theme=dark] .bookmark-card{background:rgba(34,34,34,.3268)}
.bookmark-glyph{grid-area:i;display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--accent)}
.bookmark-glyph svg{width:19.2px;height:19.2px;fill:currentColor;stroke:none}
.bookmark-author{grid-area:au;font-size:14px;font-weight:600;color:var(--ink);line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bookmark-body{grid-area:bd;font-size:14px;line-height:20px;color:var(--ink);padding-right:0;margin-top:5px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.bookmark-body.dim{color:var(--sec)}
.bookmark-footer{grid-area:ft;font-size:11px;color:var(--sec);line-height:15px;min-height:44px;margin-top:10px;display:flex;align-items:center;gap:6px}
.bookmark-show{grid-area:sh;position:relative;height:44px;padding:0 13px;border:0;border-radius:7px;background:transparent;color:var(--calm-muted);font:inherit;font-size:13px;font-weight:600;margin:0;margin-top:10px;white-space:nowrap;justify-self:end}
.bookmark-show:after{content:"";position:absolute;inset:0}
.bookmark-remove{grid-area:rm;position:relative;width:44px;height:44px;border:0;background:transparent;color:var(--ctl);display:flex;align-items:center;justify-content:center;padding:0;border-radius:10px}
.bookmark-remove:after{content:"";position:absolute;inset:0}
.bookmark-remove svg{width:16px;height:16px}
.bookmarks-empty{padding:80px 0 0;display:flex;justify-content:center}
.bookmarks-empty-content{width:100%;max-width:468px;padding:24px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.bookmark-tile{box-sizing:border-box;width:56px;height:56px;flex-shrink:0;border-radius:18px;background:var(--tilebg);border:1px solid var(--tileline);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.bookmark-tile svg{width:33.6px;height:33.6px;fill:currentColor;stroke:none}
.bookmarks-empty h3{margin:0;font-size:18px;font-weight:700;color:var(--ink);letter-spacing:0;line-height:25px}
.bookmarks-empty p{margin:0;font-size:14px;line-height:19px;color:var(--sec)}
.bookmark-ghost{border:1px solid var(--line);border-radius:14px;padding:14px;min-height:90px}
.bookmark-error{display:flex;align-items:center;gap:10px;margin-top:2px;flex-wrap:wrap}
.bookmark-card>.bookmark-error{grid-column:1/-1}
.bookmark-error b{font-size:12px;font-weight:500;color:var(--alert)}
.bookmark-retry{min-height:44px;padding:0 14px;border-radius:7px;border:1px solid var(--line);background:var(--btn);color:var(--ink);font:inherit;font-size:13px;font-weight:500}
@media(pointer:coarse){.resource-close{width:44px;height:44px}}
.resource-open .room-content{padding-inline:16px}
.resource-open .composer-wrap{margin-inline:20px}
@media(max-width:760px){
 .room-detail:has(.room-tabs) .room-header{padding:52px 8px 0}
 .room-tabs{padding:0 18px}
 .room-tab{height:44px}
 .room-tab span{padding:6px 11px;border-radius:7px;font-size:12px}
 .resource-open{flex-direction:column}
 .resource-open .room-primary{flex:0 0 auto}
 .resource-open .room-primary>.room-content,.resource-open .room-primary>.composer-wrap{display:none}
 .resource-panel{width:100%;flex:1;border:0;box-shadow:none}
 .resource-header{display:none}
 .bookmark-list{padding:12px 16px max(34px,env(safe-area-inset-bottom,0px))}
 .bookmark-card{padding:11px 8px 12px 14px;box-shadow:0 1px 2px rgba(0,0,0,.2)}
 .bookmark-body{font-size:15px}
 .bookmark-show{height:28px;padding:0 11px;font-size:12px;background:var(--ctlsel)}
 .bookmark-show:after{inset:-8px -4px}
 .bookmark-remove svg{width:17px;height:17px}
 .bookmarks-empty{flex:1;align-items:flex-start}
}

@media(min-width:761px){.room-detail:has(.room-tabs) .room-menu-wrap{margin:0}}

.message-actions [data-action="toggle-bookmark"]{position:relative}
.bookmark-tip{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--accent);color:var(--acc-ink);font-size:12px;font-weight:600;padding:5px 9px;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.2)}
[data-action="toggle-bookmark"]:hover .bookmark-tip,[data-action="toggle-bookmark"]:focus-visible .bookmark-tip{display:block}
@media(max-width:760px){.message-actions [data-action="toggle-bookmark"] svg{width:20px;height:20px}}
/* Literal Mac scroll geometry; browser anchoring must not apply a second shift. */
.room-content{overflow-anchor:none}
@media(max-width:760px){.workspace-shell{height:var(--uni-visible-height,100dvh)}}
/* CalmInbox.swift:216–225,309–319,395–410,469–505; PageHeader.swift:5–16,125–158.
   Existing wording/actions remain; the absent group text adds no line box. */
.inbox-screen .chat-pane{container-type:inline-size}
.inbox-screen .room-header{flex-shrink:0;min-height:60px;padding:12px 24px;gap:12px;background:var(--card)}
.inbox-screen .room-header h1{font-size:16px;font-weight:600;line-height:20px;letter-spacing:0}
.inbox-screen .room-header p{font-size:12px;font-weight:400;line-height:16px;margin:0}
.inbox-screen .room-header p:empty{display:none}
.inbox-screen .room-content{overflow:auto;padding:0 24px 24px;gap:0}
.inbox-screen .room-content>.row{flex-shrink:0;height:42px;min-height:42px}
.inbox-screen .room-content>.stack{flex-shrink:0;display:grid;gap:2px;padding-top:28px}
.inbox-screen .review-card{margin:0;max-width:none;width:100%;padding:14px 12px;border:0;border-radius:10px;background:transparent;box-shadow:none;gap:3px}
.inbox-screen .review-card h2{font-size:13px;font-weight:600;line-height:19px;letter-spacing:0}
.inbox-screen .review-card p{font-size:13px;font-weight:400;line-height:19px;min-height:19px}
.inbox-screen .review-card .provenance{font-size:12px}
.inbox-screen .button{min-height:31px;height:31px;padding:6px 12px;font-size:13px;font-weight:600;line-height:19px;border-radius:7px;border:0}
.inbox-screen .message-actions{margin:0}
@container(max-width:820px){.inbox-screen .room-header{padding-inline:16px}.inbox-screen .room-content{padding-inline:16px}}
@container(max-width:419px){.inbox-screen .room-header p{display:none}}
@media(max-width:760px),(pointer:coarse){.inbox-screen .button{min-height:44px;height:44px}}
/* CalmInbox.swift:451–453,469–517: actions share the text rows; they add no
   third line. Text controls retain their intrinsic width (native minimum130). */
.inbox-screen .review-card:not(:has(>form,>.actions)){grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:19px minmax(19px,auto)}
.inbox-screen .review-card:not(:has(>form,>.actions))>h2,.inbox-screen .review-card:not(:has(>form,>.actions))>p{grid-column:1}
.inbox-screen .review-card:not(:has(>form,>.actions))>h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-screen .review-card:not(:has(>form,>.actions))>p:not(.provenance){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.inbox-screen .review-card:not(:has(>form,>.actions))>.message-actions{grid-column:2;grid-row:1/span 2;align-self:center;justify-content:flex-end;flex-wrap:nowrap;min-width:130px;margin-right:-4px;gap:2px;padding:2px;border-radius:9px;background:var(--raised);box-shadow:inset 0 0 0 1px var(--line);opacity:0;pointer-events:none}
.inbox-screen .review-card:hover>.message-actions,.inbox-screen .review-card:focus-within>.message-actions{opacity:1;pointer-events:auto}
@media(max-width:760px),(pointer:coarse){.inbox-screen .review-card:not(:has(>form,>.actions))>.message-actions{opacity:1;pointer-events:auto}}
/* Build 44 Search, literal values: docs/xplat/spec-slice3/MAC-SPEC-SEARCH.md. */
.search-entry{display:flex;align-items:center;justify-content:flex-end;flex:0 0 26px;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--ink);transition:background .1s ease-out,transform .1s ease-out}
.search-entry .icon,.search-entry svg{width:16px;height:16px}.search-entry:hover{background:rgba(142,144,150,.08)}.search-entry:active{background:rgba(142,144,150,.16);transform:scale(.98)}
.search-scrim{align-items:center;justify-content:center;backdrop-filter:none;-webkit-backdrop-filter:none}
.search-sheet{--s-ink:#1d1c1a;--s-muted:#6b6863;--s-faint:#9e9a94;--s-raised:#fff;--s-selection:#e7e5e1;--s-line:#e4e1dc;--s-ring:#d6d2cb;--s-glass:rgba(255,255,255,.62);--s-glass-line:rgba(255,255,255,.55);--s-pop:rgba(255,255,255,.78);--s-accent:#111;--s-accent-ink:#fff;--s-bad:#d14b3f;--s-empty-ink:#1b1a22;--s-empty-muted:#55525f;--s-empty-icon:rgba(17,17,17,.08);--s-empty-border:rgba(17,17,17,.14);--s-ghost:rgba(0,0,0,.0308);--s-ghost-row:rgba(245,244,242,.1848);display:flex;flex-direction:column;align-items:stretch;gap:10px;position:relative;flex-shrink:0;box-sizing:border-box;width:560px;padding:16px;border:1px solid var(--s-glass-line);border-radius:14px;background:var(--s-pop);color:var(--s-ink);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 -18px 90px rgba(0,0,0,.34);font-family:'Open Sans';font-size:13px;font-weight:400;line-height:normal;letter-spacing:normal;max-height:calc(100dvh - 32px)}
[data-theme=dark] .search-sheet{--s-ink:#e9e7e3;--s-muted:#9c9893;--s-faint:#68655f;--s-raised:#1c1c1c;--s-selection:#222;--s-line:#242427;--s-ring:#3a3a3e;--s-glass:rgba(255,255,255,.09);--s-glass-line:rgba(255,255,255,.08);--s-pop:rgba(37,37,37,.78);--s-accent:#f5f5f5;--s-accent-ink:#111;--s-bad:#ee7a6e;--s-empty-ink:#f5f2ec;--s-empty-muted:#b9b4ac;--s-empty-icon:rgba(245,245,245,.08);--s-empty-border:rgba(245,245,245,.14);--s-ghost:rgba(255,255,255,.044);--s-ghost-row:rgba(34,34,34,.1892)}
.search-sheet:not(.search-unavailable){background:#fafafa}[data-theme=dark] .search-sheet:not(.search-unavailable){background:#222225}
.search-sheet :is(button,input){font-family:inherit;line-height:normal;letter-spacing:normal;color:inherit;min-width:0;min-height:0;margin:0;box-shadow:none}
.search-sheet button{display:inline-flex;align-items:center;justify-content:center;gap:0;padding:0;border:0;background:transparent;font-size:inherit;font-weight:inherit;text-align:left;border-radius:0}
.search-sheet :is(p,h2){margin:0;padding:0;letter-spacing:normal;line-height:normal;font-family:inherit;color:inherit}.search-sheet .icon{display:inline-flex;flex-shrink:0}.search-sheet .icon svg{width:100%;height:100%}
.search-query{display:flex;align-items:center;gap:10px;height:20px;flex-shrink:0;position:relative;margin:0;padding:0}.search-query>.icon{width:16px;height:16px;color:var(--s-muted)}
.search-query input{flex:1;width:0;height:20px;padding:0;border:0;background:transparent;border-radius:0;outline:none;font-size:16px;font-weight:400;line-height:20px;color:var(--s-ink)}.search-query input.filled{font-weight:600}.search-query input::placeholder{color:var(--s-faint);opacity:1}
.search-spinner{display:block;width:14px;height:14px;flex-shrink:0;border:1.5px solid var(--s-line);border-top-color:var(--s-muted);border-radius:50%;animation:spin .8s linear infinite}
.search-filter-bar{z-index:2}.search-chips{display:flex;gap:6px;align-items:center;max-width:100%;position:relative}.search-chip{display:flex;align-items:center;gap:5px;position:relative;flex-shrink:0;height:26px;padding:4px 10px;border:1px solid var(--s-line);border-radius:7px;background:var(--s-raised);font-size:12px;font-weight:600;line-height:16px;color:var(--s-ink)}.search-chip.selected{border-color:var(--s-ring);background:var(--s-selection)}.search-chip:not(.selected):has([data-menu=room]){min-width:91px}
.search-chip .search-chip-label{display:flex;align-items:center;gap:5px;height:16px;white-space:nowrap;font-size:12px;font-weight:600;line-height:16px}.search-chip-label .icon{width:9px;height:9px;color:var(--s-muted)}.search-chip .search-remove{font-size:14px;font-weight:400;color:var(--s-muted);height:16px;line-height:16px}
.search-divider{height:1px;flex-shrink:0;margin:0 -16px;background:var(--s-line)}.search-body{min-height:164px;margin:-4px -2px 0;align-self:stretch}.search-body.initial{min-height:81px}.search-initial{display:flex;flex-direction:column;align-items:center;gap:2px;padding-top:26px;padding-bottom:18px}.search-initial h2{font-size:14px;font-weight:600;height:18px}.search-initial p{font-size:12px;font-weight:400;height:16px;color:var(--s-muted)}
.search-sheet .search-too-long{font-size:13px;color:var(--s-bad);padding:6px}.search-failure{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:6px}.search-failure p{font-size:13px}
.search-sheet .search-action{padding:6px 13px;border-radius:7px;font-size:13px;font-weight:600;line-height:normal;white-space:nowrap;opacity:1;transition:opacity .1s ease-out}.search-action.primary{background:var(--s-accent);color:var(--s-accent-ink)}.search-action.secondary{background:var(--s-raised);color:var(--s-ink);box-shadow:inset 0 0 0 1px var(--s-line)}.search-action.tertiary{color:var(--s-muted)}.search-action:active{opacity:.86}.search-action:disabled{opacity:.4;cursor:default}.search-action.tertiary:hover{background:color-mix(in srgb,var(--s-glass) 8%,transparent)}.search-action.tertiary:active{background:color-mix(in srgb,var(--s-glass) 16%,transparent)}
.search-menu{z-index:4;position:absolute;top:32px;left:0;width:250px;padding:6px;border:0;border-radius:10px;background:var(--s-pop);color:var(--s-ink);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:inset 0 0 0 1px var(--s-glass-line),0 -10px 60px rgba(0,0,0,.2);font-size:13px;font-weight:400}.search-choices{max-height:422px;overflow-y:auto;scrollbar-width:none}.search-menu::-webkit-scrollbar{display:none}.search-sheet .search-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 8px;border-radius:6px;font-size:13px;font-weight:400;white-space:nowrap}.search-choice>span:first-child{overflow:hidden;text-overflow:ellipsis}.search-choice:hover,.search-choice[aria-checked=true]{background:var(--s-glass)}.search-choice:focus-visible{outline:1px solid color-mix(in srgb,var(--s-ring) 50%,transparent);outline-offset:-1px}.search-check{font-size:11px;flex:0 0 12px;width:12px}.search-menu-section{padding:6px 8px 2px;margin-top:4px;border-top:1px solid var(--s-line);font-size:12px;color:var(--s-faint)}.search-context{top:26px}
.search-date-menu{width:264px;padding:7px;background:#fdfdfd;backdrop-filter:none;-webkit-backdrop-filter:none}[data-theme=dark] .search-date-menu{background:#222225}.search-date-inner{display:flex;flex-direction:column;gap:8px;padding:6px 6px 4px}.search-date-fields{display:flex;gap:8px}.search-sheet .search-date-field{display:flex;justify-content:flex-start;gap:4px;flex:1;height:28px;padding:0 8px;font-size:12px;background:var(--s-raised);border-radius:8px;box-shadow:inset 0 0 0 1px var(--s-line);white-space:nowrap}.search-date-field[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--s-ring)}.search-date-field span{color:var(--s-muted)}.search-date-field b{font-weight:400;color:var(--s-ink)}.search-month{display:flex;align-items:center;gap:8px;padding:2px 4px}.search-month>b{flex:1;font-size:13px;font-weight:600;line-height:16px}.search-sheet .search-month-button{width:12px;height:16px;color:var(--s-muted);font-size:10px}.search-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));column-gap:0;row-gap:2px}.search-weekday{height:20px;display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--s-faint)}.search-sheet .search-day{height:28px;font-size:12px;font-variant-numeric:tabular-nums;justify-content:center}.search-day.in-range{background:var(--s-glass)}.search-day.endpoint{background:var(--s-accent);color:var(--s-accent-ink);font-weight:600;border-radius:6px}.search-day.today{box-shadow:inset 0 0 0 1px var(--s-ring);border-radius:6px}.search-date-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 2px 2px;border-top:1px solid var(--s-line)}.search-date-inner .search-date-error{color:var(--s-bad);font-size:12px}.search-date-footer .search-action{line-height:16px}
.search-results{overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:stretch;gap:0}.search-result{display:flex;align-items:flex-start;gap:10px;flex-shrink:0;padding:8px;border-radius:6px;text-align:left;cursor:pointer;outline-offset:-1px}.search-result[data-selected=true],.search-result:hover{background:var(--s-glass)}.search-avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:inset 0 0 0 1px rgba(142,144,150,.55);font-size:9.52px;font-weight:600;color:var(--s-empty-ink)}[data-theme=dark] .search-avatar{background:#1c1c1c}.search-avatar.agent{border-radius:8.4px}.search-avatar canvas,.search-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.search-result-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;font-size:13px;line-height:normal}.search-result .search-excerpt{font-size:13px;line-height:18.5px;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.search-excerpt mark{color:inherit;background:var(--s-selection)}.search-excerpt code{font:inherit}.search-result .search-meta{font-size:12px;line-height:16px;height:16px;color:var(--s-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-empty{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:480px;padding:30px;margin:0 auto;text-align:center}.search-empty-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;border-radius:18px;background:var(--s-empty-icon);box-shadow:inset 0 0 0 1px var(--s-empty-border);margin-bottom:6px;color:var(--s-accent)}.search-empty-icon .icon{width:20px;height:20px}.search-empty h2{font-size:18px;font-weight:600;color:var(--s-empty-ink)}.search-empty p{font-size:14px;color:var(--s-empty-muted)}.search-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding-top:8px}
.search-ghosts{display:flex;flex-direction:column;gap:10px;padding:6px}.search-ghost-field{position:relative;display:flex;flex-direction:column;gap:10px}.search-ghost-field>.search-bloom{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.search-ghost-field[data-bloom-painted=true]>.search-ghost-row{visibility:hidden}.search-ghost-row{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:var(--s-ghost-row)}.search-ghost-face{width:42px;height:42px;flex:0 0 42px;border-radius:21px;background:var(--s-ghost)}.search-ghost-lines{display:flex;flex-direction:column;gap:8px}.search-ghost-lines>div{max-width:100%;background:var(--s-ghost);border-radius:12px}.search-unavailable .search-action{align-self:flex-end}
@media(prefers-reduced-motion:reduce){.search-sheet .search-action{transition:none}.search-entry:active{transform:none}.search-spinner{animation:none}}
@media(pointer:coarse){.search-entry{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px;justify-content:center}.search-chip button{position:relative}.search-chip button::after{content:'';position:absolute;inset:-10px -2px;min-height:44px}.search-chip{margin:9px 0}.search-sheet .search-action,.search-sheet .search-choice,.search-sheet .search-date-field,.search-sheet .search-day{min-height:44px}.search-sheet .search-month-button{position:relative}.search-month-button::after{content:'';position:absolute;inset:-14px -5px}.search-filter-bar{overflow:visible}}
@media(max-width:760px){.search-scrim{align-items:flex-end}.search-sheet{width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px);border-radius:14px 14px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.search-entry{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px;justify-content:center}.search-sheet .search-action,.search-sheet .search-choice,.search-sheet .search-date-field,.search-sheet .search-day{min-height:44px}.search-menu{position:fixed;top:auto;left:0;bottom:0;max-width:100%;max-height:80dvh;border-radius:10px 10px 0 0;z-index:5}.search-choices{width:250px;left:50%;transform:translateX(-50%);border-radius:10px}.search-date-menu{left:50%;transform:translateX(-50%);border-radius:10px}.search-chips{flex-wrap:wrap}.search-results{max-height:calc(100dvh - 230px)}.search-empty{max-width:100%}.search-unavailable{width:100%}}

@media(max-width:760px){.search-choices{max-height:422px}.search-query,.search-query input{height:44px}.search-date-menu{width:336px;max-width:100%}.search-sheet .search-month-button{width:44px;height:44px}.search-sheet .search-remove{min-width:44px;min-height:44px}.search-chip{gap:5px}.search-chip .search-remove::after{inset:0}.search-chip .search-remove{margin:-9px -5px -9px 0}}

.phone-search{display:none}@media(max-width:760px){.phone-search{display:flex}}

.search-unavailable{width:330px;padding:21px;gap:0;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--s-raised);box-shadow:inset 0 0 0 1px var(--s-glass-line),0 -1px 2px rgba(0,0,0,.06),0 -12px 32px rgba(0,0,0,.08)}
.search-unavailable h2{font-size:16px;font-weight:600;height:20px;margin-bottom:8px}.search-unavailable p{font-size:13px;color:var(--s-muted);line-height:calc(1lh + 3px);min-height:19.5px;padding:1.5px 0;margin-bottom:18px}
[data-theme=dark] .search-unavailable{box-shadow:inset 0 0 0 1px var(--s-glass-line),0 -1px 2px rgba(0,0,0,.4),0 -12px 32px rgba(0,0,0,.4)}
@media(max-width:760px){.search-unavailable{width:100%;padding-bottom:calc(21px + env(safe-area-inset-bottom,0px))}}

@media(min-width:761px){.search-filter-bar{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.search-filter-bar::-webkit-scrollbar{display:none}.search-chips{width:max-content;min-width:100%;max-width:none}}

.search-excerpt a{color:var(--s-accent);text-decoration:underline;text-underline-offset:initial}

.search-avatar{position:relative;box-shadow:none}.search-avatar::after{content:'';position:absolute;inset:0;border:1px solid rgba(142,144,150,.55);border-radius:inherit;pointer-events:none}.search-avatar.agent:has(img)::after{border-color:rgba(142,144,150,.45)}
@media(pointer:coarse){.search-query,.search-query input{height:44px}.search-date-menu{width:336px;max-width:100%}.search-sheet .search-month-button{width:44px;height:44px}.search-sheet .search-action{min-width:44px}.search-sheet .search-remove{min-width:44px;min-height:44px;margin:-9px -5px -9px 0}.search-chip .search-remove::after{inset:0}}
@media(max-width:760px){.search-sheet .search-action{min-width:44px}}

.search-sheet .search-choice:focus-visible{outline:none}.search-sheet .search-choice[data-focused=true]{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--s-ring) 50%,transparent)}
.search-chip-label[aria-label="Remove file filter"] .icon{color:var(--s-ink)}

.search-excerpt em{font-style:oblique 11.309932deg}

.search-results.viewport-164{height:164px}.search-results.viewport-208{height:208px}.search-results.viewport-260{height:260px}.search-results.viewport-312{height:312px}
.search-ghost-lines>div:first-child{width:150px;height:14px}.search-ghost-lines>div:last-child{width:210px;height:11px}.search-ghost-row:nth-child(even) .search-ghost-lines>div:first-child{width:122px}.search-ghost-row:nth-child(even) .search-ghost-lines>div:last-child{width:172px}

.search-scrim{background:rgba(0,0,0,.25)}.search-entry:disabled{opacity:.45;cursor:default;background:transparent;transform:none}
@media(min-width:761px){.search-sheet:has(.search-empty){height:100dvh;max-height:100dvh}.search-body:has(.search-empty){flex:1;display:flex;align-items:center;justify-content:center}}
.search-entry,.search-entry .icon,.search-entry svg{color:#fff}.search-query>.icon{align-items:center;justify-content:center}.search-query>.icon svg{width:15px;height:15px}
/* StudioIconButtonStyle keeps hover/press timing under reduced motion; scale stays off. */
@media(prefers-reduced-motion:reduce){.search-entry{transition:background .1s ease-out,transform .1s ease-out!important}}
@media(min-width:761px){
 .workspace-shell{--card:#f8fafd;--ink:#1b1a22;--text:#1b1a22;--muted:#6b6878;--secondary:#55525f;--line:#e4e1dc;grid-template-columns:210px minmax(0,1fr)}
 [data-theme=dark] .workspace-shell{--bg:#111;--card:#0d0d0d;--ink:#f5f2ec;--text:#f5f2ec;--muted:#aaa59d;--secondary:#b9b4ac;--line:#242427}
 .sidebar{padding:52px 0 16px}
 .workspace-brand{height:26px;min-height:26px;padding:0 18px;gap:9px;margin-bottom:10px}
 .workspace-brand .workspace-name{font-size:15px;font-weight:600;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .team-tile{width:26px;height:26px;border-radius:7px;font-size:13px;font-weight:600}
 .sidebar-destinations{margin:0 12px;gap:2px}
 .sidebar-destinations .nav-item{height:32px;min-height:32px;padding:0 8px;gap:10px;font-size:13px;font-weight:400;border-radius:7px}
 .sidebar-destinations .icon,.sidebar-destinations svg{width:16px;height:16px}
 .nav-section{min-height:32px;margin:20px 12px 4px 22px;font-size:11px;font-weight:600}
 .nav-section:before{display:none}
 .section-toggle{min-height:32px;font-size:11px;font-weight:600}
 .section-action{width:26px;height:26px}
 .section-action .icon,.section-action svg{width:14px;height:14px}
 .section-rows .nav-item{height:32px;min-height:32px;padding:6px 8px;margin:0 12px;gap:9px;border-radius:7px;font-size:13px}
 .section-rows .direct-link{padding:6px 8px}
 .direct-link .avatar{width:19px;height:19px;font-size:6.46px;font-weight:600}
 .browse-rooms{height:32px;min-height:32px;padding:0 8px;font-size:13px;font-weight:400;border-radius:7px}
 .sidebar .person{padding:0 22px;gap:9px;min-height:44px}
 .sidebar .person .avatar{width:28px;height:28px;font-size:9.52px;font-weight:600}
 .sidebar .person strong{font-size:12px;font-weight:400;line-height:16px}
 .sidebar .person p{font-size:10px;line-height:14px}
 .chat-pane{margin:8px 8px 8px 0;border:0;border-radius:14px;box-shadow:0 -8px 24px rgba(8,16,36,.22)}
 .room-header{min-height:60px;padding:12px 24px;gap:12px;background:transparent}
 .room-header h1{font-size:16px;font-weight:600;letter-spacing:0;line-height:20px}
 .room-header p{font-size:12px;line-height:16px;margin:0}
 .room-header p:empty{display:none}
 .room-detail:has(.room-tabs) .room-header{min-height:60px;padding:18px 24px 12px;gap:10px}
 .room-detail:has(.room-tabs) .room-header h1{font-size:15px}
 .room-detail:has(.room-tabs) .room-header p{font-size:11px}
 .room-menu-wrap{align-self:center;margin:0}
 .room-tabs{padding:0 24px 8px;gap:4px}
 .room-tab{height:26px;min-width:0;font:11px/16px 'Open Sans';padding:0}
 .room-tab span{padding:5px 9px;font-size:11px;font-weight:400;line-height:16px}
 .room-content{padding:34px 24px 0;gap:14px}
 .message{max-width:none;gap:10px;padding:4px 10px;border-radius:8px}
 .message .avatar{width:28px;height:28px;font-size:9.52px;font-weight:600}
 .message .avatar.agent,.message .avatar.coda{border-radius:8.4px}
 .message-body{font:13px/normal 'Open Sans'}
 .message .byline{gap:6px;line-height:18px;margin:0}
 .byline strong{font-size:12px;font-weight:600}
 .byline span{font-size:10px;font-weight:400}
 .message p{font-size:13px;line-height:22px;margin:0;color:var(--ink)}
 .message .source{font-size:11px;margin:0 0 2px}
 .message .message-actions{padding:0 4px;border:0;border-radius:999px;top:4px;right:8px;box-shadow:inset 0 0 0 1px rgba(142,144,150,.5),0 -4px 28px rgba(0,0,0,.08)}
 [data-theme=dark] .message .message-actions{box-shadow:inset 0 0 0 1px rgba(142,144,150,.5),0 -4px 28px rgba(0,0,0,.26)}
 .message .message-actions .button{min-width:44px;width:auto;min-height:44px;height:44px;margin:0;padding:0 6px;border-radius:10px}
 .message .message-actions .icon,.message .message-actions svg{width:16px;height:16px}
 .composer-wrap{margin:0 20px 16px;padding:0}
 .workspace-shell .composer{padding:7px 14px 5px;gap:2px;border:0;border-radius:16px;background:rgba(255,255,255,.37);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:none;filter:drop-shadow(0 -8px 24px rgba(5,12,28,.16))}
 [data-theme=dark] .workspace-shell .composer{background:rgba(30,30,30,.37)}
 .composer textarea{height:40px;min-height:40px;padding:8px 0;font-size:13px;line-height:18px}
 .composer-controls{height:30px;min-height:30px}
 .send-button{height:30px;width:30px}
 .send-disc{height:28px;width:28px}
 .send-button:disabled .send-disc{background:var(--reply);color:var(--muted);opacity:.45}
 .send-disc .icon,.send-disc svg{width:16px;height:16px}
 .resource-open .composer-wrap{margin-inline:20px}
}
@media(min-width:761px) and (pointer:coarse){
 .sidebar-destinations .nav-item,.section-rows .nav-item,.browse-rooms,.section-toggle,.composer-controls{min-height:44px}
 .section-action,.send-button{min-width:44px;min-height:44px}
 .message .message-actions .button{min-width:44px;min-height:44px}
}
@media(min-width:761px){
 .nav-section{min-height:25px;margin-top:18px}
 .section-toggle{min-height:25px}
 .section-title>.icon{display:none}
 .section-action{opacity:0}
 .nav-section:hover .section-action,.nav-section:focus-within .section-action{opacity:1}
 .team-tile{background:#fff;color:#0a0a0a;box-shadow:none}
 .room-detail:has(.room-tabs) .room-header h1{font-size:16px}
 .room-tabs{padding-bottom:8px}
 .room-tab{height:30px;font-size:13px;line-height:18px}
 .room-tab span{font-size:13px;line-height:18px}
 .room-detail:has(.room-tabs) .day-line{display:flex;font-size:12.5px;line-height:16px;padding:6px 0}
 .room-detail:has(.room-tabs) .day-line>span{line-height:16px}
 .room-detail:has(.room-tabs) .message{padding:10px 10px;gap:12px;border-radius:14px}
 .room-detail:has(.room-tabs) .message .avatar{width:30px;height:30px;font-size:10.2px}
 .room-detail:has(.room-tabs) .message .byline{line-height:19.6px;margin-bottom:6px}
 .room-detail:has(.room-tabs) .byline strong{font-size:14px}
 .room-detail:has(.room-tabs) .byline span{font-size:11px}
 .room-detail:has(.room-tabs) .message p{font-size:15px;line-height:24px}
}
@media(min-width:761px) and (pointer:coarse){
 .section-toggle{min-height:44px}
 .section-action{opacity:1}
}
.rooms-sheet .rooms-empty-mark{display:none}
@media(min-width:761px){
 .section-action{width:22px;height:25px}
 .section-action .icon,.section-action svg{width:16px;height:16px}
 .membership-scrim{background:rgba(0,0,0,.25);backdrop-filter:none;-webkit-backdrop-filter:none}
 .membership-sheet{width:330px;height:auto;padding:21px;gap:0;border:0;border-radius:14px;background:#fff;color:#1d1c1a;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 -1px 2px rgba(0,0,0,.06),0 -12px 32px rgba(0,0,0,.08);font:13px/normal 'Open Sans'}
 .membership-sheet h3{height:20px;font-size:16px;font-weight:600;line-height:20px;letter-spacing:0;margin:0 0 8px;color:inherit}
 .membership-sheet p{font-size:13px;line-height:19.5px;min-height:19.5px;color:#6b6863;margin:0 0 18px}
 .membership-sheet .sheet-foot{gap:8px;padding:0;margin:0;border:0}
 .membership-sheet .sheet-button{height:28px;min-height:28px;padding:6px 13px;border:0;border-radius:7px;font:600 13px/16px 'Open Sans'}
 .membership-sheet .sheet-button.secondary{background:#fff;color:#1d1c1a;box-shadow:inset 0 0 0 1px #e4e1dc}
 .membership-sheet .sheet-button.destructive{background:#d14b3f;color:#fff;box-shadow:none}
 [data-theme=dark] .membership-sheet{background:#1c1c1c;color:#e9e7e3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 -1px 2px rgba(0,0,0,.4),0 -12px 32px rgba(0,0,0,.4)}
 [data-theme=dark] .membership-sheet p{color:#9c9893}
 [data-theme=dark] .membership-sheet .sheet-button.secondary{background:#1c1c1c;color:#e9e7e3;box-shadow:inset 0 0 0 1px #242427}
 [data-theme=dark] .membership-sheet .sheet-button.destructive{background:#ee7a6e;color:#111}
 .picker-scrim{align-items:center;padding-top:0;background:rgba(0,0,0,.25);backdrop-filter:none;-webkit-backdrop-filter:none}
 .people-sheet{padding:8px;border:0;border-radius:14px;gap:8px;background:#fdfdfd;color:#1d1c1a;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 -18px 90px rgba(0,0,0,.34);font:13px/normal 'Open Sans'}
 .people-sheet .sheet-grabber{display:none}
 .people-sheet .sheet-head{padding:0;min-height:20px;height:20px}
 .people-sheet .sheet-head h3{font-size:14px;font-weight:600;line-height:20px;letter-spacing:0;color:inherit}
 .people-sheet .sheet-close{width:20px;height:20px;min-width:20px;min-height:20px;border-radius:6px;color:#6b6863}
 .people-sheet .sheet-close .icon,.people-sheet .sheet-close svg{width:12px;height:12px}
 .people-sheet .sheet-field .icon,.rooms-sheet .sheet-field .icon{display:none}
 .people-sheet .sheet-field input,.rooms-sheet .sheet-field input{min-height:32px;height:32px;padding:7px 10px;font-size:13px;line-height:18px;border-radius:8px;background:#fff;border-color:#e4e1dc;color:#1d1c1a}
 .people-sheet .sheet-field input::placeholder{color:#808080}
 .rooms-sheet .sheet-field input::placeholder{color:#404040}
 .people-sheet .sheet-label{font-size:11px;font-weight:600;line-height:15px;letter-spacing:.44px;text-transform:uppercase;color:#9e9a94;padding:4px 8px 0}
 .people-sheet .sheet-list{gap:4px;padding:0}
 .people-sheet .sheet-person{height:32px;min-height:32px;padding:3px 8px;gap:10px;border-radius:6px;color:inherit}
 .people-sheet .sheet-person .avatar{width:26px;height:26px;font-size:8.84px;font-weight:600}
 .people-sheet .sheet-person b{font-size:13px;font-weight:600;line-height:18px;letter-spacing:0}
 [data-theme=dark] .people-sheet{background:#232323;color:#e9e7e3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 -18px 90px rgba(0,0,0,.34)}
 [data-theme=dark] .people-sheet .sheet-close{color:#9c9893}
 [data-theme=dark] .people-sheet .sheet-label{color:#68655f}
 [data-theme=dark] .people-sheet .sheet-field input,[data-theme=dark] .rooms-sheet .sheet-field input{background:#1c1c1c;border-color:#242427;color:#e9e7e3}
 [data-theme=dark] .people-sheet .sheet-field input::placeholder{color:#7b7b7b}
 [data-theme=dark] .rooms-sheet .sheet-field input::placeholder{color:#d1d1d1}
 .rooms-sheet{padding:16px;border:0;border-radius:14px;background:#f7f7f7;color:#1d1c1a;gap:16px;font:13px/normal 'Open Sans';box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 -18px 94px rgba(0,0,0,.34);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
 .rooms-sheet:has(.rooms-empty){justify-content:center}
 .rooms-sheet:has(.rooms-empty) .sheet-list{flex:0 0 auto}
 .rooms-sheet .rooms-empty{padding:24px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:var(--ink)}
 .rooms-sheet .rooms-empty .rooms-empty-mark{display:flex;width:56px;height:56px;flex-shrink:0;align-items:center;justify-content:center;border-radius:18px;margin-bottom:6px;background:rgba(17,17,17,.08);box-shadow:inset 0 0 0 1px rgba(17,17,17,.14);color:#111}
 .rooms-sheet .rooms-empty .rooms-empty-mark svg{width:20px;height:20px}
 .rooms-sheet .rooms-empty>p{font-size:18px;font-weight:700;line-height:25px;margin:0;color:var(--ink)}
 .rooms-sheet .rooms-empty:after{content:"";display:block;height:19px;flex-shrink:0}
 [data-theme=dark] .rooms-sheet .rooms-empty .rooms-empty-mark{background:rgba(245,245,245,.08);box-shadow:inset 0 0 0 1px rgba(245,245,245,.14);color:#f5f5f5}
 .rooms-sheet .sheet-head{padding:0;min-height:28px;height:28px}
 .rooms-sheet .sheet-head h3{font-size:14px;line-height:20px;letter-spacing:0;color:inherit}
 .rooms-sheet .sheet-done{height:28px;min-height:28px;font-size:13px;line-height:16px;padding:6px 13px;margin:0;color:#6b6863;border-radius:7px}
 [data-theme=dark] .rooms-sheet{background:#212124;color:#e9e7e3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 -18px 94px rgba(0,0,0,.34)}
 [data-theme=dark] .rooms-sheet .sheet-done{color:#9c9893}
}
@media(min-width:761px) and (pointer:coarse){
 .people-sheet .sheet-person,.people-sheet .sheet-field input,.rooms-sheet .sheet-field input,.membership-sheet .sheet-button,.rooms-sheet .sheet-done{min-height:44px;height:44px}
 .people-sheet .sheet-close{min-width:44px;min-height:44px}
}
@media(min-width:761px){
 .room-detail:has(.room-tabs) .room-header{padding:12px 24px;min-height:60px}
 .room-detail:has(.room-tabs) .room-header .grow,.inbox-screen .room-header .grow{margin-left:46px}
 .room-detail:has(.room-tabs) .room-header p{font-size:12px}
 .room-header h1,.room-header p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(min-width:761px) and (prefers-reduced-transparency:reduce){
 .workspace-shell .composer{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
 [data-theme=dark] .workspace-shell .composer{background:#1e1e1e}
}
