.appearance-settings{padding:14px 0;margin:0 0 16px;border-bottom:1px solid var(--line,#c9d2c3)}.appearance-settings>strong{font-size:13px;display:block;margin-bottom:9px}.theme-choices{display:flex;gap:5px}.theme-choices button{flex:1;padding:9px 5px;font-size:11px;border-radius:9px;background:#dce5d4;color:#435c45;border:1px solid transparent}.theme-choices button[aria-pressed=true]{background:#49614e;color:#fff;border-color:#49614e}.appearance-settings>small{display:block;margin-top:9px;font-size:11px;line-height:1.5;color:var(--muted,#657461)}.chat-header .header-actions button{display:inline-flex;align-items:center;justify-content:center}.action-symbol{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
html[data-theme=dark]{color-scheme:dark;--ink:#e3eadf;--muted:#a1b59e;--line:#3b4d3e;--cream:#202c25;--green:#8fad88;color:#e3eadf;background:#18211c}
html[data-theme=dark] body{color:#e3eadf;background:radial-gradient(ellipse at 10% 5%,#2c4134 0,transparent 50%),radial-gradient(ellipse at 95% 95%,#3a322b 0,transparent 50%),#18211c}
html[data-theme=dark] .sidebar,html[data-theme=dark] .card,html[data-theme=dark] dialog:not(.call-dialog),html[data-theme=dark] .tools-panel{background:#243229;color:#e3eadf;border-color:#3a4b3b}
html[data-theme=dark] .chat-panel{background:#1e2922;border-color:#3a4b3b}html[data-theme=dark] .chat-header,html[data-theme=dark] #compose{background:#26382b;border-color:#3a4b3b}html[data-theme=dark] #messages{background:radial-gradient(ellipse at 5% 100%,#293d2b77,transparent 45%),#1e2b23;scrollbar-color:#50694b transparent}
html[data-theme=dark] .message{background:#2c3b2e;border-color:#435640;color:#e3eadf}html[data-theme=dark] .message.own{background:#3b5137;border-color:#536e49}html[data-theme=dark] .message .body,html[data-theme=dark] .wordmark,html[data-theme=dark] .chat-heading{color:#e3eadf}
html[data-theme=dark] .meta,html[data-theme=dark] .message.own .meta,html[data-theme=dark] .muted,html[data-theme=dark] .section-heading,html[data-theme=dark] .brand-caption,html[data-theme=dark] .card-description,html[data-theme=dark] .login-note,html[data-theme=dark] .attachment-expired,html[data-theme=dark] .appearance-settings>small{color:#acc0a5}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] #compose textarea{background:#1d2b22;border-color:#52664b;color:#e3eadf}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#99ac92}
html[data-theme=dark] .light-button,html[data-theme=dark] .room-item,html[data-theme=dark] .icon-button,html[data-theme=dark] .chat-header .header-actions button,html[data-theme=dark] #recordVoice,html[data-theme=dark] .chat-tools button,html[data-theme=dark] .panel-tabs button{color:#c0d7b6}html[data-theme=dark] .room-item.active,html[data-theme=dark] .panel-tabs .active{background:#405737;color:#edf4e8}
html[data-theme=dark] .light-button,html[data-theme=dark] .theme-choices button,html[data-theme=dark] .message>.message-more,html[data-theme=dark] .audio-speed,html[data-theme=dark] .history-navigation button{background:#364a31;color:#d2e6c7}html[data-theme=dark] .theme-choices button[aria-pressed=true]{background:#91ae7e;color:#142110;border-color:#b7d0a6}
html[data-theme=dark] .poll-card>button,html[data-theme=dark] #mentionSuggestions button,html[data-theme=dark] .reactions button,html[data-theme=dark] .reply-quote{background:#3d5234;color:#dcecd3}html[data-theme=dark] .poll-card>button.voted,html[data-theme=dark] .reactions .mine{background:#5a754b}html[data-theme=dark] .poll-card small{color:#b3c8a7}html[data-theme=dark] #voiceBar,html[data-theme=dark] #mentionSuggestions{background:#2c3e2a}
html[data-theme=dark] .tools-heading,html[data-theme=dark] .chat-tools,html[data-theme=dark] .gallery-item,html[data-theme=dark] .sidebar footer,html[data-theme=dark] .appearance-settings{border-color:#42563c}html[data-theme=dark] .chat-header .header-actions button:hover,html[data-theme=dark] .chat-tools button:hover{background:#3b5134}
html[data-theme=dark] a,html[data-theme=dark] .help-link,html[data-theme=dark] .subtle{color:#bdd6ab}html[data-theme=dark] .menu-action,html[data-theme=dark] .push-prompt{background:#2b3d29;color:#e3eadf}html[data-theme=dark] .menu-action:hover{background:#3b5433}html[data-theme=dark] .menu-action.danger{color:#f3a9a1}html[data-theme=dark] .read-receipt.read{color:#b4d9b5}html[data-theme=dark] .welcome{color:#adc39f}html[data-theme=dark] .intro h1{color:#e3eadf}html[data-theme=dark] .intro p{color:#bfd0b5}
@media(max-width:900px){.theme-choices button{min-height:42px;font-size:12px}.action-symbol{width:21px;height:21px}}
html[data-theme=dark] .avatar-crop-fields{background:#2c3e2a;border-color:#52664b;color:#e3eadf}html[data-theme=dark] .profile-photo-status{color:#b5cba9}html[data-theme=dark] .profile-photo-header>.avatar{background:#405737;border-color:#627859}html[data-theme=dark] #avatarCrop{border-color:#627859}html[data-theme=dark] .auth-tabs{background:#1b2920}html[data-theme=dark] .auth-tabs button{color:#b9ceb0}html[data-theme=dark] .auth-tabs button.active{background:#425d38;color:#f1f5ed}html[data-theme=dark] #registrationLoginHint{color:#acc0a5}html[data-theme=dark] #authError{background:#4a302c;color:#ffd3c8}
html[data-theme=dark] #send,html[data-theme=dark] .wide{background:#9fbc8e;color:#172611}html[data-theme=dark] .sidebar #contactsButton,html[data-theme=dark] .sidebar #pushButton,html[data-theme=dark] .sidebar #joinRoom,html[data-theme=dark] .room-filters button{color:#c2d7b8}html[data-theme=dark] .room-filters button.active{background:#4b673f;color:#f0f6eb}html[data-theme=dark] .tools-panel dialog>p{color:#b8cbb0}
