/* v4.4 — Tema da área autenticada. Não altera a tela pública ou os fluxos. */
body.authenticated-view{color-scheme:dark;--cb-bg:#071827;--cb-paper:#10283c;--cb-text:#f1f2f3;--cb-muted:#a4a9b1;--cb-border:#2c465c;--cb-soft:#173348;--cb-green:#48d6a3;--cb-red:#ff7b87;--cb-navy:#132d43;--bg:#071827;--paper:#10283c;--ink:#f1f2f3;--muted:#a4a9b1;--line:#2c465c;--green:#48d6a3;--green-light:#18352c;--red:#ff7b87;--red-light:#3c232a;--amber:var(--ie-accent);--amber-light:#123e35;--navy:#132d43;--shadow:none;background:#071827!important;color:#f1f2f3}
body.authenticated-view .sidebar{width:230px;padding:30px 18px 22px;background:#0b2033!important;border-right:1px solid #243d53}
body.authenticated-view .workspace{margin-left:230px;width:calc(100% - 230px);background:#071827!important}
body.authenticated-view .brand{font-size:24px;font-weight:700;padding:0 6px 32px;letter-spacing:-.9px}
body.authenticated-view .brand>div>span{font-size:9px;letter-spacing:.6px;color:#9da3ab;text-transform:none}
body.authenticated-view .premium-logo{background:#123e35;border:1px solid #286453;box-shadow:none}
body.authenticated-view .premium-logo i{background:var(--ie-accent);box-shadow:none}
body.authenticated-view .sidebar .nav{min-height:46px;padding:12px;gap:12px;font-size:13px;border:1px solid transparent;color:#acb1b9;border-radius:9px;margin:5px 0;transition:background .15s,color .15s}
body.authenticated-view .sidebar .nav:hover{background:#173348;color:#fff}
body.authenticated-view .sidebar .nav.active{background:color-mix(in srgb, var(--ie-accent) 8%, transparent);color:var(--ie-accent);border-color:color-mix(in srgb, var(--ie-accent) 18%, transparent);box-shadow:inset 3px 0 var(--ie-accent)}
body.authenticated-view .nav-label{font-size:9px;letter-spacing:1.8px;color:#848b95;margin:25px 12px 12px}
body.authenticated-view .sidebar-bottom{border-top:1px solid #243d53;padding:20px 0 0}
body.authenticated-view .profile{color:#e4e7eb}
body.authenticated-view .profile small{color:#969ea8;font-size:10px}
body.authenticated-view .avatar,body.authenticated-view .top-avatar{background:#123e35;color:var(--ie-accent);border:1px solid #286453}
body.authenticated-view .topbar{min-height:80px;padding:18px 34px;background:#0b2033!important;border-bottom:1px solid #243d53!important;gap:18px}
body.authenticated-view .breadcrumb{font-size:12px;color:#969ea8}
body.authenticated-view .breadcrumb strong,body.authenticated-view .top-user-copy b{color:#e9ebee}
body.authenticated-view .top-user-copy small,body.authenticated-view .topbar-status{color:#969ea8}
body.authenticated-view .topbar-status{font-size:11px}
body.authenticated-view .topbar-status .dot{background:#48d6a3;box-shadow:none}
body.authenticated-view .user-pill{color:#c3c8cf;border-color:#2c465c}
body.authenticated-view .logout-button{color:#b8bfc8;border:1px solid #3b4048;border-radius:6px;padding:6px 10px;text-decoration:none}
body.authenticated-view main{max-width:1700px;padding:34px 34px 22px;margin:0 auto}
body.authenticated-view .cb-heading{margin-bottom:27px;align-items:flex-end}
body.authenticated-view .cb-heading h1,body.authenticated-view .premium-page-heading h1{font-size:32px;font-weight:650;letter-spacing:-1.1px;color:#f1f2f3!important}
body.authenticated-view .cb-eyebrow{color:var(--ie-accent);font-size:9px;letter-spacing:2px}
body.authenticated-view .cb-heading p,body.authenticated-view .subtitle{color:#a4a9b1;font-size:13px;line-height:1.65}
body.authenticated-view .btn,body.authenticated-view .cb-button{background:#24272c;color:#e2e6eb;border:1px solid #3b4048;border-radius:8px;min-height:40px;font-size:12px;font-weight:600;box-shadow:none}
body.authenticated-view .btn:hover,body.authenticated-view .cb-button:hover{background:#30343a;border-color:#626976}
body.authenticated-view .btn.primary,body.authenticated-view .cb-button.cb-primary{background:var(--ie-accent)!important;border-color:var(--ie-accent)!important;color:#18140b!important;box-shadow:none}
body.authenticated-view .btn.primary:hover,body.authenticated-view .cb-button.cb-primary:hover{background:var(--ie-accent)!important;border-color:var(--ie-accent)!important}
body.authenticated-view .btn.primary-light{background:#123e35;color:var(--ie-accent);border-color:#286453}
body.authenticated-view .btn.subtle,body.authenticated-view .btn.soft-action{background:#132d43;color:#d3d8de;border-color:#3b4048}
body.authenticated-view .danger-text{color:#ff7b87!important}
body.authenticated-view button:focus-visible,body.authenticated-view a:focus-visible,body.authenticated-view input:focus-visible,body.authenticated-view select:focus-visible,body.authenticated-view textarea:focus-visible{outline:2px solid var(--ie-accent);outline-offset:3px}
body.authenticated-view .cb-kpis{gap:16px;margin-bottom:24px}
body.authenticated-view .cb-kpi{border-radius:12px;padding:23px 21px;min-height:158px;background:#10283c}
body.authenticated-view .cb-kpi-label{font-size:12px;color:#b4bac3}
body.authenticated-view .cb-kpi-label .cb-icon{color:#969ea8}
body.authenticated-view .cb-kpi>strong{font-weight:600;letter-spacing:-.9px;margin:18px 0 12px}
body.authenticated-view .cb-kpi small{font-size:11px;line-height:1.5}
body.authenticated-view .cb-kpi-feature{background:linear-gradient(135deg,#123e35,#10283c);border-color:#286453;box-shadow:inset 0 3px var(--ie-accent)}
body.authenticated-view .cb-kpi-feature .cb-kpi-label,body.authenticated-view .cb-kpi-feature small{color:#c9bb9c}
body.authenticated-view .cb-kpi-feature>strong{color:var(--ie-accent)}
body.authenticated-view .cb-feature-pill{background:color-mix(in srgb, var(--ie-accent) 11%, transparent);color:var(--ie-accent)}
body.authenticated-view .cb-panel,body.authenticated-view .card,body.authenticated-view .premium-summary-grid>article,body.authenticated-view .premium-sale-lot{background:#10283c!important;border-color:#2c465c!important;border-radius:12px;box-shadow:none!important}
body.authenticated-view .cb-panel-head{padding:23px 23px 0}
body.authenticated-view .cb-panel-head h2,body.authenticated-view .premium-table-title h2,body.authenticated-view .premium-section-head h2{font-size:16px;font-weight:600;color:#e9ebee}
body.authenticated-view .cb-panel-head p,body.authenticated-view .premium-table-title p,body.authenticated-view .premium-section-head p{font-size:11px;color:#a4a9b1}
body.authenticated-view .cb-chart-grid,body.authenticated-view .cb-secondary-grid{gap:22px;margin-bottom:22px}
body.authenticated-view .cb-line-chart{height:240px}
body.authenticated-view .cb-evolution-line{stroke:var(--ie-accent)}
body.authenticated-view .cb-segmented{background:#101214;padding:4px;border:1px solid #30343a;border-radius:7px}
body.authenticated-view .cb-segmented button{min-height:30px;color:#aab1bb;padding:6px 11px}
body.authenticated-view .cb-segmented button[aria-pressed="true"]{background:var(--ie-accent);color:#17130b;box-shadow:none}
body.authenticated-view .cb-chart-controls select,body.authenticated-view .year-chip{background:#24272c;border-color:#3b4048;color:#e1e4e8}
body.authenticated-view .cb-row-button{background:#24272c;color:var(--ie-accent);border-color:#4f4735;min-height:34px}
body.authenticated-view .cb-row-button:hover{background:#123e35}
body.authenticated-view .cb-text-button,body.authenticated-view .asset-link:hover{color:var(--ie-accent)}
body.authenticated-view .cb-total-result{background:#1b2420;border-color:#344b40;border-radius:12px}
body.authenticated-view .cb-chart-tooltip{background:#30343a;border:1px solid #626976;color:#fff;box-shadow:0 8px 25px #0005}
body.authenticated-view table{color:#dce1e7;border-color:#2c465c}
body.authenticated-view th{background:#173348!important;color:#b3bbc6!important;border-color:#2c465c!important}
body.authenticated-view td{border-color:#2e3238!important}
body.authenticated-view tbody tr:hover{background:#ffffff04!important}
body.authenticated-view .cb-table td{padding-top:17px;padding-bottom:17px}
body.authenticated-view .totals-row td,body.authenticated-view .premium-mini-table th{background:#222a26!important;color:#e4ece7}
body.authenticated-view .premium-ticker b,body.authenticated-view .quote-price,body.authenticated-view .premium-id{color:#e6e9ed}
body.authenticated-view .premium-ticker small,body.authenticated-view .amount-sub,body.authenticated-view .table-count{color:#a4a9b1}
body.authenticated-view .asset-logo{border-color:#41464e}
body.authenticated-view .asset-logo-fallback{background:#30343a;color:#d7dde6}
body.authenticated-view .badge,body.authenticated-view .record-count,body.authenticated-view .role-badge,body.authenticated-view .sidebar-role{background:#282c32;color:#c6cdd7;border-color:#41464e}
body.authenticated-view .badge.ok,body.authenticated-view .badge.success{background:#18352c;color:#66e1b7;border-color:#315746}
body.authenticated-view .badge.warn{background:#332b1a;color:#ffca50;border-color:#665020}
body.authenticated-view .badge.danger{background:#3c232a;color:#ff9ba4;border-color:#65404a}
body.authenticated-view .positive,body.authenticated-view .pos,body.authenticated-view .cb-positive{color:#48d6a3!important}
body.authenticated-view .negative,body.authenticated-view .neg,body.authenticated-view .cb-negative{color:#ff7b87!important}
body.authenticated-view .neutral,body.authenticated-view .muted{color:#a4a9b1!important}
body.authenticated-view .filterbar,body.authenticated-view .result-strip,body.authenticated-view .premium-sale-head{background:#1e2125;border-color:#2c465c;color:#e3e7ed}
body.authenticated-view .premium-sale-metrics>div,body.authenticated-view .sale-lot-meta>div,body.authenticated-view .sale-live-summary,body.authenticated-view .asset-details-stats>div{background:#173348;border-color:#3b4048}
body.authenticated-view .premium-sale-metrics b,body.authenticated-view .premium-summary-grid strong,body.authenticated-view .asset-details h3{color:#e9ebee}
body.authenticated-view .premium-sale-metrics span,body.authenticated-view .premium-sale-head small,body.authenticated-view .sale-live-summary span,body.authenticated-view .asset-details-stats span,body.authenticated-view .asset-details-head p,body.authenticated-view .asset-details-quote small,body.authenticated-view .asset-details-note,body.authenticated-view .asset-details td small,body.authenticated-view .asset-details h3 small{color:#a4a9b1}
body.authenticated-view .premium-help-card,body.authenticated-view .premium-setting-card,body.authenticated-view .premium-note,body.authenticated-view .notice,body.authenticated-view .form-hint,body.authenticated-view .quote-note,body.authenticated-view .firebase-banner{background:#173348!important;border:1px solid #3b4048!important;color:#c6cdd7!important;box-shadow:none!important}
body.authenticated-view .premium-help-card h2,body.authenticated-view .premium-setting-card h2,body.authenticated-view .premium-setting-card h3,body.authenticated-view .premium-help-card h3{color:#e9ebee}
body.authenticated-view .premium-help-card p,body.authenticated-view .premium-setting-card p,body.authenticated-view .premium-empty p{color:#a4a9b1}
body.authenticated-view .premium-empty{color:#a4a9b1}
body.authenticated-view .premium-empty b{color:#e9ebee}
body.authenticated-view .section-icon,body.authenticated-view .setting-icon,body.authenticated-view .premium-empty>span{background:#123e35;color:var(--ie-accent);border-color:#286453}
body.authenticated-view .premium-summary-grid>article::before{background:var(--ie-accent)}
body.authenticated-view input,body.authenticated-view select,body.authenticated-view textarea,body.authenticated-view .premium-name-field input{background:#24272c!important;border-color:#4b515b!important;color:#f1f2f3!important;caret-color:var(--ie-accent)}
body.authenticated-view input::placeholder,body.authenticated-view textarea::placeholder{color:#959da9}
body.authenticated-view input:disabled{background:#1b1e22!important;color:#a4a9b1!important}
body.authenticated-view input[type="checkbox"]{accent-color:var(--ie-accent)}
body.authenticated-view .field>span,body.authenticated-view .year-label{color:#bdc5cf}
body.authenticated-view .help-block code,body.authenticated-view .code-line{background:#101214;color:var(--ie-accent);border-color:#3b4048}
body.authenticated-view a{color:var(--ie-accent)}
body.authenticated-view .disclaimer{border-color:#2c465c;color:#969ea8;line-height:1.7;padding-top:20px}
/* Formulários e detalhes usam o mesmo tema, incluindo autocomplete. */
body.authenticated-view #modal{background:#10283c;color:#f1f2f3;border:1px solid #4b515b;border-radius:14px;box-shadow:0 28px 90px #0009}
body.authenticated-view #modal::backdrop{background:#000b;backdrop-filter:blur(5px)}
body.authenticated-view #modal .modal-heading,body.authenticated-view #modal .modal-footer{background:#1e2125;border-color:#2c465c}
body.authenticated-view #modal .modal-heading h2{color:#f1f2f3;font-weight:600}
body.authenticated-view #modal .eyebrow{color:var(--ie-accent)}
body.authenticated-view .icon-button{background:#292d33;color:#dce1e7;border:1px solid #41464e}
body.authenticated-view .asset-suggestions{background:#132d43;border-color:#4b515b;box-shadow:0 14px 32px #0008}
body.authenticated-view .asset-suggestion{background:#132d43;color:#e9ebee;border-color:#3b4048}
body.authenticated-view .asset-suggestion:hover{background:#123e35}
body.authenticated-view .asset-suggestion span,body.authenticated-view .status-line{color:#b0b9c5}
body.authenticated-view .sale-lot{background:#173348;border-color:#3b4048}
body.authenticated-view .form-error{background:#3c232a;color:#ff9ba4;border:1px solid #65404a}
body.authenticated-view #toast{background:#22392f;color:#dcf5e9;border:1px solid #406651;box-shadow:0 10px 30px #0006}
body.authenticated-view #toast.error{background:#45262d;color:#ffe2e6;border-color:#7a4854}
#app-loading.app-loading-screen{background:#071827}
#app-loading .app-loading-card{background:#10283c;border-color:#3b4048;color:#f1f2f3;box-shadow:none}
#app-loading .app-loading-copy h2{color:#f1f2f3}
#app-loading .app-loading-copy p,#app-loading .app-loading-card>small{color:#a4a9b1}
#app-loading .app-loading-progress{background:#2c465c}
#app-loading .app-loading-progress i{background:var(--ie-accent)}
#app-loading .premium-logo{background:#123e35;border-color:#286453}
#app-loading .premium-logo i{background:var(--ie-accent);box-shadow:none}
@media(max-width:1100px) and (min-width:701px){body.authenticated-view .sidebar{width:190px;padding:26px 12px}body.authenticated-view .workspace{margin-left:190px;width:calc(100% - 190px)}body.authenticated-view .brand{font-size:21px}body.authenticated-view main{padding:28px 22px}body.authenticated-view .topbar{padding:16px 22px}}
@media(max-width:700px){body.authenticated-view .sidebar{width:100%;position:relative;height:auto;padding:18px 14px 12px;border-right:0;border-bottom:1px solid #2c465c}body.authenticated-view .workspace{margin:0;width:100%}body.authenticated-view .brand{padding:0 0 16px;font-size:24px}body.authenticated-view .sidebar nav{gap:6px}body.authenticated-view .sidebar .nav{font-size:10px;padding:9px 5px;margin:0;min-height:50px}body.authenticated-view .topbar{min-height:0;padding:14px;gap:12px}body.authenticated-view main{padding:26px 14px 20px}body.authenticated-view .cb-heading h1,body.authenticated-view .premium-page-heading h1{font-size:28px}body.authenticated-view .cb-kpis{gap:12px}body.authenticated-view .cb-kpi{padding:19px 17px;min-height:145px}body.authenticated-view .cb-kpi>strong{font-size:26px}body.authenticated-view .cb-panel-head{padding:20px 18px 0}body.authenticated-view .cb-chart-grid,body.authenticated-view .cb-secondary-grid{gap:16px;margin-bottom:16px}body.authenticated-view .cb-heading-actions .cb-button{min-height:44px}body.authenticated-view .topbar .btn{min-height:40px}body.authenticated-view .field input,body.authenticated-view .field select,body.authenticated-view .field textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){body.authenticated-view *{transition:none!important;animation:none!important}}
/* v4.4.1 — Sobrepõe as regras antigas de modo claro com a mesma especificidade. */
body.authenticated-view table thead th,
body.authenticated-view .dash-assets-table thead th,
body.authenticated-view .cb-table thead th{background:#173348!important;color:#b9c1cc!important;border-color:#2c465c!important}
body.authenticated-view table tbody tr:hover,
body.authenticated-view .dash-assets-table tbody tr:hover{background:#282c32!important}
body.authenticated-view table tbody tr:hover>td{background:#282c32!important}
body.authenticated-view .premium-id{background:#292d33!important;color:#cbd2dc!important;border:1px solid #41464e}
body.authenticated-view .soft-action{background:#24272c!important;color:#d3d8de;box-shadow:none!important}
body.authenticated-view .sidebar .nav.active{background:color-mix(in srgb, var(--ie-accent) 8%, transparent)!important;box-shadow:inset 3px 0 var(--ie-accent)!important;border-color:color-mix(in srgb, var(--ie-accent) 18%, transparent)}
body.authenticated-view .sidebar .nav.active .nav-icon{background:transparent;color:var(--ie-accent)}
body.authenticated-view #modal form,body.authenticated-view .modal-card{background:#10283c!important;color:#f1f2f3}
body.authenticated-view .premium-section{background:#10283c;border-color:#2c465c;box-shadow:none}
body.authenticated-view .premium-page-heading .eyebrow{color:var(--ie-accent)}
body.authenticated-view .brand .premium-logo.sidebar-logo{display:inline-flex;flex-direction:row;align-items:flex-end;justify-content:center;gap:3px;flex-shrink:0;overflow:hidden}

body.authenticated-view .admin-summary-grid>article{background:#10283c;border-color:#2c465c;box-shadow:none}
body.authenticated-view .admin-summary-grid strong,body.authenticated-view .admin-user-cell b{color:#e9ebee}
body.authenticated-view .admin-summary-grid span,body.authenticated-view .admin-summary-grid small,body.authenticated-view .admin-user-cell small{color:#a4a9b1}
body.authenticated-view .admin-summary-grid .admin-role-card{background:#123e35;border-color:#286453}
body.authenticated-view .admin-summary-grid .admin-role-card strong{color:var(--ie-accent)}
body.authenticated-view .admin-user-avatar{background:#292d33;color:#cbd2dc}
