﻿@import url("./base.css");
@import url("./sections/accounts-panel.css");
@import url("./sections/direct-inbox.css");
@import url("./sections/join-chats.css");
@import url("./sections/spammer.css");
@import url("./sections/settings.css");

.toggle-chip input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 18px;
    margin: 0;
    border: 1px solid rgba(195, 207, 201, 0.42);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(230, 235, 242, 0.98), rgba(166, 176, 188, 0.92));
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.toggle-chip input[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #f7f9ff;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transform: translateY(-50%);
    transition: transform 160ms ease, background 160ms ease;
}

.toggle-chip input[type="checkbox"]:checked {
    border-color: rgba(86, 246, 176, 0.52);
    background:
        linear-gradient(180deg, rgba(54, 222, 152, 0.98), rgba(15, 133, 86, 0.96));
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.22),
        0 0 16px rgba(52, 220, 145, 0.22);
}

.toggle-chip input[type="checkbox"]:checked::before {
    background: #effff7;
    transform: translate(16px, -50%);
}

.toggle-chip input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(93, 255, 183, 0.52);
    outline-offset: 3px;
}

.toggle-chip input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

#section-join-chats .toggle-chip input[type="checkbox"],
#section-spammer .toggle-chip input[type="checkbox"],
#section-settings .toggle-chip input[type="checkbox"] {
    flex: 0 0 34px;
    width: 34px;
    height: 18px;
    margin: 0;
}

.login-page {
    min-height: 100vh;
    margin: 0;
    color: #eafff5;
    background:
        radial-gradient(circle at 18% 14%, rgba(34, 197, 132, 0.18), transparent 34%),
        linear-gradient(145deg, #06140f 0%, #0c2118 48%, #06100d 100%);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 390px);
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(74, 236, 165, 0.32);
    border-radius: 12px;
    background: rgba(8, 29, 21, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #082017;
    background: linear-gradient(135deg, #77ffc1, #1db879);
    font-weight: 900;
}

.login-brand p {
    margin: 0 0 4px;
    color: #72e9b7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.login-brand h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
}

.login-field {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #cff7e5;
}

.login-field input {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid rgba(115, 221, 171, 0.28);
    border-radius: 8px;
    padding: 0 13px;
    color: #f4fff9;
    background: rgba(5, 18, 14, 0.88);
    outline: none;
}

.login-field input:focus {
    border-color: rgba(104, 255, 187, 0.7);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.login-submit {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    color: #062016;
    background: linear-gradient(135deg, #7dffc4, #22c983);
    font-weight: 900;
    cursor: pointer;
}

.login-error {
    padding: 10px 12px;
    border: 1px solid rgba(255, 107, 107, 0.36);
    border-radius: 8px;
    color: #ffdede;
    background: rgba(122, 30, 30, 0.22);
    font-size: 13px;
    font-weight: 800;
}

.sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 12px 0 0;
    border: 1px solid rgba(110, 231, 183, 0.24);
    border-radius: 8px;
    color: #c9f6e3;
    background: rgba(8, 35, 25, 0.64);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.sidebar-logout:hover {
    border-color: rgba(110, 231, 183, 0.44);
    color: #ffffff;
}

/* Theme polish layer. Green stays the default; black/white neutralize green-heavy section styles. */
body[data-theme="black"] {
    --accent: #f4f4f5;
    --accent-strong: #b8b8bd;
    --accent-soft: rgba(255, 255, 255, 0.12);
    --success: #d9d9de;
    --panel-border: rgba(255, 255, 255, 0.12);
    --field: #0f0f10;
    --field-focus: #171719;
    color: #f5f5f5;
}

body[data-theme="white"] {
    --accent: #111111;
    --accent-strong: #000000;
    --accent-soft: rgba(0, 0, 0, 0.08);
    --success: #111111;
    --panel-border: rgba(0, 0, 0, 0.12);
    --field: #ffffff;
    --field-focus: #ffffff;
    color: #111111;
}

body[data-theme="black"] .glass-card,
body[data-theme="black"] .modal-card,
body[data-theme="black"] .sidebar-shell,
body[data-theme="black"] .accounts-browser-action-menu,
body[data-theme="black"] .inbox-thread-menu,
body[data-theme="black"] .inbox-message-menu {
    background:
        linear-gradient(180deg, rgba(18, 18, 19, 0.98), rgba(5, 5, 6, 0.98));
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
}

body[data-theme="white"] .glass-card,
body[data-theme="white"] .modal-card,
body[data-theme="white"] .sidebar-shell,
body[data-theme="white"] .accounts-browser-action-menu,
body[data-theme="white"] .inbox-thread-menu,
body[data-theme="white"] .inbox-message-menu {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 246, 0.98));
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.12);
}

body[data-theme="black"] .glass-card::before,
body[data-theme="black"] .sidebar-shell::before,
body[data-theme="black"] .sidebar-shell::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%);
}

body[data-theme="white"] .glass-card::before,
body[data-theme="white"] .sidebar-shell::before,
body[data-theme="white"] .sidebar-shell::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.025), transparent 42%);
}

body[data-theme="black"] .eyebrow,
body[data-theme="black"] .sidebar-panel-label,
body[data-theme="black"] .login-brand p {
    color: #d7d7dc;
}

body[data-theme="white"] .eyebrow,
body[data-theme="white"] .sidebar-panel-label,
body[data-theme="white"] .login-brand p {
    color: #111111;
}

