[data-theme="terminal"]{
    --theme-bg:#050505;
    --theme-panel:#0f0f0f;
    --theme-panel-2:#141414;
    --theme-panel-3:#0b0b0b;
    --theme-input:#050505;
    --theme-border:#232323;
    --theme-border-soft:#1a1a1a;
    --theme-text:#f5f5f5;
    --theme-muted:#8a8a8a;
    --theme-accent:#ffd500;
    --theme-accent-soft:#171400;
    --theme-accent-text:#000;
    --theme-danger:#ff5c5c;
    --chart-bg:#050505;
    --chart-grid:#1f1f1f;
    --chart-text:#8a8a8a;
    --chart-line:#ffd500;
    --chart-average:#ffffff;
    --chart-median:#777777;
    --chart-tooltip-bg:#0b0b0b;
    --chart-tooltip-text:#f5f5f5;
}

[data-theme="light"]{
    --bg:#f3f6fb;
    --panel:#ffffff;
    --panel-2:#eef3f8;
    --border:#d5dfeb;
    --border-soft:#e5edf6;
    --text:#081425;
    --muted:#64758b;
    --yellow:#2d8cff;
    --theme-bg:#f3f6fb;
    --theme-panel:#ffffff;
    --theme-panel-2:#f7faff;
    --theme-panel-3:#f9fbfe;
    --theme-input:#ffffff;
    --theme-border:#d5dfeb;
    --theme-border-soft:#e5edf6;
    --theme-text:#081425;
    --theme-muted:#64758b;
    --theme-accent:#2d8cff;
    --theme-accent-soft:#e8f2ff;
    --theme-accent-text:#ffffff;
    --theme-danger:#d93030;
    --chart-bg:#ffffff;
    --chart-grid:#dfe8f2;
    --chart-text:#64758b;
    --chart-line:#2d8cff;
    --chart-average:#0f172a;
    --chart-median:#8aa0b8;
    --chart-tooltip-bg:#ffffff;
    --chart-tooltip-text:#081425;
}

[data-theme="dark"]{
    --bg:#201e1e;
    --panel:#272323;
    --panel-2:#312b2d;
    --border:#4a333b;
    --border-soft:#382a30;
    --text:#f7edf1;
    --muted:#b99aaa;
    --yellow:#940c3d;
    --theme-bg:#201e1e;
    --theme-panel:#272323;
    --theme-panel-2:#312b2d;
    --theme-panel-3:#241f20;
    --theme-input:#201e1e;
    --theme-border:#4a333b;
    --theme-border-soft:#382a30;
    --theme-text:#f7edf1;
    --theme-muted:#b99aaa;
    --theme-accent:#940c3d;
    --theme-accent-soft:#371623;
    --theme-accent-text:#ffffff;
    --theme-danger:#ff7a7a;
    --chart-bg:#201e1e;
    --chart-grid:#4a333b;
    --chart-text:#b99aaa;
    --chart-line:#d51b5d;
    --chart-average:#f7edf1;
    --chart-median:#a87487;
    --chart-tooltip-bg:#2b2426;
    --chart-tooltip-text:#f7edf1;
}

[data-theme="light"] body,
[data-theme="dark"] body{
    background:var(--theme-bg);
    color:var(--theme-text);
}

[data-theme="light"] .main-content,
[data-theme="dark"] .main-content{
    background:var(--theme-bg);
}

[data-theme="light"] .sidebar,
[data-theme="dark"] .sidebar{
    background:var(--theme-panel);
    border-color:var(--theme-border);
}

[data-theme="dark"] .sidebar{
    background:#181617;
}

[data-theme="light"] .sidebar-logo,
[data-theme="dark"] .sidebar-logo,
[data-theme="light"] .sidebar-user-name,
[data-theme="dark"] .sidebar-user-name,
[data-theme="light"] .topbar-left h1,
[data-theme="dark"] .topbar-left h1,
[data-theme="light"] .profile-summary dd,
[data-theme="dark"] .profile-summary dd,
[data-theme="light"] .dashboard-status strong,
[data-theme="dark"] .dashboard-status strong,
[data-theme="light"] .entity-row strong,
[data-theme="dark"] .entity-row strong,
[data-theme="light"] .live-table td:first-child strong,
[data-theme="dark"] .live-table td:first-child strong,
[data-theme="light"] .section-header h2,
[data-theme="dark"] .section-header h2,
[data-theme="light"] .profile-card-header h2,
[data-theme="dark"] .profile-card-header h2{
    color:var(--theme-text);
}

