:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#131b2e;background:#faf8ff;font-synthesis:none;--primary: #00236f;--primary-container: #1e3a8a;--secondary: #0051d5;--surface: #faf8ff;--surface-low: #f2f3ff;--surface-container: #eaedff;--surface-high: #e2e7ff;--surface-highest: #dae2fd;--white: #fff;--text: #131b2e;--muted: #444651;--outline: #757682;--outline-variant: #c5c5d3;--error: #ba1a1a;--app-bg: #f8f7ff;--card: #fff;--field: #f0f1ff;--heading: #001d67;--success-bg: #e5f6ee;--success-text: #08734b;--warning-bg: #fff2d9;--warning-text: #8a4c00;--danger-bg: #ffe9e7;--danger-text: #a41422}:root[data-theme=dark]{color:#e7edf8;background:#07090d;--primary: #6f92ff;--primary-container: #27469e;--secondary: #75a7ff;--surface: #07090d;--surface-low: #0b0e13;--surface-container: #11161d;--surface-high: #171e27;--surface-highest: #202a35;--text: #e7edf8;--muted: #9ca9bd;--outline: #75839a;--outline-variant: #2d3744;--error: #ff8a8f;--app-bg: #07090d;--card: #0e1218;--field: #151b23;--heading: #d8e4ff;--success-bg: #12382e;--success-text: #75d9b0;--warning-bg: #3d2d13;--warning-text: #f4c46d;--danger-bg: #421f28;--danger-text: #ff9da5}:root[data-theme=dark] .brand{color:#f1f5f9!important}:root[data-theme=dark] .generated header span{background:#17335f!important;border-color:#315991!important;color:#b9d4ff!important}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{min-width:320px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.mono{font-family:JetBrains Mono,Consolas,monospace}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.swal2-container{z-index:2000!important;padding:18px!important}.fx-swal{width:min(480px,100%)!important;border:1px solid var(--outline-variant)!important;border-radius:12px!important;background:var(--card)!important;color:var(--text)!important;box-shadow:0 24px 70px #00000052!important;padding:24px!important}.fx-swal-title{color:var(--heading)!important;font-size:22px!important;padding:0!important}.fx-swal-text{color:var(--muted)!important;line-height:1.5!important;margin:12px 0 0!important}.fx-swal-actions{width:100%!important;gap:10px!important;margin:22px 0 0!important}.fx-swal-confirm,.fx-swal-cancel{min-height:42px;border:0;border-radius:6px;padding:10px 16px;font-weight:700}.fx-swal-confirm{background:var(--primary-container);color:#fff}.fx-swal-cancel{background:var(--surface-container);color:var(--text)}.fx-swal-confirm:focus-visible,.fx-swal-cancel:focus-visible{outline:3px solid var(--secondary);outline-offset:2px}@media(max-width:520px){.fx-swal{padding:20px 16px!important}.fx-swal-actions{flex-direction:column-reverse!important}.fx-swal-confirm,.fx-swal-cancel{width:100%;margin:0!important}}:root[data-theme=dark] body,:root[data-theme=dark] #app,:root[data-theme=dark] .shell,:root[data-theme=dark] .portal-shell,:root[data-theme=dark] .login-page,:root[data-theme=dark] .page{background:var(--app-bg)!important;color:var(--text)!important}:root[data-theme=dark] .page{background-image:linear-gradient(145deg,#0d1118,#07090d)!important}:root[data-theme=dark] .shell>aside,:root[data-theme=dark] .portal-shell>aside{background:var(--surface-low)!important;border-right:1px solid var(--outline-variant)}:root[data-theme=dark] .main>header,:root[data-theme=dark] .content>header,:root[data-theme=dark] .password-modal,:root[data-theme=dark] .modal,:root[data-theme=dark] .card,:root[data-theme=dark] .panel,:root[data-theme=dark] .access-panel,:root[data-theme=dark] .history-panel,:root[data-theme=dark] .table-card,:root[data-theme=dark] .workspace,:root[data-theme=dark] .catalog,:root[data-theme=dark] .editor,:root[data-theme=dark] .provider,:root[data-theme=dark] .configuration,:root[data-theme=dark] .telemetry,:root[data-theme=dark] .identity,:root[data-theme=dark] .latest,:root[data-theme=dark] .commercial-note,:root[data-theme=dark] .list,:root[data-theme=dark] .timeline,:root[data-theme=dark] .keys>div,:root[data-theme=dark] .ciot-state,:root[data-theme=dark] .cancel-box,:root[data-theme=dark] .closure-box,:root[data-theme=dark] .filters,:root[data-theme=dark] .stats article,:root[data-theme=dark] .cards article,:root[data-theme=dark] .loading,:root[data-theme=dark] .chart,:root[data-theme=dark] .recent,:root[data-theme=dark] .consumption,:root[data-theme=dark] .client-head,:root[data-theme=dark] .tabs,:root[data-theme=dark] .credential-layout>div>div,:root[data-theme=dark] .credential-layout>aside,:root[data-theme=dark] .composition,:root[data-theme=dark] .ledger,:root[data-theme=dark] .history,:root[data-theme=dark] .closing-history,:root[data-theme=dark] .metrics article,:root[data-theme=dark] .plan-card,:root[data-theme=dark] .usage-card,:root[data-theme=dark] .state,:root[data-theme=dark] .cnpjs,:root[data-theme=dark] .change,:root[data-theme=dark] .detail,:root[data-theme=dark] .drawer article,:root[data-theme=dark] .drawer dl,:root[data-theme=dark] .overlay>section,:root[data-theme=dark] .cancel-modal,:root[data-theme=dark] .delete-modal,:root[data-theme=dark] .unlink-modal,:root[data-theme=dark] .user-modal,:root[data-theme=dark] .empty-subscription,:root[data-theme=dark] fieldset{background:var(--card)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .global-search,:root[data-theme=dark] .customer,:root[data-theme=dark] .connection,:root[data-theme=dark] .support,:root[data-theme=dark] .summary,:root[data-theme=dark] .rule,:root[data-theme=dark] .billing-rule,:root[data-theme=dark] .governance,:root[data-theme=dark] .info,:root[data-theme=dark] .mode,:root[data-theme=dark] .server-rule,:root[data-theme=dark] .readonly,:root[data-theme=dark] .metric-grid article,:root[data-theme=dark] .provider dl,:root[data-theme=dark] .telemetry dl,:root[data-theme=dark] .status-tabs,:root[data-theme=dark] .catalog>footer,:root[data-theme=dark] .table-card>footer,:root[data-theme=dark] .latest>header,:root[data-theme=dark] .editor>header,:root[data-theme=dark] .cancel-summary,:root[data-theme=dark] .overage,:root[data-theme=dark] th,:root[data-theme=dark] footer{background:var(--surface-container)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .field,:root[data-theme=dark] .search,:root[data-theme=dark] .filters label>div{background:var(--field)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#7f8ca2}:root[data-theme=dark] h1,:root[data-theme=dark] h2,:root[data-theme=dark] h3,:root[data-theme=dark] h4,:root[data-theme=dark] .serial,:root[data-theme=dark] .reference,:root[data-theme=dark] .crumb b,:root[data-theme=dark] .cards b,:root[data-theme=dark] .summary b{color:var(--heading)!important}:root[data-theme=dark] p,:root[data-theme=dark] small,:root[data-theme=dark] dt,:root[data-theme=dark] .crumb,:root[data-theme=dark] .subtitle,:root[data-theme=dark] .state{color:var(--muted)!important;border-color:var(--outline-variant)}:root[data-theme=dark] label{color:var(--text)!important}:root[data-theme=dark] nav a{color:#c3cee0!important}:root[data-theme=dark] nav a.active,:root[data-theme=dark] nav a.router-link-active{color:#fff!important}:root[data-theme=dark] td,:root[data-theme=dark] .summary article,:root[data-theme=dark] .identity>div,:root[data-theme=dark] .latest article{border-color:var(--outline-variant)!important}:root[data-theme=dark] tbody tr:hover,:root[data-theme=dark] tbody tr.selected{background:var(--surface-high)!important}:root[data-theme=dark] .environment,:root[data-theme=dark] .logout,:root[data-theme=dark] .secondary,:root[data-theme=dark] .details,:root[data-theme=dark] .refresh,:root[data-theme=dark] .status-tabs button,:root[data-theme=dark] .search button,:root[data-theme=dark] footer button:not(.primary):not(.confirm):not(.submit){background:var(--surface-high)!important;color:var(--heading)!important}:root[data-theme=dark] .status.concluida,:root[data-theme=dark] .status.ativo,:root[data-theme=dark] .notice,:root[data-theme=dark] .message.success{background:var(--success-bg)!important;color:var(--success-text)!important}:root[data-theme=dark] .status.rejeitada,:root[data-theme=dark] .status.bloqueado,:root[data-theme=dark] .status.inativo,:root[data-theme=dark] .error,:root[data-theme=dark] .message.error{background:var(--danger-bg)!important;color:var(--danger-text)!important}:root[data-theme=dark] .status.incerta,:root[data-theme=dark] .warning,:root[data-theme=dark] .message.warning,:root[data-theme=dark] .impact,:root[data-theme=dark] .reconcile-box{background:var(--warning-bg)!important;color:var(--warning-text)!important}:root[data-theme=dark] .alternate-access,:root[data-theme=dark] .badge,:root[data-theme=dark] .count,:root[data-theme=dark] code{background:var(--surface-high)!important;color:#b9ccff!important}:root[data-theme=dark] .shared-rule,:root[data-theme=dark] .plan-name,:root[data-theme=dark] .metrics>div,:root[data-theme=dark] .history-empty,:root[data-theme=dark] .change fieldset{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .shared-rule b,:root[data-theme=dark] .plan-name b,:root[data-theme=dark] .plan-name strong,:root[data-theme=dark] .metrics b,:root[data-theme=dark] .history-main b{color:var(--heading)!important}:root[data-theme=dark] .progress{background:var(--surface-highest)!important}:root[data-theme=dark] .progress i{background:#3f6fe5!important}:root[data-theme=dark] .danger:not(.solid){background:var(--card)!important}:root[data-theme=dark] .order span,:root[data-theme=dark] .destination,:root[data-theme=dark] .movement,:root[data-theme=dark] .bar,:root[data-theme=dark] .empty{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .bar .free{background:var(--surface-highest)!important;color:var(--heading)!important}:root[data-theme=dark] .cancel-link{background:var(--card)!important}:root[data-theme=dark] .cancel-modal>header{background:var(--danger-bg)!important;border-color:#643039!important}:root[data-theme=dark] .alert,:root[data-theme=dark] .consumption article,:root[data-theme=dark] .consumption article>div{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .alert a{color:#9db9ff!important}:root[data-theme=dark] .license,:root[data-theme=dark] .commercial{background:var(--surface-high)!important;color:var(--text)!important;border:1px solid var(--outline-variant)!important}:root[data-theme=dark] .commercial b,:root[data-theme=dark] .license b{color:var(--heading)!important}:root[data-theme=dark] .commercial span,:root[data-theme=dark] .license small{color:var(--muted)!important}:root[data-theme=dark] .mode-options label,:root[data-theme=dark] .fx-account{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .mode-options label.selected{background:var(--surface-highest)!important;border-color:var(--primary)!important;box-shadow:inset 3px 0 0 var(--primary)}:root[data-theme=dark] .mode-options label b,:root[data-theme=dark] .fx-account b{color:var(--heading)!important}:root[data-theme=dark] .mode-options label small,:root[data-theme=dark] .fx-account small,:root[data-theme=dark] .fx-account span{color:var(--muted)!important}:root[data-theme=dark] .connection-status.ok{background:var(--success-bg)!important;color:var(--success-text)!important}:root[data-theme=dark] .credential-layout aside>div{background:var(--surface-high)!important;color:var(--text)!important;border:1px solid var(--outline-variant)!important}:root[data-theme=dark] .credential-layout aside>div b{color:var(--heading)!important}:root[data-theme=dark] .credential-layout aside>div small,:root[data-theme=dark] .credential-layout aside>div p{color:var(--muted)!important}:root[data-theme=dark] .stats article>span,:root[data-theme=dark] .page-title h1 span,:root[data-theme=dark] .table-card>footer button,:root[data-theme=dark] .state button{background:var(--surface-high)!important;color:var(--heading)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .governance em,:root[data-theme=dark] .table-card>header,:root[data-theme=dark] .detail>section,:root[data-theme=dark] .detail>form{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .governance em.fechado{background:var(--success-bg)!important;color:var(--success-text)!important}:root[data-theme=dark] .detail section>b,:root[data-theme=dark] .detail form>b,:root[data-theme=dark] .total{color:var(--heading)!important}:root[data-theme=dark] .pending{background:var(--warning-bg)!important;color:var(--warning-text)!important}:root[data-theme=dark] .closing-history article{border-color:var(--outline-variant)!important}:root[data-theme=dark] .closing-history article span{color:var(--muted)!important}:root[data-theme=dark] .closing-history article p{color:var(--warning-text)!important}@media(max-width:700px){:root[data-theme=dark] .table-card tr{background:var(--card)!important;border-color:var(--outline-variant)!important}}:root[data-theme=dark] .cards .attention,:root[data-theme=dark] .ledger>header,:root[data-theme=dark] .ledger>footer,:root[data-theme=dark] .serial,:root[data-theme=dark] .ledger .status:not(.concluida):not(.rejeitada):not(.incerta){background:var(--surface-high)!important;color:var(--heading)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .refresh,:root[data-theme=dark] .filters button:not(.primary),:root[data-theme=dark] .ledger footer button{background:var(--surface-high)!important;color:var(--heading)!important}:root[data-theme=dark] .filters>header span,:root[data-theme=dark] .ledger>header span,:root[data-theme=dark] .cards span{color:var(--muted)!important}:root[data-theme=dark] .test-button,:root[data-theme=dark] .provider-icon,:root[data-theme=dark] .provider header>b,:root[data-theme=dark] .telemetry header span,:root[data-theme=dark] .configuration button,:root[data-theme=dark] .refresh{background:var(--surface-high)!important;color:var(--heading)!important;border-color:var(--outline-variant)!important}:root[data-theme=dark] .provider header>b.attention{background:var(--warning-bg)!important;color:var(--warning-text)!important}:root[data-theme=dark] .guard,:root[data-theme=dark] .scope,:root[data-theme=dark] .user-modal>header,:root[data-theme=dark] .user-modal footer,:root[data-theme=dark] .role,:root[data-theme=dark] aside>header,:root[data-theme=dark] aside section{background:var(--surface-high)!important;color:var(--text)!important;border-color:var(--outline-variant)!important;background-image:none!important}:root[data-theme=dark] .guard a,:root[data-theme=dark] .scope-icon,:root[data-theme=dark] .modal-title small{color:#9db9ff!important}:root[data-theme=dark] .close-modal{color:var(--text)!important}:root[data-theme=dark] .form-grid label{color:var(--text)!important}:root[data-theme=dark] .catalog input:focus,:root[data-theme=dark] .catalog select:focus,:root[data-theme=dark] .user-modal input:focus,:root[data-theme=dark] .user-modal select:focus{box-shadow:0 0 0 2px #27469e!important}:root[data-theme=dark] .drawer{background:var(--surface-low)!important}:root[data-theme=dark] .drawer>header{background:#172f78!important}:root[data-theme=dark] ::-webkit-scrollbar{width:11px;height:11px}:root[data-theme=dark] ::-webkit-scrollbar-track{background:#0a1020}:root[data-theme=dark] ::-webkit-scrollbar-thumb{background:#34445f;border-radius:8px;border:2px solid #0a1020}
