/* Modo escuro isolado para GM Admin; as regras abaixo só se aplicam quando ativado */
html[data-theme="dark"]{--ink:#edf2ff;--muted:#afbdd4;--line:#354562;--paper:#0a1426;--navy:#071328}
html[data-theme="dark"] body{background:#0a1426;color:#edf2ff}
html[data-theme="dark"] :is(.topbar,.stat-card,.panel,.quick-panel,.gm-pix-panel,.gm-plan-management,.gm-billing-header,.gm-package,.module-panel,.products-panel,.module-placeholder,.finance-product-grid article,.security-grid article,.product-row){background:#15243d;color:#edf2ff;border-color:#31435f}
html[data-theme="dark"] :is(.search-box,.search-box input,.filter-row select,.refresh-btn,.date-chip,.product-tab,.gm-pix-form select,.gm-pix-form input:not([type="checkbox"]),.gm-plan-editor input,.gm-plan-editor textarea){background:#1c2e4a;color:#edf2ff;border-color:#405474}
html[data-theme="dark"] :is(.table-wrap,table,.gm-billing-table){background:#14243c;color:#edf2ff;border-color:#334663}
html[data-theme="dark"] :is(th,.table-footer){background:#1f3252;color:#e2ebff;border-color:#354866}
html[data-theme="dark"] :is(td,tr,.gm-billing-table td){color:#dee8f9;border-color:#334865}
html[data-theme="dark"] :is(.welcome p,.panel-heading p,.stat-card>small,.product-row small,.quick-panel p,.module-placeholder p,.finance-product-grid small,.security-grid small,.gm-billing-header p,.gm-billing-table td small,.gm-package p,.gm-plan-management p){color:#b2c0d8}
html[data-theme="dark"] :is(.topbar b,.stat-card>strong,.empty-state b,.product-row b,.gm-billing-header strong,.gm-package strong){color:#f6f8ff}
html[data-theme="dark"] :is(.integration-state,.pending-pill,.environment,.product-status){background:#233955;color:#d3e8ff;border-color:#405c79}
html[data-theme="dark"] .product-tab.selected{background:#302d66;color:#f7f3ff;border-color:#8d7ef4}
html[data-theme="dark"] .product-tab{color:#d4dff0}
html[data-theme="dark"] .preview-bar{background:#372b18;color:#ffe4ad;border-color:#624c28}
html[data-theme="dark"] .preview-bar span{background:#514029;color:#fff2d0}
html[data-theme="dark"] :is(input,select,textarea){color-scheme:dark}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a4b4cb}
html[data-theme="dark"] .gm-plan-editor>label{color:#dce6f8}
html[data-theme="dark"] .gm-feedback{background:#253850;color:#dcecff}
html[data-theme="dark"] :is(.stat-card,.panel,.product-tab,.gm-plan-management){box-shadow:0 7px 25px #0002}
