:root{color-scheme:dark;--bg:#0b1428;--panel:#111f3b;--panel2:#162849;--line:#263c60;--text:#f2f6ff;--muted:#a2b3cf;--blue:#419cff;--orange:#ffac39;--green:#5ad6ab;--red:#ff8c9e;--purple:#a891ff}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 15px;background:var(--panel2);color:var(--text);font-weight:650;transition:background .15s}button:hover{background:#223d65}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.primary{background:var(--orange);border-color:var(--orange);color:#1a1b22}.primary:hover{background:#ffc472}.blue{background:#2470cc;border-color:#3389ed}.danger{color:var(--red);background:#311f34}.ghost{background:transparent}.small{font-size:12px;padding:6px 10px}.icon-btn{padding:8px 12px}a{color:#8dc6ff;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}h1{font-size:28px;line-height:1.25;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;margin-bottom:16px}h3{font-size:16px;margin-bottom:6px}h4{margin-bottom:8px}.muted,small{color:var(--muted)}.tiny{font-size:11px}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--orange);font-weight:750;margin-bottom:10px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:30px 18px 22px;border-right:1px solid var(--line);background:#0e1930;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin:0 10px 30px}.brand img{height:55px;width:60px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}.brand strong{display:block;font-size:18px;letter-spacing:-.5px}.brand small{font-size:10px;letter-spacing:1.6px;text-transform:uppercase}.sidebar nav{display:grid;gap:5px}.sidebar nav button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;color:var(--muted);padding:11px 14px}.sidebar nav button.active{background:#1c3559;color:#fff}.nav-icon{font-size:17px;min-width:22px;text-align:center}.sidebar .nav-label{font-size:10px;color:#667fa3;text-transform:uppercase;letter-spacing:1.5px;margin:22px 14px 8px}.side-foot{margin-top:auto;padding:20px 12px 0}.sync-dot{display:inline-block;width:6px;height:6px;border-radius:99px;background:var(--green);margin-right:7px}.offline .sync-dot{background:var(--orange)}.main{min-width:0;padding:0 36px 40px;max-width:1640px;width:100%;margin:0 auto}.topbar{min-height:91px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);margin-bottom:28px}.topbar-title{color:#8399b9;font-size:12px}.topbar-actions{display:flex;align-items:center;gap:12px}.avatar{width:32px;height:32px;border-radius:99px;background:#284d7a;display:grid;place-items:center;font-weight:700}.topbar .account{font-size:12px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-head p{margin:0}.hero{position:relative;overflow:hidden;padding:28px 32px;border:1px solid #31588b;border-radius:18px;margin-bottom:22px;background:radial-gradient(ellipse at 100% 0%,#293d87 0%,#1c3761 28%,#122541 65%);display:flex;align-items:center;justify-content:space-between;gap:25px}.hero h1{font-size:32px;max-width:530px}.hero p{color:#b5c8e5;max-width:520px;margin-bottom:20px}.hero .hero-logo{background:#fff;border-radius:15px;width:160px;height:140px;object-fit:contain;padding:8px;transform:rotate(-3deg);box-shadow:0 12px 30px #050d2544}.hero .tag{border-color:#6584ba;color:#c3dcff}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px}.stat small{font-size:11px}.stat strong{display:block;font-size:27px;letter-spacing:-.8px;margin:7px 0}.stat .caption{font-size:11px;color:#7894b8}.stat .orange{color:var(--orange)}.grid2{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px}.panel{padding:23px;background:var(--panel);border:1px solid var(--line);border-radius:14px;margin-bottom:18px}.panel>.section-head{margin-bottom:16px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-head h2{margin:0}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.tag{display:inline-block;font-size:10px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;color:#b8c9e3;background:#122544}.tag.orange{color:#ffc56f;border-color:#725032;background:#362c22}.tag.green{color:#7de8c2;border-color:#2e6258;background:#173b38}.tag.red{color:#ffa1b1;border-color:#6a3547;background:#3b2032}.tag.purple{color:#c1b1ff;border-color:#4b4080;background:#282347}.row-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-top:1px solid var(--line)}.row-card:first-child{border-top:0}.row-card p{margin:3px 0 0}.row-card strong{font-size:16px}.align-right{text-align:right}.empty{text-align:center;padding:45px 20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);grid-column:1/-1}.empty strong{display:block;color:var(--text);font-size:17px;margin-bottom:8px}.empty p{margin-bottom:15px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;align-items:center}.filters input{flex:1;min-width:190px}.filters select{width:auto;max-width:220px}.filters label{margin:0}input,select,textarea{display:block;width:100%;min-width:0;border:1px solid #345077;border-radius:9px;padding:10px 12px;background:#0d1930;color:var(--text);outline:none}textarea{resize:vertical;min-height:80px}input[type=checkbox]{display:inline;width:18px;vertical-align:middle;accent-color:var(--orange)}input[type=file]{padding:8px;font-size:12px}label{display:block;font-size:12px;font-weight:600;color:#becde2;margin:0 0 7px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:17px}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.fields>.full{grid-column:1/-1}.field-help{font-size:11px;color:#819bbd;margin-top:6px}details>summary{cursor:pointer;color:#96c8ff;padding:10px 0;font-size:12px}details[open]>summary{margin-bottom:8px}.form-footer{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.notice{background:#162f4d;border:1px solid #2c5887;border-radius:10px;padding:12px 15px;margin:14px 0;color:#c3dcfc;font-size:12px}.notice.warn{background:#372c20;border-color:#725534;color:#f4d09b}.notice.error{background:#3e2234;border-color:#7d3b55;color:#ffb1bf}.demo-banner{background:#533b16;color:#ffe3a4;text-align:center;padding:7px 15px;font-size:12px;border-bottom:1px solid #8c6227}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.product-media{aspect-ratio:4/3;background:linear-gradient(135deg,#182a4a,#213758);display:grid;place-items:center;color:#668bb9;position:relative}.product-media .shape{font-size:56px;font-weight:300;color:#3d638d}.product-media img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.product-media .tag{position:absolute;top:12px;left:12px;z-index:1;background:#0c1930dd;backdrop-filter:blur(4px)}.product-info{padding:19px}.product-info h3{font-size:18px}.product-info p{color:var(--muted);font-size:12px;min-height:38px}.product-price{margin:17px 0;font-size:24px;font-weight:750;color:var(--orange)}.product-price small{display:block;font-size:10px;font-weight:400;color:#96aece}.product-info .actions{justify-content:space-between}.qty{display:flex;align-items:center;gap:7px}.qty input{width:68px;text-align:center;padding:7px}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.column{background:#0e1930;border-radius:12px;border:1px solid var(--line);padding:12px}.column h3{font-size:12px;display:flex;align-items:center;justify-content:space-between;padding:8px 2px 13px}.order-card{padding:15px;border:1px solid #2c4569;border-radius:10px;background:var(--panel2);margin-bottom:10px;cursor:pointer}.order-card:hover{border-color:var(--blue)}.order-card small{display:block;font-size:10px;color:#89aace}.order-card h4{margin:8px 0;font-size:14px}.order-card strong{display:block;font-size:18px;margin-top:10px}.order-card p{margin:6px 0 10px;font-size:11px;color:var(--muted)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{color:#839dc0;font-weight:550;font-size:10px;text-transform:uppercase;letter-spacing:.7px}td,th{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}.amount{text-align:right;white-space:nowrap}.quote-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.quote-summary{position:sticky;top:20px}.metric{display:flex;justify-content:space-between;gap:12px;margin:10px 0;font-size:12px;color:var(--muted)}.metric strong{color:var(--text)}.big-total{font-size:36px;letter-spacing:-1.2px;font-weight:750;color:var(--orange);margin:15px 0}.quote-item{padding:17px;border:1px solid var(--line);border-radius:11px;background:#10203a;margin:12px 0}.quote-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.quote-item-head h3{font-size:15px;margin:0}.quote-item .line-tools{display:grid;grid-template-columns:90px 150px 1fr;gap:10px;align-items:end;margin-top:12px}.quote-item .line-tools label{font-size:10px}.material-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 38px;gap:8px;margin:8px 0}.line-tools select{font-size:12px}.bottom-nav{display:none}.auth-layout{max-width:1000px;margin:9vh auto;padding:25px;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.auth-brand>img{width:180px;background:#fff;border-radius:16px;margin-bottom:28px}.auth-brand h1{font-size:40px}.auth-brand p{font-size:15px;color:var(--muted)}.auth-layout .panel{padding:30px}.loading{display:grid;place-items:center;min-height:90vh;align-content:center;gap:20px}.loading img{width:130px;border-radius:14px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.modal-head h2{margin:0}.modal-head button{font-size:20px;padding:1px 10px;background:transparent}dialog{color:var(--text);background:var(--bg);border:1px solid #3d5a83;border-radius:17px;padding:27px;width:min(650px,calc(100% - 30px));max-height:90dvh;overflow:auto;box-shadow:0 24px 90px #0007}dialog.wide{width:min(1000px,calc(100% - 30px))}dialog::backdrop{background:#020a19bb;backdrop-filter:blur(3px)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:200;background:#e3efff;color:#142440;padding:12px 20px;border-radius:10px;box-shadow:0 4px 30px #0004;max-width:calc(100% - 30px);display:none}#toast.error{background:#ffe0e6;color:#6b1831}.image-preview{width:120px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:10px;margin:12px 0;background:#fff}.stock-value{font-size:25px;font-weight:700;line-height:1.4}.toolbar-sticky{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.public-shell{max-width:1220px;margin:auto;padding:25px 28px 150px}.public-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:25px;margin-bottom:30px;border-bottom:1px solid var(--line)}.public-brand{display:flex;align-items:center;gap:16px}.public-brand img{width:70px;background:#fff;border-radius:10px;padding:4px}.public-brand h2{margin:0}.public-hero{margin:30px 0 35px;max-width:650px}.public-hero h1{font-size:42px;line-height:1.15}.public-hero p{color:var(--muted);font-size:15px}.cart-bar{position:fixed;bottom:0;left:0;right:0;background:#112440f5;backdrop-filter:blur(15px);border-top:1px solid #42618c;z-index:20;padding:16px 25px max(16px,env(safe-area-inset-bottom))}.cart-inner{max-width:1164px;margin:auto;display:flex;gap:20px;align-items:center;justify-content:space-between}.cart-inner textarea{max-width:470px;min-height:50px;height:50px}.check{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:10px}.skip{position:absolute;left:-500px}.skip:focus{left:10px;top:10px;z-index:300;background:white;color:black;padding:10px}.divider{height:1px;background:var(--line);margin:20px 0}.money-green{color:var(--green)}.badge-count{background:#d98a22;color:#141e30;border-radius:99px;padding:1px 6px;font-size:10px}.timeline{font-size:12px;color:var(--muted);padding-left:18px}.timeline li{padding-bottom:8px}.no-margin{margin-bottom:0!important}
/* O documento conserva a identidade da V10: cabeçalho azul/laranja, cartões e logótipos originais. */
.client-card{background:#fff;color:#1a2940;border:1px solid #d3dfef;border-radius:25px;overflow:hidden;max-width:880px;margin:20px auto;box-shadow:0 18px 55px #0003;color-scheme:light}.client-head{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;background:linear-gradient(135deg,#092452,#176bce 58%,#ff9f1c);padding:26px 34px}.client-head img{height:78px;width:105px;object-fit:contain;background:#fff;padding:7px;border-radius:14px}.client-head>div{text-align:right;color:#fff}.client-head span{display:block;font-size:10px;letter-spacing:1.8px;font-weight:800;color:#ffebc1}.client-head strong{display:block;font-size:18px;margin-top:7px}.client-body{padding:32px 36px}.client-body h2{font-size:32px;color:#0b2c5f;margin:6px 0 12px}.client-body .badge2{font-size:11px;font-weight:800;letter-spacing:2px;color:#e68a15}.client-name{font-size:21px;font-weight:700;margin-bottom:4px}.client-date{font-size:12px;color:#65758d}.client-public-info{padding:20px;border-radius:20px;background:#f8fbff;border:1px solid #d9e5f6}.client-service-item{border-top:1px solid #d9e5f6;padding-top:16px;margin-top:16px}.item-with-image{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:start;background:#fff;border:1px solid #e6edf8;border-radius:17px;padding:14px;margin:14px 0}.client-item-photo{width:96px;height:96px;border-radius:14px;background:#eef3fb;border:1px solid #dce3f5;overflow:hidden;display:grid;place-items:center;font-size:11px;color:#778ba7}.client-item-photo img{width:100%;height:100%;object-fit:contain}.client-item-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.client-item-title-row h3{font-size:18px;color:#0b2c5f;margin:0}.client-item-title-row strong{white-space:nowrap;color:#0b2c5f;background:#fff4e2;border:1px solid #ffd59a;border-radius:10px;padding:5px 9px;font-size:16px}.client-body p{color:#485873;font-size:12px;margin-bottom:9px;overflow-wrap:anywhere}.client-body .mat-line{padding:7px 10px;border:1px solid #e6edf8;border-radius:9px;background:#f9fbff;font-size:11px}.client-qty-line{border-top:1px solid #e8edf6;padding-top:8px;display:flex;justify-content:space-between}.public-adjustments p{display:flex;justify-content:space-between;background:#fff;border:1px solid #e6edf8;border-radius:10px;padding:8px 12px}.discount-line{color:#b42318!important}.client-price{display:flex;justify-content:space-between;gap:15px;align-items:center;background:linear-gradient(135deg,#092452,#176bce 70%,#ff9f1c);color:white;padding:20px 23px;margin:22px 0 17px;border-radius:16px}.client-price strong{font-size:30px;white-space:nowrap}.client-price span{font-size:13px;color:#deebff}.client-terms{padding:14px 17px;border:1px solid #d8e3f1;border-radius:12px;background:#f5f8fd}.client-terms strong{color:#0b2c5f}.client-footer{border-top:1px solid #d9e5f6;margin-top:18px;padding:15px 0 0;text-align:center}.client-footer img{max-width:150px;max-height:65px;object-fit:contain}.client-footer p{font-size:10px;color:#7d8da4;margin:8px 0 0}#pdf-host{position:absolute;left:-20000px;top:0;width:900px;z-index:-1}#pdf-host .client-card{width:880px;max-width:none;margin:0;border-radius:0;box-shadow:none}#pdf-host .client-body{padding:25px 32px}#pdf-host .client-head{padding:18px 32px}#pdf-host .client-head img{height:68px}#pdf-host .client-body h2{font-size:24px}#pdf-host .client-price strong{font-size:28px}
@media(min-width:1550px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.main{padding:0 22px 35px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:205px minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-grid{grid-template-columns:1fr 270px}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.hero .hero-logo{width:130px;height:120px}}@media(max-width:850px){.layout{display:block}.sidebar{display:none}.main{padding:0 20px 100px}.topbar{min-height:70px;margin-bottom:22px}.topbar-title{font-size:15px;color:#dce8fa;font-weight:700}.account{display:none}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;background:#0d1930f5;backdrop-filter:blur(15px);border-top:1px solid #2b466b;padding:8px 4px max(8px,env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:none;padding:4px 0;color:#8aa1c3;font-size:10px;border-radius:8px}.bottom-nav button.active{color:var(--orange)}.bottom-nav .nav-icon{display:block;font-size:20px;line-height:1.5}.grid2,.quote-grid{grid-template-columns:1fr}.quote-summary{position:static}.hero{padding:23px}.hero h1{font-size:28px}.hero .hero-logo{width:105px;height:105px}.hero p{font-size:12px}.page-head{align-items:flex-start;gap:15px}.page-head h1{font-size:25px}.page-head .actions{max-width:170px;justify-content:flex-end}.auth-layout{gap:25px;margin:25px auto}.auth-brand h1{font-size:29px}.auth-brand>img{width:120px}.public-hero h1{font-size:33px}.cart-inner{gap:12px;flex-wrap:wrap}.cart-inner textarea{max-width:none;flex:1;min-width:160px}}@media(max-width:560px){.main{padding:0 15px 100px}.hero .hero-logo{display:none}.hero h1{font-size:28px}.hero{padding:22px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:24px}.panel{padding:18px}.fields,.fields.three{grid-template-columns:1fr}.fields>.full{grid-column:auto}.fields.compact{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr}.board{grid-template-columns:1fr}.row-card{gap:10px}.row-card .align-right{min-width:85px}.quote-item .line-tools{grid-template-columns:75px 1fr}.quote-item .line-tools>div:last-child{grid-column:1/-1}.quote-item .line-tools>div:last-child strong{font-size:18px}.auth-layout{grid-template-columns:1fr;padding:20px;margin:10px auto;gap:15px}.auth-brand>img{width:100px;margin-bottom:15px}.auth-brand h1{font-size:29px;margin-bottom:8px}.auth-brand p{font-size:13px}.auth-layout .panel{padding:23px}.public-shell{padding:20px 16px 200px}.public-head{margin-bottom:20px}.public-head .small{font-size:10px}.public-hero h1{font-size:32px}.public-brand img{width:55px}.cart-bar{padding:13px 16px max(13px,env(safe-area-inset-bottom))}.cart-inner textarea{width:100%;flex-basis:100%;order:3}.cart-inner>div{font-size:12px}.client-head{padding:18px}.client-head img{width:85px;height:65px}.client-head strong{font-size:14px}.client-head span{font-size:8px}.client-body{padding:22px 17px}.client-public-info{padding:12px}.item-with-image{grid-template-columns:64px 1fr;gap:10px;padding:10px}.client-item-photo{width:64px;height:64px}.client-item-title-row{display:block}.client-item-title-row h3{font-size:16px}.client-item-title-row strong{display:inline-block;margin-top:7px;font-size:14px}.client-price{padding:16px}.client-price strong{font-size:27px}dialog{padding:20px;max-height:94dvh}.material-row{grid-template-columns:minmax(0,1fr) 75px 32px}#toast{bottom:90px}#pdf-host .item-with-image{grid-template-columns:96px 1fr}#pdf-host .client-item-photo{width:96px;height:96px}#pdf-host .client-item-title-row{display:flex}#pdf-host .client-item-title-row strong{margin:0}#pdf-host .client-head strong{font-size:18px}#pdf-host .client-head span{font-size:10px}}
@media print{body{background:white}body>*{display:none!important}#modal{position:static;display:block!important;border:0;overflow:visible;width:100%;max-height:none;padding:0}.modal-head,.toolbar-sticky{display:none!important}.client-card{box-shadow:none;border:0;max-width:none}.client-head,.client-price{print-color-adjust:exact;-webkit-print-color-adjust:exact}.item-with-image,.client-price,.client-terms{break-inside:avoid}}

.mobile-brand{display:none}@media(max-width:850px){.mobile-brand{display:inline-block;width:32px;height:32px;object-fit:contain;background:#fff;border-radius:7px;margin-right:9px;padding:2px;vertical-align:middle}.topbar-title{font-size:12px}.topbar-title>.muted{display:none}}
