/* Shared account appearance. Call and full-screen media viewers retain their dark canvas. */
.reaction-picker>button{padding:6px;min-width:0;flex:1;border-radius:50%;line-height:1.3}
.message-reactions>button{border-radius:999px;background:#ffffff12}
html[data-theme=light] .message-reactions>button{background:#00000008}
.secure-media a[download]{display:block;max-width:100%;overflow-wrap:anywhere;padding:8px 10px;border-radius:12px;background:#ffffff0a;text-decoration:none;color:inherit;font-size:14px}
.secure-media video{display:block;border-radius:12px;max-height:65vh}
.secure-status{opacity:.75;font-size:10px}
#secure-recovery-output{width:100%;font-family:monospace;overflow-wrap:anywhere;font-size:12px}
:root{--chat-paper:#172320;--chat-pattern:none;--chat-pattern-size:120px 120px}
.conversation #messages,.wallpaper-preview{background-color:var(--chat-paper);background-image:var(--chat-pattern);background-size:var(--chat-pattern-size);background-position:center}
.wallpaper-preview{display:flex;flex-direction:column;gap:12px;min-height:160px;padding:24px 16px;border-radius:18px;margin-top:16px}.wallpaper-preview .bubble{font-size:14px}
.wallpaper-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wallpaper-choices button{font-size:12px;padding:5px;background:transparent;color:inherit;border:2px solid transparent;border-radius:14px}.wallpaper-choices button[aria-pressed=true]{border-color:#20c466}.wallpaper-swatch{display:block;height:64px;border-radius:10px;margin-bottom:6px;background-color:#172320;background-image:radial-gradient(#84a18c50 1px,transparent 1px);background-size:10px 10px}.swatch-sage{background-color:#6d967c}.swatch-sand{background-color:#bda784}.swatch-plain{background:#29312d}.wallpaper-upload input{font-size:13px}#appearance-dialog .hint{padding:0}#appearance-status{font-size:13px}
html[data-theme=light]{color-scheme:light;--bg:#f6f8f7;--ink:#f6f8f7;--panel:#fff;--line:#dce2de;--muted:#5c6a62;--lime:#087f46}
html[data-theme=light] body{background:#f6f8f7;color:#17241e}
html[data-theme=light] :is(.app-shell,.sidebar,.conversation,#section-content,.auth,.settings-card){background:#fff;color:#17241e;border-color:#dce2de}
html[data-theme=light] .app-shell:not(.social-open)>.conversation{background:#f0f3f1}
html[data-theme=light] :is(.chat-head,.web-brand){background:#f6f8f7;color:#17241e;border-color:#dce2de}
html[data-theme=light] :is(input,textarea,select,.search input,#conversation-filter){background:#edf1ee;color:#17241e;border-color:#d2dbd5}
html[data-theme=light] :is(label,.person strong,.section-heading h2,.settings-card h2,.brand h2){color:#17241e}
html[data-theme=light] :is(.person small,.conversation>.empty p,.section-heading p,.settings-card p,.social-row small){color:#5c6a62}
html[data-theme=light] :is(.person,.social-row){color:#17241e;border-color:#e0e6e2;background:transparent}
html[data-theme=light] :is(.person:hover,.person.selected,.social-row:hover){background:#e8efea}
html[data-theme=light] :is(.secondary,.toolbar button,.settings-card button,.section-heading .section-icon.secondary){background:#e6ede8;color:#253b2c}
html[data-theme=light] .bubble{background:#fff;color:#17241e;box-shadow:0 1px 2px #10201814}
html[data-theme=light] .bubble.mine{background:#d7f6cc;color:#17241e}
html[data-theme=light] :is(.message-options,.reply-quote,#reply-preview){background:#183d2310;color:#283a2e}
html[data-theme=light] .reply-quote strong{color:#087f46}
html[data-theme=light] :is(dialog:not(#photo-viewer):not(#voice-call),.chat-overflow[open]>.chat-overflow-panel,.attachment-menu){background:#fffffff0;color:#17241e;border-color:#233d2b22;box-shadow:0 18px 60px #17342326}
html[data-theme=light] :is(.chat-overflow-panel button,.attachment-menu button,.tool-choices button){color:#17241e;background:transparent}
html[data-theme=light] :is(.tool-choices button:hover,.attachment-menu button:hover,.chat-overflow-panel button:hover){background:#183d2310}
html[data-theme=light] .danger,html[data-theme=light] .error{color:#a92339}
html[data-theme=light] .notice{background:#e9f4e5;border-color:#b7d4ad;color:#28422d}html[data-theme=light] .notice p{color:#28422d}
html[data-theme=light] .naber-dock{background:#edf3eec9;border-color:#233d2b22;color:#283a2e}
html[data-theme=light] .naber-dock button{color:#34483b;background:transparent}
html[data-theme=light] .naber-dock button[aria-current=page]{background:#cddcd2;color:#17241e}
html[data-theme=light] .compose{background:transparent;border-color:#dce2de}
html[data-theme=light] .compose :is(textarea,#photo,#emoji-toggle,#voice-record-open,#send){background:#f8fcf9aa;color:#253b2c;border-color:#233d2b22}
html[data-theme=light] .inline-voice{background:#e6ede8;color:#17241e}
html[data-theme=light] .avatar{background:#d6e6dc;color:#245b3c}
@media(min-width:701px){html[data-theme=light] .app-shell>.naber-dock{background:#e8eeea;border-color:#dce2de}html[data-theme=light] .app-shell>.sidebar{background:#fff}}
