html[data-mpg-theme="dark"]{
  --mpg-bg:#101828;
  --mpg-surface:#1d2939;
  --mpg-surface-soft:#243247;
  --mpg-sidebar:#0c111d;
  --mpg-sidebar-hover:#1d2939;
  --mpg-text:#e4e7ec;
  --mpg-heading:#f9fafb;
  --mpg-muted:#98a2b3;
  --mpg-subtle:#667085;
  --mpg-border:#344054;
  --mpg-border-strong:#475467;
  --mpg-primary-soft:#222b5f;
  --mpg-primary-border:#6172f3;
  --mpg-success-soft:#073d2b;
  --mpg-warning-soft:#4e2d0b;
  --mpg-danger-soft:#4a1714;
  --mpg-info-soft:#102f56;
  --mpg-shadow-xs:0 1px 2px rgba(0,0,0,.28);
  --mpg-shadow-sm:0 2px 6px rgba(0,0,0,.28);
  --mpg-shadow-md:0 12px 30px rgba(0,0,0,.34)
}
html[data-mpg-theme="dark"] body,
html[data-mpg-theme="dark"] .mpg-saas-body,
html[data-mpg-theme="dark"] .mpg-sa-body,
html[data-mpg-theme="dark"] .mpg-public-body,
html[data-mpg-theme="dark"] .mpg-access-body{background:var(--mpg-bg)!important;color:var(--mpg-text)!important}
html[data-mpg-theme="dark"] .mpg-saas-topbar,
html[data-mpg-theme="dark"] .mpg-shell-content,
html[data-mpg-theme="dark"] .mpg-access-form-panel,
html[data-mpg-theme="dark"] .mpg-public-main,
html[data-mpg-theme="dark"] .mpg-public-card,
html[data-mpg-theme="dark"] .mpg-public-document,
html[data-mpg-theme="dark"] .mpg-account-card,
html[data-mpg-theme="dark"] .mpg-account-history,
html[data-mpg-theme="dark"] .mpg-account-danger,
html[data-mpg-theme="dark"] .mpg-sa-section,
html[data-mpg-theme="dark"] .mpg-sa-panel,
html[data-mpg-theme="dark"] .mpg-sa-kpis article,
html[data-mpg-theme="dark"] .mpg-dashboard-card,
html[data-mpg-theme="dark"] .mpg-ta-card,
html[data-mpg-theme="dark"] .mpg-order,
html[data-mpg-theme="dark"] .mpg-toolbar,
html[data-mpg-theme="dark"] .mpg-settings-card,
html[data-mpg-theme="dark"] .mpg-modal-card{background:var(--mpg-surface)!important;border-color:var(--mpg-border)!important;color:var(--mpg-text)!important}
html[data-mpg-theme="dark"] h1,
html[data-mpg-theme="dark"] h2,
html[data-mpg-theme="dark"] h3,
html[data-mpg-theme="dark"] h4,
html[data-mpg-theme="dark"] strong,
html[data-mpg-theme="dark"] .mpg-sa-command h1,
html[data-mpg-theme="dark"] .mpg-shell-title h1{color:var(--mpg-heading)!important}
html[data-mpg-theme="dark"] p,
html[data-mpg-theme="dark"] small,
html[data-mpg-theme="dark"] .mpg-muted,
html[data-mpg-theme="dark"] .mpg-shell-title p{color:var(--mpg-muted)!important}
html[data-mpg-theme="dark"] input,
html[data-mpg-theme="dark"] select,
html[data-mpg-theme="dark"] textarea{background:var(--mpg-surface-soft)!important;border-color:var(--mpg-border-strong)!important;color:var(--mpg-heading)!important}
html[data-mpg-theme="dark"] input::placeholder,
html[data-mpg-theme="dark"] textarea::placeholder{color:var(--mpg-subtle)!important}
html[data-mpg-theme="dark"] table,
html[data-mpg-theme="dark"] .widefat,
html[data-mpg-theme="dark"] .mpg-sa-table{background:var(--mpg-surface)!important;border-color:var(--mpg-border)!important}
html[data-mpg-theme="dark"] table th,
html[data-mpg-theme="dark"] .widefat th,
html[data-mpg-theme="dark"] .mpg-sa-table th{background:var(--mpg-surface-soft)!important;color:var(--mpg-muted)!important;border-color:var(--mpg-border)!important}
html[data-mpg-theme="dark"] table td,
html[data-mpg-theme="dark"] .widefat td,
html[data-mpg-theme="dark"] .mpg-sa-table td{color:var(--mpg-text)!important;border-color:var(--mpg-border)!important}
html[data-mpg-theme="dark"] tbody tr:hover td,
html[data-mpg-theme="dark"] .mpg-sa-table tbody tr:hover{background:rgba(255,255,255,.025)!important}
html[data-mpg-theme="dark"] .button:not(.button-primary),
html[data-mpg-theme="dark"] .mpg-account-secondary,
html[data-mpg-theme="dark"] .mpg-shell-search,
html[data-mpg-theme="dark"] .mpg-shell-profile,
html[data-mpg-theme="dark"] .mpg-shell-icon-button{background:var(--mpg-surface-soft)!important;border-color:var(--mpg-border)!important;color:var(--mpg-text)!important}
html[data-mpg-theme="dark"] .mpg-access-showcase,
html[data-mpg-theme="dark"] .mpg-public-hero,
html[data-mpg-theme="dark"] .mpg-audit-hero{background:linear-gradient(135deg,#0c111d,#1d2939)!important}
html[data-mpg-theme="dark"] .mpg-access-divider:before,
html[data-mpg-theme="dark"] .mpg-access-divider:after,
html[data-mpg-theme="dark"] hr{border-color:var(--mpg-border)!important;background:var(--mpg-border)!important}
html[data-mpg-theme="dark"] .mpg-account-summary article,
html[data-mpg-theme="dark"] .mpg-account-payment-list article,
html[data-mpg-theme="dark"] .mpg-sa-renewal-grid article,
html[data-mpg-theme="dark"] .mpg-audit-card,
html[data-mpg-theme="dark"] .mpg-audit-summary article,
html[data-mpg-theme="dark"] .mpg-audit-component-list article{background:var(--mpg-surface-soft)!important;border-color:var(--mpg-border)!important}
.mpg-theme-toggle{gap:7px!important}.mpg-theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.mpg-theme-label{font-size:12px;font-weight:650}
.mpg-appearance-form{display:grid;gap:10px;margin-top:16px}.mpg-appearance-form label{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--mpg-border);border-radius:12px;background:var(--mpg-surface-soft);cursor:pointer}.mpg-appearance-form input{min-height:0!important;margin-top:3px}.mpg-appearance-form label>span{display:grid;gap:2px}.mpg-appearance-form small{font-weight:400}.mpg-appearance-form button{justify-self:start;margin-top:4px}
@media(max-width:720px){.mpg-theme-label{display:none}.mpg-theme-toggle{width:42px!important;padding:0!important}}
