:root{--bg:#080510;--panel:#141024;--panel2:#201638;--line:#40305a;--accent:#a878ff;--text:#f6f2ff;--muted:#a79fb9;--ok:#4ce2ae;--danger:#ff8e9d}*{box-sizing:border-box}
body{margin:0;background:radial-gradient(circle at 20% 0,#29154f 0,transparent 38%),var(--bg);color:var(--text);font:15px/1.5 Inter,system-ui,-apple-system,'Segoe UI',sans-serif;min-height:100vh}
a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{background:#0e0b19;color:var(--text);border:1px solid #5a4775;border-radius:10px;padding:12px;width:100%;min-width:0}textarea{min-height:100px;resize:vertical}
label{display:block;font-weight:700;font-size:13px;margin:12px 0}label input,label select,label textarea{display:block;margin-top:6px}
h1,h2,h3{line-height:1.2;margin:0 0 12px}h1{font-size:clamp(26px,4vw,45px)}h2{font-size:23px}h3{font-size:18px}p{margin:8px 0 14px}
.top{display:flex;justify-content:space-between;align-items:center;padding:17px max(18px,calc((100% - 1180px)/2));gap:18px;border-bottom:1px solid var(--line);background:#090713c9}
.brand{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none;color:#b88cff}.brand-logo{display:block;width:210px;max-width:48vw;height:auto;object-fit:contain;filter:drop-shadow(0 0 7px #9142ff50)}.top nav{display:flex;gap:14px;align-items:center}.top nav a{text-decoration:none;color:#ddd}
.shell{max-width:1200px;margin:0 auto;padding:32px 18px 80px}.auth-grid{display:grid;grid-template-columns:1fr 450px;gap:40px;align-items:center;margin-top:60px}.auth-copy em{color:var(--accent);font-style:normal}.kicker{font-size:11px;letter-spacing:.15em;color:#bc95ff;font-weight:900}
.card{background:linear-gradient(145deg,#211437,#120e22);border:1px solid #67408d;border-radius:22px;padding:26px;box-shadow:0 20px 60px #0005}.central{max-width:640px;margin:50px auto}.auth-card{max-width:480px;width:100%}.switch{display:flex;border-radius:12px;background:#0d0a19;padding:5px;margin-bottom:25px}.switch button{flex:1;background:transparent;border:0;color:white;padding:10px;border-radius:9px}.switch button.selected{background:#622bc2}
.button{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#7741e8,#a34ffa);border:0;border-radius:12px;color:white;padding:12px 18px;font-weight:800;text-decoration:none;min-height:44px;gap:9px}.button:hover{filter:brightness(1.1)}.button:disabled{opacity:.6}.ghost{border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:10px 14px;border-radius:12px;text-decoration:none}.text-button{background:transparent;border:0;color:#c29bff;padding:14px}.muted{color:var(--muted)}.small{font-size:12px}.hidden{display:none!important}.notice{background:#30213e;color:#f4d0ff;border:1px solid #765e8a;border-radius:12px;padding:12px;margin-bottom:20px}
.heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:12px 0 22px}.dashboard{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.side,.content{border:1px solid var(--line);border-radius:18px;background:#120e21;padding:17px}.side{height:max-content;position:sticky;top:16px}.side nav{display:grid;gap:7px}.side button{width:100%;text-align:left;background:transparent;color:#d9d0e9;border:1px solid transparent;padding:12px;border-radius:10px}.side button.active{background:#4f2b8d;color:white;border-color:#7448be}.side .ghost{margin-top:22px;border-color:var(--line)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:18px}.toolbar h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{border:1px solid #3b2959;background:#1e1531;padding:17px;border-radius:14px;min-width:0}.tile strong{display:block;font-size:24px;margin-top:5px}.tile small{color:var(--muted)}
.stack{display:grid;gap:12px}.item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #4c3767;border-radius:12px;background:#1c1530;padding:14px}.item .actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.item button{background:#493070;color:white;border:1px solid #6d469e;border-radius:8px;padding:8px 11px}.item img{width:56px;height:56px;object-fit:cover;border-radius:8px}.item strong{display:block}.item small{color:var(--muted)}.data-form{padding:17px;border:1px solid #553a78;border-radius:15px;background:#1d1530;margin-bottom:17px}.data-form .columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.data-form label{margin:6px 0}.data-form .button{margin-top:12px}
.cart{border:1px solid #564179;border-radius:14px;padding:15px;background:#1c1530}.cart .item{background:#100a1d}.price{font-weight:850;color:#dfbdff}.total{font-size:22px;font-weight:900;margin:12px 0}.pill{border-radius:30px;background:#33204e;padding:5px 9px;color:#cfb0ff;font-size:12px;display:inline-block}.warn{border:1px solid #8b6451;color:#ffdbb6;background:#34221f;border-radius:12px;padding:12px}.toast{position:fixed;bottom:20px;right:20px;max-width:380px;border:1px solid #8052ce;border-radius:12px;padding:14px;background:#261246;color:white;box-shadow:0 12px 60px #000a;z-index:30}.empty{padding:26px;text-align:center;color:var(--muted);border:1px dashed #67528b;border-radius:14px}
@media(max-width:850px){.auth-grid{grid-template-columns:1fr;margin-top:10px}.dashboard{grid-template-columns:1fr}.side{position:static}.side nav{display:flex;overflow:auto}.side button{min-width:max-content}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.shell{padding:22px 12px 60px}.grid,.data-form .columns{grid-template-columns:1fr}.item{align-items:flex-start;flex-direction:column}.heading{align-items:flex-start;flex-direction:column}.top{padding:12px}.top nav a{display:none}.card{padding:20px}}
/* Escolha explícita entre avaliação e contratação manual. */
.signup-choices{border:1px solid var(--line);border-radius:14px;padding:14px;margin:18px 0}
.signup-choices legend{font-weight:750;padding:0 7px}
.signup-choices .option-line{display:flex;align-items:flex-start;gap:12px;padding:10px 8px;border-radius:10px;cursor:pointer}
.signup-choices .option-line:hover{background:var(--panel2)}
.signup-choices .option-line input{width:auto;flex:0 0 auto;margin-top:5px}
.signup-choices .option-line span{display:flex;flex-direction:column;gap:3px}
.signup-choices .option-line small{font-weight:400;color:var(--muted);line-height:1.55}
#accessGate .button{display:inline-block;text-align:center;text-decoration:none;margin:4px 0 12px}
#accessGate #refreshAccess{margin-left:9px}

/* Compartilhamento do cardápio individual de cada loja. */
.public-overview-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.public-link-tile{display:flex;flex-direction:column;gap:9px}
.public-link-url{display:block;overflow-wrap:anywhere;word-break:break-word;color:#dec8ff;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.public-share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto}
.public-share-actions .button,.public-share-actions .ghost{min-height:38px;padding:9px 12px;font-size:13px;text-align:center;white-space:normal}
.public-share-actions .ghost{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:540px){.public-overview-grid{grid-template-columns:1fr}.public-share-actions{align-items:stretch}.public-share-actions .button,.public-share-actions .ghost{flex:1 1 100%}}

/* Meu cardápio: editor com a mesma identidade preto/roxo da vitrine. */
.menu-editor-grid{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:15px;margin:20px 0}
.menu-editor-grid--single{grid-template-columns:minmax(0,1fr)}
.menu-editor-panel{background:linear-gradient(135deg,#191029,#0d0918);border:1px solid #71469c;border-radius:18px;padding:19px;min-width:0}
.menu-editor-panel h3{font-size:19px;margin:0 0 15px;color:#f5e7ff}
.menu-editor-panel .data-form{padding:0;border:0;background:transparent;margin:0}
.menu-editor-panel .data-form .columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.menu-editor-panel .data-form label:has(textarea),.menu-editor-panel .data-form label:has(input[type=file]){grid-column:1/-1}
.menu-category-form label{margin:0 0 10px}
.menu-category-form .button{width:100%;margin:0 0 15px}
.menu-category-list{display:grid;gap:9px}
.menu-category-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border:1px solid #533575;border-radius:10px;background:#231337}
.menu-category-line strong{overflow-wrap:anywhere}
.menu-category-line small{font-size:12px;color:#d5b7f7;white-space:nowrap}
.category-image-thumb{width:70px;height:64px;object-fit:cover;border-radius:11px;flex-shrink:0;display:block;background:#30273e}
.category-image-empty{display:grid;place-items:center;font-size:29px;color:#d1c2e9;border:1px dashed #685285}
.category-image-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.category-image-actions button,.category-image-file{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #78609c;border-radius:9px;background:#35264d;color:#fff;padding:7px 9px;font-weight:700;font-size:11px;line-height:1.2}
.category-image-actions button:hover,.category-image-file:hover{background:#4a3568}
.category-image-actions button:focus-visible,.category-image-file:focus-within{outline:3px solid #b78afe;outline-offset:2px}
.category-image-actions button:disabled{opacity:.45;cursor:progress}
.category-image-settings{margin:18px 0 28px;background:linear-gradient(135deg,#1c122c,#100c19);border:1px solid #674991;border-radius:18px;padding:20px}
.category-image-settings h3{margin:0 0 8px;font-size:19px;color:#f2e5ff}
.category-image-settings>.muted{margin:0 0 15px;line-height:1.5}
.category-image-settings-list{display:grid;gap:10px}
.category-image-setting-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px;border:1px solid #503767;border-radius:12px;background:#241633}
.category-image-setting-info{display:flex;flex:1 1 135px;min-width:0;flex-direction:column;gap:5px}
.category-image-setting-info strong{overflow-wrap:anywhere}
.category-image-setting-info small{font-size:12px;color:#d3bdeb}
@media(max-width:540px){.category-image-settings{padding:14px}.category-image-setting-row{gap:10px}.category-image-setting-row .category-image-actions{width:100%}.category-image-setting-row .category-image-actions>*{flex:1 1 auto}}
.menu-editor-items{margin-top:14px}
.menu-editor-items .item{background:#1d1131}
.menu-editor-items .item p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}
.menu-settings{margin-top:16px}
.menu-settings>label{max-width:680px}
.menu-payments{border:1px solid #614283;border-radius:13px;margin:14px 0;padding:12px}
.menu-payments legend{font-weight:750;padding:0 6px}
.menu-payments label,.menu-logo-settings label:has(input[type=checkbox]){display:inline-flex;align-items:center;gap:9px;margin:6px 14px 6px 0;font-weight:500;cursor:pointer}
.menu-payments input[type=checkbox],.menu-logo-settings input[type=checkbox]{width:auto;accent-color:#9950e7}
.menu-logo-settings{border:1px solid #69439a;border-radius:13px;padding:15px;margin:16px 0}
.menu-logo-preview{display:block;max-width:160px;max-height:95px;object-fit:contain;margin:8px 0;border-radius:9px}
.menu-editor-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.menu-editor-meta button{text-align:left;background:#201331;color:#e8daff;padding:12px;border:1px solid #5c3b7f;border-radius:12px;cursor:pointer;min-width:0}
.menu-editor-meta small{display:block;color:#b9a9d5;font-size:11px}
.menu-editor-meta strong{display:block;font-size:12px;overflow-wrap:anywhere}
@media(max-width:1000px){.menu-editor-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.menu-editor-grid{grid-template-columns:1fr}}
@media(max-width:540px){.menu-editor-panel{padding:13px}.menu-editor-panel .data-form .columns{grid-template-columns:1fr}.menu-editor-meta{grid-template-columns:1fr 1fr}}

/* Escolha de área após login: as duas opções usam a mesma loja BipStart. */
.mode-chooser{max-width:1050px;margin:40px auto 0;text-align:center}
.mode-chooser .kicker{display:block;margin-bottom:13px}
.mode-chooser h1{font-size:clamp(32px,5vw,52px);letter-spacing:-.035em;margin-bottom:15px}
.mode-chooser>p{font-size:16px;max-width:660px;margin:0 auto 35px}
.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mode-option{position:relative;display:flex;align-items:flex-start;gap:18px;text-align:left;min-height:254px;padding:29px;background:linear-gradient(145deg,#22113e,#110d21);border:1px solid #7751a1;color:var(--text);border-radius:24px;box-shadow:0 15px 55px #0006;transition:transform .2s,border-color .2s,box-shadow .2s;width:100%}
.mode-option:hover{transform:translateY(-4px);border-color:#c58bff;box-shadow:0 14px 48px #8f3cff35}
.mode-option:focus-visible{outline:3px solid #cc9eff;outline-offset:3px}
.mode-menu{background:radial-gradient(circle at 20% 15%,#4c207a,#160d2b 65%)}
.mode-pdv{background:radial-gradient(circle at 20% 10%,#39235d,#130d22 68%)}
.mode-option-icon{width:65px;height:65px;flex:0 0 65px;display:grid;place-items:center;background:#8b40ee2d;border:1px solid #ad71eb;border-radius:18px;font-size:37px;color:#f5eaff}
.mode-option-content{display:flex;flex-direction:column;gap:12px;align-self:stretch}
.mode-option strong{font-size:24px;line-height:1.2;letter-spacing:-.015em}
.mode-option small{color:#cdbce1;font-size:14px;font-weight:400;line-height:1.6}
.mode-option-cta{margin-top:auto;font-size:13px;font-weight:850;color:#dcb3ff}
.workspace-top-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.menu-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Frente de caixa inspirada no layout do projeto Godzilla Adega, agora BipStart. */
.godzilla-pdv{min-width:0}
.pdv-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:4px 0 20px}
.pdv-title h2{font-size:clamp(26px,3.5vw,35px);margin:5px 0}
.pdv-title p{color:var(--muted);margin:0}
.pdv-two-panels{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(305px,.85fr);gap:15px;align-items:start}
.pdv-panel{background:linear-gradient(165deg,#1c142b,#0e0b19);border:1px solid #503a6a;border-radius:21px;padding:17px;min-width:0;box-shadow:0 20px 50px #0004}
.pdv-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:18px}
.pdv-filters label{margin:0;min-width:0;flex:1 1 160px}
.pdv-filters input,.pdv-filters select{height:44px;background:#100b1d;border:1px solid #604880;border-radius:11px}
.pdv-filters button{height:44px;white-space:nowrap;font-size:12px}
.pdv-filters .ghost.active{border-color:#a167e6;color:#e4bfff}
.pdv-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}

/* Destaques definidos pelo lojista: atalho rápido para adicionar ao carrinho. */
#workspace .pdv-best-sellers{min-width:0;margin:0 0 18px;padding:13px;border:1px solid color-mix(in srgb,var(--store-accent,#7c3aed) 45%,#3d2b53);border-radius:15px;background:color-mix(in srgb,var(--store-accent,#7c3aed) 9%,#160f25)}
#workspace .pdv-best-sellers-title{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
#workspace .pdv-best-sellers-title strong{font-size:14px;color:#f7e8ff}
#workspace .pdv-best-sellers-title small{font-size:11px;color:#b7a8c8}
#workspace .pdv-best-sellers-list{display:flex;align-items:stretch;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 2px 7px;scrollbar-width:thin}
#workspace .pdv-best-seller{flex:0 0 184px;max-width:64vw;min-width:0;display:flex;align-items:center;gap:9px;padding:8px;border-radius:12px;border:1px solid #644782;background:#221731;color:#fff;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
#workspace .pdv-best-seller:hover:not(:disabled){border-color:var(--store-accent,#a76ef0);background:#30203f}
#workspace .pdv-best-seller:focus-visible{outline:3px solid var(--store-accent,#a76ef0);outline-offset:2px}
#workspace .pdv-best-seller:disabled{opacity:.48;cursor:not-allowed}
#workspace .pdv-best-seller-photo{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:9px;overflow:hidden;background:#39264c}
#workspace .pdv-best-seller-photo img{width:100%;height:100%;object-fit:cover;display:block}
#workspace .pdv-best-seller-placeholder{color:#d2a5ff;font-size:24px}
#workspace .pdv-best-seller-text{min-width:0;flex:1}
#workspace .pdv-best-seller-text strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere;max-height:32px;overflow:hidden}
#workspace .pdv-best-seller-text small{display:block;color:#e5c6ff;font-size:12px;font-weight:700;margin-top:4px}
#workspace .pdv-best-seller-plus{flex:0 0 19px;font-size:19px;font-weight:800;text-align:center;color:var(--store-accent,#c794ff)}
/* Marcação de mais vendido no formulário de produto (Básico e Premium). */
#workspace .product-best-seller-option{display:flex;align-items:center;gap:12px;background:#20182d;border:1px solid #584374;border-radius:12px;padding:12px 14px;cursor:pointer}
#workspace .product-best-seller-option input[type="checkbox"]{width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;margin:0;accent-color:var(--store-accent,#a76ef0)}
#workspace .product-best-seller-option span{display:flex;flex-direction:column;gap:3px;min-width:0}
#workspace .product-best-seller-option strong{font-size:14px;color:#f8ecff}
#workspace .product-best-seller-option small{font-size:12px;font-weight:400;color:#c0b1d0;line-height:1.4}
@media(max-width:440px){#workspace .pdv-best-sellers{padding:10px}#workspace .pdv-best-seller{flex-basis:168px}#workspace .pdv-best-seller-photo{width:40px;height:40px;flex-basis:40px}}

.pdv-list-head small{color:var(--muted)}
.pdv-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.pdv-product{background:linear-gradient(175deg,#251a39,#151020);border:1px solid #4b3768;border-radius:16px;overflow:hidden;min-width:0;transition:transform .2s,border-color .2s}
.pdv-product:hover{transform:translateY(-2px);border-color:#ab6ff7}
.pdv-product-media{aspect-ratio:1.25;overflow:hidden;background:radial-gradient(circle,#382352,#130e20)}
.pdv-product-media img{height:100%;width:100%;object-fit:cover;display:block}
.pdv-no-photo{height:100%;width:100%;display:grid;place-items:center;color:#9168ba;font-size:40px}
.pdv-product-info{padding:12px}
.pdv-product h3{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}
.pdv-product p{font-size:12px;color:var(--muted);margin:0 0 8px;overflow-wrap:anywhere}
.pdv-product-price{display:block;color:#e7bcff;font-size:19px;margin-bottom:9px}
.pdv-product .pdv-add{min-height:37px;font-size:12px;width:100%;padding:9px 12px;border-radius:9px}
.pdv-empty{grid-column:1/-1}
.pdv-sale-panel{position:sticky;top:16px}
.pdv-sale-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}
.pdv-sale-head .kicker{display:block}
.pdv-sale-head h2{margin:4px 0 0;font-size:23px}
.pdv-sale-head>span{font-size:25px}
.pdv-sale-list{display:grid;gap:9px;min-height:114px}
.pdv-sale-empty{display:grid;place-items:center;color:var(--muted);text-align:center;padding:20px;border:1px dashed #57396c;border-radius:12px;font-size:13px}
.pdv-sale-item{border:1px solid #523874;border-radius:12px;background:#1e1430;padding:12px;display:grid;gap:8px;min-width:0}
.pdv-sale-item strong{overflow-wrap:anywhere}
.pdv-sale-item small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.pdv-sale-qty{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pdv-sale-qty button{border:1px solid #7b53b0;background:#37214d;color:white;border-radius:7px;min-width:30px;min-height:30px;cursor:pointer}
.pdv-sale-qty button:last-child{margin-left:auto;background:#422437;border-color:#81516b}
.pdv-sale-total{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #624584;padding:16px 0 12px;margin-top:15px}
.pdv-sale-total span{color:#d4c5e6;font-size:13px}
.pdv-sale-total strong{font-size:27px;white-space:nowrap}
.pdv-payment-form label{margin:8px 0 13px}

/* Caixa do PDV: três métodos principais lado a lado e seleção sem menu suspenso. */
#workspace .pdv-payment-selector{display:grid;gap:10px;margin:8px 0 16px}
#workspace .pdv-payment-label{font-weight:750;font-size:14px;color:#f4eefa}
#workspace .pdv-payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#workspace .pdv-payment-chip{width:100%;min-width:0;min-height:47px;padding:8px 5px;border-radius:11px;border:1px solid #64497e;background:#160f23;color:#e7d9f8;font-size:13px;font-weight:750;cursor:pointer;transition:border-color .16s,background .16s,color .16s}
#workspace .pdv-payment-chip:hover{border-color:var(--store-accent,#aa73ee);background:#251831}
#workspace .pdv-payment-chip.selected{background:color-mix(in srgb,var(--store-accent,#7c3aed) 23%,#20152e);border:2px solid var(--store-accent,#af7bf1);color:#fff;box-shadow:0 0 0 1px color-mix(in srgb,var(--store-accent,#7c3aed) 22%,transparent)}
#workspace .pdv-payment-chip:focus-visible,#workspace .pdv-card-kind:focus-visible{outline:3px solid var(--store-accent,#b388fa);outline-offset:2px}
#workspace .pdv-card-kind-label{display:block;color:#e4d2f3;font-size:12px;font-weight:700;margin:0 0 8px}
#workspace .pdv-card-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
#workspace .pdv-card-kind{min-height:40px;padding:8px 10px;background:#130e1c;border:1px solid #604880;color:#ddd0e9;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer}
#workspace .pdv-card-kind.selected{border-color:var(--store-accent,#a675ed);background:color-mix(in srgb,var(--store-accent,#7c3aed) 22%,#1b1128);color:#fff}
#workspace #pdvCashFields,#workspace #pdvCardFields{margin-bottom:13px}
#workspace #pdvCashFields.hidden,#workspace #pdvCardFields.hidden{display:none!important}
@media(max-width:390px){#workspace .pdv-payment-options{gap:5px}#workspace .pdv-payment-chip{font-size:12px;padding:8px 3px;min-height:44px}}

.pdv-payment-form select,.pdv-payment-form input{margin-top:7px}
.pdv-calculation{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f3e8ff;background:#21142f;border:1px solid #8050a8;border-radius:10px;padding:11px 13px;margin:10px 0;font-weight:750}
.pdv-calculation strong{color:#86efac;background:#123522;border:1px solid #237447;border-radius:8px;padding:6px 10px;font-size:16px;font-weight:900;white-space:nowrap}
#workspace #pdvCashFields .pdv-calculation{color:#fff;background:#21142f;border-color:#a855f7}
#workspace #pdvCashFields #pdvChange{color:#86efac;background:transparent;border-color:transparent;min-width:100px;text-align:center;box-shadow:none;padding:6px 10px}
.pdv-finish{width:100%;margin-top:9px}
@media(min-width:1250px){#workspace .dashboard{grid-template-columns:245px minmax(0,1fr)}#workspace .side{border-radius:23px}#workspace .content{border-radius:23px}#workspace:has(.godzilla-pdv) .side{min-height:450px}}
@media(max-width:1180px){.pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-two-panels{grid-template-columns:minmax(0,1fr) minmax(280px,.75fr)}}
@media(max-width:880px){.mode-options{grid-template-columns:1fr}.pdv-two-panels{grid-template-columns:1fr}.pdv-sale-panel{position:static}.pdv-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:580px){.mode-chooser{margin:18px auto}.mode-option{padding:19px;min-height:190px}.mode-option-icon{width:50px;height:50px;flex-basis:50px;font-size:29px}.mode-option strong{font-size:20px}.pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-panel{padding:12px}.pdv-product-info{padding:9px}.pdv-product-price{font-size:16px}.pdv-title{align-items:flex-start}.workspace-top-actions{width:100%}}
@media(prefers-reduced-motion:reduce){.mode-option,.pdv-product{transition:none}}

/* Pré-visualização do cardápio real na área CARDÁPIO. */

/* PDV em tela direta, inspirado no painel administrativo Godzilla. */
.shell:has(#workspace:not(.hidden)){max-width:1600px;padding:17px 16px 70px}
#workspace>.heading{min-height:112px;background:linear-gradient(115deg,#1b142b,#0c0a13);border:1px solid #49355e;border-radius:23px;padding:20px 24px;margin:0 0 15px;box-shadow:0 18px 60px #0006}
#workspace>.heading h1{font-size:clamp(23px,3vw,34px);margin:5px 0}
#workspace>.heading p{margin:0}
#workspace .dashboard{grid-template-columns:240px minmax(0,1fr);gap:15px}
#workspace .side{min-height:calc(100vh - 175px);position:sticky;top:12px;border-radius:22px;background:linear-gradient(180deg,#181021,#0a0911);border:1px solid #453458;padding:17px}
#workspace .side nav{gap:8px}
#workspace .side nav button{display:flex;align-items:center;gap:11px;border-radius:13px;text-align:left;min-height:46px;padding:12px 13px;font-size:13px}
#workspace .side nav button span{font-size:20px;width:25px;flex:0 0 25px;text-align:center}
#workspace .side nav button b{font-weight:750}
#workspace .side nav button.active{background:linear-gradient(90deg,#9c6aed,#b47cff);border-color:#ac75f8;color:#140922;box-shadow:0 0 23px #9354e539}
#workspace .side nav button:hover:not(.active){background:#241535;border-color:#4e3a65}
#workspace .content{border-radius:22px;background:linear-gradient(160deg,#171024,#0b0913);border:1px solid #49335c;min-width:0}
#workspace .pdv-title{border-bottom:1px solid #473456;padding-bottom:14px}
#workspace .pdv-title h2{font-size:clamp(28px,3.4vw,34px)}
#workspace .pdv-panel{background:linear-gradient(180deg,#1a1326,#0e0b17);border:1px solid #473459}
#workspace .pdv-product{background:linear-gradient(180deg,#241832,#100d19)}
#workspace .pdv-product .pdv-add{background:linear-gradient(90deg,#9c64ea,#ba7dfc)}
#workspace .pdv-product .pdv-add:disabled{opacity:.45}
#workspace .pdv-sale-panel{position:sticky;top:12px}
#workspace .pdv-finish{font-size:15px;min-height:49px}
@media(max-width:900px){
 .shell:has(#workspace:not(.hidden)){padding:12px 9px 60px}
 #workspace .dashboard{grid-template-columns:1fr}
 #workspace .side{position:static;min-height:0}
 #workspace .side nav{display:flex;flex-wrap:nowrap;overflow-x:auto}
 #workspace .side nav button{flex:0 0 auto;min-width:125px}
 #workspace .pdv-sale-panel{position:static}
}
@media(max-width:580px){
 #workspace>.heading{padding:15px;border-radius:17px}
 #workspace .content{padding:11px}
 #workspace .side{padding:10px}
 #workspace .side nav button{min-height:42px;padding:8px 9px;min-width:108px}
 #workspace .side nav button b{font-size:11px}
}


/* Navegação vertical da central de operação — referência Godzilla Adega.
   Apenas a disposição, hierarquia e destaque vermelho são reproduzidos;
   logo e dados continuam pertencendo à loja BipStart. */
#workspace .dashboard{grid-template-columns:254px minmax(0,1fr);align-items:start}
#workspace .side{display:flex;flex-direction:column;gap:0;height:calc(100dvh - 30px);min-height:590px;max-height:920px;overflow-y:auto;overscroll-behavior:contain;position:sticky;top:15px;background:linear-gradient(165deg,#0c120f,#0a0e0c 70%);border:1px solid #29332c;border-radius:18px;padding:13px 10px}
#workspace .side-store{display:flex;align-items:center;gap:10px;min-height:79px;padding:4px 5px 14px;margin-bottom:17px;border-bottom:1px solid #27342d}
#workspace .side-logo{flex:0 0 53px;width:53px;height:53px;display:grid;place-items:center;border-radius:50%;border:2px solid #a88942;background:#0b090c;overflow:hidden;box-shadow:0 0 0 2px #1e251e}
#workspace .side-logo img{display:block;width:100%;height:100%;object-fit:contain}
#workspace .side-store-text{min-width:0;flex:1}
#workspace .side-store-text strong{display:block;color:#f8fbf8;font-size:14px;font-weight:850;line-height:1.3;overflow-wrap:anywhere}
#workspace .side-store-text small{display:block;color:#849189;font-size:10px;line-height:1.35;margin-top:4px}
#workspace .side .side-settings{display:grid;place-items:center;flex:0 0 25px;width:25px;min-height:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:#c6d0c9;font-size:15px}
#workspace .side .side-settings:hover,#workspace .side .side-settings.active{background:#28342b;color:#fff}
#workspace .side #nav nav{display:grid;gap:8px}
#workspace .side #nav nav button{display:flex;align-items:center;gap:11px;min-height:48px;padding:11px 12px;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;color:#ccd6ce;font-size:13px;transition:background .15s,border-color .15s,box-shadow .15s}
#workspace .side #nav nav button b{flex:1;white-space:normal;font-weight:800}
#workspace .side #nav nav .side-nav-icon{font-size:20px;line-height:1;width:25px;flex:0 0 25px;text-align:center}
#workspace .side #nav nav button:hover:not(.active){background:#17221b;border-color:#29392d}
/* Atalho externo do cardápio: mesma apresentação dos itens de navegação do PDV. */
#workspace .side #nav nav a.side-public-menu{
 display:flex;align-items:center;gap:11px;box-sizing:border-box;
 width:100%;min-width:0;min-height:48px;padding:11px 12px;
 text-align:left;text-decoration:none;border:1px solid transparent;
 border-radius:12px;background:transparent;color:#ccd6ce;
 font-size:13px;transition:background .15s,border-color .15s,box-shadow .15s;
}
#workspace .side #nav nav a.side-public-menu b{flex:1;white-space:normal;font-weight:800}
#workspace .side #nav nav a.side-public-menu .side-external-icon{
 flex:0 0 auto;font-size:15px;font-weight:850;color:#bd9fe7
}
#workspace .side #nav nav a.side-public-menu:hover{
 background:#17221b;border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 42%,#29392d)
}
#workspace .side #nav nav a.side-public-menu:focus-visible{
 outline:3px solid var(--store-accent,#7c3aed);outline-offset:2px
}

#workspace .side #nav nav button.active{background:linear-gradient(100deg,#fc0816,#f51b20);color:#fff;border-color:#ff3440;box-shadow:0 8px 20px #fb101c24}
#workspace .side #nav nav button.active .side-nav-icon{filter:brightness(1.1)}
#workspace .side #nav nav button.locked{opacity:.78}
#workspace .side .side-lock{color:#f3c1d4;font-size:9px;font-weight:800;background:#482839;padding:3px 5px;border-radius:6px}
#workspace .side-actions{display:grid;gap:9px;margin-top:auto;padding-top:25px}
#workspace .side .side-action{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:45px;padding:10px 8px;border:1px solid #2c3a30;border-radius:12px;background:#18201a;color:#f1f4f0;text-decoration:none;text-align:center;font-size:13px;font-weight:850;box-shadow:none}
#workspace .side .side-action:hover{background:#222d25;border-color:#526455}
#workspace .side .side-action .side-lock,#workspace .side .side-action small{font-size:10px;color:#bdc8c0}
#workspace .side .side-action.locked{opacity:.77}
#workspace .side .side-action:focus-visible,#workspace .side #nav nav button:focus-visible,#workspace .side .side-settings:focus-visible{outline:3px solid #ff5963;outline-offset:2px}
#workspace .side-toggle{display:none}
body.sidebar-open{overflow:hidden}
#workspace .orders-intro{display:flex;gap:14px;align-items:flex-start;padding:19px;border:1px solid #4c3767;border-radius:15px;background:#1b142c;margin:8px 0 17px}
#workspace .orders-intro>span{font-size:28px;line-height:1}
#workspace .orders-intro h3{margin:0 0 5px}
#workspace .orders-intro p{margin:0;color:var(--muted)}
#workspace .orders-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0 19px}
#workspace .orders-actions .ghost{min-height:44px}
#workspace .orders-premium{padding:17px;border:1px solid #593976;border-radius:14px;margin:16px 0}
#workspace .orders-premium h3{margin:0 0 7px}
#workspace .orders-premium p{color:var(--muted)}
#workspace .stock-stats{margin-bottom:18px}
#workspace .stock-rows{display:grid;gap:10px}
#workspace .stock-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:13px 15px;border-radius:13px;border:1px solid #403154;background:#1c1629}
#workspace .stock-item{display:flex;gap:12px;align-items:center;flex:1 1 240px;min-width:0}
#workspace .stock-item img,#workspace .stock-placeholder{width:52px;height:52px;flex:0 0 52px;object-fit:cover;border-radius:10px;background:#281f37;display:grid;place-items:center}
#workspace .stock-item strong{display:block;overflow-wrap:anywhere}
#workspace .stock-item small{display:block;color:var(--muted)}
#workspace .stock-quantity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#workspace .stock-badge{border-radius:100px;padding:4px 9px;font-size:11px;font-weight:800}
#workspace .stock-badge.ok{background:#174031;color:#72ebb7}
#workspace .stock-badge.low{background:#503814;color:#ffe09c}
#workspace .stock-badge.out{background:#4b202a;color:#ffacb7}
#workspace .stock-row .actions button{background:#432a60;border:1px solid #735596;color:#fff;padding:8px 12px;border-radius:9px}
@media(max-width:900px){
 #workspace .dashboard{grid-template-columns:minmax(0,1fr)}
 #workspace .side{position:fixed;inset:0 auto 0 0;width:min(292px,88vw);height:100dvh;max-height:none;min-height:0;padding:13px 11px 18px;z-index:100;border-radius:0 18px 18px 0;transform:translateX(-105%);visibility:hidden;transition:transform .2s ease,visibility .2s ease;box-shadow:15px 0 65px #0009}
 #workspace .side.open{transform:translateX(0);visibility:visible}
 #workspace .side #nav nav{display:grid;overflow:visible;gap:8px}
 #workspace .side #nav nav button{width:100%;min-width:0;flex:auto;padding:11px 12px;min-height:48px}
 #workspace .side #nav nav button b{font-size:13px}
 #workspace .side-backdrop:not(.hidden){position:fixed;inset:0;background:#000a;z-index:99}
 #workspace .side-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}
 #workspace>.heading{flex-wrap:wrap}
 #workspace .workspace-heading-copy{flex:1 1 250px}
 #workspace .workspace-top-actions{flex:1 1 100%;flex-wrap:wrap}
 #workspace .workspace-top-actions button,#workspace .workspace-top-actions a{font-size:12px}
}
@media(max-width:580px){
 #workspace .stock-row{align-items:flex-start}
 #workspace .stock-quantity{justify-content:flex-start}
 #workspace .orders-actions>*{flex:1 1 100%;text-align:center}
 #workspace .orders-intro{padding:14px}
}


/* BipStart: cadastro e estoque em cards de produto, inspirados na referência Godzilla. */
#workspace .inventory-grid{
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
 gap:16px;
 margin-top:20px;
 align-items:stretch;
}
#workspace .inventory-card{
 display:flex;flex-direction:column;min-width:0;
 background:linear-gradient(160deg,#121c17,#0b120f 78%);
 border:1px solid #293d32;border-radius:18px;overflow:hidden;
 box-shadow:0 12px 28px #00000035;
 transition:border-color .18s,transform .18s;
}
#workspace .inventory-card:hover{border-color:#4b7259;transform:translateY(-2px)}
#workspace .inventory-photo-wrap{
 display:grid;place-items:center;aspect-ratio:4/3;min-height:160px;
 border-bottom:1px solid #253a2e;
 background:radial-gradient(circle at center,#23372b,#0c1510 70%);
 overflow:hidden;
}
#workspace .inventory-photo{display:block;width:100%;height:100%;object-fit:cover}
#workspace .inventory-photo-placeholder{display:grid;place-items:center;font-size:50px;color:#a2b6aa}
#workspace .inventory-card-body{
 display:flex;flex:1;flex-direction:column;gap:13px;padding:16px;
}
#workspace .inventory-card-heading small{
 display:block;margin-bottom:5px;font-size:11px;font-weight:750;letter-spacing:.03em;color:#a3b2a8;
 overflow-wrap:anywhere;
}
#workspace .inventory-card-heading h3{font-size:17px;color:#f6faf7;margin:0;overflow-wrap:anywhere}
#workspace .inventory-card-prices{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
#workspace .inventory-card-prices>strong{color:#fff;font-size:21px;letter-spacing:-.02em}
#workspace .inventory-card-prices>small{font-size:12px;color:#9eaea2}
#workspace .inventory-stock-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#96a69b;font-size:12px;line-height:1.45}
#workspace .inventory-stock-meta strong{color:#e3eae4;font-weight:750}
#workspace .inventory-status{font-size:14px;font-weight:850;line-height:1.3}
#workspace .inventory-status.ok{color:#5af6a2}
#workspace .inventory-status.low{color:#ffcd73}
#workspace .inventory-status.out{color:#ff8291}
#workspace .inventory-card[data-stock-state="low"]{border-color:#785f32}
#workspace .inventory-card[data-stock-state="out"]{border-color:#80404a}
#workspace .inventory-actions{margin-top:auto;padding-top:2px}
#workspace .inventory-actions button{
 width:100%;min-height:41px;padding:9px 12px;
 border:1px solid #3e5545;border-radius:10px;
 color:#f6fcf7;background:#1c2b21;font-size:13px;font-weight:850;
}
#workspace .inventory-actions button:hover{background:#2a4432;border-color:#6a9d75}
#workspace .inventory-actions button:focus-visible{outline:3px solid #5af6a2;outline-offset:2px}
#workspace .content:has(.inventory-grid),#workspace .content:has(.stock-summary-grid){
 background:linear-gradient(145deg,#19100f 0%,#0d110f 35%,#0d120f 100%);
 border-color:#384238;
}
#workspace .content:has(.inventory-grid) .toolbar h2,
#workspace .content:has(.stock-summary-grid) .toolbar h2{font-size:clamp(24px,3.4vw,35px)}
#workspace .stock-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}
#workspace .stock-summary-card{display:flex;min-width:0;min-height:116px;flex-direction:column;align-items:flex-start;justify-content:space-between;
 text-align:left;gap:12px;padding:17px;border:1px solid #35473b;border-radius:14px;
 background:#0e1913;color:#f6fff8;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
#workspace .stock-summary-label{font-size:13px;font-weight:700;line-height:1.35;color:#b3c3b8}
#workspace .stock-summary-number{font-size:clamp(28px,3vw,40px);font-weight:950;line-height:1;letter-spacing:-.025em;color:#fff;font-variant-numeric:tabular-nums}
#workspace .stock-summary-card:hover{transform:translateY(-1px);border-color:var(--store-accent,#a878ff)}
#workspace .stock-summary-card.active{border-color:var(--store-accent,#a878ff);
 background:color-mix(in srgb,var(--store-accent,#a878ff) 17%,#0e1913);
 box-shadow:0 0 0 1px color-mix(in srgb,var(--store-accent,#a878ff) 28%,transparent)}
#workspace .stock-summary-card.active .stock-summary-label{color:#f1e6ff}
#workspace .stock-summary-card.active .stock-summary-number{color:var(--store-accent,#a878ff)}
#workspace .stock-summary-card:focus-visible{outline:3px solid var(--store-accent,#a878ff);outline-offset:3px}
@media(max-width:850px){#workspace .stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#workspace .stock-summary-grid{gap:8px}
 #workspace .stock-summary-card{min-height:100px;padding:13px}
 #workspace .stock-summary-label{font-size:11px}
 #workspace .stock-summary-number{font-size:30px}}
#workspace .content:has(.inventory-grid) .data-form{
 background:#101911;border-color:#365444
}
#workspace .content:has(.inventory-grid) .data-form input,
#workspace .content:has(.inventory-grid) .data-form select{
 background:#0d1510;border-color:#3b6047;color:#f4faf5
}
@media(max-width:600px){
 #workspace .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
 #workspace .inventory-photo-wrap{min-height:105px}
 #workspace .inventory-card-body{padding:11px;gap:9px}
 #workspace .inventory-card-heading h3{font-size:14px}
 #workspace .inventory-card-prices>strong{font-size:17px}
 #workspace .inventory-card-prices>small{font-size:10px}
 #workspace .inventory-stock-meta{font-size:10px}
 #workspace .inventory-status{font-size:12px}
}
@media(max-width:380px){
 #workspace .inventory-grid{grid-template-columns:1fr}
 #workspace .inventory-photo-wrap{min-height:180px}
 #workspace .inventory-card-body{padding:14px}
}

#workspace .inventory-kicker{color:var(--store-accent,#a878ff);font-weight:900;font-size:11px;letter-spacing:.17em;margin:2px 0 8px;text-transform:uppercase}
#workspace .inventory-kicker + .toolbar{margin-bottom:15px}
#workspace .content:has(.inventory-kicker){background:linear-gradient(150deg,color-mix(in srgb,var(--store-accent,#a878ff) 12%,#111511) 0%,#111511 27%,#0b120e 100%);border-color:color-mix(in srgb,var(--store-accent,#a878ff) 25%,#314034)}
#workspace .content:has(.inventory-kicker) .toolbar p{color:#a5b6aa}
#workspace .content:has(.inventory-kicker) .data-form{background:#101910;border-color:#365444}
#workspace .content:has(.inventory-kicker) .data-form input,#workspace .content:has(.inventory-kicker) .data-form select{background:#0d1510;border-color:#3b6047;color:#f4faf5}


/* Modo de operação: sem barra superior e sem marca da plataforma no PDV. */
body.workspace-fullscreen .top{display:none}
body.workspace-fullscreen .shell{max-width:none;padding:12px 14px 24px}
body.workspace-fullscreen #workspace{margin:0}
body.workspace-fullscreen #workspace .dashboard{margin:0}
#workspace .pdv-mobile-menu{display:none}
#workspace .side-store{
 min-height:58px;
 padding:8px 6px 16px;
 gap:12px;
 justify-content:space-between;
}
#workspace .side-store-text strong{font-size:18px;line-height:1.25}
#workspace .side-store-text small{font-size:11px}
#workspace .side .side-actions-row{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 align-items:stretch;
 gap:8px;
}
#workspace .side .side-actions-row .side-action{
 min-width:0;
 min-height:48px;
 margin:0;
 padding:9px 6px;
 line-height:1.35;
 text-align:center;
 white-space:normal;
 font-size:11px;
 font-weight:850;
}
@media(max-width:900px){
 body.workspace-fullscreen .shell{padding:9px 10px 22px}
 #workspace .pdv-mobile-menu{display:flex;align-items:center;justify-content:flex-start;margin:0 0 12px}
 #workspace .pdv-mobile-menu #sideToggle{
   display:inline-flex;
   align-items:center;
   gap:9px;
   min-height:44px;
   padding:10px 14px;
   background:#18251b;
   color:#fff;
   border:1px solid #38503d;
   border-radius:12px;
   font-size:13px;
   font-weight:850;
 }
 #workspace .pdv-mobile-menu #sideToggle:focus-visible{outline:3px solid #ff5963;outline-offset:2px}
}


/* Alternância entre cartões e lista, com preços editáveis no próprio cadastro. */
#workspace .inventory-view-bar{
 display:flex;align-items:center;justify-content:flex-end;gap:10px;
 margin:10px 0 12px;color:#aab8ae;font-size:12px;font-weight:800;
}
#workspace .inventory-view-toggle{
 display:inline-flex;gap:4px;padding:4px;border:1px solid #34483a;
 border-radius:12px;background:#101914;
}
#workspace .inventory-view-button{
 min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:9px;
 background:transparent;color:#c8d3ca;font-size:12px;font-weight:850;cursor:pointer;
}
#workspace .inventory-view-button:hover{border-color:#526b59;color:#fff}
#workspace .inventory-view-button.active{
 background:var(--store-accent,#7c3aed);color:var(--store-accent-ink,#fff);
}
#workspace .inventory-list-wrap{
 width:100%;max-width:100%;margin-top:18px;overflow:auto;
 border:1px solid #304438;border-radius:15px;background:#0d1510;
 box-shadow:0 12px 28px #00000028;
}
#workspace .inventory-list-wrap:focus-visible{outline:3px solid var(--store-accent,#7c3aed);outline-offset:2px}
#workspace .inventory-list-table{
 width:100%;min-width:1040px;border-collapse:separate;border-spacing:0;
 color:#f5faf6;text-align:left;
}
#workspace .inventory-list-table th{
 position:sticky;top:0;z-index:1;padding:13px 12px;
 background:#17231a;color:#bfcec2;border-bottom:1px solid #33473a;
 font-size:11px;font-weight:900;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;
}
#workspace .inventory-list-table td{
 padding:11px 12px;border-bottom:1px solid #26382c;vertical-align:middle;
 font-size:13px;
}
#workspace .inventory-list-table tbody tr:last-child td{border-bottom:0}
#workspace .inventory-list-table tbody tr:hover{background:#132018}
#workspace .inventory-list-product{min-width:180px}
#workspace .inventory-list-product strong{display:block;max-width:240px;overflow-wrap:anywhere;color:#fff;font-size:14px}
#workspace .inventory-list-product small,
#workspace .inventory-list-stock+small{display:block;margin-top:4px;color:#9daf9f;font-size:11px}
#workspace .inventory-online-flag{display:flex;align-items:center;gap:8px;min-width:100px;color:#d8e2da;font-weight:800}
#workspace .inventory-online-flag input{width:19px;height:19px;margin:0;accent-color:var(--store-accent,#7c3aed)}
#workspace .inventory-online-flag input:disabled{opacity:.65}
#workspace .inventory-quick-price-input{
 box-sizing:border-box;width:126px;min-height:40px;padding:8px 10px;
 border:1px solid #3a4f40;border-radius:9px;background:#101914;color:#fff;
 font:inherit;font-size:13px;font-weight:800;color-scheme:dark;
}
#workspace .inventory-quick-price-input:focus{outline:2px solid var(--store-accent,#7c3aed);outline-offset:1px}
#workspace .inventory-quick-price-input:disabled{opacity:.65}
#workspace .inventory-list-stock{display:inline-block;color:#d8e4db;font-weight:850;white-space:nowrap}
#workspace .inventory-list-stock.low{color:#ffd18a}
#workspace .inventory-list-stock.out{color:#ff9eaa}
#workspace .inventory-list-actions{display:flex;align-items:center;gap:7px;min-width:250px}
#workspace .inventory-list-actions button{
 width:auto;min-height:38px;padding:8px 10px;white-space:nowrap;
}
#workspace .inventory-list-actions .inventory-quick-save{
 border-color:var(--store-accent,#7c3aed);background:var(--store-accent,#7c3aed);
 color:var(--store-accent-ink,#fff);font-weight:900;
}
#workspace .content:has(.inventory-list-wrap){background:linear-gradient(145deg,#19100f 0%,#0d110f 35%,#0d120f 100%);border-color:#384238}
@media(max-width:720px){
 #workspace .inventory-view-bar{justify-content:space-between;flex-wrap:wrap}
 #workspace .inventory-list-wrap{margin:14px -4px 0;width:calc(100% + 8px)}
 #workspace .inventory-view-button{min-width:78px}
}

/* Categorias do cadastro: cartões clicáveis acima dos produtos. */
#workspace .inventory-category-section{margin:20px 0 17px}
#workspace .inventory-category-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 10px}
#workspace .inventory-category-heading strong{font-size:17px;color:#fff}
#workspace .inventory-category-heading small{font-size:12px;color:#9cafa1}
#workspace .inventory-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
#workspace .inventory-category-card{display:flex;flex-direction:column;gap:3px;align-items:flex-start;justify-content:center;
 text-align:left;min-width:0;min-height:66px;padding:11px 13px;border:1px solid #30463a;border-radius:13px;
 background:#111d16;color:#f5fbf5;transition:background .15s,border-color .15s,transform .15s}
#workspace .inventory-category-card strong{font-size:14px;font-weight:850;overflow-wrap:anywhere}
#workspace .inventory-category-card small{font-size:11px;color:#a3b9aa}
#workspace .inventory-category-card:hover{border-color:var(--store-accent,#a878ff);transform:translateY(-1px)}
#workspace .inventory-category-card.active{background:color-mix(in srgb,var(--store-accent,#a878ff) 23%,#111d16);
 color:#fff;border-color:var(--store-accent,#a878ff);
 box-shadow:0 0 0 1px color-mix(in srgb,var(--store-accent,#a878ff) 27%,transparent)}
#workspace .inventory-category-card.active small{color:#e4d6fa}
#workspace .inventory-category-card.active strong{color:var(--store-accent,#a878ff)}
#workspace .inventory-category-card:focus-visible{outline:3px solid var(--store-accent,#a878ff);outline-offset:3px}

/* Os cards eram de no mínimo 230px; 174px equivale a ~40% menos largura visual.
   Imagem, tipografia e espaçamento também reduzem proporcionalmente. */
#workspace .inventory-grid.compact{grid-template-columns:repeat(auto-fill,minmax(174px,1fr));gap:11px;margin-top:12px}
#workspace .inventory-grid.compact .inventory-card{border-radius:14px}
#workspace .inventory-grid.compact .inventory-photo-wrap{min-height:105px;aspect-ratio:4/3}
#workspace .inventory-grid.compact .inventory-card-body{padding:10px;gap:8px}
#workspace .inventory-grid.compact .inventory-card-heading small{font-size:10px}
#workspace .inventory-grid.compact .inventory-card-heading h3{font-size:14px;line-height:1.25}
#workspace .inventory-grid.compact .inventory-card-prices>strong{font-size:16px}
#workspace .inventory-grid.compact .inventory-card-prices>small{font-size:10px}
#workspace .inventory-grid.compact .inventory-stock-meta{font-size:10px;gap:3px}
#workspace .inventory-grid.compact .inventory-status{font-size:12px}
#workspace .inventory-grid.compact .inventory-actions button{min-height:36px;font-size:12px;padding:7px 10px}
#workspace .inventory-online-price{display:block;font-size:11px;color:#cfb4ff;font-weight:650}
#workspace .inventory-online-price strong{color:#e5d5ff}
#workspace .menu-price-controls{grid-column:1/-1;background:#19132a;border:1px solid #5f4682;border-radius:13px;padding:12px 15px}
#workspace .menu-price-controls .menu-price-toggle{display:flex;gap:10px;align-items:center;font-size:14px;color:#fff;margin:3px 0 9px}
#workspace .menu-price-controls .menu-price-toggle input{flex:0 0 19px;width:19px;height:19px;margin:0;accent-color:#ad72ff}
#workspace .menu-price-controls>label:not(.menu-price-toggle){margin:8px 0}
#workspace .menu-price-controls>small{display:block;line-height:1.5;margin:9px 0 2px}
@media(max-width:600px){
 #workspace .inventory-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #workspace .inventory-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #workspace .inventory-grid.compact .inventory-photo-wrap{min-height:93px}
 #workspace .inventory-category-heading{gap:5px;flex-direction:column}
}
@media(max-width:360px){
 #workspace .inventory-grid.compact{grid-template-columns:1fr}
}


/* Cadastro: Venda online? Sim exige preço; Não mantém o produto apenas no PDV. */
#workspace .menu-price-controls .online-sale-question{
 display:block;margin:0 0 10px;font-size:15px;font-weight:850;color:#fff
}
#workspace .menu-price-controls .online-sale-question select{
 display:block;width:100%;margin-top:7px;min-height:44px;
 border:1px solid #856cb1;border-radius:10px;padding:8px 11px;
 color:#fff;background:#25193d;font-size:14px;font-weight:700;
}
#workspace .menu-price-controls .online-sale-price{padding:12px;border:1px solid #4d4270;border-radius:11px;background:#1f1834;margin-bottom:10px}
#workspace .menu-price-controls .online-sale-price label{margin:0 0 7px;display:block}
#workspace .menu-price-controls .online-sale-price>small{display:block;line-height:1.5}
#workspace .inventory-online-status{font-size:11px;color:#bdedce;font-weight:750;line-height:1.4}
#workspace .inventory-online-status.offline{color:#f4b7b7}


/* Identidade do lojista aplicada à coluna de navegação, respeitando plano Premium. */
#workspace .side{
 background:linear-gradient(155deg,color-mix(in srgb,var(--store-accent,#7c3aed) 12%,#0b110d),#090d0a 72%);
 border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 33%,#26372b);
}
#workspace .side-store{border-bottom-color:color-mix(in srgb,var(--store-accent,#7c3aed) 29%,#27342d)}
#workspace .side #nav nav button.active{
 background:linear-gradient(110deg,var(--store-accent,#7c3aed),color-mix(in srgb,var(--store-accent,#7c3aed) 74%,#101010));
 border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 75%,#fff);
 box-shadow:0 9px 24px color-mix(in srgb,var(--store-accent,#7c3aed) 25%,transparent);
 color:var(--store-accent-ink,#fff);
}
#workspace .side #nav nav button:hover:not(.active){border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 42%,#29392d)}
#workspace .side .side-settings.active{color:var(--store-accent,#7c3aed)}
#workspace .side .side-action:focus-visible,
#workspace .side #nav nav button:focus-visible,
#workspace .side .side-settings:focus-visible{outline-color:var(--store-accent,#7c3aed)}
#workspace .side .side-action:hover{border-color:var(--store-accent,#7c3aed)}
#workspace .pdv-mobile-menu #sideToggle{border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 50%,#38503d)}

/* Pedidos online iniciados no cardápio público, com pagamento manual. */
#workspace .online-order-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0}
#workspace .online-order-stats .tile{background:#121d17;border-color:#354739}
#workspace .online-order-notice{font-size:13px;line-height:1.55;margin:4px 0 16px;padding:11px 13px;border-left:3px solid var(--store-accent,#7c3aed);background:#15161a;border-radius:0 8px 8px 0}
#workspace .online-order-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
#workspace .online-order-card{min-width:0;background:linear-gradient(155deg,#101b15,#0d130f);border:1px solid #37513c;border-radius:16px;padding:17px;display:flex;flex-direction:column;gap:13px}
#workspace .online-order-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
#workspace .online-order-top small{display:block;color:#a4b6aa;font-size:11px}
#workspace .online-order-top h3{margin:5px 0 0;color:#fff;font-size:19px;overflow-wrap:anywhere}
#workspace .online-order-total{color:#fff;font-size:23px;white-space:nowrap}
#workspace .online-order-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#workspace .online-order-details>div{display:flex;flex-direction:column;gap:3px}
#workspace .online-order-details span{font-size:11px;color:#a0b2a5}
#workspace .online-order-details strong{font-size:13px;color:#f5faf5;overflow-wrap:anywhere}
#workspace .online-order-phone{color:#b2ebd4;text-decoration:underline}
#workspace .online-order-address,#workspace .online-order-notes{padding:10px 12px;background:#1d2820;border:1px solid #3b513e;border-radius:10px;color:#e4eee7;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}
#workspace .online-order-items{border-top:1px solid #36503d;border-bottom:1px solid #36503d;padding:10px 0;display:grid;gap:7px}
#workspace .online-order-items>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#e6eee8}
#workspace .online-order-items>div span{overflow-wrap:anywhere}
#workspace .online-order-items>div strong{white-space:nowrap}
#workspace .online-order-fees{font-size:11px;color:#a2b1a6;margin:0}
#workspace .online-order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto}
#workspace .online-status-block{min-width:0;display:flex;flex-direction:column;gap:9px;border:1px solid #3c5442;background:#152018;border-radius:12px;padding:12px}
#workspace .online-status-title{font-size:12px;font-weight:850;color:#ecf5ee}
#workspace .online-state-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;border:1px solid #53785e;border-radius:999px;padding:6px 10px;color:#b9f5c7;background:#1e3824;font-size:12px;font-weight:750}
#workspace .online-state-pill.is-done{background:#14362f;color:#90f6d4;border-color:#3c957e}
#workspace .online-state-pill.is-cancelled{background:#3c1c25;color:#ffd0d9;border-color:#974358}
#workspace .online-status-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#workspace .online-status-controls button{min-height:40px;flex:1 1 125px;padding:9px 11px;font-size:12px;font-weight:800;border-radius:9px;cursor:pointer}
#workspace .online-status-controls .online-advance{background:var(--store-accent,#7c3aed);color:var(--store-accent-ink,#fff);border:1px solid var(--store-accent,#7c3aed)}
#workspace .online-status-controls .online-cancel{color:#ffd7dc;background:rgba(146,40,55,.13);border:1px solid #b15d6a}
#workspace .online-status-controls button:disabled{opacity:.48;cursor:not-allowed}
#workspace .online-status-controls button:focus-visible{outline:3px solid var(--store-accent,#7c3aed);outline-offset:2px}
#workspace .online-status-end{font-size:12px;font-weight:750;color:#d8e5dc;flex:1 1 125px}
#workspace .online-order-details .online-phone-line{display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:nowrap;min-width:0}#workspace .online-order-details .online-order-phone{flex:0 1 auto;min-width:0;overflow-wrap:anywhere}#workspace .online-order-details .online-order-whatsapp{margin:0}
#workspace .online-order-whatsapp{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;color:#25D366;text-decoration:none;border-radius:50%;transition:background-color .15s}
#workspace .online-order-whatsapp:hover{background:rgba(37,211,102,.13)}
#workspace .online-order-whatsapp:focus-visible{outline:3px solid var(--store-accent,#7c3aed);outline-offset:2px}
#workspace .online-order-whatsapp svg{display:block}
@media(max-width:750px){
 #workspace .online-order-actions{grid-template-columns:1fr}
 #workspace .online-order-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workspace .online-order-stats .tile:last-child{grid-column:1/-1}
 #workspace .online-order-list{grid-template-columns:1fr}
}
@media(max-width:440px){
 #workspace .online-order-card{padding:12px;gap:10px}
 #workspace .online-order-details{grid-template-columns:1fr 1fr}
 #workspace .online-order-top h3{font-size:17px}
 #workspace .online-order-total{font-size:19px}
}


/* Pedidos online compactos: três colunas no desktop. */
#workspace .online-order-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
#workspace .online-order-card{padding:13px;gap:9px;border-radius:13px}
#workspace .online-order-section{min-width:0}
#workspace .online-order-top h3{font-size:17px;margin-top:2px}
#workspace .online-order-products h4,#workspace .online-order-section h4{font-size:12px}
#workspace .online-order-overview,#workspace .online-order-payment-meta{gap:7px}
#workspace .online-state-pill{font-size:10px;padding:4px 7px;white-space:normal;width:fit-content}
#workspace .online-order-items{border:1px solid #4d8662;border-radius:10px;background:#193325;padding:10px;gap:5px;margin-top:7px}
#workspace .online-order-items h5{color:#b2f9cb;margin:0 0 4px;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:900}
#workspace .online-order-items .online-order-item{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid #376348}
#workspace .online-order-items .online-order-item:last-child{border-bottom:0}
#workspace .online-order-item-name{font-weight:850;font-size:13px;color:#fff;line-height:1.35;min-width:0}
#workspace .online-order-item-qty{display:inline-block;color:#a8f5c5;font-size:15px;margin-right:4px}
#workspace .online-order-items .online-order-item>strong{font-size:12px;color:#cbfbd8;white-space:nowrap}
#workspace .online-order-total{font-size:19px}
#workspace .online-order-actions{grid-template-columns:1fr;gap:8px}
#workspace .online-status-block{padding:9px;gap:6px}
#workspace .online-status-controls button{min-height:34px;padding:7px 8px;font-size:11px}
#workspace .online-order-address,#workspace .online-order-notes{padding:8px;font-size:12px}
@media(max-width:1350px){#workspace .online-order-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){#workspace .online-order-list{grid-template-columns:1fr}}
@media(max-width:440px){#workspace .online-order-card{padding:12px}}

.courier-password-match{display:block;min-height:1.25em;margin-top:5px;font-size:12px;font-weight:700}
.courier-password-match.is-mismatch{color:#ff7777}
.courier-password-match.is-match{color:#8ee6a4}
input[name="login_password_confirm"]:invalid{border-color:#ff7777}
/* Relatórios de vendas: filtros de período, totais e linha detalhada por produto. */
/* Barra única e alinhada para Dia / Semana / Mês, data e Atualizar. */
#workspace .sales-report-controls{
 --sales-filter-height:50px;
 --sales-filter-surface:#20152f;
 --sales-filter-border:#594477;
 display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:17px 0;
}
#workspace .sales-period-switch{
 display:inline-flex;align-items:center;flex:0 0 auto;
 height:var(--sales-filter-height);box-sizing:border-box;
 gap:3px;padding:4px;border:1px solid var(--sales-filter-border);
 background:var(--sales-filter-surface);border-radius:12px;
}
#workspace .sales-period-switch button{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 height:40px;min-height:40px;padding:0 17px;border:0;border-radius:9px;
 background:transparent;color:#d5c6e7;font-size:13px;font-weight:800;
 white-space:nowrap;
}
#workspace .sales-period-switch button.active{
 background:var(--store-accent,#7c3aed);color:var(--store-accent-ink,#fff);
}
#workspace .sales-report-controls>label{
 display:flex;flex-direction:column;gap:6px;min-width:160px;margin:0;
 color:#e2d6f2;font-size:12px;font-weight:800;line-height:1.2;
}
#workspace .sales-report-controls input[type="date"]{
 width:100%;height:var(--sales-filter-height);min-height:var(--sales-filter-height);
 min-width:0;box-sizing:border-box;margin:0;padding:0 12px;
 color:#fff;border:1px solid var(--sales-filter-border);border-radius:12px;
 background:var(--sales-filter-surface);color-scheme:dark;font-size:13px;font-weight:800;
}
#workspace .sales-report-controls>[data-sales-refresh]{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 height:var(--sales-filter-height);min-height:var(--sales-filter-height);
 margin:0;padding:0 17px;border:1px solid var(--sales-filter-border);
 border-radius:12px;background:var(--sales-filter-surface);
 color:#f4eaff;font-size:13px;font-weight:800;white-space:nowrap;
}
#workspace .sales-report-controls>[data-sales-refresh]:hover,
#workspace .sales-report-controls input[type="date"]:hover{
 border-color:#a36cdc;background:#291b3c;
}
#workspace .sales-period-switch button:focus-visible,
#workspace .sales-report-controls>[data-sales-refresh]:focus-visible,
#workspace .sales-report-controls input[type="date"]:focus-visible{
 outline:3px solid #c795ff;outline-offset:2px;
}
#workspace .sales-period-label{margin:5px 0 13px;color:#b6a5c6;font-size:13px}
#workspace .sales-period-totals{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin:12px 0 16px}
#workspace .sales-period-totals .tile{background:#171c16;border-color:#3b5340}
#workspace .sales-period-totals .tile strong{font-size:clamp(20px,2vw,27px)}
#workspace .sales-disclaimer{padding:10px 12px;border-left:3px solid #af86e6;border-radius:0 8px 8px 0;background:#1e1728;color:#d6c4e6;font-size:12px;line-height:1.55;margin:8px 0 17px}
#workspace .sales-day{border:1px solid #3b4f41;border-radius:15px;background:#0e1712;overflow:hidden;margin:18px 0}
#workspace .sales-day-heading{display:flex;justify-content:space-between;align-items:center;gap:10px 20px;flex-wrap:wrap;padding:15px 17px;border-bottom:1px solid #3b4f41;background:#17251b}
#workspace .sales-day-heading h3{font-size:18px;color:#fff;margin:0 0 4px;text-transform:capitalize}
#workspace .sales-day-heading small{font-size:11px;color:#a2b5a5}
#workspace .sales-day-summary{display:flex;gap:8px 18px;flex-wrap:wrap;color:#b3c3b7;font-size:12px}
#workspace .sales-day-summary strong{font-size:15px;color:#eaffee}
#workspace .sales-table-wrap{width:100%;overflow-x:auto}
#workspace .sales-table{border-collapse:collapse;width:100%;min-width:755px;font-size:12px;color:#e4f1e7}
#workspace .sales-table th,#workspace .sales-table td{padding:11px 12px;border-bottom:1px solid #24392b;text-align:left;white-space:nowrap}
#workspace .sales-table th{background:#102017;color:#a2c2ae;font-size:11px;font-weight:850}
#workspace .sales-table tr:last-child td{border-bottom:0}
#workspace .sales-table td:nth-child(2){white-space:normal;min-width:140px}
#workspace .sales-table td:nth-child(2) strong{display:block;color:#fff;overflow-wrap:anywhere}
#workspace .sales-table td:nth-child(2) small{display:block;color:#a5bda9;margin-top:3px}
#workspace .sales-table td.sales-profit{color:#72ec9d;font-weight:850}

/* Estoque integrado a Produtos: reposição para ultrapassar o mínimo cadastrado. */
#workspace .restock-section{border:1px solid #486344;border-radius:16px;background:linear-gradient(155deg,#17261a,#0d1811 76%);padding:17px;margin:18px 0}
#workspace .restock-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap;margin-bottom:13px}
#workspace .restock-heading h3{font-size:19px;color:#fff;margin:0 0 6px}
#workspace .restock-heading p{color:#a8b9aa;font-size:12px;line-height:1.5;margin:0}
#workspace .restock-total{display:flex;flex-direction:column;gap:3px;align-items:flex-end;text-align:right}
#workspace .restock-total small{font-size:11px;color:#b9c8bd}
#workspace .restock-total strong{color:#80efaf;font-size:23px}
#workspace .restock-list{display:grid;gap:8px}
#workspace .restock-item{display:grid;grid-template-columns:minmax(180px,2fr) minmax(65px,.7fr) minmax(95px,.8fr) minmax(120px,1fr);gap:12px;align-items:center;padding:11px 13px;border-radius:11px;background:#101d14;border:1px solid #37513d}
#workspace .restock-item>div{display:grid;gap:5px;min-width:0}
#workspace .restock-item>div>small{font-size:11px;color:#9bb4a0}
#workspace .restock-item>div>strong{font-size:13px;color:#f1f9f2;overflow-wrap:anywhere}
#workspace .restock-name strong{font-size:15px!important}
#workspace .restock-note{font-size:11px;line-height:1.6;margin:12px 0 0}
@media(max-width:750px){
 #workspace .sales-report-controls>.sales-period-switch{flex:1 1 100%;justify-content:space-evenly}
 #workspace .sales-period-switch button{flex:1}
 #workspace .sales-report-controls>label{flex:1 1 165px}
 #workspace .sales-report-controls>[data-sales-refresh]{flex:0 0 auto}
 #workspace .restock-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #workspace .restock-item>div:first-child{grid-column:1/-1;border-bottom:1px solid #273c2b;padding-bottom:8px}
 #workspace .restock-total{align-items:flex-start;text-align:left}
}
@media(max-width:440px){
 #workspace .sales-period-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workspace .sales-day-heading{padding:12px}
 #workspace .sales-day-summary{display:grid}
 #workspace .restock-section{padding:12px}
 #workspace .restock-item{gap:10px}
}

@media(max-width:390px){
 #workspace .sales-report-controls>label,
 #workspace .sales-report-controls>[data-sales-refresh]{flex:1 1 100%}
}

#workspace .online-order-notification-link{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:42px;text-decoration:none;color:#fff;font-size:12px;font-weight:800;border-color:var(--store-accent,#7c3aed)}

#workspace .online-notification-optout{grid-column:1/-1;width:100%;min-height:36px;font-size:12px;color:#f9d5db;border-color:#8b5060;background:transparent}

/* Pedido do cardápio vinculado à logística Premium. */
#workspace .online-order-dispatch{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 12px;color:#d5f5e0;background:rgba(41,113,72,.14);border:1px solid #438158;border-radius:10px;font-size:12px;font-weight:800}
#workspace .online-order-dispatch:focus-visible{outline:3px solid var(--store-accent,#7c3aed);outline-offset:2px}

/* Finalização manual pelo lojista, disponível nos planos Básico e Premium. */
#workspace .online-status-controls .online-manual-finish{background:rgba(38,132,79,.16);color:#d3ffe4;border:1px solid #3b9965}
#workspace .online-status-controls .online-manual-finish:hover{background:rgba(38,132,79,.27)}

/* Os planos compartilham a mesma loja; upgrade altera apenas permissões. */
#workspace .plan-management{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0 0 18px;padding:17px 18px;border:1px solid #4b5e52;border-radius:14px;background:#17221b}
#workspace .plan-management h3{margin:0;font-size:18px}
#workspace .plan-management p{margin:0;line-height:1.5}
#workspace .plan-management .plan-management-pending{color:#a7f3d0;font-size:13px;font-weight:750}
#workspace .plan-management .plan-request-button,#workspace .plan-management .plan-contact{display:inline-flex;justify-content:center;align-items:center;min-height:42px;max-width:100%;padding:10px 14px;border:1px solid var(--store-accent,#7c3aed);border-radius:10px;color:#fff;background:#2b3540;text-decoration:none;font-weight:800;cursor:pointer}
#workspace .plan-management .plan-request-button:focus-visible,#workspace .plan-management .plan-contact:focus-visible{outline:3px solid var(--store-accent,#7c3aed);outline-offset:3px}
@media(max-width:500px){#workspace .plan-management{padding:14px 12px}#workspace .plan-management .plan-request-button,#workspace .plan-management .plan-contact{width:100%}}

/* Cardápio e pedidos online indisponíveis no Básico, sem qualquer ação ao clicar. */
#workspace .side #nav nav button.side-public-menu.locked:disabled{opacity:.64;cursor:not-allowed;border-style:dashed;pointer-events:none}
#workspace .side #nav nav button.side-public-menu.locked:disabled:hover{background:inherit;transform:none}
#workspace .online-sale-locked{display:grid;gap:4px;padding:12px;border:1px solid #58614c;border-radius:11px;color:#f3df97;background:#201f15}
#workspace .online-sale-locked small{color:#c9c4aa;font-size:12px}
#workspace .public-link-tile.is-locked{border-style:dashed}
.mode-options .mode-option.locked:disabled{opacity:.64;border-style:dashed;cursor:not-allowed;pointer-events:none}
.mode-options .mode-option.locked .mode-option-cta{color:#efdb91}
.mode-premium-label{display:inline-block;margin-left:6px;vertical-align:middle;padding:4px 7px;font-size:10px;font-weight:900;letter-spacing:.04em;border-radius:6px;color:#ffefb6;background:#382d12}


/* Comprovante comercial: prévia acessível; tamanhos térmicos e A4 são formatados na exportação. */
body.receipt-open{overflow:hidden}
.receipt-overlay{position:fixed;inset:0;display:grid;place-items:center;background:#06030bdd;z-index:220;padding:15px}
.receipt-dialog{width:min(600px,100%);max-height:94dvh;display:flex;flex-direction:column;gap:10px;overflow:hidden;background:#191024;border:1px solid #6c5292;border-radius:18px;padding:18px;box-shadow:0 18px 65px #0009}
.receipt-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.receipt-dialog-head h2{font-size:23px;margin:0}
.receipt-dialog-head p{font-size:12px;color:#c0b1d5;margin:6px 0 0}
.receipt-dialog-head [data-receipt-close]{font-size:22px;min-width:44px;min-height:44px}
.receipt-content{min-height:0;overflow:auto;padding:15px 8px;background:#e6e4e7;border-radius:12px}
.receipt-dialog .receipt-paper{max-width:340px;margin:0 auto;background:#fff;color:#151515;padding:18px 13px;font:12px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
.receipt-paper .receipt-shop,.receipt-paper>h3,.receipt-paper .receipt-subtitle,.receipt-paper .receipt-footer,.receipt-paper .receipt-legal{text-align:center}
.receipt-paper .receipt-shop strong{font-size:16px}
.receipt-paper .receipt-shop p{font-size:11px;margin:4px 0;color:#111}
.receipt-paper>h3{font-size:13px;margin:13px 0 2px;color:#111}
.receipt-paper .receipt-subtitle{font-size:10px;font-weight:800;margin:0 0 12px;color:#111}
.receipt-paper .receipt-meta{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px dashed #aaa}
.receipt-paper .receipt-meta strong{text-align:right;min-width:0;overflow-wrap:anywhere}
.receipt-paper .receipt-items{width:100%;table-layout:fixed;border-collapse:collapse;margin:13px 0;font-size:inherit}
.receipt-paper .receipt-items th,.receipt-paper .receipt-items td{padding:6px 2px;border-bottom:1px dotted #aaa;text-align:right;vertical-align:top;overflow-wrap:anywhere}
.receipt-paper .receipt-items th:nth-child(1),.receipt-paper .receipt-items td:nth-child(1){width:12%;text-align:left}
.receipt-paper .receipt-items th:nth-child(2),.receipt-paper .receipt-items td:nth-child(2){width:40%;text-align:left}
.receipt-paper .receipt-items th:nth-child(3),.receipt-paper .receipt-items td:nth-child(3){width:24%}
.receipt-paper .receipt-items th:nth-child(4),.receipt-paper .receipt-items td:nth-child(4){width:24%}
.receipt-paper .receipt-grand{font-size:15px;font-weight:900;border-block:2px solid #111}
.receipt-paper .receipt-legal{font-size:10px;margin:14px 0 2px;color:#333}
.receipt-paper .receipt-warning{font-weight:800;border:1px solid #555;padding:7px}
.receipt-paper .receipt-footer{margin:20px 0 7px;font-weight:850}
.receipt-dialog-actions{display:flex;gap:8px;flex-wrap:wrap}
.receipt-dialog-actions>*{flex:1 1 auto}
#workspace .receipt-settings-panel{margin:18px 0;padding:19px;border:1px solid #594579;border-radius:16px;background:#1d152e}
#workspace .receipt-settings-panel h3{margin:0 0 8px}
#workspace .receipt-settings-panel .receipt-settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
#workspace .receipt-settings-panel .receipt-settings-fields>label{margin:0}
#workspace .receipt-settings-panel input,#workspace .receipt-settings-panel select{width:100%;min-height:43px}
#workspace .receipt-settings-panel .receipt-settings-check{display:flex;align-items:center;gap:8px;grid-column:1/-1}
#workspace .receipt-settings-panel .receipt-settings-check input{width:18px;min-height:0;flex:0 0 18px;margin:0}
#workspace .pdv-last-receipt{width:100%;margin-top:9px;text-align:center}
@media(max-width:550px){.receipt-dialog{padding:12px}.receipt-dialog-actions{flex-direction:column}.receipt-dialog-actions>*{width:100%}#workspace .receipt-settings-panel .receipt-settings-fields{grid-template-columns:1fr}}

/* Editor de logo Premium diretamente na aba Meu cardápio. */
#workspace .menu-logo-editor{margin:15px 0;border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 45%,#503865)}
#workspace .menu-logo-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
#workspace .menu-logo-editor-heading h3{margin:0 0 5px}
#workspace .menu-logo-editor-heading p{margin:0;max-width:58ch;line-height:1.45}
#workspace .menu-logo-editor-preview{display:block;width:88px;height:88px;flex:0 0 88px;object-fit:contain;border-radius:13px;background:#0f0d17;padding:6px}
#workspace .menu-logo-editor form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
#workspace .menu-logo-editor form>label{display:flex;flex:1 1 240px;flex-direction:column;gap:7px;margin:0;font-size:13px}
#workspace .menu-logo-editor form input[type=file]{width:100%;min-width:0;background:#181226;color:#f2eaff;padding:10px;border:1px solid #64468c;border-radius:10px}
#workspace .menu-logo-editor form .menu-logo-remove{display:flex;flex:0 1 auto;flex-direction:row;align-items:center;gap:8px}
#workspace .menu-logo-editor form .menu-logo-remove input{width:17px;height:17px;accent-color:var(--store-accent,#7c3aed)}
@media(max-width:540px){#workspace .menu-logo-editor-heading{gap:9px}#workspace .menu-logo-editor-preview{width:64px;height:64px;flex-basis:64px}#workspace .menu-logo-editor form .button{width:100%}}

/* Identidade e modelo de cardápio configuráveis no painel Premium. */
#workspace .menu-layout-settings{margin:15px 0;border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 48%,#55406d)}
#workspace .menu-layout-settings h3{margin:0 0 7px}
#workspace .menu-layout-settings>.muted{margin:0 0 18px}
#workspace .menu-layout-settings .menu-layout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
#workspace .menu-layout-settings .menu-layout-fields>label{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0}
#workspace .menu-layout-settings .menu-layout-fields select,#workspace .menu-layout-settings .menu-layout-fields input[type=text],#workspace .menu-layout-settings .menu-layout-fields input[type=color]{min-height:46px;width:100%;background:#151020;border:1px solid #735394;border-radius:10px;color:#fff;padding:9px}
#workspace .menu-layout-settings .menu-layout-fields input[type=color]{padding:5px 8px;cursor:pointer}
#workspace .menu-layout-settings .menu-layout-fields small{font-size:11px;color:#c3b4d2;line-height:1.45}
#workspace .menu-layout-subtitle{margin:0;display:flex;flex-wrap:wrap;gap:15px;align-items:center;border:1px solid #604979;border-radius:10px;padding:10px 14px}
#workspace .menu-layout-subtitle legend{padding:0 6px;font-size:13px}
#workspace .menu-layout-subtitle label{display:inline-flex;align-items:center;gap:6px}
#workspace .menu-layout-subtitle input{accent-color:var(--store-accent,#7c3aed)}
#workspace #settingsForm:has(input[name=show_logo_subtitle][value=false]:checked) .menu-layout-tagline{opacity:.65}
#workspace .menu-layout-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#workspace .menu-layout-actions .ghost{display:inline-flex;align-items:center;padding:11px 15px;text-decoration:none}
@media(max-width:650px){#workspace .menu-layout-settings .menu-layout-fields{grid-template-columns:1fr}#workspace .menu-layout-actions{flex-direction:column;align-items:stretch}#workspace .menu-layout-actions>*{width:100%;justify-content:center;text-align:center}}

/* COR DO SITE: identidade da loja vinculada a --store-accent em toda a área operacional.
   Cores semânticas de erro/sucesso/estoque não são substituídas. */
#workspace{
 --accent:var(--store-accent,#7c3aed);
 --accent-ink:var(--store-accent-ink,#fff);
 --line:color-mix(in srgb,var(--store-accent,#7c3aed) 24%,#323238);
 --panel2:color-mix(in srgb,var(--store-accent,#7c3aed) 9%,#15131c);
 accent-color:var(--store-accent,#7c3aed);
}
#workspace a:focus-visible,#workspace button:focus-visible,#workspace input:focus-visible,
#workspace select:focus-visible,#workspace textarea:focus-visible{
 outline:2px solid var(--store-accent,#7c3aed);
 outline-offset:2px;
}
#workspace .button,#workspace .pdv-product .pdv-add,
#workspace .inventory-actions button,#workspace .stock-row .actions button{
 background:var(--store-accent,#7c3aed);
 color:var(--store-accent-ink,#fff);
 border-color:var(--store-accent,#7c3aed);
}
#workspace .button:hover,#workspace .pdv-product .pdv-add:hover{
 filter:brightness(1.12);
}
#workspace .ghost,#workspace .data-form,#workspace .menu-editor-panel,
#workspace .pdv-panel,#workspace .online-order-card,#workspace .courier-card,
#workspace .orders-premium{
 border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 35%,#3d3744);
}
#workspace .ghost:hover,#workspace .item button:hover,#workspace .side .side-action:hover{
 border-color:var(--store-accent,#7c3aed);
}
#workspace .side #nav nav button.active{
 background:var(--store-accent,#7c3aed);
 color:var(--store-accent-ink,#fff);
 border-color:var(--store-accent,#7c3aed);
 box-shadow:0 7px 25px color-mix(in srgb,var(--store-accent,#7c3aed) 25%,transparent);
}
#workspace .side #nav nav button.active .side-nav-icon{filter:none}
#workspace .side-logo,#workspace .side .side-action,
#workspace .side .side-settings:focus-visible,
#workspace .pdv-mobile-menu #sideToggle:focus-visible{
 border-color:var(--store-accent,#7c3aed);
}
#workspace .side #nav nav a.side-public-menu .side-external-icon,
#workspace .inventory-kicker,#workspace .pdv-product-price,
#workspace .price:not(.inventory-card-prices),#workspace .menu-editor-meta small{
 color:var(--store-accent,#7c3aed);
}
#workspace .inventory-card:hover,#workspace .pdv-product:hover,
#workspace .inventory-category-card.active,#workspace .inventory-category-card:hover,
#workspace .category-image-setting-row:hover,#workspace .menu-editor-meta button:hover{
 border-color:var(--store-accent,#7c3aed);
}
#workspace .pdv-sale-qty button,#workspace .item .actions button,
#workspace .category-image-actions button{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 22%,#11131a);
 border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 50%,#37313c);
 color:#f8f8fa;
}
#workspace .menu-layout-settings .menu-layout-fields input[type=color],
#workspace .menu-layout-settings .menu-layout-fields select,
#workspace .data-form input:focus,#workspace .data-form select:focus{
 border-color:var(--store-accent,#7c3aed);
}

/* Seletor compacto de cor nas Configurações da loja (não altera os outros inputs). */
#workspace #settingsForm input[type="color"][name="brand_color"]{
 display:block;
 width:82px;
 max-width:82px;
 height:42px;
 min-height:42px;
 padding:4px;
 border-radius:10px;
 cursor:pointer;
}

/* Único botão de salvar no fim das Configurações. */
#workspace #settingsForm .settings-save-button{display:block;width:min(100%,260px);margin:24px 0 4px;padding:12px 22px;font-weight:800}
@media(max-width:540px){#workspace #settingsForm .settings-save-button{width:100%}}

/* Acesso dos motoboys: link individual visível e compartilhamento ao lado do cadastro. */
#workspace .courier-access-item{align-items:center;gap:14px}
#workspace .courier-access-info{flex:1 1 240px;min-width:0}
#workspace .courier-access-label{margin:9px 0 4px;font-size:12px;font-weight:700;color:var(--text)}
#workspace .courier-access-url{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;color:var(--store-accent,#a78bfa);text-decoration:underline;text-underline-offset:3px;font-size:13px}
#workspace .courier-access-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
#workspace .courier-access-actions .button,#workspace .courier-access-actions .ghost{min-height:38px;padding:9px 12px}
@media(max-width:540px){#workspace .courier-access-item{align-items:stretch}#workspace .courier-access-actions{justify-content:stretch}#workspace .courier-access-actions .button,#workspace .courier-access-actions .ghost{flex:1 1 auto}}

/* Pedidos online: número, produtos, pagamentos, cliente e ações em ordem de leitura. */
#workspace .online-order-card{gap:0;padding:0;overflow:hidden}
#workspace .online-order-top{padding:19px 21px 16px;border-bottom:1px solid #36503d}
#workspace .online-order-identifier{display:flex;align-items:baseline;column-gap:12px;row-gap:3px;flex-wrap:wrap}
#workspace .online-order-eyebrow{display:block;font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--store-accent,#a78bfa);font-weight:850}
#workspace .online-order-top h3{margin:0;font-size:25px;letter-spacing:.01em}
#workspace .online-order-top small{font-size:12px}
#workspace .online-order-section{padding:17px 21px;border-bottom:1px solid #314537;min-width:0}
#workspace .online-order-section h4,#workspace .online-order-actions-heading{font-size:13px;letter-spacing:.035em;font-weight:850;color:#effaf1;margin:0 0 13px}
#workspace .online-order-overview,#workspace .online-order-payment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:15px}
#workspace .online-order-overview>div,#workspace .online-order-payment-meta>div{display:flex;align-items:flex-start;flex-direction:column;gap:6px;min-width:0}
#workspace .online-order-overview span,#workspace .online-order-payment-meta span{font-size:11px;color:#a0b2a5}
#workspace .online-order-overview strong:not(.online-state-pill),#workspace .online-order-payment-meta strong:not(.online-state-pill){font-size:14px;color:#f5faf5;overflow-wrap:anywhere}
#workspace .online-order-products .online-order-items{margin-top:2px;padding:10px 0 0;border-top:1px solid #36503d;border-bottom:0}
#workspace .online-order-products .online-order-notes{margin-top:10px}
#workspace .online-order-payment .online-order-fees{display:flex;flex-wrap:wrap;gap:5px 22px;margin:1px 0 13px;color:#bbcbc0;font-size:12px}
#workspace .online-order-fees span{display:inline-flex;gap:5px}
#workspace .online-order-fees strong{color:#e8f4eb;font-weight:650}
#workspace .online-order-total-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #36503d;padding:12px 0 0}
#workspace .online-order-total-row>span{color:#ebf7ee;font-size:13px;font-weight:800}
#workspace .online-order-total-row .online-order-total{font-size:28px}
#workspace .online-order-customer h3{color:#fff;font-size:20px;margin:0 0 12px;overflow-wrap:anywhere}
#workspace .online-order-customer .online-order-details{grid-template-columns:1fr}
#workspace .online-order-customer .online-order-address{margin-top:13px}
#workspace .online-order-actions{margin-top:0;padding:18px 21px 20px;align-items:stretch}
#workspace .online-order-actions-heading{grid-column:1/-1;margin-bottom:0}
#workspace .online-order-actions .online-status-block{background:color-mix(in srgb,var(--store-accent,#7c3aed) 6%,#152018);justify-content:flex-start}
#workspace .online-order-actions .online-order-dispatch,#workspace .online-order-actions .online-notification-optout,#workspace .online-order-actions .online-order-notification-link{grid-column:1/-1}
@media(max-width:750px){
 #workspace .online-order-actions{grid-template-columns:1fr}
 #workspace .online-order-overview,#workspace .online-order-payment-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:440px){
 #workspace .online-order-top{padding:16px}
 #workspace .online-order-section{padding:15px 16px}
 #workspace .online-order-actions{padding:16px;gap:10px}
 #workspace .online-order-top h3{font-size:22px}
 #workspace .online-order-total-row .online-order-total{font-size:24px}
}

/* Agrupamento de vendas por carrinho: identificação #1, #2 por dia. */
#workspace .sales-checkouts{display:grid;gap:13px;padding:15px}
#workspace .sales-checkout{background:#131e18;border:1px solid #405b47;border-radius:12px;overflow:hidden;min-width:0}
#workspace .sales-checkout-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 16px;background:#1b3022;border-bottom:1px solid #405b47}
#workspace .sales-checkout-identification{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
#workspace .sales-checkout-identification strong{font-size:17px;color:#fff}
#workspace .sales-checkout-identification span{font-size:12px;color:#b7d0be}
#workspace .sales-checkout-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#c3d5c7;font-size:12px}
#workspace .sales-checkout-meta strong{font-size:17px;color:#fff}
#workspace .sales-checkout .sales-table{min-width:550px}
#workspace .sales-checkout-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 22px;border-top:1px solid #405b47;background:#17271d;padding:12px 16px;color:#c8dccc;font-size:12px}
#workspace .sales-checkout-footer strong{color:#fff;font-size:14px}
#workspace .sales-checkout-empty{margin:0;padding:14px 16px;color:#becfc2;font-size:12px}
@media(max-width:550px){
 #workspace .sales-checkouts{padding:9px;gap:10px}
 #workspace .sales-checkout-heading{padding:12px}
 #workspace .sales-checkout-footer{padding:11px 12px}
 #workspace .sales-checkout-meta strong{font-size:16px}
}

/* Exportação gerencial de vendas: cinco indicadores e lista completa do período. */
#workspace .sales-period-totals{grid-template-columns:repeat(5,minmax(135px,1fr))}
#workspace .sales-export-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 13px}
#workspace .sales-export-actions button{min-height:44px;padding:11px 16px;border-radius:11px;font-size:13px;font-weight:750}
#workspace .sales-records-section{margin:15px 0 19px;padding:17px;border:1px solid #46604a;border-radius:15px;background:#101d15}
#workspace .sales-records-section h3{font-size:19px;margin:0 0 6px;color:#fff}
#workspace .sales-records-section>p{margin:0 0 13px}
#workspace .sales-records-scroll{max-width:100%;overflow-x:auto;border-radius:10px;border:1px solid #3a503f}
#workspace .sales-records-table{width:100%;border-collapse:collapse;min-width:690px;font-size:12px}
#workspace .sales-records-table th,#workspace .sales-records-table td{padding:12px 13px;text-align:right;border-bottom:1px solid #293b2e}
#workspace .sales-records-table th{color:#bad1bf;background:#1a2a1d;white-space:nowrap;font-weight:800}
#workspace .sales-records-table th:nth-child(-n+2),#workspace .sales-records-table td:nth-child(-n+2){text-align:left}
#workspace .sales-records-table tr:last-child td{border-bottom:0}
#workspace .sales-records-table td strong{color:#fff}
#workspace .sales-records-table .sales-record-profit{color:#79eea3;font-weight:800}
@media(max-width:1000px){#workspace .sales-period-totals{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}
@media(max-width:540px){
 #workspace .sales-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 #workspace .sales-export-actions button{padding:10px 6px;font-size:12px}
 #workspace .sales-records-section{padding:12px}
}
@media(max-width:350px){#workspace .sales-export-actions{grid-template-columns:1fr}}

/* Regularização de taxas históricas de cartão (sem alterar outras vendas). */
#workspace .sales-fee-editor{display:flex;flex-wrap:wrap;align-items:flex-end;gap:9px 12px;padding:13px 16px;border-top:1px solid #644b37;background:#292119}
#workspace .sales-fee-editor label{flex:0 1 245px;display:grid;gap:6px;font-size:12px;font-weight:700;color:#f6dfb5}
#workspace .sales-fee-editor input{width:100%;min-height:40px;background:#170f16;border:1px solid #9a7444;border-radius:9px;color:#fff;padding:8px 10px}
#workspace .sales-fee-editor button{min-height:40px;cursor:pointer}
#workspace .sales-fee-editor small{flex:1 1 100%;color:#e5cda8;font-size:11px;line-height:1.5}
@media(max-width:520px){#workspace .sales-fee-editor{padding:11px}#workspace .sales-fee-editor label,#workspace .sales-fee-editor button{flex:1 1 100%}}

/* Lista principal de vendas: cada linha revela os produtos somente quando clicada. */
#workspace .sales-record-row{cursor:pointer;transition:background .16s}
#workspace .sales-record-row:hover{background:color-mix(in srgb,var(--store-accent,#9a60d2) 13%,#142017)}
#workspace .sales-record-row:has(.sales-record-toggle[aria-expanded="true"]){background:#233b29}
#workspace .sales-record-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;text-align:left;color:#f6fff7;font-size:13px;font-weight:800;background:transparent;border:0;border-radius:8px;padding:6px 4px;cursor:pointer}
#workspace .sales-record-toggle:hover{color:#b5edbe}
#workspace .sales-record-toggle:focus-visible{outline:2px solid var(--store-accent,#b591ef);outline-offset:2px}
#workspace .sales-record-arrow{display:inline-flex;justify-content:center;align-items:center;flex:0 0 19px;width:19px;height:19px;border-radius:50%;background:#2e4433;color:#cdeed5;font-size:18px;line-height:1;transition:transform .18s}
#workspace .sales-record-toggle[aria-expanded="true"] .sales-record-arrow{transform:rotate(180deg)}
#workspace .sales-record-details-row[hidden]{display:none!important}
#workspace .sales-record-details-row>td{padding:0!important;border-bottom:2px solid #5e775c!important;text-align:left!important;background:#17231b}
#workspace .sales-inline-detail{padding:16px 18px;min-width:0;background:#17251c}
#workspace .sales-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #3a5540}
#workspace .sales-inline-heading strong{font-size:14px;color:#fff}
#workspace .sales-inline-heading span{color:#bfd3c4;font-size:12px}
#workspace .sales-inline-scroll{width:100%;overflow-x:auto}
#workspace .sales-inline-products{width:100%;min-width:380px;border-collapse:collapse;margin:10px 0;font-size:12px}
#workspace .sales-inline-products th,#workspace .sales-inline-products td{border-bottom:1px solid #34513b;padding:10px 9px;text-align:right;white-space:nowrap}
#workspace .sales-inline-products th:first-child,#workspace .sales-inline-products td:first-child{text-align:left;white-space:normal;min-width:115px}
#workspace .sales-inline-products th{color:#bed9c4;font-size:11px}
#workspace .sales-inline-products td strong{display:block;color:#fff;overflow-wrap:anywhere}
#workspace .sales-inline-products td small{display:block;color:#afc2b2;margin-top:3px}
#workspace .sales-inline-summary{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 0;color:#bdcfc2;font-size:12px}
#workspace .sales-inline-summary strong{color:#fff}
#workspace .sales-inline-fee{color:#dbcca4;margin:6px 0;font-size:11px}
#workspace .sales-inline-detail .sales-fee-editor{margin:8px -18px -16px}
@media(max-width:540px){
 #workspace .sales-inline-detail{padding:12px}
 #workspace .sales-inline-detail .sales-fee-editor{margin:8px -12px -12px}
 #workspace .sales-record-toggle{font-size:12px;gap:5px}
}

/* Teste Premium: prazo remanescente do teste Básico, sem renovação do contador. */
#workspace .plan-trial-upgrade{display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:100%}
#workspace .plan-trial-upgrade small{display:block;max-width:490px;font-size:12px;line-height:1.5;color:#c1d9c6}
#workspace .plan-trial-upgrade .plan-request-button{border-color:#68b78d;background:#213d2e}
@media(max-width:500px){#workspace .plan-trial-upgrade{width:100%}}

/* Login de motoboy definido pelo lojista, sem exibir senha após salvar. */
#workspace .courier-credential-help{display:block;max-width:500px;font-size:12px;line-height:1.5;color:#bfdecb;margin:3px 0 10px}
.admin-premium-payment{display:grid;gap:4px;margin:9px 0 0;padding:9px;border:1px solid #41644d;border-radius:9px;background:#162c1d}
.admin-premium-payment strong{font-size:12px;color:#b9f1ce}
.admin-premium-payment small{font-size:11px;color:#d3dfd5}


/* Pedidos recebidos: apresentação mais limpa, centralizada e sem excesso de caixas. */
#workspace .online-order-card{background:#101813;border:1px solid #304936;border-radius:14px;gap:0}
#workspace .online-order-top{justify-content:center;text-align:center;padding:18px 16px 14px;border-bottom:1px solid #263b2d}
#workspace .online-order-identifier{justify-content:center;align-items:center;gap:7px}
#workspace .online-order-identifier .online-order-eyebrow{width:100%}
#workspace .online-order-top h3{font-size:26px}
#workspace .online-order-top small{width:100%;margin-top:3px}
#workspace .online-order-overview,#workspace .online-order-payment-meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center;gap:10px 22px;margin:0;padding:13px 12px;border-bottom:1px solid #263b2d}
#workspace .online-order-overview>strong:not(.online-state-pill),#workspace .online-order-payment-meta>strong:not(.online-state-pill){font-size:19px;color:#fff;text-align:center}
#workspace .online-order-overview .online-state-pill,#workspace .online-order-payment-meta .online-state-pill{font-size:12px}
#workspace .online-order-items{margin:0;padding:13px 18px;border:0;border-bottom:1px solid #263b2d;border-radius:0;background:transparent}
#workspace .online-order-items h5{text-align:center;font-size:12px;margin-bottom:8px}
#workspace .online-order-items .online-order-item{padding:7px 0;border-bottom:1px solid #263b2d}
#workspace .online-order-items .online-order-item>span{text-align:left}
#workspace .online-order-items .online-order-item>strong{font-size:14px}
#workspace .online-order-total-row{justify-content:center;flex-wrap:wrap;text-align:center;gap:5px 12px;border:0;padding:14px 12px;background:#17271b}
#workspace .online-order-total-row>span{font-size:17px}
#workspace .online-order-total-row .online-order-total{font-size:32px;color:#c8f7d4}
#workspace .online-order-section{padding:16px 18px;border-bottom:1px solid #263b2d;text-align:center}
#workspace .online-order-customer h3{font-size:20px;margin-bottom:8px}
#workspace .online-order-customer .online-order-details{display:flex;justify-content:center;text-align:center}
#workspace .online-order-customer .online-order-address{text-align:center}
#workspace .online-order-actions{border:0;padding:16px 18px 18px}
#workspace .online-order-actions .online-status-block{background:transparent;border:0;padding:0}
#workspace .online-order-actions .online-notification-optout{display:none!important}
@media(max-width:440px){
 #workspace .online-order-overview,#workspace .online-order-payment-meta{gap:8px 12px;padding:12px 8px}
 #workspace .online-order-overview>strong:not(.online-state-pill),#workspace .online-order-payment-meta>strong:not(.online-state-pill){font-size:18px}
 #workspace .online-order-total-row .online-order-total{font-size:29px}
 #workspace .online-order-items{padding:12px}
}


/* Pedido novo: destaque com a cor configurada pela loja até ser confirmado. */
#workspace .online-order-card.online-order-awaiting{
 border:2px solid var(--store-accent,#7c3aed);
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 19%,#101813);
 box-shadow:0 0 0 1px color-mix(in srgb,var(--store-accent,#7c3aed) 24%,transparent),0 8px 24px color-mix(in srgb,var(--store-accent,#7c3aed) 20%,transparent);
}
#workspace .online-order-card.online-order-awaiting .online-order-top,
#workspace .online-order-card.online-order-awaiting .online-order-overview,
#workspace .online-order-card.online-order-awaiting .online-order-payment-meta,
#workspace .online-order-card.online-order-awaiting .online-order-items,
#workspace .online-order-card.online-order-awaiting .online-order-section{
 border-color:color-mix(in srgb,var(--store-accent,#7c3aed) 38%,#263b2d);
}
#workspace .online-order-card.online-order-awaiting .online-order-top,
#workspace .online-order-card.online-order-awaiting .online-order-overview,
#workspace .online-order-card.online-order-awaiting .online-order-payment-meta,
#workspace .online-order-card.online-order-awaiting .online-order-total-row{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 13%,transparent);
}
#workspace .online-order-card.online-order-awaiting .online-order-eyebrow,
#workspace .online-order-card.online-order-awaiting .online-order-total{
 color:var(--store-accent,#c4b5fd);
}


/* Pedido aguardando resposta: somente aceitar ou recusar, com ações grandes. */
#workspace .online-order-first-response{grid-template-columns:minmax(0,1fr);gap:10px}
#workspace .online-order-first-response .online-status-block{padding:0;border:0;background:transparent}
#workspace .online-order-first-response .online-status-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#workspace .online-order-first-response .online-status-controls button{min-height:60px;padding:15px 12px;font-size:16px;font-weight:900;border-radius:12px}
#workspace .online-order-first-response .online-advance{background:var(--store-accent,#7c3aed);color:var(--store-accent-ink,#fff);border:2px solid var(--store-accent,#7c3aed);box-shadow:0 5px 14px color-mix(in srgb,var(--store-accent,#7c3aed) 28%,transparent)}
#workspace .online-order-first-response .online-reject{background:#9f2638;color:#fff;border:2px solid #e45b6e;box-shadow:0 5px 14px rgba(159,38,56,.25)}
#workspace .online-order-first-response .online-status-controls button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:480px){
 #workspace .online-order-first-response .online-status-controls{grid-template-columns:minmax(0,1fr)}
 #workspace .online-order-first-response .online-status-controls button{min-height:56px;font-size:15px}
}


/* Botão do menu lateral sempre visível no painel da loja. */
#workspace .pdv-mobile-menu{
 display:flex!important;align-items:center;justify-content:flex-start;
 position:sticky;top:0;z-index:95;margin:0 0 12px;padding:6px 0;
}
#workspace .pdv-mobile-menu #sideToggle{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:44px;padding:10px 15px;background:#18251b;color:#fff;
 border:1px solid var(--store-accent,#7c3aed);border-radius:12px;
 font-size:13px;font-weight:850;box-shadow:0 4px 14px #0003;cursor:pointer;
}
#workspace .pdv-mobile-menu #sideToggle:hover{filter:brightness(1.15)}
#workspace .pdv-mobile-menu #sideToggle:focus-visible{outline:3px solid #ff5963;outline-offset:3px}

/* Ajuste de layout do PDV: menu lateral recolhido em gaveta e caixa de pagamento ampliada. */
#workspace .dashboard{grid-template-columns:minmax(0,1fr)!important}
#workspace .side{
 position:fixed!important;inset:0 auto 0 0!important;
 width:min(300px,88vw)!important;height:100dvh!important;max-height:none!important;min-height:0!important;
 z-index:100!important;border-radius:0 18px 18px 0!important;
 transform:translateX(-105%);visibility:hidden;
 transition:transform .22s ease,visibility .22s ease;
 box-shadow:15px 0 65px #0009!important;
}
#workspace .side.open{transform:translateX(0);visibility:visible}
#workspace .side-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px}
#workspace .side-backdrop:not(.hidden){position:fixed;inset:0;background:#000a;z-index:99}
#workspace .pdv-two-panels{grid-template-columns:minmax(0,1.12fr) minmax(380px,1fr);gap:16px}
#workspace .pdv-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#workspace .pdv-product{border-radius:12px}
#workspace .pdv-product-media{aspect-ratio:1.55}
#workspace .pdv-product-info{padding:8px}
#workspace .pdv-product h3{font-size:12px;line-height:1.25;margin-bottom:4px}
#workspace .pdv-product-price{font-size:15px;margin-bottom:6px}
#workspace .pdv-product .pdv-add{min-height:32px;padding:6px 7px;font-size:11px}
#workspace .pdv-no-photo{font-size:28px}
#workspace .pdv-sale-panel{padding:20px}
#workspace .pdv-payment-selector{gap:12px;margin:12px 0 18px}
#workspace .pdv-payment-label{font-size:16px}
#workspace .pdv-payment-chip{min-height:54px;font-size:14px}
#workspace .pdv-card-kind{min-height:46px;font-size:13px}
#workspace .pdv-payment-form label{font-size:14px}
@media(max-width:1250px){
 #workspace .pdv-two-panels{grid-template-columns:minmax(0,1fr) minmax(350px,.95fr)}
 #workspace .pdv-products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 #workspace .pdv-two-panels{grid-template-columns:minmax(0,1fr)}
 #workspace .pdv-products{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:580px){
 #workspace .pdv-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #workspace .pdv-product-info{padding:6px}
 #workspace .pdv-product h3{font-size:11px}
 #workspace .pdv-product-price{font-size:13px}
 #workspace .pdv-product .pdv-add{font-size:10px;min-height:29px;padding:5px 3px}
 #workspace .pdv-sale-panel{padding:13px}
}
@media(max-width:390px){
 #workspace .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Adição rápida de produtos à faixa Mais vendidos diretamente no PDV. */
#workspace .pdv-best-sellers-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
#workspace .pdv-best-seller-manage{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:0;border-radius:10px;background:var(--store-accent,#8b5cf6);color:#fff;font-size:25px;font-weight:800;line-height:1;cursor:pointer}
#workspace .pdv-best-seller-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:7px;margin:10px 0 13px;padding:12px;border:1px solid #34463a;border-radius:12px;background:#0d1510}
#workspace .pdv-best-seller-picker>strong{grid-column:1/-1;font-size:12px;color:#dbe6de;margin-bottom:3px}
#workspace .pdv-best-seller-picker>button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border:1px solid #334638;border-radius:9px;background:#17251b;color:#f4f7f4;text-align:left;cursor:pointer}
#workspace .pdv-best-seller-picker>button span{overflow-wrap:anywhere;font-size:12px}
#workspace .pdv-best-seller-picker>button b{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:7px;background:#267344;color:#fff;font-size:18px}
#workspace .pdv-best-seller-picker>small{grid-column:1/-1;color:#9fb0a3}


/* PDV: controles ao lado do produto, carrinho rolável e pagamento sempre acessível. */
#workspace .pdv-sale-panel{position:sticky;top:12px;align-self:start;min-height:0}
#workspace .pdv-sale-list{display:grid;gap:8px;max-height:min(38vh,360px);min-height:90px;overflow-y:auto;overscroll-behavior:contain;padding:2px 5px 2px 0;scrollbar-width:thin;scrollbar-color:var(--store-accent,#7c3aed) #21152f}
#workspace .pdv-sale-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px}
#workspace .pdv-sale-product{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
#workspace .pdv-sale-product>strong{font-size:14px;line-height:1.3}
#workspace .pdv-sale-product small{margin:0;font-size:11px}
#workspace .pdv-sale-line-total{font-size:13px;color:#e4c7ff;white-space:nowrap}
#workspace .pdv-sale-qty{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap}
#workspace .pdv-sale-qty button{min-width:29px;min-height:29px;padding:2px 7px}
#workspace .pdv-sale-qty button:last-child{margin-left:2px}
#workspace .pdv-sale-total{margin-top:10px;padding:12px 0 10px}
#workspace .pdv-payment-form{position:relative;background:linear-gradient(165deg,#1c142b,#0e0b19);padding-top:3px}
@media(max-width:880px){#workspace .pdv-sale-panel{position:static;top:auto}#workspace .pdv-sale-list{max-height:34vh}}
@media(max-width:480px){#workspace .pdv-sale-item{gap:6px;padding:8px}#workspace .pdv-sale-qty{gap:4px}#workspace .pdv-sale-qty button{min-width:27px;min-height:28px;padding:2px 6px}#workspace .pdv-sale-product>strong{font-size:13px}}

/* Aviso destacado para pedidos online aguardando confirmação. */
#workspace .side #nav nav button.online-order-nav-alert{
 position:relative;overflow:visible;background:linear-gradient(110deg,#8e1424,#d91f36);
 border:2px solid #ff6577;color:#fff;box-shadow:0 0 0 2px #e5233a35,0 7px 22px #ef233d3d;
 animation:online-order-pulse 1.35s ease-in-out infinite;
}
#workspace .side #nav nav button.online-order-nav-alert b{font-weight:950}
#workspace .side #nav nav .online-order-nav-count{
 display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;
 padding:0 6px;border-radius:999px;background:#fff;color:#b40e27;font-size:12px;font-weight:950;
 box-shadow:0 0 0 2px #b40e27;
}
@keyframes online-order-pulse{
 0%,100%{filter:brightness(1);box-shadow:0 0 0 2px #e5233a35,0 7px 22px #ef233d3d}
 50%{filter:brightness(1.22);box-shadow:0 0 0 5px #e5233a2a,0 7px 26px #ef233d66}
}
@media(prefers-reduced-motion:reduce){#workspace .side #nav nav button.online-order-nav-alert{animation:none}}


/* Homologação: PDV claro inspirado na referência visual enviada. */
body.workspace-fullscreen{background:#f4f6ff;color:#20213b}
body.workspace-fullscreen .top{background:#fff;border-bottom:1px solid #e2e5f4}
body.workspace-fullscreen .dashboard{grid-template-columns:220px minmax(0,1fr);gap:16px}
body.workspace-fullscreen .side,body.workspace-fullscreen .content{background:#fff;border:1px solid #e5e8f5;border-radius:18px;box-shadow:0 8px 26px #263b7a0b}
body.workspace-fullscreen .side{padding:14px}
body.workspace-fullscreen .side-store{color:#272849}
body.workspace-fullscreen .side nav{display:grid;gap:6px}
body.workspace-fullscreen .side nav button,body.workspace-fullscreen .side nav a{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border-radius:11px;color:#626580;background:transparent;border:1px solid transparent;text-decoration:none;text-align:left}
body.workspace-fullscreen .side nav button.active,body.workspace-fullscreen .side nav a.active{background:#edf0ff;color:#3c46b5;border-color:#e3e7ff}
body.workspace-fullscreen .side .side-nav-icon{width:22px;text-align:center;font-size:17px}
body.workspace-fullscreen .content{padding:22px;min-width:0}
body.workspace-fullscreen .godzilla-pdv{color:#252642}
body.workspace-fullscreen .godzilla-pdv .pdv-title{margin-bottom:16px}
body.workspace-fullscreen .godzilla-pdv .pdv-title h2{font-size:25px;color:#252642}
body.workspace-fullscreen .godzilla-pdv .pdv-two-panels{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:16px;align-items:start}
body.workspace-fullscreen .godzilla-pdv .pdv-panel{background:#fff;border:1px solid #e3e7f5;border-radius:17px;padding:17px;box-shadow:0 8px 24px #283c7c0a;min-width:0}
body.workspace-fullscreen .godzilla-pdv .pdv-filters{display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,.7fr);gap:9px}
body.workspace-fullscreen .godzilla-pdv .pdv-filters input,body.workspace-fullscreen .godzilla-pdv .pdv-filters select{background:#f8f9ff;color:#30314e;border:1px solid #e1e5f4;border-radius:10px;min-height:42px}
body.workspace-fullscreen .godzilla-pdv .pdv-filters button{grid-column:1/-1;background:#f1f3ff;color:#4a4e9c;border:1px solid #e0e5ff}
body.workspace-fullscreen .godzilla-pdv .pdv-list-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 0 12px;color:#333550}
body.workspace-fullscreen .godzilla-pdv .pdv-list-head small{color:#888ba5}
body.workspace-fullscreen .godzilla-pdv .pdv-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.workspace-fullscreen .godzilla-pdv .pdv-product,body.workspace-fullscreen .godzilla-pdv [data-pdv-product]{border:1px solid #e0e5f4;background:#fff;border-radius:13px;overflow:hidden;color:#282947;box-shadow:0 3px 10px #2b397008}
body.workspace-fullscreen .godzilla-pdv .pdv-product button,body.workspace-fullscreen .godzilla-pdv [data-pdv-product] button{color:#fff;background:linear-gradient(135deg,#5268ef,#7548dc);border:0;border-radius:9px;padding:9px 11px}
body.workspace-fullscreen .godzilla-pdv .pdv-product img,body.workspace-fullscreen .godzilla-pdv [data-pdv-product] img{width:100%;height:104px;object-fit:contain;background:#f7f8ff;padding:8px}
body.workspace-fullscreen .godzilla-pdv .pdv-product strong,body.workspace-fullscreen .godzilla-pdv [data-pdv-product] strong{color:#2b2d4b}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-panel{position:sticky;top:14px}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-head h2{color:#282947}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-item{background:#f8f9ff;border:1px solid #e6e9f7;color:#333550;border-radius:11px;margin:8px 0;padding:11px}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-item small{color:#898da7}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-qty button{background:#fff;color:#4c4fb4;border:1px solid #dfe3f5;border-radius:8px}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-total{border-top:1px solid #e6e8f4;color:#292b4b;padding-top:16px;margin-top:14px}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-total strong{color:#5146dc;font-size:27px}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-label,body.workspace-fullscreen .godzilla-pdv .pdv-card-kind-label{color:#5c5f7b}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-options,body.workspace-fullscreen .godzilla-pdv .pdv-card-kinds{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-chip,body.workspace-fullscreen .godzilla-pdv .pdv-card-kind{background:#f5f6ff;color:#555879;border:1px solid #e2e5f5;border-radius:9px;padding:9px 12px}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-chip.selected,body.workspace-fullscreen .godzilla-pdv .pdv-card-kind.selected{background:#ecebff;color:#5140cb;border-color:#bdb8ff}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-form label{color:#575a78}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-form input{background:#f9faff;color:#282947;border-color:#e0e4f3}
body.workspace-fullscreen .godzilla-pdv .pdv-finish{width:100%;background:linear-gradient(100deg,#4f46e5,#8b35e8);color:#fff;border:0;border-radius:11px;box-shadow:0 7px 18px #6049df30}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-empty{color:#898da6;background:#f8f9ff;border:1px dashed #dce1f2;border-radius:11px;padding:20px;text-align:center}
@media(max-width:1000px){body.workspace-fullscreen .godzilla-pdv .pdv-two-panels{grid-template-columns:minmax(0,1fr)}body.workspace-fullscreen .godzilla-pdv .pdv-sale-panel{position:static}}
@media(max-width:650px){body.workspace-fullscreen .content{padding:12px}body.workspace-fullscreen .godzilla-pdv .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))}body.workspace-fullscreen .godzilla-pdv .pdv-filters{grid-template-columns:1fr}body.workspace-fullscreen .godzilla-pdv .pdv-filters button{grid-column:auto}}


/* Correção de prioridade: o tema escuro legado do workspace não deve sobrescrever o PDV claro da homologação. */
body.workspace-fullscreen #workspace .side,
body.workspace-fullscreen #workspace .content{
 background:#fff !important;
 color:#252642 !important;
 border:1px solid #e5e8f5 !important;
 box-shadow:0 8px 26px #263b7a0b !important;
}
body.workspace-fullscreen #workspace .side{padding:14px !important}
body.workspace-fullscreen #workspace .side nav button,
body.workspace-fullscreen #workspace .side nav a{color:#626580 !important;background:transparent !important;border-color:transparent !important}
body.workspace-fullscreen #workspace .side nav button.active,
body.workspace-fullscreen #workspace .side nav a.active{background:#edf0ff !important;color:#3c46b5 !important;border-color:#e3e7ff !important}
body.workspace-fullscreen #workspace .pdv-panel{
 background:#fff !important;color:#292b4b !important;border:1px solid #e3e7f5 !important;
 box-shadow:0 8px 24px #283c7c0a !important;
}
body.workspace-fullscreen #workspace .pdv-title h2,
body.workspace-fullscreen #workspace .pdv-sale-head h2,
body.workspace-fullscreen #workspace .pdv-list-head,
body.workspace-fullscreen #workspace .pdv-product h3,
body.workspace-fullscreen #workspace .pdv-product-info,
body.workspace-fullscreen #workspace .pdv-sale-product,
body.workspace-fullscreen #workspace .pdv-payment-form label{color:#292b4b !important}
body.workspace-fullscreen #workspace .pdv-product{
 background:#fff !important;color:#292b4b !important;border:1px solid #e0e5f4 !important;
 box-shadow:0 3px 10px #2b397008 !important;
}
body.workspace-fullscreen #workspace .pdv-product-media{background:#f7f8ff !important}
body.workspace-fullscreen #workspace .pdv-product .pdv-add,
body.workspace-fullscreen #workspace .pdv-finish{
 background:linear-gradient(100deg,#4f46e5,#8b35e8) !important;color:#fff !important;border:0 !important;
}
body.workspace-fullscreen #workspace .pdv-filters input,
body.workspace-fullscreen #workspace .pdv-filters select,
body.workspace-fullscreen #workspace .pdv-payment-form input{
 background:#f8f9ff !important;color:#30314e !important;border:1px solid #e1e5f4 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-item,
body.workspace-fullscreen #workspace .pdv-sale-empty{
 background:#f8f9ff !important;color:#333550 !important;border:1px solid #e6e9f7 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total{color:#292b4b !important}
body.workspace-fullscreen #workspace .pdv-payment-chip,
body.workspace-fullscreen #workspace .pdv-card-kind{background:#f5f6ff !important;color:#555879 !important;border:1px solid #e2e5f5 !important}
body.workspace-fullscreen #workspace .pdv-payment-chip.selected,
body.workspace-fullscreen #workspace .pdv-card-kind.selected{background:#ecebff !important;color:#5140cb !important;border-color:#bdb8ff !important}

/* Ajuste final: neutralizar componentes escuros aninhados no formulário do PDV. */
body.workspace-fullscreen #workspace .pdv-best-sellers,
body.workspace-fullscreen #workspace .pdv-best-sellers *:not(button),
body.workspace-fullscreen #workspace .pdv-payment-form,
body.workspace-fullscreen #workspace .pdv-payment-form > div,
body.workspace-fullscreen #workspace .pdv-payment-form .pdv-payment-selector{
 background-color:transparent !important;
 color:#292b4b !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers{
 background:#f7f8ff !important;border:1px solid #e1e5f4 !important;border-radius:13px !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers button{
 background:#fff !important;color:#5146dc !important;border:1px solid #e1e5f4 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form{
 background:#fff !important;color:#292b4b !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > div:not(.hidden){
 background:#fff !important;color:#292b4b !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-payment-selector{
 background:#fff !important;color:#292b4b !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-payment-options{
 background:transparent !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-finish{
 background:linear-gradient(100deg,#4f46e5,#8b35e8) !important;color:#fff !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-payment-chip.selected{
 background:#ecebff !important;color:#5140cb !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-card-kinds,
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form .pdv-calculation{
 background:#fff !important;color:#292b4b !important;
}

/* Ajuste de contraste final observado na tela de homologação. */
body.workspace-fullscreen #workspace .pdv-sale-total > span,
body.workspace-fullscreen #workspace .pdv-payment-label,
body.workspace-fullscreen #workspace #pdvPaymentLabel,
body.workspace-fullscreen #workspace .pdv-payment-selector > span{
 color:#414463 !important;
 opacity:1 !important;
 font-weight:600 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total{
 color:#414463 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total strong{
 color:#5146dc !important;
}
body.workspace-fullscreen #workspace .pdv-payment-selector{
 background:#fff !important;
 color:#292b4b !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form{
 color:#292b4b !important;
}

/* Atalhos de categoria inspirados na referência visual do PDV. */
body.workspace-fullscreen #workspace .pdv-category-tiles{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 18px;
}
body.workspace-fullscreen #workspace .pdv-category-tile{
 min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
 border:1px solid transparent;border-radius:13px;padding:10px 8px;color:#fff;font-size:13px;
 box-shadow:0 5px 12px #30305012;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;
}
body.workspace-fullscreen #workspace .pdv-category-tile > span{font-size:22px;line-height:1.1}
body.workspace-fullscreen #workspace .pdv-category-tile strong{font-weight:700;text-align:center;overflow-wrap:anywhere}
body.workspace-fullscreen #workspace .pdv-category-tile:hover{transform:translateY(-2px);box-shadow:0 8px 16px #30305020}
body.workspace-fullscreen #workspace .pdv-category-tile.selected{outline:3px solid #d9d5ff;outline-offset:2px}
body.workspace-fullscreen #workspace .pdv-category-all{background:linear-gradient(135deg,#5368ef,#3155d9)!important}
body.workspace-fullscreen #workspace .pdv-category-tone-0{background:linear-gradient(135deg,#2e9fe6,#2870d9)!important}
body.workspace-fullscreen #workspace .pdv-category-tone-1{background:linear-gradient(135deg,#ffb44d,#ff8d42)!important}
body.workspace-fullscreen #workspace .pdv-category-tone-2{background:linear-gradient(135deg,#36c981,#1aa66b)!important}
body.workspace-fullscreen #workspace .pdv-category-tone-3{background:linear-gradient(135deg,#df63d7,#b33fc2)!important}
body.workspace-fullscreen #workspace .pdv-list-head{margin-top:12px!important}
body.workspace-fullscreen #workspace .pdv-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.workspace-fullscreen #workspace .pdv-product img{height:112px!important}
@media(max-width:700px){
 body.workspace-fullscreen #workspace .pdv-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.workspace-fullscreen #workspace .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Refinamento visual do catálogo e caixa para aproximar o PDV da referência. */
body.workspace-fullscreen .godzilla-pdv .pdv-title{
 display:flex;align-items:center;justify-content:space-between;
 padding-bottom:12px;border-bottom:1px solid #e3e7f5;margin-bottom:16px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-title h2{font-size:28px;letter-spacing:-.6px}
body.workspace-fullscreen .godzilla-pdv .pdv-product{
 display:flex;flex-direction:column;min-width:0;transition:transform .15s ease,box-shadow .15s ease;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product:hover{
 transform:translateY(-2px);box-shadow:0 8px 18px #303d7b14;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-media{
 display:flex;align-items:center;justify-content:center;min-height:128px;
 aspect-ratio:1.35;background:#f6f8ff;border-bottom:1px solid #edf0fa;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-media img{
 width:100%;height:128px;object-fit:contain;padding:10px;background:transparent;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-info{
 display:flex;flex:1;flex-direction:column;align-items:stretch;gap:7px;padding:11px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-info strong{
 font-size:13px;line-height:1.3;overflow-wrap:anywhere;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-price{
 color:#a63ee8;font-size:17px;font-weight:800;letter-spacing:-.2px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-product-info button{
 width:100%;margin-top:auto;font-size:12px;font-weight:750;min-height:34px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-best-sellers{
 border-radius:14px!important;
}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-head{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-head h2{font-size:24px;letter-spacing:-.4px}
body.workspace-fullscreen .godzilla-pdv .pdv-sale-empty{
 min-height:82px;display:flex;align-items:center;justify-content:center;
}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-options{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
body.workspace-fullscreen .godzilla-pdv .pdv-payment-chip{
 min-height:48px;text-align:center;font-weight:700;
}
body.workspace-fullscreen .godzilla-pdv .pdv-finish{
 min-height:48px;font-size:14px;font-weight:800;margin-top:10px;
}
@media(max-width:700px){
 body.workspace-fullscreen .godzilla-pdv .pdv-category-tile{min-height:68px}
 body.workspace-fullscreen .godzilla-pdv .pdv-product-media,
 body.workspace-fullscreen .godzilla-pdv .pdv-product-media img{height:105px;min-height:105px}
 body.workspace-fullscreen .godzilla-pdv .pdv-product-info{padding:8px}
}

/* Em desktop, manter a navegação lateral visível como no layout de referência. */
@media(min-width:1001px){
 body.workspace-fullscreen #workspace .dashboard{
  display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;
 }
 body.workspace-fullscreen #workspace .side{
  display:flex!important;position:sticky!important;top:14px!important;align-self:start!important;
  height:calc(100vh - 28px)!important;max-height:900px!important;overflow-y:auto!important;
  border-radius:16px!important;padding:14px 10px!important;
 }
 body.workspace-fullscreen #workspace .content{
  min-width:0!important;padding:20px!important;
 }
 body.workspace-fullscreen #workspace .pdv-mobile-menu{display:none!important}
 body.workspace-fullscreen #workspace .side nav{display:grid!important;gap:5px!important}
 body.workspace-fullscreen #workspace .side nav a,
 body.workspace-fullscreen #workspace .side nav button{
  display:flex!important;align-items:center!important;gap:9px!important;
  width:100%!important;text-align:left!important;padding:10px 9px!important;
  font-size:13px!important;border-radius:10px!important;
 }
}
@media(max-width:1000px){
 body.workspace-fullscreen #workspace .dashboard{grid-template-columns:minmax(0,1fr)!important}
 body.workspace-fullscreen #workspace .side{display:none!important}
 body.workspace-fullscreen #workspace .pdv-mobile-menu{display:flex!important}
}

/* Correção final: menu lateral aberto por padrão em desktop no PDV de homologação. */
@media (min-width: 1001px) {
  body.workspace-fullscreen #workspace .dashboard,
  #workspace .dashboard {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }
  body.workspace-fullscreen #workspace .side,
  #workspace .side {
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    inset: auto !important;
    top: 14px !important;
    width: auto !important;
    height: calc(100vh - 28px) !important;
    max-height: 920px !important;
    min-height: 500px !important;
    overflow-y: auto !important;
    transform: none !important;
    visibility: visible !important;
    z-index: 2 !important;
    border-radius: 16px !important;
    padding: 14px 10px !important;
    box-shadow: 0 8px 26px #263b7a0b !important;
  }
  body.workspace-fullscreen #workspace .pdv-mobile-menu,
  #workspace .pdv-mobile-menu {
    display: none !important;
  }
  body.workspace-fullscreen #workspace .side-backdrop,
  #workspace .side-backdrop {
    display: none !important;
  }
  body.workspace-fullscreen #workspace .content,
  #workspace .content {
    min-width: 0 !important;
    padding: 20px !important;
  }
}
@media (max-width: 1000px) {
  #workspace .dashboard { grid-template-columns: minmax(0, 1fr) !important; }
  #workspace .side {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: min(300px, 88vw) !important;
    height: 100dvh !important;
    min-height: 0 !important;
    transform: translateX(-105%);
    visibility: hidden;
  }
  #workspace .side.open { transform: translateX(0) !important; visibility: visible !important; }
  #workspace .pdv-mobile-menu { display: flex !important; }
}


/* Refinamento de formatação: cabeçalho compacto, respiro consistente e caixa mais organizado. */
@media (min-width: 1001px) {
  body.workspace-fullscreen #workspace .content { padding: 18px !important; }
  body.workspace-fullscreen #workspace .pdv-two-panels {
    gap: 16px !important;
    align-items: start !important;
  }
  body.workspace-fullscreen #workspace .pdv-sale-panel {
    padding: 16px !important;
    border-radius: 16px !important;
  }
  body.workspace-fullscreen #workspace .pdv-products {
    gap: 12px !important;
  }
}
body.workspace-fullscreen #workspace .pdv-title {
  padding-bottom: 10px !important;
  margin-bottom: 12px !important;
}
body.workspace-fullscreen #workspace .pdv-title h2 {
  font-size: clamp(22px, 2vw, 27px) !important;
  line-height: 1.2 !important;
}
body.workspace-fullscreen #workspace .pdv-category-tiles {
  gap: 9px !important;
  margin: 12px 0 15px !important;
}
body.workspace-fullscreen #workspace .pdv-list-head {
  margin-bottom: 10px !important;
}
body.workspace-fullscreen #workspace .pdv-product {
  border-radius: 12px !important;
  overflow: hidden !important;
}
body.workspace-fullscreen #workspace .pdv-sale-head {
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid #edf0fa !important;
}
body.workspace-fullscreen #workspace .pdv-sale-head h2 {
  font-size: 22px !important;
  line-height: 1.2 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 13px !important;
  margin-top: 12px !important;
  border-radius: 11px !important;
  background: #f7f8ff !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total strong {
  font-size: 22px !important;
  font-weight: 850 !important;
}
body.workspace-fullscreen #workspace .pdv-payment-form {
  margin-top: 12px !important;
}
@media (max-width: 700px) {
  body.workspace-fullscreen #workspace .content { padding: 12px !important; }
  body.workspace-fullscreen #workspace .pdv-category-tiles { gap: 8px !important; }
  body.workspace-fullscreen #workspace .pdv-products { gap: 9px !important; }
  body.workspace-fullscreen #workspace .pdv-sale-panel { padding: 12px !important; }
  body.workspace-fullscreen #workspace .pdv-sale-head h2 { font-size: 20px !important; }
  body.workspace-fullscreen #workspace .pdv-sale-total strong { font-size: 20px !important; }
}


/* Ajustes de contraste e alinhamento visual do menu e dos cartões do PDV. */
body.workspace-fullscreen #workspace .side-store,
#workspace .side-store {
  color: #252947 !important;
}
body.workspace-fullscreen #workspace #sideShopName,
#workspace #sideShopName {
  color: #252947 !important;
  font-weight: 800 !important;
}
body.workspace-fullscreen #workspace .side-settings,
#workspace .side-settings {
  color: #5154c9 !important;
  background: #f0f1ff !important;
  border: 1px solid #dfe2ff !important;
  border-radius: 9px !important;
}
body.workspace-fullscreen #workspace .side nav a,
body.workspace-fullscreen #workspace .side nav button,
#workspace .side nav a,
#workspace .side nav button {
  color: #4b4e6d !important;
  font-weight: 700 !important;
}
body.workspace-fullscreen #workspace .side nav a.active,
body.workspace-fullscreen #workspace .side nav button.active,
#workspace .side nav a.active,
#workspace .side nav button.active {
  color: #3442b8 !important;
  background: #edf0ff !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers,
#workspace .pdv-best-sellers {
  padding: 13px !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers > div,
#workspace .pdv-best-sellers > div {
  gap: 10px !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers button,
#workspace .pdv-best-sellers button {
  border-radius: 11px !important;
}
body.workspace-fullscreen #workspace .pdv-best-sellers img,
#workspace .pdv-best-sellers img {
  object-fit: contain !important;
}
body.workspace-fullscreen #workspace .pdv-product-media,
#workspace .pdv-product-media {
  background: #f7f8ff !important;
}
body.workspace-fullscreen #workspace .pdv-product-media img,
#workspace .pdv-product-media img {
  object-fit: contain !important;
}
body.workspace-fullscreen #workspace .pdv-product-info strong,
#workspace .pdv-product-info strong {
  color: #292b4b !important;
  line-height: 1.35 !important;
}
body.workspace-fullscreen #workspace .pdv-product-price,
#workspace .pdv-product-price {
  color: #5146dc !important;
  font-weight: 850 !important;
}
body.workspace-fullscreen #workspace .pdv-payment-form .pdv-finish,
#workspace .pdv-payment-form .pdv-finish {
  background: linear-gradient(100deg, #4f46e5, #8b35e8) !important;
  color: #fff !important;
  box-shadow: 0 6px 15px #6049df2b !important;
}


/* Caixa: contraste acessível para o troco e espaçamento mais compacto. */
body.workspace-fullscreen #workspace #pdvCashFields #pdvChange,
#workspace #pdvCashFields #pdvChange {
  color: #16834a !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 850 !important;
}
body.workspace-fullscreen #workspace .pdv-sale-panel,
#workspace .pdv-sale-panel {
  padding: 13px !important;
}
body.workspace-fullscreen #workspace .pdv-sale-head,
#workspace .pdv-sale-head {
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
}
body.workspace-fullscreen #workspace .pdv-sale-item,
#workspace .pdv-sale-item {
  padding: 10px 11px !important;
}
body.workspace-fullscreen #workspace .pdv-sale-total,
#workspace .pdv-sale-total {
  margin-top: 9px !important;
  padding: 10px 12px !important;
}
body.workspace-fullscreen #workspace .pdv-payment-form,
#workspace .pdv-payment-form {
  margin-top: 9px !important;
}
body.workspace-fullscreen #workspace .pdv-payment-options,
#workspace .pdv-payment-options {
  gap: 7px !important;
}
body.workspace-fullscreen #workspace .pdv-payment-chip,
#workspace .pdv-payment-chip {
  min-height: 44px !important;
}
body.workspace-fullscreen #workspace #pdvCashFields,
#workspace #pdvCashFields {
  margin-top: 8px !important;
  gap: 8px !important;
}
body.workspace-fullscreen #workspace #pdvCashFields .pdv-calculation,
#workspace #pdvCashFields .pdv-calculation {
  margin: 7px 0 !important;
  padding: 8px 11px !important;
  min-height: 48px !important;
}
body.workspace-fullscreen #workspace .pdv-payment-form .pdv-finish,
#workspace .pdv-payment-form .pdv-finish {
  margin-top: 8px !important;
  min-height: 46px !important;
}
@media (max-width: 700px) {
  body.workspace-fullscreen #workspace .pdv-sale-panel,
  #workspace .pdv-sale-panel { padding: 11px !important; }
  body.workspace-fullscreen #workspace #pdvCashFields .pdv-calculation,
  #workspace #pdvCashFields .pdv-calculation { padding: 7px 9px !important; }
}

/* Botão flutuante de venda: total sempre visível e checkout expansível. */
.pdv-floating-sale-button{display:none}
.pdv-floating-backdrop{display:none}
@media(min-width:701px){
 body.workspace-fullscreen #workspace .pdv-sale-panel-floating,
 #workspace .pdv-sale-panel-floating{display:none!important}
 body.workspace-fullscreen #workspace .pdv-sale-panel-floating.is-open,
 #workspace .pdv-sale-panel-floating.is-open{
  display:block!important;position:fixed!important;z-index:1002!important;
  right:24px!important;bottom:90px!important;top:auto!important;
  width:min(540px,calc(100vw - 48px))!important;max-height:calc(100vh - 130px)!important;
  overflow-y:auto!important;box-shadow:0 22px 70px #17152d38!important;
 }
 body.workspace-fullscreen #workspace .pdv-floating-sale-button,
 #workspace .pdv-floating-sale-button{
  display:flex;position:fixed;z-index:1004;right:26px;bottom:24px;
  align-items:center;justify-content:space-between;gap:28px;
  min-width:260px;padding:15px 20px;border:0;border-radius:16px;
  color:#fff;background:linear-gradient(105deg,#4f46e5,#8b35e8);
  box-shadow:0 12px 30px #5146dc40;font-weight:800;cursor:pointer;
 }
 body.workspace-fullscreen #workspace .pdv-floating-sale-button strong,
 #workspace .pdv-floating-sale-button strong{font-size:20px;color:#fff;white-space:nowrap}
 body.workspace-fullscreen #workspace .pdv-floating-backdrop.open,
 #workspace .pdv-floating-backdrop.open{
  display:block;position:fixed;inset:0;z-index:1001;background:#17152d55;
 }
}
@media(max-width:700px){
 body.workspace-fullscreen #workspace .pdv-sale-panel-floating,
 #workspace .pdv-sale-panel-floating{display:none!important}
 body.workspace-fullscreen #workspace .pdv-sale-panel-floating.is-open,
 #workspace .pdv-sale-panel-floating.is-open{
  display:block!important;position:fixed!important;z-index:1002!important;
  left:12px!important;right:12px!important;bottom:82px!important;top:auto!important;
  width:auto!important;max-height:calc(100dvh - 105px)!important;overflow-y:auto!important;
  box-shadow:0 22px 70px #17152d38!important;
 }
 body.workspace-fullscreen #workspace .pdv-floating-sale-button,
 #workspace .pdv-floating-sale-button{
  display:flex;position:fixed;z-index:1004;left:12px;right:12px;bottom:12px;
  align-items:center;justify-content:space-between;gap:18px;
  padding:14px 17px;border:0;border-radius:14px;color:#fff;
  background:linear-gradient(105deg,#4f46e5,#8b35e8);
  box-shadow:0 10px 26px #5146dc40;font-weight:800;cursor:pointer;
 }
 body.workspace-fullscreen #workspace .pdv-floating-sale-button strong,
 #workspace .pdv-floating-sale-button strong{font-size:19px;color:#fff;white-space:nowrap}
 body.workspace-fullscreen #workspace .pdv-floating-backdrop.open,
 #workspace .pdv-floating-backdrop.open{display:block;position:fixed;inset:0;z-index:1001;background:#17152d55}
}

/* Homologação: mostrar a venda ao passar o mouse sobre o carrinho flutuante. */
@media (hover:hover) and (min-width:701px){
 #workspace .godzilla-pdv:has(.pdv-floating-sale-button:hover) .pdv-sale-panel-floating,
 #workspace .pdv-sale-panel-floating:hover{
  display:block!important;position:fixed!important;z-index:1002!important;
  right:24px!important;bottom:90px!important;top:auto!important;
  width:min(540px,calc(100vw - 48px))!important;max-height:calc(100vh - 130px)!important;
  overflow-y:auto!important;box-shadow:0 22px 70px #17152d38!important;
 }
}

/* Homologação: PDV em painel fixo, com pesquisa superior e cartões maiores. */
body.workspace-fullscreen{overflow:hidden!important;height:100vh}
body.workspace-fullscreen #workspace{height:calc(100vh - var(--topbar-height,0px));min-height:0;overflow:hidden}
body.workspace-fullscreen #workspace .content{min-height:0;overflow:hidden}
#workspace .godzilla-pdv{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#workspace .godzilla-pdv .pdv-title{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto}
#workspace .godzilla-pdv .pdv-search-top{width:min(520px,58%);margin:0}
#workspace .godzilla-pdv .pdv-search-top input{height:48px;font-size:16px;padding:12px 16px;background:#fff;color:#252746;border:1px solid #d7d3eb;border-radius:13px}
#workspace .godzilla-pdv .pdv-two-panels{flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(0,1.45fr) minmax(330px,.8fr);align-items:stretch}
#workspace .godzilla-pdv .pdv-catalog{min-height:0;overflow-y:auto;overscroll-behavior:contain}
#workspace .godzilla-pdv .pdv-category-tiles{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px}
#workspace .godzilla-pdv .pdv-category-tile{min-height:112px;padding:16px 12px;gap:10px;border-radius:16px;font-size:15px}
#workspace .godzilla-pdv .pdv-category-tile>span{font-size:30px}
#workspace .godzilla-pdv .pdv-products{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
#workspace .godzilla-pdv .pdv-product{min-width:0}
#workspace .godzilla-pdv .pdv-product-media{height:180px}
#workspace .godzilla-pdv .pdv-product-info{padding:15px}
#workspace .godzilla-pdv .pdv-product-info h3{font-size:17px;line-height:1.3}
#workspace .godzilla-pdv .pdv-product-price{font-size:19px}
#workspace .godzilla-pdv .pdv-add{min-height:42px}
#workspace .godzilla-pdv .pdv-sale-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:900px){
 body.workspace-fullscreen{overflow:auto!important;height:auto}
 body.workspace-fullscreen #workspace{height:auto;overflow:visible}
 body.workspace-fullscreen #workspace .content{overflow:visible}
 #workspace .godzilla-pdv{height:auto;overflow:visible}
 #workspace .godzilla-pdv .pdv-title{align-items:stretch;flex-direction:column}
 #workspace .godzilla-pdv .pdv-search-top{width:100%}
 #workspace .godzilla-pdv .pdv-two-panels{overflow:visible;grid-template-columns:minmax(0,1fr)}
 #workspace .godzilla-pdv .pdv-catalog{overflow:visible}
 #workspace .godzilla-pdv .pdv-category-tiles{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
 #workspace .godzilla-pdv .pdv-products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
}

/* Categorias padrão de mercado e adega: cores e ícones vindos do catálogo. */
#workspace .godzilla-pdv .pdv-category-tile{
 background:var(--category-bg,#e8e8ef)!important;
 color:var(--category-fg,#45455b)!important;
 border:1px solid color-mix(in srgb,var(--category-fg,#45455b) 14%,transparent)!important;
}
#workspace .godzilla-pdv .pdv-category-tile strong,
#workspace .godzilla-pdv .pdv-category-tile span{color:var(--category-fg,#45455b)!important}
#workspace .godzilla-pdv .pdv-category-tile.selected{
 outline:3px solid color-mix(in srgb,var(--category-fg,#45455b) 48%,transparent);
 outline-offset:1px;box-shadow:0 7px 20px color-mix(in srgb,var(--category-fg,#45455b) 14%,transparent);
}
#workspace #productForm select[name="category"]{font-size:15px}

/* PDV homologação: cartões de produto limpos e clicáveis, sem botão Adicionar. */
#workspace .godzilla-pdv .pdv-product-clickable{
 appearance:none;width:100%;min-width:0;display:flex;flex-direction:column;
 padding:0;overflow:hidden;text-align:left;cursor:pointer;
 border:1px solid #e5e1f2;border-radius:16px;background:#fff;color:#252746;
 box-shadow:0 3px 12px rgba(48,35,90,.06);transition:transform .15s,box-shadow .15s;
}
#workspace .godzilla-pdv .pdv-product-clickable:hover:not(:disabled){
 transform:translateY(-2px);box-shadow:0 8px 22px rgba(48,35,90,.12);border-color:#c9b9f7;
}
#workspace .godzilla-pdv .pdv-product-clickable:focus-visible{outline:3px solid #9b7af1;outline-offset:2px}
#workspace .godzilla-pdv .pdv-product-clickable:disabled{cursor:not-allowed;opacity:.58}
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media{display:flex;width:100%;height:180px;align-items:center;justify-content:center;overflow:hidden;background:#f8f7fc}
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media img{width:100%;height:100%;object-fit:cover}
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-info{display:flex;flex:1;width:100%;box-sizing:border-box;flex-direction:column;gap:8px;padding:14px}
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-name{font-size:16px;line-height:1.3;font-weight:650;color:#252746}
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-price{font-size:19px;font-weight:750;color:#7650dc}


/* Homologação PDV: campo compacto para informar quantidade após cliques repetidos. */
#workspace .godzilla-pdv .pdv-product-wrap{min-width:0;display:flex;flex-direction:column;gap:8px}
#workspace .godzilla-pdv .pdv-quantity-entry{
 display:block;width:100%;min-width:0;box-sizing:border-box;
 height:42px;padding:8px 12px;border:2px solid #8b5cf6;border-radius:10px;
 background:#fff;color:#252746;font-size:17px;font-weight:700;outline:none;
 box-shadow:0 0 0 3px #8b5cf61c;
}
#workspace .godzilla-pdv .pdv-quantity-entry:focus{border-color:#6d43dc;box-shadow:0 0 0 3px #8b5cf633}


/* PDV claro — alinhado à referência visual aprovada (sem alterar regras de venda). */
#workspace:has(.godzilla-pdv){--pdv-ink:#202b49;--pdv-muted:#7d88a5;--pdv-line:#dfe5fb;--pdv-surface:#fff;--pdv-soft:#f5f7ff;--pdv-purple:#7038ee;color:var(--pdv-ink)}
#workspace:has(.godzilla-pdv) .content{background:#fff!important;border:1px solid #e0e6fb!important;box-shadow:0 10px 35px #253b7410}
#workspace:has(.godzilla-pdv) .pdv-title{border-bottom:1px solid #d9def1!important}
#workspace:has(.godzilla-pdv) .pdv-title h2,
#workspace:has(.godzilla-pdv) .pdv-sale-head h2,
#workspace:has(.godzilla-pdv) .pdv-list-head,
#workspace:has(.godzilla-pdv) .pdv-product h3{color:#202b49!important}
#workspace:has(.godzilla-pdv) .pdv-title p,
#workspace:has(.godzilla-pdv) .pdv-list-head small,
#workspace:has(.godzilla-pdv) .pdv-product p{color:#7d88a5!important}
#workspace:has(.godzilla-pdv) .pdv-two-panels{grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr);gap:18px;align-items:start}
#workspace:has(.godzilla-pdv) .pdv-panel{background:#fff!important;border:1px solid #e0e6fb!important;border-radius:18px;box-shadow:0 8px 25px #263a7010;padding:18px}
#workspace:has(.godzilla-pdv) .pdv-filters input,
#workspace:has(.godzilla-pdv) .pdv-filters select{background:#fff!important;color:#283451!important;border-color:#d7def5!important}
#workspace:has(.godzilla-pdv) .pdv-filters input::placeholder{color:#8791ac}
#workspace:has(.godzilla-pdv) .pdv-filters .ghost{background:#f4f6ff!important;color:#414d70!important;border-color:#dce2f8!important}
#workspace:has(.godzilla-pdv) .pdv-filters .ghost.active{background:#e9edff!important;border-color:#8b9bff!important;color:#3446a5!important}
#workspace:has(.godzilla-pdv) .pdv-best-sellers{background:#f7f8ff!important;border-color:#e1e6fb!important}
#workspace:has(.godzilla-pdv) .pdv-best-sellers-title strong{color:#273453!important}
#workspace:has(.godzilla-pdv) .pdv-best-sellers-title small{color:#7783a0!important}
#workspace:has(.godzilla-pdv) .pdv-best-seller{background:#fff!important;color:#293653!important;border-color:#e0e5f8!important}
#workspace:has(.godzilla-pdv) .pdv-best-seller-text small{color:#6041c9!important}
#workspace:has(.godzilla-pdv) .pdv-best-seller-photo{background:#f0f2ff!important}
#workspace:has(.godzilla-pdv) .pdv-products{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:13px}
#workspace:has(.godzilla-pdv) .pdv-product{background:#fff!important;border:1px solid #dfe5f8!important;border-radius:14px;box-shadow:0 3px 10px #283b7210}
#workspace:has(.godzilla-pdv) .pdv-product:hover{border-color:#a7b2ff!important;box-shadow:0 8px 20px #3447a51a}
#workspace:has(.godzilla-pdv) .pdv-product-media{aspect-ratio:1.35;background:#f5f6ff!important}
#workspace:has(.godzilla-pdv) .pdv-no-photo{color:#9aa5c7!important}
#workspace:has(.godzilla-pdv) .pdv-product-info{padding:12px}
#workspace:has(.godzilla-pdv) .pdv-product-price{color:#293c75!important;font-size:18px}
#workspace:has(.godzilla-pdv) .pdv-product .pdv-add{background:linear-gradient(100deg,#4d6df2,#2869dc)!important;color:#fff!important;border:0!important;border-radius:9px}
#workspace:has(.godzilla-pdv) .pdv-sale-panel{position:sticky;top:15px}
#workspace:has(.godzilla-pdv) .pdv-sale-head .kicker{color:#7b54e8!important}
#workspace:has(.godzilla-pdv) .pdv-sale-head>span{color:#7141e8}
#workspace:has(.godzilla-pdv) .pdv-sale-empty{color:#7d88a5!important;border-color:#d9e0f6!important;background:#fafbff}
#workspace:has(.godzilla-pdv) .pdv-sale-item{background:#f8f9ff!important;border-color:#e0e5f8!important;color:#263452}
#workspace:has(.godzilla-pdv) .pdv-sale-item small{color:#7d88a5!important}
#workspace:has(.godzilla-pdv) .pdv-sale-qty button{background:#edf0ff!important;color:#3e4d8b!important;border-color:#d6defb!important}
#workspace:has(.godzilla-pdv) .pdv-sale-qty button:last-child{background:#fff0f2!important;color:#bd3f5b!important;border-color:#f5d6de!important}
#workspace:has(.godzilla-pdv) .pdv-sale-total{border-top-color:#e0e5f8!important}
#workspace:has(.godzilla-pdv) .pdv-sale-total span{color:#687594!important}
#workspace:has(.godzilla-pdv) .pdv-sale-total strong{color:#263452!important}
#workspace:has(.godzilla-pdv) .pdv-payment-label,
#workspace:has(.godzilla-pdv) .pdv-card-kind-label{color:#34415f!important}
#workspace:has(.godzilla-pdv) .pdv-payment-chip,
#workspace:has(.godzilla-pdv) .pdv-card-kind{background:#f7f8ff!important;color:#475575!important;border-color:#dce2f7!important}
#workspace:has(.godzilla-pdv) .pdv-payment-chip.selected,
#workspace:has(.godzilla-pdv) .pdv-card-kind.selected{background:#eeeaff!important;color:#6032d5!important;border-color:#9474f6!important}
#workspace:has(.godzilla-pdv) .pdv-calculation{background:#f2efff!important;color:#493582!important;border-color:#ded3ff!important}
#workspace:has(.godzilla-pdv) .pdv-sale-total strong{font-variant-numeric:tabular-nums}
#workspace:has(.godzilla-pdv) .pdv-finish{background:linear-gradient(100deg,#7038ee,#8e35e8)!important;color:#fff!important;border:0!important;box-shadow:0 8px 20px #7138ee30}
#workspace:has(.godzilla-pdv) .pdv-product:focus-within{outline:2px solid #a9b4ff;outline-offset:2px}
@media(max-width:1100px){
 #workspace:has(.godzilla-pdv) .pdv-two-panels{grid-template-columns:minmax(0,1.2fr) minmax(280px,.9fr)}
 #workspace:has(.godzilla-pdv) .pdv-products{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
}
@media(max-width:880px){
 #workspace:has(.godzilla-pdv) .pdv-two-panels{grid-template-columns:minmax(0,1fr)}
 #workspace:has(.godzilla-pdv) .pdv-sale-panel{position:static}
}
@media(max-width:580px){
 #workspace:has(.godzilla-pdv) .pdv-panel{padding:12px}
 #workspace:has(.godzilla-pdv) .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #workspace:has(.godzilla-pdv) .pdv-product-info{padding:9px}
}


/* Tema claro unificado para TODAS as telas da área do lojista: resumo, configurações,
   pedidos online, produtos, estoque, cardápio, vendas e entregas. */
#workspace{
 --bg:#f4f6ff;--panel:#fff;--panel2:#f5f7ff;--line:#dfe5f8;
 --accent:#7040ed;--text:#253251;--muted:#7885a3;--ok:#16885b;--danger:#c83f5c;
 color:var(--text);background:transparent;
}
#workspace .heading,
#workspace .heading h1,
#workspace .heading h2,
#workspace .heading h3{color:#253251}
#workspace .heading .muted,#workspace .heading p{color:#7885a3}
#workspace .content{background:#fff!important;border:1px solid #e0e6f8!important;color:#253251;box-shadow:0 8px 28px #283d7410}
#workspace .side{background:#fff!important;border:1px solid #e0e6f8!important;color:#253251;box-shadow:0 6px 24px #283d740c}
#workspace .side-store{border-bottom-color:#e2e7f7!important}
#workspace .side-store-text strong{color:#253251!important}
#workspace .side-store-text small{color:#7885a3!important}
#workspace .side .side-settings{color:#647291!important}
#workspace .side #nav nav button,
#workspace .side #nav nav a.side-public-menu{color:#53617f!important;background:transparent;border-color:transparent}
#workspace .side #nav nav button:hover:not(.active),
#workspace .side #nav nav a.side-public-menu:hover{background:#f3f5ff!important;border-color:#e2e7fa!important;color:#34446e!important}
#workspace .side #nav nav button.active,
#workspace .side #nav nav a.side-public-menu.active{background:#eceeff!important;border-color:#dce2ff!important;color:#3548b3!important;box-shadow:0 5px 16px #6575ed12}
#workspace .kicker{color:#7450df!important}
#workspace .muted,#workspace small.muted{color:#7885a3}
#workspace p{color:inherit}
#workspace .toolbar h2,#workspace .toolbar h3,
#workspace .content h1,#workspace .content h2,#workspace .content h3{color:#253251}
#workspace .tile{background:#f8f9ff!important;border:1px solid #e0e6f8!important;color:#253251;border-radius:15px;box-shadow:0 3px 12px #263b7410}
#workspace .tile strong{color:#293b67}
#workspace .tile small{color:#7885a3}
#workspace .stack .item,
#workspace .item{background:#fff!important;border:1px solid #e0e6f8!important;color:#293653;border-radius:12px}
#workspace .item strong{color:#293653}
#workspace .item small{color:#7885a3}
#workspace .item .actions{gap:8px}
#workspace .item button:not(.button):not(.ghost){background:#edf0ff!important;color:#4455a4!important;border:1px solid #d8dffc!important;border-radius:9px;min-height:36px;padding:8px 12px;font-weight:750}
#workspace .item button:not(.button):not(.ghost):hover{background:#e2e7ff!important;border-color:#bdc9ff!important}
#workspace .data-form,
#workspace .cart{background:#f8f9ff!important;border:1px solid #e0e6f8!important;color:#293653;border-radius:16px}
#workspace .data-form label,
#workspace .cart label{color:#435170}
#workspace input:not([type=checkbox]):not([type=radio]):not([type=file]),
#workspace select,#workspace textarea{background:#fff!important;color:#293653!important;border:1px solid #d6def3!important;border-radius:10px;box-shadow:none}
#workspace input::placeholder,#workspace textarea::placeholder{color:#929db7}
#workspace input:focus,#workspace select:focus,#workspace textarea:focus{outline:3px solid #dfe4ff;border-color:#8798ff!important}
#workspace input[type=checkbox],#workspace input[type=radio]{accent-color:#7040ed}
#workspace .button,
#workspace button.button,
#workspace a.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:linear-gradient(105deg,#5b6ff0,#3268dc)!important;color:#fff!important;font-weight:800;line-height:1.2;text-decoration:none;box-shadow:0 4px 10px #4567d51a;transition:filter .15s,transform .15s,box-shadow .15s}
#workspace .button:hover,#workspace button.button:hover,#workspace a.button:hover{filter:brightness(1.04);box-shadow:0 6px 14px #4567d526}
#workspace .button:active,#workspace button.button:active{transform:translateY(1px)}
#workspace .button:disabled,#workspace button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
#workspace .ghost,
#workspace button.ghost,#workspace a.ghost{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;background:#f1f3ff!important;color:#45527a!important;border:1px solid #dce2f7!important;border-radius:10px;font-weight:750;text-decoration:none}
#workspace .ghost:hover,#workspace button.ghost:hover,#workspace a.ghost:hover{background:#e7ebff!important;border-color:#cbd4fb!important}
#workspace .text-button{color:#6844d7!important}
#workspace .pill{background:#eeebff!important;color:#6740c8!important;border:1px solid #ded6ff}
#workspace .price{color:#5c43c7!important}
#workspace .total{color:#253251}
#workspace .empty{background:#fafbff;color:#7885a3;border-color:#d8e0f5}
#workspace .notice{background:#eff3ff;color:#344777;border:1px solid #d4defa}
#workspace .warn{background:#fff7e9;color:#87551b;border-color:#f1d8a9}
#workspace .toast{background:#fff;color:#293653;border:1px solid #d9def8;box-shadow:0 12px 35px #253b7426}
#workspace table{color:#293653;border-color:#e0e6f8}
#workspace th{background:#f2f4ff;color:#3b496b}
#workspace td,#workspace th{border-color:#e0e6f8}
#workspace hr{border:0;border-top:1px solid #e0e6f8}
#workspace .button:focus-visible,#workspace .ghost:focus-visible,
#workspace button:focus-visible,#workspace a:focus-visible{outline:3px solid #c9d1ff;outline-offset:2px}
@media(max-width:580px){
 #workspace .data-form{padding:12px}
 #workspace .item .actions{width:100%}
 #workspace .item .actions>*{flex:1}
 #workspace .button,#workspace button.button,#workspace a.button{min-height:40px}
}


/* Correções de acabamento do tema claro nas telas que ainda tinham estilos próprios antigos. */
#workspace .orders-intro,
#workspace .orders-premium,
#workspace .online-order-notice,
#workspace .sales-disclaimer{background:#f5f7ff!important;border-color:#dfe5f8!important;color:#465574!important}
#workspace .orders-intro p,#workspace .orders-premium p{color:#7885a3!important}
#workspace .online-order-stats .tile,
#workspace .sales-period-totals .tile{background:#f8f9ff!important;border-color:#e0e6f8!important;color:#293653!important}
#workspace .online-order-card{background:#fff!important;border:1px solid #dfe5f8!important;color:#293653!important;box-shadow:0 5px 18px #253b7410}
#workspace .online-order-top{border-color:#e4e8f7!important;background:#fafbff}
#workspace .online-order-top h3,#workspace .online-order-total{color:#293653!important}
#workspace .online-order-top small,#workspace .online-order-details span,
#workspace .online-order-fees{color:#7885a3!important}
#workspace .online-order-details strong,#workspace .online-order-items>div,
#workspace .online-order-item-name{color:#293653!important}
#workspace .online-order-phone{color:#3c62c9!important}
#workspace .online-order-address,#workspace .online-order-notes{background:#f7f8ff!important;border-color:#e0e6f8!important;color:#465574!important}
#workspace .online-order-items{background:#f8f9ff!important;border-color:#e0e6f8!important}
#workspace .online-order-items h5{color:#4c5e91!important}
#workspace .online-order-items .online-order-item{border-color:#e0e6f8!important}
#workspace .online-order-item-qty{color:#5c65b6!important}
#workspace .online-order-items .online-order-item>strong{color:#34446d!important}
#workspace .online-status-block{background:#f8f9ff!important;border-color:#e0e6f8!important}
#workspace .online-status-title,#workspace .online-order-section h4,
#workspace .online-order-actions-heading{color:#34415f!important}
#workspace .online-state-pill{background:#eaf8f0!important;color:#18754e!important;border-color:#bce7d0!important}
#workspace .online-state-pill.is-done{background:#e5f7f1!important;color:#147b65!important;border-color:#a9e3d4!important}
#workspace .online-state-pill.is-cancelled{background:#fff0f2!important;color:#b53650!important;border-color:#f1c8d1!important}
#workspace .online-status-controls .online-advance{background:#eaf0ff!important;color:#354fba!important;border:1px solid #cbd7ff!important;border-radius:9px}
#workspace .online-status-controls .online-cancel{background:#fff0f2!important;color:#b53650!important;border:1px solid #f0cbd3!important;border-radius:9px}
#workspace .online-status-end{color:#53617f!important}
#workspace .online-order-dispatch{background:#eef8f2!important;color:#18764e!important;border-color:#c5e8d3!important}
#workspace .online-order-section{border-color:#e4e8f7!important}
#workspace .inventory-card,
#workspace .inventory-category-card,
#workspace .stock-summary-card{background:#fff!important;border:1px solid #dfe5f8!important;color:#293653!important;box-shadow:0 4px 15px #253b740d}
#workspace .inventory-card-heading h3,
#workspace .inventory-card-prices>strong,
#workspace .inventory-category-heading strong,
#workspace .inventory-category-card strong,
#workspace .stock-summary-number{color:#293653!important}
#workspace .inventory-card-heading small,
#workspace .inventory-card-prices>small,
#workspace .inventory-stock-meta,
#workspace .inventory-stock-meta strong,
#workspace .inventory-category-heading small,
#workspace .inventory-category-card small,
#workspace .stock-summary-label{color:#7885a3!important}
#workspace .inventory-photo-placeholder,
#workspace .inventory-card img,
#workspace .stock-item img,#workspace .stock-placeholder{background:#f1f4ff!important}
#workspace .inventory-status.ok{color:#16885b!important}
#workspace .inventory-status.low{color:#a56812!important}
#workspace .inventory-status.out{color:#c83f5c!important}
#workspace .inventory-card[data-stock-state="low"],
#workspace .inventory-card[data-stock-state="out"]{border-color:#e3d9bf!important}
#workspace .stock-badge.ok{background:#e5f7ee!important;color:#18764e!important}
#workspace .stock-badge.low{background:#fff4dc!important;color:#94600c!important}
#workspace .stock-badge.out{background:#fff0f2!important;color:#b53650!important}
#workspace .stock-row{background:#fff!important;border-color:#e0e6f8!important;color:#293653!important}
#workspace .stock-row .actions button{background:#edf0ff!important;color:#4455a4!important;border-color:#d8dffc!important}
#workspace .stock-summary-card.active{background:#eef0ff!important;border-color:#9ba9ff!important}
#workspace .stock-summary-card.active .stock-summary-label{color:#4d5eb2!important}
#workspace .stock-summary-card.active .stock-summary-number{color:#5b55cf!important}
#workspace .inventory-category-card.active{background:#eef0ff!important;border-color:#9ba9ff!important}
#workspace .inventory-category-card.active strong{color:#4354b5!important}
#workspace .inventory-category-card.active small{color:#6572b2!important}
#workspace .content:has(.inventory-kicker){background:#fff!important;border-color:#e0e6f8!important}
#workspace .content:has(.inventory-kicker) .toolbar p{color:#7885a3!important}
#workspace .content:has(.inventory-kicker) .data-form{background:#f8f9ff!important;border-color:#e0e6f8!important}
#workspace .content:has(.inventory-kicker) .data-form input,
#workspace .content:has(.inventory-kicker) .data-form select{background:#fff!important;border-color:#d6def3!important;color:#293653!important}
#workspace .product-best-seller-option{background:#f8f9ff!important;border-color:#e0e6f8!important}
#workspace .product-best-seller-option strong{color:#34415f!important}
#workspace .product-best-seller-option small{color:#7885a3!important}
#workspace .menu-price-controls{background:#f4f6ff!important;border-color:#dfe5f8!important}
#workspace .menu-price-controls .menu-price-toggle{color:#34415f!important}
#workspace .menu-price-controls .online-sale-price{background:#fff!important;border-color:#e0e6f8!important}
#workspace .inventory-online-price,#workspace .inventory-online-price strong{color:#6545c4!important}
#workspace .inventory-online-status{color:#18764e!important}
#workspace .inventory-online-status.offline{color:#b53650!important}
#workspace .sales-report-controls{--sales-filter-surface:#fff;--sales-filter-border:#d6def3}
#workspace .sales-period-switch{background:#f1f3ff!important;border-color:#dce2f7!important}
#workspace .sales-period-switch button{color:#53617f!important}
#workspace .sales-period-switch button.active{background:#7040ed!important;color:#fff!important}
#workspace .sales-report-controls input[type="date"]{background:#fff!important;color:#293653!important;color-scheme:light}
#workspace .sales-report-controls>[data-sales-refresh]{background:#f1f3ff!important;color:#45527a!important;border-color:#dce2f7!important}
#workspace .sales-period-label{color:#7885a3!important}
#workspace .sales-day{background:#fff!important;border-color:#dfe5f8!important}
#workspace .sales-day-heading{background:#f4f6ff!important;border-color:#e0e6f8!important}
#workspace .sales-day-heading h3{color:#293653!important}
#workspace .sales-day-heading small,#workspace .sales-day-summary{color:#7885a3!important}
#workspace .sales-day-summary strong{color:#293653!important}
#workspace .sales-table{color:#465574!important}
#workspace .sales-table th{background:#f1f3ff!important;color:#53617f!important}
#workspace .sales-table th,#workspace .sales-table td{border-color:#e0e6f8!important}
#workspace .sales-table td:nth-child(2) strong{color:#293653!important}
#workspace .sales-table td:nth-child(2) small{color:#7885a3!important}
#workspace .sales-table td.sales-profit{color:#16885b!important}
#workspace .sales-record-toggle{background:#edf0ff!important;color:#4455a4!important;border-color:#d8dffc!important}
#workspace .menu-price-controls input[type=checkbox]{accent-color:#7040ed}
#workspace .content:has(.stock-summary-grid) .toolbar h2{color:#253251!important}


/* Rolagem consistente em todas as abas do painel do lojista. Evita que telas longas
   (configurações, pedidos, produtos, estoque, vendas, relatórios e cardápio) fiquem presas. */
html:has(body.workspace-fullscreen),
body.workspace-fullscreen{
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
}
body.workspace-fullscreen .shell{
  height:auto!important;
  min-height:100vh;
  overflow:visible!important;
}
body.workspace-fullscreen #workspace{
  height:auto!important;
  min-height:calc(100vh - var(--topbar-height,0px));
  max-height:none!important;
  overflow:visible!important;
}
body.workspace-fullscreen #workspace .dashboard{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:start;
}
body.workspace-fullscreen #workspace .content{
  height:auto!important;
  min-height:calc(100vh - 60px);
  max-height:none!important;
  overflow:visible!important;
  overscroll-behavior: auto;
}
body.workspace-fullscreen #workspace .side{
  max-height:calc(100vh - 30px);
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#c7cdef transparent;
}
body.workspace-fullscreen #workspace .content>*{
  min-width:0;
}
body.workspace-fullscreen #workspace .content table,
body.workspace-fullscreen #workspace .content .table-wrap,
body.workspace-fullscreen #workspace .content .table-scroll{
  max-width:100%;
}
body.workspace-fullscreen #workspace .content .table-wrap,
body.workspace-fullscreen #workspace .content .table-scroll{
  overflow-x:auto;
  overscroll-behavior-x:contain;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-catalog{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel{
  max-height:calc(100vh - 30px);
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
@media(max-width:850px){
  body.workspace-fullscreen .shell{padding-bottom:40px!important}
  body.workspace-fullscreen #workspace .dashboard{height:auto!important;overflow:visible!important}
  body.workspace-fullscreen #workspace .content{min-height:0!important;height:auto!important;overflow:visible!important}
  body.workspace-fullscreen #workspace .side{
    max-height:calc(100dvh - 20px);
    overflow-y:auto!important;
  }
  body.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel{
    max-height:none!important;overflow:visible!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.workspace-fullscreen #workspace *{scroll-behavior:auto!important;transition-duration:0s!important}
}


/* Compactar cartões de pedidos online: menos padding e intervalos, mantendo legibilidade. */
#workspace .online-order-card{border-radius:12px!important;box-shadow:0 3px 12px #253b740b!important}
#workspace .online-order-top{padding:12px 15px 10px!important;gap:8px!important}
#workspace .online-order-top h3{font-size:20px!important;line-height:1.2!important}
#workspace .online-order-top small{font-size:11px!important}
#workspace .online-order-section{padding:11px 15px!important}
#workspace .online-order-section h4,
#workspace .online-order-actions-heading{margin-bottom:8px!important;font-size:12px!important}
#workspace .online-order-overview{padding-top:10px!important;padding-bottom:10px!important}
#workspace .online-order-details{gap:7px 12px!important}
#workspace .online-order-details>div{gap:2px!important}
#workspace .online-order-items{padding:8px 0 0!important;gap:4px!important}
#workspace .online-order-items h5{margin-bottom:5px!important}
#workspace .online-order-items .online-order-item{padding:4px 0!important;gap:7px!important}
#workspace .online-order-items .online-order-item>span,
#workspace .online-order-items .online-order-item>strong{font-size:12px!important;line-height:1.3!important}
#workspace .online-order-total-row{padding-top:8px!important;padding-bottom:8px!important}
#workspace .online-order-actions{gap:8px!important;padding:11px 15px 13px!important}
#workspace .online-status-block{padding:9px!important;gap:6px!important;border-radius:9px!important}
#workspace .online-status-controls{gap:6px!important}
#workspace .online-order-card .button,
#workspace .online-order-card button{min-height:34px!important;padding:7px 10px!important;font-size:12px!important}
#workspace .online-order-stats{gap:10px!important;margin:10px 0!important}
#workspace .online-order-stats .tile{padding:11px!important}
@media(max-width:700px){
 #workspace .online-order-top{padding:11px 12px!important}
 #workspace .online-order-section{padding:10px 12px!important}
 #workspace .online-order-actions{padding:10px 12px 12px!important}
 #workspace .online-order-card{gap:0!important}
}


/* PDV: cards compactos em 4 colunas, imagem preenchendo a área visual e texto centralizado no rodapé. */
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-products,
#workspace .godzilla-pdv .pdv-products{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
  align-content:start;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product,
#workspace .godzilla-pdv .pdv-product{
  min-width:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:12px!important;
  padding:0!important;
  gap:0!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-media,
#workspace .godzilla-pdv .pdv-product-media,
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media,
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media{
  width:100%!important;
  height:clamp(95px,11vw,145px)!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#f5f6ff!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-media img,
#workspace .godzilla-pdv .pdv-product-media img,
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media img,
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  margin:0!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-info,
#workspace .godzilla-pdv .pdv-product-info,
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-clickable .pdv-product-info,
#workspace .godzilla-pdv .pdv-product-clickable .pdv-product-info{
  width:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex:1 0 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  padding:8px 5px 9px!important;
  text-align:center!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product h3,
#workspace .godzilla-pdv .pdv-product h3,
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-info strong,
#workspace .godzilla-pdv .pdv-product-info strong{
  width:100%!important;
  margin:0!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-price,
#workspace .godzilla-pdv .pdv-product-price{
  display:block!important;
  width:100%!important;
  margin:0!important;
  text-align:center!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product .pdv-add,
#workspace .godzilla-pdv .pdv-product .pdv-add{
  min-height:30px!important;
  padding:5px 6px!important;
  margin:4px 0 0!important;
  font-size:11px!important;
}
@media(max-width:900px){
 body.workspace-fullscreen #workspace .godzilla-pdv .pdv-products,
 #workspace .godzilla-pdv .pdv-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){
 body.workspace-fullscreen #workspace .godzilla-pdv .pdv-products,
 #workspace .godzilla-pdv .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.workspace-fullscreen #workspace .godzilla-pdv .pdv-product-media,
 #workspace .godzilla-pdv .pdv-product-media{height:clamp(100px,34vw,150px)!important}
}


/* Lista de reposição: harmonizada com o tema claro do painel. */
#workspace .restock-section{
  background:#fff!important;
  border:1px solid #dfe5f8!important;
  border-radius:15px!important;
  padding:16px!important;
  margin:14px 0!important;
  color:#293653!important;
  box-shadow:0 4px 16px #253b740b;
}
#workspace .restock-heading{align-items:center!important;gap:12px!important;margin-bottom:12px!important}
#workspace .restock-heading h3{color:#253251!important;font-size:18px!important;line-height:1.3!important}
#workspace .restock-heading p{color:#7885a3!important}
#workspace .restock-total{
  background:#f1edff!important;
  border:1px solid #e0d7ff!important;
  border-radius:11px!important;
  padding:10px 13px!important;
  align-items:flex-end!important;
}
#workspace .restock-total small{color:#71658f!important}
#workspace .restock-total strong{color:#6740d2!important;font-size:21px!important;font-variant-numeric:tabular-nums}
#workspace .restock-list{gap:7px!important}
#workspace .restock-item{
  grid-template-columns:minmax(180px,2fr) minmax(65px,.7fr) minmax(95px,.8fr) minmax(120px,1fr)!important;
  gap:12px!important;
  padding:11px 13px!important;
  border:1px solid #e0e6f8!important;
  border-radius:11px!important;
  background:#f8f9ff!important;
  color:#293653!important;
}
#workspace .restock-item>div{gap:4px!important}
#workspace .restock-item>div>small{color:#7885a3!important;font-size:11px!important}
#workspace .restock-item>div>strong{color:#34415f!important;font-size:13px!important;line-height:1.35!important}
#workspace .restock-item .restock-name strong{color:#253251!important;font-size:14px!important}
#workspace .restock-item .restock-name small{line-height:1.5!important}
#workspace .restock-item>div:last-child strong{color:#6740d2!important;font-variant-numeric:tabular-nums}
#workspace .restock-note{color:#7885a3!important}
@media(max-width:760px){
 #workspace .restock-section{padding:12px!important}
 #workspace .restock-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
 #workspace .restock-item>div:first-child{grid-column:1/-1;border-bottom:1px solid #e0e6f8!important;padding-bottom:8px!important}
 #workspace .restock-total{align-items:flex-start!important;text-align:left!important}
}


/* Motoboys cadastrados: três cards por fileira em telas maiores. */
#workspace .courier-access-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
#workspace .courier-access-item{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:14px!important;padding:15px!important;box-sizing:border-box!important}
#workspace .courier-access-info{min-width:0!important}
#workspace .courier-access-url{overflow-wrap:anywhere!important;word-break:break-word!important}
#workspace .courier-access-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
#workspace .courier-access-actions button{flex:1 1 auto!important;min-width:0!important}
@media(max-width:900px){#workspace .courier-access-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#workspace .courier-access-list{grid-template-columns:minmax(0,1fr)!important}}


/* Garante rolagem vertical pela roda do mouse no painel inteiro. */
html:has(body.workspace-fullscreen),
body.workspace-fullscreen,
body.workspace-fullscreen .shell,
body.workspace-fullscreen #workspace,
body.workspace-fullscreen #workspace .dashboard,
body.workspace-fullscreen #workspace .content{
  overscroll-behavior-y:auto!important;
}
html:has(body.workspace-fullscreen),
body.workspace-fullscreen{
  overflow-y:auto!important;
  height:auto!important;
  max-height:none!important;
}
body.workspace-fullscreen #workspace .content{
  overflow-y:visible!important;
  touch-action:pan-y!important;
}


/* Cards de motoboy: nome e telefone mais legíveis; link posicionado abaixo. */
#workspace .courier-access-item{align-items:stretch!important}
#workspace .courier-access-info{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
#workspace .courier-access-info>strong{display:block!important;font-size:18px!important;line-height:1.3!important;font-weight:800!important;color:var(--text,#26324b)!important}
#workspace .courier-access-info>small{font-size:14px!important;line-height:1.45!important}
#workspace .courier-access-label{margin:18px 0 3px!important;font-size:13px!important}
#workspace .courier-access-url{margin-top:2px!important;font-size:14px!important;line-height:1.5!important}
#workspace .courier-access-actions{margin-top:8px!important}


/* Histórico de vendas: tabela organizada, hierarquia visual clara e adaptação para telas menores. */
#workspace .sales-records-section{
  margin:18px 0 22px!important;
  padding:20px!important;
  background:#fff!important;
  border:1px solid #dfe5f8!important;
  border-radius:16px!important;
  box-shadow:0 5px 18px #253b740b!important;
  color:#293653!important;
}
#workspace .sales-records-section h3{color:#253251!important;font-size:20px!important;font-weight:800!important;line-height:1.3!important}
body:not(.pdv-night) #workspace .sales-records-section>p{color:#7885a3!important;font-size:13px!important;line-height:1.5!important}
body:not(.pdv-night) #workspace .sales-records-scroll{
  border:1px solid #e0e6f8!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow-x:auto!important;
  scrollbar-width:thin;
  scrollbar-color:#c7cdef transparent;
}
body:not(.pdv-night) #workspace .sales-records-table{
  width:100%!important;
  min-width:720px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:13px!important;
  color:#465574!important;
  font-variant-numeric:tabular-nums;
}
body:not(.pdv-night) #workspace .sales-records-table th{
  padding:13px 14px!important;
  background:#f1f3ff!important;
  color:#53617f!important;
  border-bottom:1px solid #dfe5f8!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.025em;
  text-transform:uppercase;
  white-space:nowrap!important;
}
body:not(.pdv-night) #workspace .sales-records-table td{
  padding:13px 14px!important;
  background:#fff!important;
  border-bottom:1px solid #edf0fa!important;
  color:#53617f!important;
  vertical-align:middle!important;
}
body:not(.pdv-night) #workspace .sales-records-table tbody tr:nth-child(even) td{background:#fafbff!important}
body:not(.pdv-night) #workspace .sales-records-table tbody tr:hover td{background:#f4f5ff!important}
body:not(.pdv-night) #workspace .sales-records-table tr:last-child td{border-bottom:0!important}
body:not(.pdv-night) #workspace .sales-records-table th:nth-child(-n+2),
body:not(.pdv-night) #workspace .sales-records-table td:nth-child(-n+2){text-align:left!important}
body:not(.pdv-night) #workspace .sales-records-table td strong{color:#293653!important;font-weight:800!important}
body:not(.pdv-night) #workspace .sales-records-table .sales-record-profit{color:#16885b!important;font-weight:800!important}
body:not(.pdv-night) #workspace .sales-records-table .sales-record-toggle{
  display:flex!important;align-items:center!important;gap:8px!important;
  min-height:40px!important;padding:8px 10px!important;
  border:1px solid #dfe5f8!important;border-radius:9px!important;
  background:#f4f5ff!important;color:#43519b!important;
  font-size:13px!important;font-weight:800!important;
}
body:not(.pdv-night) #workspace .sales-records-table .sales-record-toggle:hover{background:#eceeff!important;color:#5135b8!important}
body:not(.pdv-night) #workspace .sales-records-table .sales-record-row:has(.sales-record-toggle[aria-expanded="true"]) td{background:#f3f1ff!important}
body:not(.pdv-night) #workspace .sales-records-table .sales-record-row:has(.sales-record-toggle[aria-expanded="true"]) .sales-record-toggle{background:#e9e4ff!important;border-color:#d7cbff!important;color:#5939c3!important}
#workspace .sales-export-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:14px 0!important}
#workspace .sales-export-actions button{min-height:40px!important;border-radius:10px!important;padding:10px 14px!important;font-weight:750!important}
@media(max-width:700px){
  #workspace .sales-records-section{padding:12px!important;border-radius:12px!important}
  #workspace .sales-records-section h3{font-size:18px!important}
  #workspace .sales-records-table{min-width:690px!important;font-size:12px!important}
  #workspace .sales-records-table th,#workspace .sales-records-table td{padding:10px 9px!important}
  #workspace .sales-export-actions button{flex:1 1 180px!important}
}


/* Corrige o botão do menu da loja em janelas estreitas: mantém o acionador visível e clicável acima do conteúdo. */
@media(max-width:1000px){
  #workspace .pdv-mobile-menu,
  body.workspace-fullscreen #workspace .pdv-mobile-menu{
    display:flex!important;
    position:relative!important;
    z-index:120!important;
    width:100%!important;
    min-height:44px!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  #workspace .pdv-mobile-menu #sideToggle,
  body.workspace-fullscreen #workspace .pdv-mobile-menu #sideToggle{
    display:inline-flex!important;
    position:relative!important;
    z-index:121!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    cursor:pointer!important;
  }
  #workspace .side{
    z-index:130!important;
  }
  #workspace .side-backdrop:not(.hidden){
    z-index:125!important;
  }
}


/* Refinamento visual dos cards de motoboy sem alterar dimensões, espaçamentos ou grade. */
#workspace .courier-access-item{
  background:linear-gradient(145deg,#fff 0%,#f8f9ff 100%)!important;
  border:1px solid #dfe5f5!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px #263b720d!important;
  color:#293653!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
#workspace .courier-access-item:hover{
  border-color:#b9a7f5!important;
  box-shadow:0 7px 18px #5140a014!important;
}
#workspace .courier-access-info>strong{
  color:#253251!important;
  letter-spacing:-.015em!important;
}
#workspace .courier-access-info>small{
  color:#687694!important;
}
#workspace .courier-access-label{
  color:#687694!important;
  font-weight:750!important;
}
#workspace .courier-access-url{
  color:#6543c2!important;
  text-decoration:none!important;
  text-underline-offset:3px!important;
}
#workspace .courier-access-url:hover{
  color:#4d2da8!important;
  text-decoration:underline!important;
}
#workspace .courier-access-actions button{
  border-radius:9px!important;
  font-weight:750!important;
  transition:filter .15s ease,box-shadow .15s ease!important;
}
#workspace .courier-access-actions button:hover{
  filter:brightness(.97)!important;
  box-shadow:0 2px 7px #263b7214!important;
}


/* Painel esquerdo fixo em desktop: a rolagem fica somente na área de conteúdo. */
@media(min-width:1001px){
  #workspace .dashboard{
    grid-template-columns:254px minmax(0,1fr)!important;
    align-items:start!important;
  }
  #workspace .side{
    position:fixed!important;
    top:15px!important;
    left:max(18px,calc((100vw - 1200px)/2 + 18px))!important;
    width:254px!important;
    height:calc(100vh - 30px)!important;
    min-height:0!important;
    max-height:calc(100vh - 30px)!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    align-self:initial!important;
  }
  #workspace .content{
    grid-column:2!important;
    min-width:0!important;
  }
}


/* Pedidos online: cartão claro e organizado no padrão do comprovante de pedido. */
#workspace .online-order-card{
  display:flex!important;flex-direction:column!important;gap:0!important;
  overflow:hidden!important;background:#fff!important;color:#171b2b!important;
  border:1px solid #e0e2e8!important;border-radius:17px!important;
  box-shadow:0 3px 12px #202b4510!important;padding:0!important;
}
#workspace .online-order-top{order:1!important;display:flex!important;justify-content:flex-start!important;text-align:left!important;align-items:center!important;padding:17px 20px 8px!important;background:#fff!important;border:0!important}
#workspace .online-order-eyebrow{display:none!important}
#workspace .online-order-top h3{font-size:25px!important;line-height:1.2!important;color:#25294f!important;margin:0!important;font-weight:850!important}
#workspace .online-order-top small{font-size:13px!important;color:#737887!important;margin-top:5px!important}
#workspace .online-order-overview{order:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0 20px 13px!important;color:#4e5363!important;font-size:13px!important}
#workspace .online-state-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:7px 12px!important;background:#e5f6eb!important;border:1px solid #b8e2c6!important;color:#167746!important;font-size:12px!important;font-weight:800!important;white-space:normal!important}
#workspace .online-state-pill.is-cancelled{background:#fff0f0!important;border-color:#efc7c7!important;color:#a22e38!important}
#workspace .online-order-customer{order:3!important;margin:0 16px 14px!important;padding:15px 16px!important;text-align:left!important;background:#f3f4f7!important;border:1px solid #e0e2e8!important;border-radius:14px!important}
#workspace .online-order-customer h3{font-size:19px!important;line-height:1.3!important;color:#171b2b!important;margin:4px 0 9px!important;font-weight:800!important}
#workspace .online-order-customer:before{content:'CLIENTE';display:block;color:#34394a;font-size:12px;font-weight:850;letter-spacing:.02em}
#workspace .online-order-customer .online-order-details{display:flex!important;justify-content:flex-start!important;text-align:left!important;color:#555b69!important;font-size:13px!important;overflow-wrap:anywhere}
#workspace .online-order-customer .online-phone-line{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important}
#workspace .online-order-phone{color:#41485a!important;text-decoration:none!important;font-weight:600!important}
#workspace .online-order-whatsapp{color:#25855a!important;display:inline-flex!important;align-items:center!important}
#workspace .online-order-customer .online-order-address{margin:8px 0 0!important;color:#555b69!important;text-align:left!important;font-size:13px!important;overflow-wrap:anywhere!important}
#workspace .online-order-items{order:4!important;margin:0 16px!important;padding:13px 15px!important;gap:5px!important;background:#f3f4f7!important;border:1px solid #e0e2e8!important;border-radius:14px!important}
#workspace .online-order-items h5{color:#34394a!important;font-size:12px!important;text-align:left!important;margin:0 0 7px!important}
#workspace .online-order-items .online-order-item{padding:7px 0!important;border-bottom:1px solid #dfe1e7!important;align-items:baseline!important}
#workspace .online-order-items .online-order-item>span{color:#34394a!important;font-size:13px!important}
#workspace .online-order-items .online-order-item>strong{color:#34394a!important;font-size:13px!important}
#workspace .online-order-payment-meta{order:5!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;padding:12px 20px 0!important;color:#555b69!important;font-size:12px!important}
#workspace .online-order-total-row{order:6!important;display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px 10px!important;padding:12px 20px 15px!important;background:#fff!important;border:0!important;text-align:left!important}
#workspace .online-order-total-row>span{font-size:18px!important;font-weight:850!important;color:#171b2b!important}
#workspace .online-order-total-row .online-order-total{font-size:24px!important;font-weight:900!important;color:#171b2b!important}
#workspace .online-order-actions{order:7!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:0 16px 16px!important;margin:0!important;background:#fff!important;border:0!important}
#workspace .online-order-actions .online-status-block{background:transparent!important;border:0!important;padding:0!important;min-width:0!important}
#workspace .online-order-actions .online-status-controls{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#workspace .online-order-actions button{border-radius:10px!important;min-height:40px!important;font-size:12px!important;padding:9px 12px!important}
@media(max-width:600px){
 #workspace .online-order-overview{padding-left:14px!important;padding-right:14px!important}
 #workspace .online-order-top{padding:15px 14px 8px!important}
 #workspace .online-order-customer{margin:0 12px 12px!important;padding:13px!important}
 #workspace .online-order-items{margin:0 12px!important;padding:11px!important}
 #workspace .online-order-payment-meta{padding:11px 14px 0!important}
 #workspace .online-order-total-row{padding:11px 14px 13px!important}
 #workspace .online-order-total-row>span{font-size:16px!important}
 #workspace .online-order-total-row .online-order-total{font-size:22px!important}
 #workspace .online-order-actions{grid-template-columns:1fr!important;padding:0 12px 13px!important}
}


/* Ajuste de leitura dos pedidos: um card por linha, sem colunas comprimidas. */
#workspace .online-order-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
#workspace .online-order-card{width:100%!important;max-width:none!important;min-width:0!important}
#workspace .online-order-card .online-order-top{position:relative!important;padding-right:190px!important;min-height:72px!important}
#workspace .online-order-card .online-order-overview{justify-content:flex-start!important;position:relative!important}
#workspace .online-order-card .online-order-overview .online-state-pill{position:absolute!important;right:20px!important;top:-62px!important;max-width:175px!important}
#workspace .online-order-card .online-order-customer{margin-top:0!important}
#workspace .online-order-card .online-order-total-row{align-items:baseline!important;gap:8px!important;border-top:1px solid #e4e6ec!important}
#workspace .online-order-card .online-order-total-row>span{font-size:20px!important}
#workspace .online-order-card .online-order-total-row .online-order-total{font-size:28px!important}
#workspace .online-order-card .online-order-actions{grid-template-columns:minmax(0,1fr)!important}
#workspace .online-order-card .online-status-block{display:flex!important;flex-direction:column!important;gap:7px!important}
#workspace .online-order-card .online-status-title{font-size:13px!important;font-weight:800!important;color:#34394a!important}
#workspace .online-order-card .online-status-controls{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important}
#workspace .online-order-card .online-status-controls button{flex:1 1 190px!important;min-width:0!important}
@media(max-width:600px){
 #workspace .online-order-card .online-order-top{padding-right:14px!important;min-height:0!important}
 #workspace .online-order-card .online-order-overview{padding-top:0!important;justify-content:space-between!important}
 #workspace .online-order-card .online-order-overview .online-state-pill{position:static!important;max-width:50%!important}
 #workspace .online-order-card .online-status-controls button{flex:1 1 100%!important}
}


/* Pedidos online em três colunas compactas, com respiro entre os cards. */
#workspace .online-order-list{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:22px!important;
 align-items:stretch!important;
}
#workspace .online-order-card{
 min-width:0!important;width:100%!important;max-width:none!important;
 border-radius:14px!important;
}
#workspace .online-order-card .online-order-top{padding:14px 14px 8px!important;min-height:0!important}
#workspace .online-order-card .online-order-top h3{font-size:20px!important;overflow-wrap:anywhere!important}
#workspace .online-order-card .online-order-top small{font-size:11px!important}
#workspace .online-order-card .online-order-overview{padding:0 14px 10px!important;font-size:12px!important;gap:6px!important;flex-wrap:wrap!important}
#workspace .online-order-card .online-order-overview .online-state-pill{position:static!important;max-width:100%!important;padding:5px 9px!important;font-size:11px!important}
#workspace .online-order-card .online-order-customer{margin:0 10px 10px!important;padding:11px!important;border-radius:11px!important}
#workspace .online-order-card .online-order-customer h3{font-size:15px!important;overflow-wrap:anywhere!important}
#workspace .online-order-card .online-order-customer .online-order-details,
#workspace .online-order-card .online-order-customer .online-order-address{font-size:11px!important;overflow-wrap:anywhere!important}
#workspace .online-order-card .online-order-items{margin:0 10px!important;padding:10px!important;border-radius:11px!important}
#workspace .online-order-card .online-order-items h5{font-size:10px!important}
#workspace .online-order-card .online-order-items .online-order-item{gap:5px!important}
#workspace .online-order-card .online-order-items .online-order-item>span,
#workspace .online-order-card .online-order-items .online-order-item>strong{font-size:11px!important;overflow-wrap:anywhere!important}
#workspace .online-order-card .online-order-payment-meta{padding:10px 12px 0!important;font-size:11px!important;gap:5px!important}
#workspace .online-order-card .online-state-pill{padding:5px 8px!important;font-size:10px!important}
#workspace .online-order-card .online-order-total-row{padding:10px 12px!important;gap:5px!important}
#workspace .online-order-card .online-order-total-row>span{font-size:14px!important}
#workspace .online-order-card .online-order-total-row .online-order-total{font-size:21px!important}
#workspace .online-order-card .online-order-actions{grid-template-columns:minmax(0,1fr)!important;padding:0 10px 12px!important;gap:8px!important}
#workspace .online-order-card .online-status-block{min-width:0!important}
#workspace .online-order-card .online-status-controls{flex-direction:column!important;align-items:stretch!important;gap:6px!important}
#workspace .online-order-card .online-status-controls button{flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:34px!important;padding:7px 8px!important;font-size:10px!important;white-space:normal!important}
@media(max-width:1100px){#workspace .online-order-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}}
@media(max-width:650px){#workspace .online-order-list{grid-template-columns:minmax(0,1fr)!important;gap:15px!important}}


/* Pedidos online: cabeçalho central, status lado a lado e ações compactas. */
#workspace .online-order-card .online-order-top{justify-content:center!important;text-align:center!important;padding:16px 14px 5px!important;border:0!important;min-height:0!important}
#workspace .online-order-card .online-order-identifier{width:100%!important;text-align:center!important}
#workspace .online-order-card .online-order-top h3{font-size:22px!important;margin:0!important;color:#25294f!important}
#workspace .online-order-card .online-order-top small{display:block!important;margin-top:5px!important;font-size:12px!important;color:#737887!important}
#workspace .online-order-card .online-order-overview{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;padding:7px 12px 14px!important;border:0!important}
#workspace .online-order-card .online-order-overview>strong:first-child{font-size:11px!important;color:#60677b!important}
#workspace .online-order-card .online-order-overview .online-state-pill{position:static!important;max-width:100%!important;font-size:11px!important}
#workspace .online-order-card .online-order-customer{margin-bottom:12px!important}
#workspace .online-order-card .online-order-items{margin-bottom:0!important}
#workspace .online-order-card .online-order-payment-meta{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px!important;padding:10px 12px 0!important;border:0!important}
#workspace .online-order-card .online-order-total-row{border:0!important;border-top:0!important;margin-top:0!important;padding:12px 12px 13px!important;display:flex!important;align-items:baseline!important;justify-content:space-between!important}
#workspace .online-order-card .online-order-actions{border:0!important;border-top:0!important;margin:0!important;padding:0 10px 12px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
#workspace .online-order-card .online-order-actions .online-status-block{display:block!important;min-width:0!important}
#workspace .online-order-card .online-order-actions .online-status-title{display:none!important}
#workspace .online-order-card .online-order-actions .online-status-controls{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;width:100%!important}
#workspace .online-order-card .online-status-controls button{flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:8px 6px!important;font-size:10px!important;white-space:normal!important;line-height:1.25!important}
#workspace .online-order-card .online-status-controls .online-manual-finish{display:none!important}
#workspace .online-order-card .online-status-end{display:inline-flex!important;align-items:center!important;min-height:30px!important;font-size:11px!important;color:#4f5870!important}
#workspace .online-order-card .online-order-actions .online-order-dispatch{width:100%!important}
@media(max-width:650px){
 #workspace .online-order-card .online-order-actions .online-status-controls{flex-wrap:wrap!important}
 #workspace .online-order-card .online-status-controls button{flex:1 1 calc(50% - 8px)!important}
}

/* Status do pedido ao lado dos itens vendidos */
#workspace .online-order-card .online-items-status-row{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(190px,1fr)!important;align-items:stretch!important;gap:12px!important;margin:0 16px!important}
#workspace .online-order-card .online-items-status-row .online-order-items{margin:0!important;min-width:0!important}
#workspace .online-order-card .online-order-status-side{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding:12px!important;border:1px solid #e0e2e8!important;border-radius:14px!important;background:#f8f9fc!important}
#workspace .online-order-card .online-order-status-side .online-status-title{display:block!important;font-size:12px!important;font-weight:800!important;color:#34394a!important}
#workspace .online-order-card .online-order-status-side .online-status-controls{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
#workspace .online-order-card .online-order-status-side .online-status-controls button{width:100%!important;min-width:0!important;flex:1 1 auto!important;min-height:38px!important;font-size:12px!important}
@media(max-width:650px){
 #workspace .online-order-card .online-items-status-row{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:0 10px!important}
 #workspace .online-order-card .online-order-status-side{padding:10px!important}
}

/* Ordem visual explícita dos dados em cada pedido online */
#workspace .online-order-card .online-order-top{order:1}
#workspace .online-order-card .online-order-overview{order:2}
#workspace .online-order-card .online-order-customer{order:3}
#workspace .online-order-card .online-items-status-row{order:4}
#workspace .online-order-card .online-order-total-row{order:5}
#workspace .online-order-card .online-order-actions{order:6}
#workspace .online-order-card{display:flex!important;flex-direction:column!important}
#workspace .online-order-card .online-customer-label,
#workspace .online-order-card .online-customer-data-label{display:block!important;font-size:11px!important;font-weight:800!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#626b7d!important;margin-bottom:4px!important}
#workspace .online-order-card .online-customer-data-label{margin-top:9px!important}
#workspace .online-order-card .online-order-payment-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;min-width:0!important}
#workspace .online-order-card .online-order-payment-meta .online-status-title{display:block!important}
#workspace .online-order-card .online-order-actions .online-status-block:first-child .online-status-title{display:block!important}

#workspace .online-order-card .online-order-status-under-items{order:5!important;margin:10px 16px 0!important;padding:12px!important;border:1px solid #e0e2e8!important;border-radius:12px!important;background:#f8f9fc!important}
#workspace .online-order-card .online-order-status-under-items .online-status-title{display:block!important;font-size:12px!important;font-weight:800!important;margin-bottom:8px!important}
#workspace .online-order-card .online-order-status-under-items .online-status-controls{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#workspace .online-order-card .online-order-status-under-items .online-status-controls button{min-height:38px!important}
@media(max-width:650px){#workspace .online-order-card .online-order-status-under-items{margin:8px 10px 0!important}}

#workspace .online-order-card .online-order-total-row{order:5!important}
#workspace .online-order-card .online-order-status-under-items{order:6!important;margin:10px 16px!important}
#workspace .online-order-card .online-order-actions{order:7!important}
#workspace .online-order-card .online-order-status-under-items .online-status-controls button{white-space:normal!important}

#workspace .online-order-card .online-order-status-under-items{order:8!important}
#workspace .online-order-card .online-order-actions{order:7!important}
#workspace .online-order-card .online-customer-label{display:none!important}

/* Final order card layout: order status is the last block */
#workspace .online-order-card .online-order-total-row{order:5!important}
#workspace .online-order-card .online-order-actions{order:6!important}
#workspace .online-order-card .online-order-status-under-items{order:7!important;display:block!important}
#workspace .online-order-card .online-order-customer .online-customer-data-label{display:none!important}
#workspace .online-order-card .online-order-customer h3{margin-top:0!important}

#workspace .online-order-card .online-order-customer .online-customer-label,
#workspace .online-order-card .online-order-customer .online-customer-data-label,
#workspace .online-order-card .online-order-customer::before{display:none!important;content:none!important}
#workspace .online-order-card .online-order-status-under-items{order:7!important}

/* Hard override for mobile and desktop order cards */
#workspace article.online-order-card{display:flex!important;flex-direction:column!important}
#workspace article.online-order-card > .online-order-top{order:1!important}
#workspace article.online-order-card > .online-order-overview{order:2!important}
#workspace article.online-order-card > .online-order-customer{order:3!important}
#workspace article.online-order-card > .online-items-status-row{order:4!important}
#workspace article.online-order-card > .online-order-total-row{order:5!important;display:flex!important}
#workspace article.online-order-card > .online-order-actions{order:6!important;display:block!important}
#workspace article.online-order-card > .online-order-status-under-items{order:7!important;display:block!important}
#workspace article.online-order-card .online-customer-data-label,
#workspace article.online-order-card .online-customer-label,
#workspace article.online-order-card .online-order-customer:before{display:none!important;content:none!important}


/* Ajuste final dos cards: evitar áreas vazias e equilibrar itens/pagamento */
#workspace .online-order-card > .online-items-status-row{
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
  align-items:start!important;
}
#workspace .online-order-card .online-order-payment-meta{
  align-self:start!important;
  min-height:0!important;
  padding:10px 8px!important;
  gap:10px!important;
}
#workspace .online-order-card .online-order-payment-meta .online-status-title{
  margin:0!important;
}
#workspace .online-order-card > .online-order-status-under-items{
  min-height:0!important;
  height:auto!important;
  align-self:stretch!important;
  margin-top:10px!important;
  padding:12px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-block{
  min-height:0!important;
  height:auto!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-end{
  min-height:0!important;
  padding:2px 0!important;
  align-self:flex-start!important;
}
@media(max-width:1100px){
  #workspace .online-order-card > .online-items-status-row{
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* Correção definitiva: cards compactos, sem altura artificial no status final */
#workspace .online-order-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
#workspace .online-order-card > .online-items-status-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:start!important;
  height:auto!important;
  min-height:0!important;
}
#workspace .online-order-card > .online-items-status-row .online-order-items,
#workspace .online-order-card > .online-items-status-row .online-order-payment-meta{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
#workspace .online-order-card > .online-items-status-row .online-order-payment-meta{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  padding:10px!important;
}
#workspace .online-order-card > .online-order-status-under-items{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  flex:0 0 auto!important;
  margin:10px 16px 16px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-block,
#workspace .online-order-card > .online-order-status-under-items .online-status-controls{
  height:auto!important;
  min-height:0!important;
  flex:0 0 auto!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-controls{
  align-items:flex-start!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-end{
  display:inline-flex!important;
  min-height:0!important;
  height:auto!important;
}
@media(max-width:1100px){
  #workspace .online-order-card > .online-items-status-row{
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* Os dois status ficam juntos no rodapé do card */
#workspace .online-order-card > .online-order-status-under-items{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 align-items:start!important;
 gap:14px!important;
}
#workspace .online-order-card > .online-order-status-under-items > .online-status-block,
#workspace .online-order-card > .online-order-status-under-items > .online-order-payment-meta{
 min-width:0!important;
 height:auto!important;
 min-height:0!important;
 padding:0!important;
 margin:0!important;
 align-self:start!important;
}
#workspace .online-order-card > .online-order-status-under-items > .online-order-payment-meta{
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 justify-content:flex-start!important;
 gap:8px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-title{
 display:block!important;
 margin:0 0 4px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-controls{
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:8px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-controls button{
 width:100%!important;
}
@media(max-width:650px){
 #workspace .online-order-card > .online-order-status-under-items{
  grid-template-columns:minmax(0,1fr)!important;
 }
}


/* Rodapé em duas colunas e ações de pagamento junto do respectivo status */
#workspace .online-order-card > .online-order-status-under-items{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 align-items:start!important;
 gap:16px!important;
}
#workspace .online-order-card > .online-order-status-under-items > .online-status-block,
#workspace .online-order-card > .online-order-status-under-items > .online-order-payment-meta{
 min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
#workspace .online-order-card > .online-order-status-under-items > .online-order-payment-meta{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:flex-start!important;gap:8px!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-controls{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:8px!important;width:100%!important;
}
#workspace .online-order-card > .online-order-status-under-items .online-status-controls button{
 width:100%!important;min-width:0!important;
}
@media(max-width:650px){
 #workspace .online-order-card > .online-order-status-under-items{
  grid-template-columns:minmax(0,1fr)!important;
 }
}


/* Pedido online em texto simples, uma linha por informação */
#workspace article.online-order-card.online-order-plain{
 display:block!important;
 height:auto!important;min-height:0!important;
 padding:12px!important;margin:12px 0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;
}
#workspace article.online-order-card.online-order-plain > *{
 display:block!important;
 order:initial!important;
 width:auto!important;min-width:0!important;max-width:none!important;
 height:auto!important;min-height:0!important;
 margin:0 0 7px!important;padding:0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;
 color:inherit!important;
}
#workspace article.online-order-card.online-order-plain h3,
#workspace article.online-order-card.online-order-plain h5,
#workspace article.online-order-card.online-order-plain strong,
#workspace article.online-order-card.online-order-plain span{
 font-size:inherit!important;font-weight:400!important;
}
#workspace article.online-order-card.online-order-plain .online-state-pill,
#workspace article.online-order-card.online-order-plain button{
 display:inline!important;
 width:auto!important;min-height:0!important;
 padding:0!important;margin:0 6px 0 0!important;
 border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
 color:inherit!important;font:inherit!important;text-transform:none!important;
}


/* Card de pedido formatado com cabeçalho, dados, tabela e ações */
#workspace article.online-order-card.online-order-formatted{
 display:block!important;height:auto!important;min-height:0!important;
 padding:20px!important;margin:16px 0!important;
 border:1px solid #dfe3e8!important;border-radius:14px!important;
 background:#fff!important;box-shadow:0 3px 12px rgba(15,23,42,.07)!important;
 color:#202938!important;overflow:hidden!important;
}
#workspace .online-order-formatted .online-order-head{
 display:block!important;padding:0 0 16px!important;margin:0 0 16px!important;
 border-bottom:1px solid #e5e7eb!important;background:transparent!important;
}
#workspace .online-order-formatted .online-order-head h3{
 display:block!important;font-size:19px!important;font-weight:750!important;
 margin:0 0 12px!important;padding:0!important;color:#172033!important;
}
#workspace .online-order-formatted .online-order-head div,
#workspace .online-order-formatted .online-order-section p{
 display:block!important;margin:6px 0!important;padding:0!important;
 font-size:14px!important;line-height:1.55!important;color:#374151!important;
}
#workspace .online-order-formatted .online-order-section{
 display:block!important;margin:0!important;padding:16px 0!important;
 border-bottom:1px solid #e5e7eb!important;background:transparent!important;
 min-width:0!important;height:auto!important;
}
#workspace .online-order-formatted .online-order-section h4{
 display:block!important;margin:0 0 12px!important;padding:0!important;
 font-size:16px!important;font-weight:700!important;color:#202938!important;
}
#workspace .online-order-formatted .online-order-table-wrap{width:100%!important;overflow-x:auto!important}
#workspace .online-order-formatted .online-order-items-table{
 width:100%!important;border-collapse:collapse!important;font-size:13px!important;
 background:#fff!important;min-width:360px!important;
}
#workspace .online-order-formatted .online-order-items-table th,
#workspace .online-order-formatted .online-order-items-table td{
 padding:10px 8px!important;text-align:left!important;
 border-bottom:1px solid #e5e7eb!important;background:transparent!important;
 color:#374151!important;white-space:normal!important;
}
#workspace .online-order-formatted .online-order-items-table th{
 font-weight:700!important;background:#f8fafc!important;color:#475569!important;
}
#workspace .online-order-formatted .online-order-items-table th:first-child,
#workspace .online-order-formatted .online-order-items-table td:first-child{text-align:center!important}
#workspace .online-order-formatted .online-order-total{font-size:16px!important;color:#111827!important}
#workspace .online-order-formatted .online-order-quick{border-bottom:0!important;padding-bottom:0!important}
#workspace .online-order-formatted .online-order-quick-actions,
#workspace .online-order-formatted .online-order-payment-actions{
 display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;
}
#workspace .online-order-formatted .online-order-quick-actions button,
#workspace .online-order-formatted .online-order-payment-actions button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-height:36px!important;padding:8px 12px!important;margin:0!important;
 border:1px solid #cbd5e1!important;border-radius:8px!important;
 background:#f8fafc!important;color:#1f2937!important;
 font-size:13px!important;font-weight:650!important;text-transform:none!important;
 box-shadow:none!important;cursor:pointer!important;
}
#workspace .online-order-formatted .online-order-quick-actions button:first-child{
 background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;
}
#workspace .online-order-formatted .online-order-quick-actions .online-order-danger,
#workspace .online-order-formatted .online-order-payment-actions button[data-payment-cancel]{
 background:#fff!important;border-color:#ef4444!important;color:#b91c1c!important;
}
#workspace .online-order-formatted a{color:#2563eb!important;text-decoration:underline!important}
@media(max-width:600px){
 #workspace article.online-order-card.online-order-formatted{padding:14px!important}
 #workspace .online-order-formatted .online-order-head h3{font-size:17px!important}
 #workspace .online-order-formatted .online-order-items-table{font-size:12px!important}
 #workspace .online-order-formatted .online-order-items-table th,
 #workspace .online-order-formatted .online-order-items-table td{padding:8px 6px!important}
}

/* Centraliza o botão de cancelar pagamento quando não há ação de confirmação */
#workspace .online-order-formatted .online-order-payment-actions:not(:has(button[data-payment-advance)){
 justify-content:center!important;
}


/* Texto justificado em todo o card e ações rápidas compactas na mesma linha */
#workspace .online-order-formatted,
#workspace .online-order-formatted .online-order-head,
#workspace .online-order-formatted .online-order-section,
#workspace .online-order-formatted .online-order-section p,
#workspace .online-order-formatted .online-order-head div{
 text-align:justify!important;
}
#workspace .online-order-formatted .online-order-quick-actions{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 align-items:center!important;justify-content:flex-start!important;gap:6px!important;
 width:100%!important;
}
#workspace .online-order-formatted .online-order-quick-actions button{
 flex:0 1 auto!important;width:auto!important;min-width:0!important;
 min-height:30px!important;padding:6px 9px!important;margin:0!important;
 font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;
 border-radius:6px!important;
}
@media(max-width:480px){
 #workspace .online-order-formatted .online-order-quick-actions{gap:4px!important}
 #workspace .online-order-formatted .online-order-quick-actions button{
  padding:6px 5px!important;font-size:10px!important;white-space:normal!important;
 }
}


/* Meu plano: fundo branco e contraste legível */
#workspace .plan-management{
 background:#fff!important;
 border:1px solid #e2e8f0!important;
 color:#1f2937!important;
 box-shadow:0 2px 8px rgba(15,23,42,.05)!important;
}
#workspace .plan-management h3,
#workspace .plan-management p,
#workspace .plan-management p strong{
 color:#1f2937!important;
}
#workspace .plan-management .plan-management-pending{
 color:#166534!important;
}


/* Cartões de configurações: fundo claro e texto escuro */
#workspace .menu-settings,
#workspace .menu-settings > section,
#workspace .menu-settings .menu-editor-panel,
#workspace .menu-settings .category-image-settings,
#workspace .menu-settings .menu-editor-items,
#workspace .menu-settings .data-form,
#workspace .menu-settings .item,
#workspace .menu-settings .cart,
#workspace .menu-settings .mode-option,
#workspace .menu-settings .mode-menu,
#workspace .menu-settings .mode-pdv{
 background:#fff!important;
 background-image:none!important;
 color:#1f2937!important;
 border-color:#dbe2ea!important;
 box-shadow:none!important;
}
#workspace .menu-settings h2,
#workspace .menu-settings h3,
#workspace .menu-settings h4,
#workspace .menu-settings p,
#workspace .menu-settings label,
#workspace .menu-settings small,
#workspace .menu-settings strong,
#workspace .menu-settings span,
#workspace .menu-settings .muted{
 color:#1f2937!important;
}
#workspace .menu-settings input:not([type=color]):not([type=checkbox]),
#workspace .menu-settings select,
#workspace .menu-settings textarea{
 background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
}
#workspace .menu-settings button:not(.button){color:#1f2937!important;}
#workspace .menu-settings .menu-editor-items .item{background:#fff!important;}


/* Correção direta dos cards exibidos em Configurações da loja */
#workspace .receipt-settings-panel,
#workspace .menu-layout-settings,
#workspace .menu-logo-editor,
#workspace .category-image-settings,
#workspace .category-image-settings-list,
#workspace fieldset.menu-payments,
#workspace .menu-settings > label,
#workspace .menu-settings > p,
#workspace .menu-settings > .field,
#workspace .menu-settings > div{
 background:#fff!important;
 background-image:none!important;
 color:#1f2937!important;
 border-color:#d1d5db!important;
 box-shadow:none!important;
}
#workspace .receipt-settings-panel *,
#workspace .menu-layout-settings *,
#workspace .menu-logo-editor *,
#workspace .category-image-settings *,
#workspace fieldset.menu-payments *,
#workspace .menu-settings label,
#workspace .menu-settings p,
#workspace .menu-settings legend,
#workspace .menu-settings h3,
#workspace .menu-settings h4,
#workspace .menu-settings small,
#workspace .menu-settings strong{
 color:#1f2937!important;
}
#workspace .receipt-settings-panel input:not([type=checkbox]):not([type=color]),
#workspace .menu-layout-settings input:not([type=checkbox]):not([type=color]),
#workspace .menu-logo-editor input:not([type=checkbox]):not([type=color]),
#workspace .category-image-settings input:not([type=checkbox]):not([type=color]),
#workspace .menu-settings input:not([type=checkbox]):not([type=color]),
#workspace .menu-settings select,
#workspace .menu-settings textarea{
 background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
}
#workspace .menu-editor-panel .data-form{background:transparent!important;}


/* Override final e específico do formulário Configurações da loja */
#workspace .data-form:has(#settingsForm) #settingsForm > section,
#workspace .data-form:has(#settingsForm) #settingsForm > fieldset,
#workspace .data-form:has(#settingsForm) #settingsForm > .menu-settings,
#workspace .data-form:has(#settingsForm) #settingsForm > .menu-settings > *,
#workspace .data-form:has(#settingsForm) #settingsForm .receipt-settings-panel,
#workspace .data-form:has(#settingsForm) #settingsForm .menu-editor-panel,
#workspace .data-form:has(#settingsForm) #settingsForm .category-image-settings,
#workspace .data-form:has(#settingsForm) #settingsForm .category-image-settings-list,
#workspace .data-form:has(#settingsForm) #settingsForm .menu-payments{
 background:#fff!important;
 background-color:#fff!important;
 background-image:none!important;
 color:#1f2937!important;
 border-color:#d1d5db!important;
 box-shadow:none!important;
}
#workspace .data-form:has(#settingsForm) #settingsForm > section *,
#workspace .data-form:has(#settingsForm) #settingsForm > fieldset *,
#workspace .data-form:has(#settingsForm) #settingsForm .receipt-settings-panel *,
#workspace .data-form:has(#settingsForm) #settingsForm .menu-editor-panel *,
#workspace .data-form:has(#settingsForm) #settingsForm .category-image-settings *,
#workspace .data-form:has(#settingsForm) #settingsForm .menu-payments *{
 color:#1f2937!important;
}
#workspace .data-form:has(#settingsForm) #settingsForm input:not([type=checkbox]):not([type=radio]):not([type=color]),
#workspace .data-form:has(#settingsForm) #settingsForm select,
#workspace .data-form:has(#settingsForm) #settingsForm textarea{
 background:#fff!important;color:#111827!important;border-color:#cbd5e1!important;
}
#workspace .data-form:has(#settingsForm) #settingsForm input[type=checkbox],
#workspace .data-form:has(#settingsForm) #settingsForm input[type=radio]{accent-color:#6d28d9!important}


/* Configurações do cardápio: tema claro aplicado aos nomes reais dos cards */
#page .category-image-settings,
#page .category-image-setting-row,
#page .menu-editor-panel,
#page .menu-editor-meta button,
#page .menu-layout-settings,
#page .menu-logo-editor,
#page .receipt-settings-panel,
#page .menu-payments,
#page .menu-settings,
#page .menu-settings > section,
#page .menu-settings > fieldset,
#page .menu-settings .menu-price-controls,
#page .menu-settings .menu-price-controls .online-sale-price {
 background:#ffffff!important;background-image:none!important;color:#202938!important;
 border-color:#d5dce5!important;box-shadow:none!important;
}
#page .category-image-settings h3,
#page .category-image-settings p,
#page .category-image-setting-row *,
#page .menu-editor-panel h3,
#page .menu-editor-panel p,
#page .menu-editor-panel label,
#page .menu-editor-panel legend,
#page .menu-editor-panel small,
#page .menu-editor-panel strong,
#page .menu-editor-meta button,
#page .menu-editor-meta button small,
#page .menu-editor-meta button strong,
#page .receipt-settings-panel *,
#page .menu-layout-settings *,
#page .menu-logo-editor *,
#page .menu-payments * {color:#202938!important}
#page .category-image-actions button,
#page .category-image-file,
#page .menu-editor-panel .button,
#page .menu-settings .button {color:#fff!important}
#page .menu-editor-panel input:not([type=checkbox]):not([type=radio]):not([type=color]),
#page .menu-editor-panel select,
#page .menu-editor-panel textarea,
#page .menu-settings input:not([type=checkbox]):not([type=radio]):not([type=color]),
#page .menu-settings select,
#page .menu-settings textarea {background:#fff!important;color:#111827!important;border-color:#cbd5e1!important}
#page .menu-category-line {background:#f8fafc!important;color:#202938!important;border-color:#d5dce5!important}
#page .menu-category-line small {color:#475569!important}


/* Correção global dos cards internos de Configurações — sem depender do #workspace */
#settingsForm .menu-settings .menu-payments,
#settingsForm .menu-settings .menu-logo-editor,
#settingsForm .menu-settings .menu-layout-settings,
#settingsForm .menu-settings .receipt-settings-panel,
#settingsForm .menu-settings .category-image-settings,
#settingsForm .menu-settings .category-image-setting-row,
#settingsForm .menu-settings .menu-editor-panel,
#settingsForm .menu-settings .menu-layout-subtitle,
#settingsForm .menu-settings .menu-layout-fields,
#settingsForm .menu-settings .menu-logo-editor form,
#settingsForm .menu-settings .category-image-settings-list,
#settingsForm .menu-settings .category-image-settings-list > *,
#settingsForm .menu-settings .receipt-settings-fields,
#settingsForm .menu-settings .menu-logo-editor-heading,
#settingsForm .menu-settings .menu-category-list,
#settingsForm .menu-settings .menu-price-controls,
#settingsForm .menu-settings .online-sale-price {
  background:#fff!important;background-image:none!important;color:#1f2937!important;
  border-color:#d1d5db!important;box-shadow:none!important;
}
#settingsForm .menu-settings .menu-payments *,
#settingsForm .menu-settings .menu-logo-editor *,
#settingsForm .menu-settings .menu-layout-settings *,
#settingsForm .menu-settings .receipt-settings-panel *,
#settingsForm .menu-settings .category-image-settings *,
#settingsForm .menu-settings .category-image-setting-row *,
#settingsForm .menu-settings .menu-editor-panel * { color:#1f2937!important; }
#settingsForm .menu-settings input:not([type=checkbox]):not([type=radio]):not([type=color]),
#settingsForm .menu-settings select,
#settingsForm .menu-settings textarea,
#settingsForm .menu-settings input[type=file] {
 background:#fff!important;background-image:none!important;color:#111827!important;border-color:#cbd5e1!important;
}
#settingsForm .menu-settings input[type=checkbox],#settingsForm .menu-settings input[type=radio]{accent-color:#6d28d9!important}
#settingsForm .menu-settings button:not(.button),#settingsForm .menu-settings .category-image-actions button {background:#f3f4f6!important;color:#1f2937!important;border-color:#d1d5db!important}


/* Ajuste definitivo: cards de Configurações da loja, independente do nível no formulário */
#settingsForm .menu-settings,
#settingsForm .menu-payments,
#settingsForm .menu-logo-settings,
#settingsForm .menu-logo-editor,
#settingsForm .menu-layout-settings,
#settingsForm .receipt-settings-panel,
#settingsForm .category-image-settings,
#settingsForm .category-image-setting-row,
#settingsForm .category-image-settings-list,
#settingsForm .menu-editor-panel,
#settingsForm .menu-layout-fields,
#settingsForm .menu-layout-subtitle,
#settingsForm .receipt-settings-fields,
#settingsForm .menu-price-controls,
#settingsForm .online-sale-price,
#settingsForm .menu-category-list,
#settingsForm .menu-category-line,
#settingsForm .category-image-setting-info {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
  box-shadow: none !important;
}
#settingsForm .menu-settings *,
#settingsForm .menu-payments *,
#settingsForm .menu-logo-settings *,
#settingsForm .menu-logo-editor *,
#settingsForm .menu-layout-settings *,
#settingsForm .receipt-settings-panel *,
#settingsForm .category-image-settings *,
#settingsForm .category-image-setting-row *,
#settingsForm .category-image-settings-list *,
#settingsForm .menu-editor-panel *,
#settingsForm .menu-price-controls *,
#settingsForm .online-sale-price *,
#settingsForm .menu-category-list *,
#settingsForm .menu-category-line * {
  color: #1f2937 !important;
}
#settingsForm input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
#settingsForm select,
#settingsForm textarea {
  background-color: #fff !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}
#settingsForm .menu-settings button,
#settingsForm .category-image-actions button,
#settingsForm .menu-editor-panel .button,
#settingsForm .settings-save-button {
  color: #fff !important;
}
#settingsForm input[type="checkbox"],
#settingsForm input[type="radio"] {
  accent-color: #6d28d9 !important;
}


/* Homologação: tipografia maior nos cards de produtos do PDV. */
#workspace .godzilla-pdv .pdv-product h3,
#workspace .godzilla-pdv .pdv-product strong,
#workspace .godzilla-pdv [data-pdv-product] h3,
#workspace .godzilla-pdv [data-pdv-product] strong,
body.workspace-fullscreen .godzilla-pdv .pdv-product-info strong,
body.workspace-fullscreen .godzilla-pdv .pdv-product h3 {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}
#workspace .godzilla-pdv .pdv-product-price,
#workspace .godzilla-pdv [data-pdv-product] .pdv-product-price,
body.workspace-fullscreen .godzilla-pdv .pdv-product-price {
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
#workspace .godzilla-pdv .pdv-product-info button,
#workspace .godzilla-pdv [data-pdv-product] button,
body.workspace-fullscreen .godzilla-pdv .pdv-product-info button {
  font-size: 14px !important;
  font-weight: 700 !important;
}
@media(max-width:580px) {
  #workspace .godzilla-pdv .pdv-product h3,
  #workspace .godzilla-pdv .pdv-product strong,
  #workspace .godzilla-pdv [data-pdv-product] h3,
  #workspace .godzilla-pdv [data-pdv-product] strong,
  body.workspace-fullscreen .godzilla-pdv .pdv-product-info strong {
    font-size: 14px !important;
  }
  #workspace .godzilla-pdv .pdv-product-price,
  body.workspace-fullscreen .godzilla-pdv .pdv-product-price {
    font-size: 18px !important;
  }
}

/* PDV: fontes dos cards duplicadas em relação às regras efetivas anteriores. */
body #workspace #page .godzilla-pdv .pdv-category-tile{font-size:26px!important;height:auto!important}
body #workspace #page .godzilla-pdv .pdv-category-tile strong{font-size:26px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
body #workspace #page .godzilla-pdv .pdv-category-tile > span{font-size:44px!important}
body #workspace #page .godzilla-pdv .pdv-product .pdv-product-info .pdv-product-name{font-size:24px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
body #workspace #page .godzilla-pdv .pdv-product .pdv-product-info .pdv-product-price{font-size:28px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
body #workspace #page .godzilla-pdv .pdv-product{height:auto!important}
body #workspace #page .godzilla-pdv .pdv-product-info{height:auto!important;min-height:0!important}

/* Exibe os nomes dos produtos em maiúsculas no PDV, independentemente da grafia cadastrada. */
#workspace .godzilla-pdv .pdv-product-name,
#workspace .godzilla-pdv .pdv-best-seller-text strong,
#workspace .godzilla-pdv .pdv-sale-product > strong{
 text-transform:uppercase!important;
}

/* Cor do sistema: botões principais e seleções usam a cor configurada pela loja. */
#workspace .button,
#workspace button.button,
#workspace a.button,
#workspace .pdv-finish,
#workspace .pdv-payment-form .pdv-finish,
#workspace .sales-period-switch button.active{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 box-shadow:0 5px 14px color-mix(in srgb,var(--store-accent,#7c3aed) 24%,transparent)!important;
}
#workspace .side nav button.active,
#workspace .side nav a.active,
#workspace .side #nav nav button.active,
#workspace .side #nav nav a.side-public-menu.active,
#workspace .pdv-payment-chip.selected,
#workspace .pdv-card-kind.selected,
#workspace .stock-summary-card.active,
#workspace .inventory-category-card.active,
#workspace .pdv-category-tile.selected,
#workspace .pdv-filters .ghost.active{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 22%,#fff)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent,#7c3aed)!important;
 box-shadow:none!important;
}
#workspace .pdv-payment-chip.selected,
#workspace .pdv-card-kind.selected,
#workspace .stock-summary-card.active,
#workspace .inventory-category-card.active{
 outline-color:var(--store-accent,#7c3aed)!important;
}
#workspace .pdv-category-tile.selected{outline-color:var(--store-accent,#7c3aed)!important}
#workspace .side nav button.active .side-nav-icon,
#workspace .side nav a.active .side-nav-icon{filter:none!important}
#workspace .item button:not(.button):not(.ghost):hover,
#workspace .stock-row .actions button:hover,
#workspace .inventory-category-card:hover{
 border-color:var(--store-accent,#7c3aed)!important;
}

/* Atalhos do PDV: ícones e títulos ocupam melhor a área dos cards. */
body #workspace #page .pdv-category-tiles .pdv-category-tile{
 min-height:116px!important;height:auto!important;padding:12px 10px!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:8px!important;
}
body #workspace #page .pdv-category-tiles .pdv-category-tile > span{
 font-size:44px!important;line-height:1!important;
}
body #workspace #page .pdv-category-tiles .pdv-category-tile > strong{
 font-size:24px!important;line-height:1.2!important;font-weight:800!important;
 text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
@media(max-width:700px){
 body #workspace #page .pdv-category-tiles .pdv-category-tile{min-height:108px!important}
 body #workspace #page .pdv-category-tiles .pdv-category-tile > span{font-size:38px!important}
 body #workspace #page .pdv-category-tiles .pdv-category-tile > strong{font-size:20px!important}
}

/* Paleta da loja: aplica a cor configurada a todos os principais controles e estados. */
#workspace :is(button,a.button,.button,input[type="checkbox"],input[type="radio"]){accent-color:var(--store-accent,#7c3aed)}
#workspace :is(.button,.pdv-finish,.pdv-best-seller-manage,.pdv-category-tile.selected,.pdv-payment-chip.selected,.pdv-card-kind.selected,.side nav button.active,.side nav a.active,.sales-period-switch button.active){
 --accent:var(--store-accent,#7c3aed);
}
#workspace :is(.button,.pdv-finish,.pdv-best-seller-manage,.sales-period-switch button.active,.online-order-formatted .online-order-quick-actions button:first-child){
 background:var(--store-accent,#7c3aed)!important;background-image:none!important;border-color:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important;
}
#workspace :is(.button,.ghost,.pdv-payment-chip,.pdv-card-kind,.pdv-category-tile,.pdv-product,.pdv-best-seller,.sales-period-switch button,.inventory-category-card,.stock-summary-card,.online-order-quick-actions button,.online-order-payment-actions button,.side nav button,.side nav a):hover:not(:disabled){
 border-color:var(--store-accent,#7c3aed)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 32%,transparent)!important;
}
#workspace :is(.button,.pdv-finish,.pdv-best-seller-manage):hover:not(:disabled){
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 84%,#15151b)!important;
}
#workspace :is(.pdv-payment-chip.selected,.pdv-card-kind.selected,.stock-summary-card.active,.inventory-category-card.active,.pdv-category-tile.selected,.sales-period-switch button.active,.side nav button.active,.side nav a.active){
 border-color:var(--store-accent,#7c3aed)!important;
}
#workspace :is(button,a,input,select,textarea):focus-visible{outline-color:var(--store-accent,#7c3aed)!important}
#workspace #pdvNightToggle[aria-pressed="true"]{background:var(--store-accent,#7c3aed)!important;border-color:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important}
body.pdv-night #workspace #pdvNightToggle[aria-pressed="true"]{background:var(--store-accent,#7c3aed)!important}
#workspace .pdv-sale-total strong,#workspace .pdv-product-price{color:var(--store-accent,#7c3aed)}

/* Cor do Sistema: detalhes destacados no caixa, filtros e ações da homologação. */
#workspace .pdv-sale-total strong,
#workspace .pdv-sale-line-total,
#workspace .pdv-product-price,
#workspace .pdv-sale-item .pdv-sale-product + span,
#workspace .sales-period-switch button.active,
#workspace .online-order-total-row .online-order-total{
 color:var(--store-accent,#7c3aed)!important;
}
#workspace .pdv-payment-chip.selected,
#workspace .pdv-card-kind.selected,
#workspace .sales-period-switch button.active,
#workspace .side #nav nav button.active,
#workspace .side #nav nav a.active{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 16%,#f5f3ff)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent,#7c3aed)!important;
}
body.pdv-night #workspace :is(.pdv-payment-chip.selected,.pdv-card-kind.selected,.sales-period-switch button.active,.side #nav nav button.active,.side #nav nav a.active){
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 24%,#22252d)!important;
}
#workspace .pdv-finish,
#workspace .online-order-formatted .online-order-quick-actions button:first-child,
#workspace .button,
#workspace a.button{
 background:var(--store-accent,#7c3aed)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
}
#workspace :is(.pdv-payment-chip,.pdv-card-kind,.sales-period-switch button,.side #nav nav button,.side #nav nav a,.ghost,.online-order-quick-actions button,.online-order-payment-actions button):hover:not(:disabled){
 border-color:var(--store-accent,#7c3aed)!important;
}

/* Carrinho flutuante Ver venda: acompanha a Cor do Sistema em desktop e mobile. */
body #workspace .pdv-floating-sale-button,
body.workspace-fullscreen #workspace .pdv-floating-sale-button{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border:1px solid var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 box-shadow:0 10px 26px color-mix(in srgb,var(--store-accent,#7c3aed) 36%,transparent)!important;
}
body #workspace .pdv-floating-sale-button :is(span,strong),
body.workspace-fullscreen #workspace .pdv-floating-sale-button :is(span,strong){
 color:var(--store-accent-ink,#fff)!important;
}
body #workspace .pdv-floating-sale-button:hover,
body.workspace-fullscreen #workspace .pdv-floating-sale-button:hover{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 85%,#101018)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}

/* Hover dos produtos do PDV segue a cor escolhida em Configurações. */
@media (hover:hover){
 body #workspace #page .godzilla-pdv .pdv-product:hover,
 body #workspace #page .godzilla-pdv [data-pdv-product]:hover{
  background:color-mix(in srgb,var(--store-accent,#7c3aed) 20%,#ffffff)!important;
  background-image:none!important;
  border-color:var(--store-accent,#7c3aed)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 38%,transparent)!important;
 }
 body.pdv-night #workspace #page .godzilla-pdv .pdv-product:hover,
 body.pdv-night #workspace #page .godzilla-pdv [data-pdv-product]:hover{
  background:color-mix(in srgb,var(--store-accent,#7c3aed) 28%,#22252d)!important;
 }
 body #workspace #page .godzilla-pdv .pdv-product:hover .pdv-product-info{
  background:transparent!important;
 }
}

/* PDV com venda flutuante: catálogo utiliza toda a largura sem a coluna do caixa. */
@media(min-width:701px){
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-two-panels,
 body.workspace-fullscreen #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-two-panels{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  width:100%!important;
 }
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-catalog{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
 }
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-category-tiles{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:12px!important;
 }
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-products{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important;
  gap:12px!important;
 }
}
@media(min-width:701px) and (max-width:960px){
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-category-tiles{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important}
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button) .pdv-products{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))!important}
}

/* Layout expandido vinculado diretamente ao estado da venda flutuante. */
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-two-panels,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-two-panels{
 grid-template-columns:minmax(0,1fr)!important;
 width:100%!important;
 max-width:none!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-catalog,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-catalog{
 grid-column:1/-1!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles{
 display:grid!important;
 grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
 gap:12px!important;
 width:100%!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products{
 display:grid!important;
 grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
 gap:12px!important;
 width:100%!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Configurações: acentos consistentes com Cor do Sistema, inclusive em modo noite. */
body #workspace #page #settingsForm{
 --settings-accent:var(--store-accent,#7c3aed);
 --settings-ink:var(--store-accent-ink,#fff);
}
body #workspace #page #settingsForm .settings-save-button,
body #workspace #page #settingsForm button.settings-save-button,
body.pdv-night #workspace #page #settingsForm .settings-save-button{
 background:var(--settings-accent)!important;
 background-image:none!important;
 border:1px solid var(--settings-accent)!important;
 color:var(--settings-ink)!important;
 box-shadow:0 5px 15px color-mix(in srgb,var(--settings-accent) 25%,transparent)!important;
}
body #workspace #page #settingsForm .settings-save-button:hover:not(:disabled){
 background:color-mix(in srgb,var(--settings-accent) 84%,#17151f)!important;
 border-color:var(--settings-accent)!important;
}
body #workspace #page #settingsForm :is(input[type=radio],input[type=checkbox],input[type=color]){
 accent-color:var(--settings-accent)!important;
}
body #workspace #page #settingsForm :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{
 border-color:var(--settings-accent)!important;
 outline:2px solid color-mix(in srgb,var(--settings-accent) 35%,transparent)!important;
 outline-offset:1px;
}
body #workspace #page #settingsForm :is(.menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,.menu-layout-settings,.receipt-settings-panel,.category-image-settings,.category-image-setting-row,.menu-editor-panel){
 border-color:color-mix(in srgb,var(--settings-accent) 42%,#51515c)!important;
}
body #workspace #page #settingsForm :is(.menu-settings button,.category-image-actions button,.menu-editor-panel .button):hover:not(:disabled){
 border-color:var(--settings-accent)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--settings-accent) 22%,transparent)!important;
}
body #workspace #page #settingsForm :is(.menu-settings button.button,.menu-editor-panel button.button){
 background:var(--settings-accent)!important;
 color:var(--settings-ink)!important;
 border-color:var(--settings-accent)!important;
}

/* Configurações no modo noite: todos os painéis e cards têm superfícies escuras neutras. */
body.pdv-night #workspace #page #settingsForm,
body.pdv-night #workspace #page #settingsForm :is(
 .menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,
 .menu-layout-settings,.receipt-settings-panel,.category-image-settings,
 .category-image-setting-row,.category-image-settings-list,.menu-editor-panel,
 .menu-layout-fields,.menu-layout-subtitle,.receipt-settings-fields,
 .menu-price-controls,.online-sale-price,.menu-category-list,.menu-category-line,
 .category-image-setting-info,.menu-logo-editor-heading,
 fieldset,.settings-card,.receipt-settings-card
){
 background:#22252d!important;
 background-image:none!important;
 border-color:#393d49!important;
 box-shadow:none!important;
 color:#f4f4f8!important;
}
body.pdv-night #workspace #page #settingsForm :is(
 .menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,
 .menu-layout-settings,.receipt-settings-panel,.category-image-settings,
 .category-image-setting-row,.category-image-settings-list,.menu-editor-panel,
 .menu-layout-fields,.menu-layout-subtitle,.receipt-settings-fields,
 .menu-price-controls,.online-sale-price,.menu-category-list,.menu-category-line,
 .category-image-setting-info
) :is(h2,h3,h4,p,small,label,legend,span,strong,b){
 color:#f4f4f8!important;
}
body.pdv-night #workspace #page #settingsForm :is(
 input:not([type=checkbox]):not([type=radio]):not([type=color]),
 select,textarea
){
 background:#181a20!important;
 background-image:none!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
 color-scheme:dark;
}
body.pdv-night #workspace #page #settingsForm :is(input,textarea)::placeholder{
 color:#aeb3c1!important;
}
body.pdv-night #workspace #page #settingsForm :is(
 .menu-settings button:not(.button),.category-image-actions button:not(.button),
 .menu-logo-editor button:not(.button)
){
 background:#2b2f39!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
}
body.pdv-night #workspace #page #settingsForm .settings-save-button,
body.pdv-night #workspace #page #settingsForm button.button{
 background:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}

/* Produtos / estoque: corrigir os cards claros que sobrepunham o modo noite. */
body.pdv-night #workspace #page :is(.inventory-card,.inventory-category-card,.stock-summary-card,.stock-row){
 background:#22252d!important;background-image:none!important;
 border-color:#393d49!important;color:#f4f4f8!important;box-shadow:none!important;
}
body.pdv-night #workspace #page :is(.inventory-card-heading h3,.inventory-card-prices>strong,.inventory-category-heading strong,.inventory-category-card strong,.stock-summary-number,.inventory-card .inventory-card-heading strong){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page :is(.inventory-card-heading small,.inventory-card-prices>small,.inventory-stock-meta,.inventory-stock-meta strong,.inventory-category-heading small,.inventory-category-card small,.stock-summary-label){
 color:#b6bdcf!important;-webkit-text-fill-color:#b6bdcf!important;
}
body.pdv-night #workspace #page :is(.inventory-card,.inventory-category-card,.stock-summary-card) :is(.inventory-photo-placeholder,.stock-placeholder){
 background:#2b2f39!important;
}
body.pdv-night #workspace #page .inventory-category-card.active,
body.pdv-night #workspace #page .stock-summary-card.active{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 24%,#22252d)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}
body.pdv-night #workspace #page .inventory-category-card:hover{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 15%,#22252d)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}
body.pdv-night #workspace #page .content:has(.inventory-kicker),
body.pdv-night #workspace #page .content:has(.inventory-kicker) .data-form{
 background:#181a20!important;border-color:#393d49!important;color:#fff!important;
}
body.pdv-night #workspace #page .inventory-card :is(.inventory-card-body,.inventory-card-actions,.inventory-card-info){
 background:#22252d!important;color:#f4f4f8!important;
}
body.pdv-night #workspace #page .inventory-card :is(.button,.ghost),
body.pdv-night #workspace #page .stock-row .actions button{
 border-color:#454957!important;
}
body.pdv-night #workspace #page .inventory-card .inventory-status.ok{color:#70dba8!important}
body.pdv-night #workspace #page .inventory-card .inventory-status.low{color:#ffc36d!important}
body.pdv-night #workspace #page .inventory-card .inventory-status.out{color:#ff8298!important}

/* Reposição segue o modo noite do estoque, anulando o antigo tema claro. */
body.pdv-night #workspace #page .restock-section,
body.pdv-night #workspace #page .restock-item{
 background:#22252d!important;background-image:none!important;
 border-color:#393d49!important;color:#f4f4f8!important;
 box-shadow:none!important;
}
body.pdv-night #workspace #page .restock-total{
 background:#2b2f39!important;background-image:none!important;
 border-color:#393d49!important;
}
body.pdv-night #workspace #page .restock-heading h3,
body.pdv-night #workspace #page .restock-item>div>strong,
body.pdv-night #workspace #page .restock-item .restock-name strong{
 color:#fff!important;
}
body.pdv-night #workspace #page :is(.restock-heading p,.restock-note,.restock-total small),
body.pdv-night #workspace #page .restock-item>div>small{
 color:#b6bdcf!important;
}
body.pdv-night #workspace #page .restock-total strong,
body.pdv-night #workspace #page .restock-item>div:last-child strong{
 color:var(--store-accent,#a78bfa)!important;
}
@media(max-width:760px){
 body.pdv-night #workspace #page .restock-item>div:first-child{
  border-bottom-color:#393d49!important;
 }
}

/* O botão Novo produto segue Cor do Sistema nos modos claro/escuro. */
body #workspace #page button[data-new="product"]{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 -webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
}
body #workspace #page button[data-new="product"]:hover:not(:disabled){
 filter:brightness(.88);
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 32%,transparent)!important;
}

/* Pedidos online: as duas ações Finalizar pedido usam a Cor do Sistema. */
body #workspace #page .online-order-formatted .online-order-quick-actions button.online-order-finalize,
body.pdv-night #workspace #page .online-order-formatted .online-order-quick-actions button.online-order-finalize{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 -webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
}
body #workspace #page .online-order-formatted .online-order-quick-actions button.online-order-finalize:hover:not(:disabled){
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 85%,#13131a)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 28%,transparent)!important;
}

/* Motoboys: Novo motoboy e Compartilhar link seguem a cor do sistema. */
body #workspace #page button[data-new="courier"].courier-system-accent,
body #workspace #page button[data-share-courier].courier-system-accent,
body.pdv-night #workspace #page button[data-new="courier"].courier-system-accent,
body.pdv-night #workspace #page button[data-share-courier].courier-system-accent{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 -webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
 box-shadow:0 4px 12px color-mix(in srgb,var(--store-accent,#7c3aed) 22%,transparent)!important;
}
body #workspace #page button[data-new="courier"].courier-system-accent:hover:not(:disabled),
body #workspace #page button[data-share-courier].courier-system-accent:hover:not(:disabled){
 filter:brightness(.87)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 30%,transparent)!important;
}

/* Configurações: cards de botão flutuante, comprovante e imagens no modo noite. */
body.pdv-night #workspace #page #settingsForm :is(.receipt-settings-panel,.category-image-settings,.category-image-settings-list,.category-image-setting-row){
 background:#22252d!important;background-image:none!important;
 border-color:#393d49!important;color:#f4f4f8!important;box-shadow:none!important;
}
body.pdv-night #workspace #page #settingsForm :is(.receipt-settings-fields,.category-image-setting-info){
 background:transparent!important;background-image:none!important;color:#f4f4f8!important;
}
body.pdv-night #workspace #page #settingsForm :is(.receipt-settings-panel h3,.category-image-settings h3,.category-image-setting-info strong){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page #settingsForm :is(.receipt-settings-panel p,.receipt-settings-panel label,.category-image-settings p,.category-image-setting-info small){
 color:#b6bdcf!important;-webkit-text-fill-color:#b6bdcf!important;
}
body.pdv-night #workspace #page #settingsForm .receipt-settings-panel :is(input:not([type=checkbox]),select){
 background:#181a20!important;background-image:none!important;
 border-color:#393d49!important;color:#f4f4f8!important;color-scheme:dark;
}
body.pdv-night #workspace #page #settingsForm .category-image-setting-row :is(.category-image-actions button,.category-image-file){
 background:#2b2f39!important;background-image:none!important;
 border-color:#454957!important;color:#f4f4f8!important;
}
/* Vendas: Exportar cupom 80 mm respeita a Cor do Sistema. */
body #workspace #page .sales-export-actions button.sales-export-receipt-accent,
body.pdv-night #workspace #page .sales-export-actions button.sales-export-receipt-accent{
 background:var(--store-accent,#7c3aed)!important;
 background-image:none!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;
 -webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
}
body #workspace #page .sales-export-actions button.sales-export-receipt-accent:hover:not(:disabled){
 filter:brightness(.88)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 30%,transparent)!important;
}

/* Vendas: lista de vendas e detalhes harmonizados ao modo noite. */
body.pdv-night #workspace #page .sales-records-section,
body.pdv-night #workspace #page .sales-records-scroll{
 background:#22252d!important;background-image:none!important;
 border-color:#393d49!important;color:#f4f4f8!important;box-shadow:none!important;
}
body.pdv-night #workspace #page .sales-records-section h3{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section>p{
 color:#b6bdcf!important;-webkit-text-fill-color:#b6bdcf!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table{
 background:#22252d!important;color:#f4f4f8!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table th{
 background:#2b2f39!important;color:#dce1ed!important;
 border-color:#393d49!important;-webkit-text-fill-color:#dce1ed!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table tbody tr td,
body.pdv-night #workspace #page .sales-records-section .sales-records-table tbody tr:nth-child(even) td{
 background:#22252d!important;color:#f4f4f8!important;
 border-color:#393d49!important;-webkit-text-fill-color:#f4f4f8!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table tbody tr.sales-record-row:hover td{
 background:#303540!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table tbody tr.sales-record-row:has(.sales-record-toggle[aria-expanded="true"]) td{
 background:#2b2f39!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table td strong{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table td.sales-record-profit{
 color:#70dba8!important;-webkit-text-fill-color:#70dba8!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table .sales-record-toggle{
 background:#2b2f39!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border-color:#454957!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-records-table .sales-record-toggle:hover,
body.pdv-night #workspace #page .sales-records-section .sales-records-table .sales-record-row:has(.sales-record-toggle[aria-expanded="true"]) .sales-record-toggle{
 background:color-mix(in srgb,var(--store-accent,#7c3aed) 24%,#22252d)!important;
 border-color:var(--store-accent,#7c3aed)!important;
 color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-record-arrow{
 background:#393d49!important;color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-record-details-row>td,
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail,
body.pdv-night #workspace #page .sales-records-section .sales-inline-summary,
body.pdv-night #workspace #page .sales-records-section .sales-inline-scroll{
 background:#1b1e25!important;color:#f4f4f8!important;border-color:#393d49!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail :is(strong,b){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail :is(span,small,th,td,p){
 color:#c6cbd9!important;border-color:#393d49!important;
}

/* Vendas: detalhes dos itens vendidos com o mesmo padrão do modo noite. */
body.pdv-night #workspace #page .sales-records-section :is(.sales-record-details-row>td,.sales-inline-detail,.sales-inline-scroll,.sales-inline-products){
 background:#22252d!important;background-image:none!important;
 color:#f4f4f8!important;border-color:#393d49!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-heading{
 background:#22252d!important;color:#fff!important;border-color:#393d49!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-products thead th{
 background:#2b2f39!important;color:#dce1ed!important;
 border-color:#393d49!important;-webkit-text-fill-color:#dce1ed!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-products tbody td{
 background:#22252d!important;color:#f4f4f8!important;
 border-color:#393d49!important;-webkit-text-fill-color:#f4f4f8!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail :is(.sales-inline-heading strong,.sales-inline-products td strong,.sales-inline-summary strong){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail :is(.sales-inline-heading span,.sales-inline-products td small,.sales-inline-summary span,.sales-checkout-empty){
 color:#b6bdcf!important;-webkit-text-fill-color:#b6bdcf!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-summary{
 background:#2b2f39!important;color:#f4f4f8!important;
 border:1px solid #393d49!important;border-radius:10px!important;padding:12px!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail .sales-fee-editor{
 background:#25252d!important;border-color:#393d49!important;color:#f4f4f8!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail .sales-fee-editor label{
 color:#e5e7ef!important;-webkit-text-fill-color:#e5e7ef!important;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail .sales-fee-editor input{
 background:#181a20!important;border-color:#454957!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;color-scheme:dark;
}
body.pdv-night #workspace #page .sales-records-section .sales-inline-detail :is(.sales-inline-fee,.sales-fee-editor small){
 color:#e2cfac!important;-webkit-text-fill-color:#e2cfac!important;
}

/* PDV categorias: textos duplicados para melhor leitura. */
body #workspace #page .godzilla-pdv .pdv-category-tiles .pdv-category-tile{
 height:auto!important;
 min-height:170px!important;
 padding:16px 12px!important;
 font-size:30px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles .pdv-category-tile > strong{
 font-size:30px!important;
 line-height:1.12!important;
 font-weight:800!important;
 text-align:center!important;
 white-space:normal!important;
 overflow-wrap:anywhere!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles .pdv-category-tile{
  min-height:155px!important;
  font-size:30px!important;
 }
 body #workspace #page .godzilla-pdv .pdv-category-tiles .pdv-category-tile > strong{
  font-size:30px!important;
  line-height:1.12!important;
 }
}

/* PDV com botão flutuante: categorias e produtos ocupam toda a largura,
   inclusive a última linha (sem colunas reservadas vazias à direita). */
body #workspace #page .godzilla-pdv.pdv-floating-layout{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-two-panels,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-two-panels{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 gap:0!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-catalog,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-catalog{
 grid-column:1/-1!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles,
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products{
 display:flex!important;
 flex-wrap:wrap!important;
 align-items:stretch!important;
 width:100%!important;
 max-width:none!important;
 gap:12px!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles > .pdv-category-tile{
 flex:1 1 205px!important;
 min-width:min(100%,170px)!important;
 max-width:none!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products > .pdv-product-wrap,
body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products > .pdv-product-wrap{
 flex:1 1 190px!important;
 min-width:min(100%,160px)!important;
 max-width:none!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-product-wrap > .pdv-product{
 width:100%!important;
}
body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products > .pdv-empty{
 flex:1 1 100%!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles > .pdv-category-tile,
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-products > .pdv-product-wrap{
  flex:1 1 calc(50% - 6px)!important;
  min-width:0!important;
 }
}

/* PDV desktop: escala reduzida e layout limitado ao viewport, sem rolar a pagina. */
@media(min-width:1001px){
 html:has(body.workspace-fullscreen #workspace #page .godzilla-pdv){
  height:100%!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen:has(#workspace #page .godzilla-pdv){
  height:100dvh!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:hidden!important;
 }
 body.workspace-fullscreen:has(#workspace #page .godzilla-pdv) .shell{
  height:100dvh!important;
  min-height:0!important;
  padding:10px 12px!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv){
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) .dashboard{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  align-items:stretch!important;
 }
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) .content{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  padding:12px!important;
 }
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) #page{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv{
  zoom:.85!important;
  width:117.647%!important;
  height:117.647%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-two-panels{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-catalog{
  min-height:0!important;
  max-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-sale-panel:not(.pdv-sale-panel-floating){
  max-height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
 }
}
@media(min-width:1001px) and (max-height:740px){
 body.workspace-fullscreen #workspace #page .godzilla-pdv{
  zoom:.8!important;
  width:125%!important;
  height:125%!important;
 }
}
/* Janelas muito baixas e tablets continuam roláveis para não esconder controles. */
@media(min-width:1001px) and (max-height:520px){
 html:has(body.workspace-fullscreen #workspace #page .godzilla-pdv),
 body.workspace-fullscreen:has(#workspace #page .godzilla-pdv){
  height:auto!important;
  overflow-y:auto!important;
 }
 body.workspace-fullscreen:has(#workspace #page .godzilla-pdv) .shell,
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv),
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) .dashboard,
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) .content,
 body.workspace-fullscreen #workspace:has(#page .godzilla-pdv) #page{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv{
  zoom:.8!important;
  width:125%!important;
  height:auto!important;
  overflow:visible!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-two-panels{
  overflow:visible!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-catalog{
  overflow:visible!important;
  max-height:none!important;
 }
}

/* PDV: categorias de mesma altura e quebra de linha apenas entre palavras.
   O texto começa em 30 px e o JavaScript reduz somente nos nomes longos. */
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile{
 height:168px!important;
 min-height:168px!important;
 max-height:168px!important;
 padding:12px 10px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 gap:6px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > strong{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 white-space:normal!important;
 overflow-wrap:normal!important;
 word-break:normal!important;
 hyphens:none!important;
 line-height:1.12!important;
 text-align:center!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > span[aria-hidden]{
 flex-shrink:0!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile{
  height:154px!important;
  min-height:154px!important;
  max-height:154px!important;
 }
}


/* Configurações: superfícies claras somente no modo dia. */
body:not(.pdv-night) #workspace #page #settingsForm :is(
 .menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,
 .menu-layout-settings,.receipt-settings-panel,.category-image-settings,
 .category-image-settings-list,.category-image-setting-row,.menu-editor-panel,
 .menu-layout-fields,.menu-layout-subtitle,.receipt-settings-fields,
 .menu-price-controls,.online-sale-price,.menu-category-list,.menu-category-line,
 .category-image-setting-info,.menu-logo-editor-heading,
 fieldset,.settings-card,.receipt-settings-card
){
 background:#fff!important;background-image:none!important;
 color:#24163d!important;border-color:#e3d8f2!important;
 box-shadow:none!important;color-scheme:light;
}
body:not(.pdv-night) #workspace #page #settingsForm :is(
 .menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,
 .menu-layout-settings,.receipt-settings-panel,.category-image-settings,
 .category-image-settings-list,.category-image-setting-row,.menu-editor-panel,
 .menu-layout-fields,.menu-layout-subtitle,.receipt-settings-fields,
 .menu-price-controls,.online-sale-price,.menu-category-list,.menu-category-line
) :is(h2,h3,h4,strong,b,legend,label){
 color:#24163d!important;-webkit-text-fill-color:#24163d!important;
}
body:not(.pdv-night) #workspace #page #settingsForm :is(
 .menu-settings,.menu-payments,.menu-logo-settings,.menu-logo-editor,
 .menu-layout-settings,.receipt-settings-panel,.category-image-settings,
 .category-image-settings-list,.category-image-setting-row,.menu-editor-panel,
 .receipt-settings-fields,.menu-price-controls,.online-sale-price
) :is(p,small,.muted){
 color:#625776!important;-webkit-text-fill-color:#625776!important;
}
body:not(.pdv-night) #workspace #page #settingsForm :is(
 .receipt-settings-panel,.category-image-settings,.menu-layout-settings,.menu-settings,.menu-payments
){border-radius:14px!important;padding:16px!important}
body:not(.pdv-night) #workspace #page #settingsForm :is(
 input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),select,textarea
){
 background:#faf8ff!important;background-image:none!important;
 color:#24163d!important;-webkit-text-fill-color:#24163d!important;
 border-color:#d7c8ea!important;color-scheme:light;
}
body:not(.pdv-night) #workspace #page #settingsForm :is(input,textarea)::placeholder{
 color:#827692!important;-webkit-text-fill-color:#827692!important;
}
body:not(.pdv-night) #workspace #page #settingsForm :is(
 .category-image-actions button:not(.button),.menu-logo-editor button:not(.button),
 .menu-settings button:not(.button)
){background:#f5efff!important;color:#4f288f!important;
 -webkit-text-fill-color:#4f288f!important;border-color:#d7c8ea!important}
body:not(.pdv-night) #workspace #page #settingsForm .settings-save-button{
 background:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important;
 -webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}


/* BipStart settings: daylight upload controls v167 */
body:not(.pdv-night) #workspace #page #settingsForm :is(
  input[type="file"]:not([hidden]),
  label.category-image-file,
  .category-image-actions button:not(.button)
) {
  background:#f8f5ff!important;
  background-image:none!important;
  color:#392451!important;
  -webkit-text-fill-color:#392451!important;
  border:1px solid #d7c8ea!important;
  box-shadow:none!important;
  color-scheme:light!important;
}
body:not(.pdv-night) #workspace #page #settingsForm input[type="file"]:not([hidden]) {
  width:100%;
  max-width:100%;
  padding:8px!important;
  border-radius:10px!important;
  font-size:12px;
}
body:not(.pdv-night) #workspace #page #settingsForm input[type="file"]::file-selector-button {
  padding:8px 11px;
  margin-right:12px;
  border:1px solid #d8c6f2;
  border-radius:8px;
  background:#eee5ff;
  color:#452781;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
body:not(.pdv-night) #workspace #page #settingsForm .category-image-file:hover,
body:not(.pdv-night) #workspace #page #settingsForm .category-image-actions button:not(.button):hover {
  background:#ebe1ff!important;
  border-color:var(--store-accent,#7c3aed)!important;
}
body:not(.pdv-night) #workspace #page #settingsForm .category-image-setting-row {
  background:#fcfaff!important;
}
body:not(.pdv-night) #workspace #page #settingsForm .category-image-empty {
  background:#f2ecff!important;
  color:#6846ac!important;
  border-color:#d7c8ea!important;
}
body:not(.pdv-night) #workspace #page #settingsForm .menu-logo-preview,
body:not(.pdv-night) #workspace #page #settingsForm .menu-logo-editor-preview {
  background:#f8f5ff!important;
  border:1px solid #e3d8f1!important;
}


/* Cadastro de produtos: campos adicionais do novo modelo de estoque. */
#workspace #page .stock-extra-fields {
 margin:14px 0 18px;
 padding:16px;
 min-width:0;
 border:1px solid #d9cbea;
 border-radius:12px;
 background:#faf8ff;
 color:#24163d;
}
#workspace #page .stock-extra-fields legend {
 padding:0 7px;
 color:#3e2870;
 font-size:13px;
 font-weight:800;
}
#workspace #page .stock-extra-fields .columns{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:0 14px;
}
body.pdv-night #workspace #page .stock-extra-fields{
 background:#22252d!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
}
body.pdv-night #workspace #page .stock-extra-fields legend{color:#f4f4f8!important}
@media(max-width:700px){
 #workspace #page .stock-extra-fields .columns{grid-template-columns:1fr}
}


/* PDV: campo dedicado ao leitor USB/Bluetooth de código de barras */
#workspace #page .godzilla-pdv .pdv-search-controls{
 display:flex;align-items:center;justify-content:flex-end;flex:1 1 auto;
 gap:12px;min-width:0;max-width:920px;
}
#workspace #page .godzilla-pdv .pdv-search-controls .pdv-search-top{
 flex:1 1 340px;min-width:140px;width:auto;max-width:none;
}
#workspace #page .godzilla-pdv .pdv-barcode-label{
 display:block;flex:0 1 310px;min-width:190px;margin:0;
}
#workspace #page .godzilla-pdv #pdvBarcode{
 display:block;width:100%;height:48px;min-width:0;box-sizing:border-box;
 padding:10px 14px;border:2px solid #8c5fe8;border-radius:13px;
 color:#251646;background:#fff;box-shadow:none;
 font:700 15px Inter,system-ui,sans-serif;letter-spacing:.02em;
}
#workspace #page .godzilla-pdv #pdvBarcode:focus{
 outline:2px solid #b99af5;outline-offset:2px;border-color:#6d36d6;
}
#workspace #page .godzilla-pdv .pdv-barcode-feedback{
 flex:0 0 auto;font-size:12px;line-height:1.35;margin:4px 0 10px;
 color:#66557e;min-height:16px;
}
body.pdv-night #workspace #page .godzilla-pdv #pdvBarcode{
 background:#22252d!important;color:#f4f4f8!important;
 border-color:#9270db!important;color-scheme:dark;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-barcode-feedback{color:#c9b9ee!important}
@media(max-width:1150px){
 #workspace #page .godzilla-pdv .pdv-title{flex-wrap:wrap;gap:9px}
 #workspace #page .godzilla-pdv .pdv-search-controls{flex:1 1 100%;max-width:none}
}
@media(max-width:600px){
 #workspace #page .godzilla-pdv .pdv-search-controls{flex-direction:column;align-items:stretch}
 #workspace #page .godzilla-pdv .pdv-search-controls .pdv-search-top,
 #workspace #page .godzilla-pdv .pdv-barcode-label{flex:auto;width:100%;min-width:0}
 #workspace #page .godzilla-pdv .pdv-barcode-feedback{margin-bottom:12px}
}


/* Consultar GTIN: informações sugeridas sem sobrescrever preço ou estoque */
#workspace #page .barcode-lookup-action,
#workspace #page .barcode-registration-info{grid-column:1/-1;min-width:0}
#workspace #page .barcode-lookup-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:1px 0 7px}
#workspace #page .barcode-lookup-action .ghost{min-height:38px;border:1px solid #ac90e4;color:#553294;background:#f5efff;border-radius:10px;padding:8px 12px}
#workspace #page .barcode-lookup-action small{flex:1 1 220px;color:#675a7a;line-height:1.4}
#workspace #page .barcode-registration-info{line-height:1.45;color:#665675}
#workspace #page .barcode-info-card{display:flex;gap:13px;align-items:flex-start;border:1px solid #d6c5ed;background:#faf7ff;border-radius:13px;padding:12px;margin:8px 0 12px;max-width:100%}
#workspace #page .barcode-info-card>img{width:74px;height:74px;flex-shrink:0;object-fit:contain;border-radius:9px;background:#fff}
#workspace #page .barcode-info-card>div{display:grid;gap:5px;min-width:0}
#workspace #page .barcode-info-card strong{overflow-wrap:anywhere;color:#261744}
#workspace #page .barcode-info-card small{color:#645772;line-height:1.4}
#workspace #page .barcode-info-card a{color:#6038af;font-weight:700}
#workspace #page .pdv-barcode-result{border:1px solid #cdb9ef;background:#f9f6ff;border-radius:14px;padding:12px 16px;margin:4px 0 12px;display:grid;gap:10px}
#workspace #page .pdv-barcode-result-main{display:flex;align-items:center;gap:13px;min-width:0}
#workspace #page .pdv-barcode-result-main>img{width:78px;height:78px;flex-shrink:0;object-fit:contain;border-radius:9px;background:#fff}
#workspace #page .pdv-barcode-result-main>div{display:grid;gap:4px;min-width:0}
#workspace #page .pdv-barcode-result-main strong{font-size:15px;overflow-wrap:anywhere;color:#25163b}
#workspace #page .pdv-barcode-result-main small{color:#665873;line-height:1.35}
#workspace #page .pdv-barcode-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#workspace #page .pdv-barcode-result-actions button{min-height:38px;padding:8px 13px;border-radius:9px}
body.pdv-night #workspace #page :is(.pdv-barcode-result,.barcode-info-card){background:#22252d!important;color:#f4f4f8!important;border-color:#494355!important}
body.pdv-night #workspace #page :is(.pdv-barcode-result,.barcode-info-card) :is(strong,small){color:#f4f4f8!important}
body.pdv-night #workspace #page .barcode-lookup-action .ghost{background:#343047!important;color:#eee4ff!important}
@media(max-width:600px){
 #workspace #page :is(.pdv-barcode-result-main,.barcode-info-card){align-items:flex-start}
 #workspace #page :is(.pdv-barcode-result-main,.barcode-info-card)>img{width:54px;height:54px}
}


/* BipStart: cadastro de produto em modo noite — cards de seleção v171 */
body.pdv-night #workspace #page #productForm :is(
 .product-best-seller-option,
 .menu-price-controls,
 .menu-price-controls .online-sale-question,
 .menu-price-controls .online-sale-price,
 .online-sale-locked,
 .stock-extra-fields
){
 background:#22252d!important;
 background-image:none!important;
 color:#ffffff!important;
 -webkit-text-fill-color:#ffffff!important;
 border-color:#464152!important;
 box-shadow:none!important;
 color-scheme:dark;
}
body.pdv-night #workspace #page #productForm :is(
 .product-best-seller-option,
 .menu-price-controls,
 .online-sale-locked,
 .stock-extra-fields
) :is(label,legend,span,strong,b,h3){
 color:#ffffff!important;
 -webkit-text-fill-color:#ffffff!important;
}
body.pdv-night #workspace #page #productForm :is(
 .product-best-seller-option,
 .menu-price-controls,
 .online-sale-locked,
 .stock-extra-fields
) :is(small,p,.muted){
 color:#d3cce1!important;
 -webkit-text-fill-color:#d3cce1!important;
}
body.pdv-night #workspace #page #productForm :is(
 .menu-price-controls .online-sale-question select,
 .menu-price-controls .online-sale-price input,
 .stock-extra-fields input:not([type=checkbox]):not([type=radio]),
 .stock-extra-fields select
){
 background:#191b23!important;
 background-image:none!important;
 border-color:#514b62!important;
 color:#ffffff!important;
 -webkit-text-fill-color:#ffffff!important;
 color-scheme:dark!important;
}
body.pdv-night #workspace #page #productForm :is(
 .menu-price-controls .online-sale-question select,
 .menu-price-controls .online-sale-price input,
 .stock-extra-fields input
)::placeholder{
 color:#bcb3ce!important;
 -webkit-text-fill-color:#bcb3ce!important;
}
body.pdv-night #workspace #page #productForm .product-best-seller-option input[type=checkbox]{
 accent-color:var(--store-accent,#8b5cf6)!important;
 -webkit-text-fill-color:initial!important;
}
body.pdv-night #workspace #page #productForm .online-sale-locked{
 color:#f4e8ff!important;
 -webkit-text-fill-color:#f4e8ff!important;
}


/* Cadastro de produtos v172: grade única de duas colunas e GTIN no topo. */
#workspace #page #productForm > .product-form-grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px 18px!important;
 align-items:start;
}
#workspace #page #productForm > .product-form-grid > :is(label,div,fieldset){
 width:100%;max-width:100%;min-width:0;box-sizing:border-box;
 margin:0;
}
#workspace #page #productForm > .product-form-grid > label{
 display:block;
 align-self:start;
}
#workspace #page #productForm > .product-form-grid > label :is(input:not([type=checkbox]),select,textarea){
 width:100%;min-width:0;max-width:100%;box-sizing:border-box;
}
#workspace #page #productForm > .product-form-grid > .barcode-lookup-action{
 grid-column:auto!important;
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
 align-self:stretch;gap:4px;padding:0;
}
#workspace #page #productForm > .product-form-grid > .barcode-lookup-action button{
 max-width:100%;min-height:41px;padding:9px 12px;
 font-size:13px;text-align:left;
}
#workspace #page #productForm > .product-form-grid > .barcode-lookup-action small{
 display:block;flex:0 0 auto;line-height:1.35;font-size:11px;
}
#workspace #page #productForm > .product-form-grid > .barcode-registration-info{
 grid-column:1/-1!important;
}
#workspace #page #productForm > .product-form-grid > .barcode-registration-info:empty{
 display:none!important;
}
#workspace #page #productForm > .product-form-grid > .menu-price-controls,
#workspace #page #productForm > .product-form-grid > .online-sale-locked{
 grid-column:auto!important;
 min-height:0;
 padding:10px 12px!important;
 border-radius:11px;
}
#workspace #page #productForm > .product-form-grid > .menu-price-controls > .online-sale-question{
 margin:0!important;
 line-height:1.4;
 font-size:13px;
}
#workspace #page #productForm > .product-form-grid > .menu-price-controls .online-sale-question select{
 width:100%;max-width:100%;margin-top:5px;min-height:42px;
}
#workspace #page #productForm > .product-form-grid > .menu-price-controls .online-sale-price{
 padding:8px 10px;margin:8px 0 0!important;
}
#workspace #page #productForm > .product-form-grid > .product-best-seller-option{
 grid-column:auto!important;
 align-self:stretch;min-height:59px;
 padding:12px!important;
}
#workspace #page #productForm > .product-form-grid > .product-image-file{
 grid-column:auto!important;
}
#workspace #page #productForm > .product-form-grid > .paste-area{
 grid-column:auto!important;
 max-width:100%;min-width:0;min-height:70px!important;
 padding:11px 12px!important;
 font-size:12px;line-height:1.5;
}
@media(max-width:780px){
 #workspace #page #productForm > .product-form-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:11px!important;
 }
 #workspace #page #productForm > .product-form-grid > .barcode-registration-info{
  grid-column:auto!important;
 }
}


/* PDV v173: categorias e produtos em cards quadrados de tamanho uniforme. */
body #workspace #page .godzilla-pdv .pdv-category-tiles,
body #workspace #page .godzilla-pdv .pdv-products,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-products{
 display:grid!important;
 grid-template-columns:repeat(auto-fill,minmax(min(100%,144px),1fr))!important;
 align-items:start!important;
 gap:12px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product{
 display:flex!important;
 flex-direction:column!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 height:auto!important;
 min-height:0!important;
 max-height:none!important;
 aspect-ratio:1 / 1!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 border-radius:12px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile{
 align-items:center!important;
 justify-content:center!important;
 padding:10px 8px!important;
 gap:6px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > strong{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 text-align:center!important;
 line-height:1.12!important;
 white-space:normal!important;
 word-break:normal!important;
 overflow-wrap:normal!important;
 hyphens:none!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > span[aria-hidden]{
 flex-shrink:0!important;
}
body #workspace #page .godzilla-pdv .pdv-products > .pdv-product-wrap,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-products > .pdv-product-wrap{
 flex:none!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 align-self:start!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-media,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-media{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 flex:1 1 0!important;
 width:100%!important;
 height:auto!important;
 min-height:0!important;
 max-height:none!important;
 aspect-ratio:auto!important;
 padding:0!important;
 overflow:hidden!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-media img,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-media img{
 display:block!important;
 width:100%!important;
 height:100%!important;
 min-height:0!important;
 max-height:100%!important;
 object-fit:contain!important;
 object-position:center!important;
 padding:2px!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-info,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-info{
 display:flex!important;
 flex:0 0 auto!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 gap:2px!important;
 width:100%!important;
 min-width:0!important;
 max-height:46%!important;
 padding:6px 4px!important;
 text-align:center!important;
 overflow:hidden!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-name,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-name{
 display:-webkit-box!important;
 -webkit-box-orient:vertical!important;
 -webkit-line-clamp:2!important;
 line-clamp:2;
 overflow:hidden!important;
 max-height:2.45em!important;
 font-size:12px!important;
 line-height:1.2!important;
 overflow-wrap:break-word!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-price,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-price{
 flex-shrink:0!important;
 font-size:13px!important;
 line-height:1.25!important;
 white-space:nowrap!important;
}
body #workspace #page .godzilla-pdv .pdv-products > .pdv-empty{
 grid-column:1 / -1!important;
 width:100%!important;
}
@media(max-width:600px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles,
 body #workspace #page .godzilla-pdv .pdv-products,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
 body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product .pdv-product-info{
  padding:5px 3px!important;
 }
}


/* Cadastro de produtos v174: alinhamento uniforme sem botão GTIN. */
#workspace #page #productForm > .product-form-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  column-gap:18px!important;
  row-gap:16px!important;
  align-items:start!important;
}
#workspace #page #productForm > .product-form-grid > label:not(.product-best-seller-option):not(.product-image-file){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:6px!important;
  padding:0!important;
  margin:0!important;
  font-size:13px;
  line-height:1.35!important;
  min-width:0;
}
#workspace #page #productForm > .product-form-grid > label:not(.product-best-seller-option):not(.product-image-file)
  > :is(input:not([type=checkbox]):not([type=file]),select,textarea){
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  font-size:14px!important;
  line-height:1.35!important;
}
#workspace #page #productForm > .product-form-grid > label.product-barcode-field > .barcode-registration-info:empty{
  display:none!important;
}
#workspace #page #productForm > .product-form-grid > label.product-barcode-field > .barcode-registration-info:not(:empty){
  display:block!important;
  margin:0!important;
  padding:3px 0 0!important;
  font-weight:500!important;
  font-size:12px!important;
  line-height:1.4!important;
  color:inherit;
  overflow-wrap:anywhere;
}
#workspace #page #productForm > .product-form-grid > .menu-price-controls,
#workspace #page #productForm > .product-form-grid > .product-best-seller-option,
#workspace #page #productForm > .product-form-grid > .online-sale-locked{
  margin:0!important;
  min-width:0!important;
}
@media(max-width:780px){
  #workspace #page #productForm > .product-form-grid{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:14px!important;
  }
}


/* Cadastro v175: cards Venda online e Mais vendido no modo noite. */
body.pdv-night #workspace #page #productForm > .product-form-grid > :is(
  .menu-price-controls,.product-best-seller-option,.online-sale-locked
),
body.pdv-night #workspace #page #productForm .menu-price-controls > .online-sale-price {
 background:#22252d!important;
 background-image:none!important;
 border:1px solid #464152!important;
 color:#f4f4f8!important;
 -webkit-text-fill-color:#f4f4f8!important;
 box-shadow:none!important;
 color-scheme:dark!important;
}
body.pdv-night #workspace #page #productForm > .product-form-grid > .menu-price-controls label,
body.pdv-night #workspace #page #productForm > .product-form-grid > .product-best-seller-option :is(span,strong,b),
body.pdv-night #workspace #page #productForm > .product-form-grid > .online-sale-locked strong{
 color:#f4f4f8!important;
 -webkit-text-fill-color:#f4f4f8!important;
}
body.pdv-night #workspace #page #productForm > .product-form-grid > .product-best-seller-option small{
 color:#b6bdcf!important;
 -webkit-text-fill-color:#b6bdcf!important;
}
body.pdv-night #workspace #page #productForm .menu-price-controls :is(select,input){
 background:#191b23!important;
 background-image:none!important;
 border-color:#514b62!important;
 color:#f4f4f8!important;
 -webkit-text-fill-color:#f4f4f8!important;
 color-scheme:dark!important;
}
body.pdv-night #workspace #page #productForm .product-best-seller-option input[type="checkbox"]{
 accent-color:var(--store-accent,#8b5cf6)!important;
}


/* Campos adicionais obtidos por GTIN: descrição legível em modo dia/noite. */
#workspace #page #productForm > .product-form-grid > .product-description-field{
 grid-column:1 / -1!important;
 display:flex!important;
 flex-direction:column!important;
 gap:6px!important;
 min-width:0!important;
}
#workspace #page #productForm > .product-form-grid > .product-description-field textarea{
 box-sizing:border-box!important;
 display:block!important;
 width:100%!important;
 height:92px!important;
 min-height:92px!important;
 max-width:100%!important;
 margin:0!important;
 padding:10px 12px!important;
 resize:vertical!important;
 font-size:13px!important;
 line-height:1.4!important;
}
body.pdv-night #workspace #page #productForm > .product-form-grid > .product-description-field textarea{
 background:#22252d!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
 color-scheme:dark!important;
}
@media(max-width:780px){
 #workspace #page #productForm > .product-form-grid > .product-description-field{grid-column:auto!important}
}


/* Vendas v177: tabela escura no modo noite e prejuizos destacados. */
body.pdv-night #workspace #page .sales-records-scroll{
 background:#22252d!important;border-color:#393d49!important;
}
body.pdv-night #workspace #page .sales-records-table tbody tr.sales-record-row td{
 background:#22252d!important;color:#f4f4f8!important;
 -webkit-text-fill-color:#f4f4f8!important;
 border-bottom-color:#393d49!important;
}
body.pdv-night #workspace #page .sales-records-table tbody tr.sales-record-row:has(.sales-record-toggle[aria-expanded="true"]) td{
 background:#302b40!important;
}
body.pdv-night #workspace #page .sales-records-table .sales-record-toggle{
 background:#2b2f39!important;color:#f4f4f8!important;
 -webkit-text-fill-color:#f4f4f8!important;
 border-color:#494455!important;
}
body.pdv-night #workspace #page .sales-records-table .sales-record-toggle strong{
 color:#f4f4f8!important;-webkit-text-fill-color:#f4f4f8!important;
}
body.pdv-night #workspace #page .sales-records-table .sales-record-arrow{
 background:#4b3b66!important;color:#e9ddff!important;
 -webkit-text-fill-color:#e9ddff!important;
}
body.pdv-night #workspace #page .sales-records-table .sales-record-profit.is-loss{
 color:#ff929a!important;-webkit-text-fill-color:#ff929a!important;
}
body:not(.pdv-night) #workspace #page .sales-records-table .sales-record-profit.is-loss{
 color:#c5223d!important;-webkit-text-fill-color:#c5223d!important;
}


/* Desconto fixo em reais no caixa: dinheiro, crédito e débito. */
#workspace .pdv-discount-fields{margin:10px 0 12px;padding:12px;border:1px solid var(--line,#dcd4eb);border-radius:12px;background:var(--panel,#fff);color:var(--text,#282947)}
#workspace .pdv-discount-fields label{display:grid;gap:8px;margin:0 0 10px;font-weight:700}
#workspace .pdv-discount-fields input{min-height:44px;width:100%;border-radius:9px;padding:10px 12px;font-size:17px;font-variant-numeric:tabular-nums}
#workspace .pdv-discount-fields .pdv-calculation{margin:5px 0;background:transparent!important;border:0!important;padding:3px 0}
#workspace .pdv-discount-fields .pdv-calculation strong{font-size:16px}
#workspace .pdv-discount-fields #pdvDiscountError:empty{display:none}
#workspace .pdv-discount-fields #pdvDiscountError:not(:empty){display:block;margin-top:6px;color:#d14457!important}
#workspace .pdv-total-due{margin:8px 0 12px;padding:13px 0;border-top:1px solid var(--line,#dcd4eb)}
#workspace .pdv-total-due strong{font-size:27px;font-variant-numeric:tabular-nums}
body.pdv-night #workspace .pdv-discount-fields{background:#22252d!important;color:#f4f4f8!important;border-color:#343741!important}
body.pdv-night #workspace .pdv-discount-fields label{color:#f4f4f8!important}
body.pdv-night #workspace .pdv-discount-fields input{background:#2b2f39!important;color:#f4f4f8!important;border-color:#505463!important}


/* PDV: pesquisa compacta, mostrando somente nome, preço e botão adicionar. */
#workspace .godzilla-pdv .pdv-cart-search{display:block;width:100%;min-width:0;margin:4px 0 14px}
#workspace .godzilla-pdv .pdv-cart-search>label{display:block;margin:0 0 8px;font-size:13px;font-weight:800;line-height:1.3;color:#37314a}
#workspace .godzilla-pdv .pdv-cart-search-input-wrap{box-sizing:border-box;display:flex!important;align-items:center;position:relative;width:100%;min-width:0;height:49px;border:1.5px solid #b5a6d4;border-radius:12px;background:#fff;color:#312b40;transition:border-color .15s,box-shadow .15s}
#workspace .godzilla-pdv .pdv-cart-search-input-wrap:focus-within{border-color:var(--store-accent,#7c3aed);box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 22%,transparent)}
#workspace .godzilla-pdv .pdv-cart-search-loupe{position:absolute;left:16px;width:14px;height:14px;border:2px solid currentColor;border-radius:50%;opacity:.75;pointer-events:none}
#workspace .godzilla-pdv .pdv-cart-search-loupe::after{content:"";position:absolute;right:-6px;bottom:-4px;width:7px;height:2px;border-radius:1px;background:currentColor;transform:rotate(45deg)}
#workspace .godzilla-pdv .pdv-cart-search-input-wrap input{box-sizing:border-box;display:block!important;flex:1;min-width:0;width:100%;height:100%;min-height:0;margin:0!important;padding:10px 43px 10px 43px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;font:inherit;font-size:15px!important;text-overflow:ellipsis}
#workspace .godzilla-pdv .pdv-cart-search-input-wrap input::placeholder{color:#877f96;opacity:1}
#workspace .godzilla-pdv .pdv-cart-search-input-wrap input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
#workspace .godzilla-pdv .pdv-cart-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid!important;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0!important;border:0!important;border-radius:8px;background:transparent!important;color:#676076!important;font-size:23px!important;font-weight:500;line-height:1;cursor:pointer;box-shadow:none!important}
#workspace .godzilla-pdv .pdv-cart-search-clear:hover{background:#ece6fa!important;color:#4d2ac4!important}
#workspace .godzilla-pdv .pdv-cart-search-clear:focus-visible{outline:2px solid var(--store-accent,#7c3aed);outline-offset:2px}
#workspace .godzilla-pdv .pdv-cart-search-clear[hidden]{display:none!important}
#workspace .godzilla-pdv .pdv-cart-search-results:not(:empty){box-sizing:border-box;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:5px!important;width:100%;min-width:0;max-height:min(290px,38vh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;margin-top:8px;padding:6px!important;border:1px solid #ddd6ed;border-radius:12px;background:#f9f7ff;scrollbar-width:thin;scrollbar-color:#a797c8 transparent}
#workspace .godzilla-pdv .pdv-cart-search-results:empty{display:none!important}
#workspace .godzilla-pdv .pdv-cart-search-results>.pdv-cart-search-result{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:9px 11px!important;border:1px solid #e4ddf0!important;border-radius:9px!important;background:#fff!important;color:#2c2940!important;text-align:left!important;box-shadow:none!important}
#workspace .godzilla-pdv .pdv-cart-search-name{display:block;min-width:0;color:inherit!important;font-size:13px!important;line-height:1.35;font-weight:750!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
#workspace .godzilla-pdv .pdv-cart-search-price{display:block;justify-self:end;min-width:70px;text-align:right;font-size:14px!important;font-weight:900!important;color:inherit!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
#workspace .godzilla-pdv .pdv-cart-search-add{display:inline-flex!important;align-items:center;justify-content:center;justify-self:end;min-height:34px!important;min-width:96px;padding:7px 10px!important;border:1px solid var(--store-accent,#7c3aed)!important;border-radius:8px!important;background:var(--store-accent,#7c3aed)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1.1;white-space:nowrap;cursor:pointer}
#workspace .godzilla-pdv .pdv-cart-search-add:hover:not(:disabled){filter:brightness(1.1)}
#workspace .godzilla-pdv .pdv-cart-search-add:focus-visible{outline:2px solid var(--store-accent,#7c3aed);outline-offset:2px}
#workspace .godzilla-pdv .pdv-cart-search-add:disabled{opacity:.42!important;cursor:not-allowed!important;filter:grayscale(1)!important}
#workspace .godzilla-pdv .pdv-cart-search-state,#workspace .godzilla-pdv .pdv-cart-search-empty{display:block;margin:3px 5px;padding:7px;font-size:12px;line-height:1.5;color:#70677f}
#workspace .godzilla-pdv .pdv-cart-search-error{color:#b23750!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search>label{color:#eeeaf8!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-input-wrap{background:#2a2d37!important;color:#f8f7fb!important;border-color:#67617e!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-input-wrap:focus-within{border-color:#aa88ff!important;box-shadow:0 0 0 2px #9877ff35!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-input-wrap input{background:transparent!important;color:#fff!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-input-wrap input::placeholder{color:#b0a9bd!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-clear{color:#d9d4e5!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-clear:hover{color:#fff!important;background:#484258!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-results:not(:empty){background:#1d1e29!important;border-color:#464356!important;scrollbar-color:#88809f transparent}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-results>.pdv-cart-search-result{background:#292b38!important;color:#f5f1fc!important;border-color:#424457!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-name,body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-price{color:#f5f3fc!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-add{background:#7952d9!important;border-color:#9675f5!important;color:#fff!important}
body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-state,body.pdv-night #workspace .godzilla-pdv .pdv-cart-search-empty{color:#cbc4d8!important}
@media(max-width:520px){
 #workspace .godzilla-pdv .pdv-cart-search-results:not(:empty){max-height:235px}
 #workspace .godzilla-pdv .pdv-cart-search-results>.pdv-cart-search-result{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:8px!important}
 #workspace .godzilla-pdv .pdv-cart-search-name{grid-row:1 / span 2}
 #workspace .godzilla-pdv .pdv-cart-search-price{grid-column:2;grid-row:1;font-size:12px!important}
 #workspace .godzilla-pdv .pdv-cart-search-add{grid-column:2;grid-row:2;min-width:82px!important;min-height:30px!important;font-size:11px!important;padding:5px 7px!important}
}


/* PDV: quantidade diretamente editável em todos os itens do carrinho. */
#workspace .godzilla-pdv .pdv-sale-list .pdv-sale-item:has(.pdv-cart-quantity){
 box-sizing:border-box;display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 align-items:start!important;gap:9px!important;
}
#workspace .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-qty:has(.pdv-cart-quantity){
 display:flex!important;align-items:center!important;
 justify-content:flex-end!important;flex-wrap:nowrap!important;
 width:100%!important;min-width:0!important;gap:7px!important;
}
#workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity{
 box-sizing:border-box!important;flex:0 0 54px!important;
 display:block!important;width:54px!important;min-width:54px!important;
 max-width:54px!important;height:36px!important;min-height:36px!important;
 padding:6px 4px!important;margin:0!important;
 border:1.5px solid #a389d6!important;border-radius:9px!important;
 background:#fff!important;color:#28243e!important;
 text-align:center!important;font-size:16px!important;font-weight:800!important;
 font-variant-numeric:tabular-nums!important;line-height:1.2!important;
 box-shadow:none!important;outline:none!important;
 -moz-appearance:textfield;
}
#workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity::-webkit-inner-spin-button,
#workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity::-webkit-outer-spin-button{
 -webkit-appearance:none;margin:0;
}
#workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity:focus-visible,
#workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity:focus{
 border-color:var(--store-accent,#8752dc)!important;
 box-shadow:0 0 0 3px #8b5cf640!important;
}
body.pdv-night #workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity{
 background:#31313e!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 border-color:#9072c9!important;
}
body.pdv-night #workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity:focus{
 border-color:#c7b4ff!important;box-shadow:0 0 0 3px #9573ff50!important;
}
@media(max-width:470px){
 #workspace .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-qty:has(.pdv-cart-quantity){
  justify-content:flex-start!important;gap:5px!important;
 }
 #workspace .godzilla-pdv .pdv-sale-qty .pdv-cart-quantity{
  flex-basis:54px!important;width:54px!important;min-width:54px!important;max-width:54px!important;
 }
}


/* Carrinho PDV: apenas nome e valor na mesma linha; fontes 50% maiores. */
body #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price{
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
 flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price>strong{
 display:block!important;flex:1 1 auto!important;min-width:0!important;
 font-size:21px!important;line-height:1.25!important;font-weight:800!important;
 overflow-wrap:break-word!important;word-break:normal!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price>.pdv-sale-line-total{
 display:block!important;flex:0 0 auto!important;align-self:center!important;
 margin:0!important;font-size:19.5px!important;line-height:1.25!important;
 font-weight:850!important;white-space:nowrap!important;
 font-variant-numeric:tabular-nums!important;text-align:right!important;
 color:var(--store-accent,#7c3aed)!important;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price>strong{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price>.pdv-sale-line-total{
 color:#c2adff!important;-webkit-text-fill-color:#c2adff!important;
}
@media(max-width:480px){
 body #workspace #page .godzilla-pdv .pdv-sale-list .pdv-sale-item .pdv-sale-name-price{
  gap:8px!important;
 }
}

/* PDV oficial: seis categorias e grade compacta de cinco produtos por fileira. */
body #workspace #page .godzilla-pdv .pdv-category-tiles,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles{
 display:grid!important;
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
 justify-content:start!important;
 align-content:start!important;
 gap:3px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile{
 width:100%!important;min-width:0!important;max-width:100%!important;
}
body #workspace #page .godzilla-pdv .pdv-products,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-products{
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 grid-auto-rows:145px!important;
 gap:8px!important;
 max-height:451px!important;
 overflow-y:auto!important;
 align-content:start!important;
}
body #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-product-wrap > .pdv-product{
 width:100%!important;min-width:0!important;max-width:100%!important;
 aspect-ratio:auto!important;height:145px!important;min-height:145px!important;max-height:145px!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles,
 body #workspace #page .godzilla-pdv .pdv-products,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
}

/* Modo noite: o card do desconto mantém fundo e texto escuros legíveis no checkout. */
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden){
 background:#22252d!important;
 color:#f4f4f8!important;
 border:1px solid #343741!important;
}
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden) label,
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden) small{
 color:#f4f4f8!important;
}
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden) input{
 background:#2b2f39!important;
 color:#f4f4f8!important;
 border:1px solid #505463!important;
}
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden) input:focus{
 border-color:#aa88ff!important;
 outline:2px solid #9877ff45!important;
}
body.pdv-night.workspace-fullscreen #workspace .pdv-sale-panel .pdv-payment-form > #pdvDiscountFields:not(.hidden) .pdv-calculation{
 background:transparent!important;
 color:#f4f4f8!important;
 border:0!important;
}

/* PDV oficial alinhado à homologação: categorias retangulares compactas. */
body #workspace #page .godzilla-pdv .pdv-category-tiles,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles{
 display:grid!important;
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
 justify-content:start!important;
 align-content:start!important;
 gap:3px!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:58px!important;min-height:58px!important;max-height:58px!important;
 aspect-ratio:auto!important;box-sizing:border-box!important;padding:3px 4px!important;gap:2px!important;
 border-radius:8px!important;overflow:hidden!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > span[aria-hidden],
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > span[aria-hidden]{
 flex:0 0 auto!important;font-size:18px!important;line-height:1!important;
}
body #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > strong,
body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles > .pdv-category-tile > strong{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 font-size:12px!important;line-height:1.12!important;font-weight:800!important;text-align:center!important;
 white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
}


/* Carrinho em modo noite: acabamento específico do card de desconto. */
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden){
 background:#22252d!important;background-image:none!important;color:#f4f4f8!important;border:1px solid #343741!important;border-radius:12px!important;box-shadow:none!important;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) label,
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) small,
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) .pdv-calculation,
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) .pdv-calculation strong{
 background:transparent!important;color:#f4f4f8!important;-webkit-text-fill-color:#f4f4f8!important;border-color:transparent!important;box-shadow:none!important;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) input{
 background:#2b2f39!important;color:#f4f4f8!important;-webkit-text-fill-color:#f4f4f8!important;border:1px solid #505463!important;border-radius:9px!important;
}
body.pdv-night #workspace #page .godzilla-pdv .pdv-sale-panel #pdvDiscountFields:not(.hidden) input:focus{
 border-color:#aa88ff!important;outline:2px solid #9877ff45!important;
}


/* PDV: espaçamento consistente no carrinho e editor do total. */
#workspace .godzilla-pdv .pdv-sale-panel{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:14px!important;padding:18px!important;
}
#workspace .godzilla-pdv .pdv-sale-head,
#workspace .godzilla-pdv .pdv-cart-search,
#workspace .godzilla-pdv .pdv-sale-list,
#workspace .godzilla-pdv .pdv-sale-total,
#workspace .godzilla-pdv .pdv-payment-form{margin:0!important;}
#workspace .godzilla-pdv .pdv-sale-head{padding-bottom:10px!important;}
#workspace .godzilla-pdv .pdv-cart-search{display:grid!important;gap:8px!important;}
#workspace .godzilla-pdv .pdv-sale-list{display:grid!important;gap:10px!important;padding:0 5px 0 0!important;}
#workspace .godzilla-pdv .pdv-sale-empty{box-sizing:border-box!important;min-height:96px!important;padding:18px!important;line-height:1.5!important;}
#workspace .godzilla-pdv .pdv-sale-item{margin:0!important;padding:12px!important;}
#workspace .godzilla-pdv .pdv-sale-total{box-sizing:border-box!important;padding:14px 0!important;gap:12px!important;}
#workspace .godzilla-pdv .pdv-payment-form{display:flex!important;flex-direction:column!important;gap:14px!important;padding:0!important;background:transparent!important;}
#workspace .godzilla-pdv .pdv-payment-selector{display:grid!important;gap:10px!important;margin:0!important;}
#workspace .godzilla-pdv .pdv-payment-options{gap:9px!important;}
#workspace .godzilla-pdv .pdv-payment-form>.pdv-sale-total{margin:0!important;padding:14px 0!important;}
#workspace #page .godzilla-pdv .pdv-total-due{display:flex!important;align-items:center!important;gap:12px!important;}
#workspace #page .godzilla-pdv .pdv-total-due>span{flex:1 1 auto!important;}
#workspace #page .godzilla-pdv .pdv-total-edit{display:inline-grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid #8062bd!important;border-radius:9px!important;background:#35264d!important;color:#fff!important;font-size:19px!important;line-height:1!important;cursor:pointer!important;}
#workspace #page .godzilla-pdv .pdv-total-editor.hidden{display:none!important;}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor:not(.hidden){
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:12px!important;overflow:visible!important;
 background:#22252d!important;background-image:none!important;border:1px solid #343741!important;border-radius:12px!important;color:#f4f4f8!important;box-shadow:none!important;
}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-edit-row{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important;
}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-edit-row label{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;white-space:nowrap!important;line-height:1.25!important;color:#f4f4f8!important;}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-edit-row input{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:9px 12px!important;border:1px solid #505463!important;border-radius:10px!important;background:#2b2f39!important;color:#fff!important;}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-editor-actions{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:0!important;overflow:visible!important;}
#workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-editor-actions>button{box-sizing:border-box!important;position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;float:none!important;transform:none!important;width:auto!important;min-width:96px!important;max-width:100%!important;min-height:42px!important;margin:0!important;padding:8px 14px!important;}
body.pdv-night #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor:not(.hidden){background:#22252d!important;border-color:#343741!important;color:#f4f4f8!important;}
body.pdv-night #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-edit-row input{background:#2b2f39!important;color:#fff!important;border-color:#505463!important;}
body.pdv-night #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor [data-pdv-total-cancel]{background:#2b2f39!important;color:#eeeaf8!important;border-color:#505463!important;}
@media(max-width:380px){
 #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-edit-row{grid-template-columns:minmax(0,1fr)!important;gap:7px!important;}
 #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-editor-actions{gap:8px!important;}
 #workspace #page .godzilla-pdv .pdv-payment-form #pdvTotalEditor .pdv-total-editor-actions>button{min-width:0!important;}
}

/* Categorias das configurações da loja. */
#settingsForm > .settings-category{display:grid;gap:16px;padding:20px;border:1px solid #e2d8ee;border-radius:16px;margin:0 0 20px;min-width:0}
#settingsForm > .settings-category > h2{font-size:20px;line-height:1.3;margin:0;padding-bottom:12px;border-bottom:1px solid #e2d8ee}
#settingsForm .settings-category-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
#settingsForm .settings-category-fields > label{min-width:0;margin:0}
#settingsForm .settings-category-fields input{width:100%;box-sizing:border-box}
body.pdv-night #settingsForm > .settings-category > h2{border-color:#393d49}
@media(max-width:640px){#settingsForm > .settings-category{padding:16px}#settingsForm .settings-category-fields{grid-template-columns:1fr}}

/* Navegação das configurações: lateral no topo e compacta no celular. */
.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;align-items:start}
.settings-layout > .data-form{min-width:0;margin:0}
.settings-category-nav{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #e2d8ee;border-radius:14px;background:#faf8ff}
.settings-category-nav button{width:100%;text-align:left;padding:12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#24163d;font:inherit;cursor:pointer}
.settings-category-nav button.is-active{background:var(--store-accent,#7c3aed);color:var(--store-accent-ink,#fff);font-weight:700}
.settings-category-nav button:focus-visible{outline:2px solid var(--store-accent,#7c3aed);outline-offset:2px}
#settingsForm > .settings-category[hidden]{display:none!important}
body.pdv-night .settings-category-nav{background:#22252d;border-color:#393d49}
body.pdv-night .settings-category-nav button:not(.is-active){color:#f4f4f8}
@media(max-width:800px){.settings-layout{grid-template-columns:1fr}.settings-category-nav{flex-direction:row;overflow-x:auto}.settings-category-nav button{width:auto;flex-shrink:0;white-space:nowrap}}

/* Modo noite: remove o fundo claro herdado do formulário de pagamento. */
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form{
 box-sizing:border-box!important;background:#22252d!important;background-image:none!important;color:#f4f4f8!important;border:1px solid #343741!important;border-radius:12px!important;padding:14px!important;
}
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>.pdv-payment-selector,
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>.pdv-sale-total,
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>#pdvTotalEditor:not(.hidden){
 background:#22252d!important;background-image:none!important;color:#f4f4f8!important;border-color:#343741!important;box-shadow:none!important;
}
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>#pdvTotalEditor:not(.hidden)>.pdv-total-edit-row,
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>#pdvTotalEditor:not(.hidden)>.pdv-total-editor-actions{
 background:transparent!important;color:#f4f4f8!important;
}
body.pdv-night.workspace-fullscreen #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>#pdvTotalEditor:not(.hidden)>.pdv-total-edit-row>label{color:#f4f4f8!important;}

/* Campo do total editável no carrinho, sem botão de lápis. */
#workspace .godzilla-pdv .pdv-total-due{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
#workspace .godzilla-pdv .pdv-total-due>span{flex:1 1 auto!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:6px!important;flex:0 1 180px!important;width:180px!important;min-width:120px!important;margin:0!important;padding:4px 10px!important;border:1px solid #4b435e!important;border-radius:10px!important;background:#2b2f39!important;color:#c9b4ff!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap>span{flex:0 0 auto!important;color:inherit!important;font-size:14px!important;font-weight:800!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap>input{box-sizing:border-box!important;display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;margin:0!important;padding:4px 0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#c9b4ff!important;font-size:23px!important;font-weight:900!important;text-align:right!important;font-variant-numeric:tabular-nums!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap:focus-within{border-color:#a78bfa!important;box-shadow:0 0 0 2px #9877ff35!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap>input:focus{outline:0!important;box-shadow:none!important;}
body.pdv-night #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form{background:#22252d!important;background-image:none!important;color:#f4f4f8!important;border:1px solid #343741!important;border-radius:12px!important;padding:14px!important;}
body.pdv-night #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>.pdv-payment-selector,
body.pdv-night #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>.pdv-sale-total,
body.pdv-night #workspace .godzilla-pdv .pdv-sale-panel .pdv-payment-form>.pdv-sale-total{background-color:transparent!important;color:#f4f4f8!important;}
body.pdv-night #workspace .godzilla-pdv .pdv-total-input-wrap{background:#2b2f39!important;border-color:#505463!important;color:#c9b4ff!important;}
body.pdv-night #workspace .godzilla-pdv .pdv-total-input-wrap>input{color:#c9b4ff!important;}
@media(max-width:480px){#workspace .godzilla-pdv .pdv-total-input-wrap{flex-basis:150px!important;width:150px!important;min-width:110px!important;}#workspace .godzilla-pdv .pdv-total-input-wrap>input{font-size:19px!important;}}

/* Mantém a moeda e o valor editável lado a lado, inclusive em telas estreitas. */
#workspace .godzilla-pdv .pdv-total-input-wrap{box-sizing:border-box!important;display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;column-gap:8px!important;white-space:nowrap!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap>span{grid-column:1!important;grid-row:1!important;white-space:nowrap!important;}
#workspace .godzilla-pdv .pdv-total-input-wrap>input{grid-column:2!important;grid-row:1!important;}


/* Carrinho PDV reorganizado conforme a referência: cabeçalho, itens, resumo e checkout. */
#workspace #page .godzilla-pdv .pdv-sale-panel{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:12px!important;
 padding:16px!important;background:#111e30!important;border:1px solid #1b2a40!important;
 border-radius:16px!important;color:#f5f7fc!important;box-shadow:0 12px 28px #07101e44!important;
}
#workspace #page .godzilla-pdv .pdv-sale-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;margin:0!important;padding:0 0 10px!important;border-bottom:1px solid #2c3b50!important;
}
#workspace #page .godzilla-pdv .pdv-sale-head .kicker{display:none!important}
#workspace #page .godzilla-pdv .pdv-sale-head h2{margin:0!important;color:#f7f8fc!important;font-size:23px!important;line-height:1.2!important;font-weight:850!important}
#workspace #page .godzilla-pdv .pdv-sale-head>span{font-size:23px!important;color:#dbe5f5!important}
#workspace #page .godzilla-pdv .pdv-cart-search{display:grid!important;gap:0!important;margin:0!important}
#workspace #page .godzilla-pdv .pdv-cart-search>label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#workspace #page .godzilla-pdv .pdv-cart-search-input-wrap{
 display:flex!important;align-items:center!important;gap:8px!important;min-height:38px!important;
 box-sizing:border-box!important;padding:0 11px!important;border:1px solid #243550!important;
 border-radius:11px!important;background:#1b2b43!important;
}
#workspace #page .godzilla-pdv .pdv-cart-search-input-wrap .pdv-cart-search-loupe{border-color:#cbd6e7!important}
#workspace #page .godzilla-pdv #pdvCartSearch{min-width:0!important;width:100%!important;padding:8px 0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#f5f7fc!important;font-size:13px!important}
#workspace #page .godzilla-pdv #pdvCartSearch::placeholder{color:#aab7ca!important}
#workspace #page .godzilla-pdv .pdv-cart-search-results{margin:0!important}
#workspace #page .godzilla-pdv .pdv-sale-list{display:grid!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#workspace #page .godzilla-pdv .pdv-sale-item{
 display:block!important;box-sizing:border-box!important;margin:0!important;padding:12px 0!important;
 border:0!important;border-bottom:1px solid #2c3b50!important;border-radius:0!important;background:transparent!important;color:#f5f7fc!important;
}
#workspace #page .godzilla-pdv .pdv-sale-product{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
#workspace #page .godzilla-pdv .pdv-cart-product-media{
 display:grid!important;place-items:center!important;flex:0 0 56px!important;width:56px!important;height:62px!important;
 overflow:hidden!important;border-radius:10px!important;background:#22334b!important;color:#d4def0!important;font-size:24px!important;
}
#workspace #page .godzilla-pdv .pdv-cart-product-media img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
#workspace #page .godzilla-pdv .pdv-cart-product-details{display:grid!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important}
#workspace #page .godzilla-pdv .pdv-sale-name{
 display:-webkit-box!important;min-width:0!important;margin:0!important;overflow:hidden!important;
 color:#f5f7fc!important;font-size:12px!important;line-height:1.35!important;font-weight:800!important;
 text-transform:uppercase!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
}
#workspace #page .godzilla-pdv .pdv-cart-product-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
#workspace #page .godzilla-pdv .pdv-sale-qty{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;margin:0!important}
#workspace #page .godzilla-pdv .pdv-sale-qty button,
#workspace #page .godzilla-pdv .pdv-sale-qty input{
 box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:0 0 26px!important;
 width:26px!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0!important;
 border:1px solid #293b55!important;border-radius:7px!important;background:#1b2b43!important;color:#f7f8fc!important;
 font-size:14px!important;font-weight:800!important;line-height:1!important;
}
#workspace #page .godzilla-pdv .pdv-sale-qty input{flex-basis:34px!important;width:34px!important;text-align:center!important;appearance:textfield!important}
#workspace #page .godzilla-pdv .pdv-sale-qty input::-webkit-inner-spin-button,
#workspace #page .godzilla-pdv .pdv-sale-qty input::-webkit-outer-spin-button{appearance:none!important;margin:0!important}
#workspace #page .godzilla-pdv .pdv-sale-qty button:last-child{background:#f43d52!important;border-color:#f43d52!important;color:#fff!important}
#workspace #page .godzilla-pdv .pdv-sale-line-total{flex:0 0 auto!important;margin:0!important;color:#bb91ff!important;font-size:15px!important;font-weight:850!important;white-space:nowrap!important}
#workspace #page .godzilla-pdv .pdv-cart-summary{display:grid!important;gap:0!important;margin:0!important}
#workspace #page .godzilla-pdv .pdv-summary-row{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
 min-height:44px!important;margin:0!important;padding:9px 0!important;border-bottom:1px solid #2c3b50!important;
 color:#f2f5fb!important;font-size:13px!important;font-weight:700!important;
}
#workspace #page .godzilla-pdv .pdv-summary-row strong{color:#f2f5fb!important;font-size:15px!important;font-weight:850!important;font-variant-numeric:tabular-nums!important}
#workspace #page .godzilla-pdv .pdv-payment-form{
 display:flex!important;flex-direction:column!important;gap:12px!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;color:#f5f7fc!important;
}
#workspace #page .godzilla-pdv .pdv-payment-selector{display:grid!important;gap:9px!important;margin:0!important;padding:0!important;background:transparent!important}
#workspace #page .godzilla-pdv .pdv-payment-label{color:#dfe6f2!important;font-size:12px!important;font-weight:700!important}
#workspace #page .godzilla-pdv .pdv-payment-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
#workspace #page .godzilla-pdv .pdv-payment-chip{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 min-width:0!important;min-height:39px!important;padding:7px 5px!important;
 border:1px solid #2b3b54!important;border-radius:9px!important;background:#1b2b43!important;color:#f5f7fc!important;
 font-size:12px!important;font-weight:750!important;white-space:nowrap!important;
}
#workspace #page .godzilla-pdv .pdv-payment-chip.selected{border-color:#185eea!important;background:#1459de!important;color:#fff!important}
#workspace #page .godzilla-pdv .pdv-total-due{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
 box-sizing:border-box!important;margin:0!important;padding:11px 0 0!important;border:0!important;background:transparent!important;
}
#workspace #page .godzilla-pdv .pdv-total-due>span{flex:1 1 auto!important;color:#f4f6fb!important;font-size:16px!important;font-weight:800!important}
#workspace #page .godzilla-pdv .pdv-total-input-wrap{
 display:flex!important;align-items:center!important;gap:4px!important;flex:0 1 150px!important;width:150px!important;min-width:112px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#bb91ff!important;
}
#workspace #page .godzilla-pdv .pdv-total-input-wrap>span{flex:0 0 auto!important;color:#bb91ff!important;font-size:19px!important;font-weight:900!important}
#workspace #page .godzilla-pdv .pdv-total-input-wrap>input{
 box-sizing:border-box!important;display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:38px!important;
 margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
 color:#bb91ff!important;font-size:23px!important;font-weight:900!important;text-align:right!important;font-variant-numeric:tabular-nums!important;
}
#workspace #page .godzilla-pdv .pdv-total-input-wrap:focus-within{outline:2px solid #9d7cff!important;outline-offset:3px!important;border-radius:4px!important}
#workspace #page .godzilla-pdv .pdv-finish{
 display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:50px!important;
 margin:2px 0 0!important;padding:12px!important;border:0!important;border-radius:10px!important;
 background:linear-gradient(105deg,#4254f5 0%,#793bf2 100%)!important;color:#fff!important;
 box-shadow:none!important;font-size:13px!important;font-weight:850!important;letter-spacing:0!important;
}
#workspace #page .godzilla-pdv .pdv-finish:disabled{opacity:.55!important;cursor:not-allowed!important}
#workspace #page .godzilla-pdv .pdv-sale-empty{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;min-height:78px!important;
 margin:0!important;padding:14px!important;border:1px solid #28384f!important;border-radius:10px!important;
 background:#142338!important;color:#b8c5d9!important;text-align:center!important;font-size:13px!important;line-height:1.4!important;
}
@media(max-width:480px){
 #workspace #page .godzilla-pdv .pdv-sale-panel{gap:10px!important;padding:14px!important}
 #workspace #page .godzilla-pdv .pdv-sale-head h2{font-size:21px!important}
 #workspace #page .godzilla-pdv .pdv-cart-product-media{flex-basis:52px!important;width:52px!important;height:58px!important}
 #workspace #page .godzilla-pdv .pdv-sale-qty{gap:3px!important}
 #workspace #page .godzilla-pdv .pdv-sale-qty button{flex-basis:24px!important;width:24px!important}
 #workspace #page .godzilla-pdv .pdv-sale-qty input{flex-basis:30px!important;width:30px!important}
 #workspace #page .godzilla-pdv .pdv-total-input-wrap{flex-basis:132px!important;width:132px!important;min-width:102px!important}
 #workspace #page .godzilla-pdv .pdv-total-input-wrap>input{font-size:20px!important}
}

/* Carrinho PDV: reservar espaço para duas linhas e manter a lista rolável. */
body #workspace #page .godzilla-pdv .pdv-sale-list{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-auto-flow:row!important;grid-auto-rows:minmax(103px,auto)!important;align-content:start!important;
 gap:0!important;width:100%!important;height:206px!important;min-height:206px!important;max-height:206px!important;
 flex:0 0 206px!important;overflow-x:hidden!important;overflow-y:auto!important;
 -webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list>.pdv-sale-item{
 box-sizing:border-box!important;display:block!important;height:auto!important;min-height:103px!important;
 max-height:none!important;margin:0!important;overflow:visible!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list>.pdv-sale-slot-placeholder{
 box-sizing:border-box!important;display:block!important;height:103px!important;min-height:103px!important;
 margin:0!important;border-bottom:1px solid #2c3b50!important;pointer-events:none!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list>.pdv-sale-empty{
 box-sizing:border-box!important;grid-row:auto!important;height:auto!important;min-height:103px!important;
 max-height:none!important;margin:0!important;align-self:stretch!important;
}


/* PDV: painel do carrinho ocupa a altura disponível sem perder a rolagem dos itens. */
body #workspace #page .godzilla-pdv .pdv-sale-panel{
 box-sizing:border-box!important;width:100%!important;max-width:480px!important;min-width:0!important;margin-inline:auto!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:repeat(2,minmax(103px,1fr))!important;grid-auto-flow:row!important;grid-auto-rows:minmax(103px,1fr)!important;
 align-content:stretch!important;gap:0!important;width:100%!important;height:auto!important;min-height:206px!important;max-height:none!important;
 flex:1 1 206px!important;overflow-x:hidden!important;overflow-y:auto!important;
 -webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;
}
body #workspace #page .godzilla-pdv .pdv-sale-list>.pdv-sale-empty{
 box-sizing:border-box!important;grid-row:1 / span 2!important;height:100%!important;min-height:206px!important;max-height:none!important;
 margin:0!important;align-self:stretch!important;
}
body #workspace #page .godzilla-pdv .pdv-total-input-wrap>input{
 text-align:center!important;
}
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-sale-panel:not(.pdv-sale-panel-floating){
  height:calc(100dvh - 40px)!important;min-height:480px!important;max-height:calc(100dvh - 40px)!important;
  overflow-y:auto!important;
 }
 body #workspace #page .godzilla-pdv .pdv-sale-panel-floating.is-open{
  display:flex!important;flex-direction:column!important;position:fixed!important;z-index:1002!important;
  left:50%!important;right:auto!important;top:24px!important;bottom:auto!important;transform:translateX(-50%)!important;
  width:min(480px,calc(100vw - 32px))!important;height:calc(100dvh - 106px)!important;
  min-height:0!important;max-height:calc(100dvh - 106px)!important;overflow-y:auto!important;
 }
}
@media (hover:hover) and (min-width:701px){
 body #workspace #page .godzilla-pdv:has(.pdv-floating-sale-button:hover) .pdv-sale-panel-floating,
 body #workspace #page .godzilla-pdv .pdv-sale-panel-floating:hover,
 body #workspace #page .godzilla-pdv .pdv-sale-panel-floating.is-open{
  display:flex!important;flex-direction:column!important;position:fixed!important;z-index:1002!important;
  right:24px!important;left:auto!important;top:40px!important;bottom:90px!important;transform:none!important;
  width:min(480px,calc(100vw - 48px))!important;height:calc(100dvh - 130px)!important;
  min-height:0!important;max-height:calc(100dvh - 130px)!important;overflow-y:auto!important;
 }
}

/* Indica quando o preço de atacado está ativo para a quantidade atual do carrinho. */
#workspace #page .godzilla-pdv .pdv-sale-line-total .pdv-sale-line-amount{display:block!important}
#workspace #page .godzilla-pdv .pdv-sale-line-total .pdv-wholesale-badge{
 display:block!important;margin-top:2px!important;color:#70e0ad!important;
 font-size:10px!important;line-height:1.1!important;text-align:right!important;font-weight:750!important;
}




/* Ficha técnica de insumos: entrada compacta e lista com custos. */
#workspace #page #productForm .product-ingredients-editor{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;margin:10px 0 0;padding:14px;border:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 32%,#485064);border-radius:12px;background:color-mix(in srgb,var(--surface,#202530) 88%,transparent)}
#workspace #page #productForm .product-ingredients-editor h3{margin:0 0 6px;font-size:1.05rem}
#workspace #page #productForm .product-ingredients-editor>p{margin:5px 0 10px}
#workspace #page #productForm .product-ingredient-entry{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,.65fr) auto;align-items:end;gap:10px;margin:10px 0 14px;padding:10px;border:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 24%,#485064);border-radius:10px;background:color-mix(in srgb,var(--surface,#202530) 75%,transparent)}
#workspace #page #productForm .product-ingredient-entry label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
#workspace #page #productForm .product-ingredient-entry :is(select,input){width:100%;min-width:0;box-sizing:border-box}
#workspace #page #productForm .product-ingredient-list{display:grid;gap:0;margin:8px 0}
#workspace #page #productForm .product-ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.5fr) minmax(120px,.5fr) auto;align-items:center;gap:12px;min-width:0;padding:10px 4px;border-bottom:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 20%,#485064)}
#workspace #page #productForm .product-ingredient-info{display:grid;gap:3px;min-width:0}
#workspace #page #productForm .product-ingredient-info strong{overflow-wrap:anywhere}
#workspace #page #productForm .product-ingredient-info small,#workspace #page #productForm .product-ingredient-cost small{color:var(--muted,#b8c2d5);font-size:.82rem}
#workspace #page #productForm .product-ingredient-cost{display:grid;gap:3px;justify-items:start;white-space:nowrap}
#workspace #page #productForm .product-ingredient-remove{margin:0;white-space:nowrap}
#workspace #page #productForm .product-ingredient-empty{margin:0;padding:10px 0;color:var(--muted,#b8c2d5)}
#workspace #page #productForm .product-ingredient-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:10px 2px;border-top:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 28%,#485064);font-weight:800}
#workspace #page #productForm .product-ingredient-total strong{color:var(--shop-accent,#b99aff);font-size:1.05rem}
#workspace #page #productForm [name="cost"][readonly]{cursor:not-allowed;opacity:.9}
@media(max-width:680px){#workspace #page #productForm .product-ingredient-entry{grid-template-columns:minmax(0,1fr) minmax(105px,.55fr);gap:8px}#workspace #page #productForm .product-ingredient-entry [data-product-ingredient-add]{grid-column:1/-1}#workspace #page #productForm .product-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(95px,.65fr);gap:7px}#workspace #page #productForm .product-ingredient-info{grid-column:1/-1}#workspace #page #productForm .product-ingredient-remove{grid-column:1/-1;justify-self:start}}


/* Menu mobile: ao abrir o diálogo, exiba a gaveta sem depender de regras .open concorrentes. */
@media(max-width:1000px){
 #workspace dialog#sideMenuDialog[open]{
  display:block!important;position:fixed!important;inset:0!important;
  box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  overflow:hidden!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:inherit!important;pointer-events:auto!important;
 }
 #workspace dialog#sideMenuDialog[open]::backdrop{background:transparent!important;pointer-events:none!important}
 #workspace dialog#sideMenuDialog[open]>#sideBackdrop:not(.hidden){
  display:block!important;position:absolute!important;inset:0!important;z-index:1!important;
  background:#000a!important;pointer-events:auto!important;
 }
 #workspace dialog#sideMenuDialog[open]>#sidebar{
  display:flex!important;flex-direction:column!important;position:absolute!important;
  top:0!important;right:auto!important;bottom:0!important;left:0!important;
  width:min(300px,88vw)!important;height:100%!important;min-height:0!important;max-height:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;z-index:2!important;
  transform:translate3d(0,0,0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 }
 #workspace dialog#sideMenuDialog[open]>.pdv-mobile-menu{
  display:flex!important;position:absolute!important;top:calc(env(safe-area-inset-top,0px) + 8px)!important;
  left:auto!important;right:8px!important;z-index:3!important;margin:0!important;padding:0!important;pointer-events:auto!important;
 }
}
@media(min-width:1001px){#workspace dialog#sideMenuDialog{display:none!important}}


/* Botão de configurações do menu mobile: área de toque de 44 px. */
@media(max-width:1000px){
 #workspace .side .side-settings{
  display:grid!important;place-items:center!important;
  flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;
  min-height:44px!important;height:44px!important;padding:0!important;
 }
}


/* Homologação mobile: categorias visíveis, legíveis e fáceis de tocar. */
@media(max-width:700px){
 body #workspace #page .godzilla-pdv .pdv-category-tiles,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles,
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles,
 body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(64px,auto)!important;
  align-content:start!important;gap:8px!important;width:100%!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
 }
 body #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile,
 body #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles>.pdv-category-tile,
 body.workspace-fullscreen #workspace #page .godzilla-pdv.pdv-floating-layout .pdv-category-tiles>.pdv-category-tile{
  --pdv-category-font-size:14px!important;
  box-sizing:border-box!important;display:flex!important;flex:initial!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;
  height:auto!important;min-height:64px!important;max-height:none!important;margin:0!important;
  padding:8px 6px!important;overflow:visible!important;touch-action:manipulation!important;cursor:pointer!important;
 }
 body #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile>strong,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile>strong{
  font-size:var(--pdv-category-font-size,14px)!important;line-height:1.15!important;
  white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;
 }
 body #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile:focus-visible,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-category-tiles>.pdv-category-tile:focus-visible{
  outline:3px solid var(--store-accent,#7c3aed)!important;outline-offset:2px!important;
 }
 body.workspace-fullscreen #workspace #page .godzilla-pdv,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-two-panels,
 body.workspace-fullscreen #workspace #page .godzilla-pdv .pdv-catalog{
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
 }
}


/* Homologação mobile: o drawer lateral não pode permanecer oculto por display:none. */
@media(max-width:1000px){
 body.workspace-fullscreen #workspace .side,
 #workspace .side{
  display:flex!important;flex-direction:column!important;position:fixed!important;
  inset:0 auto 0 0!important;width:min(300px,88vw)!important;height:100dvh!important;
  min-height:0!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;
  z-index:1400!important;border-radius:0 16px 16px 0!important;
  transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 }
 body.workspace-fullscreen #workspace .side.open,
 #workspace .side.open{
  display:flex!important;transform:translateX(0)!important;visibility:visible!important;
  pointer-events:auto!important;
 }
 body.workspace-fullscreen #workspace .side-backdrop:not(.hidden),
 #workspace .side-backdrop:not(.hidden){
  display:block!important;position:fixed!important;inset:0!important;z-index:1390!important;
  pointer-events:auto!important;
 }
 body.workspace-fullscreen #workspace .pdv-mobile-menu,
 #workspace .pdv-mobile-menu{
  display:flex!important;position:sticky!important;top:0!important;z-index:1350!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 }
 body.workspace-fullscreen #workspace .pdv-mobile-menu #sideToggle,
 #workspace .pdv-mobile-menu #sideToggle{
  display:inline-flex!important;position:relative!important;z-index:1351!important;
  min-height:48px!important;visibility:visible!important;opacity:1!important;
  pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;
 }
}


/* Homologação: botão de menu fixo e gaveta acima de todo o conteúdo no mobile. */
@media(max-width:1000px){
 body.workspace-fullscreen #workspace .pdv-mobile-menu,
 #workspace .pdv-mobile-menu{
  display:flex!important;position:fixed!important;
  top:calc(env(safe-area-inset-top,0px) + 8px)!important;left:8px!important;
  z-index:1502!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 }
 body.workspace-fullscreen #workspace .pdv-mobile-menu #sideToggle,
 #workspace .pdv-mobile-menu #sideToggle{
  display:inline-flex!important;position:relative!important;z-index:1503!important;
  min-height:48px!important;max-width:calc(100vw - 16px)!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  touch-action:manipulation!important;cursor:pointer!important;
 }
 body.workspace-fullscreen #workspace .side,
 #workspace .side{
  display:flex!important;flex-direction:column!important;position:fixed!important;
  inset:0 auto 0 0!important;width:min(300px,88vw)!important;height:100dvh!important;
  min-height:0!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;
  z-index:1501!important;border-radius:0 16px 16px 0!important;
  transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 }
 body.workspace-fullscreen #workspace .side.open,
 #workspace .side.open{
  display:flex!important;transform:translateX(0)!important;visibility:visible!important;
  pointer-events:auto!important;
 }
 body.workspace-fullscreen #workspace .side-backdrop:not(.hidden),
 #workspace .side-backdrop:not(.hidden){
  display:block!important;position:fixed!important;inset:0!important;z-index:1500!important;
  pointer-events:auto!important;
 }
}


/* Homologação: retire a gaveta do dashboard no mobile para evitar que seus
   contextos de empilhamento fiquem atrás do fundo escuro. */
@media(max-width:1000px){
 body.workspace-fullscreen #workspace .pdv-mobile-menu,
 #workspace .pdv-mobile-menu{
  z-index:1603!important;
 }
 body.workspace-fullscreen #workspace .pdv-mobile-menu #sideToggle,
 #workspace .pdv-mobile-menu #sideToggle{
  z-index:1604!important;
 }
 body.sidebar-open #workspace .pdv-mobile-menu{
  left:auto!important;right:8px!important;
 }
 body.workspace-fullscreen #workspace .side,
 #workspace .side{
  z-index:1601!important;
 }
 body.workspace-fullscreen #workspace .side.open,
 #workspace .side.open{
  z-index:1601!important;
 }
 body.workspace-fullscreen #workspace .side-backdrop:not(.hidden),
 #workspace .side-backdrop:not(.hidden){
  z-index:1600!important;
 }
}

/* Indica quando o preço de atacado está ativo para a quantidade atual do carrinho. */
#workspace #page .godzilla-pdv .pdv-sale-line-total .pdv-sale-line-amount{display:block!important}
#workspace #page .godzilla-pdv .pdv-sale-line-total .pdv-wholesale-badge{
 display:block!important;margin-top:2px!important;color:#70e0ad!important;
 font-size:10px!important;line-height:1.1!important;text-align:right!important;font-weight:750!important;
}




/* Ficha técnica de insumos: entrada compacta e lista com custos. */
#workspace #page #productForm .product-ingredients-editor{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;margin:10px 0 0;padding:14px;border:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 32%,#485064);border-radius:12px;background:color-mix(in srgb,var(--surface,#202530) 88%,transparent)}
#workspace #page #productForm .product-ingredients-editor h3{margin:0 0 6px;font-size:1.05rem}
#workspace #page #productForm .product-ingredients-editor>p{margin:5px 0 10px}
#workspace #page #productForm .product-ingredient-entry{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,.65fr) auto;align-items:end;gap:10px;margin:10px 0 14px;padding:10px;border:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 24%,#485064);border-radius:10px;background:color-mix(in srgb,var(--surface,#202530) 75%,transparent)}
#workspace #page #productForm .product-ingredient-entry label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
#workspace #page #productForm .product-ingredient-entry :is(select,input){width:100%;min-width:0;box-sizing:border-box}
#workspace #page #productForm .product-ingredient-list{display:grid;gap:0;margin:8px 0}
#workspace #page #productForm .product-ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.5fr) minmax(120px,.5fr) auto;align-items:center;gap:12px;min-width:0;padding:10px 4px;border-bottom:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 20%,#485064)}
#workspace #page #productForm .product-ingredient-info{display:grid;gap:3px;min-width:0}
#workspace #page #productForm .product-ingredient-info strong{overflow-wrap:anywhere}
#workspace #page #productForm .product-ingredient-info small,#workspace #page #productForm .product-ingredient-cost small{color:var(--muted,#b8c2d5);font-size:.82rem}
#workspace #page #productForm .product-ingredient-cost{display:grid;gap:3px;justify-items:start;white-space:nowrap}
#workspace #page #productForm .product-ingredient-remove{margin:0;white-space:nowrap}
#workspace #page #productForm .product-ingredient-empty{margin:0;padding:10px 0;color:var(--muted,#b8c2d5)}
#workspace #page #productForm .product-ingredient-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:10px 2px;border-top:1px solid color-mix(in srgb,var(--shop-accent,#596cff) 28%,#485064);font-weight:800}
#workspace #page #productForm .product-ingredient-total strong{color:var(--shop-accent,#b99aff);font-size:1.05rem}
#workspace #page #productForm [name="cost"][readonly]{cursor:not-allowed;opacity:.9}
@media(max-width:680px){#workspace #page #productForm .product-ingredient-entry{grid-template-columns:minmax(0,1fr) minmax(105px,.55fr);gap:8px}#workspace #page #productForm .product-ingredient-entry [data-product-ingredient-add]{grid-column:1/-1}#workspace #page #productForm .product-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(95px,.65fr);gap:7px}#workspace #page #productForm .product-ingredient-info{grid-column:1/-1}#workspace #page #productForm .product-ingredient-remove{grid-column:1/-1;justify-self:start}}


/* Gaveta mobile da homologação: dialog no top layer para não ficar atrás do backdrop. */
@media(max-width:1000px){
 #workspace .side-menu-dialog[open]{
  display:block!important;position:fixed!important;inset:0!important;
  box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  overflow:visible!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:inherit!important;pointer-events:none!important;
 }
 #workspace .side-menu-dialog[open]::backdrop{background:transparent!important;pointer-events:none!important}
 #workspace .side-menu-dialog[open]>.pdv-mobile-menu{
  display:flex!important;position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 8px)!important;
  left:8px!important;right:auto!important;z-index:3!important;
  margin:0!important;padding:0!important;pointer-events:auto!important;
 }
 #workspace .side-menu-dialog[open]>.side-backdrop:not(.hidden){
  display:block!important;position:fixed!important;inset:0!important;z-index:1!important;
  background:#000a!important;pointer-events:auto!important;
 }
 #workspace .side-menu-dialog[open]>.side{
  display:flex!important;flex-direction:column!important;position:fixed!important;
  inset:0 auto 0 0!important;width:min(300px,88vw)!important;
  height:100vh!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  overflow-x:hidden!important;overflow-y:auto!important;z-index:2!important;
  transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 }
 #workspace .side-menu-dialog[open]>.side.open{
  transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;
 }
}
@media(min-width:1001px){#workspace .side-menu-dialog{display:none!important}}


/* Menu mobile: ao abrir o diálogo, exiba a gaveta sem depender de regras .open concorrentes. */
@media(max-width:1000px){
 #workspace dialog#sideMenuDialog[open]{
  display:block!important;position:fixed!important;inset:0!important;
  box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  overflow:hidden!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:inherit!important;pointer-events:auto!important;
 }
 #workspace dialog#sideMenuDialog[open]::backdrop{background:transparent!important;pointer-events:none!important}
 #workspace dialog#sideMenuDialog[open]>#sideBackdrop:not(.hidden){
  display:block!important;position:absolute!important;inset:0!important;z-index:1!important;
  background:#000a!important;pointer-events:auto!important;
 }
 #workspace dialog#sideMenuDialog[open]>#sidebar{
  display:flex!important;flex-direction:column!important;position:absolute!important;
  top:0!important;right:auto!important;bottom:0!important;left:0!important;
  width:min(300px,88vw)!important;height:100%!important;min-height:0!important;max-height:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;z-index:2!important;
  transform:translate3d(0,0,0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 }
 #workspace dialog#sideMenuDialog[open]>.pdv-mobile-menu{
  display:flex!important;position:absolute!important;top:calc(env(safe-area-inset-top,0px) + 8px)!important;
  left:auto!important;right:8px!important;z-index:3!important;margin:0!important;padding:0!important;pointer-events:auto!important;
 }
}
@media(min-width:1001px){#workspace dialog#sideMenuDialog{display:none!important}}


/* Acesso às configurações no celular: engrenagem com alvo de toque confortável. */
#workspace .side .side-settings-text{display:none!important}
@media(max-width:1000px){
 #workspace .side .side-settings{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;
  min-height:44px!important;height:44px!important;gap:0!important;padding:0!important;
 }
}


/* Endereços e horários de atendimento por local. */
.service-schedule-editor{display:grid;gap:14px;min-width:0}
.service-schedule-editor>p{margin:0;line-height:1.5}
.service-schedule-legacy{padding:12px 14px;border:1px solid #ded4ef;border-radius:10px;background:#f8f5ff;color:#43315e}
.service-location-list{display:grid;gap:12px;min-width:0}
.service-location-card{display:grid;gap:14px;min-width:0;padding:16px;border:1px solid #ded4ef;border-radius:14px;background:#fff}
.service-location-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.service-location-head strong{font-size:15px}
.service-location-remove{padding:7px 11px}
.service-location-remove:disabled{opacity:.45;cursor:not-allowed}
.service-location-card>label,.service-hours-fields label{display:grid;gap:6px;min-width:0;font-weight:650}
.service-location-card input[type=text],.service-hours-fields input{width:100%;min-height:42px;box-sizing:border-box}
.service-days{min-width:0;margin:0;padding:12px;border:1px solid #ded4ef;border-radius:11px}
.service-days legend{padding:0 6px;font-weight:750}
.service-day-options{display:flex;flex-wrap:wrap;gap:8px}
.service-day-option{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #e6def2;border-radius:9px;background:#faf8ff;font-size:13px;cursor:pointer}
.service-day-option input{width:auto!important;margin:0;accent-color:var(--store-accent,#7c3aed)}
.service-hours-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.service-location-add{justify-self:start;min-height:42px;border-color:var(--store-accent,#7c3aed);color:var(--store-accent,#7c3aed)}
body.pdv-night .service-schedule-legacy{background:#22252d;border-color:#393d49;color:#f4f4f8}
body.pdv-night .service-location-card{background:#22252d;border-color:#393d49;color:#f4f4f8}
body.pdv-night .service-days{border-color:#393d49}
body.pdv-night .service-day-option{background:#292c35;border-color:#393d49;color:#f4f4f8}
@media(max-width:640px){.service-location-card{padding:12px;gap:12px}.service-day-options{gap:6px}.service-day-option{padding:7px}.service-hours-fields{grid-template-columns:1fr}.service-location-head{align-items:flex-start}}


/* Opção de taxa definida ou combinada, exclusiva da homologação. */
.delivery-fee-settings{display:grid;gap:10px;max-width:620px}
.delivery-fee-settings>label{display:grid;gap:6px;font-weight:650}
.delivery-fee-settings select{width:100%;min-height:42px}
.delivery-fee-settings input:disabled{opacity:.65;cursor:not-allowed}
.delivery-fee-settings .small{margin:0;line-height:1.45}
body.pdv-night .delivery-fee-settings select{background:#22252d;color:#f4f4f8;border-color:#393d49}


/* Mantém cada dia e sua caixa de seleção na mesma linha no celular. */
#settingsForm .service-days .service-day-options{
 display:flex!important;
 flex-flow:row wrap!important;
 align-items:center!important;
 justify-content:flex-start!important;
 gap:8px!important;
}
#settingsForm .service-days .service-day-option{
 display:grid!important;
 grid-template-columns:18px max-content!important;
 grid-template-rows:auto!important;
 align-items:center!important;
 justify-content:start!important;
 gap:7px!important;
 width:max-content!important;
 max-width:100%!important;
 flex:0 0 auto!important;
 text-align:left!important;
}
#settingsForm .service-days .service-day-option input{
 display:block!important;
 grid-column:1!important;
 grid-row:1!important;
 width:18px!important;
 height:18px!important;
 min-height:18px!important;
 margin:0!important;
 justify-self:start!important;
 align-self:center!important;
}
#settingsForm .service-days .service-day-option span{
 display:block!important;
 grid-column:2!important;
 grid-row:1!important;
}
@media(max-width:640px){
 #settingsForm .service-days .service-day-options{gap:7px!important}
 #settingsForm .service-days .service-day-option{padding:7px 8px!important}
}


/* Homologação: fixa checkbox e nome do dia na mesma linha em Atendimento e entrega. */
#settingsForm .service-days .service-day-options{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 align-items:stretch!important;
 justify-items:stretch!important;
 gap:4px!important;
}
#settingsForm .service-days .service-day-options>label.service-day-option{
 box-sizing:border-box!important;
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:nowrap!important;
 align-items:center!important;
 justify-content:flex-start!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 padding:5px 8px!important;
 gap:10px!important;
 text-align:left!important;
}
#settingsForm .service-days .service-day-options>label.service-day-option>input[type=checkbox]{
 display:inline-block!important;
 position:static!important;
 float:none!important;
 flex:0 0 18px!important;
 width:18px!important;
 min-width:18px!important;
 max-width:18px!important;
 height:18px!important;
 min-height:18px!important;
 margin:0!important;
 padding:0!important;
 align-self:center!important;
}
#settingsForm .service-days .service-day-options>label.service-day-option>span{
 display:block!important;
 position:static!important;
 flex:0 1 auto!important;
 width:auto!important;
 max-width:100%!important;
 margin:0!important;
 text-align:left!important;
}


/* Pedidos online: dados diretos e centralizados. */
body #workspace #page article.online-order-card.online-order-formatted,
body #workspace #page article.online-order-card.online-order-formatted :is(h3,h4,p,div,span,a,b,strong,td,th){
 text-align:center!important;
}
body #workspace #page .online-order-formatted .online-order-head{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;
}
body #workspace #page .online-order-formatted .online-order-summary{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:5px 10px!important;
}
body #workspace #page .online-order-formatted .online-order-items-table th,
body #workspace #page .online-order-formatted .online-order-items-table td{
 text-align:center!important;vertical-align:middle!important;
}
body #workspace #page .online-order-formatted .online-order-payment-summary{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:0!important;
}
body #workspace #page .online-order-formatted .online-order-total{
 display:block!important;width:max-content!important;max-width:100%!important;margin:12px auto!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body #workspace #page .online-order-formatted :is(.online-order-payment-actions,.online-order-quick-actions){
 flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;
}

/* Pedidos formatados: sem cartões contornados dentro do pedido; contato junto ao cliente. */
body #workspace #page article.online-order-card.online-order-formatted > .online-order-section{
 border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;margin:0!important;padding:13px 8px!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:flex-start!important;gap:4px 10px!important;
 width:100%!important;margin:0!important;padding:0!important;text-align:left!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line > p{
 display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;
 width:auto!important;margin:0!important;padding:0!important;text-align:left!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line .online-order-customer-name{
 color:inherit!important;font-weight:800!important;overflow-wrap:anywhere!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line .online-order-customer-phone{
 gap:6px!important;white-space:nowrap!important;margin-left:auto!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line .online-order-phone{
 color:inherit!important;text-decoration:none!important;font-weight:650!important;
}
body #workspace #page .online-order-formatted .online-order-customer-line .online-order-whatsapp{
 margin:0!important;vertical-align:middle!important;
}
body #workspace #page .online-order-formatted .online-order-payment-method.is-pix{
 font-size:20px!important;font-weight:900!important;line-height:1.1!important;
}
@media(max-width:480px){
 body #workspace #page .online-order-formatted .online-order-customer-line{gap:4px 8px!important}
 body #workspace #page .online-order-formatted .online-order-customer-line .online-order-customer-name,
 body #workspace #page .online-order-formatted .online-order-customer-line .online-order-customer-phone{
  font-size:13px!important;
 }
}


/* Pedidos online: Item ocupa o espaço disponível; preço e total acompanham o conteúdo. */
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table{
 table-layout:auto!important;
}
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(1),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(1),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(3),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(3),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(4),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(4){
 width:1%!important;
}
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(2),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(2){
 width:auto!important;
}
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(1),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(1),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(3),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table td:nth-child(4),
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(4){
 white-space:nowrap!important;
}
body #workspace #page article.online-order-card.online-order-formatted .online-order-items-table th:nth-child(3){
 white-space:normal!important;overflow-wrap:anywhere!important;
}

/* Comandas dentro do painel do carrinho. */
body #workspace #page .pdv-comanda-toggle{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:38px!important;padding:7px 13px!important;border-radius:10px!important;
 border:1px solid var(--store-accent,#7c3aed)!important;
 background:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important;
 font-weight:850!important;white-space:nowrap!important;
}
body #workspace #page .pdv-comanda-toggle.is-active{box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 35%,transparent)!important}
body #workspace #page .comanda-cart-screen{
 display:flex!important;flex-direction:column!important;gap:10px!important;
 width:100%!important;min-width:0!important;max-height:calc(100vh - 310px)!important;
 overflow-y:auto!important;padding:4px 2px 12px!important;
}
body #workspace #page .comanda-cart-empty{
 min-height:220px!important;align-items:center!important;justify-content:center!important;
}
body #workspace #page .comanda-cart-toolbar{
 display:flex!important;justify-content:flex-end!important;align-items:center!important;
}
body #workspace #page .comanda-add-new,
body #workspace #page .comanda-add-item,
body #workspace #page .comanda-stock-add{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;width:38px!important;height:38px!important;padding:0!important;
 border:0!important;border-radius:11px!important;
 background:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important;
 font-size:24px!important;font-weight:900!important;line-height:1!important;
}
body #workspace #page .comanda-add-new{width:58px!important;height:58px!important;font-size:36px!important}
body #workspace #page .comanda-create-form{display:flex!important;width:100%!important;margin:0!important}
body #workspace #page .comanda-create-form input{
 width:100%!important;min-height:46px!important;margin:0!important;
}
body #workspace #page .comanda-hidden-submit{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body #workspace #page .comanda-note-card{
 display:flex!important;flex-direction:column!important;gap:10px!important;
 width:100%!important;min-width:0!important;padding:13px!important;
 border:0!important;border-radius:12px!important;background:#22252d!important;
 box-shadow:none!important;color:#f4f4f8!important;
}
body #workspace #page .comanda-note-head,
body #workspace #page .comanda-name-tools{
 display:flex!important;align-items:center!important;min-width:0!important;
}
body #workspace #page .comanda-note-head{justify-content:space-between!important;gap:8px!important}
body #workspace #page .comanda-name-tools{gap:8px!important;flex:1 1 auto!important}
body #workspace #page .comanda-client-name{
 min-width:0!important;overflow-wrap:anywhere!important;font-size:16px!important;font-weight:850!important;
}
body #workspace #page .comanda-close-button{
 flex:0 0 auto!important;min-height:36px!important;padding:7px 10px!important;border:0!important;
 border-radius:9px!important;background:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;font-size:11px!important;font-weight:900!important;
 white-space:nowrap!important;
}
body #workspace #page .comanda-close-button:disabled,
body #workspace #page .comanda-add-item:disabled{opacity:.45!important;cursor:not-allowed!important}
body #workspace #page .comanda-line-list{display:grid!important;gap:5px!important;min-width:0!important}
body #workspace #page .comanda-line{
 display:flex!important;align-items:baseline!important;justify-content:space-between!important;
 gap:10px!important;width:100%!important;min-width:0!important;margin:0!important;
}
body #workspace #page .comanda-line-name{min-width:0!important;overflow-wrap:anywhere!important}
body #workspace #page .comanda-line-price{flex:0 0 auto!important;white-space:nowrap!important}
body #workspace #page .comanda-total{
 align-self:flex-end!important;font-size:20px!important;font-weight:900!important;
 line-height:1.2!important;white-space:nowrap!important;
}
body #workspace #page .comanda-item-picker{
 display:flex!important;flex-direction:column!important;gap:8px!important;
 padding-top:8px!important;border-top:1px solid #393d49!important;
}
body #workspace #page .comanda-categories{
 display:flex!important;gap:6px!important;max-width:100%!important;
 overflow-x:auto!important;padding:2px 0 6px!important;
}
body #workspace #page .comanda-category{
 flex:0 0 auto!important;min-height:32px!important;padding:5px 10px!important;
 border:1px solid #464152!important;border-radius:20px!important;
 background:#2b2f39!important;color:#f4f4f8!important;font-size:12px!important;font-weight:750!important;
}
body #workspace #page .comanda-category.selected{
 background:var(--store-accent,#7c3aed)!important;color:var(--store-accent-ink,#fff)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}
body #workspace #page .comanda-stock-list{display:grid!important;gap:5px!important}
body #workspace #page .comanda-stock-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
 align-items:center!important;gap:8px!important;min-width:0!important;padding:5px 0!important;
 border-bottom:1px solid #393d49!important;
}
body #workspace #page .comanda-stock-name{min-width:0!important;overflow-wrap:anywhere!important}
body #workspace #page .comanda-stock-price{white-space:nowrap!important}
body #workspace #page .comanda-stock-add{width:30px!important;height:30px!important;font-size:20px!important}
body #workspace #page .comanda-no-stock{margin:0!important;color:#b6bdcf!important;font-size:13px!important}
body #workspace #page .comanda-payment-area{
 width:100%!important;padding-top:10px!important;border-top:1px solid #393d49!important;
}
body #workspace #page .comanda-payment-form{display:flex!important;flex-direction:column!important;gap:10px!important}
body #workspace #page .comanda-payment-form .pdv-payment-options{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
body #workspace #page .comanda-payment-form label{margin:6px 0!important}
body #workspace #page .comanda-payment-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body #workspace #page .comanda-payment-actions button{flex:1 1 140px!important}
@media(max-width:480px){
 body #workspace #page .comanda-note-head{align-items:flex-start!important}
 body #workspace #page .comanda-close-button{font-size:10px!important;padding:7px 8px!important}
 body #workspace #page .comanda-client-name{font-size:14px!important}
 body #workspace #page .comanda-cart-screen{max-height:calc(100vh - 275px)!important}
}


/* Comandas em cartões lado a lado e lançamento direto a partir do catálogo do PDV. */
body #workspace #page .comanda-cart-screen{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-content:start!important;align-items:start!important;gap:10px!important;
}
body #workspace #page .comanda-cart-empty{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;align-content:center!important}
body #workspace #page .comanda-cart-toolbar,
body #workspace #page .comanda-create-form{grid-column:1/-1!important}
body #workspace #page .comanda-note-card{
 box-sizing:border-box!important;min-width:0!important;min-height:190px!important;
 padding:12px!important;border:1px solid #3b3e4a!important;border-radius:18px!important;
 background:#22252d!important;box-shadow:none!important;
}
body #workspace #page .comanda-note-card.is-active{
 border:2px solid var(--store-accent,#7c3aed)!important;
 box-shadow:0 0 0 2px color-mix(in srgb,var(--store-accent,#7c3aed) 18%,transparent)!important;
}
body #workspace #page .comanda-note-card.is-paying{grid-column:1/-1!important}
body #workspace #page .comanda-note-head{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;
 gap:7px!important;min-width:0!important;
}
body #workspace #page input.comanda-client-name{
 box-sizing:border-box!important;flex:1 1 85px!important;min-width:0!important;width:100%!important;
 min-height:36px!important;margin:0!important;padding:4px 6px!important;border:0!important;border-bottom:1px solid #414450!important;
 border-radius:0!important;background:transparent!important;color:#f4f4f8!important;
 font-size:14px!important;font-weight:850!important;text-align:left!important;
}
body #workspace #page input.comanda-client-name:focus{outline:2px solid var(--store-accent,#7c3aed)!important;outline-offset:2px!important}
body #workspace #page .comanda-close-button{
 flex:0 0 auto!important;min-height:32px!important;padding:6px 8px!important;
 border-radius:9px!important;font-size:10px!important;
}
body #workspace #page .comanda-center-add-wrap{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:58px!important;
}
body #workspace #page .comanda-center-add{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:46px!important;height:46px!important;padding:0!important;border:1px solid var(--store-accent,#7c3aed)!important;
 border-radius:50%!important;background:color-mix(in srgb,var(--store-accent,#7c3aed) 20%,#22252d)!important;
 color:var(--store-accent-ink,#fff)!important;font-size:30px!important;font-weight:900!important;line-height:1!important;
}
body #workspace #page .comanda-center-add[aria-pressed="true"]{background:var(--store-accent,#7c3aed)!important}
body #workspace #page .comanda-center-add:disabled{opacity:.4!important;cursor:not-allowed!important}
body #workspace #page .comanda-active-hint{
 display:block!important;margin:-4px 0 3px!important;color:#d2c4ec!important;
 font-size:10px!important;line-height:1.35!important;text-align:center!important;
}
body #workspace #page .comanda-line-list{gap:4px!important}
body #workspace #page .comanda-line{gap:6px!important;font-size:11px!important}
body #workspace #page .comanda-line-price{font-size:11px!important}
body #workspace #page .comanda-total{margin-top:auto!important;font-size:17px!important}
body #workspace #page .comanda-catalog-active{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
 margin:0 0 10px!important;padding:9px 11px!important;border:1px solid var(--store-accent,#7c3aed)!important;
 border-radius:12px!important;background:color-mix(in srgb,var(--store-accent,#7c3aed) 18%,#22252d)!important;
 color:#f4f4f8!important;font-size:12px!important;
}
body #workspace #page .comanda-catalog-active strong{font-weight:900!important}
body #workspace #page .comanda-catalog-active button{
 flex:0 0 auto!important;min-height:30px!important;padding:5px 8px!important;border:0!important;
 border-radius:8px!important;background:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;font-size:10px!important;font-weight:850!important;
}
@media(max-width:420px){
 body #workspace #page .comanda-cart-screen{gap:7px!important;max-height:calc(100vh - 275px)!important}
 body #workspace #page .comanda-note-card{min-height:180px!important;padding:9px!important;border-radius:16px!important}
 body #workspace #page .comanda-close-button{font-size:9px!important;padding:6px!important}
 body #workspace #page input.comanda-client-name{font-size:12px!important}
 body #workspace #page .comanda-center-add{width:42px!important;height:42px!important}
}


/* Cards de comanda no modelo visual enviado. */
body #workspace #page .comanda-cart-screen{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 align-items:center!important;justify-content:flex-start!important;gap:12px!important;
 width:100%!important;min-width:0!important;min-height:280px!important;max-height:340px!important;
 overflow-x:auto!important;overflow-y:hidden!important;padding:10px!important;
 border-radius:16px!important;background:#f0f1f4!important;
}
body #workspace #page .comanda-cart-screen.comanda-cart-empty{
 justify-content:center!important;min-height:180px!important;max-height:220px!important;
}
body #workspace #page .comanda-note-card{
 box-sizing:border-box!important;display:flex!important;flex:0 0 215px!important;
 flex-direction:column!important;gap:0!important;width:215px!important;min-width:215px!important;
 height:260px!important;min-height:260px!important;padding:12px 10px!important;
 overflow:hidden!important;border:0!important;border-radius:24px!important;
 background:#ffeca0!important;box-shadow:none!important;color:#111!important;
}
body #workspace #page .comanda-note-card.is-active{border:0!important;box-shadow:none!important}
body #workspace #page .comanda-note-card.is-paying{
 flex-basis:320px!important;width:320px!important;min-width:320px!important;
 height:auto!important;min-height:260px!important;overflow:visible!important;
}
body #workspace #page .comanda-note-head{
 display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;
 align-items:center!important;justify-content:space-between!important;
 gap:6px!important;width:100%!important;min-width:0!important;margin:0 0 16px!important;
}
body #workspace #page input.comanda-client-name{
 box-sizing:border-box!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;
 min-height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:#101010!important;-webkit-text-fill-color:#101010!important;
 box-shadow:none!important;font-size:22px!important;font-weight:850!important;line-height:1.1!important;text-align:left!important;
}
body #workspace #page input.comanda-client-name:focus{
 outline:0!important;border:0!important;box-shadow:inset 0 -2px 0 #e04a35!important;
}
body #workspace #page .comanda-close-button{
 display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
 min-width:78px!important;min-height:25px!important;margin:0!important;padding:3px 10px!important;
 border:0!important;border-radius:999px!important;background:linear-gradient(90deg,#ff332c,#ff8143)!important;
 color:#101010!important;-webkit-text-fill-color:#101010!important;
 font-size:13px!important;font-weight:650!important;line-height:1!important;white-space:nowrap!important;
}
body #workspace #page .comanda-close-button:disabled{opacity:.45!important}
body #workspace #page .comanda-line-list{
 display:flex!important;flex:0 1 auto!important;flex-direction:column!important;gap:6px!important;
 width:100%!important;min-width:0!important;max-height:126px!important;overflow-y:auto!important;
}
body #workspace #page .comanda-line{
 display:flex!important;align-items:baseline!important;justify-content:space-between!important;
 gap:8px!important;width:100%!important;min-width:0!important;margin:0!important;
 color:#141414!important;font-size:17px!important;line-height:1.3!important;
}
body #workspace #page .comanda-line-name{
 min-width:0!important;overflow-wrap:anywhere!important;color:#141414!important;-webkit-text-fill-color:#141414!important;
}
body #workspace #page .comanda-line-price{
 flex:0 0 auto!important;white-space:nowrap!important;color:#141414!important;-webkit-text-fill-color:#141414!important;
 font-size:17px!important;font-weight:500!important;
}
body #workspace #page .comanda-center-add-wrap{
 display:flex!important;flex:0 0 36px!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:36px!important;margin:0!important;
}
body #workspace #page .comanda-center-add{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:42px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;
 border-radius:0!important;background:transparent!important;color:#000!important;-webkit-text-fill-color:#000!important;
 box-shadow:none!important;font-size:29px!important;font-weight:900!important;line-height:1!important;
}
body #workspace #page .comanda-center-add[aria-pressed="true"]{background:transparent!important;color:#000!important}
body #workspace #page .comanda-center-add:disabled{opacity:.4!important}
body #workspace #page .comanda-total{
 align-self:flex-end!important;margin-top:auto!important;padding:0!important;
 color:#050505!important;-webkit-text-fill-color:#050505!important;font-size:22px!important;
 font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;
}
body #workspace #page .comanda-add-new{
 display:inline-flex!important;flex:0 0 42px!important;align-items:center!important;justify-content:center!important;
 width:42px!important;min-width:42px!important;height:64px!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 color:#000!important;-webkit-text-fill-color:#000!important;font-size:42px!important;font-weight:750!important;line-height:1!important;
}
body #workspace #page .comanda-cart-empty .comanda-add-new{height:64px!important}
body #workspace #page .comanda-create-form.comanda-note-draft{
 box-sizing:border-box!important;display:flex!important;flex:0 0 215px!important;flex-direction:column!important;
 gap:0!important;width:215px!important;min-width:215px!important;height:260px!important;min-height:260px!important;
 margin:0!important;padding:12px 10px!important;border:0!important;border-radius:24px!important;
 background:var(--store-accent,#ffeca0)!important;color:var(--store-accent-ink,#111)!important;
}
body #workspace #page .comanda-create-form.comanda-note-draft input#comandaNameInput{
 box-sizing:border-box!important;flex:0 0 32px!important;width:100%!important;min-height:32px!important;
 margin:0 0 16px!important;padding:0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--store-accent-ink,#111) 28%,transparent)!important;
 border-radius:0!important;background:transparent!important;color:var(--store-accent-ink,#101010)!important;-webkit-text-fill-color:var(--store-accent-ink,#101010)!important;
 font-size:22px!important;font-weight:850!important;
}
body #workspace #page .comanda-create-form .comanda-draft-plus{
 color:var(--store-accent-ink,#000)!important;font-size:29px!important;font-weight:900!important;line-height:1!important;
}
body #workspace #page .comanda-cart-screen .comanda-hidden-submit{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body #workspace #page .comanda-catalog-active{
 background:#fff0ac!important;color:#111!important;border-color:#e4cd66!important;
}
body #workspace #page .comanda-catalog-active button{background:#ff5837!important;color:#111!important}
@media(max-width:480px){
 body #workspace #page .comanda-cart-screen{min-height:280px!important;max-height:310px!important;padding:8px!important;gap:10px!important}
 body #workspace #page .comanda-note-card,
 body #workspace #page .comanda-create-form.comanda-note-draft{flex-basis:215px!important;width:215px!important;min-width:215px!important;height:260px!important}
 body #workspace #page input.comanda-client-name{font-size:21px!important}
}


body #workspace #page .comanda-cart-screen.comanda-has-payment{
 align-items:flex-start!important;max-height:calc(100vh - 300px)!important;overflow-x:auto!important;overflow-y:auto!important;
}
body #workspace #page .comanda-cart-screen.comanda-has-payment .comanda-note-card.is-paying{
 height:auto!important;min-height:260px!important;max-height:none!important;overflow:visible!important;
}

/* Mensagem da comanda: destaque colorido apenas no nome. */
body #workspace #page .comanda-catalog-active{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
 gap:7px!important;width:max-content!important;max-width:100%!important;min-height:0!important;
 margin:0 0 10px!important;padding:4px 0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;color:inherit!important;font-size:13px!important;
}
body #workspace #page .comanda-catalog-active strong{
 display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
 margin:0!important;padding:5px 12px!important;border:1px solid var(--store-accent,#7c3aed)!important;
 border-radius:999px!important;background:var(--store-accent,#7c3aed)!important;
 color:var(--store-accent-ink,#fff)!important;-webkit-text-fill-color:var(--store-accent-ink,#fff)!important;
 font-weight:900!important;line-height:1.15!important;white-space:nowrap!important;
}

/* Quantidade dos itens e comandos da comanda. */
body #workspace #page .comanda-line{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
 align-items:center!important;justify-content:start!important;gap:5px!important;
 width:100%!important;min-width:0!important;margin:0!important;
 color:#141414!important;font-size:12px!important;line-height:1.25!important;
}
body #workspace #page .comanda-line-name{
 min-width:0!important;overflow-wrap:anywhere!important;color:#141414!important;
 -webkit-text-fill-color:#141414!important;font-size:12px!important;font-weight:650!important;line-height:1.25!important;
}
body #workspace #page .comanda-line-qty-controls{
 display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
 gap:2px!important;white-space:nowrap!important;
}
body #workspace #page .comanda-qty-button{
 display:inline-flex!important;flex:0 0 20px!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:20px!important;height:20px!important;min-height:20px!important;
 margin:0!important;padding:0!important;border:1px solid #d6c36d!important;border-radius:5px!important;
 background:#f5df83!important;color:#17130b!important;-webkit-text-fill-color:#17130b!important;
 box-shadow:none!important;font-size:13px!important;font-weight:900!important;line-height:1!important;
}
body #workspace #page .comanda-qty-value{
 display:inline-block!important;min-width:15px!important;text-align:center!important;
 color:#141414!important;-webkit-text-fill-color:#141414!important;font-size:11px!important;font-weight:800!important;
}
body #workspace #page .comanda-line-price{
 flex:0 0 auto!important;white-space:nowrap!important;color:#141414!important;
 -webkit-text-fill-color:#141414!important;font-size:12px!important;font-weight:650!important;
}


/* A aba Comandas tem catálogo próprio e não ocupa o carrinho do PDV. */
body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-two-panels{grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr)!important;align-items:start!important}
body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-comandas-panel{position:sticky!important;top:12px!important;min-width:0!important}
body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-comandas-panel .comanda-cart-screen{max-height:calc(100vh - 180px)!important}
@media(max-width:880px){body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-two-panels{grid-template-columns:minmax(0,1fr)!important}body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-comandas-panel{position:static!important}}


/* Comandas ocupa a aba inteira; o catálogo aparece apenas como seletor ao tocar no +. */
body #workspace #page .godzilla-pdv.pdv-comandas-page{display:block!important;width:100%!important;max-width:none!important}
body #workspace #page .godzilla-pdv.pdv-comandas-page .pdv-comandas-board{box-sizing:border-box!important;width:100%!important;min-height:calc(100vh - 120px)!important}
body #workspace #page .godzilla-pdv.pdv-comandas-page .comanda-cart-screen{width:100%!important;max-height:calc(100vh - 215px)!important}
body #workspace #page .comanda-picker-backdrop{box-sizing:border-box!important;position:fixed!important;inset:0!important;z-index:12000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:#000b!important}
body #workspace #page .comanda-product-picker{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:14px!important;width:min(1080px,96vw)!important;max-height:92vh!important;overflow:auto!important;padding:18px!important;border:1px solid #444654!important;border-radius:20px!important;background:#232630!important;color:#f6f3fb!important;box-shadow:0 24px 80px #0009!important}
body #workspace #page .comanda-picker-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
body #workspace #page .comanda-picker-head h2{margin:0 0 8px!important;font-size:22px!important}
body #workspace #page .comanda-picker-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid #525460!important;border-radius:12px!important;background:#2d303a!important;color:#fff!important;font-size:28px!important;line-height:1!important}
body #workspace #page .comanda-product-picker .pdv-products{max-height:58vh!important;overflow:auto!important;align-content:start!important}
body #workspace #page .comanda-product-picker .comanda-catalog-active{margin:0!important}
body.pdv-night #workspace #page .comanda-product-picker{background:#1e2029!important;border-color:#424552!important}
@media(max-width:700px){
 body #workspace #page .comanda-picker-backdrop{align-items:flex-end!important;padding:0!important}
 body #workspace #page .comanda-product-picker{width:100vw!important;max-width:none!important;max-height:92dvh!important;padding:14px 12px calc(14px + env(safe-area-inset-bottom))!important;border-radius:20px 20px 0 0!important}
 body #workspace #page .comanda-product-picker .pdv-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:55dvh!important;gap:7px!important}
 body #workspace #page .comanda-product-picker .pdv-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body #workspace #page .comanda-picker-head h2{font-size:18px!important}
}

#workspace .inventory-toolbar-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin-left:auto}
#workspace .inventory-toolbar-actions>button{margin:0}
@media(max-width:720px){#workspace .inventory-toolbar-actions{width:100%;margin-left:0;justify-content:flex-start;gap:6px}}

#workspace .inventory-view-bar{justify-content:flex-start;flex-wrap:wrap;gap:14px}
#workspace .inventory-toolbar-actions{justify-content:flex-start;gap:14px;margin:0;width:auto}
@media(max-width:720px){#workspace .inventory-view-bar{gap:10px}#workspace .inventory-toolbar-actions{gap:10px;margin:0;width:auto}}

#workspace .inventory-category-controls{display:block;width:100%;min-width:0}
#workspace .inventory-category-controls .inventory-category-grid{width:100%;min-width:0}
#workspace .inventory-category-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
#workspace .inventory-category-heading .inventory-view-toggle{margin-left:auto;flex:0 0 auto}
@media(max-width:420px){#workspace .inventory-category-heading{gap:6px}#workspace .inventory-view-button{min-width:0;padding:8px 10px}}

/* Prévia de importação no modo noite: manter cabeçalho e células no tema escuro. */
body.pdv-night #workspace #page .stock-import-panel .table-wrap{
 background:#22252d!important;
 border-color:#393d49!important;
}
body.pdv-night #workspace #page .stock-import-panel table{
 background:#22252d!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
}
body.pdv-night #workspace #page .stock-import-panel table th{
 background:#2b2f39!important;
 color:#dce1ed!important;
 border-color:#393d49!important;
 -webkit-text-fill-color:#dce1ed!important;
}
body.pdv-night #workspace #page .stock-import-panel table td{
 background:#22252d!important;
 color:#f4f4f8!important;
 border-color:#393d49!important;
 -webkit-text-fill-color:#f4f4f8!important;
}

/* Venda online: opção compacta em formato de chave liga/desliga. */
#workspace #page #productForm .menu-price-controls{
 padding:8px 10px!important;
}
#workspace #page #productForm .menu-price-controls .online-sale-toggle-row{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:12px!important;
 min-height:30px!important;
}
#workspace #page #productForm .menu-price-controls .online-sale-question{
 display:inline-flex!important;
 align-items:center!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 background:transparent!important;
 font-size:13px!important;
 line-height:1.3!important;
}
#workspace #page #productForm .online-sale-toggle{
 display:inline-flex!important;
 align-items:center!important;
 gap:8px!important;
 margin:0!important;
 cursor:pointer!important;
 user-select:none;
 white-space:nowrap;
}
#workspace #page #productForm .online-sale-toggle input[type="checkbox"]{
 appearance:none!important;
 -webkit-appearance:none!important;
 box-sizing:border-box!important;
 display:inline-block!important;
 position:relative!important;
 flex:0 0 40px!important;
 width:40px!important;
 min-width:40px!important;
 height:24px!important;
 padding:0!important;
 margin:0!important;
 border:1px solid #8b91a0!important;
 border-radius:999px!important;
 background:#686e7b!important;
 cursor:pointer!important;
 transition:background .16s ease,border-color .16s ease!important;
}
#workspace #page #productForm .online-sale-toggle input[type="checkbox"]::before{
 content:"";
 position:absolute;
 top:2px;
 left:2px;
 width:18px;
 height:18px;
 border-radius:50%;
 background:#fff;
 transition:transform .16s ease;
}
#workspace #page #productForm .online-sale-toggle input[type="checkbox"]:checked{
 background:var(--store-accent,#7c3aed)!important;
 border-color:var(--store-accent,#7c3aed)!important;
}
#workspace #page #productForm .online-sale-toggle input[type="checkbox"]:checked::before{
 transform:translateX(16px);
}
#workspace #page #productForm .online-sale-toggle input[type="checkbox"]:focus-visible{
 outline:2px solid var(--store-accent,#7c3aed)!important;
 outline-offset:3px!important;
}
#workspace #page #productForm .online-sale-toggle-state{
 color:inherit!important;
 font-size:12px!important;
 font-weight:750!important;
}
#workspace #page #productForm .menu-price-controls .online-sale-price{
 padding:7px 9px!important;
 margin:6px 0 0!important;
}
#workspace #page #productForm .menu-price-controls .online-sale-price label{
 margin:0 0 6px!important;
}


/* O bloco de entregas mantém o conteúdo sem o cartão branco ao redor. */
body #workspace #page .orders-premium{
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 margin:16px 0!important;
 background:transparent!important;
 background-image:none!important;
 box-shadow:none!important;
 color:var(--text,#f4f4f8)!important;
}
body.pdv-night #workspace #page .orders-premium strong{color:#f4f4f8!important}
body.pdv-night #workspace #page .orders-premium p{color:#b6bdcf!important}
body:not(.pdv-night) #workspace #page .orders-premium{color:#293653!important}
body:not(.pdv-night) #workspace #page .orders-premium p{color:#68758f!important}
