*{box-sizing:border-box}body{color:#0f172a;margin:0;font-family:Inter,Segoe UI,sans-serif}.login-page{background:radial-gradient(circle at 20% 20%,#1e293b,#0f172a 60%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f8fafc;background:#ffffff14;border:1px solid #fff3;border-radius:18px;gap:12px;width:min(420px,100%);padding:32px;display:grid}.login-card h1{margin:0;font-size:1.6rem}.login-card p{color:#cbd5e1;margin:0 0 8px}.login-card input{color:#f8fafc;background:#0b1220;border:1px solid #334155;border-radius:10px;padding:12px}.login-card button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#38bdf8,#6366f1);border:0;border-radius:10px;margin-top:8px;padding:12px;font-weight:600}.error{color:#fca5a5;font-size:.9rem}.filters-bar{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.filters-bar select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px}.tabs-sidebar{align-content:start;gap:8px;display:grid}.tabs-sidebar button{text-align:left;color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px}.tabs-sidebar button.active{color:#fff;background:#0f172a;border-color:#0f172a}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:8px;padding:14px;display:grid}.summary-card span{color:#64748b;font-size:.86rem}.summary-card strong{color:#0f172a;font-size:1.08rem}.badge{border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.tone-green{color:#00695c;background:#e8f5e9}.tone-red{color:#b71c1c;background:#ffebee}.tone-bluegray{color:#0d47a1;background:#e0e8f0}.tone-muted{color:#4b5563;background:#e5e7eb}.state-badge{border-radius:8px;padding:3px 8px;font-size:.72rem;font-weight:700}.state-PR{color:#1e3a8a;background:#dbeafe}.state-SP{color:#5b21b6;background:#ede9fe}.state-nao_identificado{color:#991b1b;background:#fee2e2}.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:auto}.report-table{border-collapse:collapse;width:100%;min-width:960px}.report-table th,.report-table td{text-align:left;border-bottom:1px solid #f1f5f9;padding:10px 12px;font-size:.86rem}.report-table th{color:#475569;background:#f8fafc}.report-table th.active-sort{background:#e2e8f0}.sort-btn{color:inherit;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-weight:700;display:flex}.sort-icon{opacity:.75;font-size:.75rem}.marcas-col{min-width:140px;max-width:220px;font-size:.8rem;line-height:1.4}.marcas-col-line{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.marcas-col-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.02em;flex:none;font-size:.72rem;font-weight:600}.marcas-col-value{color:#64748b;word-break:break-word;font-weight:500}.price-editor{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px}.price-editor header{justify-content:space-between;align-items:center;display:flex}.price-editor header button{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px}.editor-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:12px;display:grid}.state-card{border:1px solid #e2e8f0;border-radius:12px;padding:12px}.type-block{gap:6px;margin-top:8px;display:grid}.type-block label{gap:4px;font-size:.85rem;display:grid}.type-block input{border:1px solid #cbd5e1;border-radius:8px;padding:8px}.empty-state{text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:24px}.sheet-section{gap:12px;animation:.18s ease-out fade-in;display:grid}.sheet-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;padding:12px;display:flex}.sheet-toolbar p{color:#64748b;margin:0;font-size:.9rem}.sheet-toolbar button{color:#0f172a;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;padding:9px 12px;font-weight:600}.sheet-actions{gap:8px;display:flex}.xlsx-btn{color:#fff;background:#0f172a;border-color:#0f172a}.sheet-grid-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-height:64vh;overflow:auto}.sheet-grid{border-collapse:collapse;width:100%;min-width:980px}.sheet-grid th,.sheet-grid td{text-align:left;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:10px 12px;font-size:.86rem}.sheet-grid thead th{z-index:1;color:#475569;background:#f8fafc;position:sticky;top:0}.sheet-grid td.sheet-marcas-col{white-space:normal;color:#64748b;max-width:280px;font-size:.8rem;line-height:1.35}@keyframes fade-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}.dashboard-page{background:#f1f5f9;grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{color:#e2e8f0;background:#0f172a;align-content:start;gap:16px;padding:20px;display:grid}.sidebar h2{margin:0}.logout{color:#e2e8f0;cursor:pointer;background:0 0;border:1px solid #334155;border-radius:8px;padding:10px}.content{align-content:start;gap:14px;padding:22px;display:grid}.content-header h1{color:#0f172a;margin:0}.content-header p{color:#64748b;margin:6px 0 0}.unknown-alert{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:10px;padding:10px}.benchmarks{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.benchmark-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:4px;padding:12px;display:grid}.benchmark-card small{background:#e2e8f0;border-radius:999px;justify-self:start;margin-top:4px;padding:3px 8px}.rank-alert-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;display:grid}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.panel h3{margin:0 0 8px}.rank-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;padding:8px 0;display:flex}@media (width<=960px){.dashboard-page{grid-template-columns:1fr}.sidebar{z-index:2;position:sticky;top:0}}.file-upload{z-index:40;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px;font-size:.8rem;position:fixed;top:12px;right:12px}
