/* Communication workspace: one destination, quiet controls, readable messages. */
:root{--ink:#173f36;--muted:#60786e;--line:#e0e9e4;--green:#175343;--soft:#eef6f1;--paper:#f3f6f3}
body{font-family:"Segoe UI",Arial,sans-serif}
.communication-header{height:68px;padding:0 max(20px,calc((100vw - 1280px)/2));gap:14px;flex-wrap:nowrap;background:#fff}
.communication-header .brand{gap:10px;order:0;flex:none}
.communication-header .brand img{width:32px;height:36px;object-fit:contain}
.communication-header .brand span{font:650 18px/1.2 "Segoe UI",sans-serif;letter-spacing:-.4px}
.communication-header .toplinks{order:2;gap:0;margin-left:auto}
.communication-header .chat-connection{order:1;border:0;background:transparent;margin:0;font-size:11px;padding:0;color:var(--muted)}
.communication-header .chat-connection:before{width:6px;height:6px}
.clean-icon,.icon,.round{min-width:44px;min-height:44px}
.clean-icon{border-radius:14px;color:var(--ink)}
.clean-icon svg,.round svg,.clean-menu-link svg,.clean-action svg,.clean-contact-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#status:not(:empty){position:fixed;z-index:15;top:76px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);max-height:120px;overflow:auto;padding:12px 18px;border:1px solid #edceac;border-radius:12px;box-shadow:0 6px 22px #18372f14;background:#fff6e9}
.workspace{grid-template-columns:300px minmax(0,1fr);height:calc(100dvh - 104px);min-height:0;margin:18px auto;max-width:1280px;border-radius:20px;box-shadow:0 12px 40px #16372f08}
.sidebar{background:#fff}.side-title{padding:24px 22px 16px}.side-title .eyebrow{color:#82978c;font-size:9px;letter-spacing:1.6px}.side-title h1{font:650 24px/1.3 "Segoe UI",sans-serif;letter-spacing:-.7px;margin:4px 0 0}
.round{width:44px;height:44px;display:grid;place-items:center;background:#edf5ef;color:var(--green);border:0;border-radius:15px}
.clean-contact-search{display:flex;align-items:center;gap:8px;background:#f4f7f4;margin:0 20px 4px;padding:0 12px;border:1px solid #edf1ed;border-radius:12px}
.clean-contact-search svg{width:17px;color:#7c9186}.clean-contact-search input{font-size:13px;padding:11px 0;border:0;background:transparent;min-width:0}
.section-label{margin:19px 22px 10px;font-size:9px;letter-spacing:1.2px}.contacts{padding:0 10px 18px}.contact{padding:14px 12px;border-radius:13px;margin-bottom:4px;gap:12px}.contact.active{background:#eaf3ee}.contact .avatar{background:#e7f0e9;border-radius:50%;width:42px;height:42px;font:600 16px "Segoe UI",sans-serif}.contact strong{font-size:14px}.contact small{font-size:11px}
.conversation{background:#f5f8f5}.thread-head{padding:14px 22px;background:#fff;min-height:78px;flex-shrink:0}.thread-head .avatar{width:42px;height:42px;border-radius:50%;font:600 17px "Segoe UI",sans-serif}.peer h2{font-size:15px;font-weight:650}.peer span{font-size:11px}.messages{padding:24px;background:radial-gradient(ellipse at 85% 10%,#eaf2e94f,transparent 70%),#f5f8f5;min-height:40px}
.message{font-size:14px;line-height:1.45;padding:7px 11px;border-color:#e7ece8;box-shadow:0 2px 3px #18372f03}.message.mine{background:#dfefe6;border-color:#dfefe6}.message time{color:#617b6b;font-size:10px}
.compose{position:relative;gap:9px;padding:14px 20px;align-items:flex-end;background:#fff;border-top:1px solid var(--line);flex-shrink:0}
.compose textarea{border:1px solid #e4ece6;border-radius:15px;background:#f5f8f5;font-size:14px;line-height:1.5;min-height:46px;max-height:120px}
.compose>#attachmentOpen{width:44px;min-width:44px;height:46px;padding:12px;align-self:flex-end;background:#f1f6f2;border-radius:14px}.send{height:46px;width:46px;border-radius:14px;display:grid;place-items:center}
.clean-attachment-tray{position:absolute;bottom:calc(100% + 8px);left:20px;z-index:8;display:grid;gap:4px;padding:7px;background:white;border:1px solid var(--line);box-shadow:0 10px 30px #15382c20;border-radius:15px;max-width:calc(100% - 40px)}
.clean-action-list{display:grid;gap:5px;padding:8px 16px 18px}.clean-action{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:auto;min-height:48px;padding:12px 14px;border-radius:11px;text-align:left;font-size:14px;background:transparent}.clean-action span{font-size:14px;white-space:normal}.clean-action#more{font-size:22px}
.receive-hint{font-size:11px;margin:0;padding:8px 20px;background:#fffaf0;max-height:76px;overflow:auto}.chat-draft-note{background:#fff;margin:0;padding:7px 20px;border-top:1px solid #eef2ef;font-size:10px}
.empty{background:radial-gradient(ellipse at 50% 30%,#e9f2e6,transparent 65%),#f8faf7}.empty-mark{width:70px;height:70px;font-size:36px;border-radius:26px}.empty h2{font-size:37px}.empty .eyebrow{font-size:9px;letter-spacing:1.5px}.empty p:not(.eyebrow){font-size:13px}
.clean-dialog{padding:0;width:380px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);border-radius:22px;overflow:auto;background:#fff;box-shadow:0 24px 100px #0b352d38}
#cleanMenu{margin:18px max(14px,calc((100vw - 1280px)/2)) auto auto}
.clean-dialog-head{position:sticky;top:0;background:white;z-index:1;height:auto;min-height:64px;padding:10px 14px 10px 22px;gap:12px}
.clean-dialog-head h2{font:650 18px/1.3 "Segoe UI",sans-serif;margin:0}.clean-menu-section{padding:16px 20px;border-bottom:1px solid #edf1ed}.clean-menu-section:last-child{border-bottom:0}.clean-menu-section h3{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#819487;margin:0 0 12px}
.clean-menu-section .identity{margin:0 0 8px;padding:0;border:0}.clean-menu-section .identity code{font:600 20px/1.4 Consolas,monospace;letter-spacing:2px;padding:12px 14px;background:#f0f6f1;color:#235b45}.clean-menu-section .identity .avatar{border-radius:50%}
.clean-menu-link,.clean-menu-section .service,.clean-menu-section .chat-tools button,.clean-menu-section .chat-tools a{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;height:auto;border:0;border-radius:10px;padding:11px 12px;text-align:left;color:var(--ink);background:transparent;font-size:13px;letter-spacing:0;text-decoration:none;line-height:1.45}
.clean-menu-link:hover,.clean-menu-section .service:hover,.clean-menu-section .chat-tools button:hover,.clean-menu-section .chat-tools a:hover{background:#f0f6f1}
.clean-menu-section .services,.clean-menu-section .chat-tools{display:grid;gap:3px;padding:0;margin:0;max-width:none;border:0;background:transparent}
.clean-menu-section .account-service{margin-left:0}.clean-menu-section .nearby-open{width:100%;margin:0 0 4px;padding:12px;border:0;border-radius:10px;background:transparent}.clean-menu-section .nearby-open small{font-size:10px}.clean-help-note{font-size:11px!important;line-height:1.75!important;color:#687f73!important;margin:12px 8px 0}.clean-help-note p{font-size:11px;line-height:1.65;margin:6px 0}
#modal{border-radius:20px}#modalContent h2{font:650 24px/1.3 "Segoe UI",sans-serif;letter-spacing:-.5px}.friend-code-form label{font-size:13px}.friend-code-form input{text-transform:uppercase;font:600 24px/1.4 Consolas,monospace;letter-spacing:3px}.friend-code-current{padding:12px 14px;background:#edf5f0;border-radius:11px;font-weight:600}.friend-code-actions{display:flex;gap:10px;flex-wrap:wrap}.friend-code-actions button{min-height:44px;flex:1;font-size:13px;white-space:nowrap}.friend-code-status:empty{display:none}.friend-code-status{font-size:13px;font-weight:600;color:#215b45}
.welcome{padding:65px 30px;gap:65px}.welcome h1{font-size:50px}.welcome p{color:#5b7466}.login-card{border-radius:24px}.feature-pills{margin:24px 0}
.mailspace{height:calc(100dvh - 104px);min-height:0;margin:18px auto;max-width:1280px;grid-template-columns:215px 305px minmax(0,1fr);border-radius:20px;overflow:hidden}
.mail-side{padding:24px 18px;background:#fafcf9}.mail-side .eyebrow{font-size:9px;letter-spacing:1.3px}.mail-side h1{font:650 23px/1.3 "Segoe UI",sans-serif;letter-spacing:-.5px}.new-mail{border-radius:12px;font-size:13px;min-height:44px}
.mail-address{font-size:12px}.mail-side nav{margin-top:15px}.mail-side .folder{border-radius:11px;min-height:44px}.mail-list-head{padding:20px 18px 8px}.mail-search{margin:0 18px 14px}.mail-search input{border-radius:11px}.mail-detail{padding:26px;background:#fff}.mail-detail label{font-size:13px}.mail-row>.icon{min-width:40px;min-height:44px}
@media(max-width:1320px) and (min-width:801px){.workspace,.mailspace{margin-left:18px;margin-right:18px}.workspace{grid-template-columns:280px minmax(0,1fr)}.mailspace{grid-template-columns:190px 265px minmax(0,1fr)}}
@media(max-width:800px){
 .communication-header{height:60px;padding:0 14px;gap:10px;flex-wrap:nowrap}.communication-header .brand span{font-size:17px}.communication-header .brand img{width:28px;height:34px}.communication-header .chat-connection{font-size:10px;max-width:112px;line-height:1.3}.communication-header .toplinks{flex-wrap:nowrap}
 .workspace{margin:0;height:calc(100dvh - 60px);min-height:0;grid-template-columns:1fr;border:0;border-radius:0;max-width:none}.workspace:not(.open) .conversation{display:none}.workspace.open .sidebar{display:none}.workspace.open .conversation{display:block}.sidebar{border:0}.mobile{display:grid}
 .side-title{padding:22px 20px 16px}.side-title h1{font-size:25px}.clean-contact-search{margin:0 20px 4px}.contacts{padding:0 10px 16px}.thread-head{padding:10px 12px;gap:8px;min-height:70px}.thread-head .avatar{width:38px;height:38px}.thread-head #back{min-width:36px;width:36px;padding:5px}.messages{padding:18px 14px}.message{max-width:88%;font-size:14px}.compose{padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:7px}.compose textarea{font-size:16px;resize:none}.receive-hint{padding:7px 15px}.chat-draft-note{padding:6px 15px}.clean-attachment-tray{left:12px;max-width:calc(100% - 24px)}
 #cleanMenu{margin:10px 10px auto auto;max-height:calc(100dvh - 20px)}.clean-menu-section{padding:15px 18px}.clean-dialog-head{padding-left:20px}
 .welcome{display:grid;grid-template-columns:1fr;gap:28px;padding:32px 20px;max-width:580px}.welcome h1{font-size:39px;margin:18px 0}.welcome .feature-pills{margin:18px 0}.login-card{padding:25px}.welcome-copy .fine{max-width:none}
 .mailspace{height:calc(100dvh - 60px);min-height:0;max-width:none;margin:0;border:0;border-radius:0;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 .mail-side{padding:15px 18px 8px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center}.mail-side>.eyebrow{display:none}.mail-side h1{grid-column:1;grid-row:1;font-size:21px;margin:0}.mail-side .mail-address{grid-column:1;grid-row:2;display:block;margin:5px 0;font-size:11px}.mail-side #copyAddress{grid-column:1;grid-row:3;padding:0;font-size:11px;justify-self:start}.new-mail{grid-column:2;grid-row:1 / span 3;width:auto;margin:0;padding:10px 13px;min-height:44px}.mail-side nav{grid-column:1 / -1;display:flex;overflow:auto;gap:2px;margin-top:13px}.mail-side .folder{padding:10px;font-size:12px;flex:1;white-space:nowrap}
 .mail-list-pane{min-height:0;border:0}.mail-list-head{padding:9px 18px 4px}.mail-list-head h2{font-size:14px}.mail-list-pane>.fine{padding:0 18px 10px}.mail-search{margin:0 18px 10px}.mail-search input{font-size:16px}.mail-list{min-height:0}.mail-row{padding-left:14px;padding-right:12px}
 .mail-detail{display:none;padding:20px;min-height:0}.mailspace.reading{display:block}.mailspace.reading .mail-side,.mailspace.reading .mail-list-pane{display:none}.mailspace.reading .mail-detail{display:block;height:100%;min-height:0}.mail-tools{margin-bottom:20px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.clean-menu-section .services{grid-template-columns:minmax(0,1fr);justify-content:stretch}.clean-menu-section .service{justify-content:flex-start}

@media(max-width:800px){body[data-service=chat] .workspace{height:calc(100dvh - 60px)}}

.clean-menu-section .service svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.account-security-section{padding:16px 0;border-bottom:1px solid var(--line)}.account-security-section:last-child{border-bottom:0}.account-security-section h3{font-size:14px;margin:0 0 8px}.account-security-section p{margin:8px 0}.account-address{overflow-wrap:anywhere;font-weight:600}.clean-menu-section .call-choice-onboarding{margin:10px 0 0;padding:12px;display:block}.clean-menu-section .call-choice-actions{flex-wrap:wrap}

.friend-code-status:not(:empty){border:1px solid #d3e5d9;background:#f0f7f2;padding:12px 14px;border-radius:10px;min-height:44px}
.friend-code-status[data-phase=error],.friend-code-status[data-phase=invalid],.friend-code-status[data-phase=taken]{background:#fff4e9;color:#813f22;border-color:#efd9c4}
.friend-code-form .text-button{min-height:40px}
.audio-output-dialog{width:440px;max-width:calc(100vw - 24px);padding:28px 22px;border-radius:20px}
.audio-output-dialog h2{font:650 23px/1.3 "Segoe UI",Arial,sans-serif}
.audio-output-dialog h3{font-size:14px;margin-top:20px}
.audio-device-list{display:grid;gap:8px;margin:15px 0}
.audio-device{text-align:left;min-height:46px;font-size:13px;overflow-wrap:anywhere}
.audio-device[aria-pressed=true]{border-color:#21634c;background:#edf6ef;font-weight:650}
.audio-device[aria-pressed=true]::before{content:'✓ ';color:#21634c}
.audio-support-note{padding:13px;background:#f0f5f0;border-radius:12px;color:#284f3b}
.audio-output-feedback:empty{display:none}
.audio-output-feedback{padding:12px;border-radius:10px;background:#fff4e9;color:#75401f}

/* Call screen layout (incoming, voice and video) lives in call-screen.css. */
.message[data-message-options]{-webkit-touch-callout:none}.message[data-message-options]:focus-visible{outline:2px solid var(--green);outline-offset:3px}.message.message-selected{box-shadow:0 0 0 2px #789e88}.message-options-hint{margin:0;padding:5px 14px;text-align:center;font-size:10px;color:#617b6b;background:#f5f8f5}.message-actions{display:grid;gap:6px;min-width:180px}.message-actions button{min-height:44px;padding:10px 14px;font-size:14px;text-align:left;background:#f3f7f4;border:1px solid #e4ece6;white-space:normal;overflow-wrap:anywhere}.message-actions button:hover{background:#e6efe8}.message-actions .danger{color:#8a2e21;background:#fcf0ed}.message-actions .danger:hover{background:#f8e3dc}@media(pointer:coarse){.message[data-message-options]{user-select:none;-webkit-user-select:none}}
.message[data-delivery=failed],.message[data-delivery=unconfirmed]{border:1px solid #c08c69}.message[data-delivery=queued]{border:1px dashed #9ab3a5}.message .delivery-error{font-size:11px;line-height:1.4;color:#783c24;margin:7px 0 0}.message[data-delivery=read] .receipt{color:#1a5c74}
.message time{display:flex;align-items:center;justify-content:flex-end;gap:5px}.message button.receipt{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:32px;padding:4px;margin:0;border:0;border-radius:8px;background:transparent;color:#5d7367;line-height:1;vertical-align:middle}.message button.receipt svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.message button.receipt[data-state=read]{color:#087cbe}.message button.receipt[data-state=failed]{color:#af392c}.message button.receipt:hover{background:#ffffff80}.message button.receipt:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.live-location-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;background:#fff4d9;color:#664c1d;font-size:12px}.live-location-banner button{min-height:40px;white-space:nowrap}.live-location-options{display:grid;gap:12px}.live-location-options button{min-height:48px;text-align:left}.live-location-options small{display:block;font-weight:normal;line-height:1.5}.live-location-meta{padding:5px 0;font-size:12px;color:#435f51}
.live-location-banner{max-width:1280px;margin:0 auto}.live-location-banner>span{overflow-wrap:anywhere}.sharing-live-location .workspace{height:calc(100dvh - 104px - var(--live-location-height,70px))}.live-location-options label{display:flex;align-items:flex-start;gap:9px}.live-location-options input[type=checkbox],#liveLocationConsent{width:20px;min-width:20px;height:20px;margin:3px 8px 3px 0;vertical-align:middle}
#localVideo[data-facing=environment]{transform:none}
@media(max-width:800px){.sharing-live-location .workspace,body[data-service=chat].sharing-live-location .workspace{height:calc(100dvh - 60px - var(--live-location-height,70px))}}
@media(max-width:550px){.live-location-banner{flex-wrap:wrap}}

.message button.receipt .receipt-brand{display:block;width:22px;height:22px;object-fit:contain;filter:grayscale(1)}.message button.receipt[data-state=read] .receipt-brand{filter:none}
.compose .send:not(:disabled):hover,.compose .send:not(:disabled):focus-visible{background:#28614e;color:#fff}.compose .send:not(:disabled):active{background:#123f32;color:#fff}.compose .send svg{stroke:currentColor}

.message-text-bubble{display:flex;flex-wrap:wrap;align-items:center;gap:2px 9px}.message-text-bubble>.message-text{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.message-text-bubble>time{flex:none;align-self:center;margin:0 0 0 auto;white-space:nowrap;line-height:1.2}.message-text-bubble>.delivery-error{flex-basis:100%;margin:3px 0 0}

/* ApoChat has its own indigo/ivory identity. Email keeps its existing theme.
   Scope colors only: compact bubbles, receipt logos and touch controls stay intact. */
body[data-service=chat]{--ink:#292743;--muted:#6b687d;--line:#e5e2ec;--green:#534ca4;--soft:#eeebf8;--paper:#f8f6f2;--gold:#8b6c3e;background:var(--paper);color:var(--ink);accent-color:#534ca4}
body[data-service=chat] .communication-header{background:#fffdfa;border-bottom-color:#e5e2ec;box-shadow:0 2px 12px #2d244504}
body[data-service=chat] .communication-header .brand span{color:#332e57;letter-spacing:-.45px}
body[data-service=chat] .communication-header .toplinks a[aria-current=page]{background:#eeebf8;color:#4b438f}
body[data-service=chat] .workspace{border-color:#e1ddeb;background:#fffdfa;box-shadow:0 16px 50px #3227480a,0 2px 8px #32274804}
body[data-service=chat] .sidebar{background:#fffdfa;border-right-color:#e5e2ec}
body[data-service=chat] .side-title .eyebrow,body[data-service=chat] .section-label{color:#81768f}
body[data-service=chat] .round{background:#eeeafa;color:#534ca4}
body[data-service=chat] .round:hover{background:#e3ddf6;color:#3d367f}
body[data-service=chat] .clean-contact-search{background:#f5f3f8;border-color:#eeebf2}
body[data-service=chat] .clean-contact-search svg{color:#868197}
body[data-service=chat] .contact:hover{background:#f3f0f9}
body[data-service=chat] .contact.active{background:#eee9f9;box-shadow:inset 3px 0 #8173bf}
body[data-service=chat] .avatar,body[data-service=chat] .contact .avatar{background:#e9e4f7;color:#534784}
body[data-service=chat] .avatar.clay{background:#f1e4d8;color:#815b44}
body[data-service=chat] .conversation{background:#f8f6f2}
body[data-service=chat] .thread-head{background:#fffdfa;border-color:#e5e2ec}
body[data-service=chat] .thread-head .actions .icon{color:#61577f}
body[data-service=chat] .thread-head .actions .icon:not(:disabled):hover{background:#eeebf8;color:#41377c}
body[data-service=chat] .messages{background:radial-gradient(ellipse at 90% 8%,#ece6fb80,transparent 64%),radial-gradient(ellipse at 5% 95%,#f3e9d944,transparent 62%),#f9f7f3}
body[data-service=chat] .message{background:#fffefd;border-color:#e9e4ed;color:#302b45;box-shadow:0 2px 5px #33264705}
body[data-service=chat] .message.mine{background:#e8e3f8;border-color:#e0d9f2;color:#352d53}
body[data-service=chat] .message time{color:#746c86}
body[data-service=chat] .message button.receipt{color:#746c86}
body[data-service=chat] .message button.receipt[data-state=failed]{color:#a43d3a}
body[data-service=chat] .message.message-selected{box-shadow:0 0 0 2px #9b8bbd}
body[data-service=chat] .message[data-delivery=queued]{border-color:#a99bbb}
body[data-service=chat] .message[data-delivery=failed],body[data-service=chat] .message[data-delivery=unconfirmed]{border-color:#c08c69}
body[data-service=chat] .message-options-hint{background:#f8f6f2;color:#81768c}
body[data-service=chat] .compose{background:#fffdfa;border-color:#e5e2ec}
body[data-service=chat] .compose textarea{background:#f5f3f9;border-color:#e6e1ef;color:#302b45}
body[data-service=chat] .compose textarea::placeholder{color:#888094;opacity:1}
body[data-service=chat] .compose>#attachmentOpen{background:#f0ecf8;color:#62518c}
body[data-service=chat] .compose .send{background:#534ca4;color:#fff;box-shadow:0 3px 10px #534ca421}
body[data-service=chat] .compose .send:not(:disabled):hover,body[data-service=chat] .compose .send:not(:disabled):focus-visible{background:#443b91;color:#fff;box-shadow:0 4px 12px #443b912b}
body[data-service=chat] .compose .send:not(:disabled):active{background:#352c76;color:#fff}
body[data-service=chat] .compose .send svg{stroke:#fff}
body[data-service=chat] .primary{background:#534ca4;border-color:#534ca4;color:#fff}
body[data-service=chat] .primary:not(:disabled):hover,body[data-service=chat] .primary:not(:disabled):focus-visible{background:#443b91;border-color:#443b91;color:#fff}
body[data-service=chat] .empty{background:radial-gradient(ellipse at 50% 28%,#eae4f780,transparent 66%),#faf8f4}
body[data-service=chat] .empty-mark{color:#8b6c3e;background:#fffaf0;border-color:#dfd1b7;outline-color:#eee5d4}
body[data-service=chat] .empty h2{color:#3c335d}
body[data-service=chat] .chat-draft-note{background:#fffdfa;border-color:#ece8f1;color:#797087}
body[data-service=chat] .clean-dialog,body[data-service=chat] #modal{background:#fffdfa;box-shadow:0 24px 90px #29204429}
body[data-service=chat] .clean-dialog-head{background:#fffdfa}
body[data-service=chat] dialog::backdrop{background:#241d3f65}
body[data-service=chat] dialog p,body[data-service=chat] dialog li{color:#6b617b}
body[data-service=chat] .clean-menu-section{border-color:#ebe6f0}
body[data-service=chat] .clean-menu-section h3{color:#8a7b99}
body[data-service=chat] .clean-menu-section .identity code{background:#f0ebf9;color:#584783}
body[data-service=chat] .clean-menu-link:hover,body[data-service=chat] .clean-menu-section .service:hover,body[data-service=chat] .clean-menu-section .chat-tools button:hover,body[data-service=chat] .clean-menu-section .chat-tools a:hover{background:#f0ecf8}
body[data-service=chat] .clean-help-note{color:#786e83!important}
body[data-service=chat] .text-button{color:#746286}
body[data-service=chat] .friend-code-current,body[data-service=chat] .friend-code-status:not(:empty){background:#f1ecf9;border-color:#ded5ed;color:#58457e}
body[data-service=chat] .friend-code-status[data-phase=error],body[data-service=chat] .friend-code-status[data-phase=invalid],body[data-service=chat] .friend-code-status[data-phase=taken]{background:#fff4e9;color:#813f22;border-color:#efd9c4}
body[data-service=chat] .message-actions button{background:#f4f0fa;border-color:#e8e0f1;color:#514268}
body[data-service=chat] .message-actions button:hover{background:#eae2f5}
body[data-service=chat] .message-actions .danger{color:#8a2e21;background:#fcf0ed}
body[data-service=chat] .message-actions .danger:hover{background:#f8e3dc}
body[data-service=chat] .welcome p{color:#6e657b}
body[data-service=chat] .welcome h1{color:#342b51}
body[data-service=chat] .welcome h1 em{color:#8b6c3e}
body[data-service=chat] .login-card{border-color:#e6dfed;background:#fffdfa;box-shadow:0 20px 60px #38265308}
body[data-service=chat] .login-card a{color:#66529b}
body[data-service=chat] input,body[data-service=chat] textarea,body[data-service=chat] select{border-color:#ddd5e6}
body[data-service=chat] input[type=checkbox]{accent-color:#534ca4}
body[data-service=chat] .feature-pills span{border-color:#ddd2e8;color:#716080}
body[data-service=chat] .audio-device[aria-pressed=true]{border-color:#8c77b7;background:#f1ebf9}
body[data-service=chat] .audio-device[aria-pressed=true]::before{color:#66509a}
body[data-service=chat] .audio-support-note{background:#f2edf8;color:#625174}
body[data-service=chat] .live-location-meta{color:#6d5a7d}
body[data-service=chat] :is(button,a,input,textarea,select):focus-visible{outline-color:#9c773d}
@media(max-width:800px){body[data-service=chat] .workspace{box-shadow:none}body[data-service=chat] .communication-header{box-shadow:0 2px 12px #2d244507}}
