*{box-sizing:border-box} :root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eef4ff;background:#07111f;font-synthesis:none}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(35,105,180,.18),transparent 32rem),#07111f}button,input,select{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(420px,100%);padding:34px;background:rgba(11,27,46,.94);border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.28)}.brand-mark{font-weight:800;font-size:27px;letter-spacing:-.8px}.brand-mark span{color:#d6a94b}.brand-mark.small{font-size:22px}.brand-wrap{display:flex;align-items:center;gap:12px}.eyebrow{margin:7px 0;font-size:11px;font-weight:800;letter-spacing:1.8px;color:#7eabdc}h1,h2,h3{margin:0;letter-spacing:-.5px}h1{font-size:32px}h2{font-size:20px}h3{font-size:15px}.muted{color:#91a2b8;line-height:1.6}.small{font-size:12px}form{display:grid;gap:16px}label{display:grid;gap:8px;font-size:13px;color:#c8d4e3}input,select{width:100%;padding:12px 13px;color:#eef4ff;background:#081522;border:1px solid #263b52;border-radius:11px;outline:none}select{appearance:auto}input:focus,select:focus{border-color:#5d93ca}.primary{border:0;border-radius:11px;padding:13px 16px;background:#d6a94b;color:#111;font-weight:800}.primary:disabled{opacity:.65;cursor:wait}.compact{padding:10px 13px!important}.error{margin:0;color:#ff9c9c;font-size:13px}.topbar{height:72px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(5,16,29,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.top-actions{display:flex;align-items:center;gap:14px}.user-email{font-size:12px}.ghost{background:transparent;color:#c8d4e3;border:1px solid #294059;border-radius:10px;padding:9px 14px}.app-shell{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:230px;flex:0 0 230px;padding:24px 14px;border-right:1px solid rgba(255,255,255,.06);background:rgba(5,16,29,.5)}.nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:6px;border:1px solid transparent;border-radius:11px;background:transparent;color:#9fb0c4;text-align:left}.nav-item:hover,.nav-item.active{background:#0c1d30;border-color:#20364e;color:#eef4ff}.nav-item.active{box-shadow:inset 3px 0 #d6a94b}.content{width:min(1180px,100%);margin:0 auto;padding:40px 28px 70px}.page-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card,.panel,.list-panel,.empty-state{background:rgba(11,27,46,.88);border:1px solid rgba(255,255,255,.07);border-radius:18px}.stat-card{padding:20px}.stat-card span{display:block;color:#91a2b8;font-size:13px;margin-bottom:10px}.stat-card strong{font-size:25px}.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px}.panel{padding:22px}.panel-title{display:flex;justify-content:space-between;gap:12px}.formula{margin-top:18px;padding:14px;border:1px solid #2a4058;background:#081522;border-radius:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#e5c77f}.badge{padding:7px 10px;border-radius:999px;font-size:12px}.badge.ok{color:#9fe3bd;background:rgba(64,180,113,.12)}.info-note{margin:-8px 0 18px;padding:13px 15px;border:1px solid #294059;background:#0a1929;color:#9fb0c4;border-radius:12px;font-size:13px}.list-panel{overflow:hidden}.list-row{display:grid;grid-template-columns:1.5fr .7fr .7fr .7fr auto;align-items:center;gap:14px;padding:15px 18px;border-bottom:1px solid rgba(255,255,255,.06)}.list-row:last-child{border-bottom:0}.list-row .main{min-width:0}.list-row strong,.list-row span{display:block}.list-row .sub{font-size:12px;color:#7f91a6;margin-top:4px}.list-row .value{font-weight:700}.list-actions{display:flex;gap:7px}.mini-btn{background:#0a1a2b;color:#cdd9e8;border:1px solid #20364e;border-radius:9px;padding:7px 10px}.empty-state{padding:38px;text-align:center;display:grid;gap:8px}.empty-state span{color:#91a2b8;font-size:13px}.settings-form{display:grid;gap:26px}.form-section{display:grid;gap:14px}.form-section h2{font-size:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.modal{border:0;padding:0;background:transparent;width:min(760px,calc(100% - 24px));max-height:90vh}.modal::backdrop{background:rgba(0,0,0,.68);backdrop-filter:blur(3px)}.modal-card{margin:auto;max-height:90vh;overflow:auto;padding:24px;background:#0b1b2e;border:1px solid #294059;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.5)}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.icon-btn{border:0;background:transparent;color:#9fb0c4;font-size:27px;line-height:1}.materials-box{padding:15px;border:1px solid #263b52;border-radius:13px;background:#081522}.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.material-row{display:grid;grid-template-columns:1fr 130px 44px;gap:8px;margin-top:10px}.material-row button{padding:0}.cost-preview{margin-top:4px;padding:16px;border:1px solid #38506a;border-radius:13px;background:#081522}.cost-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.cost-item{display:flex;justify-content:space-between;gap:12px;color:#9fb0c4;font-size:13px}.cost-item strong{color:#eef4ff}.cost-total{margin-top:12px;padding-top:12px;border-top:1px solid #263b52;display:flex;justify-content:space-between;font-weight:800}.cost-price{margin-top:10px;color:#e5c77f;font-weight:800}.hidden{display:none!important}.photo-preview{width:42px;height:42px;border-radius:8px;object-fit:cover;border:1px solid #294059}.product-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:5px}.chip{padding:4px 7px;border-radius:999px;background:#0a1a2b;color:#9fb0c4;font-size:11px}.danger{color:#ffb0b0}.success-text{color:#9fe3bd}.loading{padding:28px;text-align:center;color:#91a2b8}@media(max-width:900px){.sidebar{width:76px;flex-basis:76px}.nav-item{justify-content:center;padding:12px}.nav-item span{display:none}.cards{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.list-row{grid-template-columns:1fr 100px auto}.list-row .hide-mobile{display:none}}@media(max-width:650px){.topbar{padding:0 16px}.user-email{display:none}.content{padding:28px 14px 50px}.sidebar{display:none}.page-head{align-items:start;flex-direction:column}.cards{gap:9px}.stat-card{padding:15px}.stat-card strong{font-size:20px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.material-row{grid-template-columns:1fr 100px 40px}.list-row{grid-template-columns:1fr auto}.list-row .value{display:none}.list-actions{justify-content:flex-end}.modal-card{padding:18px}.auth-card{padding:26px}}
label{color:#f1f5fb;font-weight:600}
label input,label select{margin-top:0}
.photo-large-preview{display:block;width:96px;height:96px;object-fit:cover;border-radius:12px;border:1px solid #294059;margin-top:4px}
.paste-help{display:block;color:#91a2b8;font-size:12px;font-weight:400}
.material-thumb{width:44px;height:44px}
.material-main{display:flex!important;align-items:center;gap:10px}
.category-row{grid-template-columns:1fr auto}
.danger-btn{color:#ffb0b0}

.brand-logo{width:168px;height:30px;object-fit:contain;object-position:left center;display:block}.login-brand{display:flex;align-items:center;justify-content:flex-start;margin-bottom:18px}.brand-logo-login{width:190px;max-width:100%;height:auto;display:block}.brand-wrap .eyebrow{margin:0}@media(max-width:650px){.brand-logo{width:150px;height:28px}}

/* Identidade visual MD3Print — baseada na referência fornecida */
.brand-wrap{gap:10px;height:64px;align-items:center}
.brand-logo{width:58px;height:58px;object-fit:contain;object-position:center;display:block;margin:0}
.brand-gestao{font-family:'Tomorrow',sans-serif;font-weight:700;font-size:20px;letter-spacing:1.2px;color:#2d7dcc;white-space:nowrap;margin-top:0}
.login-brand{display:flex;align-items:flex-end;justify-content:center;margin:0 0 4px}
.brand-logo-login{width:150px;height:auto;display:block}
.login-eyebrow{font-family:'Tomorrow',sans-serif;font-size:18px;font-weight:700;letter-spacing:1px;color:#2d7dcc;text-align:center;margin:5px 0 10px}
.auth-card{padding:24px 32px 32px;margin-top:34px}
.auth-page{padding:52px 24px 24px}
.auth-page h1{font-family:'Tomorrow',sans-serif;font-weight:700}
.auth-page label{color:#eef4ff;font-weight:700}
@media(max-width:650px){
  .brand-logo{width:60px;height:60px;margin-top:14px}
  .brand-gestao{font-size:17px}
  .brand-logo-login{width:132px}
  .login-eyebrow{font-size:16px}
  .auth-card{padding:22px 24px 28px}
}

/* Ajustes visuais v8 */
.modal-card, .modal-card h2, .modal-card h3, .modal-card .modal-head { color:#EFE9DF; }
.modal-card label { color:#EFE9DF; }
.modal-card .muted, .modal-card .paste-help { color:#91a2b8; }
.form-section h2, .page-head h1, .page-head h2, .panel h2, .panel h3, .stat-card strong { color:#EFE9DF; }
.topbar .brand-gestao { color:#2d7dcc; }
@media(max-width:650px){ .brand-wrap{height:58px}.brand-logo{width:52px;height:52px} }

/* V11 - refinamentos */
.auth-page h1{margin-bottom:22px}.login-eyebrow{margin-bottom:12px}.modal-head h2{color:#EFE9DF!important}.list-actions{flex-wrap:wrap}.category-row .list-actions,.material-main + .value + .hide-mobile + .list-actions{align-items:center}.mini-btn{white-space:nowrap}

/* V13 - miniaturas e vendas */
.product-main,.material-main,.sales-product-main,.sale-item-main{display:flex!important;align-items:center;gap:12px}.product-thumb,.product-thumb-placeholder{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:0 0 56px}.product-thumb-placeholder{display:grid;place-items:center;background:#0a1a2b;border:1px solid #294059;color:#7eabdc}.sales-list{margin-top:14px}.sales-product-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.06)}.sales-product-row:last-child{border-bottom:0}.sales-product-main{min-width:0}.sales-product-main>div{display:grid;gap:4px}.sales-product-main span{color:#91a2b8;font-size:12px}.sales-thumb{width:58px;height:58px;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:#0a1a2b;border:1px solid #294059}.sale-products-box,.sale-selected-box{margin-top:18px;padding:15px;border:1px solid #263b52;border-radius:13px;background:#081522}.sale-product-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.sale-product-card{border:1px solid #263b52;background:#0b1b2e;color:#eef4ff;border-radius:12px;padding:10px;text-align:left;display:grid;gap:7px}.sale-product-card:hover{border-color:#5d93ca}.sale-card-image{width:100%;height:100px;border-radius:9px;background:#081522;display:grid;place-items:center;color:#7eabdc;overflow:hidden}.sale-card-image img{width:100%;height:100%;object-fit:cover}.sale-card-name{font-weight:700;font-size:13px}.sale-card-price{color:#e5c77f;font-weight:700;font-size:12px}.sale-items{display:grid;gap:8px;margin-top:12px}.sale-item-row{display:grid;grid-template-columns:1fr 90px 110px 34px;align-items:center;gap:8px;padding:9px;border:1px solid #263b52;border-radius:10px}.sale-item-main>div:last-child{display:grid;gap:3px}.sale-item-main span{font-size:11px;color:#91a2b8}.sale-item-image{width:46px;height:46px;border-radius:8px;background:#0a1a2b;display:grid;place-items:center;overflow:hidden;color:#7eabdc}.sale-item-image img{width:100%;height:100%;object-fit:cover}.sale-total{display:flex;justify-content:space-between;margin-top:14px;padding:15px;border-top:1px solid #263b52;font-weight:800;color:#e5c77f}.sale-empty{padding:18px}.sales-flow{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.sales-flow span{padding:8px 10px;border:1px solid #294059;border-radius:999px;color:#c8d4e3;font-size:12px}@media(max-width:900px){.sale-product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.sale-product-picker{grid-template-columns:1fr 1fr}.sale-item-row{grid-template-columns:1fr 70px 90px 28px}.sales-product-row{padding:12px}.product-thumb,.product-thumb-placeholder{width:48px;height:48px;flex-basis:48px}}

.sale-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;margin-top:12px}.sale-filters input,.sale-filters select{min-width:0}.mini-filter-btn{white-space:nowrap}.sale-item-head{display:grid;grid-template-columns:1fr 90px 110px 34px;gap:8px;padding:8px 9px 0;color:#91a2b8;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.sale-inline-field{display:grid;gap:4px;color:#91a2b8;font-size:11px;font-weight:700}.sale-inline-field input{margin:0}.sale-card-color{font-size:11px;color:#91a2b8}@media(max-width:700px){.sale-filters{grid-template-columns:1fr 1fr}.sale-filters input{grid-column:1/-1}.sale-item-head{display:none}.sale-item-row{grid-template-columns:1fr 70px 90px 28px}}


/* V16 - preservacao de tela e tela publica de vendas */
.public-sales-page{min-height:100vh;background:#07111f;color:#EFE9DF;padding:28px 18px}.public-sales-shell{max-width:1180px;margin:0 auto}.public-sales-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.public-brand{display:flex;align-items:center;gap:12px}.public-brand img{width:58px;height:58px;object-fit:contain}.public-brand span{font-family:'Tomorrow',sans-serif;font-weight:700;color:#2d7dcc;letter-spacing:1.5px;font-size:20px}.public-sales-subtitle{color:#91a2b8;margin:0}.public-sales-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin-bottom:16px}.public-sales-toolbar input,.public-sales-toolbar select{margin:0}.public-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.public-product-card{border:1px solid #263b52;background:#0b1b2e;color:#EFE9DF;border-radius:13px;padding:10px;text-align:left;display:grid;gap:7px;cursor:pointer}.public-product-card:hover{border-color:#5d93ca}.public-product-card.sold-out{opacity:.55;cursor:not-allowed}.public-product-image{width:100%;height:150px;border-radius:10px;background:#081522;display:grid;place-items:center;overflow:hidden;color:#7eabdc}.public-product-image img{width:100%;height:100%;object-fit:cover}.public-product-name{font-weight:700}.public-product-meta{font-size:12px;color:#91a2b8}.public-product-price{font-weight:800;color:#e5c77f}.public-product-stock{font-size:11px;color:#91a2b8}.public-sale-cart{margin-top:18px;padding:18px}.public-sale-cart-head{display:grid;grid-template-columns:1fr 100px 110px 34px;gap:8px;padding:10px 0;color:#91a2b8;font-size:11px;font-weight:700;text-transform:uppercase}.public-sale-cart-row{display:grid;grid-template-columns:1fr 150px 110px 34px;gap:8px;align-items:center;padding:9px 0;border-top:1px solid rgba(255,255,255,.06)}.public-qty-control{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:4px}.public-qty-control input{margin:0;text-align:center;min-width:0}.public-qty-control small{grid-column:1/-1;color:#91a2b8;font-size:10px;text-align:center}.qty-btn{height:34px;border:1px solid #29415a;border-radius:7px;background:#0b1b2e;color:#EFE9DF;font-size:18px;line-height:1;cursor:pointer}.qty-btn:hover{border-color:#5d93ca}.public-sale-cart-product{display:flex;align-items:center;gap:10px}.public-sale-cart-product img{width:44px;height:44px;border-radius:8px;object-fit:cover}.public-sale-cart-product small{display:block;color:#91a2b8}.public-sale-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.public-link-panel{margin-top:18px}.public-link-toggle{display:flex;align-items:center;gap:8px;color:#EFE9DF;margin:14px 0}.public-link-toggle input{width:auto;margin:0}.public-link-row{display:grid;grid-template-columns:1fr auto auto;gap:8px}.public-link-row input{margin:0}.public-link-row button{white-space:nowrap}.public-sales-page .error{margin-top:12px}@media(max-width:900px){.public-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.public-sales-header{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.public-sales-toolbar{grid-template-columns:1fr 1fr}.public-sales-toolbar input{grid-column:1/-1}.public-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-sale-cart-head{display:none}.public-sale-cart-row{grid-template-columns:1fr 140px 90px 28px}.public-sale-fields{grid-template-columns:1fr}.public-link-row{grid-template-columns:1fr}.public-sales-page{padding:18px 12px}}

.app-toast{position:fixed;right:24px;bottom:24px;z-index:1000;padding:13px 18px;border-radius:12px;background:#12301f;border:1px solid #3b8f60;color:#dff7e8;font-weight:700;box-shadow:0 18px 50px rgba(0,0,0,.35);opacity:1;transform:translateY(0);transition:opacity .2s ease,transform .2s ease}.app-toast.hide{opacity:0;pointer-events:none;transform:translateY(10px)}.settings-success{font-weight:700;font-size:13px}

/* V19 - Dashboard e relatório de vendas */
.dashboard-filters{margin-bottom:14px}.dashboard-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.dashboard-filter-grid label{color:#EFE9DF}.dashboard-filter-grid input,.dashboard-filter-grid select{margin:0}.dashboard-cards{grid-template-columns:repeat(4,1fr)}.dashboard-secondary{margin-top:14px}.dashboard-report-panel{margin-top:14px}.dashboard-table-wrap{overflow:auto;margin-top:14px}.dashboard-table{width:100%;border-collapse:collapse;min-width:620px}.dashboard-table th,.dashboard-table td{padding:10px 9px;border-bottom:1px solid rgba(255,255,255,.07);text-align:left;font-size:12px;white-space:nowrap}.dashboard-table th{color:#7eabdc;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.dashboard-table td{color:#dbe5f2}.dashboard-table td small{display:block;color:#91a2b8;margin-top:2px}.compact-empty{padding:22px}.report-table{min-width:1050px}.app-toast.error{background:#3a1518;border-color:#8f3d45;color:#ffdfe2}.app-toast.success{background:#12301f;border-color:#3b8f60;color:#dff7e8}@media(max-width:900px){.dashboard-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.dashboard-filter-grid{grid-template-columns:1fr}.dashboard-cards{grid-template-columns:1fr 1fr}.dashboard-report-panel .panel-title{align-items:flex-start;flex-direction:column}.dashboard-report-panel .primary{width:100%}}

/* V20 - histórico de vendas, ações e refinamentos do dashboard */
.sales-history-panel{margin-top:14px}.sales-history-list{margin-top:14px}.sales-history-row{display:grid;grid-template-columns:1fr 110px 110px auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid rgba(255,255,255,.06)}.sales-history-row>div:first-child{display:grid;gap:4px}.sales-history-row>div:first-child span{font-size:12px;color:#91a2b8}.danger-btn{color:#ffb0b0}.dashboard-secondary{grid-template-columns:1fr 1fr}.dashboard-report-panel .panel-title>.primary{width:auto!important;min-width:0;height:auto;min-height:0;align-self:flex-start;white-space:nowrap}.dashboard-report-panel .primary.compact{padding:10px 13px!important}
@media(max-width:900px){.sales-history-row{grid-template-columns:1fr 100px auto}.sales-history-row .hide-mobile{display:none}}
@media(max-width:650px){.sales-history-row{grid-template-columns:1fr auto}.sales-history-row .list-actions{grid-column:1/-1;justify-content:flex-end}.dashboard-report-panel .panel-title>.primary{width:auto!important}.dashboard-secondary{grid-template-columns:1fr}}

/* V21 - proporcionalidade dos cards do dashboard */
.dashboard-secondary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.dashboard-secondary>.panel{min-width:0}
.dashboard-secondary .dashboard-table-wrap{min-width:0}
@media(max-width:650px){.dashboard-secondary{grid-template-columns:1fr!important}}


/* V23 - tema claro/escuro e calendário legível */
.theme-toggle{min-width:88px;text-align:center;padding:8px 11px!important;white-space:nowrap}
.login-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.login-head .login-brand{margin-bottom:18px}
.public-sales-header{position:relative}.public-theme{position:absolute;right:0;top:0}.public-theme .theme-toggle{background:rgba(8,21,34,.72)}
input[type="date"]::-webkit-calendar-picker-indicator,input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.2);opacity:.9;cursor:pointer}
body.theme-dark{background:radial-gradient(circle at 10% 0%,rgba(35,105,180,.12),transparent 32rem),#0a1422;color:#efe9df}
body.theme-dark .topbar{background:rgba(9,20,34,.92)}
body.theme-dark .sidebar{background:rgba(9,20,34,.62)}
body.theme-dark .stat-card,body.theme-dark .panel,body.theme-dark .list-panel,body.theme-dark .empty-state{background:rgba(15,31,50,.92);border-color:rgba(239,233,223,.09)}
body.theme-dark .modal-card{background:#0f2033}
body.theme-dark input,body.theme-dark select{background:#0a1929;color:#efe9df;border-color:#30465d}
body.theme-dark .nav-item:hover,body.theme-dark .nav-item.active{background:#11263c;color:#efe9df;border-color:#29445e}
body.theme-dark .info-note,body.theme-dark .formula,body.theme-dark .cost-preview,body.theme-dark .materials-box{background:#0a1929}
body.theme-dark .ghost{color:#d8d0c5;border-color:#38516a}
body.theme-dark .dashboard-table td{color:#e5ddd2}
body.theme-dark .dashboard-table th{color:#82b3e8}
body.theme-dark .sale-products-box,body.theme-dark .sale-selected-box{background:#0a1929}
body.theme-light{color:#26313d;background:#f3f1ec}
body.theme-light{--light-border:#d8d4cc}
body.theme-light .topbar{background:rgba(255,255,255,.94);border-bottom-color:#ddd9d1}
body.theme-light .sidebar{background:#eeeae3;border-right-color:#d8d4cc}
body.theme-light .content{color:#26313d}
body.theme-light .stat-card,body.theme-light .panel,body.theme-light .list-panel,body.theme-light .empty-state{background:#fffdf9;border-color:#ddd9d1;box-shadow:0 8px 28px rgba(30,35,40,.05)}
body.theme-light .modal-card{background:#fffdf9;border-color:#d8d4cc}
body.theme-light input,body.theme-light select{background:#fff;color:#26313d;border-color:#cfc9bf}
body.theme-light .ghost{color:#334252;border-color:#bfc5cc}
body.theme-light .nav-item{color:#586676}
body.theme-light .nav-item:hover,body.theme-light .nav-item.active{background:#fff;border-color:#d3cec5;color:#26313d}
body.theme-light .muted{color:#667383}
body.theme-light label{color:#465362}
body.theme-light .info-note,body.theme-light .formula,body.theme-light .cost-preview,body.theme-light .materials-box{background:#f7f4ee;border-color:#d8d4cc;color:#465362}
body.theme-light .dashboard-table td{color:#3c4855;border-bottom-color:#e6e1d9}
body.theme-light .dashboard-table th{color:#3472aa}
body.theme-light .chip{background:#eeeae3;color:#596776}
body.theme-light .sale-products-box,body.theme-light .sale-selected-box{background:#f7f4ee;border-color:#d8d4cc}
body.theme-light .badge.ok{background:#e5f4eb;color:#26724a}
body.theme-light .app-toast{box-shadow:0 18px 50px rgba(0,0,0,.16)}
body.theme-light input[type="date"]::-webkit-calendar-picker-indicator,body.theme-light input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:none;opacity:.75}
@media(max-width:650px){.public-theme{position:static}.public-sales-header{display:flex;flex-wrap:wrap;gap:12px}.public-sales-subtitle{width:100%}.login-head{align-items:center}.theme-toggle{min-width:0}}

/* V24 — modo claro com contraste consistente e captura de câmera no celular */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light .page-head h1,
body.theme-light .page-head h2,
body.theme-light .panel h2,
body.theme-light .panel h3,
body.theme-light .modal-card h2,
body.theme-light .modal-card h3,
body.theme-light .stat-card strong,
body.theme-light .list-row strong,
body.theme-light .list-row .value,
body.theme-light .product-name,
body.theme-light .sales-product-name,
body.theme-light .sale-item-name,
body.theme-light .cost-total,
body.theme-light .cost-item strong,
body.theme-light .cost-price,
body.theme-light .section-title,
body.theme-light .auth-page h1 {
  color:#26313d !important;
}
body.theme-light .eyebrow,
body.theme-light .login-eyebrow { color:#2d72ad; }
body.theme-light .brand-gestao { color:#236ca8 !important; }
body.theme-light .modal-card .modal-head .eyebrow { color:#2d72ad; }
body.theme-light .list-row .sub,
body.theme-light .product-meta,
body.theme-light .muted,
body.theme-light .paste-help,
body.theme-light .empty-state span { color:#5b6876; }
body.theme-light .chip { background:#ece8e1; color:#455463; border:1px solid #ddd7ce; }
body.theme-light .mini-btn { background:#f7f5f0; color:#26313d; border-color:#c7c1b7; }
body.theme-light .mini-btn:hover,
body.theme-light .ghost:hover { background:#ebe7df; }
body.theme-light .modal-card label { color:#354352; }
body.theme-light .form-section h2 { color:#26313d !important; }
body.theme-light .sales-flow span { color:#455463; }
body.theme-light .sale-product-name,
body.theme-light .sale-item-name { color:#26313d !important; }
body.theme-light .cost-preview strong { color:#26313d; }
body.theme-light .info-note { color:#4b5967; }
body.theme-light .app-toast { color:#26313d; background:#fffdf9; border-color:#d8d4cc; }
body.theme-light .danger { color:#b64040; }
body.theme-light .success-text { color:#28744d; }
body.theme-light .error { color:#b64040; }

/* Ícone de calendário visível nos dois temas */
body.theme-dark input[type="date"]::-webkit-calendar-picker-indicator,
body.theme-dark input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter:invert(1) brightness(1.15); opacity:.9; cursor:pointer; }
body.theme-light input[type="date"]::-webkit-calendar-picker-indicator,
body.theme-light input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter:none; opacity:.75; cursor:pointer; }
