:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#182c40;background:#f3f6f9;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:11px 16px;background:#e8eef4;color:#183047;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #328cf1;outline-offset:3px}aside{width:225px;position:fixed;inset:0 auto 0 0;background:#112437;color:#fff;padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;margin-bottom:48px}.brand span{display:inline-grid;place-items:center;background:#5de3af;color:#112437;width:36px;height:36px;border-radius:10px;margin-right:7px}aside small{font-size:12px;letter-spacing:1.5px;color:#a5b7c8;margin:0 12px 15px}nav{display:grid;gap:8px}nav button{text-align:left;background:transparent;color:#b9cbdc;padding:14px;font-weight:500}nav button.active{background:#254057;color:#fff;box-shadow:inset 3px 0 #5de3af}nav b{display:inline-block;width:30px;font-weight:400}.aside-bottom{margin-top:auto;font-size:14px;line-height:1.7;color:#b9cbdc}.aside-bottom span{font-size:12px;color:#8198ad}main{margin-left:225px;padding:35px 38px;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{font-size:12px;letter-spacing:2px;color:#64778b}h1{font-size:30px;margin:8px 0 0;letter-spacing:-1px}h2{font-size:20px;margin:0 0 16px}h3{font-size:16px;margin:0 0 10px}.badge{font-size:12px;font-weight:700;letter-spacing:1px;border:1px solid #c1cddd;border-radius:30px;padding:9px 13px;color:#53697c}.notice{font-size:14px;color:#51657a;background:#e7edf4;border-radius:8px;padding:12px 16px;margin-bottom:25px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid #e0e7ee;border-radius:14px;padding:22px;margin-bottom:20px}.metric{font-size:29px;letter-spacing:-1px;font-weight:700;margin:12px 0 6px}.muted,small{color:#667b8d}.muted{font-size:14px;line-height:1.6}p{line-height:1.6}.split{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}input,select{border:1px solid #cad5df;border-radius:8px;padding:11px 12px;background:white;min-width:0;color:#182c40}input.search{width:min(100%,440px)}.primary{background:#126a52;color:white}.wide{width:100%}.products{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.product{background:white;border:1px solid #dce5ed;border-radius:10px;text-align:left;display:flex;flex-direction:column;gap:9px;padding:17px}.product .icon{width:35px;height:35px;border-radius:9px;background:#e5f4ee;display:grid;place-items:center;color:#146b54;font-size:14px}.product strong{font-size:18px}.product small{font-size:13px;font-weight:400}.row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #e8eef3}.qty{display:flex;gap:8px;align-items:center}.qty button{padding:4px 10px}.total{font-size:30px;font-weight:750}.pill{font-size:12px;font-weight:600;border-radius:25px;padding:5px 9px;background:#e3f5ec;color:#176347;white-space:nowrap}.amber{background:#fff0d8;color:#8a5700}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}th{text-align:left;color:#6a7e8f;font-size:12px;letter-spacing:.5px;text-transform:uppercase;background:#f7f9fb}th,td{padding:15px 12px;border-bottom:1px solid #e5ecf2}td strong{font-size:14px}td button{font-size:13px;padding:7px 10px}.empty{padding:35px 15px;text-align:center;color:#748696;line-height:1.8}.section-top{margin-bottom:22px}.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.steps .card{margin:0}.step-number{font-size:13px;color:#127557;letter-spacing:1px;font-weight:700;margin-bottom:15px}.steps ul{padding-left:20px;line-height:1.9;font-size:14px}dialog{border:0;border-radius:16px;width:460px;max-width:95vw;padding:26px;color:#182c40}dialog::backdrop{background:#10233988}.dialog-head{display:flex;justify-content:space-between;align-items:center}.ghost{background:transparent}label{display:grid;gap:7px;font-size:14px;margin-bottom:16px}#error{color:#b33232;font-size:14px}#toast{position:fixed;bottom:25px;right:25px;background:#112437;color:#fff;padding:15px 22px;border-radius:10px;display:none;z-index:10}.bar{height:9px;border-radius:8px;background:#e7eef3;margin:9px 0 20px}.bar span{display:block;height:100%;background:#23a57c;border-radius:8px}.dark{background:#112437;color:white}.dark .muted{color:#b3c7d8}.dark .metric{color:#5de3af}@media(max-width:1100px){main{padding:26px 22px}.split{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:100%;padding:17px}.brand{margin-bottom:15px;font-size:22px}aside small,.aside-bottom{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap;padding:10px;font-size:14px}nav b{display:none}main{margin:0;padding:22px 16px}h1{font-size:26px}.badge{font-size:10px;padding:7px}.grid,.steps{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:17px}.product{padding:12px}.product strong{font-size:16px}}
/* Punto de venta: superficie compacta de mostrador. */
.pos-mode{background:#f7f9fb;color:#34465e}.pos-mode aside{position:static;width:100%;height:54px;flex-direction:row;align-items:center;padding:0 18px;background:#fff;color:#34465e;border-bottom:1px solid #e3eaf2;gap:24px}.pos-mode .brand{font-size:18px;letter-spacing:-.5px;margin:0;white-space:nowrap}.pos-mode .brand span{width:26px;height:26px;font-size:18px;border-radius:6px;background:#0863ed;color:#fff}.pos-mode aside small,.pos-mode .aside-bottom{display:none}.pos-mode nav{display:flex;gap:3px;overflow:auto;align-items:center}.pos-mode nav button{padding:9px 11px;color:#60718a;font-size:13px;white-space:nowrap}.pos-mode nav button.active{box-shadow:none;background:#edf4ff;color:#0963ea}.pos-mode nav b{display:none}.pos-mode main{margin:0;max-width:none;padding:6px 8px 8px}.pos-mode main>header{display:none}.pos-mode .notice{margin:0 0 6px;padding:5px 8px;background:transparent;color:#77879a;font-size:12px;line-height:1.4}.pos-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,29%);gap:15px;height:calc(100dvh - 97px);min-height:540px}.pos-catalog{display:flex;flex-direction:column;min-width:0;min-height:0}.pos-tools{display:flex;gap:8px;margin-bottom:14px;flex:none;height:54px}.pos-search,.pos-switch{background:#fff;border:1px solid #e0e7f0;border-radius:8px;box-shadow:0 1px 3px #1b36520a;display:flex;align-items:center}.pos-search{flex:1;min-width:0;padding:0 11px;gap:9px}.pos-search>svg{width:24px;height:24px;color:#297bff;flex:none}.pos-search input{border:0;padding:12px 0;width:100%;outline:none;font-size:18px}.pos-search input::placeholder{font-size:16px;color:#94a0af}.pos-search:focus-within{border-color:#3983f6;box-shadow:0 0 0 2px #0863ed13}.pos-search .pos-icon{border-left:1px solid #e1e7ee;border-radius:0;margin-left:2px;padding-left:13px}.pos-mode kbd{font:600 10px ui-monospace,monospace;color:#7a8b9e;background:#f1f5f9;padding:6px;border-radius:5px;white-space:nowrap}.pos-switch{padding:4px;gap:3px}.pos-icon{padding:9px;background:transparent;color:#63758a;display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:32px;height:36px;border-radius:6px}.pos-icon svg{width:18px;height:18px}.pos-icon:hover{background:#f0f5fc}.pos-switch .pos-icon{height:44px;width:43px}.pos-switch .selected{background:#0863ed;color:white}.pos-switch .filtered{color:#0863ed;background:#eef5ff}.pos-results{flex:1;min-height:0;overflow:auto;border:1px solid #e0e7f0;border-radius:8px;background:white;scrollbar-width:thin;scrollbar-color:#cbd7e4 transparent}.pos-table{width:100%;border-collapse:collapse;table-layout:fixed;white-space:normal}.pos-table thead{position:sticky;top:0;z-index:1}.pos-table th{height:58px;background:#f7f9fc;font-size:11px;color:#7e8da0;letter-spacing:.7px;font-weight:500;border-bottom:1px solid #e4ebf3;padding:12px}.pos-table th:first-child{width:53%;padding-left:66px}.pos-table th:nth-child(2){width:12%}.pos-table th:nth-child(3){width:15%;text-align:right}.pos-table th:nth-child(4){width:16%;text-align:right}.pos-table th:last-child{width:4%;padding:0}.pos-table td{height:58px;padding:0 12px;font-size:12px;border-bottom:1px solid #f0f4f9;color:#76869a}.pos-table td:first-child{padding:0 0 0 13px}.pos-table td:nth-child(3),.pos-table td:nth-child(4){text-align:right;white-space:nowrap}.pos-table td:last-child{padding:0 6px 0 0}.pos-table td:last-child .pos-icon{min-width:22px;padding:3px}.pos-table td:last-child svg{width:14px;height:14px}.pos-table tr:hover td{background:#f8fbff}.pos-table tr.in-cart td:first-child{box-shadow:inset 3px 0 #0863ed}.pos-product-name{display:flex;align-items:center;gap:12px;padding:7px 0;background:transparent;text-align:left;font-size:14px;font-weight:400;color:#34465e;width:100%;text-transform:uppercase;line-height:1.4}.pos-avatar{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#14677b;color:white;font-size:13px;font-weight:500;flex:none;position:relative}.shade-1{background:#105779}.shade-2{background:#4a5b71}.shade-3{background:#202d42}.shade-0{background:#146b7b}.pos-counter{position:absolute;right:-5px;top:-5px;background:#0765ef;color:#fff;border:2px solid #fff;border-radius:15px;min-width:19px;height:19px;padding:1px 3px;font-size:10px;display:grid;place-items:center}.pos-price{padding:14px 0;background:transparent;font-weight:400;color:#34465e;white-space:nowrap;font-size:15px}.pos-table td.pos-stock{color:#19a77e;font-size:13px}.pos-table td.pos-out{color:#f04451;font-size:13px}.pos-catalog-foot{display:flex;justify-content:space-between;padding:8px 4px 0;font-size:12px;color:#8c9aab;gap:10px}.pos-sale{background:#fff;border:1px solid #e4eaf1;box-shadow:0 2px 5px #18304b06;border-radius:9px;display:flex;flex-direction:column;min-height:0;min-width:0}.pos-sale-head{height:61px;display:flex;align-items:center;gap:5px;padding:10px 13px;border-bottom:1px solid #e5ebf4;flex:none}.pos-sale-head h2{font-size:16px;font-weight:500;margin:0 auto 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-hold{background:#fff8ee;color:#df8032;border:1px solid #ffdab3;display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:13px;font-weight:400;white-space:nowrap}.pos-hold svg{width:14px;height:14px}.pos-icon.danger{color:#fc6b79;background:#fff8f8;border:1px solid #ffd6dc;width:35px}.pos-sale-meta{padding:12px 15px 0;flex:none}.pos-customer{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;background:#f1f5fa;border:1px solid #d1deef;border-radius:8px;text-align:left;color:#667b91;font-weight:400}.pos-customer svg,.pos-document svg{width:19px;height:19px;flex:none}.pos-customer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.pos-customer b{color:#3e86ff;font-size:12px;font-weight:500;margin-left:auto}.pos-document{border:1px solid #d1deef;border-radius:8px;padding:8px 12px;display:flex;align-items:center;gap:10px;margin-top:9px}.pos-document>div{display:grid;gap:3px}.pos-document small{font-size:10px;color:#8b9bb0;letter-spacing:.4px}.pos-document span{font-size:14px}.pos-document .pill{font-size:10px;margin-left:auto;background:#f2f5f9;color:#7a8ba0;padding:4px 6px}.pos-session{display:flex;align-items:center;justify-content:space-between;margin:10px 0 11px;color:#98a3b1;font-size:11px}.pos-session button{padding:4px 0;background:none;color:#4b83c8;font-size:12px;font-weight:400}.pos-sale #cart{display:flex;flex-direction:column;flex:1;min-height:0}.pos-items{flex:1;min-height:0;overflow:auto;border-top:1px solid #e4ebf4}.pos-line{border-bottom:1px solid #f0f3f7;padding:12px 13px}.pos-line-main{display:flex;align-items:center;gap:10px}.pos-line .pos-avatar{width:37px;height:37px;font-size:12px}.pos-item-title{padding:0;min-width:0;flex:1;text-align:left;font-weight:400;color:#34465e;background:none;display:grid;gap:6px}.pos-item-title>span{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.pos-item-title small{font-size:12px;color:#8293a5;white-space:nowrap}.pos-line-main>strong{font-weight:500;font-size:14px;white-space:nowrap}.pos-line-main>.pos-icon{width:24px;min-width:24px;padding:4px;height:32px}.pos-item-edit{display:flex;justify-content:space-between;align-items:center;padding:13px 0 0 47px;font-size:12px;color:#7a8c9e}.pos-item-edit input{width:62px;text-align:center;font-size:14px;padding:6px}.pos-item-edit button{background:#eff5fc;color:#3776c8}.pos-sale-footer{flex:none;border-top:1px solid #e4ebf4;padding:14px 15px 13px}.pos-subtotal{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}.pos-subtotal>span{display:flex;gap:9px;align-items:center}.pos-subtotal b{font-size:10px;font-weight:500;background:#26324a;color:#fff;border-radius:20px;padding:5px 8px}.pos-subtotal>strong{font-weight:400;font-size:15px}.pos-discount{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 0 12px;background:transparent;color:#4289ff;font-size:15px;font-weight:400;gap:6px}.pos-discount kbd{font-size:9px;padding:4px}.pos-discount-line{display:flex;justify-content:space-between;font-size:13px;color:#219171;margin-top:10px}.pos-sell{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#0862ec;color:white;text-align:left;padding:17px 20px;border-radius:8px;min-height:74px}.pos-sell>span{font-size:20px;font-weight:500;display:grid;gap:4px}.pos-sell small{color:#dceaff;font-size:11px;font-weight:400}.pos-sell strong{font-size:28px;font-weight:500;white-space:nowrap;letter-spacing:-.7px}.pos-sell:disabled{opacity:.55}.pos-empty{height:100%;min-height:155px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#a8b5c4;text-align:center;padding:20px}.pos-empty svg{width:35px;height:35px;margin-bottom:15px;stroke-width:1.2}.pos-empty h3{font-size:15px;font-weight:400;margin:0 0 7px;color:#899aad}.pos-empty p{font-size:13px;line-height:1.7;margin:0}.pos-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px}.pos-tile{display:flex;flex-direction:column;align-items:flex-start;gap:14px;background:#fff;border:1px solid #e3eaf3;text-align:left;padding:17px;font-size:14px;font-weight:400}.pos-tile.in-cart{border-color:#478aff;background:#f7faff}.pos-tile strong{font-size:14px;font-weight:500}.pos-tile small{font-size:11px}.pos-tile b{font-size:19px;font-weight:500;color:#0862ec}.pos-checkout-total{font-size:32px;color:#0862ec;margin:10px 0 24px}.pos-mode dialog .primary{background:#0862ec}.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}@media(min-width:1500px){.pos-shell{grid-template-columns:minmax(0,1fr) 430px}.pos-table td{height:65px}}@media(max-width:1100px){.pos-shell{grid-template-columns:minmax(0,1fr) 365px;gap:10px}.pos-table th:first-child{width:45%}.pos-table th:nth-child(2){width:13%}.pos-table th:nth-child(3){width:18%}.pos-table th:nth-child(4){width:20%}.pos-product-name{font-size:12px;gap:8px}.pos-price{font-size:13px}.pos-table th{padding:8px}.pos-table td{padding:0 8px}.pos-table td.pos-stock{font-size:12px}.pos-sale-head h2{font-size:14px}.pos-switch .pos-icon{width:34px}.pos-search kbd{display:none}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-mode aside{gap:14px}.pos-mode nav button{padding:8px;font-size:12px}}@media(max-width:820px){.pos-mode aside{height:auto;min-height:54px;flex-wrap:wrap;gap:8px;padding:12px}.pos-mode nav{width:100%}.pos-shell{height:auto;min-height:0;grid-template-columns:1fr}.pos-results{max-height:420px;min-height:280px}.pos-sale{min-height:480px}.pos-items{max-height:340px;min-height:180px}.pos-sale-head h2{font-size:17px}.pos-mode main{padding:8px}.pos-search input{font-size:16px}.pos-search input::placeholder{font-size:13px}.pos-table{min-width:570px}.pos-product-name{font-size:13px}.pos-sale-footer{position:sticky;bottom:0;background:white;border-radius:0 0 8px 8px}.pos-tools{margin-bottom:9px}.pos-discount kbd{display:none}}@media(prefers-reduced-motion:no-preference){.pos-sell,.pos-icon,.pos-tile{transition:background .15s,filter .15s}}
.catalog-card{padding:24px}.catalog-card .search{margin-bottom:22px}.catalog-product{display:flex;align-items:center;gap:12px}.catalog-product strong{white-space:normal;display:inline-block;min-width:160px;max-width:250px;line-height:1.45}.catalog-product .pos-avatar{width:46px;height:46px}.product-photo{display:block;width:100%;height:100%;object-fit:contain;background:white;border-radius:5px}.product-dialog{width:860px;max-height:92dvh;padding:0}.product-dialog .dialog-head{padding:22px 26px;border-bottom:1px solid #e3eaf2;position:sticky;top:0;background:#fff;z-index:3}.product-dialog .dialog-head h2{margin:0}.product-dialog #fields{padding:24px 26px 0}.product-editor section{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #e5ebf2}.product-editor h3{font-size:17px;color:#17364f;margin-bottom:20px}.product-fields{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.product-fields label{font-size:14px;align-content:start;position:relative}.product-fields label>small{position:absolute;right:0;font-size:12px}.product-fields input,.product-fields select{width:100%;height:44px}.select-plus{display:flex;gap:7px}.select-plus select{flex:1;min-width:0}.select-plus button{width:43px;height:44px;flex:none;font-size:24px;padding:0;background:#eaf3ff;color:#0863ed;border:1px solid #cdddF6}.price-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cost-breakdown{display:flex;gap:25px;flex-wrap:wrap;background:#eff6fc;border:1px solid #dce9f4;padding:15px;border-radius:8px;font-size:14px}.cost-breakdown strong{color:#126a52}.product-dialog #error{padding:0 26px}.product-dialog #form>button[type=submit]{margin:0 26px 24px;float:right}.product-dialog #form:after{content:'';display:block;clear:both}.image-editor{display:grid;grid-template-columns:125px 1fr;gap:20px;align-items:center;margin-top:24px}.image-editor label{margin:0 0 12px}.image-editor input{font-size:13px;max-width:100%;padding:8px}.image-editor p{margin-bottom:0}#product-image-preview{width:125px;height:125px;border:1px dashed #bdcddd;border-radius:12px;display:grid;place-items:center;color:#8394a5;font-size:14px;background:#f7f9fc;overflow:hidden}#product-image-preview img{width:100%;height:100%;object-fit:contain}.product-info-photo{height:100px;width:100px;border:1px solid #e1e7ef;border-radius:9px;overflow:hidden;display:grid;place-items:center}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}#classification-error{color:#b33232;font-size:14px}.pos-tile .pos-avatar:has(img){width:72px;height:72px}.pos-table th:nth-child(3){width:17%}.pos-table th:first-child{width:51%}.pos-table td.pos-stock{white-space:normal;line-height:1.4}.pos-item-edit input{width:80px}@media(max-width:700px){.product-fields,.price-fields{grid-template-columns:1fr 1fr}.product-dialog #fields{padding:18px}.product-dialog .dialog-head{padding:18px}.cost-breakdown{gap:10px}.image-editor{grid-template-columns:90px minmax(0,1fr);gap:12px}#product-image-preview{width:90px;height:90px}}@media(max-width:420px){.product-fields{grid-template-columns:1fr}.image-editor{grid-template-columns:1fr}}
.action-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stock-summary{display:flex;flex-wrap:wrap;gap:28px;margin:0 0 22px;padding:18px 22px;background:#eaf0f6;border-radius:10px;font-size:14px}.stock-red{color:#c62e3c!important}.stock-green{color:#118053!important}.stock-value{font-size:19px}.inventory-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;border-bottom:1px solid #e4eaf1;margin-bottom:15px}.inventory-filters label{font-size:13px}.inventory-filters select,.inventory-filters input{width:100%}.stock-selection button{font-size:12px;padding:7px 10px;background:#f0f5f9}.stock-selection{margin-bottom:8px}.wide-dialog{width:1000px;max-width:95vw;max-height:92dvh}.wide-dialog table{font-size:13px}.wide-dialog td{white-space:normal;max-width:300px;line-height:1.5}.wide-dialog input[type=number]{width:125px}textarea{font:inherit;border:1px solid #cad5df;border-radius:8px;padding:10px;width:100%;resize:vertical;min-height:70px;color:#182c40}textarea:focus-visible{outline:3px solid #328cf1;outline-offset:2px}.product-picker{display:flex;gap:10px;margin:0 0 18px;max-width:700px}.product-picker input{flex:1;min-width:0}.product-picker button{flex:none}.purchase-tabs{display:flex;gap:5px}.purchase-header-fields{display:grid;grid-template-columns:2fr 1fr 1.5fr 1.3fr;gap:16px}.purchase-header-fields select,.purchase-header-fields input{width:100%;min-width:0}.purchase-freight{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:20px}.purchase-freight select,.purchase-freight input{width:100%}#purchase-totals{background:#edf5f1;border:1px solid #cfe5d9;border-radius:10px;padding:17px;display:grid;gap:10px;font-size:14px}#purchase-totals>div{display:flex;justify-content:space-between;gap:12px}#purchase-totals>div:last-child{padding-top:9px;border-top:1px solid #cadfd3;font-size:17px}.check-label{display:flex;align-items:center;gap:10px;line-height:1.5;font-size:14px}.check-label input{width:17px;height:17px;flex:none;accent-color:#126a52}.purchase-submit{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}#purchase-error{color:#b33232;font-size:14px}#purchase-lines input{width:135px}#purchase-lines table td:first-child{white-space:normal;min-width:180px}.label-field-options{display:flex;gap:10px 24px;flex-wrap:wrap}.label-preview{background:white;border:1px dashed #8f9faf;border-radius:0;padding:16px;margin:5px auto 22px;width:300px;max-width:100%;display:grid;gap:6px;color:#111;font-family:Arial,sans-serif}.label-preview>b{font-size:30px;line-height:1.3}.label-preview>small{font-size:10px}.label-preview>strong{font-size:14px}.label-preview>span{font-size:11px;color:#555}.label-preview>small:last-child{font-size:8px}@media(max-width:1050px){.inventory-filters,.purchase-header-fields{grid-template-columns:1fr 1fr}.purchase-freight{grid-template-columns:1fr 1fr}#purchase-totals{grid-column:1/-1}.purchase-submit{flex-wrap:wrap}}@media(max-width:600px){.inventory-filters,.purchase-header-fields,.purchase-freight{grid-template-columns:1fr}.stock-summary{gap:15px}.product-picker{flex-direction:column}.purchase-tabs{width:100%}.purchase-tabs button{flex:1}.purchase-submit button{width:100%}.wide-dialog{padding:18px}.label-field-options{gap:0 15px}}
.rounding-controls{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin-bottom:12px;padding:15px;background:#f6f9fc;border:1px solid #e0e9f2;border-radius:8px}.rounding-controls label{margin:0;font-size:13px}.rounding-controls button{height:44px}.rounding-controls select{width:100%;min-width:0}.purchase-rounding{grid-template-columns:1fr 1fr 1fr;margin-top:20px}#purchase-price-preview{margin:20px 0;padding:18px 0;border-top:1px solid #e1e9ef;border-bottom:1px solid #e1e9ef}#purchase-price-preview h3{font-size:15px}@media(max-width:700px){.rounding-controls,.purchase-rounding{grid-template-columns:1fr}.rounding-controls button{width:100%}}
.brand{display:flex;align-items:center;gap:9px;min-width:0}.brand>span{flex:none;margin-right:0}.brand>b{overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:21px;letter-spacing:-.4px}.brand>img{width:38px;height:38px;object-fit:contain;border-radius:6px;background:#fff;flex:none}.pos-mode .brand{max-width:220px;flex-shrink:0}.pos-mode .brand>b{font-size:18px}.pos-mode .brand>img{width:30px;height:30px}.business-settings{max-width:980px}.business-settings .card>h2{margin-bottom:8px}.business-settings .product-fields{margin-top:24px}.business-image{margin:12px 0 25px}#business-logo-preview{width:125px;height:125px;display:grid;place-items:center;overflow:hidden;background:#f7f9fc;border:1px dashed #b7c7d7;border-radius:10px;font-size:13px;color:#7b8da0}#business-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}#business-error{color:#b33232}.receipt-dialog{width:1000px;max-width:96vw;max-height:94dvh}.receipt-actions{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 16px}.receipt-actions button{font-size:14px}.receipt-frame{display:block;width:100%;height:60dvh;border:1px solid #d1dce8;border-radius:6px;background:#edf0f4}.receipt-dialog .dialog-head{margin-bottom:12px}.pos-session{flex-wrap:wrap;gap:8px}.pos-session button:last-child{white-space:nowrap}.business-settings .purchase-submit .muted{max-width:550px}.business-settings input,.business-settings textarea{max-width:100%}@media(max-width:700px){.receipt-frame{height:55dvh}.receipt-dialog{padding:16px}.receipt-actions button{width:100%}.pos-mode .brand{max-width:100%}.business-image{grid-template-columns:1fr}.business-settings .purchase-submit button{width:100%}}
.sales-filters{grid-template-columns:repeat(5,minmax(130px,1fr))}.danger{color:#b42318;border-color:#f0b5af;background:#fff5f4}#purchase-lines input{min-width:100px}#purchase-lines td:first-child{min-width:180px}@media(max-width:1000px){.sales-filters{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:520px){.sales-filters{grid-template-columns:1fr}}
body.auth-locked>aside,body.auth-locked>main,body.auth-locked>#account-bar{display:none!important}#auth-screen:empty{display:none}#auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#112437;width:100%}.login-card{width:min(100%,440px)}.login-card h1{font-size:26px}.login-symbol{display:inline-grid;place-items:center;background:#5de3af;color:#112437;width:48px;height:48px;border-radius:12px;font-size:28px;font-weight:bold}#login-error,#password-error{color:#b42318}#account-bar{position:relative;grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 24px;background:#112437;color:white}#account-bar[hidden]{display:none}#account-bar button{font-size:14px}.permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audit-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-width:480px;font-size:13px}body.auth-locked{display:block}#classification-dialog{max-width:440px}#purchase-lines input{max-width:150px}@media(max-width:700px){#account-bar{flex-direction:column;align-items:flex-start;padding:12px}.permissions-grid{grid-template-columns:1fr}}
#account-bar{margin-left:225px}aside{overflow-y:auto}nav{gap:3px}nav button{padding:11px 14px}@media(max-width:900px){#account-bar{margin-left:0}}
