
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#203248;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{border:1px solid #cfdae5;border-radius:10px;padding:10px 12px;background:#fff;color:#203248;min-width:0}textarea{min-height:72px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #80bde8;border-color:#347db7}.app{display:grid;grid-template-columns:244px 1fr;min-height:100vh}.side{background:#102b46;color:#eff7fc;padding:24px 16px;display:flex;flex-direction:column;gap:20px}.brand{display:flex;align-items:center;gap:11px;padding:4px 9px 16px;border-bottom:1px solid #385069}.brandmark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e6b95f;color:#102b46;font-weight:900}.brand strong{display:block;font-size:15px;line-height:1.1}.brand small{color:#a9c1d5}.nav{display:grid;gap:4px}.nav button{border:0;background:transparent;color:#c8d9e6;padding:12px 14px;text-align:left;border-radius:10px;font-weight:600}.nav button:hover,.nav button.active{background:#234761;color:#fff}.nav button.active{box-shadow:inset 3px 0 #e8b956}.sidefoot{margin-top:auto;font-size:12px;color:#9eb7c9;padding:9px}.sidefoot button{display:block;margin-top:10px;background:transparent;border:1px solid #66829a;border-radius:9px;color:#fff;padding:8px 10px}.main{min-width:0;padding:26px clamp(17px,4vw,52px) 60px;max-width:1540px;width:100%;margin:auto}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#5984a5}.top h1{margin:4px 0 0;font-size:clamp(24px,3vw,34px);letter-spacing:-.035em}.topright{display:flex;gap:8px;align-items:center}.userpill{background:white;border:1px solid #e3eaf1;border-radius:25px;padding:10px 14px;font-size:13px}.btn{border:0;border-radius:10px;background:#12456a;color:#fff;font-weight:700;padding:11px 16px;box-shadow:0 3px 8px #102b4615}.btn:hover{background:#19618e}.btn.secondary{background:#e8f0f6;color:#204966;box-shadow:none}.btn.gold{background:#e5b65f;color:#142c43}.btn.danger{background:#fbe9e9;color:#a13333;box-shadow:none}.btn.tiny{padding:7px 9px;font-size:12px}.hero{background:linear-gradient(110deg,#102b46,#215471);border-radius:20px;display:flex;overflow:hidden;min-height:206px;color:white;box-shadow:0 10px 35px #20486622;margin-bottom:23px}.hero .copy{padding:29px;flex:1}.hero h2{font-size:26px;line-height:1.13;margin:8px 0}.hero p{color:#d9e8f1;max-width:500px;margin:0 0 17px}.hero img{width:39%;object-fit:cover;object-position:center;opacity:.88;mask-image:linear-gradient(to right,transparent,black 25%)}.hero .btn{background:#e8b956;color:#102b46}.grid{display:grid;gap:16px}.cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.card,.panel{background:white;border:1px solid #e5ebf1;box-shadow:0 5px 20px #26445b0a;border-radius:16px}.card{padding:18px}.card small{display:block;color:#657a8e;font-weight:650}.card b{display:block;font-size:27px;margin-top:9px;letter-spacing:-.03em}.card em{font-size:12px;color:#8092a3;font-style:normal}.panel{padding:20px;margin-bottom:17px}.panel h2{font-size:18px;margin:0 0 16px}.panelhead,.rowbetween{display:flex;justify-content:space-between;align-items:center;gap:12px}.two{display:grid;grid-template-columns:1.5fr 1fr;gap:17px}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.toolbar input{flex:1;min-width:190px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{color:#73879a;font-size:11px;text-transform:uppercase;letter-spacing:.06em}th,td{padding:11px 10px;border-bottom:1px solid #edf1f4;vertical-align:middle}tr:last-child td{border-bottom:0}td small{color:#73879a}.badge{font-size:11px;font-weight:800;padding:5px 8px;border-radius:30px;background:#e9f1fa;color:#27658e;white-space:nowrap}.badge.warn{background:#fff2d8;color:#956416}.badge.red{background:#fceaea;color:#b24141}.badge.green{background:#e4f4e9;color:#267750}.empty{padding:24px;text-align:center;color:#71879a;border:1px dashed #d1dce6;border-radius:13px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:grid;gap:5px}.field label{font-size:12px;font-weight:700;color:#597185}.span2{grid-column:span 2}.formactions{display:flex;gap:9px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}.detail{display:grid;gap:15px}.detail .meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.meta div{background:#f5f8fa;padding:10px;border-radius:10px;font-size:13px}.meta b{display:block;color:#73879a;font-size:11px;margin-bottom:4px}.checks{display:flex;gap:8px;flex-wrap:wrap}.check{border:1px solid #d1dce6;background:#fff;border-radius:25px;padding:8px 12px}.check.on{background:#e4f2fb;border-color:#74b2d8;color:#14618c}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{border:1px solid #cee0ed;background:#f4f9fc;padding:7px 10px;border-radius:20px;font-size:12px;color:#266182}.photos{display:flex;gap:8px;flex-wrap:wrap}.photos img{width:95px;height:95px;object-fit:cover;border-radius:9px;border:1px solid #d8e3ed}.note{background:#fff8e8;border-left:3px solid #e8b956;padding:12px;border-radius:7px;color:#684f28;font-size:13px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 80% 0%,#366b8d,#102b46 55%);padding:20px}.loginbox{width:min(460px,100%);background:white;border-radius:22px;padding:28px;box-shadow:0 20px 70px #061b2d77}.loginbox img{width:100%;height:132px;object-fit:cover;border-radius:13px}.loginbox h1{font-size:23px;margin:18px 0 5px}.loginbox p{color:#657a8e;font-size:14px}.loginbox .field{margin-top:12px}.loginbox .btn{width:100%;margin-top:17px}.modalback{position:fixed;inset:0;background:#0b2335a9;display:grid;place-items:center;z-index:50;padding:15px}.modal{background:white;width:min(760px,100%);max-height:94vh;overflow:auto;border-radius:18px;padding:23px;box-shadow:0 25px 80px #071a2a88}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.modalhead h2{margin:0}.close{border:0;background:#eef3f7;border-radius:9px;font-size:21px;width:34px;height:34px}.toast{position:fixed;right:20px;bottom:20px;background:#102b46;color:white;border-radius:11px;padding:12px 17px;z-index:80;max-width:360px;box-shadow:0 10px 30px #102b4644}.subtle{font-size:13px;color:#72879a}.link{border:0;background:none;color:#176a9d;text-align:left;font-weight:700;padding:0}.lines{display:grid;gap:8px}.line{padding:10px 0;border-bottom:1px solid #edf1f4}.line:last-child{border:0}.no-print{}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.hero img{width:30%}}@media(max-width:720px){.app{display:block}.side{padding:10px;gap:6px;position:sticky;top:0;z-index:10}.brand{display:none}.nav{display:flex;overflow-x:auto}.nav button{white-space:nowrap;font-size:12px;padding:10px}.sidefoot{display:none}.main{padding:17px 13px 50px}.top{align-items:flex-start}.topright{flex-wrap:wrap;justify-content:flex-end}.userpill{display:none}.hero{min-height:175px}.hero img{display:none}.hero .copy{padding:23px}.cards{gap:9px}.card{padding:13px}.card b{font-size:22px}.formgrid{grid-template-columns:1fr}.span2{grid-column:auto}.detail .meta{grid-template-columns:repeat(2,1fr)}}@media print{body{background:#fff}.app,.modalback,.toast,.login{display:none!important}#printarea{display:block!important}.receipt{width:76mm;margin:0 auto;color:#111;font-family:Arial,sans-serif;font-size:11px}.receipt img{width:100%;max-height:45mm;object-fit:contain}.receipt h1{text-align:center;font-size:16px;margin:4px 0}.receipt .center{text-align:center}.receipt hr{border:0;border-top:1px dashed #333;margin:9px 0}.receipt table{font-size:10px}.receipt th,.receipt td{padding:4px 1px;border:0}.receipt .total{text-align:right;font-size:14px;font-weight:bold}.receipt .sign{padding-top:30px;text-align:center}}
/* Offline desktop edition refinements */
.side .nav{overflow-y:auto;min-height:0;scrollbar-width:thin}
.category-tile{border:1px solid #dce8ef;text-align:left}.category-tile:hover,.category-tile.chosen{border-color:#e8b956;box-shadow:0 7px 23px #20486625}.category-tile.chosen{background:#fff8e9}
:root{--navy:#102b46;--gold:#e8b956;--blue:#19769a}
button{transition:transform .14s,background .14s,box-shadow .14s}button:hover{transform:translateY(-1px)}.side{position:sticky;top:0;height:100vh}.brandlogo{width:100%;max-height:92px;object-fit:contain;background:#102b46;border-radius:12px}.brandstack{padding:4px 7px 16px;border-bottom:1px solid #385069}.brandstack small{display:block;color:#bdd2df;letter-spacing:.12em;text-align:center;font-weight:800;font-size:10px;margin-top:7px}.sidefoot .active-user{font-size:13px;color:white;font-weight:700}.nav button.active{background:#234761}.main{max-width:1580px}.app .hero{min-height:208px}.hero img{object-fit:contain;object-position:right center;max-height:235px;opacity:1;mask-image:linear-gradient(to right,transparent,black 14%)}.card b{color:#112f49}.panel{overflow:hidden}.subtle{color:#71879a;font-size:13px}.panel table a{font-weight:700;color:#1e668f}.clickable{cursor:pointer}.clickable:hover{background:#f4f9fc}.repairline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 3px;border-bottom:1px solid #ecf2f6}.repairline:last-child{border-bottom:0}.repairline strong{color:#1a3850}.muted{color:#70889c;font-size:13px}.money{font-variant-numeric:tabular-nums;font-weight:800;color:#183a53}.money.due{color:#b33d45}.labelchips{display:flex;gap:6px;flex-wrap:wrap}.labelchips span{background:#edf4f9;color:#205574;padding:6px 9px;border-radius:18px;font-size:12px}.detailhero{background:linear-gradient(115deg,#112c46,#24607b);color:white;border-radius:19px;padding:24px;margin-bottom:17px;display:flex;justify-content:space-between;gap:20px}.detailhero h2{font-size:28px;margin:3px 0 7px}.detailhero small{color:#a8d5e8}.detailhero p{margin:4px 0;color:#dcebf3}.detailmoney{text-align:right}.detailmoney strong{font-size:28px;color:#ffe1a0;display:block}.detailmoney span{color:#dcebf3}.tabs{display:flex;gap:8px;border-bottom:1px solid #dce6ed;margin:4px 0 17px;overflow-x:auto}.tabs button{border:0;background:transparent;padding:11px 14px;border-bottom:3px solid transparent;font-weight:700;color:#5b758a;white-space:nowrap}.tabs button.active{border-color:#e4b655;color:#173b57}.kv{display:grid;grid-template-columns:180px 1fr;gap:7px 14px;padding:9px 0;border-bottom:1px solid #eff2f5}.kv b{color:#54718a;font-size:13px}.kv span{overflow-wrap:anywhere}.statusflow{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 20px}.statusflow span{border-radius:20px;padding:7px 10px;background:#edf3f7;font-size:12px;color:#607b8e;font-weight:700}.statusflow span.current{background:#e8b956;color:#17354d}.select-row{display:flex;gap:8px;align-items:center}.select-row>*{flex:1}.select-row button{flex:0}.modal-layer{position:fixed;inset:0;z-index:20;background:#092239a6;display:grid;place-items:center;padding:14px}.modal{background:white;border-radius:20px;width:min(860px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 90px #06182d70;padding:25px}.modal h2{margin:0 0 16px;font-size:23px}.modalhead{display:flex;justify-content:space-between;gap:10px;align-items:center}.modalhead button{border:0;background:#edf3f7;border-radius:9px;font-size:20px;width:34px;height:34px}.formgrid .field.full{grid-column:span 2}.field input,.field select,.field textarea{width:100%}.field small{color:#758c9c}.checks{display:flex;gap:8px;flex-wrap:wrap}.checks label{display:flex;align-items:center;gap:5px;background:#eef5fa;padding:5px 8px;border-radius:8px;font-size:12px}.checks input{min-width:0}.searchbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.searchbar input{min-width:220px;flex:1}.searchbar select{min-width:140px}.authpage{min-height:100vh;background:linear-gradient(130deg,#0a233b,#205672);display:grid;place-items:center;padding:24px}.authcard{background:white;border-radius:22px;overflow:hidden;box-shadow:0 25px 85px #061a315e;display:grid;grid-template-columns:minmax(290px,1fr) minmax(340px,1fr);width:min(920px,100%)}.authbrand{background:#0d2944;color:white;padding:38px;display:flex;flex-direction:column;justify-content:center}.authbrand img{width:100%;border-radius:10px}.authbrand h2{font-size:22px}.authbrand p{color:#c2d8e7;line-height:1.6}.authform{padding:36px 40px}.authform h1{margin:4px 0 6px}.authform .field{margin:15px 0}.authform button{width:100%;margin-top:8px}.banner{background:#f7fbfe;border:1px solid #dbe8f1;border-radius:12px;padding:12px;color:#55748b;font-size:13px;margin:12px 0}.toast{position:fixed;right:20px;bottom:20px;background:#173a56;color:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 8px 22px #0004;z-index:40;max-width:430px}.toast.error{background:#a23242}.mini-thumb{width:90px;height:74px;object-fit:cover;border-radius:9px;border:1px solid #dae5ee}.empty strong{display:block;margin-bottom:5px;color:#315b76}.empty .btn{margin-top:12px}.low{background:#fff0ed}.lowmark{background:#fce8e5;color:#a33936;padding:5px 8px;border-radius:8px;font-weight:700;font-size:12px}.field-inline{display:flex;gap:8px;align-items:center}.pillbutton{border-radius:20px;border:1px solid #d5e3ea;background:#f6fafc;color:#285573;padding:8px 12px;font-weight:700}.pillbutton.active{background:#1d5677;color:white}.break{overflow-wrap:anywhere}.btn:disabled{opacity:.55;cursor:not-allowed}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.two{grid-template-columns:1fr}.top{align-items:flex-start}.app{grid-template-columns:200px 1fr}.side{padding:15px 10px}.main{padding:23px 18px}}@media(max-width:700px){.app{display:block}.side{height:auto;position:static}.brandstack{display:none}.nav{display:flex;overflow:auto;white-space:nowrap}.nav button{flex-shrink:0}.sidefoot{display:none}.top{display:block}.topright{margin-top:12px}.cards{grid-template-columns:repeat(2,1fr)}.authcard{grid-template-columns:1fr}.authbrand{padding:18px}.authbrand img{max-height:110px;object-fit:contain}.authbrand p{display:none}.authform{padding:24px}.formgrid{grid-template-columns:1fr}.formgrid .field.full,.span2{grid-column:span 1}.detailhero{display:block}.detailmoney{text-align:left;margin-top:12px}.kv{grid-template-columns:1fr}.modal{padding:17px}}

/* Category overview and discreet stock status. */
.category-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:14px 0 20px}
.category-tile{text-align:left;cursor:pointer;border:1px solid #dce7f0;background:#fff;color:#203248}
.category-tile.chosen{border-color:#d8a947;box-shadow:inset 0 0 0 2px #e9bd69,0 6px 22px #14365312}
.category-tile b{font-size:17px;display:block;margin:5px 0}
.stock-pill{display:inline-block;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:800}
.stock-pill.good{background:#e4f6eb;color:#126448}
.stock-pill.middle{background:#e9f0f6;color:#3c6480}
.stock-pill.bad{background:#fde7e6;color:#a33136}
.video-thumb{width:min(320px,100%);height:210px;background:#102b46;border-radius:10px}
.return-actions{margin-top:22px;padding:18px 20px;border:1px solid #d6e4ef;border-left:4px solid #d9ac55;border-radius:14px;background:#f8fbfe}
.return-actions h2{margin:0 0 6px;color:#183b57}.return-actions p{margin:0 0 12px;color:#58738a;font-size:13px}

.ready-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:17px 20px;margin:0 0 22px;border:1px solid #e2bd72;border-radius:14px;background:linear-gradient(110deg,#fff8e9,#f6fafc)}
.ready-panel strong{display:block;color:#143a56;font-size:18px}
.ready-panel p{margin:5px 0 0;color:#516c7f;font-size:13px}
.ready-panel .toolbar{margin:0}

.ready-flag{display:inline-block;border-radius:20px;padding:5px 9px;font-size:12px;font-weight:800;background:#edf2f6;color:#5f7485;white-space:nowrap}
.ready-flag.yes{background:#e2f4e8;color:#236e42}
.price-link{display:block;margin-top:5px;font-size:12px}
.ficha-price{margin:10px 0 14px}

.client-totals{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0 8px}
.client-totals .card{background:#f8fbfd;box-shadow:none}
@media(max-width:700px){.client-totals{grid-template-columns:1fr}}

@media(min-width:701px){.side .nav{overflow-y:auto;min-height:0;scrollbar-width:thin}}

/* Resúmenes cortos; los datos completos se abren a petición. */
.compact-orders{table-layout:fixed;min-width:850px}.compact-orders th:nth-child(1){width:9%}.compact-orders th:nth-child(2){width:15%}.compact-orders th:nth-child(3){width:24%}.compact-orders th:nth-child(4){width:15%}.compact-orders th:nth-child(5){width:14%}.compact-orders th:nth-child(6){width:13%}.compact-orders th:nth-child(7){width:10%}.compact-orders td{vertical-align:top;overflow-wrap:anywhere}.compact-orders small{display:block;margin-top:5px}.issue-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:650px}.order-more summary,.more-panel summary{cursor:pointer;color:#b28331;font-weight:700}.order-more-content{position:relative;min-width:220px;max-width:330px;padding:12px;margin-top:8px;border:1px solid #d9d2c4;border-radius:12px;background:#fff;box-shadow:0 9px 22px #0001}.order-more-content p{margin:0 0 9px;overflow-wrap:anywhere}.more-panel{margin-top:16px;border:1px solid #ddd8cc;border-radius:14px;padding:16px}.more-panel[open] summary{margin-bottom:16px}.detailhero p.issue-preview{max-width:520px}
.compact-orders{min-width:980px}.compact-orders th:nth-child(1){width:8%}.compact-orders th:nth-child(2){width:13%}.compact-orders th:nth-child(3){width:22%}.compact-orders th:nth-child(4){width:12%}.compact-orders th:nth-child(5){width:12%}.compact-orders th:nth-child(6){width:14%}.compact-orders th:nth-child(7){width:11%}.compact-orders th:nth-child(8){width:8%}
/* Evitar que estados largos invadan el valor de la reparación. */
.compact-orders td .badge{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;box-sizing:border-box}
.compact-orders td small.issue-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.compact-orders td:nth-child(4){padding-right:14px}.compact-orders td:nth-child(5){white-space:nowrap}
.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.pos-checkout{position:sticky;top:20px}.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;max-height:300px;overflow:auto;margin-top:14px}.pos-product{display:flex;flex-direction:column;text-align:left;gap:6px;border:1px solid #dce5eb;border-radius:14px;padding:15px;background:linear-gradient(145deg,#fff,#eef6fa);cursor:pointer;color:#153c55}.pos-product:hover{border-color:#c9a255;box-shadow:0 5px 15px #1233}.pos-product strong{font-size:20px;color:#174d69}.pos-product:disabled{opacity:.45;cursor:default}.pos-number{width:85px;min-width:0}.pos-total{padding:24px 18px;border-radius:16px;background:linear-gradient(130deg,#143e59,#226981);color:white;margin:18px 0}.pos-total small{display:block;letter-spacing:1px}.pos-total strong{display:block;font-size:40px;margin-top:8px}.pos-subtotal,.pos-change{display:flex;justify-content:space-between;padding:12px 0}.pos-checkout .btn{width:100%;margin-top:15px}.directory-groups{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.directory-filters{display:grid;grid-template-columns:1fr 1fr 2fr;gap:18px}.directory-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;margin-top:20px}.directory-card{background:white;border:1px solid #dce4ec;border-radius:20px;padding:22px;box-shadow:0 9px 25px #14354b08}.directory-card h2{font-size:20px;margin:12px 0}.directory-prices{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f2f6f9;border-radius:14px;padding:15px;margin:16px 0}.directory-prices small,.directory-prices b{display:block}.directory-prices b{font-size:20px;color:#174d69;margin-top:5px}@media(max-width:1000px){.pos-layout{grid-template-columns:1fr}.pos-checkout{position:static}.directory-filters{grid-template-columns:1fr}}
.directory-section-title{grid-column:1/-1;border-bottom:2px solid #c6a467;padding:18px 0 12px;display:flex;align-items:baseline;gap:16px}.directory-section-title small{text-transform:uppercase;letter-spacing:2px;color:#628298;font-weight:700}.directory-section-title h2{font-size:27px;margin:0;color:#153e58}.directory-heading{display:flex;align-items:center;gap:15px;min-height:85px}.directory-heading h2{flex:1;overflow-wrap:anywhere}.catalog-thumb{width:80px;height:80px;flex-shrink:0;padding:4px;border:1px solid #d9e3eb;border-radius:12px;background:#fff;cursor:zoom-in}.catalog-thumb img{width:100%;height:100%;object-fit:contain;border-radius:8px}.catalog-no-photo{display:flex;align-items:center;justify-content:center;width:70px;height:75px;flex-shrink:0;background:#edf3f7;border-radius:12px;color:#8298a5;font-size:11px}.catalog-large{width:100%;max-height:70vh;object-fit:contain;border-radius:15px}.directory-card>.link{margin-top:14px}
.pos-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(120deg,#103c58,#217188);padding:28px;border-radius:22px;color:white;margin-bottom:24px;box-shadow:0 12px 28px #103c5822}.pos-welcome h2{font-size:29px;margin:10px 0}.pos-welcome .eyebrow,.pos-welcome p{color:#d5e8ef}.pos-welcome .toolbar{margin:0;max-width:470px}.pos-stepbar{display:flex;gap:12px;margin:8px 0 20px}.pos-stepbar span{flex:1;background:#eaf2f6;border:1px solid #d6e4eb;border-radius:12px;padding:12px 16px;color:#21536b;font-weight:700}.pos-categories{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.pos-categories .selected{background:#184f6a;color:#fff;border-color:#184f6a}.pos-product img{height:70px;width:100%;object-fit:contain;background:white;border-radius:8px}.qty-stepper{display:flex;align-items:center;border:1px solid #cfdde6;border-radius:11px;width:max-content;overflow:hidden}.qty-stepper button{border:0;background:#e7f0f5;color:#154c68;width:30px;height:38px;font-size:20px;cursor:pointer}.qty-stepper .pos-number{width:50px;padding:6px;border:0;border-radius:0;text-align:center}.pos-selected-client{background:#eaf4f3;border-left:4px solid #398b7b;padding:14px;border-radius:12px;margin:14px 0}.pos-selected-client small,.pos-selected-client b{display:block}.pos-selected-client b{font-size:18px;margin-top:5px}.pos-checkout #pos-new-client{color:#154c68;background:#edf4f8;border:1px solid #cbdfe8}#pos-top-client{margin-left:auto}@media(max-width:900px){.pos-welcome{display:block}.pos-welcome .toolbar{margin-top:20px}.pos-stepbar{flex-wrap:wrap}.pos-stepbar span{min-width:140px}}
.catalog-list{min-width:850px}.catalog-list th{white-space:nowrap}.catalog-list td{vertical-align:middle}.catalog-list td:nth-child(2){min-width:220px;max-width:350px}.catalog-list td small,.cart-category{display:block;margin-top:5px}.catalog-list .catalog-thumb{width:48px;height:48px;border-radius:9px}.catalog-section td{background:#edf4f8;color:#194961;font-weight:800;font-size:16px;padding:12px 16px}.catalog-section span{color:#bd9141;padding:0 8px}.catalog-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.catalog-list .issue-preview{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pos-layout table td small.cart-category{display:block}
/* Caja: artículos fáciles de comparar en una lista. */
.pos-products{display:flex;flex-direction:column;max-height:320px;overflow:auto;gap:6px}
.pos-products .pos-product{display:grid;grid-template-columns:90px minmax(130px,1fr) minmax(90px,1fr) 110px 110px;align-items:center;gap:10px;text-align:left;padding:12px}
.pos-products .pos-product img{width:42px;height:42px;object-fit:contain;grid-row:span 2}
.pos-products .pos-product strong{text-align:right;white-space:nowrap}
@media(max-width:720px){.pos-products .pos-product{grid-template-columns:1fr 1fr}.pos-products .pos-product b{grid-column:1/-1}}

.remember-access{display:flex;align-items:center;gap:10px;font-size:14px;margin:14px 0}.remember-access input{width:20px;height:20px;min-width:0}.mobile-entry{display:block;color:#e8b956;margin-top:14px}.sync-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#edf4f8;border-radius:12px;padding:12px;margin-bottom:16px;color:#315b76;font-size:13px}@media(max-width:700px){input,select,textarea{font-size:16px}.modal-layer{padding:10px}.modal{max-height:94dvh}.main{padding:18px 12px}.topright{flex-wrap:wrap}}

.program-name{display:block;font-size:22px;font-weight:800;letter-spacing:.04em;color:#e8b956;margin:7px 0}.brandstack small{display:block;line-height:1.5}

/* Modern POS, using the original business artwork. */
.pos-sale{--pos-navy:#102c44;--pos-cyan:#008da6;--pos-border:#d7e6ef;color:#15354c}.pos-brand-header{display:flex;align-items:center;gap:22px;padding:16px 20px;background:linear-gradient(110deg,#0a2036,#143e60);border:1px solid #1e4c69;border-radius:18px;color:white;margin-bottom:16px}.pos-brand-header img{width:205px;height:92px;object-fit:contain;border-radius:6px;background:#0d2437;flex-shrink:0}.pos-brand-header h2{font-size:27px;margin:4px 0;color:#fff}.pos-brand-header small{color:#75e6ef;font-weight:800;letter-spacing:1.3px}.pos-seller{margin-left:auto;font-size:13px;color:#d5e5f1}.pos-brand-header .btn.secondary{background:#ffffff15;border:1px solid #507088;color:#fff}.pos-mode-bar{display:flex;gap:9px;margin:16px 0}.pos-sale .btn:not(.secondary):not(.danger){background:#008ca5;color:white}.pos-sale .btn:hover:not(.secondary):not(.danger){background:#006f85}.pos-sale .pos-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:20px;align-items:start}.pos-sale .panel{border:1px solid var(--pos-border);border-radius:18px;padding:18px;box-shadow:0 5px 22px #143c5910}.pos-shopping{min-width:0}.pos-search-box{display:flex;align-items:center;border:2px solid #74cfe7;border-radius:13px;background:white;padding:5px;gap:7px}.pos-search-box>span{font-size:29px;color:#135174;padding:0 7px}.pos-search-box #pos-search{flex:1;min-width:0;width:100%;border:0;box-shadow:none;outline:0;padding:13px 5px;font-size:16px}.pos-scan-focus{border:0;min-width:46px;min-height:45px;background:#dbf4fb;color:#145b78;border-radius:9px;font-size:27px}.pos-search-box:focus-within{outline:2px solid #09a8c6;outline-offset:2px}.pos-search-hint{font-size:11px;color:#638398;margin:7px 0 14px}.pos-sale .pos-categories{gap:7px;margin:14px 0;display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.pos-sale .pillbutton{border:1px solid #d5e6ee;background:#f0f6fa;color:#214b66;border-radius:10px;padding:11px 16px;white-space:nowrap}.pos-sale .pillbutton.selected{background:#00a0b9;color:#fff;border-color:#00a0b9}.pos-sale .pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;max-height:440px;overflow:auto;padding:2px 2px 8px}.pos-sale .pos-product{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:5px;border:1px solid #d8e6ee;border-radius:13px;padding:12px;background:#fff;min-width:0;box-shadow:none;color:#163950;transition:border-color .15s,box-shadow .15s}.pos-sale .pos-product:hover:not(:disabled){border-color:#19b3c7;box-shadow:0 5px 15px #179caf1c}.pos-sale .pos-product img{width:100%;height:120px;object-fit:contain;background:#f6f9fb;border-radius:9px;margin:0 0 5px}.pos-photo-placeholder{display:grid;place-items:center;height:120px;background:linear-gradient(135deg,#edf5fa,#deeff3);color:#398599;border-radius:9px;font-size:43px}.pos-sale .pos-product small{font-size:10px;color:#6d8a9b}.pos-sale .pos-product b{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.pos-sale .pos-product>span:not(.pos-photo-placeholder):not(.pos-add-label){font-size:11px;line-height:1.4;color:#647d90}.pos-sale .pos-product strong{font-size:22px;color:#008a9f;margin:6px 0 2px}.pos-sale .pos-add-label{display:block;width:100%;text-align:center;color:white;background:#00a0b7;border-radius:8px;padding:10px 8px;margin-top:auto;font-size:14px;font-weight:800}.pos-sale .pos-product:disabled .pos-add-label{background:#879baa}.pos-cart-header{display:flex;gap:10px;align-items:center;border-top:1px solid #e2ecf3;margin:19px 0 10px;padding-top:17px}.pos-cart-header h2{margin:0;font-size:21px}.pos-cart-header>span{font-size:12px;color:#658598}.pos-cart-table th{background:#edf5fa;color:#365b75;font-size:11px;text-transform:none;letter-spacing:0}.pos-cart-table td{padding:13px 7px;vertical-align:middle}.pos-cart-product{display:flex;gap:10px;align-items:center;min-width:140px}.pos-cart-product img,.pos-cart-icon{width:40px;height:40px;object-fit:contain;background:#f0f6fa;border-radius:8px;flex-shrink:0}.pos-cart-icon{display:grid;place-items:center;font-size:22px;color:#438fa1}.pos-cart-product b{font-size:13px}.pos-cart-product .cart-category{font-size:10px;color:#7792a4;margin-top:4px}.pos-sale .qty-stepper{gap:0;border:1px solid #d5e3ed;border-radius:8px;overflow:hidden;display:flex;min-width:104px}.pos-sale .qty-stepper button{width:29px;height:35px;min-width:29px;padding:0;background:#eff7fb;border:0;color:#1d5875;font-size:18px}.pos-sale .qty-stepper .pos-number{width:43px;min-width:43px;height:35px;text-align:center;border:0;border-radius:0;padding:4px;appearance:textfield}.pos-sale [data-price]{width:75px;min-width:75px;font-size:13px;padding:8px;border-radius:8px}.pos-sale [data-line-total]{font-weight:800;white-space:nowrap;font-size:13px}.pos-remove{border:0;background:#f2f5f7;border-radius:8px;width:28px;height:30px;color:#738a9b;font-size:21px}.pos-remove:hover{color:#bd4550;background:#fff0f1}.pos-cart-empty{text-align:center;padding:20px 10px;color:#728da0}.pos-cart-empty>span{display:block;font-size:33px;color:#5c9aab}.pos-cart-empty b{display:block;margin:8px 0;font-size:15px}.pos-cart-empty p{font-size:12px}.pos-sale .pos-checkout{position:sticky;top:18px}.pos-checkout>h2{font-size:22px;margin:0 0 17px}.pos-client-block{display:flex;align-items:center;gap:8px;padding:14px;background:#ebf6f5;border-left:4px solid #309989;border-radius:10px;margin-bottom:16px}.pos-sale .pos-selected-client{background:none;border:0;padding:0;flex:1;margin:0}.pos-selected-client small{font-size:10px}.pos-selected-client b{font-size:17px}.pos-sale #finish-sale .field{margin:10px 0}.pos-sale #finish-sale label{font-size:12px;color:#476c86;display:block;margin-bottom:6px}.pos-sale #finish-sale input,.pos-sale #finish-sale select{width:100%;min-width:0}.pos-sale .pos-subtotal{margin-top:14px;padding-top:14px;border-top:1px solid #dce7f0;font-size:15px}.pos-sale .pos-total{background:#e4f7fa;color:#08748a;border:0;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 13px;margin:16px 0}.pos-sale .pos-total small{font-size:12px;letter-spacing:.8px;color:#1b607b}.pos-sale .pos-total strong{font-size:34px;color:#007e95;overflow-wrap:anywhere}.pos-payment-section>label{display:block;margin:12px 0 8px;font-size:12px;font-weight:700}.pos-payment-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pos-payment-buttons button{background:#f2f7fa;border:1px solid #cddfea;color:#24536e;padding:11px 7px;border-radius:9px;font-size:12px;min-height:42px}.pos-payment-buttons button.selected{background:#dcf8fc;border-color:#03a1bb;color:#05768c;box-shadow:inset 0 0 0 1px #00a4ba;font-weight:800}.pos-sale .pos-change{background:#e9f7f1;border-radius:10px;padding:13px;font-size:14px;margin:12px 0}.pos-change b{font-size:22px;color:#15846a}.pos-agreed{margin:10px 0;font-size:12px;color:#4a758d}.pos-agreed summary{cursor:pointer;padding:8px 0}.pos-sale #pos-charge,.pos-sale #pos-charge-only{width:100%;min-height:48px;font-size:15px;margin-top:8px;border-radius:10px}.pos-stock-note{font-size:11px;text-align:center;color:#718e9f;line-height:1.4;margin:11px 0 0}.pos-sale [hidden]{display:none!important}
@media(min-width:1100px){.main:has(.pos-sale){padding:22px;max-width:1800px}.main:has(.pos-sale)>.top{display:none}}
@media(max-width:1100px){.pos-sale .pos-layout{grid-template-columns:minmax(0,1fr) minmax(295px,.75fr)}.pos-brand-header{gap:12px}.pos-brand-header img{width:150px;height:68px}.pos-brand-header h2{font-size:23px}.pos-seller{font-size:11px}.pos-sale .pos-products{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}
@media(max-width:850px){.pos-sale .pos-layout{grid-template-columns:1fr}.pos-sale .pos-checkout{position:static}.pos-brand-header{flex-wrap:wrap;padding:12px}.pos-brand-header img{width:135px;height:61px}.pos-brand-header h2{font-size:20px}.pos-seller{margin-left:0}.pos-brand-header .btn{margin-left:auto}.pos-sale .pos-products{grid-template-columns:repeat(2,minmax(0,1fr));max-height:440px}.pos-sale .panel{padding:13px}.pos-sale .pos-cart-table{min-width:520px}.pos-payment-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}.pos-search-box #pos-search{font-size:14px}.pos-brand-header img{object-fit:contain}.pos-sale .pos-total strong{font-size:36px}}
/* Caja compacta y menú plegable */
.menu-toggle{border:1px solid #547389;border-radius:8px;background:#163b55;color:#fff;padding:8px;align-self:flex-start}.app.menu-folded{grid-template-columns:76px minmax(0,1fr)}.menu-folded .side{padding:12px 6px}.menu-folded .nav-label,.menu-folded .brandstack,.menu-folded .sidefoot{display:none}.menu-folded .nav button{text-align:center;padding:10px 3px;font-size:20px}.menu-folded .menu-toggle span{display:none}.app:has(.pos-sale) .main{padding:14px 18px;max-width:none;min-width:0}.pos-sale{font-size:13px}.pos-sale .panel{padding:16px;margin-bottom:12px}.pos-sale .pos-brand-header{padding:10px 16px;margin-bottom:10px;min-height:80px}.pos-sale .pos-brand-header img{width:175px;height:60px}.pos-sale .pos-brand-header h2{font-size:23px}.pos-sale .pos-mode-bar{margin-bottom:10px}.pos-sale .btn{padding:9px 12px;font-size:13px}.pos-sale .pos-layout{grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:16px}.pos-sale h2{font-size:20px;margin:0 0 12px}.pos-sale .pos-search-box{padding:4px 7px}.pos-sale .pos-search-box input{padding:9px 4px;font-size:15px}.pos-sale .pos-categories{gap:6px;margin:10px 0}.pos-sale .pillbutton{padding:8px 12px;font-size:13px}.pos-subcategories label{display:flex;gap:10px;align-items:center;color:#52718a;font-size:12px}.pos-subcategories select{padding:6px 9px;max-width:250px}.pos-subcategories:empty{display:none}.pos-sale .pos-products{margin:10px 0;max-height:290px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.pos-search-empty{grid-column:1/-1;color:#6f8498;margin:6px 0;font-size:13px}.pos-sale .pos-product{padding:10px;gap:5px}.pos-sale .pos-product>img,.pos-sale .pos-photo-placeholder{height:92px}.pos-sale .pos-product b{font-size:13px}.pos-sale .pos-product strong{font-size:20px}.pos-sale .pos-cart-header{margin-top:12px;padding-top:12px}.pos-sale .pos-cart-empty{padding:12px}.pos-sale .pos-cart-empty>span{display:none}.pos-sale .pos-checkout .field{margin:8px 0}.pos-sale .pos-checkout input,.pos-sale .pos-checkout select{padding:8px 10px;font-size:13px}.pos-sale .pos-client-block{padding:10px;gap:10px;display:flex;align-items:center}.pos-sale .pos-selected-client{flex:1;min-width:0}.pos-sale .pos-client-block button{flex:0 0 auto;width:auto}.pos-sale .pos-selected-client b{font-size:16px}.pos-sale .pos-subtotal{margin:12px 0}.pos-sale .pos-total{padding:12px;margin:10px 0}.pos-sale .pos-total strong{font-size:30px}.pos-sale .pos-payment-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pos-sale .pos-payment-buttons button{padding:8px;font-size:12px}.pos-sale .pos-change{padding:9px 12px;margin:8px 0}.pos-sale .pos-agreed{margin:8px 0}.pos-sale .pos-stock-note{font-size:11px;margin:6px 0}
@media(max-width:850px){.pos-sale .pos-layout{grid-template-columns:1fr}.app:has(.pos-sale) .main{padding:10px}.pos-sale .pos-brand-header{flex-wrap:wrap}.pos-sale .pos-brand-header img{width:145px;height:50px}}
@media(max-width:720px){.app.menu-folded{display:block}.menu-folded .side{height:auto;position:relative}.menu-folded .nav{display:none}.side .menu-toggle{display:block}.pos-sale .pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-sale .pos-brand-header h2{font-size:18px}}
.pos-sale .pos-payment-section select{width:100%;margin-top:5px}.pos-client-results{display:grid;gap:4px;max-height:180px;overflow:auto}.pos-client-results button{display:grid;text-align:left;border:1px solid #d9e6ed;background:#f5fafc;border-radius:8px;padding:7px 9px;color:#173b55}.pos-client-results small{color:#54738a;font-size:11px}.pos-buyer-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}.pos-buyer-fields .field:first-child{grid-column:1/-1}.pos-sale .pos-buyer-fields input[readonly]{background:#f1f6f8;color:#47657c}.pos-stock-remaining{display:block;font-size:11px;color:#167f83;margin-top:3px}
/* Venta con cobro flotante */
.pos-sale .pos-layout{display:block}.pos-sale .pos-shopping{width:100%;margin-bottom:82px}.pos-purpose{display:flex;gap:6px;margin-bottom:10px}.pos-purpose button{border:1px solid #cfe2e9;border-radius:9px;padding:8px 14px;background:#f1f7fa;color:#1b4b63;font-weight:700}.pos-purpose button.selected{background:#0099ad;color:#fff;border-color:#0099ad}.pos-dock{position:sticky;bottom:10px;z-index:8;display:flex;align-items:center;gap:18px;background:#102e48;color:#fff;padding:12px 18px;border-radius:14px;box-shadow:0 8px 25px #08243733}.pos-dock>div{flex:1}.pos-dock small{display:block;font-size:11px;color:#bfdde7}.pos-dock strong{font-size:25px}.pos-dock>span{font-size:12px}.pos-dock .btn{min-width:140px}.pos-checkout-dialog{padding:0;border:0;border-radius:16px;background:#fff;width:min(840px,calc(100vw - 30px));max-width:none;max-height:92dvh;box-shadow:0 24px 80px #08223c66;color:#203248}.pos-checkout-dialog:not([open]){display:none}.pos-checkout-dialog::backdrop{background:#071c34aa}.pos-sale .pos-checkout-dialog .pos-checkout{position:static;margin:0;border:0;max-height:92dvh;overflow:auto;padding:18px}.pos-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:-18px;background:white;z-index:2;padding:8px 0}.pos-dialog-header h2{margin:0!important}.pos-dialog-header>div{display:flex;gap:5px}.pos-dialog-header button{border:1px solid #d4e3eb;background:#eff6fa;width:34px;height:32px;border-radius:7px;font-size:20px;color:#16425e}.pos-checkout-items{max-height:120px;overflow:auto;background:#f3f9fb;border-radius:9px;margin:10px 0;padding:8px 12px}.pos-checkout-items>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:4px 0}.pos-checkout-items span{overflow-wrap:anywhere}.pos-checkout-items b{white-space:nowrap}.pos-checkout-dialog #finish-sale{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;align-items:start}.pos-checkout-dialog .pos-buyer-fields,.pos-checkout-dialog .pos-total,.pos-checkout-dialog .pos-agreed,.pos-checkout-dialog .pos-stock-note,.pos-checkout-dialog .pos-client-results{grid-column:1/-1}.pos-checkout-dialog .pos-buyer-fields{grid-template-columns:2fr 1fr 1fr}.pos-checkout-dialog .pos-buyer-fields .field:first-child{grid-column:auto}.pos-checkout-dialog .pos-payment-section{align-self:center}.pos-checkout-dialog .pos-change{align-self:end}.pos-checkout-dialog #pos-return-sale{width:100%;margin-top:10px}.pos-checkout-dialog.maximized{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:none}.pos-sale .pos-checkout-dialog.maximized .pos-checkout{max-height:none;height:100%;padding:20px}.pos-price-consult strong{display:block;color:#008a9e;font-size:35px}
@media(max-width:720px){.pos-checkout-dialog,.pos-checkout-dialog.maximized{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.pos-sale .pos-checkout-dialog .pos-checkout,.pos-sale .pos-checkout-dialog.maximized .pos-checkout{max-height:100dvh;padding:12px;padding-bottom:24px;height:100%}.pos-checkout-dialog #finish-sale{grid-template-columns:1fr;gap:4px}.pos-checkout-dialog .pos-buyer-fields{grid-template-columns:1fr 1fr}.pos-checkout-dialog .pos-buyer-fields .field:first-child{grid-column:1/-1}.pos-checkout-dialog #pos-charge,.pos-checkout-dialog #pos-charge-only{position:sticky;bottom:6px;z-index:3}.pos-checkout-dialog #pos-charge{bottom:50px}.pos-dock{bottom:6px;padding:10px;gap:10px}.pos-dock .btn{min-width:100px}.pos-dock strong{font-size:22px}.pos-dialog-header{top:-12px}.pos-sale .pos-shopping{margin-bottom:20px}.pos-checkout-items{max-height:90px}}
.pos-dock{position:fixed;left:298px;right:18px;bottom:12px}.menu-folded .pos-dock{left:94px}.pos-sale{padding-bottom:78px}@media(max-width:720px){.pos-dock,.menu-folded .pos-dock{left:10px;right:10px;bottom:6px}}
/* Cobro completo: cliente a la izquierda, importes a la derecha */
.pos-checkout-dialog{width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 20px)}.pos-sale .pos-checkout-dialog .pos-checkout{padding:12px 18px;max-height:calc(100dvh - 20px)}.pos-dialog-header{padding:2px 0 8px;top:-12px}.pos-dialog-header h2{font-size:20px}.pos-sale .pos-checkout-dialog .pos-client-block{margin:0 0 8px;padding:8px 10px}.pos-items-detail{font-size:12px;color:#54738a;margin:4px 0 10px}.pos-items-detail summary{cursor:pointer}.pos-checkout-dialog #finish-sale{grid-template-columns:1.1fr 1fr;gap:12px 20px}.pos-customer-column,.pos-payment-column{min-width:0}.pos-customer-column{padding-right:16px;border-right:1px solid #e1ebf0}.pos-sale .pos-checkout-dialog #finish-sale .field{margin:0 0 8px}.pos-sale .pos-checkout-dialog #finish-sale label{display:block;margin:0 0 4px;font-size:12px;line-height:1.25}.pos-sale .pos-checkout-dialog #finish-sale input,.pos-sale .pos-checkout-dialog #finish-sale select{padding:7px 9px;min-height:34px;font-size:13px}.pos-checkout-dialog .pos-buyer-fields{grid-template-columns:1fr 1fr;gap:0 8px}.pos-checkout-dialog .pos-buyer-fields .field:first-child{grid-column:1/-1}.pos-sale .pos-checkout-dialog .pos-subtotal{margin:0 0 8px;padding:6px 0}.pos-sale .pos-checkout-dialog .pos-total{margin:5px 0 8px;padding:9px 12px}.pos-sale .pos-checkout-dialog .pos-total strong{font-size:29px}.pos-sale .pos-checkout-dialog .pos-payment-section{margin:0 0 8px}.pos-sale .pos-checkout-dialog .pos-payment-section select{margin-top:0}.pos-sale .pos-checkout-dialog .pos-change{margin:5px 0;padding:8px 10px}.pos-sale .pos-checkout-dialog .pos-agreed{margin:6px 0;font-size:12px}.pos-confirm-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;position:sticky;bottom:0;background:white;padding-top:8px;border-top:1px solid #dce8ee}.pos-confirm-actions .pos-stock-note{grid-column:1/-1;text-align:center;margin:0!important}.pos-sale .pos-checkout-dialog #pos-return-sale{padding:7px;margin-top:5px}.pos-checkout-dialog.maximized{height:auto;min-height:0}.pos-sale .pos-checkout-dialog.maximized .pos-checkout{height:auto;padding:12px 18px;max-height:calc(100dvh - 20px)}
@media(max-width:720px){.pos-checkout-dialog,.pos-checkout-dialog.maximized{width:100vw;height:100dvh;max-height:100dvh}.pos-sale .pos-checkout-dialog .pos-checkout,.pos-sale .pos-checkout-dialog.maximized .pos-checkout{max-height:100dvh;padding:10px;height:100%}.pos-checkout-dialog #finish-sale{grid-template-columns:1fr;gap:6px}.pos-customer-column{padding-right:0;border:0}.pos-sale .pos-checkout-dialog #finish-sale .field{margin-bottom:6px}.pos-checkout-dialog .pos-payment-column{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}.pos-payment-column .pos-total,.pos-payment-column .pos-agreed{grid-column:1/-1}.pos-sale .pos-checkout-dialog #pos-charge,.pos-sale .pos-checkout-dialog #pos-charge-only{position:static}.pos-confirm-actions{bottom:0;z-index:3}.pos-sale .pos-checkout-dialog .pos-client-block{padding:6px}.pos-sale .pos-checkout-dialog .pos-selected-client b{font-size:13px}}
/* Menú organizado en listas desplegables */
.nav-group{margin:2px 0;color:#dce8ef}.nav-group summary{list-style:none;display:flex;align-items:center;gap:7px;padding:11px 12px;cursor:pointer;border-radius:10px;font-size:14px;font-weight:700}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:hover,.nav-group.contains-active>summary{background:#173f5c}.nav-group .nav-chevron{margin-left:auto;transition:transform .15s}.nav-group[open] .nav-chevron{transform:rotate(180deg)}.nav-children{margin:3px 0 7px 15px;padding-left:6px;border-left:1px solid #527088}.nav .nav-children button{font-size:12px;padding:9px 10px}.menu-folded .nav-group summary{justify-content:center;padding:10px 3px;font-size:20px}.menu-folded .nav-chevron,.menu-folded .nav-children{display:none}
@media(max-width:720px){.side .nav{display:block;max-height:38vh;overflow:auto}.nav-group summary{font-size:13px;padding:8px 10px}.nav .nav-children button{display:block;width:100%}.menu-folded .side .nav{display:none}}
.supplier-dialog{border:0;border-radius:16px;width:min(800px,calc(100vw - 24px));max-height:92dvh;padding:20px;color:#203248;box-shadow:0 20px 70px #08233c77}.supplier-dialog::backdrop{background:#09223999}.supplier-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.supplier-dialog h2{font-size:20px;margin:0 0 15px}.supplier-dialog>header button{border:0;border-radius:8px;background:#edf5f9;font-size:22px;padding:3px 10px}.purchase-supplier-name{display:block;color:#54738a;font-size:12px;margin:5px 0}.supplier-dialog .full{grid-column:1/-1}.supplier-dialog .field label{display:block;font-size:12px;margin-bottom:5px}
