/* TAWAGOD dark theme. Activated by html[data-theme="dark"]. Generated overrides + manual fixes. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e7edf7;--muted:#9fb0c8;--line:#27364d;--bg:#0b1322;--card:#131e32;--shadow:0 10px 30px rgba(0,0,0,.35)}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background-color:#0f1a2c;color:var(--ink);border-color:#2c3e58}
html[data-theme="dark"] ::placeholder{color:#6f819b}
html[data-theme="dark"] .primary{background:#2a4a7c}
html[data-theme="dark"] .primary:hover{background:#35598f}
html[data-theme="dark"] .gate-screen{background:radial-gradient(circle at 15% 10%,#112239,transparent 35%),linear-gradient(145deg,#0e1c30,#0d1a27)}
html[data-theme="dark"] .gate-card{background:#11161d}
html[data-theme="dark"] .gate-card input{border:1px solid #394f6a}
html[data-theme="dark"] .gate-card input:focus,html[data-theme="dark"] .inline-form input:focus{border-color:#314c72}
html[data-theme="dark"] .primary{color:#ffffff}
html[data-theme="dark"] .secondary{background:#121f2f;color:#93a6c3}
html[data-theme="dark"] .security-note{background:#32270e;border:1px solid #726231;color:#d4ba7e}
html[data-theme="dark"] .sidebar{color:#ffffff}
html[data-theme="dark"] .sidebar-brand{border-bottom:1px solid #2e2e2e20}
html[data-theme="dark"] .sidebar-brand img{background:#11161d}
html[data-theme="dark"] .nav-item.active,html[data-theme="dark"] .nav-item:hover{color:#ffffff}
html[data-theme="dark"] .implementer{border-top:1px solid #2e2e2e20}
html[data-theme="dark"] .implementer img{background:#11161d}
html[data-theme="dark"] .icon-btn{color:#ffffff}
html[data-theme="dark"] .topbar{background:#11161d}
html[data-theme="dark"] .month-field select{background:#11161d}
html[data-theme="dark"] .live-state{color:#7cd3ad}
html[data-theme="dark"] .kpi{background:#11161d}
html[data-theme="dark"] .kpi-icon.blue{background:#0e1b30;color:#6e97cf}
html[data-theme="dark"] .kpi-icon.green{background:#113624;color:#7ad3ad}
html[data-theme="dark"] .kpi-icon.yellow{background:#362b10;color:#d0b571}
html[data-theme="dark"] .kpi-icon.red{background:#2c0d0f;color:#cf6e77}
html[data-theme="dark"] .panel{background:#11161d}
html[data-theme="dark"] .panel-tag{color:#899db3;background:#0e1e31}
html[data-theme="dark"] .ring{background:conic-gradient(var(--progress,#86272f) var(--deg,0deg),#18212b 0deg)}
html[data-theme="dark"] .ring:before{background:#11161d}
html[data-theme="dark"] th{background:#0f1927;color:#919cac}
html[data-theme="dark"] td{border-bottom:1px solid #263245}
html[data-theme="dark"] .site-progress{background:#181f2b}
html[data-theme="dark"] .date-tools input{background:#11161d}
html[data-theme="dark"] .daily-kpis>div{background:#11161d}
html[data-theme="dark"] .legend-yellow{background:#866d27}
html[data-theme="dark"] .task-head{background:#0f1927;color:#8f9cad}
html[data-theme="dark"] .task-row{border-top:1px solid #263245}
html[data-theme="dark"] .task-row.written{background:#362e10}
html[data-theme="dark"] .task-row.published{background:#12331f}
html[data-theme="dark"] .check-cell{color:#8f9cad}
html[data-theme="dark"] .real-check{border:2px solid #415062;background:#11161d}
html[data-theme="dark"] .real-check:before{color:#ffffff}
html[data-theme="dark"] .invite-instructions ol{color:#8b9bb1}
html[data-theme="dark"] .invite-instructions p{background:#111a27}
html[data-theme="dark"] .backup-icon{background:#0d1a2e}
html[data-theme="dark"] .file-pick{background:#121f2f}
html[data-theme="dark"] .danger-zone{background:#28200c;border-color:#725f31}
html[data-theme="dark"] .danger-zone p{color:#baab82}
html[data-theme="dark"] .toast{color:#ffffff}
html[data-theme="dark"] .password-panel{background:#0d1c2c}
html[data-theme="dark"] .invite-panel-icon{background:#0e1b30;color:#6e9bcf}
html[data-theme="dark"] .invite-form label{color:#8b9ab1}
html[data-theme="dark"] .invite-form input,html[data-theme="dark"] .invite-form select{background:#11161d}
html[data-theme="dark"] .team-security-note{background:#152b1d;color:#87c3a0}
html[data-theme="dark"] .team-role-guide{color:#909cad}
html[data-theme="dark"] .team-row select:disabled{background:#151c26}
html[data-theme="dark"] .btn.danger{background:#2c0d0d;color:#cf6e77;border:1px solid #723137}
html[data-theme="dark"] .task-site small{color:#909cac}
html[data-theme="dark"] .task-row.published .task-site small{color:#87b59b}
html[data-theme="dark"] .task-row.written .task-site small{color:#cfb46e}
html[data-theme="dark"] .month-picker-fields select{background:#11161d}
html[data-theme="dark"] .month-picker-fields select:focus{border-color:#314c72}
html[data-theme="dark"] .site-chart-row{border:1px solid #263245;background:linear-gradient(100deg,#11161d 0%,#0b1426 100%)}
html[data-theme="dark"] .site-chart-track{background:#18212b}
html[data-theme="dark"] .site-chart-fill{background:linear-gradient(270deg,#862730 0%,#865f27 48%,#25a66e 100%)}
html[data-theme="dark"] .site-chart-legend{border-top:1px solid #263245}
html[data-theme="dark"] .site-legend-target{background:#18212b;border:1px solid #3c4f67}
html[data-theme="dark"] .site-legend-done{background:linear-gradient(270deg,#862730 0%,#865f27 48%,#25a66e 100%)}
html[data-theme="dark"] .username-account-form label{color:#8b9ab1}
html[data-theme="dark"] .username-account-form input,html[data-theme="dark"] .username-account-form select{background:#11161d}
html[data-theme="dark"] .plan-row-archived{background:#101b25}
html[data-theme="dark"] .plan-row-archived .plan-site-info b{color:#939caa}
html[data-theme="dark"] .plan-warning{color:#cf986e!important}
html[data-theme="dark"] .archived-sites-title{color:#909cac}
html[data-theme="dark"] .archived-site-chip{border:1px dashed #3c4f67;background:#101b25;color:#909bac}
html[data-theme="dark"] /* Professional workspace identity,html[data-theme="dark"] permissions,html[data-theme="dark"] activity and daily controls */
.avatar.has-avatar-image{background:#11161d;border:2px solid #2e2e2e50}
html[data-theme="dark"] .bulk-publish-head{color:#899cb8}
html[data-theme="dark"] .extra-days-options{background:linear-gradient(115deg,#0d1c2c,#0c1828);border:1px solid #293d59}
html[data-theme="dark"] .extra-days-options label{background:#11161d;border:1px solid #2e455f;color:#879ab5}
html[data-theme="dark"] .profile-avatar-wrap{border:1px solid #304966;background:linear-gradient(135deg,#0e1e2f,#11161d)}
html[data-theme="dark"] .brand-logo-editor>img{border:1px solid #2e425a;background:#11161d}
html[data-theme="dark"] .team-avatar{color:#ffffff}
html[data-theme="dark"] .activity-row{background:#11161d;border:1px solid #273c54}
html[data-theme="dark"] .activity-avatar{background:#0f2133;color:#7ca8d3}
html[data-theme="dark"] .activity-copy>b{color:#9eb6d8}
html[data-theme="dark"] .activity-copy p{color:#889cb7}
html[data-theme="dark"] .whatsapp-report-btn{color:#ffffff}
html[data-theme="dark"] .brand-identity-fields label{color:#8d9bb0}
html[data-theme="dark"] .brand-identity-fields input{border:1px solid #394f6a;background:#11161d;color:#b4c2df}
html[data-theme="dark"] .brand-identity-fields input:focus{border-color:#314c72}
html[data-theme="dark"] /* Owner monthly plan management and reversible plan deletion */
.month-owner-management{border:1px solid #315072;background:linear-gradient(130deg,#11161d,#0c1628)}
html[data-theme="dark"] .month-owner-management .panel-tag{background:#0f1f32;color:#72a3d0}
html[data-theme="dark"] .month-owner-fields label{color:#8b9bb1}
html[data-theme="dark"] .month-owner-fields input{border:1px solid #324e6c;background:#11161d;color:#b4c2df}
html[data-theme="dark"] .month-owner-fields input:focus{border-color:#314c72}
html[data-theme="dark"] .month-owner-fields input:disabled{background:#151e28}
html[data-theme="dark"] .month-owner-fields .danger{background:#2c0d0d;color:#cf6e76;border:1px solid #723131}
html[data-theme="dark"] .month-owner-fields .danger:hover{background:#330f0f}
html[data-theme="dark"] .deleted-months-panel{border:1px dashed #673c3c;background:#250b0b}
html[data-theme="dark"] .deleted-month-row{border:1px solid #5d3636;background:#11161d}
html[data-theme="dark"] .deleted-month-row b{color:#a0b5d1}
html[data-theme="dark"] .deleted-month-row small{color:#929caa}
html[data-theme="dark"] .task-move-toggle{border:1px solid #324e6c!important;background:#0c1628!important;color:#6e9dcf!important}
html[data-theme="dark"] .task-move-toggle:hover{background:#0d1c2e!important;border-color:#314f72!important}
html[data-theme="dark"] .task-move-editor{background:#0c1828;border:1px solid #2d4969}
html[data-theme="dark"] .task-move-editor select{border:1px solid #334f71;background:#11161d;color:#9ab2d2}
html[data-theme="dark"] .deleted-month-actions .permanently-delete-month-plan{background:#2c0d0d;color:#cf6e76;border:1px solid #723136}
html[data-theme="dark"] .deleted-month-actions .permanently-delete-month-plan:hover{background:#340f12;border-color:#723137}
html[data-theme="dark"] .page-month-field{background:#11161d;border:1px solid #304761}
html[data-theme="dark"] .page-month-field span{color:#909cac}
html[data-theme="dark"] .page-month-field select{color:#9eb6d8}
html[data-theme="dark"] .active-plan-indicator{background:#0e1e2f;border:1px solid #2b4765;color:#8c9cb0}
html[data-theme="dark"] .active-plan-indicator b{color:#7ba8d3}
/* manual fixes */
