.theme-toggle{position:relative;z-index:2;width:100%;min-height:42px;margin:4px 0 9px;padding:6px 8px;border:1px solid #26395e;border-radius:10px;background:#0f1c3a;color:#95a4c2;display:flex;align-items:center;gap:8px;cursor:pointer;text-align:left;font-size:11px;font-weight:700}.theme-toggle:hover{border-color:#3d527c;color:#fff}.theme-toggle svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-label{flex:1}.theme-moon{display:none}.theme-switch{width:32px;height:18px;padding:2px;border-radius:20px;background:#26395d;display:block}.theme-switch i{display:block;width:14px;height:14px;border-radius:50%;background:#f7f9ff;transition:transform .25s,background .25s}html[data-theme=dark] .theme-switch{background:#aaf02e}html[data-theme=dark] .theme-switch i{background:#14203b;transform:translateX(14px)}html[data-theme=dark] .theme-sun{display:none}html[data-theme=dark] .theme-moon{display:block;color:#aaf02e}
html[data-theme=dark]{color-scheme:dark;--ink:#e9eefb;--muted:#8f9bb4;--line:#25304a;--bg:#080e1c;--white:#111a2c;--blue2:#162546;--shadow:0 8px 28px rgba(0,0,0,.22)}html[data-theme=dark] body{background:radial-gradient(circle at 78% -10%,#182653 0,transparent 31%),#080e1c;color:var(--ink)}html[data-theme=dark] .main{background:transparent}html[data-theme=dark] .panel,html[data-theme=dark] .metric,html[data-theme=dark] .cart,html[data-theme=dark] .product-card{background:#111a2c;border-color:#24304a;box-shadow:0 8px 25px #02061138}html[data-theme=dark] .panel:hover,html[data-theme=dark] .metric:hover{border-color:#344362}html[data-theme=dark] .page-head h1,html[data-theme=dark] .panel h2,html[data-theme=dark] .metric strong,html[data-theme=dark] .product-card b,html[data-theme=dark] .cart-head h2,html[data-theme=dark] .empty h3{color:#edf2ff}html[data-theme=dark] .search-box,html[data-theme=dark] .btn.secondary,html[data-theme=dark] .chips button,html[data-theme=dark] .money-control{background:#0d1628;border-color:#293550;color:#aab6cf}html[data-theme=dark] .search-box input,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .form-control,html[data-theme=dark] label input,html[data-theme=dark] label select,html[data-theme=dark] label textarea,html[data-theme=dark] .checkout select,html[data-theme=dark] .checkout input,html[data-theme=dark] .period-filter select,html[data-theme=dark] .period-filter input,html[data-theme=dark] .toolbar select{background:#0c1527;color:#e5ebf8;border-color:#2a3651}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#65728e}html[data-theme=dark] .form-card input[type=file]{background:#0c1527}html[data-theme=dark] .form-card input[type=file]::file-selector-button{background:#1b2b50;color:#8caeff}html[data-theme=dark] .money-control>span{background:#172747;color:#85a8ff;border-color:#2a3b5f}html[data-theme=dark] .totals,html[data-theme=dark] th{background:#0c1425}html[data-theme=dark] td,html[data-theme=dark] th,html[data-theme=dark] .panel-head,html[data-theme=dark] .cart-head,html[data-theme=dark] .checkout,html[data-theme=dark] .cart-row,html[data-theme=dark] .rank-list>div,html[data-theme=dark] .stock-alerts>div,html[data-theme=dark] .payment-list>div,html[data-theme=dark] .simple-list>div{border-color:#25304a}html[data-theme=dark] td{color:#cbd4e8}html[data-theme=dark] .qty button,html[data-theme=dark] .remove{background:#152038;border-color:#2c3956;color:#dce5f8}html[data-theme=dark] .product-card .product-photo,html[data-theme=dark] .inventory-product>img{background:#172135}html[data-theme=dark] .modal{background:#030713d9}html[data-theme=dark] .modal>div{background:#111a2c;border:1px solid #2a3651}html[data-theme=dark] .message{background:#151f34;color:#e8eefc}html[data-theme=dark] .login-panel{background:#0b1221}html[data-theme=dark] .login-form h2{color:#eef3ff}html[data-theme=dark] .login-art{background:linear-gradient(145deg,#071126,#102552)}html[data-theme=dark] .badge.concluida,html[data-theme=dark] .badge.aberto,html[data-theme=dark] .status.open{background:#12372f;color:#57d9ad}html[data-theme=dark] .badge.warning{background:#3a2a16;color:#ffc06d}html[data-theme=dark] .badge.cancelada,html[data-theme=dark] .badge.fechado{background:#3b1e27;color:#ff8595}html[data-theme=dark] .metric.green>span{background:#12372f}html[data-theme=dark] .metric.blue>span{background:#182a51}html[data-theme=dark] .metric.orange>span{background:#392818}html[data-theme=dark] .metric.purple>span{background:#2c224b}html[data-theme=dark] .monthly-bars,html[data-theme=dark] .bars{border-color:#27334d}html[data-theme=dark] .danger-panel{border-color:#5c2833}html[data-theme=dark] .btn.danger{background:#321923;border-color:#5b2834;color:#ff8998}html[data-theme=dark] .product-icon{background:#18294c}html[data-theme=dark] .toolbar .search-box{background:#0c1527}
@media(max-width:760px){.theme-toggle{margin-top:8px}}

/* Painel: linguagem mais direta, próxima da operação do depósito. */
.dashboard-page{max-width:1320px}.dashboard-head{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--line)}.dashboard-head h1{font-size:32px;letter-spacing:-.045em}.dashboard-head .eyebrow{color:#587082!important;letter-spacing:.13em}.dashboard-head .date{padding-right:12px;border-right:1px solid var(--line);font-size:12px;text-transform:capitalize}.dashboard-head .btn{border-radius:7px;background:#17223e;box-shadow:none}.dashboard-head .btn:hover{background:#2b3c63}.dashboard-metrics{gap:0;margin-bottom:24px;border:1px solid var(--line);border-radius:10px;background:var(--white);box-shadow:none;overflow:hidden}.dashboard-metrics .metric{min-height:130px;padding:22px 23px;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent}.dashboard-metrics .metric:first-child{border-left:0}.dashboard-metrics .metric>div{width:100%}.dashboard-metrics .metric small{font-size:10px;letter-spacing:.08em;color:var(--muted)}.dashboard-metrics .metric strong{font-size:25px;letter-spacing:-.04em;margin:8px 0 5px}.dashboard-metrics .metric em,.dashboard-metrics .metric a{font-size:11px}.dashboard-metrics .metric.green{border-top:3px solid #1d9a70}.dashboard-metrics .metric.blue{border-top:3px solid #315cbd}.dashboard-metrics .metric.orange{border-top:3px solid #d68722}.dashboard-metrics .metric.purple{border-top:3px solid #8151c2}.dashboard-overview,.dashboard-lists{gap:16px}.dashboard-page .panel{border-radius:10px;box-shadow:none;padding:22px;margin-bottom:16px}.dashboard-page .panel:hover{border-color:var(--line)}.dashboard-page .panel-head{margin-bottom:20px}.dashboard-page .panel h2{font-size:17px;letter-spacing:-.02em}.dashboard-page .panel-kicker{margin:0 0 5px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#6b7d8d;text-transform:uppercase}.panel-period{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:6px 8px;border-radius:5px}.dashboard-page .bars{height:235px;gap:5%;padding:18px 8px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 57px,var(--line) 58px);border-bottom:1px solid var(--line)}.dashboard-page .bar-col{gap:9px}.dashboard-page .bar-col b{max-width:42px;border-radius:4px 4px 0 0;background:#315cbd;opacity:.88}.dashboard-page .bar-col b:hover{opacity:1}.dashboard-page .bar-col span{font-size:10px}.cash-panel{border-top:3px solid #1d9a70!important}.cash-status{text-align:left}.cash-state{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;padding:8px 0 20px}.cash-state .pulse{grid-row:1/3;width:8px;height:8px;box-shadow:0 0 0 4px #20b48618}.cash-state strong{margin:0;font-size:17px}.cash-state small{font-size:11px}.cash-data{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-bottom:16px}.cash-status .cash-data>div{margin:0;padding:8px 0;font-size:12px}.cash-status .btn{margin-top:0;border-radius:6px}.dashboard-lists .panel{min-height:250px}.dashboard-page .rank-list>div,.dashboard-page .stock-alerts>div{padding:13px 0}.dashboard-page .rank-list>div>b{border-radius:4px;background:#edf1f8;color:#455f7d}.dashboard-page .product-icon{border-radius:5px;background:#edf1f8;color:#455f7d;font-size:13px;font-weight:800}.dashboard-page .product-thumb{overflow:hidden}.dashboard-page .product-thumb img{width:100%;height:100%;object-fit:cover}.dashboard-page .empty{padding:30px 12px}.dashboard-page .empty h3{margin:0 0 5px}
html[data-theme=dark] .dashboard-head{border-color:#25304a}html[data-theme=dark] .dashboard-head .eyebrow,html[data-theme=dark] .dashboard-page .panel-kicker{color:#91a2bb!important}html[data-theme=dark] .dashboard-head .date{border-color:#25304a}html[data-theme=dark] .dashboard-head .btn{background:#aaf02e;color:#13203b}html[data-theme=dark] .dashboard-head .btn:hover{background:#c0ff4c}html[data-theme=dark] .dashboard-metrics{background:#111a2c;border-color:#25304a}html[data-theme=dark] .dashboard-metrics .metric{border-color:#25304a}html[data-theme=dark] .dashboard-page .bars{background:repeating-linear-gradient(to bottom,transparent 0,transparent 57px,#25304a 58px);border-color:#25304a}html[data-theme=dark] .dashboard-page .bar-col b{background:#aaf02e}html[data-theme=dark] .panel-period{border-color:#2b3854}.dashboard-page .rank-list>div>b,html[data-theme=dark] .dashboard-page .product-icon{background:#1a2945;color:#aabff7}
@media(max-width:1050px){.dashboard-metrics{gap:0}.dashboard-metrics .metric:nth-child(3){border-left:0;border-top-width:3px}.dashboard-metrics .metric:nth-child(2){border-right:0}}
@media(max-width:760px){.dashboard-head{padding-bottom:15px}.dashboard-head h1{font-size:27px}.dashboard-head .head-actions{align-items:center}.dashboard-head .date{padding:0;border:0}.dashboard-head .btn{padding:10px 12px}.dashboard-metrics{display:grid;grid-template-columns:1fr 1fr}.dashboard-metrics .metric{min-height:118px;padding:16px 14px;border-left:1px solid var(--line);border-top:1px solid var(--line)}.dashboard-metrics .metric:nth-child(odd){border-left:0}.dashboard-metrics .metric:nth-child(-n+2){border-top:3px solid}.dashboard-metrics .metric strong{font-size:20px}.dashboard-page .panel{padding:17px}.dashboard-page .bars{height:205px}.dashboard-page .bar-col b{max-width:28px}.panel-period{font-size:10px}.dashboard-lists .panel{min-height:auto}}
