:root[data-theme=dark]{color-scheme:dark;background:#101010;color:#f0f0f0;--muted:#a9a9a9;--border:#2f2f2f;--blue:#8e8e8e;--surface:#181818;--raised:#202020}
[data-theme=dark] body{background:radial-gradient(ellipse at 70% 0,#20202055,transparent 50%),#101010}
[data-theme=dark] :is(.sidebar,.topbar){background:#141414;border-color:#2c2c2c}
[data-theme=dark] :is(.panel,.stat,.content-card,.rule-card,.connection-card,.asset-card,.journey-card,.execution-log,.brand-form){background:#181818;border-color:#2f2f2f;box-shadow:0 4px 18px #0000000a}
[data-theme=dark] :is(h1,h2,h3,.brand,.profile strong,.table-title,.journey-card h2,.asset-card-body h3,.variant-body h3,.stat>strong,.automation-stats strong){color:#f2f2f2}
[data-theme=dark] :is(p,label,legend,.subtle,.text-button,.breadcrumb,.breadcrumb strong,.nav-item,.field-hint,.eyebrow,.auto-note,.auto-empty p,.connection-form small,.brand-context-card p,.brand-context-card li,.journey-card p,.variant-caption,.asset-card-body small,.section-header p,.profile small){color:#a9a9a9}
[data-theme=dark] :is(input,select,textarea){background:#141414;color:#ececec;border-color:#3b3b3b}
[data-theme=dark] :is(input,textarea)::placeholder{color:#818181}
[data-theme=dark] :is(.workspace-picker select,.workspace-picker,.mobile-workspace,.topbar-workspace){background:#202020;color:#ececec;border-color:#363636}
[data-theme=dark] .workspace-icon{background:#323232;color:#d9d9d9}
[data-theme=dark] :is(.secondary,.icon-button,.plan-card button,.file-button){background:#232323;color:#d1d1d1;border-color:#3c3c3c}
[data-theme=dark] .primary{background:#8e8e8e;border-color:#9f9f9f;color:#101010;box-shadow:0 3px 18px #7e7e7e25;font-weight:650}
[data-theme=dark] :is(.nav-item.active,.tabs button.active){background:#333333;color:#b1b1b1}
[data-theme=dark] .nav-item.active>span{color:#b1b1b1}
[data-theme=dark] :is(.nav-item:hover,.text-button:hover){color:#efefef;background:#242424}
[data-theme=dark] .brand-icon{background:#efefef;color:#181818}
[data-theme=dark] .avatar{background:#393939;color:#e8e8e8;border-color:#181818;box-shadow:0 0 0 1px #424242}
[data-theme=dark] :is(.plan-card,.profile,.channel-options label,.section-header,.panel-bottom,.mini-post,.review-history,.review-history>div,.network-customise,.rule-bottom,.connection-bottom){border-color:#323232}
[data-theme=dark] .automation-hero{background:radial-gradient(ellipse at 90% 20%,#53535348,transparent 65%),linear-gradient(115deg,#242424,#212121 65%,#2b2b2b);border-color:#494949;box-shadow:0 10px 70px #0a0a0a70}
[data-theme=dark] .automation-hero :is(h2,p){color:#f4f4f4}
[data-theme=dark] .automation-hero p{color:#bababa}
[data-theme=dark] :is(.orbit-source>span,.orbit-core,.orbit-stages>span){background:#353535;border-color:#5e5e5e;color:#cfcfcf;box-shadow:0 5px 20px #10101080}
[data-theme=dark] .orbit-core{background:linear-gradient(145deg,#555555,#393939)}
[data-theme=dark] :is(.orbit-line,.orbit-branches){border-color:#5c5c5c}
[data-theme=dark] :is(.orbit-label,.automation-hero .eyebrow){color:#aeaeae}
[data-theme=dark] :is(.automation-stats>article,.readiness-card,.journey-card,.run-summary-strip,.asset-card-body,.variant-body){background:#181818;border-color:#2f2f2f}
[data-theme=dark] :is(.readiness-row,.readiness-bottom,.campaign-row,.journey-card-footer,.journey-card-meta,.asset-card-body,.studio-form>.section-header,.variant-actions,.run-selector,.brand-form>.section-header){border-color:#323232}
[data-theme=dark] :is(.campaign-glyph,.rule-icon,.journey-mini-flow>div,.stage-editor-card,.small-chip,.run-status,.asset-type,.brand-ai-status){background:#292929;color:#bdbdbd;border-color:#414141}
[data-theme=dark] :is(.journey-mini-flow strong,.readiness-row strong,.campaign-row .table-title,.journey-stage-editor strong){color:#e5e5e5}
[data-theme=dark] :is(.brand-context-card,.studio-ai-card){background:linear-gradient(145deg,#282828,#202020);border-color:#424242}
[data-theme=dark] :is(.brand-context-card h2,.studio-ai-card h2){color:#f3f3f3}
[data-theme=dark] :is(.studio-source,.studio-source-media,.asset-visual,.variant-media,.variant-pending){background:#111111;border-color:#3b3b3b}
[data-theme=dark] :is(dialog,.simple-modal){background:#1c1c1c;color:#e7e7e7;border-color:#484848}
[data-theme=dark] dialog::backdrop{background:#060606b8;backdrop-filter:blur(8px)}
[data-theme=dark] :is(.modal-footer,.post-preview,.journey-stage-editor){background:#191919;border-color:#373737}
[data-theme=dark] :is(.modal-header,.variant-recipe,.video-cuts,.journey-source-list>label,.stage-editor-card,.source-details){border-color:#3c3c3c}
[data-theme=dark] :is(.notice,.auto-note,.field-notice,.import-success){background:#272727;border-color:#454545;color:#c1c1c1}
[data-theme=dark] :is(.data-table,.calendar,.calendar-panel,.week-calendar){background:#181818;color:#d2d2d2}
[data-theme=dark] :is(.data-table th,.day-label,.calendar .day-label,.bulk-bar,.filter-bar,.inbox-sidebar,.inbox-detail-header){background:#202020;color:#acacac;border-color:#353535}
[data-theme=dark] :is(.data-table td,.day,.week-day,.conversation-row,.inbox-detail,.inbox-layout,.message-meta,.inbox-compose){border-color:#343434}
[data-theme=dark] .data-table tr:hover td{background:#282828}
[data-theme=dark] :is(.day.muted,.day.other-month){background:#141414;color:#6d6d6d}
[data-theme=dark] :is(.day.today,.calendar .day.today){background:#292929}
[data-theme=dark] :is(.day button,.calendar-post){background:#363636;color:#cccccc;border-color:#515151}
[data-theme=dark] :is(.badge,.small-chip.approved-chip,.run-status.ready){background:#16372f;color:#7bddb2;border-color:#2e6653}
[data-theme=dark] :is(.badge.draft,.status-draft){background:#2d2d2d;color:#c6c6c6;border-color:#464646}
[data-theme=dark] :is(.run-error,.hold-chip,.status-changes_requested){background:#3d2e25;color:#edc39b;border-color:#765943}
[data-theme=dark] :is(.execution-log ol:before,.budget-progress){background:#363636}
[data-theme=dark] .execution-log li i{background:#949494;border-color:#272727}
[data-theme=dark] :is(.run-summary-strip span,.variant-meta,.variant-cta,.variant-recipe,.review-note,.journey-card-meta,.studio-source-caption,.media-upload-folder>span){color:#bebebe}
[data-theme=dark] :is(.inbox-conversation,.conversation-row.active,.message-bubble,.saved-replies,.report-preview,.link-editor-row,.competitor-row){background:#252525;border-color:#3f3f3f;color:#d0d0d0}
[data-theme=dark] :is(.message-bubble.outgoing,.internal-note){background:#353535;color:#e4e4e4}
[data-theme=dark] :is(.search-input,.search-wrap,.toolbar input,.toolbar select,.tabs,.toolbar .tabs){background:#1b1b1b;color:#d4d4d4;border-color:#393939}
[data-theme=dark] footer{color:#929292;border-color:#303030}
[data-theme=dark] .capability-dot.ready{background:#68d5a7}
[data-theme=dark] .connection-result.error{color:#ffb6ad}
[data-theme=dark] .connection-result.success{color:#7bddb2}
[data-theme=dark] #toast{background:#ececec;color:#202020;border:1px solid #c5c5c5}
[data-theme=dark] :is(.integration-note p,.settings-panel p,.simple-modal p,.simple-modal li){color:#b4b4b4}
[data-theme=dark] .sidebar nav{scrollbar-color:#424242 transparent}
[data-theme=dark] .orbit-brain{background:linear-gradient(145deg,#4d4d4d,#2f2f2f);border-color:#737373;color:#dadada;box-shadow:0 10px 40px #10101070}
[data-theme=dark] .orbit-brain small{color:#cacaca}
[data-theme=dark] .workspace-add{background:#343434;color:#d4d4d4;border-color:#535353}

[data-theme=dark] .readiness-bottom{background:#1e1e1e;color:#bababa}
