/* DIBUAT OTOMATIS oleh tools/build_dark_theme.py dari admin.css — jangan edit manual. */
:root[data-theme="dark"]{color:#e6eaf2;background:#0f141c;--ink:#e6eaf2;--muted:#919bab;--line:#383e46;--sidebar:#161c27;--surface:#161c27}
:root[data-theme="dark"] button{color:inherit}
:root[data-theme="dark"] .muted{color:var(--muted)}
:root[data-theme="dark"] .eyebrow{color:#99a3b2}
:root[data-theme="dark"] .login-screen{background:radial-gradient(ellipse at 50% 24%,#222738 0,transparent 52%),#121822}
:root[data-theme="dark"] .login-brand{color:#e3e8f1}
:root[data-theme="dark"] .brand-mark{background:var(--blue);color:#ffffff;box-shadow:0 6px 14px #4668e833}
:root[data-theme="dark"] .brand-dot{color:var(--blue)}
:root[data-theme="dark"] .login-card{background:#161c27;box-shadow:0 18px 55px #21324b0b}
:root[data-theme="dark"] label{color:#bcbec2}
:root[data-theme="dark"] input,:root[data-theme="dark"] textarea,:root[data-theme="dark"] select{border:1px solid #373c42;color:var(--ink);background:#161c27}
:root[data-theme="dark"] input:focus,:root[data-theme="dark"] textarea:focus,:root[data-theme="dark"] select:focus{border-color:#93a6f5;box-shadow:0 0 0 3px #4668e817}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#adb5c2}
:root[data-theme="dark"] .button.primary{color:#ffffff;background:var(--blue);box-shadow:0 3px 8px #4668e822}
:root[data-theme="dark"] .button.primary:hover{background:var(--blue-dark)}
:root[data-theme="dark"] .button.secondary{color:#babdc0;background:#161c27;border-color:#373c43}
:root[data-theme="dark"] .button.secondary:hover{background:#262a37}
:root[data-theme="dark"] .error{color:#d26e7c}
:root[data-theme="dark"] .sidebar{background:var(--sidebar)}
:root[data-theme="dark"] .brand{color:var(--ink)}
:root[data-theme="dark"] .brand-name small{color:#a1a9b5}
:root[data-theme="dark"] .workspace-avatar,:root[data-theme="dark"] .profile-avatar,:root[data-theme="dark"] .top-avatar{color:#7e8dcc;background:#212537}
:root[data-theme="dark"] .workspace-label small,:root[data-theme="dark"] .profile-name small{color:#99a3b1}
:root[data-theme="dark"] .switch-chevron{color:#99a3b1}
:root[data-theme="dark"] .nav-caption{color:#a0a9b6}
:root[data-theme="dark"] .nav-link{background:transparent;color:#929bab}
:root[data-theme="dark"] .nav-link:hover{background:#121822;color:#c4c6ca}
:root[data-theme="dark"] .nav-link.active{background:#212537;color:#7689e6}
:root[data-theme="dark"] .nav-icon{color:#929cae}
:root[data-theme="dark"] .nav-link.active .nav-icon{color:#8796ec}
:root[data-theme="dark"] .nav-count{background:#352720;color:#de996e}
:root[data-theme="dark"] .help-card{border:1px solid #3a3e46}
:root[data-theme="dark"] .help-icon{background:#222638;color:#8d9cec}
:root[data-theme="dark"] .help-card small{color:#9aa3b0}
:root[data-theme="dark"] .profile-avatar{background:#2e241e;color:#c08c6b}
:root[data-theme="dark"] .topbar{background:#161c27}
:root[data-theme="dark"] .breadcrumbs{color:#9aa4b2}
:root[data-theme="dark"] .breadcrumbs strong{color:#c1c4c8}
:root[data-theme="dark"] .crumb-separator{color:#828a96}
:root[data-theme="dark"] .connection,:root[data-theme="dark"] .live-pill{color:#919cab}
:root[data-theme="dark"] .connection i,:root[data-theme="dark"] .live-pill i{background:#39bd82;box-shadow:0 0 0 3px #39bd821a}
:root[data-theme="dark"] .icon-button{background:#161c27;color:#919bac}
:root[data-theme="dark"] .icon-button:hover{background:#121822}
:root[data-theme="dark"] .top-avatar{background:#2e241e;color:#c08c6b}
:root[data-theme="dark"] .notice:not(:empty){border:1px solid #2d3e35;background:#21352a;color:#acdbc4;box-shadow:0 8px 25px #26324614}
:root[data-theme="dark"] .notice.error{border-color:#452d2f;background:#392224;color:#cf5968}
:root[data-theme="dark"] .stat-card{background:#161c27}
:root[data-theme="dark"] .stat-top{color:#909cac}
:root[data-theme="dark"] .stat-icon.blue,:root[data-theme="dark"] .surface-icon.blue{color:#8397eb;background:#212537}
:root[data-theme="dark"] .stat-icon.violet{color:#ac93dd;background:#282238}
:root[data-theme="dark"] .stat-icon.amber{color:#e0a96b;background:#352c20}
:root[data-theme="dark"] .stat-card>small{color:#9aa3b0}
:root[data-theme="dark"] .surface{background:var(--surface)}
:root[data-theme="dark"] .code-box{border:1px solid #383e45;background:#262a37}
:root[data-theme="dark"] .code-box code{color:#b4b7bb}
:root[data-theme="dark"] .copy-button{border:1px solid #373c43;background:#161c27;color:#b8babd}
:root[data-theme="dark"] .copy-button:hover{background:#232936}
:root[data-theme="dark"] .install-note{color:#929caa}
:root[data-theme="dark"] .check-icon{background:#1f3229;color:#9ed6bb}
:root[data-theme="dark"] .setup-link{border-top:1px solid #3b3f46;background:transparent}
:root[data-theme="dark"] .setup-number{background:#222538;color:#93a0e6}
:root[data-theme="dark"] .setup-link small{color:#929cab}
:root[data-theme="dark"] .setup-link .arrow{color:#a7afbc}
:root[data-theme="dark"] .setup-link:hover strong,:root[data-theme="dark"] .setup-link:hover .arrow{color:#7f91e4}
:root[data-theme="dark"] .assistant-spark{background:#242238;color:#ac95de}
:root[data-theme="dark"] .text-button{background:none;color:#8695e9}
:root[data-theme="dark"] .footer{color:#a5adba}
:root[data-theme="dark"] .small-count{background:#262a31;color:#919aac}
:root[data-theme="dark"] .search-wrap>span{color:#9aa4b2}
:root[data-theme="dark"] .search-wrap input{background:#141a24;border-color:#3a3f45}
:root[data-theme="dark"] .inbox-filter{border-bottom:1px solid #3c4045}
:root[data-theme="dark"] .filter-chip{background:#222638;color:#8594e6}
:root[data-theme="dark"] .filter-caption{color:#a0a8b4}
:root[data-theme="dark"] .conversation{border-bottom:1px solid #3c4046;background:#161c27}
:root[data-theme="dark"] .conversation:hover,:root[data-theme="dark"] .conversation.selected{background:#23283a}
:root[data-theme="dark"] .conversation.selected{box-shadow:inset 2px 0 #536be6}
:root[data-theme="dark"] .conversation-avatar{background:#202535;color:#8191d6}
:root[data-theme="dark"] .conversation-avatar.alt-1{background:#34281f;color:#c9976e}
:root[data-theme="dark"] .conversation-avatar.alt-2{background:#203028;color:#a6cebc}
:root[data-theme="dark"] .conversation-avatar.alt-3{background:#2b2036;color:#ae8bce}
:root[data-theme="dark"] .conversation-firstline time{color:#a3abb7}
:root[data-theme="dark"] .conversation-snippet{color:#929cab}
:root[data-theme="dark"] .empty-illustration{background:#222538;color:#919ee8}
:root[data-theme="dark"] .customer-avatar{background:#202535;color:#8191d6}
:root[data-theme="dark"] .customer-details>span{color:#929caa}
:root[data-theme="dark"] .customer-details strong{color:#b3b5b9}
:root[data-theme="dark"] .live-pill{color:#a3d3be}
:root[data-theme="dark"] .message{background:#262a31}
:root[data-theme="dark"] .message.customer{background:#212637;color:#c2c4ca}
:root[data-theme="dark"] .message.agent{background:#4f68e3;color:#ffffff}
:root[data-theme="dark"] .message.bot{border:1px solid #32384b;background:#23273b}
:root[data-theme="dark"] .message small{color:#959eac}
:root[data-theme="dark"] .message.agent small{color:#475bd1}
:root[data-theme="dark"] .message.typing-preview{border:1px dashed #2c3248;background:#23273b;color:#8b95b1}
:root[data-theme="dark"] .message.typing-preview small{color:#93a2e2}
:root[data-theme="dark"] .message-review{border-top:1px solid #333946}
:root[data-theme="dark"] .message-review-open{border:1px solid #333845;background:#161c27;color:#7c8bd8}
:root[data-theme="dark"] .composer-wrap textarea{background:#141a24}
:root[data-theme="dark"] .suggestions{border:1px solid #363b43;background:#161c27;box-shadow:0 8px 25px #24364b1c}
:root[data-theme="dark"] .suggestion{border-bottom:1px solid #3b3f46;background:#161c27}
:root[data-theme="dark"] .suggestion:hover{background:#23273a}
:root[data-theme="dark"] .suggestion strong{color:#8695e9}
:root[data-theme="dark"] .suggestion span{color:#919bab}
:root[data-theme="dark"] .knowledge-banner,:root[data-theme="dark"] .review-banner{border:1px solid #2a3057;background:#23253a}
:root[data-theme="dark"] .banner-spark{background:#202336;color:#8695e9}
:root[data-theme="dark"] .knowledge-banner p{color:#919bab}
:root[data-theme="dark"] .source-type-row{background:#2a2b2f}
:root[data-theme="dark"] .source-type{background:transparent;color:#919bab}
:root[data-theme="dark"] .source-type.active{background:#161c27;color:#7f8fe1;box-shadow:0 1px 5px #25334b12}
:root[data-theme="dark"] .form-grid label small{color:#9aa3b1}
:root[data-theme="dark"] .form-grid .check-field{border:1px solid #3a3f45;background:#141a24}
:root[data-theme="dark"] .check-field span strong{color:#bcbec2}
:root[data-theme="dark"] .check-field span small{color:#9aa3b1}
:root[data-theme="dark"] .settings-note{background:#23253a;color:#828eba}
:root[data-theme="dark"] .intake-field-row{border:1px solid #3a3f45}
:root[data-theme="dark"] .intake-label-input{color:#b3b5b9}
:root[data-theme="dark"] .intake-required{color:#929caa}
:root[data-theme="dark"] .field-help{color:#929cac}
:root[data-theme="dark"] .prechat-field{color:#bcbec2}
:root[data-theme="dark"] .confirm-dialog{box-shadow:0 20px 70px #15233a33}
:root[data-theme="dark"] .confirm-dialog::backdrop{background:#1b263b66}
:root[data-theme="dark"] .upload-divider:before{background:#27292b}
:root[data-theme="dark"] .upload-divider span{background:#161c27;color:#a0a9b6}
:root[data-theme="dark"] .upload-zone{border:1px dashed #363a41}
:root[data-theme="dark"] .upload-zone:hover{border-color:#96a5f0;background:#24243b}
:root[data-theme="dark"] .upload-icon{background:#232835;color:#96a1de}
:root[data-theme="dark"] .upload-zone small{color:#9aa3b0}
:root[data-theme="dark"] .knowledge-sources .surface-heading{border-bottom:1px solid #3c4045}
:root[data-theme="dark"] .knowledge-sources>.search-wrap>span,:root[data-theme="dark"] .shortcut-search>span{color:#9aa4b2}
:root[data-theme="dark"] .knowledge-sources>.search-wrap input,:root[data-theme="dark"] .shortcut-search input{background:#141a24;border-color:#3a3f45}
:root[data-theme="dark"] .list-filter{border:1px solid #383d45;background:#161c27;color:#929caa}
:root[data-theme="dark"] .list-filter:hover{background:#262a37}
:root[data-theme="dark"] .list-filter.active{border-color:#293055;background:#222538;color:#8694e6}
:root[data-theme="dark"] .form-grid label>small{color:#9aa3b1}
:root[data-theme="dark"] .empty-list-note{color:#a0a9b6}
:root[data-theme="dark"] .source-question{border-left:2px solid #293055;background:#23273b;color:#8b95b2!important}
:root[data-theme="dark"] .knowledge-sources .item,:root[data-theme="dark"] .shortcut-list-card .item,:root[data-theme="dark"] .review-list .item{border:1px solid #3a3f45}
:root[data-theme="dark"] .item-main p{color:#929caa}
:root[data-theme="dark"] .item-meta{color:#9aa3b1}
:root[data-theme="dark"] .knowledge-sources .item-list:empty:after,:root[data-theme="dark"] .shortcut-list-card .item-list:empty:after{color:#a0a9b6}
:root[data-theme="dark"] .shortcut-list-card .surface-heading{border-bottom:1px solid #3c4045}
:root[data-theme="dark"] .review-banner{border-color:#48402f;background:#393222;color:#d0c1a7}
:root[data-theme="dark"] .review-icon{background:#30291d;color:#d4a455}
:root[data-theme="dark"] .review-banner p{color:#b5a587}
:root[data-theme="dark"] .review-banner strong{color:#d4c6af}
:root[data-theme="dark"] .review-list:empty:after{color:#9aa3b1}
:root[data-theme="dark"] .sound-toggle{background:#161c27;color:#929baa}
:root[data-theme="dark"] .sound-toggle:hover{background:#121822}
:root[data-theme="dark"] .sound-toggle.muted{background:#0f141c;color:#a0a9b6}
:root[data-theme="dark"] .nav-count.alert{background:#292619;color:#f1d79a;box-shadow:0 0 0 2px #f5c84266}
:root[data-theme="dark"] .unread-badge{background:#4668e8;color:#ffffff}
:root[data-theme="dark"] .conversation.unread .conversation-firstline strong{color:#f1f3f8}
:root[data-theme="dark"] .conversation.unread .conversation-snippet{color:#bfc1c6}
:root[data-theme="dark"] .conversation.alert{background:#312d1e;box-shadow:inset 3px 0 #f0b400}
:root[data-theme="dark"] .conversation.alert:hover{background:#292619}
:root[data-theme="dark"] .conversation.alert .unread-badge{background:#e09b00}
:root[data-theme="dark"] .alert-chip{background:#594b1e;color:#f1d99e}
:root[data-theme="dark"] .message.alert{border:1px solid #f0c33c;background:#312d1e;color:#e5d8b4}
:root[data-theme="dark"] .message-alert-flag{color:#f1d79a}
:root[data-theme="dark"] .suggestion.active{background:#212537}
:root[data-theme="dark"] .editor-hint{color:#9aa3b1}
:root[data-theme="dark"] .add-menu-list{background:#161c27;box-shadow:0 12px 32px #1f2d441f}
:root[data-theme="dark"] .add-menu-list button{background:none;color:#c8cbcf}
:root[data-theme="dark"] .add-menu-list button small{color:#98a1b0}
:root[data-theme="dark"] .add-menu-list button:hover,:root[data-theme="dark"] .add-menu-list button:focus-visible{background:#23273a}
:root[data-theme="dark"] .add-menu-list button:disabled{background:none}
:root[data-theme="dark"] .builder-card{border:1px solid #373c43;background:#161c27}
:root[data-theme="dark"] .builder-card.open{border-color:#333841;box-shadow:0 2px 10px #1f2d440d}
:root[data-theme="dark"] .builder-card.drop-target{border-color:#93a6f5;box-shadow:0 0 0 3px #4668e817}
:root[data-theme="dark"] .builder-drag{color:#818a97}
:root[data-theme="dark"] .builder-drag:hover,:root[data-theme="dark"] .builder-drag:focus-visible{background:#252a33;color:#929baa}
:root[data-theme="dark"] .builder-toggle{background:none;color:#e3e8f1}
:root[data-theme="dark"] .builder-chevron{color:#919bab}
:root[data-theme="dark"] .builder-type-icon{color:#929baa}
:root[data-theme="dark"] .builder-meta{color:#9aa3b1}
:root[data-theme="dark"] .builder-icon-button{background:none;color:#919bab}
:root[data-theme="dark"] .builder-icon-button:hover{background:#382222;color:#d07478}
:root[data-theme="dark"] .builder-note{color:#919bab}
:root[data-theme="dark"] .builder-note strong{color:#bcbec2}
:root[data-theme="dark"] .builder-required{border-top:1px solid #3c4045;color:#bcbec2}
:root[data-theme="dark"] .widget-preview-stage{background:#262b32}
:root[data-theme="dark"] .widget-preview-scaler{background:#161c27;box-shadow:0 12px 32px #1f2d4424,0 0 0 1px #1f2d440d}
:root[data-theme="dark"] .widget-preview-scaler iframe{background:#161c27}
:root[data-theme="dark"] .builder-card{border-color:#383d45}
:root[data-theme="dark"] .builder-card.open{border-color:#323846;box-shadow:0 5px 16px #24364b0c}
:root[data-theme="dark"] .builder-drag{border:1px solid #3a3e46;background:#141a24;color:#a0a9b6}
:root[data-theme="dark"] .builder-type-icon{background:#222538;color:#8695e9}
:root[data-theme="dark"] .builder-meta{border:1px solid #3a3e46;background:#141a24;color:#919aac}
:root[data-theme="dark"] .builder-icon-button:hover{border-color:#493131}
:root[data-theme="dark"] .builder-card-body .prechat-field{color:#b3b5b9}
:root[data-theme="dark"] .builder-note{border:1px solid #3a3e46;background:#141a24}
:root[data-theme="dark"] .builder-note svg{color:#99a5e1}
:root[data-theme="dark"] .builder-required{border-top-color:#3a3f45;color:#b3b5b9}
:root[data-theme="dark"] .preview-controls{border:1px solid #3a3f45;background:#121822}
:root[data-theme="dark"] .preview-mode{background:transparent;color:#929caa}
:root[data-theme="dark"] .preview-mode:hover{background:#161c27;color:#bcbec2}
:root[data-theme="dark"] .preview-mode.active{background:#161c27;color:#778ae6;box-shadow:0 1px 3px #25344d14}
:root[data-theme="dark"] .widget-preview-device{border:1px solid #3a3f45;background:#161c27}
:root[data-theme="dark"] .preview-device-caption strong{color:#bcbec2}
:root[data-theme="dark"] .preview-device-caption span{color:#98a1b0}
:root[data-theme="dark"] .widget-preview-stage{background:#252a33}
:root[data-theme="dark"] .widget-preview-scaler{background:#161c27;box-shadow:0 8px 20px #1f2d441b,0 0 0 1px #1f2d4410}
:root[data-theme="dark"] .widget-preview-scaler iframe{background:#161c27}
:root[data-theme="dark"] .widget-preview-device.mobile .widget-preview-stage{background:#23272f}
:root[data-theme="dark"] .widget-preview-device.mobile .widget-preview-scaler{border:3px solid #343d50;box-shadow:0 8px 20px #1f2d4426}
:root[data-theme="dark"] .inline-suggestions{border:1px solid #353a44;background:#161c27;box-shadow:0 12px 30px #24364b24}
:root[data-theme="dark"] .suggestion{border-bottom:1px solid #3b3f46}
:root[data-theme="dark"] .suggestion strong{color:#8695e9}
:root[data-theme="dark"] .suggestion span{color:#919bab}
:root[data-theme="dark"] .suggestion:hover,:root[data-theme="dark"] .suggestion.active{background:#222639}
:root[data-theme="dark"] .sound-toggle{border-color:#383c43;background:#161c27;color:#909bac}
:root[data-theme="dark"] .sound-toggle:hover{border-color:#333845;background:#262a37;color:#babdc1}
:root[data-theme="dark"] .sound-toggle:focus-visible{outline:3px solid #4668e82b}
:root[data-theme="dark"] .sound-toggle.muted{border-color:#3a3d43;background:#2a2c2e;color:#939caa}
:root[data-theme="dark"] .button.danger{color:#ffffff;background:#d64550;box-shadow:0 3px 8px #d6455022}
:root[data-theme="dark"] .button.danger:hover{background:#bf3742}
:root[data-theme="dark"] .nav-dot{background:#e5484d;box-shadow:0 0 0 3px #e5484d22}
:root[data-theme="dark"] .status-badge{background:#262a31;color:#929baa}
:root[data-theme="dark"] .status-badge::before{background:currentColor}
:root[data-theme="dark"] .status-badge.is-open{background:#203028;color:#a7dcc9}
:root[data-theme="dark"] .status-badge.is-danger{background:#362023;color:#d35f68}
:root[data-theme="dark"] .status-badge.is-muted{background:#262a31;color:#a0a9b6}
:root[data-theme="dark"] .agent-avatar{background:#212537;color:#7e8dcc}
:root[data-theme="dark"] .profile-link{background:none;color:inherit}
:root[data-theme="dark"] .profile-link:hover .profile-name strong{color:var(--blue)}
:root[data-theme="dark"] button.help-card{background:none;color:inherit}
:root[data-theme="dark"] button.help-card:hover{border-color:#31374b;background:#23273a}
:root[data-theme="dark"] .emergency-pill{border:1px solid #462d2f;background:#362023;color:#d35f68}
:root[data-theme="dark"] .cell-sub{color:#9aa3b1}
:root[data-theme="dark"] .data-table th{color:#919bab}
:root[data-theme="dark"] .data-table td{border-bottom:1px solid #3c4045;color:#bcbec2}
:root[data-theme="dark"] .data-table td strong{color:#e3e8f1}
:root[data-theme="dark"] .data-table tr.clickable:hover td,:root[data-theme="dark"] .data-table tr.clickable:focus-visible td{background:#23283a}
:root[data-theme="dark"] .data-table .empty-cell{color:#a0a9b6}
:root[data-theme="dark"] .sheet-dialog{background:#161c27;color:inherit;box-shadow:0 20px 70px #15233a33}
:root[data-theme="dark"] .sheet-dialog::backdrop{background:#1b263b66}
:root[data-theme="dark"] .sheet-meta{color:#929caa}
:root[data-theme="dark"] .sheet-meta strong{color:#b3b5b9}
:root[data-theme="dark"] .archive-transcript{background:#141a24}
:root[data-theme="dark"] .chat-day{background:#242830;color:#929caa}
:root[data-theme="dark"] .chat-event{border:1px dashed #353940;color:#929caa}
:root[data-theme="dark"] .read-receipt{color:#a0a9b6}
:root[data-theme="dark"] .read-receipt.is-read{color:#a9d0be}
:root[data-theme="dark"] .inbox-filter .filter-chip{background:transparent;color:#919bab}
:root[data-theme="dark"] .inbox-filter .filter-chip:hover{background:#232936}
:root[data-theme="dark"] .inbox-filter .filter-chip.selected{background:#222638;color:#8594e6}
:root[data-theme="dark"] .online-dot{border:2px solid #454545;background:#39bd82}
:root[data-theme="dark"] .conversation-key{border:1px solid #363a43;background:#161c27;color:#929caa;box-shadow:0 1px 0 #dfe4ee}
:root[data-theme="dark"] .conversation.selected .conversation-key{border-color:#292f4c;color:#7c8bd8}
:root[data-theme="dark"] .conversation-owner{color:#919bab}
:root[data-theme="dark"] .conversation-owner.unassigned{color:#dc9948}
:root[data-theme="dark"] .owner-pill{background:#262a31;color:#929baa}
:root[data-theme="dark"] .owner-pill.unassigned{background:#342b1f;color:#e0be94}
:root[data-theme="dark"] .panel-toggle[aria-pressed="true"]{background:#222638;color:#7c8bd8;border-color:#2c334f}
:root[data-theme="dark"] .service-tag{background:#222638;color:#7c8bd8!important}
:root[data-theme="dark"] .customer-panel{background:#131923}
:root[data-theme="dark"] .panel-identity{border-bottom:1px solid #3c4045}
:root[data-theme="dark"] .panel-label{color:#98a1b0}
:root[data-theme="dark"] .panel-identity strong{color:#eef1f7}
:root[data-theme="dark"] .presence{color:#919bab}
:root[data-theme="dark"] .presence::before{background:#353940}
:root[data-theme="dark"] .presence.is-online{color:#a7dcc9}
:root[data-theme="dark"] .presence.is-online::before{background:#39bd82;box-shadow:0 0 0 3px #39bd821f}
:root[data-theme="dark"] .panel-subtitle{color:#98a1b0}
:root[data-theme="dark"] #cp-extra{border-top:1px solid #3c4045}
:root[data-theme="dark"] .panel-row dt{color:#919bab}
:root[data-theme="dark"] .panel-row dd{color:#e3e8f1}
:root[data-theme="dark"] .transfer-option{background:#161c27;color:inherit}
:root[data-theme="dark"] .transfer-option:hover,:root[data-theme="dark"] .transfer-option:focus-visible{border-color:#292f4c;background:#23283a}
:root[data-theme="dark"] .transfer-option small{color:#98a1b0}
:root[data-theme="dark"] .transfer-option small.is-online{color:#a7dcc9}
:root[data-theme="dark"] .purge-warning{color:#d35f68!important}
:root[data-theme="dark"] .report-control{color:#bcbec2}
:root[data-theme="dark"] .report-legend{color:#919bab}
:root[data-theme="dark"] .heat-corner{background:var(--surface)}
:root[data-theme="dark"] .heat-hour{color:#98a1b0}
:root[data-theme="dark"] .heat-day{background:var(--surface);color:#929baa}
:root[data-theme="dark"] .heat-cell{background:#262a31;color:#e3e8f1}
:root[data-theme="dark"] .heat-cell.strong{color:#ffffff}
:root[data-theme="dark"] .heat-cell:hover,:root[data-theme="dark"] .heat-cell:focus-visible{outline:2px solid #26334a}
:root[data-theme="dark"] .bar-chart{background:repeating-linear-gradient(to top,transparent 0,transparent 64px,#282a2c 64px,#282a2c 65px)}
:root[data-theme="dark"] .bar{background:#2a78d6}
:root[data-theme="dark"] .bar-value{color:#e3e8f1}
:root[data-theme="dark"] .bar-label{color:#919bab}
:root[data-theme="dark"] .chart-tooltip{background:#1d2636;color:#ffffff;box-shadow:0 8px 24px #10182833}
:root[data-theme="dark"] .chart-tooltip span{color:#7d879c}
:root[data-theme="dark"] .role-tag{background:#262a31;color:#b3b5b9}
:root[data-theme="dark"] .role-tag.master{background:#222638;color:#7c8bd8}
:root[data-theme="dark"] .permission-group{border:1px solid #3a3f45}
:root[data-theme="dark"] .permission-group legend{color:#e3e8f1}
:root[data-theme="dark"] .permission-item{color:#b3b5b9}
:root[data-theme="dark"] .help-topic{background:none;color:#b3b5b9}
:root[data-theme="dark"] .help-topic:hover{background:#232936}
:root[data-theme="dark"] .help-topic.active{background:#222638;color:#7c8bd8}
:root[data-theme="dark"] .help-content h4{color:#919bab}
:root[data-theme="dark"] .help-list{color:#bcbec2}
:root[data-theme="dark"] .shortcut-list{border:1px solid #3a3f45}
:root[data-theme="dark"] .shortcut-row{border-bottom:1px solid #3c4045}
:root[data-theme="dark"] .shortcut-row dt{color:#919bab}
:root[data-theme="dark"] .shortcut-row dd{color:#bcbec2}
:root[data-theme="dark"] kbd{border:1px solid #363a43;background:#161c27;color:#e3e8f1}
:root[data-theme="dark"] .connection.is-connecting i{background:#e0a134;box-shadow:0 0 0 3px #e0a1341f}
:root[data-theme="dark"] .connection.is-connecting{color:#e3c99c}
:root[data-theme="dark"] .composer-tab{background:none;color:#929caa}
:root[data-theme="dark"] .composer-tab:hover{background:#232936;color:#bcbec2}
:root[data-theme="dark"] .composer-tab.active{border-color:#293055;background:#222538;color:#7c8bd8}
:root[data-theme="dark"] .composer-tab[data-compose-mode="note"].active{border-color:#f0dc9a;background:#332e1f;color:#f1d79a}
:root[data-theme="dark"] .composer-tab-hint{color:#d6c89f}
:root[data-theme="dark"] .composer-tab[data-compose-mode="whisper"].active{border-color:#332d4a;background:#272239;color:#816eca}
:root[data-theme="dark"] .composer-wrap.whisper-mode .composer-tab-hint{color:#927dd6}
:root[data-theme="dark"] .composer-wrap.whisper-mode textarea{background:#2a233b;box-shadow:inset 0 0 0 1px #d9d0f7}
:root[data-theme="dark"] .composer-wrap.note-mode textarea{background:#363220;box-shadow:inset 0 0 0 1px #f3e2a6}
:root[data-theme="dark"] .composer-wrap.is-dragging{background:#23283a;box-shadow:inset 0 0 0 2px #b9c5fb}
:root[data-theme="dark"] .pending-attachment{background:#141a24}
:root[data-theme="dark"] .attachment-image{background:#21262f}
:root[data-theme="dark"] .attachment-file{border:1px solid #373c43;background:#161c27;color:#e3e8f1}
:root[data-theme="dark"] .attachment-file:hover{border-color:#292f4c}
:root[data-theme="dark"] .message.agent .attachment-file{border-color:#45454540;background:#ffffff1f;color:#ffffff}
:root[data-theme="dark"] .attachment-icon{background:#212537;color:#7c8bd8}
:root[data-theme="dark"] .message.agent .attachment-icon{background:#ffffff30;color:#ffffff}
:root[data-theme="dark"] .attachment-copy small{color:inherit}
:root[data-theme="dark"] .message.note{border:1px solid #f0dc9a;background:#332e1f;color:#e5d8b4}
:root[data-theme="dark"] .message.note small{color:#e0cf9d}
:root[data-theme="dark"] .note-delete{background:none;color:#e0cf9d}
:root[data-theme="dark"] .chat-event.is-danger{border-color:#452d2f;color:#cf5968}
:root[data-theme="dark"] .archive-transcript .is-focused{box-shadow:0 0 0 2px #93a6f5}
:root[data-theme="dark"] .mini-tag{background:#26292f;color:#b3b5b9}
:root[data-theme="dark"] .mini-tag.is-danger{background:#362023;color:#d35f68}
:root[data-theme="dark"] .mini-tag.is-warning{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .tag-chip{border:1px solid #363b44;background:#161c27;color:#bcbec2}
:root[data-theme="dark"] .tag-chip button{background:none;color:#98a1b0}
:root[data-theme="dark"] .tag-chip button:hover{background:#262a31;color:#d35f68}
:root[data-theme="dark"] .ban-state{border:1px solid #452d2f;background:#392224;color:#cf5968}
:root[data-theme="dark"] .panel-subtitle-note{color:#a8b0bd}
:root[data-theme="dark"] .history-item{border:1px solid #3a3f45;background:#161c27;color:inherit}
:root[data-theme="dark"] button.history-item:hover,:root[data-theme="dark"] button.history-item:focus-visible{border-color:#292f4c;background:#23283a}
:root[data-theme="dark"] .history-item.current{border-color:#293055;background:#23273b}
:root[data-theme="dark"] .history-top strong{color:#e3e8f1}
:root[data-theme="dark"] .history-item small{color:#919bab}
:root[data-theme="dark"] .history-preview{color:#b3b5b9}
:root[data-theme="dark"] .panel-actions{border-top:1px solid #3c4045}
:root[data-theme="dark"] .button.danger-outline{color:#d35f68;background:#161c27;border-color:#452d2f}
:root[data-theme="dark"] .button.danger-outline:hover{background:#392224}
:root[data-theme="dark"] .form-dialog label small{color:#9aa3b1}
:root[data-theme="dark"] .ban-targets{border:1px solid #3a3f45}
:root[data-theme="dark"] .ban-targets legend{color:#e3e8f1}
:root[data-theme="dark"] .ban-warning{color:#e1c396!important}
:root[data-theme="dark"] .drilldown{border:1px solid #293055;background:#23283a;color:#6777ca}
:root[data-theme="dark"] .preset-chip{border:1px solid #383d45;background:#161c27}
:root[data-theme="dark"] .preset-use{background:none;color:#b3b5b9}
:root[data-theme="dark"] .preset-use:hover{background:#222538;color:#7c8bd8}
:root[data-theme="dark"] .preset-remove{border-left:1px solid #383d45;background:none;color:#98a1b0}
:root[data-theme="dark"] .preset-remove:hover{background:#392224;color:#d35f68}
:root[data-theme="dark"] .preset-editor{border:1px solid #3a3f45;background:#141a24}
:root[data-theme="dark"] .sheet-subtitle{color:#e3e8f1}
:root[data-theme="dark"] .purge-preview{background:#0f141c;color:#bcbec2}
:root[data-theme="dark"] .danger-zone{background:#3b2424;border-top:1px solid #492e31!important}
:root[data-theme="dark"] .danger-zone .sheet-subtitle{color:#cf5968}
:root[data-theme="dark"] .nav-group-label{color:#a0a9b6}
:root[data-theme="dark"] .availability-toggle{border:1px solid #383c43;background:#161c27;color:#c0c2c6}
:root[data-theme="dark"] .availability-toggle:hover{border-color:#34373e;background:#141a24}
:root[data-theme="dark"] .availability-toggle i{background:#2f9e6a;box-shadow:0 0 0 3px #2f9e6a1f}
:root[data-theme="dark"] .availability-toggle.is-away{border-color:#413928;background:#383122;color:#f1d79a}
:root[data-theme="dark"] .availability-toggle.is-away i{background:#d79a2b;box-shadow:0 0 0 3px #d79a2b24}
:root[data-theme="dark"] .availability-toggle svg{color:#98a1b0}
:root[data-theme="dark"] .availability-menu{border:1px solid #373c43;background:#161c27;box-shadow:0 14px 34px #1b26381f}
:root[data-theme="dark"] .availability-option{background:none;color:#e3e8f1}
:root[data-theme="dark"] .availability-option:hover,:root[data-theme="dark"] .availability-option:focus-visible{background:#232936}
:root[data-theme="dark"] .availability-option.active{background:#212537}
:root[data-theme="dark"] .availability-option small{color:#919bab}
:root[data-theme="dark"] .availability-dot{background:#2f9e6a}
:root[data-theme="dark"] .availability-dot.is-away{background:#d79a2b}
:root[data-theme="dark"] .availability-divider{border-top:1px solid #3a3f46;color:#a0a9b6}
:root[data-theme="dark"] .availability-note{border-top:1px solid #3a3f46;color:#919bab}
:root[data-theme="dark"] .transfer-option small.is-away{color:#e7ce98}
:root[data-theme="dark"] .status-badge.is-away{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .is-danger-text{color:#d35f68}
:root[data-theme="dark"] .shortcut-edit label{color:#bcbec2}
:root[data-theme="dark"] .import-summary .is-danger{color:#d35f68}
:root[data-theme="dark"] .import-error{color:#cf5968}
:root[data-theme="dark"] .presence-swatch{background:#1f2227}
:root[data-theme="dark"] .presence-swatch.is-accepting{background:#2f9e6a}
:root[data-theme="dark"] .presence-swatch.is-away{background:#d79a2b}
:root[data-theme="dark"] .presence-swatch.is-disconnected{background:#d0505c}
:root[data-theme="dark"] .presence-swatch.is-offline{background:#212429;box-shadow:inset 0 0 0 1px #d5dbe4}
:root[data-theme="dark"] .presence-legend{color:#929baa}
:root[data-theme="dark"] .presence-now.is-accepting{color:#a7dcc9}
:root[data-theme="dark"] .presence-now.is-away{color:#f1d79a}
:root[data-theme="dark"] .presence-now.is-disconnected{color:#d35f68}
:root[data-theme="dark"] .presence-now.is-offline{color:#919bab}
:root[data-theme="dark"] .heat-day.is-selected{color:#6777ca}
:root[data-theme="dark"] .presence-track{background:repeating-linear-gradient(90deg,#252a30 0 calc(12.5% - 1px),#212429 calc(12.5% - 1px) 12.5%)}
:root[data-theme="dark"] .presence-block{border-right:1px solid #454545}
:root[data-theme="dark"] .presence-block.is-accepting{background:#2f9e6a}
:root[data-theme="dark"] .presence-block.is-away{background:#d79a2b}
:root[data-theme="dark"] .presence-block.is-disconnected{background:#d0505c}
:root[data-theme="dark"] .presence-scale{color:#98a1b0}
:root[data-theme="dark"] .whitelist-env{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .help-cases th{color:#919bab}
:root[data-theme="dark"] .help-cases td{border-bottom:1px solid #3c4045;color:#c1c4c8}
:root[data-theme="dark"] .help-cases td:last-child{color:#a7dcc9}
:root[data-theme="dark"] .help-cases td.is-missed{color:#d35f68}
:root[data-theme="dark"] .message-avatar{background:#1f2434;color:#7180d6}
:root[data-theme="dark"] .message-avatar.is-bot{background:#251f34;color:#927dd6}
:root[data-theme="dark"] .message-row .message.customer{background:#212834;color:#c4c7cd}
:root[data-theme="dark"] .message-row .message.agent{background:#4f68e3;color:#ffffff}
:root[data-theme="dark"] .message-row .message.bot{border:1px solid #342c4d;background:#282238;color:#bdb6d6}
:root[data-theme="dark"] .message.bot .message-meta{color:#8b7cc0}
:root[data-theme="dark"] .message-badge{background:#6b4fc7;color:#ffffff}
:root[data-theme="dark"] .message.is-flagged{box-shadow:0 0 0 2px #e8959d}
:root[data-theme="dark"] .message-row .message.agent.is-flagged .message-quality-flag{color:#d14755}
:root[data-theme="dark"] .message.note.is-whisper{border:1px dashed #9c8be0;background:#272239;color:#b8b1d4}
:root[data-theme="dark"] .message.note.is-whisper small{color:#927dd6}
:root[data-theme="dark"] .archive-transcript .message-row.is-focused .message{box-shadow:0 0 0 2px #93a6f5}
:root[data-theme="dark"] .monitor-load-text{color:#b1b4b7}
:root[data-theme="dark"] .monitor-load-bar{background:#24282f}
:root[data-theme="dark"] .monitor-load-bar i{background:#4f68e3}
:root[data-theme="dark"] .monitor-load-bar.is-full i{background:#d79a2b}
:root[data-theme="dark"] .monitor-note{color:#f1d79a}
:root[data-theme="dark"] .monitor-chat{border:1px solid #3a3f45;background:#141a24;color:inherit}
:root[data-theme="dark"] .monitor-chat:hover,:root[data-theme="dark"] .monitor-chat:focus-visible{border-color:#2e3447;background:#23283a}
:root[data-theme="dark"] .monitor-chat-last{color:#929baa}
:root[data-theme="dark"] .monitor-chat.is-queue{border-color:#413928;background:#383122}
:root[data-theme="dark"] .wait-badge{background:#242830;color:#b1b4b7}
:root[data-theme="dark"] .wait-badge.is-warning{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .wait-badge.is-danger{background:#362023;color:#d35f68}
:root[data-theme="dark"] .mini-tag.is-warning{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .monitor-footer{background:#161c27}
:root[data-theme="dark"] .performance-table th[data-sort]:hover{color:#8495eb}
:root[data-theme="dark"] .performance-table th.is-sorted{color:#6777ca}
:root[data-theme="dark"] .performance-table .is-good{color:#a7dcc9}
:root[data-theme="dark"] .inline-check{color:#bcbec2}
:root[data-theme="dark"] .archive-filter-grid .archive-flag-filter{border:1px solid #3a3f45;background:#141a24}
:root[data-theme="dark"] .archive-flag-filter small{color:#98a1b0}
:root[data-theme="dark"] .archive-match{border:1px solid #3a3f45;background:#141a24;color:inherit}
:root[data-theme="dark"] .archive-match:hover{border-color:#2e3447;background:#23283a}
:root[data-theme="dark"] .archive-match small{color:#98a1b0}
:root[data-theme="dark"] .archive-match-text{color:#c1c4c8}
:root[data-theme="dark"] .archive-match.is-flagged{border-color:#452d2f;background:#3a2326}
:root[data-theme="dark"] mark{background:#594b1e;color:inherit}
:root[data-theme="dark"] .prechat-card .check-field{border:1px solid #3a3f45;background:#141a24}
:root[data-theme="dark"] .prechat-card .check-field small{color:#919bab}
:root[data-theme="dark"] .password-toggle{background:none;color:#919bab}
:root[data-theme="dark"] .password-toggle:hover,:root[data-theme="dark"] .password-toggle:focus-visible{background:#262a31;color:#8495eb}
:root[data-theme="dark"] .review-switch small{color:#919bab}
:root[data-theme="dark"] .review-disabled{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .lang-switch{border:1px solid #383c43;background:#161c27}
:root[data-theme="dark"] .lang-switch button{background:none;color:#929baa}
:root[data-theme="dark"] .lang-switch button:hover{background:#232936}
:root[data-theme="dark"] .lang-switch button.active{background:#212537;color:#6777ca}
:root[data-theme="dark"] .lang-switch .flag{box-shadow:0 0 0 1px #0000001a}
:root[data-theme="dark"] .nav-dot.nav-dot-ok{background:#2f9e6f;box-shadow:0 0 0 3px #2f9e6f22}
:root[data-theme="dark"] .ai-rules{border:1px solid #363b43;background:#161c27;color:var(--ink)}
:root[data-theme="dark"] .ai-core{color:#b3b5b8}
:root[data-theme="dark"] .ai-core summary{color:#bcbec2}
:root[data-theme="dark"] .ai-core pre{background:#0f141c;color:#bcbec2}
:root[data-theme="dark"] .ai-test-form textarea{border:1px solid #363b43}
:root[data-theme="dark"] .ai-test-result{background:#141a24}
:root[data-theme="dark"] .ai-test-result.is-accepted{border-color:#2d3d36;background:#22372b}
:root[data-theme="dark"] .ai-test-result.is-rejected{border-color:#f0dc9a;background:#363220}
:root[data-theme="dark"] .ai-test-verdict{color:#e3e8f1}
:root[data-theme="dark"] .ai-test-answer{color:var(--ink)}
:root[data-theme="dark"] .ai-test-label{color:#929caa}
:root[data-theme="dark"] .ai-test-sources{color:#bcbec2}
:root[data-theme="dark"] .ai-test-raw{color:#b3b5b8}
:root[data-theme="dark"] .ai-status-row{border-bottom:1px solid #3b3f46}
:root[data-theme="dark"] .ai-status-row dt{color:#929caa}
:root[data-theme="dark"] .ai-status-row dd{color:var(--ink)}
@media(max-width:1100px){
:root[data-theme="dark"] .inbox-layout.with-panel .customer-panel{box-shadow:-18px 0 40px #15233a26}
}
:root[data-theme="dark"] .appearance-preview{background:#0f141c}
:root[data-theme="dark"] .sidebar-toggle{color:#929bab}
:root[data-theme="dark"] .sidebar-toggle:hover{color:var(--blue)}
:root[data-theme="dark"] .sidebar-toggle-count{background:#e5484d;color:#ffffff}
:root[data-theme="dark"] .button.primary:not(:disabled):hover{box-shadow:0 6px 16px #4668e833}
:root[data-theme="dark"] .button.secondary:not(:disabled):hover{box-shadow:0 3px 10px #1f2d4410}
:root[data-theme="dark"] .stat-card:hover{box-shadow:0 10px 24px #1f2d4412}
:root[data-theme="dark"] .conversation:hover{box-shadow:inset 3px 0 0 #c9d3fb}
:root[data-theme="dark"] .owner-banner{border:1px solid #2d354b;background:#222839;color:#a2aad4}
:root[data-theme="dark"] .owner-banner.is-warning{border-color:#f0dc9a;background:#332e1f;color:#f1d99e}
:root[data-theme="dark"] .owner-banner.is-critical{border-color:#452d2f;background:#392224;color:#cf5968}
:root[data-theme="dark"] .license-overlay{background:#f6f8fbf2}
:root[data-theme="dark"] .license-card{background:#161c27;box-shadow:0 24px 60px #15233a1f}
:root[data-theme="dark"] .license-icon{background:#362023;color:#d35f68}
:root[data-theme="dark"] .prechat-link-row{background:#131923}
:root[data-theme="dark"] .role-item{border:1px solid #3a3f45}
:root[data-theme="dark"] .role-item:hover{border-color:#323849;background:#24293b}
:root[data-theme="dark"] .theme-preset{background:#161c27;color:#bcbec2}
:root[data-theme="dark"] .theme-preset span{background:var(--swatch);box-shadow:inset 0 0 0 1px #0000001a}
:root[data-theme="dark"] .theme-preset:hover{border-color:#2e3344}
:root[data-theme="dark"] .theme-preset.active{box-shadow:0 0 0 3px #4668e822;color:#e3e8f1}
:root[data-theme="dark"] .color-field{border:1px solid #3a3f45;background:#131923;color:#e3e8f1}
:root[data-theme="dark"] .color-field small{color:#919bab}
:root[data-theme="dark"] .color-input input[type=color]{background:#161c27}
:root[data-theme="dark"] .launcher-style{background:#161c27}
:root[data-theme="dark"] .launcher-style:hover{border-color:#2e3344}
:root[data-theme="dark"] .launcher-style.active{box-shadow:0 0 0 3px #4668e822}
:root[data-theme="dark"] .launcher-style strong{color:#bcbec2}
:root[data-theme="dark"] .launcher-sample{background:var(--blue);color:#ffffff}
:root[data-theme="dark"] .sample-image{background:repeating-linear-gradient(45deg,#202531 0 6px,#232a38 6px 12px);color:#7c8bd8;border:1px dashed #2b2f3f}
:root[data-theme="dark"] .launcher-fields output{color:#7c8bd8}
:root[data-theme="dark"] .launcher-image-preview{background:repeating-linear-gradient(45deg,#252a33 0 6px,#141a24 6px 12px);color:#919bab}
:root[data-theme="dark"] .launcher-color-field input[type=color]{background:#161c27}
:root[data-theme="dark"] .role-tag.ip-restricted{background:#2f2a1c;color:#f1d79a}
:root[data-theme="dark"] .item-author{color:var(--muted)}
:root[data-theme="dark"] .knowledge-author-filter{color:var(--muted)}
:root[data-theme="dark"] .knowledge-test-form textarea{border:1px solid #363b43}
:root[data-theme="dark"] .knowledge-test-result{background:#141a24}
:root[data-theme="dark"] .knowledge-test-result.is-accepted{border-color:#2d3d36;background:#22372b}
:root[data-theme="dark"] .knowledge-test-result.is-rejected{border-color:#f0dc9a;background:#363220}
:root[data-theme="dark"] .knowledge-test-list li{background:#161c27}
:root[data-theme="dark"] .knowledge-test-list li.is-used{border-color:#9fd6bd}
:root[data-theme="dark"] .knowledge-test-score{color:var(--muted)}
:root[data-theme="dark"] .knowledge-test-bar{background:#25292e}
:root[data-theme="dark"] .knowledge-test-bar i{background:#9aa3b1}
:root[data-theme="dark"] .knowledge-test-list li.is-used .knowledge-test-bar i{background:#2f9e6e}
:root[data-theme="dark"] .knowledge-test-excerpt{color:#bcbec1}
:root[data-theme="dark"] .cp-trigger{background:#161c27}
:root[data-theme="dark"] .cp-trigger:hover:not(:disabled){border-color:#2e3344}
:root[data-theme="dark"] .cp-trigger:focus-visible,:root[data-theme="dark"] .cp-trigger[aria-expanded=true]{box-shadow:0 0 0 3px #4668e822}
:root[data-theme="dark"] .cp-chip{box-shadow:inset 0 0 0 1px #0000001f}
:root[data-theme="dark"] .cp-pop{background:var(--surface);box-shadow:0 18px 50px #15233a2e,0 2px 8px #15233a14}
:root[data-theme="dark"] .cp-thumb{border:2px solid #454545;box-shadow:0 0 0 1px #0000004d,0 2px 6px #0003}
:root[data-theme="dark"] .cp-hue{background:linear-gradient(to right,#ff0000,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000)}
:root[data-theme="dark"] .cp-preview{box-shadow:inset 0 0 0 1px #0000001f}
:root[data-theme="dark"] .cp-eyedropper{background:#161c27;color:#bcbec2}
:root[data-theme="dark"] .cp-eyedropper:hover:not(:disabled){border-color:#2e3344;background:#23293a}
:root[data-theme="dark"] .cp-hint{color:var(--muted)}
:root[data-theme="dark"] .cp-label{color:var(--muted)}
:root[data-theme="dark"] .cp-swatch-chip{background:var(--chip);box-shadow:inset 0 0 0 1px #0000002a}
:root[data-theme="dark"] .crop-stage{background:#0f172a}
:root[data-theme="dark"] .crop-mask{box-shadow:0 0 0 2px #ffffffe6,0 0 0 999px #0f172a99}
:root[data-theme="dark"] .crop-preview{background:#232831}
:root[data-theme="dark"] .ai-model-field{color:#bcbec2}
:root[data-theme="dark"] .ai-usage-title{color:var(--ink)}
:root[data-theme="dark"] .ai-usage-bar i{background:#232b4d}
:root[data-theme="dark"] .ai-usage-bar small{color:var(--muted)}
:root[data-theme="dark"] .ai-usage-failed{color:#bcbec2}
:root[data-theme="dark"] .routing-services-button.is-inactive{color:var(--muted)}
:root[data-theme="dark"] .form-dialog .check-field{border:1px solid #3a3f45;background:#141a24}
:root[data-theme="dark"] .form-dialog .check-field small{color:#9aa3b1}

/* ---- Penyesuaian manual mode gelap ---- */
:root[data-theme="dark"]{color-scheme:dark;--blue:#5b7cf0;--blue-dark:#4a6ae6}
:root[data-theme="dark"] body{background:#0f141c}
:root[data-theme="dark"] .bar{background:#5598e7}
:root[data-theme="dark"] .heat-cell{color:#e3e8f1}
:root[data-theme="dark"] .heat-cell.strong{color:#0b1220}
:root[data-theme="dark"] .heat-cell:hover,:root[data-theme="dark"] .heat-cell:focus-visible{outline-color:#e3e8f1}
:root[data-theme="dark"] .chart-tooltip{background:#e6eaf2;color:#141a24}
:root[data-theme="dark"] .chart-tooltip span{color:#4a5568}
:root[data-theme="dark"] .message.agent{background:#4058c9;color:#fff}
:root[data-theme="dark"] .message.customer{color:#dbe2f5}
:root[data-theme="dark"] .message.agent small,:root[data-theme="dark"] .message.agent .attachment-copy small{color:#d6ddfb}
:root[data-theme="dark"] .message.agent .attachment-file{border-color:#ffffff40;background:#ffffff1f;color:#fff}
:root[data-theme="dark"] .message.agent .attachment-icon{background:#ffffff30;color:#fff}
:root[data-theme="dark"] .message.note{border-color:#6b5a22;background:#2d2713;color:#f1e3b0}
:root[data-theme="dark"] .message.note small,:root[data-theme="dark"] .note-delete{color:#d9bf6a}
:root[data-theme="dark"] .composer-wrap.note-mode textarea{background:#2a2414;box-shadow:inset 0 0 0 1px #5d4e1d}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#5f6b7f}
:root[data-theme="dark"] .online-dot{border-color:#161c27}
:root[data-theme="dark"] .sheet-dialog,:root[data-theme="dark"] .confirm-dialog{background:#161c27;color:#e6eaf2}
:root[data-theme="dark"] .login-screen{background:radial-gradient(ellipse at 50% 24%,#1a2340 0,transparent 52%),#0f141c}
:root[data-theme="dark"] select{color-scheme:dark}
:root[data-theme="dark"] .preview-launcher{box-shadow:none}
:root[data-theme="dark"] .availability-toggle.is-away{border-color:#5d4a1d;background:#2a2414;color:#f0c46e}
:root[data-theme="dark"] .availability-menu{background:#161c27;border-color:#2a3342;box-shadow:0 14px 34px #0008}
:root[data-theme="dark"] .availability-option{color:#e6eaf2}
:root[data-theme="dark"] .availability-option.active{background:#222c47}
:root[data-theme="dark"] .status-badge.is-away{background:#3a2d10;color:#f0c46e}
:root[data-theme="dark"] .presence-track{background:repeating-linear-gradient(90deg,#1c2330 0 calc(12.5% - 1px),#262f3e calc(12.5% - 1px) 12.5%)}
:root[data-theme="dark"] .presence-block{border-right-color:#161c27}
:root[data-theme="dark"] .presence-swatch.is-offline{background:#2a3342;box-shadow:inset 0 0 0 1px #3a4456}
:root[data-theme="dark"] .presence-now.is-accepting{color:#7dd0a2}
:root[data-theme="dark"] .presence-now.is-away{color:#f0c46e}
:root[data-theme="dark"] .presence-now.is-disconnected{color:#f09aa2}
:root[data-theme="dark"] .help-cases td:last-child{color:#7dd0a2}
:root[data-theme="dark"] .help-cases td.is-missed{color:#f09aa2}
:root[data-theme="dark"] .whitelist-env{background:#3a2d10;color:#f0c46e}
:root[data-theme="dark"] .message-row .message.bot{border-color:#3d3366;background:#221d3b;color:#e4defb}
:root[data-theme="dark"] .message.bot .message-meta{color:#b3a6ec}
:root[data-theme="dark"] .message-avatar.is-bot{background:#2d2650;color:#c9bdf5}
:root[data-theme="dark"] .message-avatar{background:#222c47;color:#b9c6f5}
:root[data-theme="dark"] .message.note.is-whisper{border-color:#5b4fa0;background:#211c38;color:#e0dafa}
:root[data-theme="dark"] .message.note.is-whisper small{color:#b3a6ec}
:root[data-theme="dark"] .message.is-flagged{box-shadow:0 0 0 2px #a8505a}
:root[data-theme="dark"] mark{background:#5a4a12;color:#f6e7b0}
:root[data-theme="dark"] .wait-badge.is-warning,:root[data-theme="dark"] .mini-tag.is-warning{background:#3a2d10;color:#f0c46e}
:root[data-theme="dark"] .wait-badge.is-danger{background:#3b1c21;color:#f09aa2}
:root[data-theme="dark"] .monitor-chat.is-queue{border-color:#5d4a1d;background:#251f12}
:root[data-theme="dark"] .archive-match.is-flagged{border-color:#5b2c33;background:#2a171b}
:root[data-theme="dark"] .monitor-note{color:#f0c46e}
:root[data-theme="dark"] .performance-table .is-good{color:#7dd0a2}