body[data-theme="black"] .btn-primary,
body[data-theme="black"] .accounts-browser-action-success,
body[data-theme="black"] .login-submit {
    color: #050505;
    background: linear-gradient(135deg, #ffffff, #b7b7bd);
}

body[data-theme="white"] .btn-primary,
body[data-theme="white"] .accounts-browser-action-success,
body[data-theme="white"] .login-submit {
    color: #ffffff;
    background: linear-gradient(135deg, #181818, #000000);
}

body[data-theme="black"] .btn-secondary,
body[data-theme="black"] .accounts-browser-action,
body[data-theme="black"] .accounts-browser-mini-btn,
body[data-theme="black"] .accounts-browser-icon-btn,
body[data-theme="black"] .accounts-browser-table-action-btn {
    color: #f4f4f5;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.13);
}

body[data-theme="white"] .btn-secondary,
body[data-theme="white"] .accounts-browser-action,
body[data-theme="white"] .accounts-browser-mini-btn,
body[data-theme="white"] .accounts-browser-icon-btn,
body[data-theme="white"] .accounts-browser-table-action-btn {
    color: #111111;
    background: rgba(0, 0, 0, 0.035);
    border-color: rgba(0, 0, 0, 0.14);
}

body[data-theme="black"] input,
body[data-theme="black"] textarea,
body[data-theme="black"] select,
body[data-theme="black"] .settings-depth-stepper,
body[data-theme="black"] .inbox-composer-shell,
body[data-theme="black"] .inbox-composer textarea {
    color: #f5f5f5;
    background: #0f0f10;
    border-color: rgba(255, 255, 255, 0.13);
}

body[data-theme="white"] input,
body[data-theme="white"] textarea,
body[data-theme="white"] select,
body[data-theme="white"] .settings-depth-stepper,
body[data-theme="white"] .inbox-composer-shell,
body[data-theme="white"] .inbox-composer textarea {
    color: #111111;
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
}

body[data-theme="black"] input:focus,
body[data-theme="black"] textarea:focus,
body[data-theme="black"] select:focus,
body[data-theme="black"] .settings-depth-stepper:focus-within {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

body[data-theme="white"] input:focus,
body[data-theme="white"] textarea:focus,
body[data-theme="white"] select:focus,
body[data-theme="white"] .settings-depth-stepper:focus-within {
    border-color: rgba(0, 0, 0, 0.34);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

body[data-theme="black"] .status-pill.success,
body[data-theme="black"] .status-pill.status-premium,
body[data-theme="black"] .section-tab-badge,
body[data-theme="black"] .mobile-bottom-badge,
body[data-theme="black"] .inbox-unread-pill,
body[data-theme="black"] .count-badge {
    color: #050505;
    background: #f0f0f2;
    border-color: rgba(255, 255, 255, 0.18);
}

body[data-theme="white"] .status-pill.success,
body[data-theme="white"] .status-pill.status-premium,
body[data-theme="white"] .section-tab-badge,
body[data-theme="white"] .mobile-bottom-badge,
body[data-theme="white"] .inbox-unread-pill,
body[data-theme="white"] .count-badge {
    color: #ffffff;
    background: #111111;
    border-color: rgba(0, 0, 0, 0.18);
}

body[data-theme="black"] .status-pill.muted,
body[data-theme="black"] .helper-text,
body[data-theme="black"] .section-tab-copy small,
body[data-theme="black"] .inbox-chat-meta,
body[data-theme="black"] .inbox-chat-preview,
body[data-theme="black"] .accounts-browser-phone-cell,
body[data-theme="black"] .accounts-browser-identity-copy span {
    color: #a8a8ad;
}

body[data-theme="white"] .status-pill.muted,
body[data-theme="white"] .helper-text,
body[data-theme="white"] .section-tab-copy small,
body[data-theme="white"] .inbox-chat-meta,
body[data-theme="white"] .inbox-chat-preview,
body[data-theme="white"] .accounts-browser-phone-cell,
body[data-theme="white"] .accounts-browser-identity-copy span {
    color: #5f6b64;
}

body[data-theme="black"] .section-tab.is-active,
body[data-theme="black"] .mobile-bottom-tab.is-active,
body[data-theme="black"] .accounts-command-row.is-selected,
body[data-theme="black"] .accounts-command-row.is-bulk-selected,
body[data-theme="black"] .inbox-chat-item.active,
body[data-theme="black"] .mobile-scale-btn.is-active,
body[data-theme="black"] .app-theme-btn.is-active {
    background: rgba(255, 255, 255, 0.105);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

body[data-theme="white"] .section-tab.is-active,
body[data-theme="white"] .mobile-bottom-tab.is-active,
body[data-theme="white"] .accounts-command-row.is-selected,
body[data-theme="white"] .accounts-command-row.is-bulk-selected,
body[data-theme="white"] .inbox-chat-item.active,
body[data-theme="white"] .mobile-scale-btn.is-active,
body[data-theme="white"] .app-theme-btn.is-active {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.035);
}

body[data-theme="black"] .inbox-message.out .inbox-message-bubble,
body[data-theme="black"] .inbox-message-bubble.is-pending {
    color: #050505;
    background: linear-gradient(180deg, #f2f2f4, #c9c9cf);
}

body[data-theme="white"] .inbox-message.out .inbox-message-bubble,
body[data-theme="white"] .inbox-message-bubble.is-pending {
    color: #ffffff;
    background: linear-gradient(180deg, #242424, #050505);
}

body[data-theme="black"] .inbox-message.in .inbox-message-bubble {
    background: #181819;
    border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="white"] .inbox-message.in .inbox-message-bubble {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #111111;
}

body[data-theme="black"] .inbox-settings-toggle {
    color: #f4f4f5;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

body[data-theme="white"] .inbox-settings-toggle {
    color: #111111;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
}

body[data-theme="black"] .inbox-settings-toggle input:checked,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked {
    background: #f1f1f1;
    border-color: #f1f1f1;
}

body[data-theme="black"] .inbox-settings-toggle input:checked::before,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked::before {
    background: #050505;
}

body[data-theme="white"] .inbox-settings-toggle input:checked,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked {
    background: #111111;
    border-color: #111111;
}

body[data-theme="white"] .inbox-settings-toggle input:checked::before,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked::before {
    background: #ffffff;
}

body[data-theme="black"] .app-theme-btn,
body[data-theme="black"] .mobile-scale-btn {
    background: #111112;
    color: #f4f4f5;
    border-color: rgba(255, 255, 255, 0.13);
}

body[data-theme="white"] .app-theme-btn,
body[data-theme="white"] .mobile-scale-btn {
    background: #ffffff;
    color: #111111;
    border-color: rgba(0, 0, 0, 0.14);
}

/* White theme final polish: neutral panels, black accents, readable text. */
body[data-theme="white"] {
    --bg: #f6f7f6;
    --bg-soft: #eef0ef;
    --panel: rgba(255, 255, 255, 0.98);
    --panel-strong: #ffffff;
    --panel-border: rgba(0, 0, 0, 0.13);
    --field: #ffffff;
    --field-focus: #ffffff;
    --text: #111111;
    --muted: #505852;
    --accent: #111111;
    --accent-strong: #000000;
    --accent-soft: rgba(0, 0, 0, 0.08);
    --success: #111111;
    --warning: #9a6500;
    --danger: #b4232a;
    --scrollbar-track: rgba(236, 238, 237, 0.96);
    --scrollbar-track-border: rgba(0, 0, 0, 0.08);
    --scrollbar-thumb: linear-gradient(180deg, rgba(76, 76, 76, 0.72), rgba(16, 16, 16, 0.82));
    --scrollbar-thumb-hover: linear-gradient(180deg, rgba(40, 40, 40, 0.86), rgba(0, 0, 0, 0.92));
}

body[data-theme="white"],
body[data-theme="white"] .app-shell {
    color: #111111;
}

body[data-theme="white"] .glass-card,
body[data-theme="white"] .modal-card,
body[data-theme="white"] .sidebar-shell,
body[data-theme="white"] .brand-card,
body[data-theme="white"] .settings-hero-card,
body[data-theme="white"] .settings-overview-card,
body[data-theme="white"] .settings-rules-card,
body[data-theme="white"] .settings-preview-card,
body[data-theme="white"] .mobile-scale-card,
body[data-theme="white"] .web-app-card,
body[data-theme="white"] .log-card,
body[data-theme="white"] .accounts-panel-summary-grid,
body[data-theme="white"] .accounts-panel-summary-card,
body[data-theme="white"] .accounts-browser-strip,
body[data-theme="white"] .accounts-command-list-card.accounts-browser-card,
body[data-theme="white"] .accounts-browser-table-wrap.accounts-command-table-wrap,
body[data-theme="white"] .accounts-browser-action-menu,
body[data-theme="white"] .inbox-sidebar-card,
body[data-theme="white"] .inbox-thread-card,
body[data-theme="white"] .inbox-message-list,
body[data-theme="white"] .inbox-settings-modal-card,
body[data-theme="white"] .join-hero-card,
body[data-theme="white"] .join-hero-stat,
body[data-theme="white"] .join-settings-modal-card,
body[data-theme="white"] .join-settings-cluster,
body[data-theme="white"] .join-setting-row,
body[data-theme="white"] .account-picker-launch-card,
body[data-theme="white"] .account-picker-modal-card,
body[data-theme="white"] .spammer-hero-card,
body[data-theme="white"] .spammer-hero-stat,
body[data-theme="white"] .spammer-control-card,
body[data-theme="white"] .spammer-preview-card,
body[data-theme="white"] .spammer-senders-card,
body[data-theme="white"] .spammer-table-card,
body[data-theme="white"] .spammer-cluster,
body[data-theme="white"] .spammer-runtime-card,
body[data-theme="white"] .spammer-preview-metric,
body[data-theme="white"] .spammer-preview-pane,
body[data-theme="white"] .spammer-editor-pane,
body[data-theme="white"] .spam-settings-modal-card,
body[data-theme="white"] .target-list,
body[data-theme="white"] .settings-depth-box,
body[data-theme="white"] .web-app-hint-box,
body[data-theme="white"] .activity-log {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .glass-card::before,
body[data-theme="white"] .glass-card::after,
body[data-theme="white"] .sidebar-shell::before,
body[data-theme="white"] .sidebar-shell::after,
body[data-theme="white"] .brand-card::before,
body[data-theme="white"] .brand-card::after,
body[data-theme="white"] .accounts-panel-summary-card::before,
body[data-theme="white"] .spammer-hero-card::after {
    opacity: 0 !important;
}

body[data-theme="white"] .sidebar-nav-panel,
body[data-theme="white"] .chip-list,
body[data-theme="white"] .inbox-thread-head {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab,
body[data-theme="white"] .sidebar-metric-tile,
body[data-theme="white"] .section-tab,
body[data-theme="white"] .account-chip,
body[data-theme="white"] .inbox-chat-item,
body[data-theme="white"] .toggle-chip,
body[data-theme="white"] .inbox-settings-toggle,
body[data-theme="white"] .accounts-browser-show-select,
body[data-theme="white"] .spammer-preview-phone,
body[data-theme="white"] .spammer-preview-bubble,
body[data-theme="white"] .spammer-preview-image-name,
body[data-theme="white"] .spammer-runtime-note,
body[data-theme="white"] .inbox-thread-menu,
body[data-theme="white"] .inbox-message-menu,
body[data-theme="white"] .inbox-message-menu-preview {
    background: #f6f6f6 !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab:hover,
body[data-theme="white"] .section-tab:hover,
body[data-theme="white"] .account-chip:hover,
body[data-theme="white"] .inbox-chat-item:hover,
body[data-theme="white"] .accounts-command-row:not(.is-disabled):hover,
body[data-theme="white"] .accounts-command-row:not(.is-disabled):focus-visible {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="white"] .section-tab.is-active,
body[data-theme="white"] .mobile-bottom-tab.is-active,
body[data-theme="white"] .inbox-chat-item.active,
body[data-theme="white"] .app-theme-btn.is-active,
body[data-theme="white"] .mobile-scale-btn.is-active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon,
body[data-theme="white"] .section-tab.is-active .section-tab-icon,
body[data-theme="white"] .mobile-bottom-tab.is-active i,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-avatar {
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #111111 !important;
}

body[data-theme="white"] .section-tab-icon,
body[data-theme="white"] .sidebar-logo-mark,
body[data-theme="white"] .inbox-thread-avatar,
body[data-theme="white"] .inbox-chat-avatar,
body[data-theme="white"] .inbox-message-avatar,
body[data-theme="white"] .accounts-browser-avatar {
    background: #e8e8e8 !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-logo-mark i {
    color: #111111 !important;
    filter: none !important;
}

body[data-theme="white"] .sidebar-online-pill,
body[data-theme="white"] .status-pill,
body[data-theme="white"] .section-tab-badge,
body[data-theme="white"] .mobile-bottom-badge,
body[data-theme="white"] .count-badge,
body[data-theme="white"] .inbox-unread-pill,
body[data-theme="white"] .accounts-browser-unread-pill,
body[data-theme="white"] .accounts-browser-twofa-badge,
body[data-theme="white"] .accounts-browser-geo-badge,
body[data-theme="white"] .log-badge,
body[data-theme="white"] .app-theme-badge,
body[data-theme="white"] .inbox-sync-badge {
    background: #f1f1f1 !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .btn-primary,
body[data-theme="white"] .login-submit,
body[data-theme="white"] .accounts-browser-action-success,
body[data-theme="white"] .account-picker-launch-btn,
body[data-theme="white"] .join-picker-actions .account-picker-launch-btn,
body[data-theme="white"] .spammer-picker-actions .account-picker-launch-btn,
body[data-theme="white"] #inboxSendBtn,
body[data-theme="white"] #startJoinBtn,
body[data-theme="white"] #startSpamBtn,
body[data-theme="white"] #saveJoinSettingsBtn,
body[data-theme="white"] #saveSpamSettingsBtn {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body[data-theme="white"] .btn-secondary,
body[data-theme="white"] .accounts-browser-action,
body[data-theme="white"] .accounts-browser-mini-btn,
body[data-theme="white"] .accounts-browser-icon-btn,
body[data-theme="white"] .accounts-browser-table-action-btn,
body[data-theme="white"] .account-picker-settings-btn,
body[data-theme="white"] .inbox-settings-btn,
body[data-theme="white"] .inbox-add-chat-btn,
body[data-theme="white"] .inbox-thread-menu-btn,
body[data-theme="white"] .modal-close,
body[data-theme="white"] .modal-close-btn,
body[data-theme="white"] .account-picker-modal-close,
body[data-theme="white"] .account-import-modal-close,
body[data-theme="white"] .accounts-action-modal-close,
body[data-theme="white"] .spammer-toolbar-btn,
body[data-theme="white"] .spammer-toolbar-settings,
body[data-theme="white"] .settings-depth-arrow {
    background: #f7f7f7 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] input,
body[data-theme="white"] textarea,
body[data-theme="white"] select,
body[data-theme="white"] .settings-depth-stepper,
body[data-theme="white"] .inbox-composer-shell,
body[data-theme="white"] .inbox-composer textarea,
body[data-theme="white"] #section-spammer .spammer-editor-pane textarea#spamMessageText {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] input::placeholder,
body[data-theme="white"] textarea::placeholder {
    color: #777777 !important;
}

body[data-theme="white"] .eyebrow,
body[data-theme="white"] .sidebar-panel-label,
body[data-theme="white"] .helper-text,
body[data-theme="white"] .panel-note,
body[data-theme="white"] .settings-hero-text,
body[data-theme="white"] .settings-overview-card > span,
body[data-theme="white"] .settings-overview-card > small,
body[data-theme="white"] .settings-depth-copy .helper-text,
body[data-theme="white"] .join-settings-cluster-meta,
body[data-theme="white"] .spammer-cluster-meta,
body[data-theme="white"] .spammer-runtime-note,
body[data-theme="white"] .spammer-side-note,
body[data-theme="white"] .spammer-preview-empty,
body[data-theme="white"] .inbox-empty,
body[data-theme="white"] .inbox-side-head .panel-note,
body[data-theme="white"] .inbox-thread-subline,
body[data-theme="white"] .inbox-chat-meta,
body[data-theme="white"] .inbox-chat-preview,
body[data-theme="white"] .account-chip-note,
body[data-theme="white"] .upload-preview span,
body[data-theme="white"] .target-list.empty {
    color: #4d554f !important;
}

body[data-theme="white"] h1,
body[data-theme="white"] h2,
body[data-theme="white"] h3,
body[data-theme="white"] h4,
body[data-theme="white"] strong,
body[data-theme="white"] .sidebar-brand h1,
body[data-theme="white"] .accounts-panel-summary-value,
body[data-theme="white"] .accounts-panel-summary-label,
body[data-theme="white"] .accounts-panel-summary-label i,
body[data-theme="white"] .accounts-browser-table th,
body[data-theme="white"] .join-hero-stat strong,
body[data-theme="white"] .join-hero-stat span,
body[data-theme="white"] .spammer-hero-stat strong,
body[data-theme="white"] .spammer-hero-stat span,
body[data-theme="white"] .spammer-runtime-card strong,
body[data-theme="white"] .spammer-runtime-card span,
body[data-theme="white"] .spammer-preview-metric strong,
body[data-theme="white"] .spammer-preview-metric span,
body[data-theme="white"] .account-picker-launch-label,
body[data-theme="white"] .account-picker-launch-label i,
body[data-theme="white"] .join-setting-row > span:first-child,
body[data-theme="white"] .join-setting-unit,
body[data-theme="white"] .spammer-setting-row > span:first-child,
body[data-theme="white"] .spammer-setting-unit,
body[data-theme="white"] .spammer-preview-phone-head,
body[data-theme="white"] .spammer-preview-bubble strong,
body[data-theme="white"] .spammer-preview-bubble em,
body[data-theme="white"] .spammer-preview-bubble code,
body[data-theme="white"] .accounts-browser-records {
    color: #111111 !important;
}

body[data-theme="white"] .accounts-browser-table.accounts-command-table thead,
body[data-theme="white"] .accounts-browser-table .accounts-command-row,
body[data-theme="white"] .accounts-browser-table .accounts-command-row:nth-child(even) {
    background: #ffffff !important;
}

body[data-theme="white"] .accounts-browser-table.accounts-command-table td {
    color: #111111 !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .accounts-browser-table.accounts-command-table th {
    border-bottom-color: rgba(0, 0, 0, 0.14) !important;
}

body[data-theme="white"] .accounts-command-row.is-selected,
body[data-theme="white"] .accounts-command-row.is-bulk-selected,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-bulk-selected,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected {
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: inset 5px 0 0 #9b9b9b !important;
}

body[data-theme="white"] .accounts-command-row.is-selected td,
body[data-theme="white"] .accounts-command-row.is-bulk-selected td,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected td,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-bulk-selected td,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-identity-copy strong,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-identity-copy span,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-phone-cell,
body[data-theme="white"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-name-cell {
    color: #ffffff !important;
}

body[data-theme="white"] .inbox-message.in .inbox-message-bubble,
body[data-theme="white"] .inbox-message-bubble {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111111 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .inbox-message.out .inbox-message-bubble,
body[data-theme="white"] .inbox-message-bubble.is-pending {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] .inbox-chat-preview.is-outgoing-preview,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-preview.is-outgoing-preview,
body[data-theme="white"] .inbox-thread-subline.is-live,
body[data-theme="white"] .inbox-chat-meta.is-live,
body[data-theme="white"] .inbox-chat-preview.is-live {
    color: #111111 !important;
}

body[data-theme="white"] .inbox-chat-item.active .inbox-chat-meta,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-preview,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title {
    color: #ffffff !important;
}

body[data-theme="white"] .spammer-preview-bubble code {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="white"] .spammer-preview-image,
body[data-theme="white"] .inbox-message-media-placeholder,
body[data-theme="white"] .inbox-message-media {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
}

body[data-theme="white"] .activity-log,
body[data-theme="white"] .log-row,
body[data-theme="white"] .log-body,
body[data-theme="white"] .log-message,
body[data-theme="white"] .log-meta,
body[data-theme="white"] .log-time {
    color: #111111 !important;
}

body[data-theme="white"] .log-row {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .log-row.success .log-message,
body[data-theme="white"] .log-row.info .log-message {
    color: #111111 !important;
}

body[data-theme="white"] .log-row.warning .log-message {
    color: #8a5a00 !important;
}

body[data-theme="white"] .log-row.error .log-message {
    color: #a31621 !important;
}

body[data-theme="white"] .settings-depth-arrow-up::before {
    border-bottom-color: #111111 !important;
}

body[data-theme="white"] .settings-depth-arrow-down::before {
    border-top-color: #111111 !important;
}

body[data-theme="white"] .toggle-chip input[type="checkbox"],
body[data-theme="white"] .inbox-settings-toggle input {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.24) !important;
}

body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked,
body[data-theme="white"] .inbox-settings-toggle input:checked {
    background: #111111 !important;
    border-color: #111111 !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="white"] .section-tab.is-active,
body[data-theme="white"] .mobile-bottom-tab.is-active,
body[data-theme="white"] .inbox-chat-item.active,
body[data-theme="white"] .app-theme-btn.is-active,
body[data-theme="white"] .mobile-scale-btn.is-active {
    background: #202020 !important;
    border-color: #202020 !important;
}

body[data-theme="white"] .sidebar-metric-label,
body[data-theme="white"] .sidebar-metric-label i,
body[data-theme="white"] .sidebar-metric-value,
body[data-theme="white"] .sidebar-metric-badge.count-badge,
body[data-theme="white"] #accountCountBadge.sidebar-metric-badge.is-zero {
    color: #111111 !important;
}

body[data-theme="white"] .status-line.success,
body[data-theme="white"] .web-app-hint-box,
body[data-theme="white"] .web-app-hint-box *,
body[data-theme="white"] .source-box {
    color: #2f3531 !important;
}

body[data-theme="white"] .accounts-browser-toolbar,
body[data-theme="white"] .account-picker-browser-toolbar {
    background: #f3f3f3 !important;
    border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="white"] .accounts-browser-search {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-search i,
body[data-theme="white"] .accounts-browser-action-caret,
body[data-theme="white"] .accounts-browser-import-launch i {
    color: #111111 !important;
}

body[data-theme="white"] .accounts-browser-search input {
    color: #111111 !important;
}

body[data-theme="white"] .accounts-browser-search input::placeholder {
    color: #777777 !important;
}

body[data-theme="white"] .accounts-browser-action-menu::before {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
}

body[data-theme="white"] .accounts-browser-action-menu-group h3 {
    color: #111111 !important;
    text-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-action-menu-group:nth-child(odd):not(.accounts-browser-action-menu-group--full-row),
body[data-theme="white"] .accounts-browser-action-menu-group--privacy {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="white"] .accounts-browser-menu-item {
    color: #252525 !important;
    background: transparent !important;
}

body[data-theme="white"] .accounts-browser-menu-item i {
    color: #666666 !important;
}

body[data-theme="white"] .accounts-browser-menu-item:hover {
    background: #eeeeee !important;
    color: #111111 !important;
    transform: translateX(2px);
}

body[data-theme="white"] .accounts-browser-menu-item:hover i {
    color: #111111 !important;
}

body[data-theme="white"] .accounts-command-empty,
body[data-theme="white"] .accounts-browser-card .accounts-command-empty {
    color: #59635d !important;
}

body[data-theme="white"] .accounts-browser-show-select select {
    color: #111111 !important;
}

body[data-theme="white"] .accounts-browser-records::before {
    background: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-picker-launch-count,
body[data-theme="white"] #section-join-chats .account-picker-launch-card[data-picker-mode="join"] .account-picker-launch-count {
    background: #202020 !important;
    border-color: #202020 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-emoji-panel {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14) !important;
}

body[data-theme="white"] .inbox-emoji-option {
    background: #f3f3f3 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #111111 !important;
}

body[data-theme="white"] .inbox-emoji-option:hover,
body[data-theme="white"] .inbox-emoji-btn.is-open {
    background: #e8e8e8 !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="white"] .inbox-reply-bar,
body[data-theme="white"] .inbox-attachment-bar {
    background: #f5f5f5 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111111 !important;
}

body[data-theme="white"] .inbox-reply-copy strong,
body[data-theme="white"] .inbox-attachment-copy strong {
    color: #111111 !important;
}

body[data-theme="white"] #section-spammer .spammer-toolbar-btn,
body[data-theme="white"] #section-spammer .spammer-toolbar-settings,
body[data-theme="white"] #section-spammer .spammer-random-pill,
body[data-theme="white"] #section-spammer .toggle-chip-strong {
    background: #f3f3f3 !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] #section-spammer .spammer-toolbar-btn i,
body[data-theme="white"] #section-spammer .spammer-toolbar-glyph span,
body[data-theme="white"] #section-spammer .spammer-toolbar-btn:not(.spammer-toolbar-glyph):not(.spammer-toolbar-file) span,
body[data-theme="white"] #section-spammer .spammer-random-pill code,
body[data-theme="white"] #section-spammer .spammer-cluster-meta code,
body[data-theme="white"] #section-spammer .helper-text code {
    color: #111111 !important;
}

body[data-theme="white"] #section-spammer .spammer-toolbar-btn:hover,
body[data-theme="white"] #section-spammer .spammer-toolbar-settings:hover {
    background: #e8e8e8 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="white"] .toast {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16) !important;
}

body[data-theme="white"] .toast-title,
body[data-theme="white"] .toast-message {
    color: #111111 !important;
}

body[data-theme="white"] .toast.success {
    border-left: 4px solid #111111 !important;
}

body[data-theme="white"] .toast.warning {
    border-left: 4px solid #9a6500 !important;
}

body[data-theme="white"] .toast.error {
    border-left: 4px solid #a31621 !important;
}

body[data-theme="white"] input:focus,
body[data-theme="white"] textarea:focus,
body[data-theme="white"] select:focus,
body[data-theme="white"] .settings-depth-stepper:focus-within {
    border-color: rgba(0, 0, 0, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="white"] .sidebar-brand h1 {
    text-shadow: none !important;
}

body[data-theme="white"] .sidebar-online-pill::before,
body[data-theme="white"] .inbox-sync-badge::before,
body[data-theme="white"] .accounts-browser-records::before {
    background: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-action-select,
body[data-theme="white"] .accounts-browser-action-info,
body[data-theme="white"] .accounts-browser-action-warning,
body[data-theme="white"] .accounts-browser-action-danger {
    background: #f7f7f7 !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-action.is-open {
    border-color: rgba(0, 0, 0, 0.24) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="white"] .accounts-browser-action-select i,
body[data-theme="white"] .accounts-browser-action-info i,
body[data-theme="white"] .accounts-browser-action-warning i,
body[data-theme="white"] .accounts-browser-action-danger i {
    color: #111111 !important;
}

body[data-theme="white"] #section-spammer .spammer-action-bar.hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body[data-theme="white"] #section-spammer .spammer-action-bar.hero-actions > .btn {
    position: relative;
    z-index: 0;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transform: none;
}

body[data-theme="white"] #section-spammer .spammer-action-bar.hero-actions > .btn:hover {
    transform: none;
}

body[data-theme="white"] #section-spammer #startSpamBtn {
    background: #111111 !important;
    border: 1px solid #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] #section-spammer #stopSpamBtn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    color: #111111 !important;
}

body[data-theme="white"] #section-spammer #stopSpamBtn:disabled {
    background: #f4f4f4 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #676767 !important;
    opacity: 1 !important;
}

body[data-theme="white"] .accounts-browser-range-cluster {
    background: #f3f3f3 !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-range-input {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .accounts-browser-range-input:focus {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="white"] .accounts-browser-range-separator {
    color: #555555 !important;
}

body[data-theme="white"] .accounts-browser-range-apply,
body[data-theme="white"] #accountPickerSelectRangeBtn {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
}

body[data-theme="white"] .account-import-modal-card,
body[data-theme="white"] .account-import-modal-head,
body[data-theme="white"] .account-import-modal-body,
body[data-theme="white"] .account-import-modal-actions {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.13) !important;
    color: #111111 !important;
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.16) !important;
}

body[data-theme="white"] .account-import-modal-actions {
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-modal-title-wrap h3,
body[data-theme="white"] .account-import-modal-subtitle,
body[data-theme="white"] .account-import-modal-subtitle code,
body[data-theme="white"] .account-import-summary code,
body[data-theme="white"] .account-import-dropzone-copy code {
    color: #111111 !important;
}

body[data-theme="white"] .account-import-modal-close {
    background: #f7f7f7 !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-modal-close:hover {
    background: #ededed !important;
    border-color: rgba(0, 0, 0, 0.24) !important;
    color: #000000 !important;
}

body[data-theme="white"] .account-import-dropzone {
    background:
        repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 8px, transparent 8px, transparent 16px),
        #f7f7f7 !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-dropzone:hover,
body[data-theme="white"] .account-import-dropzone:focus-visible,
body[data-theme="white"] .account-import-dropzone.is-drag-active {
    background:
        repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04) 8px, transparent 8px, transparent 16px),
        #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.32) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="white"] .account-import-dropzone-copy strong,
body[data-theme="white"] .account-import-dropzone-copy span,
body[data-theme="white"] .account-import-picker-divider {
    color: #333333 !important;
}

body[data-theme="white"] .account-import-picker-btn,
body[data-theme="white"] .account-import-primary {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-picker-btn-secondary,
body[data-theme="white"] .account-import-secondary {
    background: #f7f7f7 !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-picker-btn:hover,
body[data-theme="white"] .account-import-secondary:hover,
body[data-theme="white"] .account-import-primary:hover {
    filter: none !important;
    border-color: rgba(0, 0, 0, 0.28) !important;
}

body[data-theme="white"] .account-import-picker-meta,
body[data-theme="white"] .account-import-picker-meta.is-selected,
body[data-theme="white"] .account-import-summary {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #333333 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .account-import-summary strong {
    color: #111111 !important;
}

body[data-theme="white"] .account-import-summary.is-error {
    background: #fff4f4 !important;
    border-color: rgba(163, 22, 33, 0.22) !important;
    color: #a31621 !important;
}

body[data-theme="white"] .account-import-primary:disabled,
body[data-theme="white"] .account-import-secondary:disabled,
body[data-theme="white"] .account-import-primary.is-loading {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #777777 !important;
    opacity: 1 !important;
}

/* Black theme final polish: neutral monochrome, no green carry-over. */
body[data-theme="black"] {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --panel: rgba(14, 14, 15, 0.98);
    --panel-strong: #090909;
    --panel-border: rgba(255, 255, 255, 0.13);
    --field: #101010;
    --field-focus: #151515;
    --text: #f4f4f5;
    --muted: #a6a6a8;
    --accent: #f4f4f5;
    --accent-strong: #ffffff;
    --accent-soft: rgba(255, 255, 255, 0.12);
    --success: #f4f4f5;
    --warning: #f0c36a;
    --danger: #ff8a92;
    --scrollbar-track: rgba(12, 12, 12, 0.96);
    --scrollbar-track-border: rgba(255, 255, 255, 0.08);
    --scrollbar-thumb: linear-gradient(180deg, rgba(205, 205, 205, 0.72), rgba(95, 95, 95, 0.9));
    --scrollbar-thumb-hover: linear-gradient(180deg, rgba(245, 245, 245, 0.86), rgba(125, 125, 125, 0.96));
}

body[data-theme="black"],
body[data-theme="black"] .app-shell {
    color: #f4f4f5;
}

body[data-theme="black"] input:focus,
body[data-theme="black"] textarea:focus,
body[data-theme="black"] select:focus,
body[data-theme="black"] .settings-depth-stepper:focus-within {
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .glass-card,
body[data-theme="black"] .modal-card,
body[data-theme="black"] .sidebar-shell,
body[data-theme="black"] .brand-card,
body[data-theme="black"] .settings-hero-card,
body[data-theme="black"] .settings-overview-card,
body[data-theme="black"] .settings-rules-card,
body[data-theme="black"] .settings-preview-card,
body[data-theme="black"] .mobile-scale-card,
body[data-theme="black"] .web-app-card,
body[data-theme="black"] .log-card,
body[data-theme="black"] .accounts-panel-summary-grid,
body[data-theme="black"] .accounts-panel-summary-card,
body[data-theme="black"] .accounts-browser-strip,
body[data-theme="black"] .accounts-command-list-card.accounts-browser-card,
body[data-theme="black"] .accounts-browser-table-wrap.accounts-command-table-wrap,
body[data-theme="black"] .accounts-browser-action-menu,
body[data-theme="black"] .inbox-sidebar-card,
body[data-theme="black"] .inbox-thread-card,
body[data-theme="black"] .inbox-message-list,
body[data-theme="black"] .inbox-settings-modal-card,
body[data-theme="black"] .join-hero-card,
body[data-theme="black"] .join-hero-stat,
body[data-theme="black"] .join-settings-modal-card,
body[data-theme="black"] .join-settings-cluster,
body[data-theme="black"] .join-setting-row,
body[data-theme="black"] .account-picker-launch-card,
body[data-theme="black"] .account-picker-modal-card,
body[data-theme="black"] .spammer-hero-card,
body[data-theme="black"] .spammer-hero-stat,
body[data-theme="black"] .spammer-control-card,
body[data-theme="black"] .spammer-preview-card,
body[data-theme="black"] .spammer-senders-card,
body[data-theme="black"] .spammer-table-card,
body[data-theme="black"] .spammer-cluster,
body[data-theme="black"] .spammer-runtime-card,
body[data-theme="black"] .spammer-preview-metric,
body[data-theme="black"] .spammer-preview-pane,
body[data-theme="black"] .spammer-editor-pane,
body[data-theme="black"] .spam-settings-modal-card,
body[data-theme="black"] .target-list,
body[data-theme="black"] .settings-depth-box,
body[data-theme="black"] .web-app-hint-box,
body[data-theme="black"] .activity-log {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.46) !important;
}

body[data-theme="black"] .glass-card::before,
body[data-theme="black"] .glass-card::after,
body[data-theme="black"] .sidebar-shell::before,
body[data-theme="black"] .sidebar-shell::after,
body[data-theme="black"] .brand-card::before,
body[data-theme="black"] .brand-card::after,
body[data-theme="black"] .accounts-panel-summary-card::before,
body[data-theme="black"] .spammer-hero-card::after {
    opacity: 0 !important;
}

body[data-theme="black"] .sidebar-brand h1 {
    text-shadow: none !important;
}

body[data-theme="black"] .sidebar-nav-panel,
body[data-theme="black"] .chip-list,
body[data-theme="black"] .inbox-thread-head {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab,
body[data-theme="black"] .sidebar-metric-tile,
body[data-theme="black"] .section-tab,
body[data-theme="black"] .account-chip,
body[data-theme="black"] .inbox-chat-item,
body[data-theme="black"] .toggle-chip,
body[data-theme="black"] .inbox-settings-toggle,
body[data-theme="black"] .accounts-browser-show-select,
body[data-theme="black"] .spammer-preview-phone,
body[data-theme="black"] .spammer-preview-bubble,
body[data-theme="black"] .spammer-preview-image-name,
body[data-theme="black"] .spammer-runtime-note,
body[data-theme="black"] .inbox-thread-menu,
body[data-theme="black"] .inbox-message-menu,
body[data-theme="black"] .inbox-message-menu-preview {
    background: #151515 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab:hover,
body[data-theme="black"] .section-tab:hover,
body[data-theme="black"] .account-chip:hover,
body[data-theme="black"] .inbox-chat-item:hover,
body[data-theme="black"] .accounts-command-row:not(.is-disabled):hover,
body[data-theme="black"] .accounts-command-row:not(.is-disabled):focus-visible {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="black"] .section-tab.is-active,
body[data-theme="black"] .mobile-bottom-tab.is-active,
body[data-theme="black"] .inbox-chat-item.active,
body[data-theme="black"] .app-theme-btn.is-active,
body[data-theme="black"] .mobile-scale-btn.is-active {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon,
body[data-theme="black"] .section-tab.is-active .section-tab-icon,
body[data-theme="black"] .mobile-bottom-tab.is-active i,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-avatar {
    background: #111111 !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
    color: #ffffff !important;
}

body[data-theme="black"] .section-tab-icon,
body[data-theme="black"] .sidebar-logo-mark,
body[data-theme="black"] .inbox-thread-avatar,
body[data-theme="black"] .inbox-chat-avatar,
body[data-theme="black"] .inbox-message-avatar,
body[data-theme="black"] .accounts-browser-avatar {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .sidebar-logo-mark i {
    color: #f4f4f5 !important;
    filter: none !important;
}

body[data-theme="black"] .sidebar-online-pill,
body[data-theme="black"] .status-pill,
body[data-theme="black"] .section-tab-badge,
body[data-theme="black"] .mobile-bottom-badge,
body[data-theme="black"] .count-badge,
body[data-theme="black"] .inbox-unread-pill,
body[data-theme="black"] .accounts-browser-unread-pill,
body[data-theme="black"] .accounts-browser-twofa-badge,
body[data-theme="black"] .accounts-browser-geo-badge,
body[data-theme="black"] .log-badge,
body[data-theme="black"] .app-theme-badge,
body[data-theme="black"] .inbox-sync-badge {
    background: #191919 !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .sidebar-online-pill::before,
body[data-theme="black"] .inbox-sync-badge::before,
body[data-theme="black"] .accounts-browser-records::before {
    background: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .btn-primary,
body[data-theme="black"] .login-submit,
body[data-theme="black"] .accounts-browser-action-success,
body[data-theme="black"] .account-picker-launch-btn,
body[data-theme="black"] .join-picker-actions .account-picker-launch-btn,
body[data-theme="black"] .spammer-picker-actions .account-picker-launch-btn,
body[data-theme="black"] #inboxSendBtn,
body[data-theme="black"] #startJoinBtn,
body[data-theme="black"] #startSpamBtn,
body[data-theme="black"] #saveJoinSettingsBtn,
body[data-theme="black"] #saveSpamSettingsBtn {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .btn-secondary,
body[data-theme="black"] .accounts-browser-action,
body[data-theme="black"] .accounts-browser-mini-btn,
body[data-theme="black"] .accounts-browser-icon-btn,
body[data-theme="black"] .accounts-browser-table-action-btn,
body[data-theme="black"] .account-picker-settings-btn,
body[data-theme="black"] .inbox-settings-btn,
body[data-theme="black"] .inbox-add-chat-btn,
body[data-theme="black"] .inbox-thread-menu-btn,
body[data-theme="black"] .modal-close,
body[data-theme="black"] .modal-close-btn,
body[data-theme="black"] .account-picker-modal-close,
body[data-theme="black"] .account-import-modal-close,
body[data-theme="black"] .accounts-action-modal-close,
body[data-theme="black"] .spammer-toolbar-btn,
body[data-theme="black"] .spammer-toolbar-settings,
body[data-theme="black"] .settings-depth-arrow {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] input,
body[data-theme="black"] textarea,
body[data-theme="black"] select,
body[data-theme="black"] .settings-depth-stepper,
body[data-theme="black"] .inbox-composer-shell,
body[data-theme="black"] .inbox-composer textarea,
body[data-theme="black"] #section-spammer .spammer-editor-pane textarea#spamMessageText {
    background: #0f0f10 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] input::placeholder,
body[data-theme="black"] textarea::placeholder {
    color: #858589 !important;
}

body[data-theme="black"] .eyebrow,
body[data-theme="black"] .sidebar-panel-label,
body[data-theme="black"] .helper-text,
body[data-theme="black"] .panel-note,
body[data-theme="black"] .settings-hero-text,
body[data-theme="black"] .settings-overview-card > span,
body[data-theme="black"] .settings-overview-card > small,
body[data-theme="black"] .settings-depth-copy .helper-text,
body[data-theme="black"] .join-settings-cluster-meta,
body[data-theme="black"] .spammer-cluster-meta,
body[data-theme="black"] .spammer-runtime-note,
body[data-theme="black"] .spammer-side-note,
body[data-theme="black"] .spammer-preview-empty,
body[data-theme="black"] .inbox-empty,
body[data-theme="black"] .inbox-side-head .panel-note,
body[data-theme="black"] .inbox-thread-subline,
body[data-theme="black"] .inbox-chat-meta,
body[data-theme="black"] .inbox-chat-preview,
body[data-theme="black"] .account-chip-note,
body[data-theme="black"] .upload-preview span,
body[data-theme="black"] .target-list.empty {
    color: #a7a7aa !important;
}

body[data-theme="black"] h1,
body[data-theme="black"] h2,
body[data-theme="black"] h3,
body[data-theme="black"] h4,
body[data-theme="black"] strong,
body[data-theme="black"] .sidebar-brand h1,
body[data-theme="black"] .accounts-panel-summary-value,
body[data-theme="black"] .accounts-panel-summary-label,
body[data-theme="black"] .accounts-panel-summary-label i,
body[data-theme="black"] .accounts-browser-table th,
body[data-theme="black"] .join-hero-stat strong,
body[data-theme="black"] .join-hero-stat span,
body[data-theme="black"] .spammer-hero-stat strong,
body[data-theme="black"] .spammer-hero-stat span,
body[data-theme="black"] .spammer-runtime-card strong,
body[data-theme="black"] .spammer-runtime-card span,
body[data-theme="black"] .spammer-preview-metric strong,
body[data-theme="black"] .spammer-preview-metric span,
body[data-theme="black"] .account-picker-launch-label,
body[data-theme="black"] .account-picker-launch-label i,
body[data-theme="black"] .join-setting-row > span:first-child,
body[data-theme="black"] .join-setting-unit,
body[data-theme="black"] .spammer-setting-row > span:first-child,
body[data-theme="black"] .spammer-setting-unit,
body[data-theme="black"] .spammer-preview-phone-head,
body[data-theme="black"] .spammer-preview-bubble strong,
body[data-theme="black"] .spammer-preview-bubble em,
body[data-theme="black"] .spammer-preview-bubble code,
body[data-theme="black"] .accounts-browser-records {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .accounts-browser-toolbar,
body[data-theme="black"] .account-picker-browser-toolbar {
    background: #141414 !important;
    border-bottom-color: rgba(255, 255, 255, 0.11) !important;
}

body[data-theme="black"] .accounts-browser-search {
    background: #0f0f10 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body[data-theme="black"] .accounts-browser-search i,
body[data-theme="black"] .accounts-browser-action-caret,
body[data-theme="black"] .accounts-browser-import-launch i {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .accounts-browser-search input {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .accounts-browser-action-select,
body[data-theme="black"] .accounts-browser-action-info,
body[data-theme="black"] .accounts-browser-action-warning,
body[data-theme="black"] .accounts-browser-action-danger {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .accounts-browser-action.is-open {
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .accounts-browser-action-select i,
body[data-theme="black"] .accounts-browser-action-info i,
body[data-theme="black"] .accounts-browser-action-warning i,
body[data-theme="black"] .accounts-browser-action-danger i {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .accounts-browser-action-menu::before {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
}

body[data-theme="black"] .accounts-browser-action-menu-group h3,
body[data-theme="black"] .accounts-browser-menu-item,
body[data-theme="black"] .accounts-browser-menu-item i {
    color: #f4f4f5 !important;
    text-shadow: none !important;
}

body[data-theme="black"] .accounts-browser-action-menu-group:nth-child(odd):not(.accounts-browser-action-menu-group--full-row),
body[data-theme="black"] .accounts-browser-action-menu-group--privacy {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="black"] .accounts-browser-menu-item:hover {
    background: #202020 !important;
    color: #ffffff !important;
}

body[data-theme="black"] .accounts-command-empty,
body[data-theme="black"] .accounts-browser-card .accounts-command-empty {
    color: #a7a7aa !important;
}

body[data-theme="black"] .accounts-browser-table.accounts-command-table thead,
body[data-theme="black"] .accounts-browser-table .accounts-command-row,
body[data-theme="black"] .accounts-browser-table .accounts-command-row:nth-child(even) {
    background: #0d0d0e !important;
}

body[data-theme="black"] .accounts-browser-table.accounts-command-table td {
    color: #f4f4f5 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .accounts-browser-table.accounts-command-table th {
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme="black"] .accounts-command-row.is-selected,
body[data-theme="black"] .accounts-command-row.is-bulk-selected,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-bulk-selected,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected {
    background: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: inset 5px 0 0 #777777 !important;
}

body[data-theme="black"] .accounts-command-row.is-selected td,
body[data-theme="black"] .accounts-command-row.is-bulk-selected td,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected td,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-bulk-selected td,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-identity-copy strong,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-identity-copy span,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-phone-cell,
body[data-theme="black"] .accounts-browser-table .accounts-command-row.is-selected .accounts-browser-name-cell {
    color: #080808 !important;
}

body[data-theme="black"] .accounts-browser-range-cluster {
    background: #151515 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body[data-theme="black"] .accounts-browser-range-input {
    background: #0f0f10 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .accounts-browser-range-input:focus {
    background: #0f0f10 !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .accounts-browser-range-separator {
    color: #a7a7aa !important;
}

body[data-theme="black"] .accounts-browser-range-apply,
body[data-theme="black"] #accountPickerSelectRangeBtn {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .account-picker-launch-count,
body[data-theme="black"] #section-join-chats .account-picker-launch-card[data-picker-mode="join"] .account-picker-launch-count {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-message.in .inbox-message-bubble,
body[data-theme="black"] .inbox-message-bubble {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34) !important;
}

body[data-theme="black"] .inbox-message.out .inbox-message-bubble,
body[data-theme="black"] .inbox-message-bubble.is-pending {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] .inbox-chat-preview.is-outgoing-preview,
body[data-theme="black"] .inbox-thread-subline.is-live,
body[data-theme="black"] .inbox-chat-meta.is-live,
body[data-theme="black"] .inbox-chat-preview.is-live {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-chat-item.active .inbox-chat-meta,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-preview,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title {
    color: #080808 !important;
}

body[data-theme="black"] .inbox-emoji-panel {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.58) !important;
}

body[data-theme="black"] .inbox-emoji-option {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-emoji-option:hover,
body[data-theme="black"] .inbox-emoji-btn.is-open {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

body[data-theme="black"] .inbox-reply-bar,
body[data-theme="black"] .inbox-attachment-bar {
    background: #151515 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-reply-copy strong,
body[data-theme="black"] .inbox-attachment-copy strong {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .spammer-preview-bubble code,
body[data-theme="black"] .spammer-preview-image,
body[data-theme="black"] .inbox-message-media-placeholder,
body[data-theme="black"] .inbox-message-media {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
}

body[data-theme="black"] #section-spammer .spammer-toolbar-btn,
body[data-theme="black"] #section-spammer .spammer-toolbar-settings,
body[data-theme="black"] #section-spammer .spammer-random-pill,
body[data-theme="black"] #section-spammer .toggle-chip-strong {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] #section-spammer .spammer-toolbar-btn i,
body[data-theme="black"] #section-spammer .spammer-toolbar-glyph span,
body[data-theme="black"] #section-spammer .spammer-toolbar-btn:not(.spammer-toolbar-glyph):not(.spammer-toolbar-file) span,
body[data-theme="black"] #section-spammer .spammer-random-pill code,
body[data-theme="black"] #section-spammer .spammer-cluster-meta code,
body[data-theme="black"] #section-spammer .helper-text code {
    color: #f4f4f5 !important;
}

body[data-theme="black"] #section-spammer .spammer-toolbar-btn:hover,
body[data-theme="black"] #section-spammer .spammer-toolbar-settings:hover {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="black"] #section-spammer .spammer-action-bar.hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body[data-theme="black"] #section-spammer .spammer-action-bar.hero-actions > .btn {
    position: relative;
    z-index: 0;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transform: none;
}

body[data-theme="black"] #section-spammer .spammer-action-bar.hero-actions > .btn:hover {
    transform: none;
}

body[data-theme="black"] #section-spammer #startSpamBtn {
    background: #f4f4f5 !important;
    border: 1px solid #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] #section-spammer #stopSpamBtn {
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] #section-spammer #stopSpamBtn:disabled {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #9b9b9f !important;
    opacity: 1 !important;
}

body[data-theme="black"] .account-import-modal-card,
body[data-theme="black"] .account-import-modal-head,
body[data-theme="black"] .account-import-modal-body,
body[data-theme="black"] .account-import-modal-actions {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.62) !important;
}

body[data-theme="black"] .account-import-modal-actions {
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-modal-title-wrap h3,
body[data-theme="black"] .account-import-modal-subtitle,
body[data-theme="black"] .account-import-modal-subtitle code,
body[data-theme="black"] .account-import-summary code,
body[data-theme="black"] .account-import-dropzone-copy code {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .account-import-modal-close {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-modal-close:hover {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

body[data-theme="black"] .account-import-dropzone {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 8px, transparent 8px, transparent 16px),
        #111111 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-dropzone:hover,
body[data-theme="black"] .account-import-dropzone:focus-visible,
body[data-theme="black"] .account-import-dropzone.is-drag-active {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 8px, transparent 8px, transparent 16px),
        #181818 !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .account-import-dropzone-copy strong,
body[data-theme="black"] .account-import-dropzone-copy span,
body[data-theme="black"] .account-import-picker-divider {
    color: #d5d5d8 !important;
}

body[data-theme="black"] .account-import-picker-btn,
body[data-theme="black"] .account-import-primary {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-picker-btn-secondary,
body[data-theme="black"] .account-import-secondary {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-picker-btn:hover,
body[data-theme="black"] .account-import-secondary:hover,
body[data-theme="black"] .account-import-primary:hover {
    filter: none !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

body[data-theme="black"] .account-import-picker-meta,
body[data-theme="black"] .account-import-picker-meta.is-selected,
body[data-theme="black"] .account-import-summary {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #d5d5d8 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .account-import-summary strong {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .account-import-summary.is-error {
    background: #211112 !important;
    border-color: rgba(255, 138, 146, 0.24) !important;
    color: #ffb5bb !important;
}

body[data-theme="black"] .account-import-primary:disabled,
body[data-theme="black"] .account-import-secondary:disabled,
body[data-theme="black"] .account-import-primary.is-loading {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #8b8b8f !important;
    opacity: 1 !important;
}

body[data-theme="black"] .activity-log,
body[data-theme="black"] .log-row,
body[data-theme="black"] .log-body,
body[data-theme="black"] .log-message,
body[data-theme="black"] .log-meta,
body[data-theme="black"] .log-time {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .log-row {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="black"] .log-row.success .log-message,
body[data-theme="black"] .log-row.info .log-message {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .log-row.warning .log-message {
    color: #f0c36a !important;
}

body[data-theme="black"] .log-row.error .log-message {
    color: #ff9aa1 !important;
}

body[data-theme="black"] .toast {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.58) !important;
}

body[data-theme="black"] .toast-title,
body[data-theme="black"] .toast-message {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .toast.success {
    border-left: 4px solid #f4f4f5 !important;
}

body[data-theme="black"] .toast.warning {
    border-left: 4px solid #f0c36a !important;
}

body[data-theme="black"] .toast.error {
    border-left: 4px solid #ff8a92 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy strong,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy small,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-badge {
    color: #080808 !important;
}

body[data-theme="black"] .sidebar-metric-label,
body[data-theme="black"] .sidebar-metric-label i,
body[data-theme="black"] .sidebar-panel-label,
body[data-theme="black"] .sidebar-shell .eyebrow {
    color: #b9b9bd !important;
}

body[data-theme="black"] .sidebar-metric-value,
body[data-theme="black"] .sidebar-metric-badge.count-badge,
body[data-theme="black"] #accountCountBadge.sidebar-metric-badge.is-zero {
    color: #f4f4f5 !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body[data-theme="white"] .sidebar-metric-value,
body[data-theme="white"] .sidebar-metric-badge.count-badge,
body[data-theme="white"] #accountCountBadge.sidebar-metric-badge.is-zero {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy,
body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy strong,
body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-copy small,
body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-badge {
    color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
    html[data-theme="white"],
    html[data-theme="white"] body,
    html[data-theme="white"] *,
    body[data-theme="white"],
    body[data-theme="white"] * {
        scrollbar-color: rgba(28, 28, 28, 0.78) rgba(236, 236, 236, 0.96) !important;
    }

    html[data-theme="white"]::-webkit-scrollbar-track,
    html[data-theme="white"] body::-webkit-scrollbar-track,
    html[data-theme="white"] *::-webkit-scrollbar-track,
    body[data-theme="white"] *::-webkit-scrollbar-track {
        background: #eeeeee !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        box-shadow: none !important;
    }

    html[data-theme="white"]::-webkit-scrollbar-thumb,
    html[data-theme="white"] body::-webkit-scrollbar-thumb,
    html[data-theme="white"] *::-webkit-scrollbar-thumb,
    body[data-theme="white"] *::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(72, 72, 72, 0.82), rgba(14, 14, 14, 0.92)) !important;
        border-color: #eeeeee !important;
        box-shadow: none !important;
    }

    html[data-theme="white"]::-webkit-scrollbar-thumb:hover,
    html[data-theme="white"] body::-webkit-scrollbar-thumb:hover,
    html[data-theme="white"] *::-webkit-scrollbar-thumb:hover,
    body[data-theme="white"] *::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(36, 36, 36, 0.9), rgba(0, 0, 0, 0.96)) !important;
    }

    html[data-theme="white"]::-webkit-scrollbar-button,
    html[data-theme="white"] body::-webkit-scrollbar-button,
    html[data-theme="white"] *::-webkit-scrollbar-button,
    body[data-theme="white"] *::-webkit-scrollbar-button {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
        background: transparent !important;
    }

    html[data-theme="white"]::-webkit-scrollbar-corner,
    html[data-theme="white"] body::-webkit-scrollbar-corner,
    html[data-theme="white"] *::-webkit-scrollbar-corner,
    body[data-theme="white"] *::-webkit-scrollbar-corner {
        background: #eeeeee !important;
    }

    html[data-theme="black"],
    html[data-theme="black"] body,
    html[data-theme="black"] *,
    body[data-theme="black"],
    body[data-theme="black"] * {
        scrollbar-color: rgba(170, 170, 174, 0.9) rgba(12, 12, 12, 0.96) !important;
    }

    html[data-theme="black"]::-webkit-scrollbar-track,
    html[data-theme="black"] body::-webkit-scrollbar-track,
    html[data-theme="black"] *::-webkit-scrollbar-track,
    body[data-theme="black"] *::-webkit-scrollbar-track {
        background: #0c0c0d !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
    }

    html[data-theme="black"]::-webkit-scrollbar-thumb,
    html[data-theme="black"] body::-webkit-scrollbar-thumb,
    html[data-theme="black"] *::-webkit-scrollbar-thumb,
    body[data-theme="black"] *::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(190, 190, 194, 0.88), rgba(86, 86, 90, 0.96)) !important;
        border-color: #050505 !important;
        box-shadow: none !important;
    }

    html[data-theme="black"]::-webkit-scrollbar-thumb:hover,
    html[data-theme="black"] body::-webkit-scrollbar-thumb:hover,
    html[data-theme="black"] *::-webkit-scrollbar-thumb:hover,
    body[data-theme="black"] *::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, rgba(230, 230, 232, 0.94), rgba(120, 120, 124, 0.98)) !important;
    }

    html[data-theme="black"]::-webkit-scrollbar-button,
    html[data-theme="black"] body::-webkit-scrollbar-button,
    html[data-theme="black"] *::-webkit-scrollbar-button,
    body[data-theme="black"] *::-webkit-scrollbar-button {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
        background: transparent !important;
    }

    html[data-theme="black"]::-webkit-scrollbar-corner,
    html[data-theme="black"] body::-webkit-scrollbar-corner,
    html[data-theme="black"] *::-webkit-scrollbar-corner,
    body[data-theme="black"] *::-webkit-scrollbar-corner {
        background: #0c0c0d !important;
    }
}

body[data-theme="black"] .web-app-pill-row .status-pill {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    box-shadow: none !important;
}

body[data-theme="black"] .web-app-pill-row .status-pill.warning {
    background: rgba(255, 190, 85, 0.16) !important;
    border-color: rgba(255, 190, 85, 0.44) !important;
    color: #ffe1a3 !important;
}

body[data-theme="black"] .web-app-pill-row .status-pill.success {
    background: rgba(120, 220, 164, 0.13) !important;
    border-color: rgba(120, 220, 164, 0.34) !important;
    color: #c9f7de !important;
}

body[data-theme="black"] #pwaBadgeStatus.status-pill.muted {
    background: rgba(130, 170, 148, 0.12) !important;
    border-color: rgba(130, 170, 148, 0.28) !important;
    color: #b8c8bf !important;
}

body[data-theme="black"] #pwaNotificationStatus.status-pill.muted {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #b9b9bd !important;
}

body[data-theme="white"] .web-app-pill-row .status-pill {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    box-shadow: none !important;
}

body[data-theme="white"] .web-app-pill-row .status-pill.warning {
    background: #fff3d7 !important;
    border-color: #c89b32 !important;
    color: #5f4308 !important;
}

body[data-theme="white"] .web-app-pill-row .status-pill.success {
    background: #edf8f1 !important;
    border-color: #8fbea1 !important;
    color: #245239 !important;
}

body[data-theme="white"] #pwaBadgeStatus.status-pill.muted {
    background: #f0f5f2 !important;
    border-color: #b9c9c0 !important;
    color: #45584e !important;
}

body[data-theme="white"] #pwaNotificationStatus.status-pill.muted {
    background: #f4f4f4 !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #555555 !important;
}

body[data-theme="white"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab {
    background: #f4f4f4 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab i,
body[data-theme="white"] .mobile-bottom-tab.section-tab span {
    color: #111111 !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab:hover {
    background: #ececec !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active i,
body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active span {
    color: #ffffff !important;
}

body[data-theme="white"] .mobile-bottom-tab.has-unread:not(.is-active) {
    background: #ededed !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="white"] .mobile-bottom-badge {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body[data-theme="black"] .mobile-bottom-nav {
    background: rgba(10, 10, 10, 0.97) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab {
    background: #161616 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab i,
body[data-theme="black"] .mobile-bottom-tab.section-tab span {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab:hover {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active i,
body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active span {
    color: #080808 !important;
}

body[data-theme="black"] .mobile-bottom-tab.has-unread:not(.is-active) {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="black"] .mobile-bottom-badge {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    box-shadow: none !important;
}

/* Final neutral polish for black/white themes. */
body[data-theme="white"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
}

body[data-theme="black"] .mobile-bottom-nav {
    background: rgba(10, 10, 10, 0.97) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab,
body[data-theme="black"] .mobile-bottom-tab.section-tab {
    border-radius: calc(16px * var(--tgmt-mobile-ui-scale)) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab {
    background: #f4f4f4 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111111 !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab {
    background: #161616 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f4f4f5 !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab i,
body[data-theme="white"] .mobile-bottom-tab.section-tab span {
    color: #111111 !important;
}

body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active i,
body[data-theme="white"] .mobile-bottom-tab.section-tab.is-active span {
    color: #ffffff !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab i,
body[data-theme="black"] .mobile-bottom-tab.section-tab span {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active i,
body[data-theme="black"] .mobile-bottom-tab.section-tab.is-active span {
    color: #080808 !important;
}

body[data-theme="white"] .inbox-loading-bubble {
    background: #f2f2f2 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #111111 !important;
    border-color: #111111 !important;
}

body[data-theme="white"] .inbox-loading-bubble::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent) !important;
}

body[data-theme="white"] .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="white"] .inbox-loading-row.is-out .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="black"] .inbox-loading-bubble {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36) !important;
}

body[data-theme="black"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #2a2a2a !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

body[data-theme="black"] .inbox-loading-bubble::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent) !important;
}

body[data-theme="black"] .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme="white"] .inbox-message-list {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="black"] .inbox-message-list {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="white"] .inbox-message.in .inbox-message-bubble {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
}

body[data-theme="white"] .inbox-message.out .inbox-message-bubble {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="black"] .inbox-message.in .inbox-message-bubble {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-message.out .inbox-message-bubble {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="white"] .inbox-message.in .inbox-message-body,
body[data-theme="white"] .inbox-message.in .inbox-message-time {
    color: #111111 !important;
}

body[data-theme="white"] .inbox-message.out .inbox-message-body,
body[data-theme="white"] .inbox-message.out .inbox-message-time,
body[data-theme="white"] .inbox-message.out .inbox-message-status {
    color: #ffffff !important;
}

body[data-theme="black"] .inbox-message.in .inbox-message-body,
body[data-theme="black"] .inbox-message.in .inbox-message-time {
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-message.out .inbox-message-body,
body[data-theme="black"] .inbox-message.out .inbox-message-time,
body[data-theme="black"] .inbox-message.out .inbox-message-status {
    color: #080808 !important;
}

body[data-theme="white"] .inbox-day-divider span,
body[data-theme="white"] .inbox-unread-divider span,
body[data-theme="white"] #inboxThreadMeta.status-pill {
    background: #f0f0f0 !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-day-divider span,
body[data-theme="black"] .inbox-unread-divider span,
body[data-theme="black"] #inboxThreadMeta.status-pill {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-unread-divider::before,
body[data-theme="white"] .inbox-unread-divider::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.18)) !important;
}

body[data-theme="black"] .inbox-unread-divider::before,
body[data-theme="black"] .inbox-unread-divider::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18)) !important;
}

body[data-theme="white"] .inbox-thread-menu,
body[data-theme="white"] .inbox-message-menu,
body[data-theme="white"] .inbox-message-menu-actions {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.26) !important;
    color: #111111 !important;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.08),
        0 18px 38px rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="black"] .inbox-thread-menu,
body[data-theme="black"] .inbox-message-menu,
body[data-theme="black"] .inbox-message-menu-actions {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f4f4f5 !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.58) !important;
}

body[data-theme="white"] .inbox-thread-menu-item,
body[data-theme="white"] .inbox-message-menu-item,
body[data-theme="white"] .inbox-message-menu-icon,
body[data-theme="white"] .inbox-message-menu-label {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-thread-menu-item,
body[data-theme="black"] .inbox-message-menu-item,
body[data-theme="black"] .inbox-message-menu-icon,
body[data-theme="black"] .inbox-message-menu-label {
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-thread-menu-item:hover,
body[data-theme="white"] .inbox-message-menu-item:hover {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="black"] .inbox-thread-menu-item:hover,
body[data-theme="black"] .inbox-message-menu-item:hover {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="white"] .inbox-thread-menu-item.danger,
body[data-theme="white"] .inbox-message-menu-item.danger {
    color: #9f1d1d !important;
}

body[data-theme="black"] .inbox-thread-menu-item.danger,
body[data-theme="black"] .inbox-message-menu-item.danger {
    color: #ffb7b7 !important;
}

body[data-theme="white"] .accounts-browser-avatar.has-image,
body[data-theme="white"] .inbox-thread-avatar.has-image,
body[data-theme="white"] .inbox-chat-avatar.has-image,
body[data-theme="white"] .inbox-message-avatar.has-image,
body[data-theme="black"] .accounts-browser-avatar.has-image,
body[data-theme="black"] .inbox-thread-avatar.has-image,
body[data-theme="black"] .inbox-chat-avatar.has-image,
body[data-theme="black"] .inbox-message-avatar.has-image {
    background-image: var(--avatar-image) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    color: transparent !important;
}

body[data-theme="white"] .accounts-browser-geo-badge:not(.is-empty),
body[data-theme="black"] .accounts-browser-geo-badge:not(.is-empty) {
    background-image: var(--flag-image) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body[data-theme="white"] .accounts-browser-geo-badge.is-empty {
    background: #eeeeee !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
}

body[data-theme="black"] .accounts-browser-geo-badge.is-empty {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-settings-toggle input:checked,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked {
    background: #111111 !important;
    border-color: #111111 !important;
}

body[data-theme="white"] .inbox-settings-toggle input:checked::before,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked::before {
    background: #ffffff !important;
}

body[data-theme="black"] .inbox-settings-toggle input:checked,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-settings-toggle input:checked::before,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked::before {
    background: #080808 !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-card,
body[data-theme="white"] #accountPickerModal .account-picker-modal-head,
body[data-theme="white"] #accountPickerModal .account-picker-modal-body,
body[data-theme="white"] #accountPickerModal .account-picker-modal-terminal,
body[data-theme="white"] #accountPickerModal .account-picker-modal-folderbar,
body[data-theme="white"] #accountPickerModal .account-picker-modal-panel,
body[data-theme="white"] #accountPickerModal .account-picker-modal-panel-head,
body[data-theme="white"] #accountPickerModal .account-picker-browser-toolbar,
body[data-theme="white"] #accountPickerModal .account-picker-modal-table-meta,
body[data-theme="white"] #accountPickerModal .accounts-browser-table.accounts-command-table thead,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row:nth-child(even) {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] #accountPickerModal .account-picker-modal-card,
body[data-theme="black"] #accountPickerModal .account-picker-modal-head,
body[data-theme="black"] #accountPickerModal .account-picker-modal-body,
body[data-theme="black"] #accountPickerModal .account-picker-modal-terminal,
body[data-theme="black"] #accountPickerModal .account-picker-modal-folderbar,
body[data-theme="black"] #accountPickerModal .account-picker-modal-panel,
body[data-theme="black"] #accountPickerModal .account-picker-modal-panel-head,
body[data-theme="black"] #accountPickerModal .account-picker-browser-toolbar,
body[data-theme="black"] #accountPickerModal .account-picker-modal-table-meta,
body[data-theme="black"] #accountPickerModal .accounts-browser-table.accounts-command-table thead,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row:nth-child(even) {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-folder-label,
body[data-theme="white"] #accountPickerModal .account-picker-modal-panel-caption,
body[data-theme="white"] #accountPickerModal .account-picker-modal-table-name,
body[data-theme="white"] #accountPickerModal .accounts-browser-table.accounts-command-table th,
body[data-theme="white"] #accountPickerModal .accounts-browser-table.accounts-command-table td,
body[data-theme="white"] #accountPickerModal .accounts-browser-identity-copy strong,
body[data-theme="white"] #accountPickerModal .accounts-browser-identity-copy span,
body[data-theme="white"] #accountPickerModal .accounts-browser-phone-cell,
body[data-theme="white"] #accountPickerModal .accounts-browser-name-cell {
    color: #111111 !important;
}

body[data-theme="black"] #accountPickerModal .account-picker-modal-folder-label,
body[data-theme="black"] #accountPickerModal .account-picker-modal-panel-caption,
body[data-theme="black"] #accountPickerModal .account-picker-modal-table-name,
body[data-theme="black"] #accountPickerModal .accounts-browser-table.accounts-command-table th,
body[data-theme="black"] #accountPickerModal .accounts-browser-table.accounts-command-table td,
body[data-theme="black"] #accountPickerModal .accounts-browser-identity-copy strong,
body[data-theme="black"] #accountPickerModal .accounts-browser-identity-copy span,
body[data-theme="black"] #accountPickerModal .accounts-browser-phone-cell,
body[data-theme="black"] #accountPickerModal .accounts-browser-name-cell {
    color: #f4f4f5 !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-apply,
body[data-theme="white"] #accountPickerModal .account-picker-launch-btn {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-apply *,
body[data-theme="white"] #accountPickerModal .account-picker-launch-btn * {
    color: #ffffff !important;
}

body[data-theme="black"] #accountPickerModal .account-picker-modal-apply,
body[data-theme="black"] #accountPickerModal .account-picker-launch-btn {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] #accountPickerModal .account-picker-modal-apply *,
body[data-theme="black"] #accountPickerModal .account-picker-launch-btn * {
    color: #080808 !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-close,
body[data-theme="black"] #accountPickerModal .account-picker-modal-close {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

body[data-theme="white"] #accountPickerModal .account-picker-modal-terminal-dots i,
body[data-theme="white"] #accountPickerModal .account-picker-modal-panel-dots i {
    background: #111111 !important;
}

body[data-theme="black"] #accountPickerModal .account-picker-modal-terminal-dots i,
body[data-theme="black"] #accountPickerModal .account-picker-modal-panel-dots i {
    background: #f4f4f5 !important;
}

body[data-theme="white"] .accounts-browser-identity-copy .accounts-browser-username.has-username {
    color: #111111 !important;
}

body[data-theme="black"] .accounts-browser-identity-copy .accounts-browser-username.has-username {
    color: #f4f4f5 !important;
}

body[data-theme="white"] #accountPickerModal .accounts-command-row.is-selected,
body[data-theme="white"] #accountPickerModal .accounts-command-row.is-bulk-selected {
    background: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected:nth-child(even),
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected:nth-child(even),
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected:nth-child(even) {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    box-shadow: inset 5px 0 0 #8f8f8f !important;
}

body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected td,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected td,
body[data-theme="white"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected td {
    background: #111111 !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

body[data-theme="black"] #accountPickerModal .accounts-command-row.is-selected,
body[data-theme="black"] #accountPickerModal .accounts-command-row.is-bulk-selected {
    background: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected:nth-child(even),
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected:nth-child(even),
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected:nth-child(even) {
    background: #f4f4f5 !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #080808 !important;
    box-shadow: inset 5px 0 0 #777777 !important;
}

body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected td,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-bulk-selected td,
body[data-theme="black"] #accountPickerModal .accounts-browser-table .accounts-command-row.is-selected.is-bulk-selected td {
    background: #f4f4f5 !important;
    border-bottom-color: rgba(0, 0, 0, 0.12) !important;
    color: #080808 !important;
}

body[data-theme="white"] #accountPickerModal .accounts-command-row.is-selected *,
body[data-theme="white"] #accountPickerModal .accounts-command-row.is-bulk-selected * {
    color: #ffffff !important;
}

body[data-theme="black"] #accountPickerModal .accounts-command-row.is-selected *,
body[data-theme="black"] #accountPickerModal .accounts-command-row.is-bulk-selected * {
    color: #080808 !important;
}

body[data-theme="white"] .inbox-settings-modal-card .settings-filter-column textarea,
body[data-theme="white"] .inbox-settings-modal-card .field-block,
body[data-theme="white"] .inbox-settings-depth-box,
body[data-theme="white"] .inbox-settings-avatar-box {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-settings-modal-card .settings-filter-column textarea,
body[data-theme="black"] .inbox-settings-modal-card .field-block,
body[data-theme="black"] .inbox-settings-depth-box,
body[data-theme="black"] .inbox-settings-avatar-box {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-settings-modal-card .settings-filter-column textarea:focus,
body[data-theme="white"] .inbox-settings-modal-card .settings-depth-stepper:focus-within {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="black"] .inbox-settings-modal-card .settings-filter-column textarea:focus,
body[data-theme="black"] .inbox-settings-modal-card .settings-depth-stepper:focus-within {
    border-color: #f4f4f5 !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="white"] .inbox-settings-head-actions .btn-primary {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="black"] .inbox-settings-head-actions .btn-primary {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="white"] .inbox-settings-head-actions .btn-secondary {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-settings-head-actions .btn-secondary {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-settings-modal-card .helper-text,
body[data-theme="white"] .inbox-settings-modal-card .settings-depth-copy .helper-text,
body[data-theme="white"] .inbox-settings-modal-card .field-block span {
    color: #4b4b4b !important;
}

body[data-theme="black"] .inbox-settings-modal-card .helper-text,
body[data-theme="black"] .inbox-settings-modal-card .settings-depth-copy .helper-text,
body[data-theme="black"] .inbox-settings-modal-card .field-block span {
    color: #b9b9bd !important;
}

body[data-theme="white"] .inbox-chat-theme-box,
body[data-theme="white"] .inbox-chat-theme-option {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-chat-theme-box,
body[data-theme="black"] .inbox-chat-theme-option {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-chat-theme-option:hover,
body[data-theme="white"] .inbox-chat-theme-option:focus-visible,
body[data-theme="white"] .inbox-chat-theme-option.is-active {
    border-color: #111111 !important;
    background: #f1f1f1 !important;
}

body[data-theme="black"] .inbox-chat-theme-option:hover,
body[data-theme="black"] .inbox-chat-theme-option:focus-visible,
body[data-theme="black"] .inbox-chat-theme-option.is-active {
    border-color: #f4f4f5 !important;
    background: #202020 !important;
}

body[data-theme="white"] .inbox-settings-toggle input,
body[data-theme="white"] .toggle-chip input[type="checkbox"] {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.24) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="white"] .inbox-settings-toggle input::before,
body[data-theme="white"] .toggle-chip input[type="checkbox"]::before {
    background: #eeeeee !important;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body[data-theme="black"] .inbox-settings-toggle input,
body[data-theme="black"] .toggle-chip input[type="checkbox"] {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32) !important;
}

body[data-theme="black"] .inbox-settings-toggle input::before,
body[data-theme="black"] .toggle-chip input[type="checkbox"]::before {
    background: #d8d8d8 !important;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

body[data-theme="white"] .inbox-settings-toggle input:checked,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked {
    background: #111111 !important;
    border-color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-settings-toggle input:checked,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .status-pill.warning,
body[data-theme="white"] .web-app-pill-row .status-pill.warning,
body[data-theme="black"] .status-pill.warning,
body[data-theme="black"] .web-app-pill-row .status-pill.warning {
    background: rgba(112, 52, 50, 0.34) !important;
    border-color: rgba(255, 126, 118, 0.56) !important;
    color: #ffd8d3 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .status-pill.warning,
body[data-theme="white"] .web-app-pill-row .status-pill.warning {
    background: #f3dddd !important;
    border-color: #a45752 !important;
    color: #6e2825 !important;
}

body[data-inbox-chat-theme="emerald"] .inbox-message-list {
    background:
        linear-gradient(135deg, rgba(61, 175, 116, 0.08) 25%, transparent 25%) 0 0 / 34px 34px,
        linear-gradient(315deg, rgba(144, 255, 202, 0.06) 25%, transparent 25%) 0 0 / 34px 34px,
        radial-gradient(circle at 16% 18%, rgba(91, 230, 157, 0.2), transparent 30%),
        radial-gradient(circle at 88% 84%, rgba(34, 118, 73, 0.28), transparent 34%),
        linear-gradient(180deg, #0b2117, #07130e) !important;
    border-color: rgba(105, 240, 171, 0.12) !important;
}

body[data-inbox-chat-theme="midnight"] .inbox-message-list {
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        radial-gradient(circle at 75% 20%, rgba(85, 112, 255, 0.18), transparent 30%),
        radial-gradient(circle at 22% 82%, rgba(38, 205, 150, 0.12), transparent 32%),
        #07080d !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-inbox-chat-theme="aurora"] .inbox-message-list {
    background:
        radial-gradient(circle at 18% 20%, rgba(86, 230, 168, 0.28), transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(146, 112, 255, 0.25), transparent 34%),
        radial-gradient(circle at 45% 98%, rgba(255, 183, 111, 0.14), transparent 36%),
        linear-gradient(145deg, #0d1418, #15101f) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-inbox-chat-theme="paper"] .inbox-message-list {
    background:
        radial-gradient(circle, rgba(0, 0, 0, 0.055) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 42%),
        linear-gradient(180deg, #f2efe7, #ddd6ca) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-inbox-chat-theme="mono"] .inbox-message-list {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%) 0 0 / 28px 28px,
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(145deg, #151515, #2b2b2b) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-inbox-chat-theme="paper"] .inbox-day-divider span,
body[data-inbox-chat-theme="paper"] .inbox-unread-divider span {
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #24211d !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab {
    background: #f4f4f4 !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab:hover {
    background: #ececec !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab .section-tab-icon {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab-badge {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-badge {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab {
    background: #151515 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab:hover {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab .section-tab-icon {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon {
    background: #080808 !important;
    border-color: #080808 !important;
    color: #ffffff !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab-badge {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    color: #080808 !important;
    font-weight: 900 !important;
}

body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-badge {
    background: #080808 !important;
    border-color: #080808 !important;
    color: #ffffff !important;
}

body[data-theme="white"] .inbox-appearance-launch-box,
body[data-theme="white"] .inbox-skeleton-theme-box,
body[data-theme="white"] .inbox-skeleton-theme-option {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-appearance-launch-box,
body[data-theme="black"] .inbox-skeleton-theme-box,
body[data-theme="black"] .inbox-skeleton-theme-option {
    background: #111111 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-skeleton-theme-option:hover,
body[data-theme="white"] .inbox-skeleton-theme-option:focus-visible,
body[data-theme="white"] .inbox-skeleton-theme-option.is-active {
    border-color: #111111 !important;
    background: #f1f1f1 !important;
}

body[data-theme="black"] .inbox-skeleton-theme-option:hover,
body[data-theme="black"] .inbox-skeleton-theme-option:focus-visible,
body[data-theme="black"] .inbox-skeleton-theme-option.is-active {
    border-color: #f4f4f5 !important;
    background: #202020 !important;
}

body[data-inbox-skeleton="neutral"] .inbox-loading-bubble {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-inbox-skeleton="neutral"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #2b2b2b !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body[data-inbox-skeleton="neutral"] .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.14) !important;
}

body[data-inbox-skeleton="contrast"] .inbox-loading-bubble {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
}

body[data-inbox-skeleton="contrast"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #111111 !important;
    border-color: #111111 !important;
}

body[data-inbox-skeleton="contrast"] .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.18) !important;
}

body[data-inbox-skeleton="contrast"] .inbox-loading-row.is-out .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.24) !important;
}

body[data-inbox-skeleton="minimal"] .inbox-loading-bubble {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body[data-inbox-skeleton="minimal"] .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.16) !important;
}

body[data-theme="white"][data-inbox-skeleton="minimal"] .inbox-loading-bubble {
    border-color: rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="white"][data-inbox-skeleton="minimal"] .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.16) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="midnight"] .inbox-loading-bubble {
    background: #111522 !important;
    border-color: rgba(130, 150, 255, 0.2) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="midnight"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #1d2440 !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="aurora"] .inbox-loading-bubble {
    background: linear-gradient(135deg, rgba(37, 91, 79, 0.92), rgba(37, 28, 64, 0.94)) !important;
    border-color: rgba(178, 135, 255, 0.22) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="aurora"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: linear-gradient(135deg, rgba(58, 142, 108, 0.9), rgba(76, 54, 132, 0.92)) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="paper"] .inbox-loading-bubble {
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="paper"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #26231f !important;
    border-color: #26231f !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="paper"] .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.14) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="paper"] .inbox-loading-row.is-out .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.24) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="mono"] .inbox-loading-bubble {
    background: #1b1b1b !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="mono"] .inbox-loading-row.is-out .inbox-loading-bubble {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
}

body[data-inbox-skeleton="match"][data-inbox-chat-theme="mono"] .inbox-loading-row.is-out .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.18) !important;
}

body[data-inbox-chat-theme="emerald"] {
    --inbox-theme-list-bg:
        linear-gradient(135deg, rgba(61, 175, 116, 0.08) 25%, transparent 25%) 0 0 / 34px 34px,
        linear-gradient(315deg, rgba(144, 255, 202, 0.06) 25%, transparent 25%) 0 0 / 34px 34px,
        radial-gradient(circle at 16% 18%, rgba(91, 230, 157, 0.2), transparent 30%),
        radial-gradient(circle at 88% 84%, rgba(34, 118, 73, 0.28), transparent 34%),
        linear-gradient(180deg, #0b2117, #07130e);
    --inbox-theme-border: rgba(105, 240, 171, 0.12);
    --inbox-theme-in-bg: linear-gradient(180deg, #0d2b1d, #0a1e15);
    --inbox-theme-out-bg: linear-gradient(180deg, #1f6b45, #185136);
    --inbox-theme-in-text: #e8fff2;
    --inbox-theme-out-text: #f4fff8;
    --inbox-theme-loading-in: #0d2b1d;
    --inbox-theme-loading-out: #1f6b45;
    --inbox-theme-loading-line: rgba(180, 245, 210, 0.2);
}

body[data-inbox-chat-theme="midnight"] {
    --inbox-theme-list-bg:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        radial-gradient(circle at 75% 20%, rgba(85, 112, 255, 0.18), transparent 30%),
        radial-gradient(circle at 22% 82%, rgba(38, 205, 150, 0.12), transparent 32%),
        #07080d;
    --inbox-theme-border: rgba(255, 255, 255, 0.1);
    --inbox-theme-in-bg: #111522;
    --inbox-theme-out-bg: #1d2440;
    --inbox-theme-in-text: #edf0ff;
    --inbox-theme-out-text: #f4f6ff;
    --inbox-theme-loading-in: #111522;
    --inbox-theme-loading-out: #1d2440;
    --inbox-theme-loading-line: rgba(205, 212, 255, 0.18);
}

body[data-inbox-chat-theme="aurora"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 20%, rgba(86, 230, 168, 0.28), transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(146, 112, 255, 0.25), transparent 34%),
        radial-gradient(circle at 45% 98%, rgba(255, 183, 111, 0.14), transparent 36%),
        linear-gradient(145deg, #0d1418, #15101f);
    --inbox-theme-border: rgba(255, 255, 255, 0.1);
    --inbox-theme-in-bg: linear-gradient(135deg, rgba(37, 91, 79, 0.92), rgba(37, 28, 64, 0.94));
    --inbox-theme-out-bg: linear-gradient(135deg, rgba(58, 142, 108, 0.9), rgba(76, 54, 132, 0.92));
    --inbox-theme-in-text: #f2fff8;
    --inbox-theme-out-text: #fff7ff;
    --inbox-theme-loading-in: linear-gradient(135deg, rgba(37, 91, 79, 0.92), rgba(37, 28, 64, 0.94));
    --inbox-theme-loading-out: linear-gradient(135deg, rgba(58, 142, 108, 0.9), rgba(76, 54, 132, 0.92));
    --inbox-theme-loading-line: rgba(235, 222, 255, 0.2);
}

body[data-inbox-chat-theme="paper"] {
    --inbox-theme-list-bg:
        radial-gradient(circle, rgba(0, 0, 0, 0.055) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 42%),
        linear-gradient(180deg, #f2efe7, #ddd6ca);
    --inbox-theme-border: rgba(0, 0, 0, 0.12);
    --inbox-theme-in-bg: rgba(255, 255, 255, 0.88);
    --inbox-theme-out-bg: #26231f;
    --inbox-theme-in-text: #24211d;
    --inbox-theme-out-text: #fff9ee;
    --inbox-theme-loading-in: rgba(255, 255, 255, 0.86);
    --inbox-theme-loading-out: #26231f;
    --inbox-theme-loading-line: rgba(0, 0, 0, 0.14);
}

body[data-inbox-chat-theme="mono"] {
    --inbox-theme-list-bg:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%) 0 0 / 28px 28px,
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(145deg, #151515, #2b2b2b);
    --inbox-theme-border: rgba(255, 255, 255, 0.12);
    --inbox-theme-in-bg: #1b1b1b;
    --inbox-theme-out-bg: #f4f4f5;
    --inbox-theme-in-text: #f4f4f5;
    --inbox-theme-out-text: #080808;
    --inbox-theme-loading-in: #1b1b1b;
    --inbox-theme-loading-out: #f4f4f5;
    --inbox-theme-loading-line: rgba(255, 255, 255, 0.16);
}

body[data-inbox-chat-theme="ocean"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 76% 22%, rgba(122, 220, 255, 0.22), transparent 30%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, #082331, #061820);
    --inbox-theme-border: rgba(126, 215, 246, 0.16);
    --inbox-theme-in-bg: #0b3442;
    --inbox-theme-out-bg: #126478;
    --inbox-theme-in-text: #e8fbff;
    --inbox-theme-out-text: #effcff;
    --inbox-theme-loading-in: #0b3442;
    --inbox-theme-loading-out: #126478;
    --inbox-theme-loading-line: rgba(190, 242, 255, 0.2);
}

body[data-inbox-chat-theme="sunset"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 18%, rgba(255, 198, 119, 0.26), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(244, 86, 112, 0.22), transparent 34%),
        linear-gradient(180deg, #301515, #160c0c);
    --inbox-theme-border: rgba(255, 159, 116, 0.16);
    --inbox-theme-in-bg: #3d201b;
    --inbox-theme-out-bg: #7a3a25;
    --inbox-theme-in-text: #fff0e4;
    --inbox-theme-out-text: #fff4ec;
    --inbox-theme-loading-in: #3d201b;
    --inbox-theme-loading-out: #7a3a25;
    --inbox-theme-loading-line: rgba(255, 215, 190, 0.2);
}

body[data-inbox-chat-theme="lavender"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 24% 20%, rgba(198, 174, 255, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 26px 26px,
        linear-gradient(180deg, #20172f, #120d1c);
    --inbox-theme-border: rgba(203, 177, 255, 0.16);
    --inbox-theme-in-bg: #2a2041;
    --inbox-theme-out-bg: #563e7d;
    --inbox-theme-in-text: #f7f0ff;
    --inbox-theme-out-text: #fff7ff;
    --inbox-theme-loading-in: #2a2041;
    --inbox-theme-loading-out: #563e7d;
    --inbox-theme-loading-line: rgba(235, 222, 255, 0.2);
}

body[data-inbox-chat-theme="graphite"] {
    --inbox-theme-list-bg:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%) 0 0 / 26px 26px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.16) 25%, transparent 25%) 0 0 / 26px 26px,
        linear-gradient(180deg, #121212, #080808);
    --inbox-theme-border: rgba(255, 255, 255, 0.12);
    --inbox-theme-in-bg: #1d1d1d;
    --inbox-theme-out-bg: #3a3a3a;
    --inbox-theme-in-text: #f4f4f5;
    --inbox-theme-out-text: #ffffff;
    --inbox-theme-loading-in: #1d1d1d;
    --inbox-theme-loading-out: #3a3a3a;
    --inbox-theme-loading-line: rgba(255, 255, 255, 0.16);
}

body[data-inbox-chat-theme="forest"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 20% 20%, rgba(161, 222, 112, 0.2), transparent 32%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 3px, transparent 3px 18px),
        linear-gradient(180deg, #0b1d11, #07130b);
    --inbox-theme-border: rgba(164, 225, 116, 0.14);
    --inbox-theme-in-bg: #132d18;
    --inbox-theme-out-bg: #2d5a28;
    --inbox-theme-in-text: #f1ffe9;
    --inbox-theme-out-text: #f7fff1;
    --inbox-theme-loading-in: #132d18;
    --inbox-theme-loading-out: #2d5a28;
    --inbox-theme-loading-line: rgba(220, 255, 190, 0.18);
}

body[data-inbox-chat-theme="ice"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.62), transparent 30%),
        linear-gradient(135deg, rgba(90, 160, 210, 0.13) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(180deg, #dcecf2, #b9d1dc);
    --inbox-theme-border: rgba(58, 108, 135, 0.18);
    --inbox-theme-in-bg: rgba(255, 255, 255, 0.88);
    --inbox-theme-out-bg: #245a70;
    --inbox-theme-in-text: #17313b;
    --inbox-theme-out-text: #f1fbff;
    --inbox-theme-loading-in: rgba(255, 255, 255, 0.86);
    --inbox-theme-loading-out: #245a70;
    --inbox-theme-loading-line: rgba(20, 80, 110, 0.18);
}

body[data-inbox-chat-theme="rose"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 24% 18%, rgba(255, 152, 190, 0.22), transparent 32%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, #2a111b, #13080d);
    --inbox-theme-border: rgba(255, 152, 190, 0.16);
    --inbox-theme-in-bg: #361925;
    --inbox-theme-out-bg: #80334e;
    --inbox-theme-in-text: #ffeef5;
    --inbox-theme-out-text: #fff5f8;
    --inbox-theme-loading-in: #361925;
    --inbox-theme-loading-out: #80334e;
    --inbox-theme-loading-line: rgba(255, 212, 228, 0.2);
}

body[data-inbox-chat-theme="mint"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 76% 20%, rgba(164, 255, 231, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 26px 26px,
        linear-gradient(180deg, #0b2926, #071715);
    --inbox-theme-border: rgba(164, 255, 231, 0.16);
    --inbox-theme-in-bg: #11352f;
    --inbox-theme-out-bg: #237266;
    --inbox-theme-in-text: #eafffa;
    --inbox-theme-out-text: #f3fffc;
    --inbox-theme-loading-in: #11352f;
    --inbox-theme-loading-out: #237266;
    --inbox-theme-loading-line: rgba(200, 255, 242, 0.2);
}

body[data-inbox-chat-theme="amber"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 20% 18%, rgba(255, 196, 92, 0.22), transparent 32%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 3px, transparent 3px 18px),
        linear-gradient(180deg, #2c1d0e, #130d07);
    --inbox-theme-border: rgba(255, 196, 92, 0.16);
    --inbox-theme-in-bg: #3b2814;
    --inbox-theme-out-bg: #7b4e19;
    --inbox-theme-in-text: #fff3de;
    --inbox-theme-out-text: #fff7e9;
    --inbox-theme-loading-in: #3b2814;
    --inbox-theme-loading-out: #7b4e19;
    --inbox-theme-loading-line: rgba(255, 226, 184, 0.2);
}

body[data-inbox-chat-theme="steel"] {
    --inbox-theme-list-bg:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(180deg, #141b23, #090d12);
    --inbox-theme-border: rgba(176, 205, 232, 0.14);
    --inbox-theme-in-bg: #1d2832;
    --inbox-theme-out-bg: #3e5367;
    --inbox-theme-in-text: #edf6ff;
    --inbox-theme-out-text: #f5fbff;
    --inbox-theme-loading-in: #1d2832;
    --inbox-theme-loading-out: #3e5367;
    --inbox-theme-loading-line: rgba(218, 236, 255, 0.18);
}

body[data-inbox-chat-theme="cyber"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 80% 20%, rgba(92, 225, 255, 0.24), transparent 30%),
        radial-gradient(circle at 20% 78%, rgba(195, 92, 255, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(180deg, #10182c, #090c17);
    --inbox-theme-border: rgba(122, 221, 255, 0.16);
    --inbox-theme-in-bg: #172039;
    --inbox-theme-out-bg: #29376d;
    --inbox-theme-in-text: #eef7ff;
    --inbox-theme-out-text: #f8f2ff;
    --inbox-theme-loading-in: #172039;
    --inbox-theme-loading-out: #29376d;
    --inbox-theme-loading-line: rgba(216, 236, 255, 0.2);
}

body[data-inbox-chat-theme="dusk"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 20% 20%, rgba(201, 150, 255, 0.2), transparent 34%),
        radial-gradient(circle at 78% 80%, rgba(255, 160, 116, 0.12), transparent 34%),
        linear-gradient(180deg, #21172e, #100b17);
    --inbox-theme-border: rgba(212, 179, 255, 0.16);
    --inbox-theme-in-bg: #2d213c;
    --inbox-theme-out-bg: #5f457b;
    --inbox-theme-in-text: #f8f0ff;
    --inbox-theme-out-text: #fff8ff;
    --inbox-theme-loading-in: #2d213c;
    --inbox-theme-loading-out: #5f457b;
    --inbox-theme-loading-line: rgba(232, 214, 255, 0.2);
}

body[data-inbox-chat-theme="sand"] {
    --inbox-theme-list-bg:
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(180deg, #2f281f, #15110d);
    --inbox-theme-border: rgba(220, 188, 145, 0.16);
    --inbox-theme-in-bg: #3a3026;
    --inbox-theme-out-bg: #756047;
    --inbox-theme-in-text: #fff4e7;
    --inbox-theme-out-text: #fff8ef;
    --inbox-theme-loading-in: #3a3026;
    --inbox-theme-loading-out: #756047;
    --inbox-theme-loading-line: rgba(255, 230, 198, 0.2);
}

body[data-inbox-chat-theme="berry"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 22% 20%, rgba(244, 121, 255, 0.2), transparent 32%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 15px),
        linear-gradient(180deg, #2b1732, #130a17);
    --inbox-theme-border: rgba(244, 165, 255, 0.16);
    --inbox-theme-in-bg: #361f3e;
    --inbox-theme-out-bg: #744180;
    --inbox-theme-in-text: #fdf0ff;
    --inbox-theme-out-text: #fff6ff;
    --inbox-theme-loading-in: #361f3e;
    --inbox-theme-loading-out: #744180;
    --inbox-theme-loading-line: rgba(247, 214, 255, 0.2);
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message-list {
    background: var(--inbox-theme-list-bg) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.in .inbox-message-bubble {
    background: var(--inbox-theme-in-bg) !important;
    border-color: var(--inbox-theme-border) !important;
    color: var(--inbox-theme-in-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.out .inbox-message-bubble,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message-bubble.is-pending {
    background: var(--inbox-theme-out-bg) !important;
    border-color: var(--inbox-theme-border) !important;
    color: var(--inbox-theme-out-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.in .inbox-message-body,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.in .inbox-message-time,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.in .inbox-message-status {
    color: var(--inbox-theme-in-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.out .inbox-message-body,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.out .inbox-message-time,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.out .inbox-message-status {
    color: var(--inbox-theme-out-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-bubble {
    background: var(--inbox-theme-loading-in) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-row.is-out .inbox-loading-bubble {
    background: var(--inbox-theme-loading-out) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-bubble span {
    background: var(--inbox-theme-loading-line) !important;
}

.inbox-chat-theme-preview.is-pine {
    background:
        linear-gradient(rgba(210, 255, 226, 0.04) 1px, transparent 1px) 0 0 / 14px 14px,
        radial-gradient(circle at 22% 24%, rgba(84, 205, 122, 0.24), transparent 30%),
        linear-gradient(145deg, #07140d, #17301f) !important;
}

.inbox-chat-theme-preview.is-clover {
    background:
        radial-gradient(circle at 18% 22%, rgba(148, 255, 155, 0.34), transparent 30%),
        radial-gradient(circle at 80% 76%, rgba(66, 202, 96, 0.24), transparent 32%),
        linear-gradient(145deg, #0c2410, #2f7b35) !important;
}

.inbox-chat-theme-preview.is-bamboo {
    background:
        repeating-linear-gradient(90deg, rgba(223, 255, 193, 0.08) 0 5px, transparent 5px 18px),
        linear-gradient(135deg, rgba(235, 255, 220, 0.06) 25%, transparent 25%) 0 0 / 20px 20px,
        linear-gradient(145deg, #172815, #607b31) !important;
}

.inbox-chat-theme-preview.is-neon {
    background:
        radial-gradient(circle at 76% 20%, rgba(92, 255, 157, 0.38), transparent 30%),
        radial-gradient(circle at 22% 78%, rgba(188, 255, 93, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(218, 255, 221, 0.08) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(145deg, #062014, #0e5b34) !important;
}

body[data-inbox-chat-theme="pine"] {
    --inbox-theme-list-bg:
        linear-gradient(rgba(210, 255, 226, 0.032) 1px, transparent 1px) 0 0 / 24px 24px,
        radial-gradient(circle at 22% 24%, rgba(84, 205, 122, 0.16), transparent 30%),
        linear-gradient(180deg, #07140d, #030806);
    --inbox-theme-border: rgba(118, 226, 145, 0.14);
    --inbox-theme-in-bg: #0c2013;
    --inbox-theme-out-bg: #21452c;
    --inbox-theme-in-text: #effff3;
    --inbox-theme-out-text: #f6fff8;
    --inbox-theme-loading-in: #0c2013;
    --inbox-theme-loading-out: #21452c;
    --inbox-theme-loading-line: rgba(190, 255, 204, 0.2);
}

body[data-inbox-chat-theme="clover"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 22%, rgba(148, 255, 155, 0.22), transparent 30%),
        radial-gradient(circle at 80% 76%, rgba(66, 202, 96, 0.18), transparent 32%),
        linear-gradient(180deg, #0c2410, #061007);
    --inbox-theme-border: rgba(148, 255, 155, 0.16);
    --inbox-theme-in-bg: #143019;
    --inbox-theme-out-bg: #2f7b35;
    --inbox-theme-in-text: #effff0;
    --inbox-theme-out-text: #f7fff6;
    --inbox-theme-loading-in: #143019;
    --inbox-theme-loading-out: #2f7b35;
    --inbox-theme-loading-line: rgba(210, 255, 209, 0.22);
}

body[data-inbox-chat-theme="bamboo"] {
    --inbox-theme-list-bg:
        repeating-linear-gradient(90deg, rgba(223, 255, 193, 0.055) 0 5px, transparent 5px 22px),
        linear-gradient(135deg, rgba(235, 255, 220, 0.045) 25%, transparent 25%) 0 0 / 26px 26px,
        linear-gradient(180deg, #172815, #0b1007);
    --inbox-theme-border: rgba(220, 255, 178, 0.14);
    --inbox-theme-in-bg: #24351a;
    --inbox-theme-out-bg: #607b31;
    --inbox-theme-in-text: #f8ffe9;
    --inbox-theme-out-text: #fbfff0;
    --inbox-theme-loading-in: #24351a;
    --inbox-theme-loading-out: #607b31;
    --inbox-theme-loading-line: rgba(236, 255, 202, 0.22);
}

body[data-inbox-chat-theme="neon"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 76% 20%, rgba(92, 255, 157, 0.26), transparent 30%),
        radial-gradient(circle at 22% 78%, rgba(188, 255, 93, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(218, 255, 221, 0.052) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(180deg, #062014, #03100a);
    --inbox-theme-border: rgba(98, 255, 162, 0.18);
    --inbox-theme-in-bg: #0a2e1b;
    --inbox-theme-out-bg: #0f7140;
    --inbox-theme-in-text: #eafff1;
    --inbox-theme-out-text: #effff5;
    --inbox-theme-loading-in: #0a2e1b;
    --inbox-theme-loading-out: #0f7140;
    --inbox-theme-loading-line: rgba(185, 255, 205, 0.24);
}

body[data-theme="green"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 18%, rgba(76, 226, 170, 0.16), transparent 30%),
        radial-gradient(circle at 84% 82%, rgba(26, 128, 78, 0.2), transparent 34%),
        linear-gradient(180deg, #0b2117, #07130e);
    --inbox-theme-border: rgba(105, 240, 171, 0.16);
    --inbox-theme-empty-bg: rgba(5, 22, 14, 0.34);
    --inbox-theme-empty-border: rgba(118, 240, 174, 0.14);
    --inbox-theme-empty-text: rgba(214, 244, 228, 0.76);
}

body[data-theme="green"] .inbox-message-list {
    background: var(--inbox-theme-list-bg) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-theme="green"] .inbox-message-list > .inbox-empty:only-child {
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, var(--inbox-theme-empty-bg), rgba(5, 18, 12, 0.22)) !important;
    border-color: var(--inbox-theme-empty-border) !important;
    color: var(--inbox-theme-empty-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) {
    --inbox-theme-empty-bg: rgba(5, 22, 14, 0.3);
    --inbox-theme-empty-border: var(--inbox-theme-border);
    --inbox-theme-empty-text: var(--inbox-theme-in-text);
}

body[data-inbox-chat-theme="paper"] .inbox-loading-row.is-out .inbox-loading-bubble span,
body[data-inbox-chat-theme="mono"] .inbox-loading-row.is-out .inbox-loading-bubble span,
body[data-inbox-chat-theme="ice"] .inbox-loading-row.is-out .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.24) !important;
}

body[data-theme="white"] .inbox-chat-account-badge {
    background: #f1f1f1 !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-chat-item.active .inbox-chat-account-badge {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.22) !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-chat-account-badge {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="black"] .inbox-chat-item.active .inbox-chat-account-badge {
    background: #080808 !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

body[data-theme="white"] #section-direct-inbox .inbox-chat-account-badge,
body[data-theme="white"] #section-direct-inbox .inbox-chat-item.active .inbox-chat-account-badge {
    background: #f3f3f3 !important;
    border-color: rgba(0, 0, 0, 0.24) !important;
    color: #111111 !important;
    box-shadow: none !important;
}

body[data-theme="black"] #section-direct-inbox .inbox-chat-account-badge,
body[data-theme="black"] #section-direct-inbox .inbox-chat-item.active .inbox-chat-account-badge {
    background: #1d1d1f !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #f4f4f5 !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-message-menu-item,
body[data-theme="white"] .inbox-thread-menu-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-menu-item,
body[data-theme="black"] .inbox-thread-menu-item {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-message-menu-icon,
body[data-theme="white"] .inbox-message-menu-label {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-menu-icon,
body[data-theme="black"] .inbox-message-menu-label {
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-message-menu-item:hover,
body[data-theme="white"] .inbox-thread-menu-item:hover {
    background: #ededed !important;
    border-color: rgba(0, 0, 0, 0.26) !important;
}

body[data-theme="black"] .inbox-message-menu-item:hover,
body[data-theme="black"] .inbox-thread-menu-item:hover {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

body[data-theme="white"] .inbox-message-menu-item.danger,
body[data-theme="white"] .inbox-thread-menu-item.danger {
    background: rgba(170, 32, 32, 0.06) !important;
    border-color: rgba(170, 32, 32, 0.28) !important;
    color: #9f1d1d !important;
}

body[data-theme="black"] .inbox-message-menu-item.danger,
body[data-theme="black"] .inbox-thread-menu-item.danger {
    background: rgba(255, 90, 90, 0.08) !important;
    border-color: rgba(255, 120, 120, 0.26) !important;
    color: #ffb7b7 !important;
}

body[data-theme="white"] .inbox-message-menu-item.danger:hover,
body[data-theme="white"] .inbox-thread-menu-item.danger:hover {
    background: rgba(170, 32, 32, 0.1) !important;
    border-color: rgba(170, 32, 32, 0.38) !important;
}

body[data-theme="black"] .inbox-message-menu-item.danger:hover,
body[data-theme="black"] .inbox-thread-menu-item.danger:hover {
    background: rgba(255, 90, 90, 0.13) !important;
    border-color: rgba(255, 120, 120, 0.34) !important;
}

body[data-theme="white"] .inbox-message-bubble.is-menu-target {
    border-color: rgba(0, 0, 0, 0.32) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12),
        0 14px 28px rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="black"] .inbox-message-bubble.is-menu-target {
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 18px 34px rgba(0, 0, 0, 0.48) !important;
}

body[data-theme="white"] .inbox-message-reply-preview {
    background: #f4f4f5 !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    border-left-color: #111111 !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-reply-preview {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    border-left-color: #f4f4f5 !important;
    color: #f4f4f5 !important;
}

body[data-theme="black"] .inbox-message.out .inbox-message-reply-preview {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
    border-left-color: #080808 !important;
    color: #080808 !important;
}

body[data-theme="white"] .inbox-message-reply-preview strong,
body[data-theme="white"] .inbox-message-reply-preview span,
body[data-theme="black"] .inbox-message.out .inbox-message-reply-preview strong,
body[data-theme="black"] .inbox-message.out .inbox-message-reply-preview span {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-reply-preview strong,
body[data-theme="black"] .inbox-message-reply-preview span {
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-link-card {
    background: #f2f2f3 !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-link-card {
    background: #1b1b1d !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-link-card:hover {
    background: #e9e9ea !important;
    border-color: rgba(0, 0, 0, 0.28) !important;
}

body[data-theme="black"] .inbox-link-card:hover {
    background: #242426 !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
}

body[data-theme="white"] .inbox-link-card-label,
body[data-theme="white"] .inbox-link-card-url,
body[data-theme="white"] .inbox-link-card-cta {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-link-card-label,
body[data-theme="black"] .inbox-link-card-url,
body[data-theme="black"] .inbox-link-card-cta {
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-message-sender {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-sender {
    color: #f4f4f5 !important;
}

body[data-theme="white"][data-inbox-chat-theme="system"] .inbox-message-list,
body[data-theme="white"]:not([data-inbox-chat-theme]) .inbox-message-list {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="black"][data-inbox-chat-theme="system"] .inbox-message-list,
body[data-theme="black"]:not([data-inbox-chat-theme]) .inbox-message-list {
    background: #0d0d0e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="white"] .inbox-message:hover .inbox-message-bubble,
body[data-theme="white"] .inbox-message:focus-within .inbox-message-bubble {
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="black"] .inbox-message:hover .inbox-message-bubble,
body[data-theme="black"] .inbox-message:focus-within .inbox-message-bubble {
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.42) !important;
}

body[data-theme="white"] .inbox-message-status,
body[data-theme="white"] .inbox-message-status.is-read {
    color: #ffffff !important;
}

body[data-theme="white"] .inbox-message.in .inbox-message-status,
body[data-theme="white"] .inbox-message.in .inbox-message-status.is-read {
    color: #111111 !important;
}

body[data-theme="black"] .inbox-message-status,
body[data-theme="black"] .inbox-message-status.is-read {
    color: #080808 !important;
}

body[data-theme="black"] .inbox-message.in .inbox-message-status,
body[data-theme="black"] .inbox-message.in .inbox-message-status.is-read {
    color: #f4f4f5 !important;
}

body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title-row,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title-main,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title-text,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-title-row strong,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-preview,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-meta,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-preview.is-incoming-preview,
body[data-theme="white"] .inbox-chat-item.active .inbox-chat-preview.is-outgoing-preview {
    color: #ffffff !important;
}

body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title-row,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title-main,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title-text,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-title-row strong,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-preview,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-meta,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-preview.is-incoming-preview,
body[data-theme="black"] .inbox-chat-item.active .inbox-chat-preview.is-outgoing-preview {
    color: #080808 !important;
}

body[data-theme="white"] .inbox-chat-item.active::before {
    background: #ffffff !important;
}

body[data-theme="black"] .inbox-chat-item.active::before {
    background: #080808 !important;
}

/* Final monochrome scrub: black/white themes must not leak green UI accents. */
body[data-theme="white"] {
    --mono-accent: #111111;
    --mono-accent-contrast: #ffffff;
    --mono-surface: #ffffff;
    --mono-surface-soft: #f4f4f4;
    --mono-surface-strong: #e9e9e9;
    --mono-text: #111111;
    --mono-muted: #585858;
    --mono-border: rgba(0, 0, 0, 0.16);
    --mono-border-strong: rgba(0, 0, 0, 0.28);
    --mono-shadow: rgba(0, 0, 0, 0.12);
}

body[data-theme="black"] {
    --mono-accent: #f4f4f5;
    --mono-accent-contrast: #080808;
    --mono-surface: #101011;
    --mono-surface-soft: #171718;
    --mono-surface-strong: #242426;
    --mono-text: #f4f4f5;
    --mono-muted: #b8b8bd;
    --mono-border: rgba(255, 255, 255, 0.14);
    --mono-border-strong: rgba(255, 255, 255, 0.28);
    --mono-shadow: rgba(0, 0, 0, 0.48);
}

body[data-theme="white"] .sidebar-action-secondary .sidebar-action-chip,
body[data-theme="white"] .sidebar-command-note,
body[data-theme="white"] .count-badge,
body[data-theme="white"] .status-pill.success,
body[data-theme="white"] .status-premium,
body[data-theme="white"] .section-tab-badge,
body[data-theme="white"] .mobile-bottom-badge,
body[data-theme="white"] .inbox-unread-pill,
body[data-theme="white"] .account-picker-launch-count,
body[data-theme="white"] .accounts-action-modal-badge.is-emerald,
body[data-theme="black"] .sidebar-action-secondary .sidebar-action-chip,
body[data-theme="black"] .sidebar-command-note,
body[data-theme="black"] .count-badge,
body[data-theme="black"] .status-pill.success,
body[data-theme="black"] .status-premium,
body[data-theme="black"] .section-tab-badge,
body[data-theme="black"] .mobile-bottom-badge,
body[data-theme="black"] .inbox-unread-pill,
body[data-theme="black"] .account-picker-launch-count,
body[data-theme="black"] .accounts-action-modal-badge.is-emerald {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border) !important;
    color: var(--mono-text) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .btn-primary,
body[data-theme="white"] .sidebar-action-primary,
body[data-theme="white"] .account-picker-launch-btn,
body[data-theme="white"] .accounts-action-option-btn.is-green,
body[data-theme="white"] .account-import-primary,
body[data-theme="white"] .inbox-settings-head-actions .btn-primary,
body[data-theme="black"] .btn-primary,
body[data-theme="black"] .sidebar-action-primary,
body[data-theme="black"] .account-picker-launch-btn,
body[data-theme="black"] .accounts-action-option-btn.is-green,
body[data-theme="black"] .account-import-primary,
body[data-theme="black"] .inbox-settings-head-actions .btn-primary {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    color: var(--mono-accent-contrast) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-action-primary *,
body[data-theme="white"] .account-picker-launch-btn *,
body[data-theme="black"] .sidebar-action-primary *,
body[data-theme="black"] .account-picker-launch-btn * {
    color: inherit !important;
}

body[data-theme="white"] input:focus,
body[data-theme="white"] textarea:focus,
body[data-theme="white"] select:focus,
body[data-theme="white"] .settings-depth-stepper:focus-within,
body[data-theme="white"] .inbox-settings-toggle input:focus-visible,
body[data-theme="white"] .toggle-chip input[type="checkbox"]:focus-visible,
body[data-theme="black"] input:focus,
body[data-theme="black"] textarea:focus,
body[data-theme="black"] select:focus,
body[data-theme="black"] .settings-depth-stepper:focus-within,
body[data-theme="black"] .inbox-settings-toggle input:focus-visible,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:focus-visible {
    border-color: var(--mono-border-strong) !important;
    outline-color: var(--mono-border-strong) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mono-accent) 10%, transparent) !important;
}

body[data-theme="white"] .settings-depth-arrow:hover,
body[data-theme="white"] .settings-depth-arrow:focus-visible,
body[data-theme="white"] .mobile-scale-btn:hover,
body[data-theme="white"] .app-theme-btn:hover,
body[data-theme="white"] .mobile-scale-btn.is-active,
body[data-theme="white"] .app-theme-btn.is-active,
body[data-theme="white"] .account-chip:hover,
body[data-theme="white"] .account-item:hover,
body[data-theme="white"] .account-item.active,
body[data-theme="black"] .settings-depth-arrow:hover,
body[data-theme="black"] .settings-depth-arrow:focus-visible,
body[data-theme="black"] .mobile-scale-btn:hover,
body[data-theme="black"] .app-theme-btn:hover,
body[data-theme="black"] .mobile-scale-btn.is-active,
body[data-theme="black"] .app-theme-btn.is-active,
body[data-theme="black"] .account-chip:hover,
body[data-theme="black"] .account-item:hover,
body[data-theme="black"] .account-item.active {
    background: var(--mono-surface-strong) !important;
    border-color: var(--mono-border-strong) !important;
    color: var(--mono-text) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked,
body[data-theme="white"] .inbox-settings-toggle input:checked,
body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked,
body[data-theme="black"] .inbox-settings-toggle input:checked {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .toggle-chip input[type="checkbox"]:checked::before,
body[data-theme="white"] .inbox-settings-toggle input:checked::before {
    background: #ffffff !important;
}

body[data-theme="black"] .toggle-chip input[type="checkbox"]:checked::before,
body[data-theme="black"] .inbox-settings-toggle input:checked::before {
    background: #080808 !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab,
body[data-theme="white"] .section-tab,
body[data-theme="white"] .section-tab-icon,
body[data-theme="white"] .mobile-bottom-nav,
body[data-theme="white"] .mobile-bottom-tab,
body[data-theme="black"] .sidebar-nav-panel .section-tab,
body[data-theme="black"] .section-tab,
body[data-theme="black"] .section-tab-icon,
body[data-theme="black"] .mobile-bottom-nav,
body[data-theme="black"] .mobile-bottom-tab {
    background: var(--mono-surface) !important;
    border-color: var(--mono-border) !important;
    color: var(--mono-text) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab:hover,
body[data-theme="white"] .section-tab:hover,
body[data-theme="white"] .mobile-bottom-tab:hover,
body[data-theme="black"] .sidebar-nav-panel .section-tab:hover,
body[data-theme="black"] .section-tab:hover,
body[data-theme="black"] .mobile-bottom-tab:hover {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border-strong) !important;
    color: var(--mono-text) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="white"] .section-tab.is-active,
body[data-theme="white"] .mobile-bottom-tab.is-active,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active,
body[data-theme="black"] .section-tab.is-active,
body[data-theme="black"] .mobile-bottom-tab.is-active {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    color: var(--mono-accent-contrast) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon,
body[data-theme="white"] .section-tab.is-active .section-tab-icon,
body[data-theme="white"] .mobile-bottom-tab.is-active .section-tab-icon,
body[data-theme="black"] .sidebar-nav-panel .section-tab.is-active .section-tab-icon,
body[data-theme="black"] .section-tab.is-active .section-tab-icon,
body[data-theme="black"] .mobile-bottom-tab.is-active .section-tab-icon {
    background: var(--mono-accent-contrast) !important;
    border-color: var(--mono-accent-contrast) !important;
    color: var(--mono-accent) !important;
}

body[data-theme="white"] .inbox-sidebar-card,
body[data-theme="white"] .inbox-thread-card,
body[data-theme="white"] .join-hero-card,
body[data-theme="white"] .join-hero-stat,
body[data-theme="white"] .join-settings-modal-card,
body[data-theme="white"] .join-settings-cluster,
body[data-theme="white"] .join-setting-row,
body[data-theme="white"] .spammer-hero-card,
body[data-theme="white"] .spammer-hero-stat,
body[data-theme="white"] .spammer-cluster,
body[data-theme="white"] .account-picker-launch-card,
body[data-theme="black"] .inbox-sidebar-card,
body[data-theme="black"] .inbox-thread-card,
body[data-theme="black"] .join-hero-card,
body[data-theme="black"] .join-hero-stat,
body[data-theme="black"] .join-settings-modal-card,
body[data-theme="black"] .join-settings-cluster,
body[data-theme="black"] .join-setting-row,
body[data-theme="black"] .spammer-hero-card,
body[data-theme="black"] .spammer-hero-stat,
body[data-theme="black"] .spammer-cluster,
body[data-theme="black"] .account-picker-launch-card {
    background: var(--mono-surface) !important;
    border-color: var(--mono-border) !important;
    color: var(--mono-text) !important;
    box-shadow: 0 18px 42px var(--mono-shadow) !important;
}

body[data-theme="white"] .spammer-hero-card::after,
body[data-theme="white"] .join-hero-card::before,
body[data-theme="white"] .spammer-hero-card::before,
body[data-theme="black"] .spammer-hero-card::after,
body[data-theme="black"] .join-hero-card::before,
body[data-theme="black"] .spammer-hero-card::before {
    background: transparent !important;
    opacity: 0 !important;
}

body[data-theme="white"] .inbox-thread-avatar,
body[data-theme="white"] .inbox-chat-avatar,
body[data-theme="white"] .inbox-message-avatar,
body[data-theme="white"] .photo-picker-shell,
body[data-theme="white"] .photo-picker-trigger,
body[data-theme="black"] .inbox-thread-avatar,
body[data-theme="black"] .inbox-chat-avatar,
body[data-theme="black"] .inbox-message-avatar,
body[data-theme="black"] .photo-picker-shell,
body[data-theme="black"] .photo-picker-trigger {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border) !important;
    color: var(--mono-text) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-thread-menu-btn.is-open,
body[data-theme="white"] .inbox-chat-item:hover,
body[data-theme="white"] .inbox-search-item:hover,
body[data-theme="white"] .inbox-message-menu-item:hover,
body[data-theme="white"] .inbox-thread-menu-item:hover,
body[data-theme="white"] .inbox-message-bubble.is-menu-target,
body[data-theme="white"] .inbox-message-bubble.is-reply-target,
body[data-theme="black"] .inbox-thread-menu-btn.is-open,
body[data-theme="black"] .inbox-chat-item:hover,
body[data-theme="black"] .inbox-search-item:hover,
body[data-theme="black"] .inbox-message-menu-item:hover,
body[data-theme="black"] .inbox-thread-menu-item:hover,
body[data-theme="black"] .inbox-message-bubble.is-menu-target,
body[data-theme="black"] .inbox-message-bubble.is-reply-target {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border-strong) !important;
    color: var(--mono-text) !important;
    box-shadow: 0 14px 28px var(--mono-shadow) !important;
}

body[data-theme="white"] .inbox-chat-item.active,
body[data-theme="black"] .inbox-chat-item.active {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    color: var(--mono-accent-contrast) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-chat-item.active::before,
body[data-theme="black"] .inbox-chat-item.active::before {
    background: var(--mono-accent-contrast) !important;
}

body[data-theme="white"] .inbox-chat-item.active *,
body[data-theme="black"] .inbox-chat-item.active * {
    color: var(--mono-accent-contrast) !important;
}

body[data-theme="white"] .inbox-chat-item.active .inbox-chat-account-badge {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.26) !important;
    color: #111111 !important;
}

body[data-theme="black"] .inbox-chat-item.active .inbox-chat-account-badge {
    background: #080808 !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

body[data-theme="white"] .inbox-message.out .inbox-message-bubble,
body[data-theme="black"] .inbox-message.out .inbox-message-bubble {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    color: var(--mono-accent-contrast) !important;
}

body[data-theme="white"] .inbox-message.out .inbox-message-bubble *,
body[data-theme="black"] .inbox-message.out .inbox-message-bubble * {
    color: var(--mono-accent-contrast) !important;
}

body[data-theme="white"][data-inbox-chat-theme="system"] .inbox-message-list,
body[data-theme="white"]:not([data-inbox-chat-theme]) .inbox-message-list {
    background: #ffffff !important;
    border-color: var(--mono-border) !important;
}

body[data-theme="black"][data-inbox-chat-theme="system"] .inbox-message-list,
body[data-theme="black"]:not([data-inbox-chat-theme]) .inbox-message-list {
    background: #0d0d0e !important;
    border-color: var(--mono-border) !important;
}

body[data-theme="white"][data-inbox-chat-theme="system"] .inbox-loading-bubble,
body[data-theme="white"]:not([data-inbox-chat-theme]) .inbox-loading-bubble,
body[data-theme="black"][data-inbox-chat-theme="system"] .inbox-loading-bubble,
body[data-theme="black"]:not([data-inbox-chat-theme]) .inbox-loading-bubble {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border) !important;
}

body[data-theme="white"][data-inbox-chat-theme="system"] .inbox-loading-row.is-out .inbox-loading-bubble,
body[data-theme="white"]:not([data-inbox-chat-theme]) .inbox-loading-row.is-out .inbox-loading-bubble,
body[data-theme="black"][data-inbox-chat-theme="system"] .inbox-loading-row.is-out .inbox-loading-bubble,
body[data-theme="black"]:not([data-inbox-chat-theme]) .inbox-loading-row.is-out .inbox-loading-bubble {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
}

body[data-theme="white"][data-inbox-chat-theme="system"] .inbox-loading-bubble span,
body[data-theme="white"]:not([data-inbox-chat-theme]) .inbox-loading-bubble span {
    background: rgba(0, 0, 0, 0.14) !important;
}

body[data-theme="black"][data-inbox-chat-theme="system"] .inbox-loading-bubble span,
body[data-theme="black"]:not([data-inbox-chat-theme]) .inbox-loading-bubble span {
    background: rgba(255, 255, 255, 0.18) !important;
}

body[data-theme="white"] .inbox-chat-theme-option:hover,
body[data-theme="white"] .inbox-chat-theme-option:focus-visible,
body[data-theme="white"] .inbox-chat-theme-option.is-active,
body[data-theme="white"] .inbox-skeleton-theme-option:hover,
body[data-theme="white"] .inbox-skeleton-theme-option:focus-visible,
body[data-theme="white"] .inbox-skeleton-theme-option.is-active,
body[data-theme="black"] .inbox-chat-theme-option:hover,
body[data-theme="black"] .inbox-chat-theme-option:focus-visible,
body[data-theme="black"] .inbox-chat-theme-option.is-active,
body[data-theme="black"] .inbox-skeleton-theme-option:hover,
body[data-theme="black"] .inbox-skeleton-theme-option:focus-visible,
body[data-theme="black"] .inbox-skeleton-theme-option.is-active {
    background: var(--mono-surface-strong) !important;
    border-color: var(--mono-border-strong) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-source-badge,
body[data-theme="black"] .inbox-source-badge {
    background: var(--mono-surface-soft) !important;
    border-color: var(--mono-border) !important;
    color: var(--mono-muted) !important;
    box-shadow: none !important;
}

body[data-theme="white"] .inbox-source-badge.is-live,
body[data-theme="white"] .inbox-source-badge.is-sync,
body[data-theme="black"] .inbox-source-badge.is-live,
body[data-theme="black"] .inbox-source-badge.is-sync {
    background: var(--mono-accent) !important;
    border-color: var(--mono-accent) !important;
    color: var(--mono-accent-contrast) !important;
}

body[data-theme="white"] .inbox-source-badge::before,
body[data-theme="black"] .inbox-source-badge::before {
    box-shadow: none !important;
}

body[data-theme="white"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid,
body[data-theme="black"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)) !important;
    width: 100% !important;
}

@media (max-width: 720px) {
    body[data-theme="white"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid,
    body[data-theme="black"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid {
        grid-template-columns: repeat(3, minmax(76px, 1fr)) !important;
    }
}

@media (max-width: 430px) {
    body[data-theme="white"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid,
    body[data-theme="black"] #directInboxAppearanceModal #directInboxChatThemeOptions.inbox-chat-theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Green-only chat theme polish. UI theme is fixed to green, so every chat
   wallpaper variant now stays inside the same green palette. */
.inbox-chat-theme-preview i:nth-child(1),
.inbox-chat-theme-preview i:nth-child(3) {
    background: rgba(214, 255, 232, 0.82) !important;
}

.inbox-chat-theme-preview i:nth-child(2) {
    background: rgba(5, 24, 16, 0.88) !important;
}

.inbox-chat-theme-preview.is-system {
    background:
        radial-gradient(circle at 18% 20%, rgba(93, 255, 177, 0.22), transparent 30%),
        linear-gradient(145deg, #10281d, #07130e) !important;
}

.inbox-chat-theme-preview.is-emerald {
    background:
        linear-gradient(135deg, rgba(46, 175, 103, 0.28) 25%, transparent 25%) 0 0 / 22px 22px,
        linear-gradient(315deg, rgba(154, 255, 201, 0.14) 25%, transparent 25%) 0 0 / 22px 22px,
        linear-gradient(145deg, #0d2a1c, #155938) !important;
}

.inbox-chat-theme-preview.is-midnight {
    background:
        linear-gradient(rgba(190, 255, 220, 0.055) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(90deg, rgba(190, 255, 220, 0.055) 1px, transparent 1px) 0 0 / 16px 16px,
        radial-gradient(circle at 78% 22%, rgba(70, 190, 120, 0.22), transparent 30%),
        #06100b !important;
}

.inbox-chat-theme-preview.is-aurora {
    background:
        radial-gradient(circle at 22% 22%, rgba(86, 235, 164, 0.42), transparent 32%),
        radial-gradient(circle at 78% 26%, rgba(50, 155, 98, 0.34), transparent 34%),
        radial-gradient(circle at 52% 88%, rgba(182, 255, 167, 0.16), transparent 34%),
        linear-gradient(145deg, #0a1710, #102719) !important;
}

.inbox-chat-theme-preview.is-paper {
    background:
        radial-gradient(circle, rgba(21, 88, 55, 0.09) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(145deg, #e8f7ed, #b7d8c3) !important;
}

.inbox-chat-theme-preview.is-mono {
    background:
        linear-gradient(135deg, rgba(210, 255, 226, 0.11) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(315deg, rgba(3, 24, 14, 0.22) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(145deg, #0d1611, #6fa47d) !important;
}

.inbox-chat-theme-preview.is-ocean {
    background:
        radial-gradient(circle at 78% 20%, rgba(118, 255, 205, 0.25), transparent 30%),
        repeating-linear-gradient(135deg, rgba(220, 255, 232, 0.08) 0 2px, transparent 2px 12px),
        linear-gradient(145deg, #083022, #0b6550) !important;
}

.inbox-chat-theme-preview.is-sunset {
    background:
        radial-gradient(circle at 18% 18%, rgba(191, 255, 136, 0.3), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(56, 201, 111, 0.3), transparent 34%),
        linear-gradient(145deg, #193215, #3f6e21) !important;
}

.inbox-chat-theme-preview.is-lavender {
    background:
        radial-gradient(circle at 24% 20%, rgba(196, 255, 202, 0.36), transparent 34%),
        linear-gradient(135deg, rgba(236, 255, 238, 0.07) 25%, transparent 25%) 0 0 / 20px 20px,
        linear-gradient(145deg, #102116, #315e3a) !important;
}

.inbox-chat-theme-preview.is-graphite {
    background:
        linear-gradient(135deg, rgba(220, 255, 232, 0.07) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(145deg, #0c110e, #2d4a37) !important;
}

.inbox-chat-theme-preview.is-forest {
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 238, 117, 0.32), transparent 32%),
        repeating-linear-gradient(45deg, rgba(242, 255, 220, 0.06) 0 3px, transparent 3px 14px),
        linear-gradient(145deg, #0b1d11, #284f22) !important;
}

.inbox-chat-theme-preview.is-ice {
    background:
        radial-gradient(circle at 26% 22%, rgba(245, 255, 249, 0.72), transparent 30%),
        linear-gradient(135deg, rgba(70, 173, 113, 0.16) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(145deg, #dff7e8, #8bc8a0) !important;
}

.inbox-chat-theme-preview.is-rose {
    background:
        radial-gradient(circle at 24% 18%, rgba(151, 255, 177, 0.3), transparent 32%),
        repeating-linear-gradient(135deg, rgba(240, 255, 241, 0.055) 0 2px, transparent 2px 14px),
        linear-gradient(145deg, #122b19, #357b42) !important;
}

.inbox-chat-theme-preview.is-mint {
    background:
        radial-gradient(circle at 76% 20%, rgba(172, 255, 225, 0.34), transparent 30%),
        linear-gradient(135deg, rgba(240, 255, 248, 0.07) 25%, transparent 25%) 0 0 / 20px 20px,
        linear-gradient(145deg, #0a2921, #1e836a) !important;
}

.inbox-chat-theme-preview.is-amber {
    background:
        radial-gradient(circle at 20% 18%, rgba(210, 255, 122, 0.3), transparent 32%),
        repeating-linear-gradient(45deg, rgba(248, 255, 224, 0.055) 0 3px, transparent 3px 15px),
        linear-gradient(145deg, #20310e, #5b7c1a) !important;
}

.inbox-chat-theme-preview.is-steel {
    background:
        linear-gradient(rgba(218, 255, 232, 0.05) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(90deg, rgba(218, 255, 232, 0.05) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(145deg, #13231a, #456552) !important;
}

.inbox-chat-theme-preview.is-cyber {
    background:
        radial-gradient(circle at 80% 20%, rgba(101, 255, 189, 0.34), transparent 30%),
        radial-gradient(circle at 20% 78%, rgba(123, 255, 144, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(235, 255, 238, 0.07) 25%, transparent 25%) 0 0 / 18px 18px,
        linear-gradient(145deg, #09251b, #21664b) !important;
}

.inbox-chat-theme-preview.is-dusk {
    background:
        radial-gradient(circle at 20% 20%, rgba(177, 255, 166, 0.26), transparent 34%),
        radial-gradient(circle at 78% 80%, rgba(76, 210, 126, 0.17), transparent 34%),
        linear-gradient(145deg, #162616, #446734) !important;
}

.inbox-chat-theme-preview.is-sand {
    background:
        radial-gradient(circle, rgba(235, 255, 226, 0.09) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(145deg, #27321d, #6d8050) !important;
}

.inbox-chat-theme-preview.is-berry {
    background:
        radial-gradient(circle at 22% 20%, rgba(140, 255, 164, 0.26), transparent 32%),
        repeating-linear-gradient(135deg, rgba(240, 255, 242, 0.055) 0 2px, transparent 2px 13px),
        linear-gradient(145deg, #112718, #3f8f4d) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 18%, rgba(76, 226, 170, 0.16), transparent 30%),
        linear-gradient(180deg, #0b2117, #07130e);
    --inbox-theme-border: rgba(105, 240, 171, 0.16);
    --inbox-theme-in-bg: linear-gradient(180deg, #0d2b1d, #0a1e15);
    --inbox-theme-out-bg: linear-gradient(180deg, #1f6b45, #185136);
    --inbox-theme-in-text: #e8fff2;
    --inbox-theme-out-text: #f4fff8;
    --inbox-theme-loading-in: #0d2b1d;
    --inbox-theme-loading-out: #1f6b45;
    --inbox-theme-loading-line: rgba(180, 245, 210, 0.22);
}

body[data-inbox-chat-theme="emerald"] {
    --inbox-theme-list-bg:
        linear-gradient(135deg, rgba(61, 175, 116, 0.08) 25%, transparent 25%) 0 0 / 34px 34px,
        linear-gradient(315deg, rgba(144, 255, 202, 0.06) 25%, transparent 25%) 0 0 / 34px 34px,
        radial-gradient(circle at 16% 18%, rgba(91, 230, 157, 0.2), transparent 30%),
        linear-gradient(180deg, #0b2117, #07130e);
    --inbox-theme-in-bg: #0d2b1d;
    --inbox-theme-out-bg: #1f6b45;
}

body[data-inbox-chat-theme="midnight"] {
    --inbox-theme-list-bg:
        linear-gradient(rgba(210, 255, 229, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, rgba(210, 255, 229, 0.035) 1px, transparent 1px) 0 0 / 26px 26px,
        radial-gradient(circle at 75% 20%, rgba(72, 198, 122, 0.18), transparent 30%),
        #06100b;
    --inbox-theme-border: rgba(146, 238, 175, 0.13);
    --inbox-theme-in-bg: #0b1a11;
    --inbox-theme-out-bg: #173c25;
}

body[data-inbox-chat-theme="aurora"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 20%, rgba(86, 230, 168, 0.28), transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(57, 170, 99, 0.25), transparent 34%),
        radial-gradient(circle at 45% 98%, rgba(173, 255, 142, 0.13), transparent 36%),
        linear-gradient(145deg, #08150f, #102719);
    --inbox-theme-in-bg: linear-gradient(135deg, rgba(25, 77, 52, 0.92), rgba(18, 42, 28, 0.94));
    --inbox-theme-out-bg: linear-gradient(135deg, rgba(42, 133, 83, 0.92), rgba(36, 100, 57, 0.94));
}

body[data-inbox-chat-theme="paper"],
body[data-inbox-chat-theme="ice"] {
    --inbox-theme-list-bg:
        radial-gradient(circle, rgba(17, 91, 52, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 42%),
        linear-gradient(180deg, #e8f7ed, #bfdcc9);
    --inbox-theme-border: rgba(32, 112, 68, 0.18);
    --inbox-theme-in-bg: rgba(247, 255, 250, 0.9);
    --inbox-theme-out-bg: #1d6241;
    --inbox-theme-in-text: #10251a;
    --inbox-theme-out-text: #f4fff8;
    --inbox-theme-loading-in: rgba(247, 255, 250, 0.9);
    --inbox-theme-loading-out: #1d6241;
    --inbox-theme-loading-line: rgba(20, 90, 54, 0.18);
}

body[data-inbox-chat-theme="mono"],
body[data-inbox-chat-theme="graphite"],
body[data-inbox-chat-theme="steel"] {
    --inbox-theme-list-bg:
        linear-gradient(135deg, rgba(215, 255, 230, 0.07) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.16) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(145deg, #0d1611, #203a28);
    --inbox-theme-border: rgba(186, 245, 205, 0.13);
    --inbox-theme-in-bg: #102018;
    --inbox-theme-out-bg: #365f45;
    --inbox-theme-in-text: #eefcf3;
    --inbox-theme-out-text: #ffffff;
}

body[data-inbox-chat-theme="ocean"],
body[data-inbox-chat-theme="mint"],
body[data-inbox-chat-theme="cyber"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 76% 22%, rgba(122, 255, 205, 0.2), transparent 30%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, #082b20, #061812);
    --inbox-theme-border: rgba(126, 246, 190, 0.16);
    --inbox-theme-in-bg: #0b3328;
    --inbox-theme-out-bg: #13745c;
}

body[data-inbox-chat-theme="sunset"],
body[data-inbox-chat-theme="amber"],
body[data-inbox-chat-theme="sand"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 18% 18%, rgba(196, 255, 119, 0.2), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(76, 205, 102, 0.18), transparent 34%),
        linear-gradient(180deg, #1e2d12, #0d1308);
    --inbox-theme-border: rgba(210, 255, 144, 0.15);
    --inbox-theme-in-bg: #253917;
    --inbox-theme-out-bg: #5d7d24;
}

body[data-inbox-chat-theme="lavender"],
body[data-inbox-chat-theme="dusk"],
body[data-inbox-chat-theme="berry"],
body[data-inbox-chat-theme="rose"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 24% 20%, rgba(165, 255, 178, 0.22), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 15px),
        linear-gradient(180deg, #102616, #07150c);
    --inbox-theme-border: rgba(159, 255, 177, 0.15);
    --inbox-theme-in-bg: #16301d;
    --inbox-theme-out-bg: #3d884f;
}

body[data-inbox-chat-theme="forest"] {
    --inbox-theme-list-bg:
        radial-gradient(circle at 20% 20%, rgba(161, 222, 112, 0.2), transparent 32%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 3px, transparent 3px 18px),
        linear-gradient(180deg, #0b1d11, #07130b);
    --inbox-theme-border: rgba(164, 225, 116, 0.14);
    --inbox-theme-in-bg: #132d18;
    --inbox-theme-out-bg: #2d5a28;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message-list {
    background: var(--inbox-theme-list-bg) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.in .inbox-message-bubble {
    background: var(--inbox-theme-in-bg) !important;
    border-color: var(--inbox-theme-border) !important;
    color: var(--inbox-theme-in-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message.out .inbox-message-bubble,
body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-message-bubble.is-pending {
    background: var(--inbox-theme-out-bg) !important;
    border-color: var(--inbox-theme-border) !important;
    color: var(--inbox-theme-out-text) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-bubble {
    background: var(--inbox-theme-loading-in) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-row.is-out .inbox-loading-bubble {
    background: var(--inbox-theme-loading-out) !important;
    border-color: var(--inbox-theme-border) !important;
}

body[data-inbox-chat-theme]:not([data-inbox-chat-theme="system"]) .inbox-loading-bubble span {
    background: var(--inbox-theme-loading-line) !important;
}
