/* SYBET Garage — pantalla de inventario V8.14 */
.garage-stock{max-width:1160px;margin:auto;color:#202630}.gs-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 19px}.gs-heading h2{font-size:29px;letter-spacing:-.04em;margin:10px 0 5px}.gs-heading p{margin:0;max-width:700px;color:#697380;font-size:13px;line-height:1.6}
.garage-notice{min-height:20px;font-size:12px;margin-bottom:9px;color:#52606f}.garage-notice:empty{display:none}.garage-notice.bad{color:#9e1b2d;background:#fff0f2;border-radius:10px;padding:10px}.garage-notice.ok:not(:empty){color:#166743;background:#eefbf5;border-radius:10px;padding:10px}
.gs-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.gs-cards article{background:white;border:1px solid #e5e8eb;border-radius:16px;padding:18px}.gs-cards span{display:block;color:#6c7580;font-size:11px;font-weight:650;margin-bottom:9px}.gs-cards strong{font-size:29px;letter-spacing:-.04em}
.gs-toolbar{display:flex;align-items:end;gap:10px;padding:17px;background:#fff;border:1px solid #e3e6eb;border-radius:17px 17px 0 0}.gs-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#525c65;font-weight:700}.gs-search{flex:2;min-width:190px}.gs-filter{flex:1;min-width:150px}.gs-toolbar input,.gs-toolbar select{height:41px;padding:10px 12px;border:1px solid #dbe0e6;border-radius:9px;font:inherit;color:#202630;background:#fff;min-width:0;width:100%}.gs-toolbar .btn{white-space:nowrap;min-height:41px}
.gs-table{overflow:auto;border:1px solid #e3e6eb;border-top:0;background:#fff;border-radius:0 0 17px 17px}.gs-table table{border-collapse:collapse;width:100%;min-width:740px}.gs-table th{text-align:left;font-size:10px;letter-spacing:.06em;color:#6d737b;text-transform:uppercase;background:#fafbfc;padding:13px 15px}.gs-table td{padding:15px;border-top:1px solid #eff0f2;font-size:12px;vertical-align:middle}.gs-table td strong{font-size:13px}.gs-table td small{display:block;font-size:10px;color:#8a929c;margin-top:5px}.gs-table code{font:11px ui-monospace,monospace;color:#656d78}.gs-table td .btn{font-size:10px;white-space:nowrap;padding:8px}.gs-number{font-size:20px!important}.gs-pill{display:inline-block;font-size:10px;border-radius:50px;font-weight:750;padding:7px 10px;white-space:nowrap}.gs-good{color:#0b6948;background:#e7f7ef}.gs-low{color:#855609;background:#fff3d9}.gs-empty{color:#9f152e;background:#fbe9ec}.gs-none{padding:36px!important;text-align:center;color:#7d838c!important}
.gs-foot{margin-top:16px;background:#fff;border:1px solid #e3e6eb;border-radius:16px;padding:19px}.gs-foot>strong{font-size:15px}.gs-history{margin-top:12px}.gs-history>div{display:flex;justify-content:space-between;border-top:1px solid #edf0f2;padding:10px 0;gap:12px}.gs-history span{font-size:12px}.gs-history small{color:#8a929c;font-size:10px}.gs-history span small{display:block;margin-top:4px}.gs-history p{font-size:12px;color:#8a929c}.gs-help{font-size:11px;line-height:1.6;color:#7b848e;margin:20px 2px}
.gs-overlay{position:fixed;inset:0;background:#0a1019b3;z-index:20050;display:flex;align-items:center;justify-content:center;padding:15px;overflow:auto}.gs-dialog{background:#fff;max-width:640px;width:100%;border-radius:18px;box-shadow:0 22px 90px #0005;padding:23px;max-height:94vh;overflow:auto}.gs-dialog header{display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid #eceff2;padding-bottom:16px;margin-bottom:17px}.gs-dialog header h3{font-size:20px;letter-spacing:-.03em;margin:5px 0}.gs-dialog header small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#a51c30}.gs-dialog header button{border:0;border-radius:10px;background:#f1f2f4;font-size:21px;width:34px;height:34px;cursor:pointer}.gs-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.gs-formgrid label,.gs-scan label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:11px;color:#4b5661}.gs-formgrid .wide{grid-column:1/-1}.gs-formgrid input,.gs-formgrid select,.gs-scan input{border-radius:10px;border:1px solid #dbe0e6;background:white;min-height:43px;padding:10px;font:400 14px system-ui;color:#202630}.gs-dialog-tip{font-size:11px;line-height:1.5;color:#7d8590}.gs-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid #eceff2}.gs-dialog #gsFormMessage{color:#9f2031;font-size:12px}.gs-balance{border-radius:12px;background:#f5f6f8;padding:15px;margin-bottom:20px;font-size:13px}.gs-balance strong{font-size:22px;margin-left:8px}.gs-scan video{max-width:100%;width:100%;height:240px;background:#16191f;border-radius:11px;object-fit:cover}.gs-scan p{font-size:12px;color:#5f6872}.gs-scan label{margin:12px 0}.gs-scan .btn{width:100%}
@media(max-width:920px){.gs-cards{grid-template-columns:1fr 1fr}.gs-toolbar{flex-wrap:wrap}.gs-toolbar .btn{flex:1}}@media(max-width:600px){.gs-heading{display:block}.gs-heading .btn{width:100%;margin-top:16px}.gs-cards{gap:8px}.gs-cards article{padding:13px}.gs-cards strong{font-size:23px}.gs-search,.gs-filter{flex:auto;width:100%}.gs-toolbar .btn{flex:1}.gs-formgrid{grid-template-columns:1fr}.gs-history>div{display:block}}

/* Escáner de almacén V8.17 */
.gs-fast .gs-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.gs-fast .gs-mode button{min-height:52px;border:1px solid #dce1e6;border-radius:12px;background:#f4f6f8;color:#333b45;font-weight:750;font-size:13px;cursor:pointer}
.gs-fast .gs-mode button.gs-mode-active{color:white;background:#1c232b;border-color:#1c232b}
.gs-fast-config{display:grid;grid-template-columns:180px 1fr;gap:14px;align-items:end}
.gs-fast-config label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:12px;color:#303841}
.gs-fast-config input[type=number]{height:44px;border:1px solid #dce1e6;border-radius:10px;padding:9px 12px;font-size:16px}
.gs-fast-config .gs-fast-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;padding:9px 0;line-height:1.45}
.gs-fast-config .gs-fast-toggle input{width:18px;height:18px;flex-shrink:0;accent-color:#c51e37}
.gs-mode-note{padding:12px 13px;border:1px solid #c2e8d8;background:#eaf9f2;color:#0b6242;border-radius:11px;font-size:12px;font-weight:750;margin:15px 0 10px}
.gs-mode-note.gs-mode-out{border-color:#f3c2cc;background:#fff0f3;color:#962139}
.gs-fast .gs-video-wrap{margin-top:10px}.gs-fast .gs-video-wrap .btn{margin-top:9px}
.gs-fast .gs-scan-info{font-weight:650;color:#55616e}
.gs-fast .gs-scan-result{margin-top:14px;padding:15px;background:#f5f7f9;border:1px solid #e3e7eb;border-radius:11px;font-size:13px;line-height:1.5}
.gs-fast .gs-scan-result strong{font-size:14px}.gs-fast .gs-scan-result p{margin:7px 0}.gs-fast .gs-scan-result .btn{margin-top:9px}
.gs-fast .gs-scan-result.gs-scan-error{border-color:#efb3c2;background:#fff1f3}
.gs-fast .gs-scan-result .gs-success{color:#15704a}
.gs-fast .gs-scan-small{font-size:11px;line-height:1.5;margin:13px 0 0;color:#687380}
@media(max-width:600px){.gs-fast-config{grid-template-columns:1fr}}

/* V8.23 · barcode-first — mismo sistema y branding SYBET */
.gs-banner{background:#f5f7fa;border:1px solid #dfe5ed;border-radius:14px;padding:15px 16px;margin:0 0 18px}
.gs-banner strong{font-size:14px;color:#202630}
.gs-banner p{margin:7px 0 0;font-size:12px;color:#5f6b78;line-height:1.6}
.gs-scan-security{background:#f3f9f5;border:1px solid #d6e9da;border-radius:11px;padding:10px 12px;min-height:58px}
.gs-scan-security b{font-size:12px;color:#146447;display:block}
.gs-scan-security small{display:block;font-size:11px;color:#597568;margin-top:3px}
.gs-qty-controls{display:flex;align-items:center;gap:6px;width:100%}
.gs-qty-controls input{width:100%;min-width:68px;text-align:center;font-weight:800;font-size:17px!important}
.gs-fast .gs-qty-controls button{width:43px;height:44px;border:1px solid #dee3e9;border-radius:9px;background:#f7f8fa;font-size:20px;font-weight:800;color:#1b222c;cursor:pointer;flex-shrink:0}
.gs-fast .gs-scan-result{margin:14px 0 11px;min-height:83px;border-radius:13px;padding:17px}
.gs-fast .gs-scan-result strong{font-size:16px;display:block;margin-bottom:5px}
.gs-fast .gs-scan-result p{font-size:13px;line-height:1.55}
.gs-fast .gs-scan-result b{font-size:16px;color:#1c2531}
.gs-fast .gs-scan-result .btn{margin-top:12px;min-height:47px}
.gs-fast #gsScanStatus{min-height:18px}
.gs-fast .gs-mode button.gs-mode-active{background:#c71c39;border-color:#c71c39;color:#fff}
.gs-file-label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#374151}
.gs-file-label input{font-size:13px;border:1px solid #dfe5ed;padding:14px;border-radius:10px;max-width:100%}
.gs-preview-import{background:#f7f9fb;border:1px solid #e3e8ef;border-radius:12px;padding:14px;margin:15px 0;line-height:1.5;font-size:12px;max-height:240px;overflow:auto}
.gs-preview-import strong{font-size:15px}
.gs-preview-import p{font-size:12px}
.gs-catalog-sample{margin-top:10px}
.gs-catalog-sample div{border-top:1px solid #e1e7ed;padding:7px 0}
.gs-catalog-sample code{display:block;color:#697380;margin-top:3px}
@media(max-width:600px){
 .gs-heading h2{font-size:25px}
 .gs-dialog{padding:20px 17px}
 .gs-fast .gs-mode button{font-size:13px}
 .gs-qty-controls{gap:5px}
 .gs-fast-config{gap:8px}
 .gs-fast .gs-scan-result{padding:16px}
}

/* V8.24 acciones principales, alta sin etiqueta */
.gs-first-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 20px}.gs-first-actions button{display:flex;text-align:left;align-items:center;gap:17px;border:1px solid #dce1e8;border-radius:16px;padding:21px;background:white;color:#1d242e;cursor:pointer;box-shadow:0 6px 18px #10182009}.gs-first-actions button:first-child{border-color:#cd2440;background:#fff9fa}.gs-first-actions button:hover{border-color:#c31e39}.gs-first-actions strong{display:block;font-size:17px;line-height:1.3}.gs-first-actions small{display:block;color:#626d78;font-size:12px;line-height:1.5;margin-top:5px}.gs-big-icon{font-size:29px;color:#c71d3b;min-width:35px}.gs-internal-help{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.gs-internal-help small{line-height:1.5;color:#68717e;font-size:11px}@media(max-width:720px){.gs-first-actions{grid-template-columns:1fr}.gs-first-actions button{padding:16px}}
