:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#213933;background:#f5f7f9;font-size:14px;--green:#087f68;--muted:#788a86;--line:#e7edeb;--shadow:0 5px 25px #203d3210}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:12px 17px;color:#fff;background:var(--green);font-size:13px;font-weight:650;cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}button:hover{background:#066f5a;box-shadow:0 4px 12px #087f6820;transform:translateY(-1px)}button:active{transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}button:focus-visible,a:focus-visible{outline:3px solid #8acdbf;outline-offset:3px}button svg{width:19px;height:19px;flex-shrink:0}input,select{width:100%;padding:13px 14px;border:1px solid #dde6e2;border-radius:9px;background:#fff;color:#24433b;outline:none;transition:border .18s,box-shadow .18s}input:focus,select:focus{border-color:#50ae96;box-shadow:0 0 0 3px #10a17b12}input::placeholder{color:#97a5a1}label{display:block;font-size:12px;font-weight:650;margin:17px 0}label input,label select{margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:20px}p{color:#74877f;line-height:1.7;font-size:13px}small,.muted{color:var(--muted);font-size:12px;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:#80938d}.logo{display:flex;align-items:center;gap:11px}.logo-mark{display:grid;place-items:center;width:43px;height:43px;background:#078569;color:#fff;border-radius:13px;font-size:30px;box-shadow:0 5px 12px #07856920}.logo b{font-size:25px;letter-spacing:-.8px;color:#124c3f}.logo b>span{display:block;font-size:9px;letter-spacing:3.3px;margin-top:2px;color:#799289}.workspace-label{display:flex;gap:8px;align-items:center;padding:14px;margin:30px 0 23px;background:#f2f7f5;border-radius:9px;color:#5c786b;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#12a67d;box-shadow:0 0 0 3px #12a67d14}.nav-label{font-size:9px;letter-spacing:1.5px;margin:0 13px 12px;display:block}aside{width:240px;height:100dvh;position:fixed;left:0;top:0;background:#fff;border-right:1px solid var(--line);padding:31px 20px;z-index:40;display:flex;flex-direction:column;overflow-y:auto}aside .logo{margin-left:8px}nav{display:grid;gap:7px}nav button{justify-content:flex-start;background:transparent;color:#7a8c86;font-weight:550;padding:13px 14px;position:relative;text-align:left;box-shadow:none}nav button:hover{background:#f3f7f5;color:#207b61;transform:none}nav button.active{background:#e7f5ed;color:#087b60}nav button.active:after{content:'';position:absolute;right:0;width:3px;height:18px;background:#0a9974;border-radius:5px}footer{margin-top:auto;padding:45px 12px 0}footer p{font-size:12px;margin:14px 0 0;color:#557567}.workspace{margin-left:240px;padding:27px 34px 15px;max-width:1900px}header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.header-left{display:flex;align-items:center;gap:12px}.header-left h1{margin-top:6px}.header-actions{display:flex;align-items:center;gap:14px}.header-actions #dateLabel{font-size:11px;color:#7c8e86}.user-chip{display:flex;align-items:center;gap:9px;border-left:1px solid #e2e8e4;padding-left:15px}#username{font-size:11px;color:#567668}.avatar{width:33px;height:33px;border-radius:50%;background:#dff0e5;color:#167553;display:grid;place-items:center;font-size:11px;font-weight:700}.icon-button{background:#fff;color:#6c867a;border:1px solid #e2eae6;width:37px;height:37px;padding:6px;font-size:23px}.secondary{background:#fff;color:#668276;border-color:#dfe8e3}.secondary:hover{background:#eef5f1;color:#176c53}.notice{display:flex;align-items:center;gap:9px;padding:12px 15px;border:1px solid #efe5c7;background:#fffaf0;color:#957526;border-radius:9px;font-size:11px;margin-bottom:24px}.notice-dot{background:#dea849;width:6px;height:6px;border-radius:50%;flex-shrink:0}.badge{display:inline-flex;gap:5px;align-items:center;background:#eaf6ef;color:#16825e;padding:6px 9px;border-radius:6px;font-size:9px;letter-spacing:.3px;font-weight:700}.pending{background:#fff3da;color:#a77d21}.danger{color:#c65c53}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:20px;box-shadow:var(--shadow)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:21px;align-items:start}.hero{background:linear-gradient(115deg,#075d4f,#0c876c);border-radius:15px;min-height:150px;padding:28px 30px;color:#fff;margin-bottom:22px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px}.hero:after{content:'+';position:absolute;right:70px;top:-100px;font-size:350px;font-weight:200;color:#ffffff07;pointer-events:none}.hero .eyebrow{color:#90d3bc}.hero h2{font-size:27px;letter-spacing:-.8px;margin:10px 0}.hero p{color:#b4ded0;font-size:12px;margin:0}.hero button{background:#fff;color:#147358;z-index:1;white-space:nowrap}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:23px}.stat{margin:0;padding:20px 21px;position:relative;min-height:150px}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:6px}.stat-top small{font-size:11px;font-weight:550}.stat-icon{display:grid;place-items:center;width:35px;height:35px;background:#e7f6ef;color:#18906a;border-radius:11px}.stat-icon svg{width:19px;height:19px}.stat:nth-child(2) .stat-icon{color:#608edc;background:#edf2fd}.stat:nth-child(3) .stat-icon{color:#d69b35;background:#fff4de}.stat:nth-child(4) .stat-icon{color:#9973c6;background:#f4eefd}.metric{font-size:29px;letter-spacing:-1px;font-weight:700;margin:12px 0 5px}.stat .muted{font-size:10px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:4px 0 15px}.section-title h2{margin:0}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.quick{padding:19px 18px;background:#fff;color:#2c5a49;border:1px solid var(--line);justify-content:flex-start;box-shadow:var(--shadow);text-align:left;border-radius:12px}.quick:hover{background:#fff;border-color:#b4d5c8}.quick .action-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#e7f6ed;color:#1a9672;flex-shrink:0}.quick:nth-child(2) .action-icon{background:#edf2fe;color:#628dde}.quick:nth-child(3) .action-icon{background:#f2edfc;color:#9774c7}.quick:nth-child(4) .action-icon{background:#fff3df;color:#c99c42}.quick b{display:block;font-size:12px}.quick small{display:block;font-size:10px;font-weight:400;margin-top:4px}.toolbar{display:flex;gap:10px;align-items:center;margin:17px 0}.toolbar input{max-width:100%}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#8a9b94;background:#f8faf9;font-weight:600}td,th{padding:14px 12px;border-bottom:1px solid #edf2ef}td{font-size:12px;line-height:1.6}td small{font-size:10px}tbody tr:hover{background:#fafcfb}.empty{text-align:center!important;padding:38px 14px;color:#93a69b;font-size:12px}.feature{padding:15px 0;border-bottom:1px solid #edf2ef}.feature b{display:block;font-size:12px;margin-bottom:5px}.feature small{font-size:11px}.feature svg{width:15px;height:15px;color:#16856a;vertical-align:middle;margin-right:6px}.card>p:last-child{margin-bottom:0}.pdv-layout{grid-template-columns:minmax(0,1.2fr) minmax(330px,.85fr)}.pdv-cart{position:sticky;top:20px}.products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-tile{border:1px solid #e5ece8;border-radius:11px;padding:16px;display:flex;flex-direction:column;gap:11px;background:#fff}.product-tile:hover{border-color:#a7d0bf;box-shadow:0 4px 16px #136b4910}.product-tile .pill-icon{width:37px;height:37px;display:grid;place-items:center;background:#ecf6f0;border-radius:10px;color:#279570}.pill-icon svg{width:22px;height:22px}.product-tile h3{font-size:13px;margin:0;line-height:1.5}.product-tile small{font-size:10px;overflow-wrap:anywhere}.product-tile .product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:8px}.product-price{font-size:17px;font-weight:700;color:#1a7759}.product-tile button{padding:8px 11px;font-size:11px}.filter-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.filter-row button{background:#fff;color:#799286;border:1px solid #e5ece8;padding:8px 11px;font-size:10px}.filter-row button.selected{background:#e9f5ee;border-color:#b6dfca;color:#12835d}.cart-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf1ee}.cart-line b{display:block;font-size:12px}.cart-line small{font-size:10px}.qty-controls{display:flex;gap:10px;align-items:center;margin-top:9px}.qty-controls button,#cart .qty-controls button{width:26px;height:26px;padding:0;background:#f0f5f2;color:#357b60;border-radius:6px}.qty-controls span{font-size:12px;font-weight:650}.cart-price{font-size:14px;font-weight:700;white-space:nowrap}.total-block{background:#f0f8f3;border:1px solid #deeee3;border-radius:11px;padding:17px;display:flex;justify-content:space-between;align-items:center;margin-top:20px}.total-block small{font-size:11px;color:#527b65}.total{font-size:28px;font-weight:750;color:#0c7c59;letter-spacing:-.8px}.cart-empty{padding:35px 15px;text-align:center;color:#9aaa9f}.cart-empty svg{width:35px;height:35px;color:#bed5c7;margin-bottom:10px}.cart-empty p{font-size:11px;margin-bottom:0}#finish{width:100%;margin-top:10px;padding:15px;font-size:13px}.pdv-cart>p{font-size:10px}.search-hint{font-size:10px;color:#93a59b}kbd{font-family:inherit;font-size:9px;padding:3px 5px;background:#edf2ef;border-radius:4px;border:1px solid #dfe7e1}.restricted{padding:25px;background:#f5f8f6;border:1px dashed #d5e4da;border-radius:9px;color:#728b7c;font-size:12px;line-height:1.7}.workspace-footer{display:flex;justify-content:space-between;color:#a0b1a7;font-size:10px;padding:12px 3px 8px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:linear-gradient(145deg,#0d4b40,#08755f);padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden}.login-story:after{content:'+';font-size:600px;position:absolute;bottom:-150px;right:-100px;opacity:.035;pointer-events:none}.login-story .logo b{color:#fff}.login-story .logo b>span{color:#9fcfbd}.login-story .logo-mark{background:#ffffff14;color:#7ad9b5}.login-story h1{font-size:40px;line-height:1.3;margin:18px 0;letter-spacing:-1.2px}.login-story p{color:#a9d3c3;font-size:14px}.login-story .eyebrow,.login-story>small{color:#96c8b6}.login-story>small{font-size:10px}.login-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:30px}.login-pills span{font-size:10px;padding:9px 12px;border:1px solid #ffffff22;border-radius:7px;color:#c1e3d6}.login-panel{display:grid;place-items:center;background:#fff;padding:40px}.login-inner{width:100%;max-width:360px}.login-inner h2{font-size:29px;margin:23px 0 7px;letter-spacing:-1px}.login-inner>p{font-size:12px;margin-bottom:30px}.login-submit{width:100%;margin-top:23px;padding:15px;justify-content:space-between}.login-note{margin-top:26px;font-size:10px;line-height:1.8;color:#9ba9a2;padding-top:20px;border-top:1px solid #edf1ee}#toast{display:none;position:fixed;right:25px;bottom:25px;max-width:450px;padding:17px 22px;background:#174e3e;color:#fff;border-radius:11px;box-shadow:0 10px 40px #133c3525;font-size:12px;line-height:1.6;z-index:100}dialog{border:1px solid #e0e8e3;border-radius:18px;padding:30px;max-width:450px;width:calc(100% - 35px);box-shadow:0 30px 100px #123d3030}dialog::backdrop{background:#153d3055;backdrop-filter:blur(4px)}.dialog-icon{width:46px;height:46px;background:#e6f5eb;color:#09845b;display:grid;place-items:center;border-radius:14px;font-size:23px;margin-bottom:20px}dialog h2{margin:10px 0;font-size:23px}.dialog-warning{background:#fff8e8;color:#987837;border-radius:8px;padding:13px;font-size:11px;line-height:1.7}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.mobile-only{display:none}#content{animation:appear .22s ease-out}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}a{color:#168765}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1700px){.workspace{padding:33px 45px}}@media(max-width:1200px){aside{width:215px;padding:25px 15px}.workspace{margin-left:215px;padding:25px 23px}.header-actions #dateLabel{display:none}.quick{padding:14px 12px;gap:9px}.quick small{display:none}.stats{gap:10px}.stat{padding:16px 14px}.stat-top small{font-size:10px}.stat-icon{width:30px;height:30px}.pdv-layout{grid-template-columns:1fr 1fr}.products-grid{grid-template-columns:1fr}}@media(max-width:950px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.pdv-cart{position:static}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:23px}.hero h2{font-size:23px}.login-story{padding:40px}.login-story h1{font-size:31px}.user-chip #username{max-width:100px;overflow-wrap:anywhere}.grid:not(.stats){grid-template-columns:1fr}}@media(max-width:700px){.mobile-only{display:inline-flex}aside{transform:translateX(-100%);transition:transform .2s;width:240px}.menu-open aside{transform:translateX(0)}#backdrop{position:fixed;inset:0;background:#173c3155;z-index:35}.workspace{margin-left:0;padding:20px 15px}header{align-items:center;gap:8px}.header-left h1{font-size:21px}.header-left .eyebrow{font-size:8px}.header-actions{gap:7px}.user-chip{display:none}.header-actions #logout{padding:9px;font-size:11px}.hero{display:block;padding:23px}.hero button{margin-top:18px}.hero h2{font-size:24px}.notice{font-size:10px;line-height:1.7;align-items:flex-start}.notice-dot{margin-top:5px}.stats{gap:10px}.stat{min-height:142px}.metric{font-size:26px}.stat-top{align-items:flex-start}.stat-top small{max-width:90px}.stat-icon{width:27px;height:27px;border-radius:8px;flex-shrink:0}.stat-icon svg{width:16px;height:16px}.card{padding:18px}.quick{padding:13px;gap:10px}.quick b{font-size:10px}.quick .action-icon{width:32px;height:32px}.workspace-footer span{display:none}.products-grid{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{min-height:210px;padding:25px}.login-story h1{font-size:25px;margin:16px 0}.login-story>small,.login-pills,.login-story .eyebrow,.login-story p{display:none}.login-panel{padding:32px 25px}.row{grid-template-columns:1fr}.dialog-actions button{font-size:11px}#toast{left:15px;right:15px;bottom:15px;max-width:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.restricted svg{width:18px;height:18px;vertical-align:middle;margin-right:7px}.empty>svg{width:32px;height:32px;color:#b6cec0}.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.section-title{gap:10px;flex-wrap:wrap}.section-title h2{min-width:0}
/* Finalização com seleção de pagamento */
#saleDialog{padding:0;max-width:900px;width:calc(100% - 36px);max-height:calc(100dvh - 40px);overflow-y:auto;color:#213933}.checkout-top{display:flex;justify-content:space-between;align-items:flex-start;padding:27px 30px 20px;border-bottom:1px solid #e9efeb}.checkout-top h2{font-size:26px;margin:8px 0}.checkout-top p{font-size:12px;margin:0}.checkout-top .icon-button{font-size:27px;flex-shrink:0}.checkout-layout{display:grid;grid-template-columns:.85fr 1.15fr}.checkout-summary{padding:26px;background:#f7faf8;border-right:1px solid #e5ede8}.checkout-payment{padding:26px}.checkout-item{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #e4ece7}.checkout-item b{font-size:12px;line-height:1.6;display:block;overflow-wrap:anywhere}.checkout-item small{font-size:11px;display:block;margin-top:4px}.checkout-item strong{font-size:12px;white-space:nowrap;padding-top:3px}.checkout-total{padding:24px 0;display:flex;flex-direction:column;gap:7px}.checkout-total small{font-size:12px;color:#5c7e6c}.checkout-total strong{font-size:36px;letter-spacing:-1px;color:#067d5d}.checkout-total>span{font-size:10px;color:#93a49b}#checkoutItems{max-height:235px;overflow-y:auto}fieldset{padding:0;margin:0;border:0;min-width:0}legend{font-weight:650;font-size:14px;margin-bottom:17px}.payment-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-option{position:relative;margin:0;border:1.5px solid #e4ece7;border-radius:12px;cursor:pointer;padding:16px;display:flex;flex-direction:column;gap:12px;transition:border-color .18s,box-shadow .18s,background .18s;min-width:0}.payment-option:hover{border-color:#99c8b4;background:#fafdFb}.payment-option.chosen{border-color:#148b68;background:#f0faf4;box-shadow:0 0 0 2px #148b680c}.payment-option:focus-within{outline:3px solid #b8dfcd;outline-offset:2px}.payment-option input{position:absolute;opacity:0;width:1px;height:1px;padding:0;margin:0}.payment-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#eaf6ec;color:#278e5b}.payment-symbol svg{width:27px;height:27px}.payment-option.pix .payment-symbol{background:#e7f8f5;color:#19a28e}.payment-option.debito .payment-symbol{background:#eaf0fc;color:#5687d6}.payment-option.credito .payment-symbol{background:#f3edfc;color:#9670c6}.payment-copy b{display:block;font-size:13px;color:#2c5141}.payment-copy small{font-size:9px;font-weight:400;display:block;margin-top:4px}.payment-radio{position:absolute;right:13px;top:14px;width:17px;height:17px;border:1.5px solid #cfded4;border-radius:50%;background:#fff}.chosen .payment-radio{border:5px solid #14916b}.payment-hint{padding:14px 0;font-size:11px;line-height:1.7;color:#728a7b}.checkout-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 26px;border-top:1px solid #e5ede8;background:#fff}.checkout-footer #confirmSale{padding:14px 22px}.checkout-invite{display:flex;align-items:center;gap:12px;padding:17px 0}.invite-symbol{width:35px;height:35px;background:#f0f6f2;color:#6b927d;display:grid;place-items:center;border-radius:9px}.invite-symbol svg{width:20px;height:20px}.checkout-invite b{font-size:11px;font-weight:600;display:block;color:#557862}.checkout-invite small{font-size:10px;display:block;margin-top:4px}.cash-change{display:flex;align-items:center;justify-content:space-between;background:#edf7ef;border-radius:8px;padding:12px 14px;margin-bottom:8px;color:#287752;font-size:12px}.cash-change strong{font-size:18px}#cashFields>small{font-size:9px;display:block}.checkout-error{background:#fff0ed;color:#ba5048;padding:11px 13px;border:1px solid #f4d7d1;border-radius:8px;font-size:11px;line-height:1.6}.screen-intro{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;padding:15px 19px;background:#edf5f0;border:1px solid #e1ede5;border-radius:10px;gap:15px}.screen-intro p{margin:0;font-size:12px;color:#59806a}.screen-intro .badge{background:#fff;white-space:nowrap}.product-tile .product-bottom button svg{width:15px;height:15px}.pdv-cart h2{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.card form>button{min-height:43px}.tablewrap td:last-child{font-variant-numeric:tabular-nums}.dialog-warning{font-size:10px}.payment-option:has(input:disabled){cursor:wait;opacity:.6}@media(max-width:700px){#saleDialog{max-height:calc(100dvh - 24px);width:calc(100% - 20px);border-radius:14px}.checkout-layout{grid-template-columns:1fr}.checkout-summary{border-right:0;border-bottom:1px solid #e5ede8;padding:18px 20px}.checkout-top{padding:20px}.checkout-top h2{font-size:23px}.checkout-payment{padding:20px}.checkout-total{padding:15px 0}.checkout-total strong{font-size:29px}#checkoutItems{max-height:125px}.checkout-footer{padding:16px;flex-wrap:wrap}.checkout-footer button{flex:1;padding:12px;font-size:11px}.payment-option{padding:14px}.screen-intro{align-items:flex-start;flex-direction:column;gap:8px}.payment-copy b{font-size:12px}}@media(prefers-reduced-motion:reduce){.payment-option{transition:none}}
/* Troco destacado */
.cash-change{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:21px 23px;background:linear-gradient(115deg,#e7f5ec,#f1faf3);border:1px solid #cbe7d4;border-radius:12px;margin:14px 0}.cash-change>span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.4px;color:#4c8263}.cash-change strong{font-size:46px;line-height:1.15;letter-spacing:-1.7px;color:#087b4b;font-variant-numeric:tabular-nums}#cashReceived{font-size:23px;font-weight:650;min-height:57px;padding:12px 15px;font-variant-numeric:tabular-nums}.receipt-print{display:none}@media(max-width:700px){.cash-change strong{font-size:38px}.cash-change{padding:18px 20px}#cashReceived{font-size:21px}}
@media print{
 @page{size:auto;margin:4mm}
 html,body{background:#fff!important;margin:0!important;padding:0!important;color:#000!important;height:auto!important;overflow:visible!important}
 body>*:not(#receiptPrint){display:none!important}
 #receiptPrint{display:block!important;width:72mm;max-width:100%;margin:0 auto;color:#000;font-family:Arial,sans-serif;font-size:11px}
 #receiptPrint *{color:#000!important;background:#fff!important;box-shadow:none!important;animation:none!important}
 #receiptPrint h1{font-size:19px;margin:0 0 9px;letter-spacing:0}#receiptPrint p{font-size:11px;margin:9px 0;color:#000}
 .receipt-head{text-align:center;padding:10px 0;border-bottom:1px dashed #000}.receipt-head>b,.receipt-head>strong{display:block;margin:5px 0;font-size:12px}
 .receipt-meta{padding:10px 0;font-size:10px;line-height:1.7;border-bottom:1px dashed #000}
 #receiptPrint table{width:100%;border-collapse:collapse}#receiptPrint th{font-size:9px;letter-spacing:0;text-transform:none}#receiptPrint td,#receiptPrint th{padding:8px 1px;border-bottom:1px dashed #888;font-size:10px;vertical-align:top}#receiptPrint td:last-child,#receiptPrint th:last-child{text-align:right;white-space:nowrap}#receiptPrint small{font-size:9px}
 .receipt-sum{display:flex;justify-content:space-between;gap:10px;padding:9px 0;font-size:12px}.receipt-sum>b{font-size:15px}.receipt-change>b{font-size:20px}.receipt-foot{text-align:center;font-size:9px;line-height:1.7;padding:12px 0;border-top:1px dashed #000}#receiptPrint tr{break-inside:avoid}
}
/* Fechamento compacto e troco em linha */
#saleDialog{max-width:860px}.checkout-top{padding:18px 23px 14px}.checkout-top h2{font-size:24px;margin:6px 0}.checkout-top p{font-size:11px}.checkout-summary,.checkout-payment{padding:19px 22px}.checkout-total{padding:18px 0;gap:5px}.checkout-total strong{font-size:31px}.checkout-item{padding:11px 0}.payment-choices{gap:9px}.payment-option{padding:12px 11px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;min-height:77px}.payment-symbol{width:32px;height:32px;border-radius:8px}.payment-symbol svg{width:22px;height:22px}.payment-copy b{font-size:11px;line-height:1.4;padding-right:13px}.payment-copy small{display:none}.payment-radio{width:13px;height:13px;right:8px;top:8px}.chosen .payment-radio{border-width:4px}legend{font-size:13px;margin-bottom:12px}#cashFields label{margin:12px 0 8px}#cashReceived{min-height:46px;font-size:21px;padding:8px 12px}.cash-change{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;margin:10px 0}.cash-change>span{font-size:23px;line-height:1;font-weight:750;letter-spacing:.4px}.cash-change strong{font-size:35px;letter-spacing:-1px;white-space:nowrap}.payment-hint{padding:10px 0;font-size:10px}.dialog-warning{padding:10px 12px;font-size:9px}.checkout-footer{padding:15px 22px}.checkout-footer #confirmSale{padding:12px 20px}#cashFields>small{font-size:8px}#checkoutItems{max-height:175px}
.company-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.company-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.company-fields label{margin:9px 0;font-size:11px}.company-fields input,.company-fields select{padding:11px 12px;font-size:12px}.company-fields input[readonly]{background:#f4f8f5;color:#6b8b7a}.company-section h2{margin-bottom:10px}.company-section>p{font-size:11px}.required-mark{color:#bc6c53}.company-side{position:sticky;top:20px;width:auto;height:auto;padding:22px;z-index:auto;display:block;overflow:visible;background:white;border:1px solid var(--line);margin:0}.company-side h2{margin:20px 0 12px}.company-side p{font-size:11px}.company-save{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.company-save small{font-size:10px}.company-save button{white-space:nowrap}.company-side .feature small{font-size:10px}.company-side .feature b{font-size:11px}
@media(max-width:1100px){.company-layout{grid-template-columns:1fr}.company-side{position:static;transform:none}}@media(max-width:700px){.checkout-top{padding:16px 18px 12px}.checkout-layout{grid-template-columns:1fr}.checkout-summary{padding:14px 18px}.checkout-payment{padding:15px 18px}.checkout-total{padding:10px 0;display:grid;grid-template-columns:1fr auto;align-items:center}.checkout-total strong{font-size:27px}.checkout-total>span{grid-column:1/-1}.checkout-summary>.badge{font-size:8px}#checkoutItems{max-height:90px}.checkout-item{padding:8px 0}.checkout-item b{font-size:11px}.cash-change>span{font-size:21px}.cash-change strong{font-size:29px}.cash-change{padding:13px 14px;gap:8px}.checkout-footer{padding:12px 16px}.checkout-footer button{font-size:10px}.company-fields{grid-template-columns:1fr}.company-save{align-items:stretch;flex-direction:column}.company-side{width:auto;position:static;height:auto;transform:none;padding:20px}.payment-option{min-height:67px;padding:10px}.payment-copy b{font-size:10px}}@media print{.company-side{display:none!important}}

.catalog-upload{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:20px 0}.catalog-upload label{flex:1;min-width:170px}.catalog-upload input[type=file]{height:auto}.catalog-pages{display:flex;gap:10px;margin-top:14px}.catalog-edit{padding:20px;border:1px solid #cce4da;background:#f6fbf8;border-radius:12px;margin-top:20px}.catalog-review{display:flex;gap:10px;align-items:center;margin:20px 0}.catalog-review input{width:20px;height:20px;flex-shrink:0}#catalogPreview{overflow-wrap:anywhere}#catalogResults .tablewrap{max-height:600px;overflow:auto}#catalogEditor p{overflow-wrap:anywhere}@media(max-width:700px){.catalog-upload{display:grid;grid-template-columns:1fr}.catalog-upload input{min-width:0;width:100%}.catalog-edit{padding:12px}}
