/* =====================================================================================================
   GESMART pos_01: Ventas > Punto de venta (POS) tactil. Todo bajo .gs-pos (claro y oscuro con body.theme-dark).
   ===================================================================================================== */
.gs-pos {
    --p-bg: var(--g-bg2, #eef0f7); --p-panel: #ffffff; --p-panel2: #f6f7fc; --p-line: var(--g-border2, #dde1ee);
    --p-fg: var(--g-text, #1b1f33); --p-fg2: var(--g-text2, #4d5470); --p-fg3: var(--g-text3, #8a90a8);
    --p-acc: #5b5bd6; --p-acc-s: rgba(91, 91, 214, .10); --p-acc-fg: #ffffff;
    --p-cash: #0f9d6e; --p-cash-s: rgba(15, 157, 110, .12);
    --p-warn: #b7640b; --p-warn-s: rgba(217, 119, 6, .14); --p-err: #d93a3a; --p-err-s: rgba(217, 58, 58, .12);
    --p-lot: #7c3aed; --p-lot-s: rgba(124, 58, 237, .10);
    background: var(--p-bg); color: var(--p-fg); font-size: 15px;
    display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; height: calc(100vh - 176px); min-height: 560px; /* 100 de cabecera + pestanas, 76 del pie de la pestana: sin scroll de pagina */
}
body.theme-dark .gs-pos {
    --p-bg: var(--g-bg2, #12141f); --p-panel: var(--g-bg3, #1b1e2d); --p-panel2: #222638; --p-line: var(--g-border2, #2f3449);
    --p-acc: #8b8cf6; --p-acc-s: rgba(139, 140, 246, .16); --p-acc-fg: #12141f; --p-cash: #34c796; --p-cash-s: rgba(52, 199, 150, .14);
    --p-warn: #f0a542; --p-warn-s: rgba(240, 165, 66, .15); --p-err: #f06b6b; --p-err-s: rgba(240, 107, 107, .15); --p-lot: #b39cfb; --p-lot-s: rgba(179, 156, 251, .15);
}
/* capas: pantalla completa 1032 < hojas del POS 1036 < modales del sistema (ticket, cliente, caja: 1040/1050) */
.gs-pos.completa { position: fixed; inset: 0; z-index: 1032; height: 100vh; padding: 10px 14px; }
.gs-pos * { box-sizing: border-box; }
.gs-pos button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
.gs-pos button:focus-visible, .gs-pos input:focus-visible { outline: 3px solid var(--p-acc); outline-offset: 2px; }
.gs-pos .num { font-variant-numeric: tabular-nums; }
/* barra superior */
.gs-pos .p-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gs-pos .p-tabs { display: flex; gap: 8px; flex: 1; overflow-x: auto; padding-bottom: 2px; min-width: 0; }
.gs-pos .p-tab { flex: none; min-width: 150px; text-align: left; padding: 7px 12px; border-radius: 12px; background: var(--p-panel); border: 2px solid var(--p-line); display: grid; gap: 1px; }
.gs-pos .p-tab .t1 { font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.gs-pos .p-tab .t2 { font-size: 12px; color: var(--p-fg3); display: flex; justify-content: space-between; gap: 8px; }
.gs-pos .p-tab.on { border-color: var(--p-acc); background: var(--p-acc-s); }
.gs-pos .p-tab .espera { color: var(--p-warn); font-weight: 700; }
.gs-pos .p-tab.nueva { min-width: 120px; place-items: center; border-style: dashed; color: var(--p-acc); font-weight: 800; }
.gs-pos .p-der { display: flex; gap: 8px; flex: none; }
.gs-pos .p-tb { text-align: left; padding: 6px 12px; border-radius: 12px; background: var(--p-panel); border: 1px solid var(--p-line); line-height: 1.25; }
.gs-pos .p-tb small { display: block; font-size: 11.5px; color: var(--p-fg3); font-weight: 700; }
.gs-pos .p-tb b { font-size: 14px; }
.gs-pos .p-caja small::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p-cash); margin-right: 5px; }
.gs-pos .p-caja.cerrada small::before { background: var(--p-err); }
/* cuerpo */
.gs-pos .p-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: 10px; min-height: 0; }
.gs-pos .p-col { background: var(--p-panel); border: 1px solid var(--p-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; overflow: hidden; }
.gs-pos .p-scan { display: flex; gap: 8px; }
.gs-pos .p-scan .in { flex: 1; position: relative; }
.gs-pos .p-scan input { width: 100%; height: 54px; border-radius: 13px; border: 2px solid var(--p-acc); background: var(--p-panel2); color: var(--p-fg); font-weight: 700; font-size: 18px; padding: 0 14px 0 44px; }
.gs-pos .p-scan .in i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--p-acc); font-size: 18px; }
.gs-pos .p-scan button { width: 54px; border-radius: 13px; background: var(--p-acc); color: var(--p-acc-fg); font-weight: 800; font-size: 22px; }
.gs-pos .p-ayuda { font-size: 12.5px; color: var(--p-fg3); }
.gs-pos .p-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; flex: none; }
.gs-pos .p-cats button { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--p-panel2); border: 1px solid var(--p-line); font-weight: 700; font-size: 13.5px; }
.gs-pos .p-cats button.on { background: var(--p-fg); color: var(--p-panel); border-color: var(--p-fg); }
.gs-pos .p-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 138px; gap: 10px; overflow-y: auto; align-content: start; }
.gs-pos .p-prod { text-align: left; border-radius: 13px; border: 1px solid var(--p-line); background: var(--p-panel2); padding: 8px 10px; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 4px; transition: transform .08s; }
.gs-pos .p-prod:active { transform: scale(.97); }
.gs-pos .p-grid.cargando { opacity: .45; pointer-events: none; }
.gs-pos .p-prod[aria-disabled="true"] { opacity: .55; }
.gs-pos .p-prod .foto { width: 100%; height: 48px; flex: none; border-radius: 8px; object-fit: contain; background: #fff; display: block; }
.gs-pos .p-prod .ini { width: 48px; height: 48px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: var(--p-acc-s); color: var(--p-acc); }
.gs-pos .p-prod b { font-size: 12.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.gs-pos .p-prod .pp { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 6px; font-size: 11.5px; color: var(--p-fg3); }
.gs-pos .p-prod .pp .num { font-size: 15px; font-weight: 800; color: var(--p-fg); }
.gs-pos .p-prod .bajo { color: var(--p-warn); font-weight: 700; }
.gs-pos .p-prod .sin { color: var(--p-err); font-weight: 700; }
.gs-pos .p-mas { grid-column: 1 / -1; padding: 10px; border-radius: 12px; border: 1px dashed var(--p-line); color: var(--p-acc); font-weight: 800; }
.gs-pos .p-vacio { margin: auto; text-align: center; color: var(--p-fg3); padding: 24px 8px; line-height: 1.5; }
.gs-pos .p-vacio b { display: block; color: var(--p-fg2); font-size: 16px; }
/* ticket */
.gs-pos .p-comp { display: flex; gap: 6px; flex: none; }
.gs-pos .p-comp button { flex: 1; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-panel2); font-weight: 800; font-size: 13px; }
.gs-pos .p-comp button.on { background: var(--p-acc); color: var(--p-acc-fg); border-color: var(--p-acc); }
.gs-pos .p-comp button:disabled { opacity: .4; cursor: not-allowed; }
.gs-pos .p-tkh { display: flex; align-items: center; gap: 8px; flex: none; }
.gs-pos .p-tkh input { flex: 1; min-width: 0; font-weight: 800; font-size: 16px; border: 0; border-bottom: 1px dashed var(--p-line); background: none; color: var(--p-fg); padding: 2px 0; }
.gs-pos .p-lapiz { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--p-acc-s); color: var(--p-acc); font-size: 16px; }
.gs-pos .p-chip { font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 3px 9px; white-space: nowrap; background: var(--p-acc-s); color: var(--p-acc); }
.gs-pos .p-cli { text-align: left; font-size: 12.5px; color: var(--p-fg2); line-height: 1.4; flex: none; }
.gs-pos .p-cli b { color: var(--p-fg); }
.gs-pos .p-lines { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.gs-pos .p-ln { border: 1px solid var(--p-line); border-radius: 12px; padding: 8px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
.gs-pos .p-ln.nuevo { animation: gsPosFlash .6s; }
@keyframes gsPosFlash { from { background: var(--p-acc-s); } to { background: transparent; } }
.gs-pos .p-ln .nm b { font-size: 13.5px; display: block; line-height: 1.25; }
.gs-pos .p-ln .nm small { color: var(--p-fg3); font-size: 12px; }
.gs-pos .p-ln .tot { text-align: right; font-weight: 800; font-size: 15px; }
.gs-pos .p-ln .ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gs-pos .p-qty { display: flex; align-items: center; border: 1px solid var(--p-line); border-radius: 11px; overflow: hidden; }
.gs-pos .p-qty button { width: 40px; height: 38px; font-size: 20px; font-weight: 800; background: var(--p-panel2); }
.gs-pos .p-qty span { min-width: 52px; text-align: center; font-weight: 800; }
.gs-pos .p-lote { border-radius: 10px; padding: 5px 9px; font-size: 12px; font-weight: 700; background: var(--p-lot-s); color: var(--p-lot); text-align: left; line-height: 1.35; }
.gs-pos .p-lote.warn { background: var(--p-warn-s); color: var(--p-warn); }
.gs-pos .p-lote.err { background: var(--p-err-s); color: var(--p-err); }
.gs-pos .p-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--p-panel2); border: 1px solid var(--p-line); font-weight: 800; }
.gs-pos .p-ico.der { margin-left: auto; }
.gs-pos .p-ico.del { color: var(--p-err); }
.gs-pos .p-ico.pct { color: var(--p-acc); }
.gs-pos .p-ico.may.on { background: var(--p-cash); color: #fff; border-color: var(--p-cash); }
.gs-pos .p-tag { font-size: 11px; font-weight: 800; }
.gs-pos .p-tag.may { color: var(--p-cash); }
.gs-pos .p-tag.desc { color: var(--p-acc); }
.gs-pos .p-sum { border-top: 1px dashed var(--p-line); padding-top: 6px; display: grid; gap: 2px; font-size: 13px; color: var(--p-fg2); flex: none; }
.gs-pos .p-sum div { display: flex; justify-content: space-between; }
.gs-pos .p-sum .big { font-size: 15px; color: var(--p-fg); font-weight: 800; }
.gs-pos .p-bolsas { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--p-panel2); border-radius: 12px; padding: 5px 5px 5px 12px; flex: none; }
.gs-pos .p-bolsas b { display: block; font-size: 14px; }
.gs-pos .p-bolsas small { color: var(--p-fg3); font-size: 11.5px; font-weight: 700; }
.gs-pos .p-bolsas .p-qty button { width: 50px; height: 42px; }
.gs-pos .p-cobrar { height: 70px; border-radius: 16px; background: var(--p-cash); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; flex: none; }
.gs-pos .p-cobrar:disabled { opacity: .45; cursor: not-allowed; }
.gs-pos .p-cobrar small { font-size: 12px; font-weight: 700; opacity: .85; display: block; text-align: left; }
.gs-pos .p-fila2 { display: flex; gap: 8px; flex: none; }
.gs-pos .p-fila2 button { flex: 1; height: 42px; border-radius: 12px; background: var(--p-panel2); border: 1px solid var(--p-line); font-weight: 700; font-size: 13px; }
/* hojas */
.gs-pos-velo { position: fixed; inset: 0; background: rgba(10, 12, 25, .5); display: grid; place-items: center; padding: 16px; z-index: 1036; }
.gs-pos-hoja { width: min(560px, 100%); max-height: 100%; overflow-y: auto; background: var(--p-panel); color: var(--p-fg); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); font-size: 15px; }
.gs-pos-hoja h3 { margin: 0; font-size: 18px; font-weight: 800; }
.gs-pos-hoja p { margin: 0; color: var(--p-fg2); font-size: 13.5px; }
.gs-pos-hoja button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.gs-pos-hoja .op { display: flex; align-items: center; gap: 10px; border: 2px solid var(--p-line); border-radius: 12px; padding: 10px 12px; text-align: left; width: 100%; }
.gs-pos-hoja .op.on { border-color: var(--p-lot); background: var(--p-lot-s); }
.gs-pos-hoja .op:disabled { opacity: .5; cursor: not-allowed; }
.gs-pos-hoja .op .t { flex: 1; }
.gs-pos-hoja .op .t b { display: block; }
.gs-pos-hoja .op .t small { color: var(--p-fg3); }
.gs-pos-hoja .tot-c { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.gs-pos-hoja .tot-c div { background: var(--p-panel2); border-radius: 12px; padding: 10px; }
.gs-pos-hoja .tot-c small { display: block; font-size: 11.5px; color: var(--p-fg3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.gs-pos-hoja .tot-c .num { font-size: 22px; font-weight: 800; }
.gs-pos-hoja .tot-c .vuelto .num { color: var(--p-cash); }
.gs-pos-hoja .tot-c .falta .num { color: var(--p-err); }
.gs-pos-hoja .metodos { display: grid; grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 8px; } /* se acomoda a cuantas formas de pago tenga la empresa y a nombres largos */
.gs-pos-hoja .metodos button { min-width: 0; overflow-wrap: break-word; padding: 10px 5px; border-radius: 12px; border: 2px solid var(--p-line); background: var(--p-panel2); font-weight: 800; font-size: 12px; line-height: 1.2; }
.gs-pos-hoja .metodos button small { display: block; font-size: 11px; color: var(--p-fg3); font-weight: 700; }
.gs-pos-hoja .metodos button.on { border-color: var(--p-acc); background: var(--p-acc-s); }
.gs-pos-hoja .monto { display: flex; gap: 8px; }
.gs-pos-hoja .monto input, .gs-pos-hoja .campo { flex: 1; min-width: 0; height: 52px; border-radius: 12px; border: 2px solid var(--p-line); background: var(--p-panel2); color: var(--p-fg); font-weight: 800; font-size: 20px; padding: 0 12px; }
.gs-pos-hoja .campo { font-size: 15px; height: 46px; font-weight: 700; }
.gs-pos-hoja > .campo { flex: 0 0 auto; } /* hijo directo de la hoja (columna): sin esto flex:1 lo aplasta a 19 px */
.gs-pos-hoja .monto button { padding: 0 16px; border-radius: 12px; background: var(--p-acc); color: var(--p-acc-fg); font-weight: 800; }
.gs-pos-hoja .billetes { display: flex; gap: 8px; flex-wrap: wrap; }
.gs-pos-hoja .billetes button { flex: 1 1 70px; height: 48px; border-radius: 12px; border: 1px solid var(--p-line); background: var(--p-panel2); font-weight: 800; font-size: 16px; }
.gs-pos-hoja .pagos { display: grid; gap: 6px; }
.gs-pos-hoja .pago { display: flex; align-items: center; gap: 10px; background: var(--p-panel2); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.gs-pos-hoja .pago b { flex: 1; }
.gs-pos-hoja .seg { display: flex; gap: 6px; }
.gs-pos-hoja .seg button { flex: 1; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-panel2); font-weight: 800; font-size: 13px; }
.gs-pos-hoja .seg button.on { background: var(--p-acc); color: var(--p-acc-fg); border-color: var(--p-acc); }
.gs-pos-hoja .sug { display: grid; gap: 4px; }
.gs-pos-hoja .sug button { text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-panel2); font-size: 13.5px; }
.gs-pos-hoja .sug button small { color: var(--p-fg3); display: block; font-size: 12px; }
.gs-pos-hoja .sug button.alt { border-style: dashed; color: var(--p-acc); font-weight: 700; }
.gs-pos-hoja .res { font-size: 13px; color: var(--p-fg2); }
.gs-pos-hoja .res b { color: var(--p-fg); }
.gs-pos-hoja .acciones { display: flex; gap: 8px; }
.gs-pos-hoja .acciones button { flex: 1; height: 52px; border-radius: 13px; font-weight: 800; font-size: 15px; background: var(--p-panel2); border: 1px solid var(--p-line); }
.gs-pos-hoja .acciones button.ok { background: var(--p-cash); color: #fff; border-color: var(--p-cash); }
.gs-pos-hoja .acciones button.peligro { background: var(--p-err); color: #fff; border-color: var(--p-err); }
.gs-pos-hoja .acciones button:disabled { opacity: .45; cursor: not-allowed; }
.gs-pos-hoja .listo { text-align: center; display: grid; gap: 8px; padding: 6px 0; }
.gs-pos-hoja .listo .v { font-size: 44px; color: var(--p-cash); font-weight: 800; }
.gs-pos-hoja .lista { display: grid; gap: 6px; max-height: 52vh; overflow-y: auto; }
.gs-pos-hoja .vta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; background: var(--p-panel2); border-radius: 11px; padding: 9px 11px; font-size: 13.5px; }
.gs-pos-hoja .vta small { color: var(--p-fg3); font-size: 12px; }
.gs-pos-hoja .vta .ac { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 4px; }
.gs-pos-hoja .vta .ac button { padding: 6px 10px; border-radius: 9px; border: 1px solid var(--p-line); background: var(--p-panel); font-weight: 700; font-size: 12.5px; }
.gs-pos-hoja .vta.anulada { opacity: .55; }
.gs-pos-hoja .vta.anulada b { text-decoration: line-through; }
.gs-pos-hoja .chipe { font-size: 11px; font-weight: 800; border-radius: 99px; padding: 2px 8px; }
.gs-pos-hoja .chipe.err { background: var(--p-err-s); color: var(--p-err); }
.gs-pos-hoja .chipe.warn { background: var(--p-warn-s); color: var(--p-warn); }
/* las hojas viven en body: toman los colores del POS */
.gs-pos-velo { --p-panel: #ffffff; --p-panel2: #f6f7fc; --p-line: #dde1ee; --p-fg: #1b1f33; --p-fg2: #4d5470; --p-fg3: #8a90a8; --p-acc: #5b5bd6; --p-acc-s: rgba(91, 91, 214, .10); --p-acc-fg: #fff;
    --p-cash: #0f9d6e; --p-warn: #b7640b; --p-warn-s: rgba(217, 119, 6, .14); --p-err: #d93a3a; --p-err-s: rgba(217, 58, 58, .12); --p-lot: #7c3aed; --p-lot-s: rgba(124, 58, 237, .10); }
body.theme-dark .gs-pos-velo { --p-panel: var(--g-bg3, #1b1e2d); --p-panel2: #222638; --p-line: #2f3449; --p-fg: #eceefa; --p-fg2: #b3b8d2; --p-fg3: #7d83a0; --p-acc: #8b8cf6; --p-acc-s: rgba(139, 140, 246, .16); --p-acc-fg: #12141f;
    --p-cash: #34c796; --p-warn: #f0a542; --p-warn-s: rgba(240, 165, 66, .15); --p-err: #f06b6b; --p-err-s: rgba(240, 107, 107, .15); --p-lot: #b39cfb; --p-lot-s: rgba(179, 156, 251, .15); }
.gs-pos-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1b1f33; color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 2070; max-width: calc(100% - 32px); }
@media (max-width: 991px) {
    .gs-pos { height: auto; }
    .gs-pos .p-main { grid-template-columns: minmax(0, 1fr); }
    .gs-pos .p-col { overflow: visible; }
    .gs-pos .p-grid { max-height: 360px; flex: none; }
    .gs-pos .p-lines { max-height: 380px; }
    .gs-pos .p-cobrar { position: sticky; bottom: 8px; z-index: 5; }
    .gs-pos-hoja .metodos { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .gs-pos .p-der { width: 100%; } .gs-pos .p-der .p-tb { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .gs-pos .p-ln.nuevo { animation: none; } .gs-pos .p-prod { transition: none; } }
/* teclado en pantalla (cajas POS sin teclado fisico) */
.gs-pos .p-scan .p-kbd { background: var(--p-panel2); color: var(--p-acc); border: 2px solid var(--p-acc); font-size: 20px; }
.gs-pos-hoja.ancha { width: min(940px, 100%); }
.gs-pos-hoja .cob2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.gs-pos-hoja .cob2 .izq { display: grid; gap: 10px; min-width: 0; }
.gs-pos-hoja .cob2 .izq > * { min-width: 0; max-width: 100%; }
.gs-pos-hoja .cob2 .der { min-width: 0; }
.gs-tecl { display: grid; gap: 6px; user-select: none; -webkit-user-select: none; }
.gs-tecl .f { display: flex; gap: 6px; }
.gs-tecl button { flex: 1; min-width: 0; height: 54px; border-radius: 11px; border: 1px solid var(--p-line); background: var(--p-panel2); color: var(--p-fg); font-weight: 800; font-size: 20px; touch-action: manipulation; }
.gs-tecl button:active { background: var(--p-acc-s); transform: scale(.97); }
.gs-tecl.abc button { height: 48px; font-size: 16px; }
.gs-tecl button.bor { color: var(--p-err); }
.gs-tecl button.esp { flex: 1; font-size: 14px; }
.gs-tecl button.ent { background: var(--p-acc); color: var(--p-acc-fg); border-color: var(--p-acc); font-size: 17px; }
.gs-pos-hoja input[inputmode="none"] { caret-color: var(--p-acc); }
@media (max-width: 760px) { /* celular: el teclado va debajo */
    .gs-pos-hoja .cob2 { grid-template-columns: minmax(0, 1fr); }
    .gs-tecl.abc button { height: 42px; font-size: 14px; }
    .gs-tecl .f { gap: 4px; }
}
@media (max-height: 760px) {
    .gs-tecl button { height: 46px; }
    .gs-tecl.abc button { height: 40px; }
}
