/* Tokens da identidade configurável do AG System */
:root{color-scheme:light;--canvas:#f5f7fb;--surface:#fff;--ink:#18243a;--muted:#718096;--line:#e8edf3}
.brand-mark{background:linear-gradient(145deg,var(--brand),var(--brand-dark))!important;box-shadow:0 6px 15px rgba(var(--brand-rgb),.2)!important}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}.nav-link.is-active{background:var(--brand-soft)!important;color:var(--brand)!important}.nav-link.is-active i,.active-dot{color:var(--brand)!important}.active-dot{background:var(--brand)!important}.help-icon{color:var(--brand)!important;background:var(--brand-soft)!important}.app-body .btn-salvar,.app-body .btn-status,.app-body .btn-filtrar,.app-body .btn-filtro,.app-body .settings-save,.app-body .btn-primary{background:var(--brand)!important;border-color:var(--brand)!important}.app-body .btn-editar{color:var(--brand)!important;background:var(--brand-soft)!important}.app-body .nav-link:focus-visible,.app-body button:focus-visible,.app-body a:focus-visible{outline:3px solid rgba(var(--brand-rgb),.25);outline-offset:2px}
html[data-theme="escuro"]{color-scheme:dark;--canvas:#0c1220;--surface:#141d2c;--ink:#e6edf7;--muted:#a4b0c2;--line:#273449;--shadow:0 12px 36px rgba(0,0,0,.2)}
html[data-theme="escuro"] body.app-body{background:var(--canvas)!important;color:var(--ink)!important}
html[data-theme="escuro"] .app-sidebar,html[data-theme="escuro"] .app-topbar{background:#111a29!important;border-color:#263348!important;color:#e4eaf3!important}
html[data-theme="escuro"] .brand,html[data-theme="escuro"] .brand-copy strong,html[data-theme="escuro"] .account-name,html[data-theme="escuro"] .context-page{color:#e7edf7!important}
html[data-theme="escuro"] .brand-copy small,html[data-theme="escuro"] .nav-caption,html[data-theme="escuro"] .nav-group-title,html[data-theme="escuro"] .account-name small,html[data-theme="escuro"] .topbar-date,html[data-theme="escuro"] .context-label{color:#93a1b5!important}
html[data-theme="escuro"] .nav-link{color:#b4c0d1!important}html[data-theme="escuro"] .nav-link i{color:#8494aa!important}html[data-theme="escuro"] .nav-link:hover{background:#1b2940!important;color:#e9eff8!important}html[data-theme="escuro"] .nav-link.is-active{background:rgba(var(--brand-rgb),.2)!important;color:#edf2ff!important}html[data-theme="escuro"] .sidebar-help{background:#141f30!important;border-color:#29364b!important}html[data-theme="escuro"] .sidebar-help strong{color:#e1e8f2!important}html[data-theme="escuro"] .sidebar-help small,html[data-theme="escuro"] .sidebar-version{color:#8695aa!important}
html[data-theme="escuro"] .app-body .card,html[data-theme="escuro"] .app-body .cliente-card,html[data-theme="escuro"] .app-body .pedido-card,html[data-theme="escuro"] .app-body .estoque-card,html[data-theme="escuro"] .app-body [class*="-card"],html[data-theme="escuro"] .app-body .financeiro-box,html[data-theme="escuro"] .app-body .registry-rows,html[data-theme="escuro"] .app-body .registry-row,html[data-theme="escuro"] .app-body .registry-grid-card,html[data-theme="escuro"] .app-body .registry-table-wrap,html[data-theme="escuro"] .app-body .form-filtros,html[data-theme="escuro"] .app-body .form-filtro,html[data-theme="escuro"] .app-body .form-card,html[data-theme="escuro"] .app-body .settings-panel,html[data-theme="escuro"] .app-body .settings-preview,html[data-theme="escuro"] .app-body .settings-preview-head,html[data-theme="escuro"] .app-body .order-modal,html[data-theme="escuro"] .app-body .expense-payment-modal{background:#151f30!important;border-color:#29374d!important;color:#e4ebf5!important;box-shadow:0 10px 30px rgba(0,0,0,.16)!important}
html[data-theme="escuro"] .app-body .settings-preview-head,html[data-theme="escuro"] .app-body .order-modal-head,html[data-theme="escuro"] .app-body .expense-payment-modal>header{background:#111a29!important;border-color:#29374d!important}
html[data-theme="escuro"] .app-body h1,html[data-theme="escuro"] .app-body h2,html[data-theme="escuro"] .app-body h3,html[data-theme="escuro"] .app-body .titulo,html[data-theme="escuro"] .app-body .premium-page-heading h1,html[data-theme="escuro"] .app-body .financeiro-titulo h1,html[data-theme="escuro"] .app-body .settings-heading h1,html[data-theme="escuro"] .app-body .box-titulo,html[data-theme="escuro"] .app-body .pedido-cliente,html[data-theme="escuro"] .app-body .despesa-descricao,html[data-theme="escuro"] .app-body .registry-form-panel h2,html[data-theme="escuro"] .app-body .registry-list-head h2,html[data-theme="escuro"] .app-body .settings-panel h2,html[data-theme="escuro"] .app-body .settings-preview-head strong{color:#e4ebf5!important}
html[data-theme="escuro"] .app-body p,html[data-theme="escuro"] .app-body label,html[data-theme="escuro"] .app-body small,html[data-theme="escuro"] .app-body .premium-page-heading p,html[data-theme="escuro"] .app-body .overview-welcome p,html[data-theme="escuro"] .app-body .order-address,html[data-theme="escuro"] .app-body .pedido-info,html[data-theme="escuro"] .app-body .settings-panel>p,html[data-theme="escuro"] .app-body .settings-preview-body p{color:#a2afc2!important}
html[data-theme="escuro"] .app-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-theme="escuro"] .app-body select,html[data-theme="escuro"] .app-body textarea,html[data-theme="escuro"] .app-body .registry-table input,html[data-theme="escuro"] .app-body .registry-table select,html[data-theme="escuro"] .app-body .settings-field input[type=text]{background:#0f1828!important;border-color:#2d3b51!important;color:#e2eaf5!important}html[data-theme="escuro"] .app-body input::placeholder,html[data-theme="escuro"] .app-body textarea::placeholder{color:#7f8da3!important}html[data-theme="escuro"] .app-body option{background:#151f30;color:#e2eaf5}
html[data-theme="escuro"] .app-body table,html[data-theme="escuro"] .app-body td,html[data-theme="escuro"] .app-body th,html[data-theme="escuro"] .app-body .registry-table td{border-color:#29374b!important;color:#c6d0de}html[data-theme="escuro"] .app-body th,html[data-theme="escuro"] .app-body .registry-table th{background:#1a2639!important;color:#aebbd0!important}html[data-theme="escuro"] .app-body .order-detail-grid,html[data-theme="escuro"] .app-body .order-control-form,html[data-theme="escuro"] .app-body .order-item,html[data-theme="escuro"] .app-body .registry-item .nome{background:#1b2940!important;border-color:#2d3c53!important;color:#d2dbe8!important}html[data-theme="escuro"] .app-body .order-detail-grid strong,html[data-theme="escuro"] .app-body .registry-item .nome{color:#d2dbe8!important}
html[data-theme="escuro"] .app-body .multi-city-menu,html[data-theme="escuro"] .app-body .order-modal,html[data-theme="escuro"] .app-body .expense-payment-modal{background:#151f30!important;color:#e4ebf5!important}html[data-theme="escuro"] .app-body .multi-city-option{color:#cad4e2!important}html[data-theme="escuro"] .app-body .multi-city-option:hover{background:#202e44!important}html[data-theme="escuro"] .app-body .multi-city-all,html[data-theme="escuro"] .app-body .order-footer{border-color:#29374d!important}
html[data-theme="escuro"] .app-body .financeiro-card,html[data-theme="escuro"] .app-body .premium-summary-card,html[data-theme="escuro"] .app-body .expenses-summary-item{background:#151f30!important;border-color:#29374d!important;color:#e2eaf5!important}html[data-theme="escuro"] .app-body .financeiro-label,html[data-theme="escuro"] .app-body .premium-summary-card span,html[data-theme="escuro"] .app-body .expenses-summary-item span{color:#a1aec1!important}html[data-theme="escuro"] .app-body .financeiro-valor,html[data-theme="escuro"] .app-body .premium-summary-card strong,html[data-theme="escuro"] .app-body .expenses-summary-item strong{color:#e2eaf5!important}html[data-theme="escuro"] .app-body .lista-item,html[data-theme="escuro"] .app-body .pedido-item{border-color:#29374d!important;color:#d6dfeb!important}
html[data-theme="escuro"] .app-body .order-card.order-state-alert{background:#2b2027!important;border-color:#674047!important}html[data-theme="escuro"] .app-body .order-card.order-state-good{background:#1a2b28!important;border-color:#315848!important}html[data-theme="escuro"] .app-body .order-card.order-state-mixed{background:#2a2820!important;border-color:#5b5033!important}html[data-theme="escuro"] .app-body .despesa-card.expense-open{background:#2b2027!important;border-color:#674047!important}html[data-theme="escuro"] .app-body .despesa-card.expense-partial{background:#2a2820!important;border-color:#5b5033!important}html[data-theme="escuro"] .app-body .despesa-card.expense-paid{background:#1a2b28!important;border-color:#315848!important}
html[data-theme="escuro"] body.login-page{background:#0c1220!important;color:#e4ebf5!important}html[data-theme="escuro"] body.login-page .login-pane{background:#0c1220!important}html[data-theme="escuro"] body.login-page .login-card h2,html[data-theme="escuro"] body.login-page .mobile-brand,html[data-theme="escuro"] body.login-page .field label{color:#e4ebf5!important}html[data-theme="escuro"] body.login-page .login-subtitle,html[data-theme="escuro"] body.login-page .form-eyebrow{color:#a2afc2!important}html[data-theme="escuro"] body.login-page .input-wrap{background:#151f30!important;border-color:#2d3b51!important}html[data-theme="escuro"] body.login-page .input-wrap input{color:#e4ebf5!important}html[data-theme="escuro"] body.login-page .mobile-brand-mark{background:var(--brand)!important}body.login-page .login-submit{background:var(--brand)!important}.mobile-brand-mark{background:var(--brand)!important}
.brand-mark img,.story-brand-mark img,.mobile-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}.story-brand-mark img,.mobile-brand-mark img{padding:5px}.brand-mark{overflow:hidden}body.login-page .login-story{background:linear-gradient(145deg,var(--brand-dark),var(--brand))!important}.app-body .btn-salvar,.app-body .btn-status,.app-body .btn-filtrar,.app-body .btn-filtro,.app-body .btn-primary,.app-body .order-edit-btn,.app-body .order-apply-btn,.app-body .btn-pdf{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}.app-body .btn-editar,.app-body .order-pdf{color:var(--brand)!important}.app-body .btn-editar,.app-body .order-apply-btn{background:var(--brand-soft)!important}html[data-theme] .app-body .btn-salvar,html[data-theme] .app-body .btn-status,html[data-theme] .app-body .btn-filtrar,html[data-theme] .app-body .btn-filtro,html[data-theme] .app-body .btn-primary,html[data-theme] .app-body .order-edit-btn,html[data-theme] .app-body .settings-save,html[data-theme] body.login-page .login-submit{background:var(--brand)!important;border-color:var(--brand)!important;color:var(--brand-on,#fff)!important}html[data-theme] .app-body .settings-preview-button{background:var(--brand)!important;color:var(--brand-on,#fff)!important}html[data-theme] .app-body .order-apply-btn{background:var(--brand-soft)!important;color:var(--brand)!important}
html[data-theme="escuro"] .app-body .overview-date,html[data-theme="escuro"] .app-body .overview-note{background:#151f30!important;border-color:#29374d!important;color:#c4cfde!important}html[data-theme="escuro"] .app-body .overview-date-info strong{color:#e4ebf5!important}html[data-theme="escuro"] .app-body .overview-card span{color:#a2afc2!important}