:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;--ivory:#f3eddd;--sage:#a9b08a;--eucalyptus:#657b59;--forest:#263e2a;--ink-base:#1e2421;--bg:#f3eddd;--surface:#fffdf7;--surface-2:#f7f3e8;--fill:#e9e3d0;--line:#dfd8c3;--ink:#1e2421;--muted:#5b6459;--faint:#a0a593;--accent:#657b59;--accent-strong:#263e2a;--accent-ink:#fff;--accent-soft:#e8ebda;--side:#f7f3e8e0;--side-hi:#263e2a12;--ok:#2f6b3a;--ok-soft:#e1ecdc;--warn:#8a5a00;--warn-soft:#f6ebd2;--bad:#b4232f;--bad-soft:#f8e4e3;--info:#35607f;--info-soft:#e3ecf0;--f-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;--f-body:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;--r:12px;--r-lg:20px;--shadow:0 1px 2px #1e24210d, 0 6px 20px #1e24210f;--shadow-lg:0 2px 6px #1e242112, 0 24px 60px #1e242129;--focus:0 0 0 3px #657b5959;--gold:linear-gradient(160deg,#7a9169,#3e5a3f)}*{box-sizing:border-box}[hidden]{display:none!important}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}body{background:var(--bg);color:var(--ink);font-family:var(--f-body);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--accent-strong)}.app{grid-template-columns:232px minmax(0,1fr);min-height:100dvh;display:grid}.side{background:var(--side);-webkit-backdrop-filter:saturate(180%)blur(20px);border-right:1px solid var(--line);padding:20px 12px;padding-left:max(12px, env(safe-area-inset-left,0px));flex-direction:column;gap:16px;height:100dvh;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:0 8px;display:flex}.brand img{flex:none;width:46px;height:46px}.brand b{font-family:var(--f-display);letter-spacing:.04em;font-size:16px;font-weight:700;display:block}.brand span{color:var(--muted);font-size:12px}.nav{flex-direction:column;gap:1px;display:flex}.nav a{all:unset;cursor:pointer;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;font-size:13.5px;font-weight:500;display:flex}.nav a svg{width:18px;height:18px;color:var(--accent);flex:none}.nav a:hover{background:var(--side-hi)}.nav a[aria-current=page]{background:var(--accent);color:#fff}.nav a[aria-current=page] svg{color:#fff}.nav a:focus-visible{box-shadow:var(--focus)}.side-foot{flex-direction:column;gap:8px;margin-top:auto;font-size:12.5px;display:flex}.acct{background:var(--surface);box-shadow:0 0 0 1px var(--line);border-radius:12px;align-items:center;gap:10px;padding:8px;display:flex}.acct-av{background:var(--gold);color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.acct-tx{flex:1;min-width:0}.acct-tx b{white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.acct-tx small{color:var(--muted)}main{min-width:0;padding:28px 34px 56px;padding-right:max(34px, env(safe-area-inset-right,0px));flex-direction:column;gap:20px;width:100%;max-width:1440px;display:flex}.head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.head h1{font-family:var(--f-display);letter-spacing:-.02em;margin:0;font-size:30px;font-weight:700}.head p{color:var(--muted);margin:4px 0 0;font-size:14.5px}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar,.tabbar{display:none}@media (width<=860px){.app{grid-template-columns:minmax(0,1fr)}.side{display:none}.topbar{z-index:30;padding:10px 16px;padding-top:max(10px, env(safe-area-inset-top,0px));background:var(--side);-webkit-backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--line);align-items:center;gap:10px;display:flex;position:sticky;top:0}.topbar img{width:34px;height:34px}.topbar b{font-family:var(--f-display);letter-spacing:.04em;flex:1;font-size:16px}.topbar .acct-av{cursor:pointer;border:0;width:30px;height:30px}main{padding:18px 16px calc(96px + env(safe-area-inset-bottom,0px))}.head h1{font-size:24px}.tabbar{z-index:40;-webkit-backdrop-filter:saturate(180%)blur(20px);border-top:1px solid var(--line);padding:6px 6px max(6px, env(safe-area-inset-bottom,0px));background:#f7f3e8f0;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{all:unset;cursor:pointer;color:var(--muted);border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:4px 0;font-size:10.5px;font-weight:500;display:flex}.tabbar a svg{width:22px;height:22px}.tabbar a[aria-current=page]{color:var(--accent-strong)}.tabbar a.scan{color:#fff}.tabbar a.scan span.ic{background:var(--gold);border-radius:50%;place-items:center;width:46px;height:46px;margin-top:-18px;display:grid;box-shadow:0 6px 18px #263e2a59}.tabbar a.scan span.lb{color:var(--accent-strong)}}.btn{background:var(--surface);box-shadow:0 0 0 1px var(--line),0 1px 2px #0000000a;cursor:pointer;white-space:nowrap;color:inherit;border:0;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:8px 15px;font-weight:500;text-decoration:none;transition:transform .12s,background .12s;display:inline-flex}.btn:hover{background:var(--fill)}.btn:active{transform:scale(.97)}.btn:focus-visible{box-shadow:var(--focus);outline:none}.btn.primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 1px 2px #263e2a40}.btn.primary:hover{background:var(--accent-strong)}.btn.gold{background:var(--gold);color:#fff;box-shadow:0 2px 10px #263e2a40}.btn.danger{color:var(--bad);background:var(--bad-soft);box-shadow:none}.btn.ghost{box-shadow:none;color:var(--accent-strong);background:0 0}.btn.ghost:hover{background:var(--accent-soft)}.btn.sm{padding:5px 11px;font-size:12.5px}.btn svg{width:16px;height:16px}.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}.iconbtn{background:var(--fill);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.search{background:var(--surface);min-width:0;box-shadow:0 0 0 1px var(--line);border:0;border-radius:11px;flex:220px;padding:10px 14px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;box-shadow:var(--focus)!important;background:var(--surface)!important}.sel{background:var(--surface);box-shadow:0 0 0 1px var(--line);border:0;border-radius:11px;padding:9px 12px}.seg{background:var(--fill);border-radius:11px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.seg button{cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.seg button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 3px #0000001a}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field.wide{grid-column:1/-1}.field label{color:var(--muted);font-size:12px;font-weight:500}.field input,.field select,.field textarea{background:var(--fill);border:0;border-radius:10px;width:100%;padding:9px 11px;font-size:16px}@media (width>=861px){.field input,.field select,.field textarea{font-size:14px}}.field textarea{resize:vertical;min-height:70px}.field .hint{color:var(--muted);font-size:11.5px}.row-in{align-items:center;gap:8px;display:flex}.row-in input{flex:1;min-width:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;display:grid}@media (width<=560px){.form-grid{grid-template-columns:minmax(0,1fr)}}.kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;display:grid}.kpi{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;gap:3px;min-width:0;padding:16px 18px;display:flex;container-type:inline-size}.kpi .lbl{color:var(--muted);font-size:12.5px;font-weight:500}.kpi .val{font-family:var(--f-display);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-size:clamp(18px,13cqi,27px);font-weight:700;overflow:hidden}.kpi .sub{color:var(--muted);font-size:12px}.kpi.hero{background:var(--gold);color:#fff}.kpi.hero .lbl,.kpi.hero .sub{color:#ffffffe6}.kpi.click{cursor:pointer}@media (width<=560px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:13px 14px}}.up{color:var(--ok)}.down{color:var(--bad)}.warnc{color:var(--warn)}.grid2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (width<=1100px){.grid2{grid-template-columns:minmax(0,1fr)}}.panel{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;gap:12px;min-width:0;padding:18px 20px;display:flex}.panel h2{font-family:var(--f-display);margin:0;font-size:16.5px;font-weight:600}.panel .ph{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.muted{color:var(--muted)}.empty{color:var(--muted);text-align:center;padding:18px 0}.srow{grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:13.5px;display:grid}.srow b{text-align:right;font-variant-numeric:tabular-nums}.bar{background:var(--fill);border-radius:999px;height:8px;overflow:hidden}.bar i{background:var(--accent);border-radius:999px;height:100%;display:block}.list{flex-direction:column;display:flex}.li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 0;display:flex}.li:first-child{border-top:0}.li.click{cursor:pointer}.li .t{min-width:0}.li .t b{white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.li .t small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;display:block;overflow:hidden}.li .r{text-align:right;font-variant-numeric:tabular-nums;flex:none}.chart{align-items:flex-end;gap:3px;height:160px;padding-top:8px;display:flex}.chart .d{flex:1;align-items:flex-end;gap:1px;min-width:0;height:100%;display:flex}.chart .d i{border-radius:3px 3px 0 0;flex:1;min-height:1px}.chart .d i.v{background:var(--accent)}.chart .d i.g{background:#a9b08a}.legend{color:var(--muted);gap:14px;font-size:12px;display:flex}.legend i{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.tablewrap{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:#263e2a;white-space:nowrap;background:#ece6d4;border-bottom:1.5px solid #d3ccb5;padding:11px 14px;font-size:12px;font-weight:650}td{border-bottom:1px solid var(--line);vertical-align:middle;padding:10px 14px}tbody tr:nth-child(2n) td{background:#faf7ee}tr:last-child td{border-bottom:0}tbody tr[data-id]{cursor:pointer}tbody tr[data-id]:hover td{background:#eef1e3}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}td.mono{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12.5px}td b{font-weight:600}.pill{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.s-ok{color:#2e6b47;background:#e3f0e7}.s-warn{color:#7a5f14;background:#f5edd3}.s-bad{color:#953a3a;background:#f5e1e1}.s-neu{color:#5c5c62;background:#ececef}.s-info{color:#355d8c;background:#e2eaf4}.cards{flex-direction:column;gap:10px;display:none}.pcard{background:var(--surface);box-shadow:var(--shadow);cursor:pointer;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 14px;display:grid}.pcard b{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.pcard small{color:var(--muted);font-size:12px}.pcard .r{text-align:right;font-variant-numeric:tabular-nums}@media (width<=860px){.tablewrap.inv{display:none}.cards{display:flex}}.scrim{-webkit-backdrop-filter:blur(6px);padding:max(28px, env(safe-area-inset-top,0px)) 16px 28px;z-index:50;background:#1e242152;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);width:min(720px,100%);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.modal.narrow{width:min(440px,100%)}.modal header{justify-content:space-between;align-items:center;gap:8px;padding:18px 22px 6px;display:flex}.modal header h3{font-family:var(--f-display);margin:0;font-size:20px}.modal .body{flex-direction:column;gap:16px;padding:12px 22px 18px;display:flex}.modal footer{background:var(--surface-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:14px 22px;display:flex}.modal footer .r{gap:8px;margin-left:auto;display:flex}@media (width<=560px){.scrim{align-items:flex-end;padding:0}.modal{border-radius:22px 22px 0 0;max-height:94dvh;overflow-y:auto}.modal header,.modal .body,.modal footer{padding-left:16px;padding-right:16px}.modal footer{padding-bottom:max(14px, env(safe-area-inset-bottom,0px))}}.pstats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.pstats div{background:var(--surface-2);border-radius:14px;padding:10px 12px}.pstats small{color:var(--muted);font-size:11.5px;display:block}.pstats b{font-family:var(--f-display);font-variant-numeric:tabular-nums;font-size:18px}@media (width<=560px){.pstats{grid-template-columns:repeat(2,minmax(0,1fr))}}.mkt{background:var(--accent-soft);border-radius:16px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.mkt h4{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.mkt h4 svg{width:18px;height:18px;color:var(--accent-strong);flex:none}.tablewrap.inv table{min-width:900px}.tablewrap.inv td:first-child{min-width:220px}.mkt .range{background:linear-gradient(90deg,#d5dac0,#657b59);border-radius:999px;height:10px;position:relative}.mkt .range i{background:var(--ink);border-radius:2px;width:4px;height:18px;position:absolute;top:-4px;transform:translate(-50%)}.mkt .range-l{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:12px;display:flex}.mkt .li{border-top-color:#0000000f}.spin{border:2px solid;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.esc-scrim{z-index:1000}.modal.esc{gap:12px;max-width:460px;padding-bottom:16px;display:grid}.modal.esc>:not(header){margin:0 16px}.esc-cam{aspect-ratio:4/3;background:#000;border-radius:14px;max-width:100%;position:relative;overflow:hidden}.esc-cam video{object-fit:cover;width:100%;height:100%;display:block}.esc-mira{border:3px solid #ffffffe6;border-radius:12px;position:absolute;inset:28% 12%;box-shadow:0 0 0 999px #00000059}.esc-msg{margin:0}.esc-man{gap:8px;display:flex}.esc-man input{background:var(--fill);border:0;border-radius:10px;flex:1;min-width:0;padding:9px 11px;font-size:16px}.hint{color:var(--muted);font-size:13px}.toast{left:50%;bottom:max(24px, calc(env(safe-area-inset-bottom,0px) + 90px));color:#fff;z-index:1100;max-width:calc(100% - 32px);box-shadow:var(--shadow-lg);background:#1e2421f0;border-radius:999px;padding:11px 18px;font-weight:500;position:fixed;transform:translate(-50%)}@media (width>=861px){.toast{bottom:28px}}.auth{background:var(--bg);place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-card{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);text-align:center;flex-direction:column;align-items:center;gap:12px;width:min(400px,100%);padding:18px 26px 30px;display:flex}.auth-card h1{font-family:var(--f-display);letter-spacing:.02em;margin:0;font-size:24px}.auth-card p{margin:0}.auth-card .btn{width:100%}.auth-card .warnline{color:var(--bad)}.auth-card .warnline:empty{display:none}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.thumb{object-fit:cover;background:var(--fill);border-radius:10px;flex:none;width:40px;height:40px}.thumb.ph{color:var(--accent-strong);background:var(--accent-soft);place-items:center;font-size:15px;font-weight:700;display:grid}.pcell{align-items:center;gap:10px;min-width:0;display:flex}.pcard{grid-template-columns:auto minmax(0,1fr) auto}.pcard .pc-img{grid-row:1/3;align-self:center;width:48px;height:48px}.gal-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.gal-it{aspect-ratio:1;background:var(--fill);border-radius:12px;margin:0;position:relative;overflow:hidden}.gal-img{all:unset;cursor:zoom-in;width:100%;height:100%;display:block}.gal-img:focus-visible{box-shadow:inset 0 0 0 3px var(--accent)}.gal-img img{object-fit:cover;width:100%;height:100%;display:block}.gal-tag{color:#fff;pointer-events:none;background:#0009;border-radius:999px;padding:2px 7px;font-size:10.5px;font-weight:600;position:absolute;bottom:6px;left:6px}.gal-acts{gap:4px;display:flex;position:absolute;top:5px;right:5px}.gal-acts button{color:#fff;cursor:pointer;background:#0000008c;border:0;border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;display:grid}.gal-acts button:hover{background:#000c}.gal-load{color:var(--accent-strong);place-items:center;display:grid}.gal-add{aspect-ratio:1;color:var(--accent-strong);cursor:pointer;text-align:center;border:2px dashed #c3c9aa;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px;font-size:12.5px;font-weight:600;display:flex}.gal-add:hover,.gal-add:focus-visible{background:var(--accent-soft);outline:none}.gal-add svg{width:22px;height:22px}.visor{z-index:1200;overscroll-behavior:contain;background:#0a0a0aeb;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}.visor img{width:auto;max-width:calc(100vw - 32px);height:auto;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));object-fit:contain;-webkit-user-select:none;user-select:none;border-radius:8px;display:block}@media (width>=800px){.visor img{max-width:calc(100vw - 140px)}}.visor .iconbtn{color:#fff;background:#ffffff29;width:42px;height:42px;font-size:22px;position:absolute}.visor .v-x{top:max(14px, env(safe-area-inset-top,0px));font-size:16px;right:14px}.visor .v-prev{top:50%;left:12px;transform:translateY(-50%)}.visor .v-next{top:50%;right:12px;transform:translateY(-50%)}.visor .v-n{bottom:max(16px, env(safe-area-inset-bottom,0px));color:#fff;font-size:13px;position:absolute;left:50%;transform:translate(-50%)}.caja{grid-template-columns:minmax(0,1fr) minmax(360px,440px);align-items:start;gap:16px;display:grid}.cj-add .search{box-shadow:0 0 0 1px var(--line);font-size:16px}.cj-res{all:unset;box-sizing:border-box;cursor:pointer;border-top:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:9px 8px;display:flex}.cj-res:first-child{border-top:0}.cj-res:hover,.cj-res:focus-visible{background:#eef1e3}.cj-res .t{min-width:0}.cj-tip{padding:8px 0}.cj-ticket{position:sticky;top:20px}.cj-items{flex-direction:column;max-height:42vh;margin:0 -6px;padding:0 6px;display:flex;overflow-y:auto}.cj-it{border-top:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto 24px;align-items:center;gap:6px 10px;padding:9px 0;display:grid}.cj-it:first-child{border-top:0}.cj-it.flash{animation:.9s flash}@keyframes flash{0%{background:var(--accent-soft)}to{background:0 0}}.cj-it-n{flex-direction:column;gap:2px;min-width:0;display:flex}.cj-it-n b{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.cj-pu{color:var(--muted);align-items:center;font-size:12.5px;display:inline-flex}.cj-pu input{width:80px;color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:6px;padding:1px 3px;font-size:12.5px}.cj-pu input:hover,.cj-pu input:focus{background:var(--fill);color:var(--ink)}.cj-qty{background:var(--fill);border-radius:999px;align-items:center;display:flex}.cj-qty button{cursor:pointer;width:30px;height:30px;color:var(--accent-strong);background:0 0;border:0;border-radius:50%;font-size:17px;font-weight:600}.cj-qty button:hover{background:#0000000f}.cj-qty input{text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;width:38px;padding:0;font-weight:600}.cj-lt{font-variant-numeric:tabular-nums;text-align:right;min-width:74px}.cj-x{color:var(--faint);cursor:pointer;background:0 0;border:0;border-radius:50%;width:24px;height:24px;font-size:13px}.cj-x:hover{color:var(--bad);background:var(--bad-soft)}.cj-sum{border-top:1.5px dashed var(--line);flex-direction:column;gap:4px;padding-top:10px;display:flex}.cj-total{font-family:var(--f-display);justify-content:space-between;align-items:baseline;display:flex}.cj-total span{font-size:16px;font-weight:600}.cj-total small{color:var(--muted);margin-left:4px;font-size:12.5px;font-weight:400}.cj-total b{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:30px}.cj-cobrar{width:100%;padding:13px;font-size:16px;font-weight:600}.cp-row{font-variant-numeric:tabular-nums;justify-content:space-between;gap:10px;display:flex}@media (width<=1180px){.caja{grid-template-columns:minmax(0,1fr)}.cj-ticket{position:static}.cj-items{max-height:none}}@media (width<=860px){.hide-sm{display:none}.cj-cobrar:not(:disabled){z-index:5;bottom:calc(76px + env(safe-area-inset-bottom,0px));position:sticky;box-shadow:0 8px 24px #263e2a4d}}.cp-modal .body{gap:12px}.cp-prev{background:#e9e3d0;border-radius:14px;justify-content:center;max-height:60vh;padding:14px;display:flex;overflow:auto}.cp{color:#000;background:#fff;flex-direction:column;gap:6px;padding:14px 12px;font:12px/1.4 ui-monospace,SF Mono,Menlo,Consolas,monospace;display:flex;box-shadow:0 1px 4px #0000001f}.cp-ticket{width:72mm;max-width:100%}.cp-carta{width:100%;font-size:11.5px;font-family:var(--f-body)}.cp-head{text-align:center;flex-direction:column;gap:1px;display:flex}.cp-nom{letter-spacing:.03em;text-transform:uppercase;font-size:15px}.cp-doc{border:1.5px solid #000;flex-direction:column;align-items:center;margin:4px 12%;padding:4px;display:flex}.cp-doc b{letter-spacing:.1em;font-size:14px}.cp-carta .cp-doc{margin:4px 30%}.cp-aviso{text-align:center;font-size:9.5px}.cp-cli{border-top:1px dashed #000;padding-top:4px}.cp-items{border-collapse:collapse;border-top:1px dashed #000;border-bottom:1px dashed #000;width:100%}.cp-items th,.cp-items td{font-size:inherit;color:#000;vertical-align:top;white-space:normal;border:0;padding:3px 2px;background:0 0!important}.cp-items th{border-bottom:1px dashed #000;font-weight:700}.cp-items .n{text-align:right;white-space:nowrap}.cp-items small{font-size:10.5px}.cp-tot{flex-direction:column;gap:1px;display:flex}.cp-big{border-top:1px solid #000;margin-top:2px;padding-top:3px;font-size:15px;font-weight:700}.cp-small{text-align:center;font-size:10.5px}.cp-pago{border-top:1px dashed #000;padding-top:4px}.cp-pie{text-align:center;border-top:1px dashed #000;margin-top:2px;padding-top:6px}#print-root{display:none}@media print{html,body{background:#fff!important}body>:not(#print-root){display:none!important}#print-root{display:block}#print-root .cp{box-shadow:none;width:100%;padding:0}#print-root .cp-ticket{width:74mm}}@media (width<=560px){.cj-it{grid-template-columns:auto minmax(0,1fr) 24px;row-gap:6px}.cj-it-n{grid-area:1/1/auto/3}.cj-it-n b{white-space:normal}.cj-x{grid-area:1/3}.cj-qty{grid-area:2/1}.cj-lt{grid-area:2/2/auto/4}}.rec{background:var(--surface);border-radius:12px;flex-direction:column;gap:6px;padding:12px 14px;display:flex;box-shadow:0 0 0 1.5px #a9b08a}.rec-h{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.rec-h span{font-weight:600}.rec-h b{font-family:var(--f-display);color:var(--accent-strong);font-variant-numeric:tabular-nums;font-size:22px}.rec p{color:var(--muted);margin:0;font-size:13px}.rec-f{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.mkt-det summary{cursor:pointer;color:var(--accent-strong);padding:2px 0;font-size:13px;font-weight:600}.stock-box{background:var(--surface-2);border-radius:14px;gap:10px;padding:12px 14px}.stock-act{justify-content:space-between;align-items:baseline;display:flex}.stock-act span{font-weight:600}.stock-act b{font-family:var(--f-display);font-size:20px}.stock-act small{color:var(--muted);font-size:13px;font-weight:400}.stock-box .field input{background:var(--surface)}.prog{background:var(--surface);border-radius:12px;flex-direction:column;gap:4px;padding:11px 13px;display:flex;box-shadow:0 0 0 1px #d3d8c0}.prog-h{color:var(--accent-strong);align-items:center;gap:9px;display:flex}.prog-h b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.prog-t{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}.prog small{font-size:12px}.banner{border-radius:var(--r-lg);background:var(--warn-soft);color:#6b4100;align-items:center;gap:10px;padding:12px 16px;text-decoration:none;display:flex}.banner svg{flex:none;width:18px;height:18px}.banner span:nth-child(2){flex:1}.er{border-top:1px solid var(--line);padding:4px 0}.er:first-child{border-top:0}.er summary{cursor:pointer;align-items:center;gap:10px;padding:8px 0;list-style:none;display:flex}.er summary::-webkit-details-marker{display:none}.er-m{flex-direction:column;flex:1;min-width:0;display:flex}.er-m b{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.er-m small{color:var(--muted);font-size:12px}.er-ok{opacity:.6}.er pre{background:var(--surface-2);white-space:pre-wrap;word-break:break-word;border-radius:10px;max-height:260px;margin:6px 0;padding:10px;font-size:11.5px;overflow:auto}@media (width<=560px){.er summary{flex-wrap:wrap}.er-m{flex-basis:calc(100% - 80px)}}.esc-mira i{background:#e83a3ad9;height:2px;animation:1.6s ease-in-out infinite esc-linea;position:absolute;top:50%;left:6%;right:6%;box-shadow:0 0 8px #e83a3acc}@keyframes esc-linea{50%{top:30%}}.esc-luz{cursor:pointer;background:#00000080;border:0;border-radius:50%;width:40px;height:40px;font-size:18px;position:absolute;bottom:10px;right:10px}.esc-luz[aria-pressed=true]{background:#f5c542}.esc-cam video{cursor:pointer}@media (prefers-reduced-motion:reduce){.esc-mira i{animation:none}}.pv-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;display:grid}.pv{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.pv-h{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.pv-h b{font-size:15px}.pv-d{color:var(--muted);flex-direction:column;gap:2px;font-size:13px;display:flex}.pv-a{flex-wrap:wrap;gap:6px;margin-top:auto;display:flex}.tag{color:var(--muted);background:var(--fill);white-space:nowrap;border-radius:6px;padding:1px 7px;font-size:11px;font-weight:600}.menu-list{flex-direction:column;gap:4px;display:flex}.menu-list a,.menu-list button{all:unset;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:12px 10px;font-weight:500;display:flex}.menu-list a:hover,.menu-list button:hover{background:var(--fill)}.menu-list svg{width:18px;height:18px;color:var(--accent)}.menu-list button{color:var(--bad);background:var(--bad-soft);justify-content:center;margin-top:6px}.chk{background:var(--surface-2);box-shadow:0 0 0 1px var(--line);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.chk input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:2px 0 0}.chk span{flex-direction:column;gap:1px;display:flex}.chk small{color:var(--muted);font-size:12.5px}.form-grid .chk.wide{grid-column:1/-1}.tip{z-index:1300;background:var(--forest,#263e2a);color:#fff;pointer-events:none;opacity:0;border-radius:10px;max-width:280px;padding:8px 11px;font-size:13px;line-height:1.45;transition:opacity .12s,transform .12s;position:fixed;transform:translateY(3px);box-shadow:0 6px 18px #1e242138}.tip.on{opacity:1;transform:none}.inf{background:var(--accent-soft);width:17px;height:17px;color:var(--accent-strong);vertical-align:1px;cursor:help;border:0;border-radius:50%;flex:none;place-items:center;margin-left:5px;padding:0;font:italic 700 11px/1 Georgia,Times New Roman,serif;display:inline-grid;position:relative}.inf:after{content:"";position:absolute;inset:-8px}.inf:hover,.inf:focus-visible{background:var(--accent);color:#fff;outline:none}.kpi.hero .inf{color:#fff;background:#ffffff40}.ayuda{right:max(16px, env(safe-area-inset-right,0px));bottom:max(16px, calc(env(safe-area-inset-bottom,0px) + 12px));z-index:70;position:fixed}.ayuda-btn{background:var(--surface);width:42px;height:42px;color:var(--accent-strong);cursor:pointer;box-shadow:0 4px 14px #1e242129,0 0 0 1px var(--line);border:0;border-radius:50%;font-size:19px;font-weight:700}.ayuda-btn:hover,.ayuda-btn[aria-expanded=true]{background:var(--accent);color:#fff}.ayuda-btn:focus-visible{box-shadow:var(--focus);outline:0}.ayuda-menu{background:var(--surface);box-shadow:var(--shadow-lg),0 0 0 1px var(--line);border-radius:14px;flex-direction:column;gap:1px;min-width:240px;padding:6px;display:flex;position:absolute;bottom:52px;right:0}.ayuda-menu[hidden]{display:none}.ayuda-menu button{text-align:left;cursor:pointer;color:var(--ink);background:0 0;border:0;border-radius:9px;padding:11px 12px;font-size:15px}.ayuda-menu button:hover,.ayuda-menu button:focus-visible{background:var(--fill);outline:none}.ayuda-tg{color:var(--muted);border-top:1px solid var(--line);cursor:pointer;align-items:center;gap:8px;margin-top:4px;padding:10px 12px;font-size:13px;display:flex}.ayuda-tg input{accent-color:var(--accent)}@media (width<=860px){.ayuda{bottom:calc(env(safe-area-inset-bottom,0px) + 80px)}body[data-ruta=caja] .ayuda{bottom:calc(env(safe-area-inset-bottom,0px) + 140px)}.ayuda-tg{display:none}}.ayuda-hola{z-index:1250;background:#1e242173;place-items:center;padding:20px;animation:.25s hola-bg;display:grid;position:fixed;inset:0}.ayuda-hola-card{background:var(--surface);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:10px;width:min(440px,100%);padding:28px 26px 24px;animation:.3s hola;display:flex;box-shadow:0 24px 70px #1e24214d}.ayuda-hola-card img{object-fit:contain;width:84px;height:84px}.ayuda-hola-card h2{font-family:var(--f-display);margin:0;font-size:24px;line-height:1.2}.ayuda-hola-card p{color:var(--muted);margin:0;font-size:15.5px;line-height:1.5}.ayuda-hola-card .ayuda-hola-mini{font-size:13.5px}.ayuda-hola-card div{flex-direction:column;gap:8px;width:100%;margin-top:10px;display:flex}.ayuda-hola-card .btn{justify-content:center;padding:12px 18px;font-size:16px}@keyframes hola-bg{0%{opacity:0}}@keyframes hola{0%{opacity:0;transform:translateY(10px)scale(.98)}}.driver-popover.rfo-tour{font-family:var(--f-body);background:var(--surface);max-width:360px;color:var(--ink);border-radius:18px;padding:18px 20px;box-shadow:0 12px 40px #1e242138}.rfo-tour .driver-popover-title{font-family:var(--f-display);color:var(--accent-strong);font-size:18px;font-weight:700}.rfo-tour .driver-popover-description{color:var(--muted);font-size:15px;line-height:1.5}.rfo-tour .driver-popover-progress-text{color:var(--muted);font-size:12px}.rfo-tour .driver-popover-footer button{font:inherit;text-shadow:none;background:var(--fill);color:var(--ink);border:0;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600}.rfo-tour .driver-popover-footer .driver-popover-next-btn{background:var(--accent);color:#fff}.rfo-tour .driver-popover-close-btn{color:var(--muted)}.rfo-tour .driver-popover-arrow-side-top.driver-popover-arrow{border-top-color:var(--surface)}.rfo-tour .driver-popover-arrow-side-bottom.driver-popover-arrow{border-bottom-color:var(--surface)}.rfo-tour .driver-popover-arrow-side-left.driver-popover-arrow{border-left-color:var(--surface)}.rfo-tour .driver-popover-arrow-side-right.driver-popover-arrow{border-right-color:var(--surface)}.modal .body>*{flex-shrink:0}@media (prefers-reduced-motion:reduce){.tip,.ayuda-hola,.ayuda-hola-card{transition:none;animation:none}}@media print{.ayuda,.tip{display:none!important}}.tnd{background:var(--surface-2);box-shadow:0 0 0 1px var(--line);border-radius:16px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.tnd h4{align-items:center;gap:7px;margin:0;display:flex}.tnd h4 svg,.tn-row svg{width:18px;height:18px;color:var(--accent)}.tnd-h{justify-content:space-between;align-items:center;gap:10px;display:flex}.sw{cursor:pointer;white-space:nowrap;align-items:center;gap:8px;font-size:13px;font-weight:600;display:inline-flex}.sw input{appearance:none;background:var(--fill);width:42px;height:25px;box-shadow:inset 0 0 0 1px var(--line);cursor:pointer;border-radius:999px;flex:none;margin:0;transition:background .15s;position:relative}.sw input:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #1e242140}.sw input:checked{background:var(--accent)}.sw input:checked:after{transform:translate(17px)}.sw input:focus-visible{box-shadow:var(--focus);outline:0}.tn-row{align-items:center;gap:12px}.tn-row .t{flex:1;min-width:0}.tn-falta{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.tn-falta .pill{padding:2px 7px;font-size:11px}.pw-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:14px;display:grid}.pw{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:16px 18px;display:flex}.pw-h{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.pw-h small{color:var(--muted);font-size:12.5px;display:block}.pw-tot{color:var(--accent-strong);font-size:19px}.pw-cli{flex-direction:column;gap:2px;font-size:13.5px;display:flex}.pw-items{border-top:1px solid var(--line);flex-direction:column;gap:6px;margin:0;padding:10px 0 0;font-size:14px;list-style:none;display:flex}.pw-items li{grid-template-columns:1fr auto;gap:0 10px;display:grid}.pw-items li small{grid-column:1/-1;font-size:12px}.pw-acc{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.pw-pie{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pw-motivos{flex-wrap:wrap;gap:6px;display:flex}.pw-banner{background:var(--accent-soft);color:var(--accent-strong);margin-bottom:12px}@media (width<=560px){.pw-acc .btn{flex:1}}.tnd-dh{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tnd textarea{min-height:150px;line-height:1.5}.driver-active .driver-overlay,.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:.2s ease-in-out animate-fade-in}.driver-fade .driver-popover{animation:.2s animate-fade-in}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{zoom:1;margin:0;font:700 19px/1.5 sans-serif;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font:400 14px/1.5 sans-serif}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer button{all:unset;box-sizing:border-box;text-shadow:1px 1px #fff;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font:12px/1.3 sans-serif;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:hover,.driver-popover-footer button:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-start,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-end,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{margin-top:-5px;top:50%}.driver-popover-arrow-side-top.driver-popover-arrow-align-center,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center{margin-left:-5px;left:50%}.driver-popover-arrow-none{display:none}
