:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#10283f;background:#f2f6f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}input,select,textarea{width:100%;border:1px solid #d5dfe7;border-radius:12px;padding:12px 13px;background:white;color:#142c3f;font-size:15px;outline:none}textarea{resize:vertical;min-height:86px}input:focus,select:focus,textarea:focus{border-color:#16b89a;box-shadow:0 0 0 3px #16b89a18}label{display:block;font-size:13px;font-weight:700;color:#526579;margin:0 0 7px}.field{margin-bottom:15px}.muted{color:#6b7c8a}.tiny{font-size:12px}.note{font-size:13px;color:#667889;line-height:1.6}.eyebrow{color:#0c9e84;font-size:12px;letter-spacing:1.5px;font-weight:800;text-transform:uppercase}.link{border:0;background:none;color:#008f7b;padding:7px;font-weight:700}.btn{border:0;border-radius:12px;background:#0baf93;color:#fff;padding:12px 17px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px}.btn.alt{background:#10283f}.btn.outline{background:#fff;border:1px solid #c9d7df;color:#16384a}.btn.warn{background:#c34b53}.btn.sm{font-size:13px;padding:7px 11px;min-height:34px}.btn.full{width:100%}.btn.ghost{background:#e8f6f3;color:#087863}.logo{display:flex;align-items:center;gap:10px;color:white;font-size:22px;font-weight:900;letter-spacing:-.7px}.logo img{width:43px;height:43px;border-radius:13px}.logo b{color:#22d0b6}.logo small{font-size:11px;margin-left:6px;color:#9ddbcf}.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-cover{background:radial-gradient(circle at 15% 15%,#126c76 0,transparent 35%),radial-gradient(circle at 90% 90%,#147777 0,transparent 40%),#10283f;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(28px,6vw,72px)}.auth-cover h1{font-size:clamp(34px,5vw,62px);letter-spacing:-2px;line-height:1.06;margin:70px 0 20px;max-width:580px}.auth-cover h1 em{font-style:normal;color:#2be0c1}.auth-cover p{font-size:17px;color:#b4d2da;line-height:1.7;max-width:480px}.auth-cover .pill{align-self:flex-start}.auth-panel{display:flex;align-items:center;justify-content:center;padding:36px 25px}.auth-card{width:min(440px,100%)}.auth-card h2{font-size:33px;letter-spacing:-.8px;margin:8px 0}.auth-card>p{margin:0 0 25px}.toggle{display:flex;background:#e9eff3;border-radius:12px;padding:4px;margin-bottom:26px}.toggle button{flex:1;border:0;background:none;border-radius:9px;padding:11px;font-weight:800;color:#6e7e8d}.toggle button.active{background:white;color:#10283f;box-shadow:0 2px 8px #10283f12}.app-layout{min-height:100dvh;display:grid;grid-template-columns:255px minmax(0,1fr)}aside.sidebar{background:#10283f;color:#d4e4ee;display:flex;flex-direction:column;min-height:100dvh;position:sticky;top:0;height:100dvh;padding:26px 15px}.side-nav{overflow-y:auto;display:flex;flex-direction:column;gap:4px;flex:1;margin-top:30px}.side-nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px;border:0;border-radius:11px;background:transparent;color:#c1d4df;font-weight:650}.side-nav button.active,.side-nav button:hover{background:#136d71;color:white}.side-nav .ni{font-size:19px;width:26px;text-align:center}.side-foot{border-top:1px solid #29495c;padding:14px 6px 4px}.side-foot strong{display:block;color:white;overflow:hidden;text-overflow:ellipsis}.content-shell{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 30px;background:#fff;border-bottom:1px solid #e6eef2;gap:15px}.topbar>div{display:flex;align-items:center;gap:12px}.topbar strong{font-size:15px}.bubble{background:#e4f8f2;color:#098773;border-radius:50px;padding:6px 11px;font-size:12px;font-weight:800}.bubble.off{background:#ffe2df;color:#a64242}.page{max-width:1320px;margin:auto;padding:28px 30px 90px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.page h1{font-size:30px;letter-spacing:-1.1px;margin:5px 0}.page-heading p{margin:5px 0 0;color:#728391}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#fff;border:1px solid #e4ebef;border-radius:17px;padding:21px;box-shadow:0 5px 20px #10283f06}.card h3{font-size:17px;margin:0 0 15px;letter-spacing:-.4px}.stat{display:flex;flex-direction:column;gap:10px}.stat .number{font-size:30px;font-weight:900;letter-spacing:-1.5px}.stat .symbol{font-size:24px}.stat p{margin:0;color:#718391;font-size:13px}.hero{background:linear-gradient(115deg,#0e937d,#0bc3a3);color:white;padding:25px;border-radius:17px;box-shadow:0 16px 25px #0b92751b}.hero .number{font-size:39px;font-weight:900;margin:12px 0 4px}.hero p{margin:0;color:#c7fff2}.action-card{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;font-weight:800;border:1px solid #dfe8ec;border-radius:15px;background:#fff;padding:22px;min-height:118px}.action-card span{font-size:29px}.action-card:hover{border-color:#16b89a;background:#f3fffc}.row{display:flex;align-items:center;gap:12px;justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:30px;background:#e6f8f1;color:#087e60;font-size:11px;font-weight:800}.badge.yellow{background:#fff0ce;color:#90610d}.badge.gray{background:#e7edf3;color:#5e7181}.badge.red{background:#ffe0e2;color:#bb454b}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.table th{color:#728390;text-transform:uppercase;letter-spacing:.4px;font-size:11px;font-weight:800;padding:12px 10px;border-bottom:1px solid #e5edf0}.table td{padding:13px 10px;border-bottom:1px solid #eef2f4;font-size:14px}.table tr:last-child td{border-bottom:0}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:13px}.product-card{background:#fff;border:1px solid #dfe8ed;border-radius:16px;padding:17px;display:flex;flex-direction:column;gap:8px}.product-card .emoji{font-size:40px;background:#f2fbf8;border-radius:13px;height:78px;display:grid;place-items:center}.product-card h3{font-size:15px;line-height:1.3;margin:5px 0 0;min-height:39px}.product-card strong{font-size:18px}.product-card small{color:#70818e}.sale-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,385px);gap:18px}.cart-line{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e4ebef}.cart-line .body{flex:1;min-width:0}.qty{display:flex;gap:9px;align-items:center}.qty button{border:1px solid #cddde0;background:#f1f7f8;border-radius:9px;width:32px;height:32px;font-weight:900}.totals{margin:18px 0;padding-top:12px;border-top:1px solid #d7e3e9;display:flex;justify-content:space-between;font-size:19px;font-weight:900}.payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:15px}.payment-options label{border:1px solid #dbe5e9;padding:12px;border-radius:11px;display:flex;gap:6px;align-items:center;cursor:pointer;background:#fff}.payment-options label input{width:auto}.filters{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.filters>*{width:auto;flex:1;min-width:130px}.filters button{flex:0 0 auto}.modal-cover{position:fixed;inset:0;background:#081d2db3;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px}.modal{width:min(560px,100%);max-height:93dvh;overflow-y:auto;background:#fff;border-radius:20px;padding:25px;box-shadow:0 20px 80px #081d2d40}.modal h2{margin:0 0 18px;letter-spacing:-.5px}.modal-foot{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.foot-nav{display:none}.empty{text-align:center;padding:48px 22px;color:#718391}.empty span{font-size:38px;display:block;margin-bottom:10px}.sync-warning{background:#fff8e5;color:#76561d;border:1px solid #efdfb0;padding:12px 16px;border-radius:11px;margin:15px 0;font-size:13px}.mini{font-size:12px;padding:3px 8px;border-radius:20px}.toast{position:fixed;z-index:300;bottom:22px;right:24px;max-width:min(400px,90vw);background:#10283f;color:#fff;border-radius:12px;padding:14px 18px;box-shadow:0 12px 35px #10283f44}.toast.err{background:#a83645}.loading-screen{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center}.loading-screen h1{margin-bottom:3px}.loading-screen p{color:#687c8b}.pill{display:inline-block;background:#1ce0bd26;border:1px solid #1ce0bd4a;border-radius:30px;padding:9px 13px;font-size:13px;color:#a4f8e7}.right{text-align:right}.flexgrow{flex:1}.subtle-divider{border:0;border-top:1px solid #e4edf0;margin:20px 0}.list-item{padding:13px 0;border-bottom:1px solid #edf1f3}.list-item:last-child{border-bottom:0}.checkbox{width:auto}button:focus-visible{outline:3px solid #f4b544;outline-offset:2px}#toasts{pointer-events:none}@media(max-width:1000px){.app-layout{grid-template-columns:76px minmax(0,1fr)}aside.sidebar{padding:19px 10px}.sidebar .logo span,.sidebar .side-nav button .name,.sidebar .side-foot{display:none}.sidebar .side-nav button{justify-content:center}.sidebar .logo{justify-content:center}.sidebar .side-nav .ni{width:auto}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.auth-wrap{display:block}.auth-cover{padding:23px 24px 18px;min-height:240px}.auth-cover h1{font-size:29px;letter-spacing:-1px;margin:22px 0 10px}.auth-cover p{font-size:13px}.auth-cover .pill{display:none}.auth-panel{padding:30px 20px}.auth-card h2{font-size:26px}.app-layout{display:block}.sidebar{display:none!important}.page{padding:21px 15px 95px}.topbar{padding:12px 15px}.topbar strong{font-size:14px}.page h1{font-size:25px}.page-heading{align-items:center}.page-heading p{font-size:13px}.page-heading>.btn{font-size:12px;padding:10px}.g3{grid-template-columns:repeat(2,minmax(0,1fr))}.g2{grid-template-columns:1fr}.sale-layout{grid-template-columns:1fr}.stat .number{font-size:25px}.card{padding:16px}.foot-nav{display:flex;position:fixed;z-index:100;bottom:0;left:0;right:0;background:#10283f;color:#fff;padding:8px 7px max(9px,env(safe-area-inset-bottom));gap:1px;justify-content:space-around;box-shadow:0 -6px 24px #10283f22}.foot-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;border:0;border-radius:10px;padding:7px 4px;background:none;color:#b7d0dc;font-size:10px;min-width:58px;font-weight:700}.foot-nav button span{font-size:21px}.foot-nav button.active{color:#36e7c8}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{padding:11px}.product-card .emoji{height:57px;font-size:33px}.product-card h3{font-size:13px;min-height:34px}.product-card strong{font-size:16px}.topbar .bubble{font-size:10px}.filters>*{min-width:118px}}
@media(max-width:700px){.grid.g3>.hero{grid-column:1/-1}.hero .number{font-size:38px;overflow-wrap:anywhere}.page-heading{gap:8px}}
@media print{.sidebar,.foot-nav,.topbar,.btn,.link{display:none!important}.app-layout{display:block}.page{padding:0}.modal-cover{position:static;background:#fff}.modal{box-shadow:none;max-height:none}}
.product-card .product-photo{height:100%;width:100%;object-fit:contain;border-radius:12px}

/* RuaFlux 1.1 — cadastro direto de vendedores */
.seller-row{align-items:flex-start;gap:10px}.seller-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.credential-success{background:#e8faf3;border:1px solid #abdfd0;color:#087863;border-radius:12px;padding:14px;margin-bottom:15px}.credential-success p{margin:6px 0 0;color:#246f60;font-size:13px}@media(max-width:700px){.seller-row{flex-wrap:wrap}.seller-row>div:first-child{min-width:0;flex:1}.seller-actions{width:100%;justify-content:flex-start}.page-heading>.btn{white-space:normal;text-align:center}}
