.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:36px;padding:7px;border:0;border-radius:9px;background:transparent;color:#795491;cursor:pointer}.theme-toggle .scout-icon{width:21px;height:21px}.theme-toggle:hover{background:#eee3fc}.theme-toggle[aria-pressed=true]{background:#30213f;color:#d2b3ff}.auth-form-side>.theme-toggle{position:absolute;top:28px;right:28px;border:1px solid #ddcceb;background:#ffffffb3;width:42px;height:42px}.auth-kicker{padding-right:40px}
html[data-theme=dark]{color-scheme:dark;--bg:#10121e;--surface:#1b1e30;--ink:#f1eafa;--muted:#b6abc8;--line:#353149;--accent:#ad7af7;--accent-light:#342643;--read-ink:#f0eaf8;--read-muted:#bab0cb;--shadow:0 12px 30px #0003,0 2px 6px #0002}
[data-theme=dark] body{background:radial-gradient(ellipse at 80% 0%,#25233f88,transparent 55%),#10121e;color:#eee7f6}[data-theme=dark] body:before{border-color:#51426515}[data-theme=dark] .sidebar{background:linear-gradient(160deg,#1b1d30,#131725);border-color:#343047;color:#eee7f6}[data-theme=dark] .sidebar:after{border-color:#66508a16;box-shadow:0 0 0 30px #4b4a7b13}[data-theme=dark] .brand,[data-theme=dark] .auth-story .brand{color:#f4efff}[data-theme=dark] .sidebar .nav-item{color:#c1b4d3}[data-theme=dark] .sidebar .nav-item:hover{background:#302641;border-color:#4c385f}[data-theme=dark] .sidebar .nav-item.active{color:#fff;background:linear-gradient(120deg,#9250de,#7132c7);border-color:#a371db}[data-theme=dark] .sidebar-note,[data-theme=dark] .team-identity,[data-theme=dark] .team-profile{background:#222137;border-color:#373047}[data-theme=dark] .sidebar-note strong,[data-theme=dark] .team-identity strong{color:#e0d1ee}[data-theme=dark] .sidebar-note>span,[data-theme=dark] .team-identity small,[data-theme=dark] .brand-caption,[data-theme=dark] .workspace-label{color:#b4a4c7}[data-theme=dark] .team-profile button{color:#d4c5e4}[data-theme=dark] .team-profile button:hover{background:#352747}[data-theme=dark] .team-avatar{background:linear-gradient(135deg,#463056,#2c2944);color:#e3c8fa;border-color:#5e4075}
[data-theme=dark] .panel,[data-theme=dark] .team-stat{background:linear-gradient(145deg,#222337ee,#1a1e30ee);border-color:#383248;box-shadow:var(--shadow)}[data-theme=dark] .quick-search,[data-theme=dark] .account-chip,[data-theme=dark] .reading-controls{background:#202235;border-color:#393249;color:#c2b4d1}[data-theme=dark] .quick-search .scout-icon{color:#c7b5df}[data-theme=dark] .quick-search kbd{background:#342b46;color:#cbb4df}[data-theme=dark] .reading-controls button{color:#c6b4da}[data-theme=dark] .reading-controls button[aria-pressed=true]{background:#493063;color:#e8cbff}[data-theme=dark] .account-chip.connected{background:#1b302d;color:#a2dcc5}[data-theme=dark] #breadcrumb{color:#d5c5e4}
[data-theme=dark] .platform-switch button{background:#1e2234;border-color:#373149;color:#d2c4e0;box-shadow:0 7px 19px #0002}[data-theme=dark] .platform-switch button[aria-pressed=true],[data-theme=dark] .platform-switch #platform-instagram[aria-pressed=true]{background:linear-gradient(140deg,#3b2853,#252339);border-color:#a675d4;color:#e4c6ff}[data-theme=dark] .platform-switch .source-description{color:#b6a8c8}[data-theme=dark] .platform-switch button:hover{border-color:#9b75bc}[data-theme=dark] .platform-bar>span:first-child{color:#b4a0c7}
[data-theme=dark] h1,[data-theme=dark] .page-heading h1,[data-theme=dark] .panel-heading h2,[data-theme=dark] .rail-heading h2{color:#f0e6fb}[data-theme=dark] .eyebrow{color:#b99cce}[data-theme=dark] .step{background:linear-gradient(135deg,#513563,#322744);border-color:#67477f;color:#e2b9fc}[data-theme=dark] label,[data-theme=dark] .checkbox strong,[data-theme=dark] .mode-option strong{color:#e4d7ee}[data-theme=dark] input:not([type=radio]):not([type=checkbox]),[data-theme=dark] select,[data-theme=dark] .compose-dialog textarea{background:#151a2b;border-color:#4a3b5c;color:#eee5f6;box-shadow:inset 0 1px 2px #0002}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#a796b8}[data-theme=dark] .hint,[data-theme=dark] .checkbox small,[data-theme=dark] .form-footnote,[data-theme=dark] .mode-option small,[data-theme=dark] .info-note p,[data-theme=dark] .page-heading p,[data-theme=dark] .empty-state p{color:#b9accb}[data-theme=dark] .mode-option{background:#1a1f31;border-color:#3a304b}[data-theme=dark] .mode-option:has(input:checked){background:linear-gradient(135deg,#3d2d54,#2a2740);border-color:#a377cf}[data-theme=dark] .mode-icon{color:#b298c6}[data-theme=dark] .mode-option:has(input:checked) .mode-icon{color:#d1a5f7}
[data-theme=dark] .button.secondary{background:#29243c;border-color:#534163;color:#e0c7f2}[data-theme=dark] .button.secondary:hover{background:#3b2b51}[data-theme=dark] .button.text,[data-theme=dark] .reuse-button{color:#c4a1e0}[data-theme=dark] .button.danger{background:#3d2734;border-color:#6e4054;color:#f2b9c9}[data-theme=dark] .connect-banner,[data-theme=dark] .active-banner{background:#272239;border-color:#43314f;color:#d1b9e4}[data-theme=dark] .connect-banner>span{color:#d0bce0}[data-theme=dark] .status-badge{background:#30253f;border-color:#453152;color:#cfb6e0}[data-theme=dark] .status-badge.completed{background:#1b342e;border-color:#305347;color:#abdbca}[data-theme=dark] .status-badge.running{background:#3b2852;border-color:#684587;color:#dfb8ff}[data-theme=dark] .status-badge.partial,[data-theme=dark] .status-badge.stopped,[data-theme=dark] .status-badge.interrupted{background:#3c3127;border-color:#69513a;color:#e4c8a0}
[data-theme=dark] .job-meta h3,[data-theme=dark] .contact-name,[data-theme=dark] .history-info h3,[data-theme=dark] .team-user strong{color:#ead5fa}[data-theme=dark] .job-meta>span,[data-theme=dark] .job-activity,[data-theme=dark] .job-detail,[data-theme=dark] .breakdown,[data-theme=dark] .metrics small,[data-theme=dark] .contact-user,[data-theme=dark] .contact-source,[data-theme=dark] .contact-source>span:first-child,[data-theme=dark] .contact-context,[data-theme=dark] .source-excerpt,[data-theme=dark] .pagination{color:#c0afd0}[data-theme=dark] .metrics>div,[data-theme=dark] .job-detail{background:#252237;border-color:#3b304b}[data-theme=dark] .metrics>div.metric-highlight{background:linear-gradient(140deg,#423057,#2d2845);border-color:#66427e}[data-theme=dark] .metrics span{color:#cbb0e7}[data-theme=dark] .metric-highlight span{color:#e4bbff}[data-theme=dark] .contact{background:linear-gradient(145deg,#252238,#1c2033);border-color:#493653}[data-theme=dark] .contact:hover{border-color:#9d72bb}[data-theme=dark] .avatar,[data-theme=dark] .avatar img{background:#352743;border-color:#5e3e72;color:#dcb5f7}[data-theme=dark] .contact-source a,[data-theme=dark] .message-link{color:#d1a7ee}[data-theme=dark] .source-excerpt{border-color:#825699}[data-theme=dark] .contact-write{background:#362647;border-color:#634079;color:#e0baf8}[data-theme=dark] .contact-write:hover{background:#49315d}[data-theme=dark] .contacts-toolbar,[data-theme=dark] .history-row,[data-theme=dark] .team-user,[data-theme=dark] .team-audit-row,[data-theme=dark] footer{border-color:#3a3049}[data-theme=dark] .view-picker{background:#292038;border-color:#463052}[data-theme=dark] .view-picker button{color:#bca0d0}[data-theme=dark] .view-picker button[aria-pressed=true]{background:#49305e;color:#e3c4f9}
[data-theme=dark] .overview-number,[data-theme=dark] .team-stat strong{color:#c79af8}[data-theme=dark] .overview-card>p,[data-theme=dark] .rail-caption,[data-theme=dark] .rail-empty,[data-theme=dark] .recent-job small,[data-theme=dark] .mini-state,[data-theme=dark] .rail-privacy,[data-theme=dark] .team-user small,[data-theme=dark] .team-audit-row,[data-theme=dark] .team-stat span,[data-theme=dark] .history-info p{color:#bbacc9}[data-theme=dark] .recent-job strong,[data-theme=dark] .connection-mini strong{color:#e0d0ee}[data-theme=dark] .recent-job,[data-theme=dark] .rail-privacy,[data-theme=dark] .rail-platforms{border-color:#3c2e4b}[data-theme=dark] .rail-platforms>span,[data-theme=dark] .social-tile{background:#30243e;border-color:#4d345c}[data-theme=dark] .overview-chart path{stroke:#44344f}[data-theme=dark] .mini-state.ready,[data-theme=dark] .team-active{color:#9cd8bf}[data-theme=dark] .team-disabled{color:#d9a5b6}
[data-theme=dark] .connection-guide h2,[data-theme=dark] .connected-view h3{color:#ddbeef}[data-theme=dark] .connection-guide li{color:#dac8e8}[data-theme=dark] .connection-guide p,[data-theme=dark] .privacy-note,[data-theme=dark] .auth-panel form>p,[data-theme=dark] #connected-view p,[data-theme=dark] .official-settings,[data-theme=dark] .official-settings>summary{color:#c1afce}[data-theme=dark] .connection-guide code,[data-theme=dark] .instagram-scope{background:#30243e;border-color:#513360;color:#d3b5e5}[data-theme=dark] .instagram-scope strong{color:#e1b9f9}[data-theme=dark] .instagram-scope p{color:#bba2ce}[data-theme=dark] .connected-icon{background:#332740;border-color:#604073;color:#d4aff0}[data-theme=dark] .empty-state{background:radial-gradient(ellipse at 50% 40%,#38284f77,transparent 70%)}[data-theme=dark] .empty-state h3{color:#e4d2f1}[data-theme=dark] .empty-state h3 em{color:#c593fa}[data-theme=dark] .empty-features>span{background:#292337;border-color:#483155;color:#cbb5df}
[data-theme=dark] .team-dialog,[data-theme=dark] .photo-dialog{background:linear-gradient(140deg,#242338,#191d2d);border-color:#53405f;color:#e0c8f0}[data-theme=dark] .team-dialog h2,[data-theme=dark] .photo-caption strong{color:#e7d2f7}[data-theme=dark] .team-dialog p,[data-theme=dark] .team-dialog label,[data-theme=dark] .compose-counter{color:#c8b2da}[data-theme=dark] .compose-dialog #compose-status{background:#352543;color:#dfc3f0}[data-theme=dark] .photo-dialog>img{background:#151829}[data-theme=dark] #notice,[data-theme=dark] #team-auth-error,[data-theme=dark] #team-password-error{background:#392632;border-color:#754457;color:#edc0d0}
[data-theme=dark] .team-auth{background:radial-gradient(ellipse at 30% 30%,#35264b,transparent 65%),#111420}[data-theme=dark] .auth-story{background:radial-gradient(ellipse at 60% 50%,#33234c99,transparent 65%),linear-gradient(150deg,#1b1b2c,#151929);border-color:#403048}[data-theme=dark] .auth-story:after{border-color:#8e68ac0d;box-shadow:0 0 0 55px #8c6bad08,0 0 0 110px #9176c009}[data-theme=dark] .auth-form-side{background:#171a2ab3}[data-theme=dark] .auth-story h1{color:#f1e5fa}[data-theme=dark] .auth-story h1 em{color:#bf87fa}[data-theme=dark] .auth-form-wrap h2{color:#e7cef8}[data-theme=dark] .auth-form-wrap>p,[data-theme=dark] .auth-note,[data-theme=dark] .auth-story-copy p,[data-theme=dark] .auth-platforms>span{color:#bfa7d0}[data-theme=dark] .auth-form-wrap label{color:#dac4e7}[data-theme=dark] .auth-form-wrap input:not([type=checkbox]){background:#111727;border-color:#53405f;color:#eee0fa}[data-theme=dark] .auth-form-wrap input::placeholder{color:#a891b8}[data-theme=dark] .auth-step{background:#33213f;border-color:#573568;color:#cdace0}[data-theme=dark] .auth-note{border-color:#47304f}[data-theme=dark] .auth-switch{color:#d1a0f2}[data-theme=dark] .auth-form-side>.theme-toggle{background:#292039;border-color:#5c3d6e;color:#dec1f1}[data-theme=dark] .theme-toggle:hover{background:#443053}[data-theme=dark] a{color:#d1a6ed}
@media(max-width:700px){.auth-form-side>.theme-toggle{top:18px;right:22px;width:38px;height:38px}.auth-form-wrap{padding-top:26px}.reading-controls{gap:2px}}