[data-theme="light"] .title-yellow,
[data-theme="dark"] .title-yellow,
[data-theme="light"] .logo-yellow,
[data-theme="dark"] .logo-yellow,
[data-theme="light"] .overview-value,
[data-theme="dark"] .overview-value,
[data-theme="light"] .entity-header h2,
[data-theme="dark"] .entity-header h2,
[data-theme="light"] .entity-row.add strong,
[data-theme="dark"] .entity-row.add strong,
[data-theme="light"] .live-table td.add,
[data-theme="dark"] .live-table td.add,
[data-theme="light"] .policy-header strong,
[data-theme="dark"] .policy-header strong,
[data-theme="light"] .follow-status-ok,
[data-theme="dark"] .follow-status-ok,
[data-theme="light"] .correcao-status-ok,
[data-theme="dark"] .correcao-status-ok{
    color:var(--theme-accent);
}

[data-theme="light"] .sidebar-user,
[data-theme="dark"] .sidebar-user,
[data-theme="light"] .section-header,
[data-theme="dark"] .section-header,
[data-theme="light"] .profile-card-header,
[data-theme="dark"] .profile-card-header,
[data-theme="light"] .entity-header,
[data-theme="dark"] .entity-header,
[data-theme="light"] .entity-row,
[data-theme="dark"] .entity-row,
[data-theme="light"] .chart-legend,
[data-theme="dark"] .chart-legend,
[data-theme="light"] .chart-summary-row,
[data-theme="dark"] .chart-summary-row,
[data-theme="light"] .chart-summary-row > div,
[data-theme="dark"] .chart-summary-row > div,
[data-theme="light"] .chart-box > .chart-label,
[data-theme="dark"] .chart-box > .chart-label,
[data-theme="light"] .pipeline-table th,
[data-theme="dark"] .pipeline-table th,
[data-theme="light"] .pipeline-table td,
[data-theme="dark"] .pipeline-table td,
[data-theme="light"] .live-table th,
[data-theme="dark"] .live-table th,
[data-theme="light"] .live-table td,
[data-theme="dark"] .live-table td{
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .sidebar-link,
[data-theme="dark"] .sidebar-link{
    color:var(--theme-text);
}

[data-theme="light"] .sidebar-link:hover,
[data-theme="dark"] .sidebar-link:hover,
[data-theme="light"] .sidebar-logout button,
[data-theme="dark"] .sidebar-logout button,
[data-theme="light"] .profile-secondary,
[data-theme="dark"] .profile-secondary,
[data-theme="light"] .pipeline-button.secondary,
[data-theme="dark"] .pipeline-button.secondary,
[data-theme="light"] .follow-actions button.secondary,
[data-theme="dark"] .follow-actions button.secondary,
[data-theme="light"] .follow-filter-actions button,
[data-theme="dark"] .follow-filter-actions button,
[data-theme="light"] .follow-continuation-button,
[data-theme="dark"] .follow-continuation-button,
[data-theme="light"] .correcao-actions button.secondary,
[data-theme="dark"] .correcao-actions button.secondary,
[data-theme="light"] .datetime-field button,
[data-theme="dark"] .datetime-field button{
    background:var(--theme-panel-2);
    border-color:var(--theme-border);
    color:var(--theme-text);
}

[data-theme="light"] .sidebar-link.active,
[data-theme="dark"] .sidebar-link.active,
[data-theme="light"] .quick-user-button,
[data-theme="dark"] .quick-user-button,
[data-theme="light"] .profile-primary,
[data-theme="dark"] .profile-primary,
[data-theme="light"] .pipeline-button,
[data-theme="dark"] .pipeline-button,
[data-theme="light"] .login-form button,
[data-theme="dark"] .login-form button,
[data-theme="light"] .follow-actions button,
[data-theme="dark"] .follow-actions button,
[data-theme="light"] .follow-modal-actions button,
[data-theme="dark"] .follow-modal-actions button,
[data-theme="light"] .correcao-actions button,
[data-theme="dark"] .correcao-actions button,
[data-theme="light"] .correcao-modal-actions button,
[data-theme="dark"] .correcao-modal-actions button{
    background:var(--theme-accent);
    border-color:var(--theme-accent);
    color:var(--theme-accent-text);
}

[data-theme="light"] .sidebar-link.active,
[data-theme="dark"] .sidebar-link.active{
    font-weight:700;
}

[data-theme="light"] .dashboard-status,
[data-theme="dark"] .dashboard-status,
[data-theme="light"] .overview-card,
[data-theme="dark"] .overview-card,
[data-theme="light"] .entity-card,
[data-theme="dark"] .entity-card,
[data-theme="light"] .live-table-section,
[data-theme="dark"] .live-table-section,
[data-theme="light"] .analysis-filters,
[data-theme="dark"] .analysis-filters,
[data-theme="light"] .analysis-summary,
[data-theme="dark"] .analysis-summary,
[data-theme="light"] .analysis-insights,
[data-theme="dark"] .analysis-insights,
[data-theme="light"] .analysis-chart-panel,
[data-theme="dark"] .analysis-chart-panel,
[data-theme="light"] .chart-box,
[data-theme="dark"] .chart-box,
[data-theme="light"] .follow-form-panel,
[data-theme="dark"] .follow-form-panel,
[data-theme="light"] .follow-table-panel,
[data-theme="dark"] .follow-table-panel,
[data-theme="light"] .correcao-form-panel,
[data-theme="dark"] .correcao-form-panel,
[data-theme="light"] .correcao-table-panel,
[data-theme="dark"] .correcao-table-panel,
[data-theme="light"] .profile-card,
[data-theme="dark"] .profile-card,
[data-theme="light"] .construction-panel,
[data-theme="dark"] .construction-panel,
[data-theme="light"] .ops-bar,
[data-theme="dark"] .ops-bar,
[data-theme="light"] .schedule-panel,
[data-theme="dark"] .schedule-panel,
[data-theme="light"] .pipeline-panel,
[data-theme="dark"] .pipeline-panel,
[data-theme="light"] .terminal-panel,
[data-theme="dark"] .terminal-panel,
[data-theme="light"] .login-panel{
    background:var(--theme-panel);
    border-color:var(--theme-border);
}

[data-theme="light"] .dashboard-status div,
[data-theme="dark"] .dashboard-status div,
[data-theme="light"] .analysis-filters label,
[data-theme="dark"] .analysis-filters label,
[data-theme="light"] .analysis-summary article,
[data-theme="dark"] .analysis-summary article,
[data-theme="light"] .analysis-insights article,
[data-theme="dark"] .analysis-insights article,
[data-theme="light"] .insight-metrics div,
[data-theme="dark"] .insight-metrics div,
[data-theme="light"] .follow-form label,
[data-theme="dark"] .follow-form label,
[data-theme="light"] .follow-actions,
[data-theme="dark"] .follow-actions,
[data-theme="light"] .follow-filters label,
[data-theme="dark"] .follow-filters label,
[data-theme="light"] .follow-filter-actions,
[data-theme="dark"] .follow-filter-actions,
[data-theme="light"] .correcao-form label,
[data-theme="dark"] .correcao-form label,
[data-theme="light"] .correcao-actions,
[data-theme="dark"] .correcao-actions,
[data-theme="light"] .ops-metric,
[data-theme="dark"] .ops-metric,
[data-theme="light"] .ops-execution-key,
[data-theme="dark"] .ops-execution-key,
[data-theme="light"] .schedule-field,
[data-theme="dark"] .schedule-field,
[data-theme="light"] .schedule-metric,
[data-theme="dark"] .schedule-metric,
[data-theme="light"] .schedule-message,
[data-theme="dark"] .schedule-message,
[data-theme="light"] .profile-theme-field,
[data-theme="dark"] .profile-theme-field,
[data-theme="light"] .password-policy,
[data-theme="dark"] .password-policy{
    background:var(--theme-panel-3);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .chart-wrap,
[data-theme="dark"] .chart-wrap{
    background:var(--chart-bg);
}

[data-theme="light"] .company-suggestions,
[data-theme="dark"] .company-suggestions{
    background:var(--theme-panel);
    border-color:var(--theme-border);
    box-shadow:0 16px 42px rgba(0,0,0,.16);
}

[data-theme="dark"] .company-suggestions{
    box-shadow:0 16px 42px rgba(0,0,0,.38);
}

[data-theme="light"] .company-suggestions::-webkit-scrollbar-track,
[data-theme="dark"] .company-suggestions::-webkit-scrollbar-track{
    background:var(--theme-input);
}

[data-theme="light"] .company-suggestions::-webkit-scrollbar-thumb,
[data-theme="dark"] .company-suggestions::-webkit-scrollbar-thumb{
    background:var(--theme-border);
}

[data-theme="light"] .company-option,
[data-theme="dark"] .company-option{
    background:var(--theme-panel);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .company-option:hover,
[data-theme="light"] .company-option.active{
    background:#e8f2ff;
}

[data-theme="dark"] .company-option:hover,
[data-theme="dark"] .company-option.active{
    background:#371623;
}

[data-theme="light"] .company-option strong,
[data-theme="dark"] .company-option strong{
    color:var(--theme-text);
}

[data-theme="light"] .company-option span,
[data-theme="dark"] .company-option span{
    color:var(--theme-muted);
}

[data-theme="light"] .legend-main,
[data-theme="dark"] .legend-main{
    background:var(--chart-line);
}

[data-theme="light"] .legend-average,
[data-theme="dark"] .legend-average{
    background:var(--chart-average);
}

[data-theme="light"] .legend-median,
[data-theme="dark"] .legend-median{
    background:var(--chart-median);
}

[data-theme="light"] input:not([type="radio"]),
[data-theme="dark"] input:not([type="radio"]),
[data-theme="light"] select,
[data-theme="dark"] select,
[data-theme="light"] textarea,
[data-theme="dark"] textarea,
[data-theme="light"] .login-form input,
[data-theme="dark"] .login-form input,
[data-theme="light"] .profile-form input,
[data-theme="dark"] .profile-form input,
[data-theme="light"] .profile-create-form input,
[data-theme="dark"] .profile-create-form input,
[data-theme="light"] .follow-form input,
[data-theme="dark"] .follow-form input,
[data-theme="light"] .follow-form select,
[data-theme="dark"] .follow-form select,
[data-theme="light"] .follow-form textarea,
[data-theme="dark"] .follow-form textarea,
[data-theme="light"] .follow-filters input,
[data-theme="dark"] .follow-filters input,
[data-theme="light"] .follow-filters select,
[data-theme="dark"] .follow-filters select,
[data-theme="light"] .follow-modal-body input,
[data-theme="dark"] .follow-modal-body input,
[data-theme="light"] .follow-modal-body select,
[data-theme="dark"] .follow-modal-body select,
[data-theme="light"] .follow-modal-body textarea,
[data-theme="dark"] .follow-modal-body textarea,
[data-theme="light"] .correcao-form input,
[data-theme="dark"] .correcao-form input,
[data-theme="light"] .correcao-form select,
[data-theme="dark"] .correcao-form select,
[data-theme="light"] .correcao-form textarea,
[data-theme="dark"] .correcao-form textarea{
    background:var(--theme-input);
    border-color:var(--theme-border);
    color:var(--theme-text);
}

[data-theme="light"] input::placeholder,
[data-theme="dark"] input::placeholder,
[data-theme="light"] textarea::placeholder,
[data-theme="dark"] textarea::placeholder{
    color:var(--theme-muted);
    opacity:.82;
}

[data-theme="light"] input:focus,
[data-theme="dark"] input:focus,
[data-theme="light"] select:focus,
[data-theme="dark"] select:focus,
[data-theme="light"] textarea:focus,
[data-theme="dark"] textarea:focus{
    border-color:var(--theme-accent);
}

[data-theme="light"] .overview-title,
[data-theme="dark"] .overview-title,
[data-theme="light"] .section-update-info,
[data-theme="dark"] .section-update-info,
[data-theme="light"] .sidebar-user-role,
[data-theme="dark"] .sidebar-user-role,
[data-theme="light"] .dashboard-status span,
[data-theme="dark"] .dashboard-status span,
[data-theme="light"] .entity-row span,
[data-theme="dark"] .entity-row span,
[data-theme="light"] .live-table th,
[data-theme="dark"] .live-table th,
[data-theme="light"] .pipeline-table th,
[data-theme="dark"] .pipeline-table th,
[data-theme="light"] .follow-form span,
[data-theme="dark"] .follow-form span,
[data-theme="light"] .follow-filters span,
[data-theme="dark"] .follow-filters span,
[data-theme="light"] .follow-summary-row span,
[data-theme="dark"] .follow-summary-row span,
[data-theme="light"] .follow-continuation-row span,
[data-theme="dark"] .follow-continuation-row span,
[data-theme="light"] .correcao-form span,
[data-theme="dark"] .correcao-form span,
[data-theme="light"] .correcao-summary-row span,
[data-theme="dark"] .correcao-summary-row span,
[data-theme="light"] .ops-metric span,
[data-theme="dark"] .ops-metric span,
[data-theme="light"] .ops-execution-key span,
[data-theme="dark"] .ops-execution-key span,
[data-theme="light"] .schedule-field span,
[data-theme="dark"] .schedule-field span,
[data-theme="light"] .schedule-metric span,
[data-theme="dark"] .schedule-metric span,
[data-theme="light"] .profile-summary dt,
[data-theme="dark"] .profile-summary dt,
[data-theme="light"] .profile-form label span,
[data-theme="dark"] .profile-form label span,
[data-theme="light"] .profile-create-form label span,
[data-theme="dark"] .profile-create-form label span,
[data-theme="light"] .policy-header span,
[data-theme="dark"] .policy-header span,
[data-theme="light"] .theme-options small,
[data-theme="dark"] .theme-options small{
    color:var(--theme-muted);
}

[data-theme="light"] .live-table thead,
[data-theme="dark"] .live-table thead,
[data-theme="light"] .pipeline-table thead,
[data-theme="dark"] .pipeline-table thead,
[data-theme="light"] .follow-table thead,
[data-theme="dark"] .follow-table thead,
[data-theme="light"] .correcao-table thead,
[data-theme="dark"] .correcao-table thead{
    background:var(--theme-panel-2);
}

[data-theme="light"] .follow-table,
[data-theme="dark"] .follow-table,
[data-theme="light"] .correcao-table,
[data-theme="dark"] .correcao-table{
    border-color:var(--theme-border);
}

[data-theme="light"] .follow-table th,
[data-theme="dark"] .follow-table th,
[data-theme="light"] .follow-table td,
[data-theme="dark"] .follow-table td,
[data-theme="light"] .correcao-table th,
[data-theme="dark"] .correcao-table th,
[data-theme="light"] .correcao-table td,
[data-theme="dark"] .correcao-table td{
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .follow-table th,
[data-theme="dark"] .follow-table th,
[data-theme="light"] .correcao-table th,
[data-theme="dark"] .correcao-table th{
    color:var(--theme-accent);
}

[data-theme="light"] .follow-table td,
[data-theme="dark"] .follow-table td,
[data-theme="light"] .correcao-table td,
[data-theme="dark"] .correcao-table td,
[data-theme="light"] .live-table td,
[data-theme="dark"] .live-table td,
[data-theme="light"] .pipeline-table td,
[data-theme="dark"] .pipeline-table td,
[data-theme="light"] .terminal-line,
[data-theme="dark"] .terminal-line{
    color:var(--theme-text);
}

[data-theme="light"] .follow-summary-row td,
[data-theme="dark"] .follow-summary-row td,
[data-theme="light"] .follow-continuation-row td,
[data-theme="dark"] .follow-continuation-row td,
[data-theme="light"] .correcao-summary-row td,
[data-theme="dark"] .correcao-summary-row td{
    background:var(--theme-accent-soft);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .follow-summary-row p,
[data-theme="dark"] .follow-summary-row p,
[data-theme="light"] .follow-continuation-row p,
[data-theme="dark"] .follow-continuation-row p,
[data-theme="light"] .correcao-summary-row p,
[data-theme="dark"] .correcao-summary-row p{
    color:var(--theme-text);
}

[data-theme="light"] .follow-table tbody tr:not(.follow-summary-row):hover td,
[data-theme="dark"] .follow-table tbody tr:not(.follow-summary-row):hover td,
[data-theme="light"] .correcao-table tbody tr:not(.correcao-summary-row):hover td,
[data-theme="dark"] .correcao-table tbody tr:not(.correcao-summary-row):hover td{
    background:var(--theme-panel-2);
}

[data-theme="light"] .terminal-console,
[data-theme="dark"] .terminal-console{
    background:var(--theme-input);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .terminal-console::-webkit-scrollbar-track,
[data-theme="dark"] .terminal-console::-webkit-scrollbar-track{
    background:var(--theme-input);
}

[data-theme="light"] .terminal-console::-webkit-scrollbar-thumb,
[data-theme="dark"] .terminal-console::-webkit-scrollbar-thumb{
    background:var(--theme-border);
}

[data-theme="light"] .status-pill,
[data-theme="dark"] .status-pill{
    border-color:var(--theme-border);
}

[data-theme="light"] .status-ok{
    background:#e8f2ff;
    border-color:#b7d8ff;
    color:#0c6fda;
}

[data-theme="dark"] .status-ok{
    background:#391a27;
    border-color:#6b2b45;
    color:#ffb8d0;
}

[data-theme="light"] .status-pending{
    background:#eef3f8;
    border-color:#d5dfeb;
    color:#64758b;
}

[data-theme="dark"] .status-pending{
    background:#241f20;
    border-color:#4a333b;
    color:#b99aaa;
}

[data-theme="light"] .status-error{
    background:#fff0f0;
    border-color:#ffc8c8;
    color:#c62d2d;
}

[data-theme="dark"] .status-error,
[data-theme="dark"] .follow-status-error,
[data-theme="dark"] .correcao-status-error{
    background:#3a1717;
    border-color:#743030;
    color:#ff8b8b;
}

[data-theme="light"] .trend-value.trend-up{
    color:#098a55;
}

[data-theme="light"] .trend-value.trend-down,
[data-theme="light"] .follow-status-error,
[data-theme="light"] .correcao-status-error{
    color:#d93030;
}

[data-theme="dark"] .trend-value.trend-up{
    color:#59d990;
}

[data-theme="dark"] .trend-value.trend-down{
    color:#ff8b8b;
}

[data-theme="light"] .analysis-insight header{
    border-color:#d5dfeb;
}

[data-theme="light"] .analysis-insight header p,
[data-theme="light"] .analysis-insight > p,
[data-theme="light"] .analysis-insight small{
    color:#334155;
}

[data-theme="light"] .analysis-insight small{
    color:#64758b;
}

[data-theme="light"] .insight-metrics strong:not(.trend-value){
    color:#081425;
}

[data-theme="light"] .insight-metrics span,
[data-theme="light"] .analysis-insight header span,
[data-theme="light"] .analysis-summary span{
    color:#48617c;
}

[data-theme="light"] .password-policy li{
    color:#48617c;
}

[data-theme="light"] .password-policy li.valid{
    color:#081425;
}

[data-theme="light"] .password-policy li::before{
    background:#334155;
    border-color:#334155;
}

[data-theme="light"] .password-policy li.valid::before{
    background:#2d8cff;
    border-color:#2d8cff;
    box-shadow:0 0 8px rgba(45,140,255,.26);
}

[data-theme="light"] .follow-modal,
[data-theme="light"] .correcao-modal{
    background:rgba(8,20,37,.38);
}

[data-theme="dark"] .follow-modal,
[data-theme="dark"] .correcao-modal{
    background:rgba(20,16,18,.72);
}

[data-theme="light"] .follow-modal-dialog,
[data-theme="dark"] .follow-modal-dialog,
[data-theme="light"] .correcao-modal-dialog,
[data-theme="dark"] .correcao-modal-dialog{
    background:var(--theme-panel);
    border-color:var(--theme-border);
    box-shadow:0 20px 60px rgba(0,0,0,.22);
}

[data-theme="light"] .follow-modal-dialog header,
[data-theme="dark"] .follow-modal-dialog header,
[data-theme="light"] .correcao-modal-dialog header,
[data-theme="dark"] .correcao-modal-dialog header{
    background:var(--theme-panel-2);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .follow-modal-dialog h2,
[data-theme="dark"] .follow-modal-dialog h2,
[data-theme="light"] .correcao-modal-dialog h2,
[data-theme="dark"] .correcao-modal-dialog h2{
    color:var(--theme-accent);
}

[data-theme="light"] .follow-modal-dialog header button,
[data-theme="dark"] .follow-modal-dialog header button,
[data-theme="light"] .correcao-modal-dialog header button,
[data-theme="dark"] .correcao-modal-dialog header button,
[data-theme="light"] .follow-modal-actions button.secondary,
[data-theme="dark"] .follow-modal-actions button.secondary,
[data-theme="light"] .correcao-modal-actions button.secondary,
[data-theme="dark"] .correcao-modal-actions button.secondary{
    background:var(--theme-panel-3);
    border-color:var(--theme-border);
    color:var(--theme-text);
}

[data-theme="light"] .follow-modal-actions button.danger,
[data-theme="light"] .follow-remove-button,
[data-theme="light"] .correcao-modal-actions button.danger,
[data-theme="light"] .correcao-remove-button{
    background:#fff0f0;
    border-color:#ffc8c8;
    color:#c62d2d;
}

[data-theme="dark"] .follow-modal-actions button.danger,
[data-theme="dark"] .follow-remove-button,
[data-theme="dark"] .correcao-modal-actions button.danger,
[data-theme="dark"] .correcao-remove-button{
    background:#3a1717;
    border-color:#743030;
    color:#ffb0b0;
}

[data-theme="light"] .follow-modal-warning,
[data-theme="light"] .correcao-modal-warning{
    background:#fff0f0;
    border-color:#ffc8c8;
    color:#c62d2d;
}

[data-theme="dark"] .follow-modal-warning,
[data-theme="dark"] .correcao-modal-warning{
    background:#3a1717;
    border-color:#743030;
    color:#ffb0b0;
}

[data-theme="light"] .login-page{
    background:
        linear-gradient(90deg, rgba(45,140,255,.10), transparent 34%),
        var(--theme-bg);
}

[data-theme="light"] .login-brand,
[data-theme="dark"] .login-brand{
    background:var(--theme-panel-2);
    border-color:var(--theme-border-soft);
}

[data-theme="light"] .login-brand span,
[data-theme="dark"] .login-brand span{
    color:var(--theme-text);
}

[data-theme="light"] .login-brand strong,
[data-theme="dark"] .login-brand strong{
    color:var(--theme-accent);
}

[data-theme="light"] .login-error{
    background:#fff0f0;
    border-color:#ffc8c8;
    color:#c62d2d;
}

[data-theme="light"] .login-error button{
    background:#ffffff;
    border-color:#ffc8c8;
    color:#c62d2d;
}

[data-theme="light"] .login-form button:disabled,
[data-theme="dark"] .login-form button:disabled{
    background:var(--theme-border);
    color:var(--theme-muted);
}

[data-theme="light"] button:hover,
[data-theme="dark"] button:hover{
    filter:brightness(.96);
}

[data-theme="light"] .rfid-password,
[data-theme="dark"] .rfid-password{
    background:var(--theme-input);
    border-color:var(--theme-border);
}

[data-theme="light"] .rfid-block,
[data-theme="light"] .rfid-chip{
    background:#d5dee9;
    border-color:#c5d0dc;
}

[data-theme="dark"] .rfid-block,
[data-theme="dark"] .rfid-chip{
    background:#45363b;
    border-color:#5c414b;
}

[data-theme="light"] .rfid-coils path{
    stroke:#d5dee9;
}

[data-theme="dark"] .rfid-coils path{
    stroke:#45363b;
}

[data-theme="light"] .rfid-block.active,
[data-theme="light"] .rfid-chip.active,
[data-theme="light"] .rfid-block.active::before,
[data-theme="light"] .rfid-block.active::after,
[data-theme="light"] .rfid-chip.active::before,
[data-theme="light"] .rfid-chip.active::after,
[data-theme="dark"] .rfid-block.active,
[data-theme="dark"] .rfid-chip.active,
[data-theme="dark"] .rfid-block.active::before,
[data-theme="dark"] .rfid-block.active::after,
[data-theme="dark"] .rfid-chip.active::before,
[data-theme="dark"] .rfid-chip.active::after{
    background:var(--theme-accent);
    border-color:var(--theme-accent);
}

[data-theme="light"] .rfid-block.active,
[data-theme="light"] .rfid-chip.active{
    box-shadow:0 0 10px rgba(45,140,255,.34);
}

[data-theme="dark"] .rfid-block.active,
[data-theme="dark"] .rfid-chip.active{
    box-shadow:0 0 10px rgba(148,12,61,.46);
}

[data-theme="light"] .rfid-coils.active path{
    filter:drop-shadow(0 0 6px rgba(45,140,255,.38));
    stroke:var(--theme-accent);
}

[data-theme="dark"] .rfid-coils.active path{
    filter:drop-shadow(0 0 6px rgba(148,12,61,.48));
    stroke:var(--theme-accent);
}

.theme-options input[value="light"] + span{
    background:#f8fbff;
    border-color:#d5dfeb;
    color:#172033;
}

.theme-options input[value="light"] + span strong{
    color:#172033;
}

.theme-options input[value="light"] + span small{
    color:#64758b;
}

.theme-options input[value="light"]:checked + span{
    border-color:#2d8cff;
    box-shadow:0 0 0 1px #2d8cff inset;
}

.theme-options input[value="dark"] + span{
    background:#201e1e;
    border-color:#4a333b;
    color:#f7edf1;
}

.theme-options input[value="dark"] + span strong{
    color:#f7edf1;
}

.theme-options input[value="dark"] + span small{
    color:#caa6b7;
}

.theme-options input[value="dark"]:checked + span{
    border-color:#940c3d;
    box-shadow:0 0 0 1px #940c3d inset;
}

.theme-options input[value="terminal"] + span{
    background:#050505;
    border-color:#232323;
    color:#f5f5f5;
}

.theme-options input[value="terminal"] + span strong{
    color:#ffd500;
}

.theme-options input[value="terminal"] + span small{
    color:#9b9b9b;
}

.theme-options input[value="terminal"]:checked + span{
    border-color:#ffd500;
    box-shadow:0 0 0 1px #ffd500 inset;
}

[data-theme] body{
    font-size:16px;
    line-height:1.5;
}

[data-theme] input,
[data-theme] select,
[data-theme] textarea,
[data-theme] button{
    font-size:16px;
}

[data-theme] .topbar-left p,
[data-theme] .construction-panel p,
[data-theme] .dashboard-status strong,
[data-theme] .live-table td,
[data-theme] .pipeline-table td,
[data-theme] .follow-table td,
[data-theme] .correcao-table td,
[data-theme] .follow-form input,
[data-theme] .follow-form select,
[data-theme] .follow-form textarea,
[data-theme] .correcao-form input,
[data-theme] .correcao-form select,
[data-theme] .correcao-form textarea,
[data-theme] .profile-form input,
[data-theme] .profile-create-form input,
[data-theme] .login-form input{
    font-size:16px;
}

[data-theme] .analysis-filters span,
[data-theme] .analysis-summary span,
[data-theme] .analysis-insight header span,
[data-theme] .insight-metrics span,
[data-theme] .chart-summary-row span,
[data-theme] .follow-form span,
[data-theme] .follow-filters span,
[data-theme] .correcao-form span,
[data-theme] .correcao-filters span,
[data-theme] .schedule-field span,
[data-theme] .schedule-metric span,
[data-theme] .ops-metric span,
[data-theme] .profile-summary dt,
[data-theme] .profile-create-form label span,
[data-theme] .profile-theme-field legend,
[data-theme] .policy-header span,
[data-theme] .pipeline-table th,
[data-theme] .live-table th,
[data-theme] .follow-table th,
[data-theme] .correcao-table th{
    font-size:13px;
}

[data-theme] .analysis-insight header p,
[data-theme] .analysis-insight > p,
[data-theme] .analysis-insight small,
[data-theme] .company-option strong,
[data-theme] .company-option span,
[data-theme] .password-policy li,
[data-theme] .profile-message,
[data-theme] .follow-summary-row td,
[data-theme] .correcao-summary-row td,
[data-theme] .pipeline-empty,
[data-theme] .schedule-message,
[data-theme] .terminal-output{
    font-size:14px;
}

[data-theme] .quick-user-button,
[data-theme] .toggle-button,
[data-theme] .theme-options small{
    font-size:13px;
}

[data-theme] .sidebar-user-name,
[data-theme] .sidebar-logout button{
    font-size:15px;
}

[data-theme] .sidebar-user-role{
    font-size:13px;
}

[data-theme] .analysis-summary strong,
[data-theme] .chart-summary-row strong,
[data-theme] .overview-value{
    font-size:26px;
}

[data-theme] .insight-metrics strong{
    font-size:22px;
}

[data-theme] .insight-metrics .trend-value{
    font-size:20px;
}
