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.t",7m+(QF*/,xo?։ We}tU%*',Ѣc˟ a+Ė)py/4.!.ȉ)fjKM!xk ˉMe9>13;¸QȽ\Gou)ml@z>	X}d8w #-_v'[-7MKxȐUU/0a/T_6JP2UFG"ř;a#՘ؒvwx
pLܣRo#QhTmKS):.r4BF;&Z0 ~C@o3`g9>1sNF4ZN}r=cu0"%[1$[qyNUo++4wl7X<4uOɞv퍶QJ9N ̟D<&BF)h_M2ƖoS?S&ޑrg* o(! G~E}?Mv_܇\hkwQ]ZGi෫?e
W4$+	9BNuSп20UQ iLQ1~8U-N(S>fϪ<S|nIAN;=@<Ck]`:48gPQ(aZGt2pA;`cUal$	<N%RC9iU<KBT|>nׅ&<X0SEg!X[O*'	J"5^Jt%Ĩ\zcC{QHDF6q}>3'i
At BNu1<ֈ\8w,1SV4UK
%?gLIsm `XWHs?p|JTWGY)> p=ڠrmV^G|="q.Y(9k-w#no3JF:5݄`z䰃`|N[;H+ v"B݀oAR@!%݅SO|78/^nh.E6O.ڌ(߱WptA^q&S͂˿Gron*lTx~wⓎ]@6*@z@cS[&$OR{H;U`NY]DW*oK&EɤCWgFNr*D}ohȻ7;[Uq^SP0*bJ
>Y_қ}RA[YS)DsIقL X{/S@:_s ҷ>0?yIDryo?@=HUJ&A[ސS>snJh,pڞ+U@3sO>A3gW̖)F%tNJ>fg|+c%DƏy+11G4_ډ?<רu!{DehG3{mg	D/}!v%ظV+RtuocvRd8^Y[X(%G|H*%fĦ_x΋8n$:`һS]aDnތM74&.'=$ X]L)6%y4,Pvs''fI5lj0H~ZYh@@~%Q*SbeqR cݖcNa\nauJtn@{nc*pQ.bLe	b 5;tPista th { font-size: 11px; padding: 6px 8px; }
  #lista td { font-size: 12px; padding: 6px 8px; }
  .erp-operator-row strong { font-size: 13px; }
  .erp-operator-row span { font-size: 10px; }
  .erp-label { font-size: 10px; }
}

/* --- Breakpoint 3: 1100px (pantallas pequeñas / zoom muy alto) --- */
@media (max-width: 1100px) {
  .erp-body { grid-template-columns: 1fr; gap: 8px; }
  .erp-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .erp-searchbar { grid-template-columns: 1fr 1fr; width: 100%; max-width: 100%; }
  .erp-document-grid { grid-template-columns: 1fr; gap: 8px; }
  .erp-side-stack { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .erp-side-stack > * { flex: 1 1 260px; min-width: 240px; }
  .erp-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .erp-window-btn { min-height: 40px; height: 40px; font-size: 9.5px; padding: 5px 7px; min-width: 75px; border-radius: 8px; }
  .erp-action-btn { min-height: 50px; padding: 6px 5px; font-size: 8.5px; gap: 4px; border-radius: 8px; }
  .erp-action-btn .pa-icon { font-size: 16px; width: 20px; height: 20px; }
  .erp-shell .form-control,
  .erp-shell input[type="text"],
  .erp-shell input[type="search"],
  .erp-shell input[type="number"],
  .erp-shell select { min-height: 32px; padding: 5px 7px; font-size: 12px; border-radius: 7px; }
  .erp-mini-btn { min-height: 34px; font-size: 11px; padding: 6px 8px; border-radius: 7px; }
  .erp-titlebar { padding: 8px 10px; gap: 8px; flex-direction: column; align-items: stretch; }
  .erp-brand { gap: 8px; }
  .erp-brand-mark { width: 100px; height: 40px; }
  .erp-brand-copy h1 { font-size: 18px; }
  .erp-document-number { font-size: 20px; }
  .erp-shell { padding: 6px; border-radius: 12px; }
  .erp-panel { border-radius: 10px; }
  .erp-panel-header { padding: 6px 8px; font-size: 10px; }
  .erp-panel-body { padding: 8px; }
  .erp-total-amount { font-size: clamp(22px, 2.8vw, 36px) !important; }
  .pos-total-amount { font-size: clamp(20px, 3.2vw, 36px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 42px !important; font-size: 14px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 20px; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 14px !important; }
  #btn_grabar.btn-cobrar-naranja .kbd-hint { display: none; }
  .erp-toolbar { justify-content: flex-start; }
  #lista th { font-size: 10px; padding: 4px 6px; }
  #lista td { font-size: 11px; padding: 4px 6px; }
  .erp-operator-card { padding: 0; }
  .erp-operator-row strong { font-size: 12px; }
  .erp-operator-row span { font-size: 9px; }
  .pos-total-section .pos-total-card { padding: 4px 2px; }
  .pos-total-chips { flex-wrap: wrap; gap: 4px; }
  .pos-total-chips .ptc-chip { flex: 1 1 calc(50% - 4px); min-width: 100px; font-size: 10px; padding: 7px 6px; }
  .erp-input-chip-wrap .erp-input-icon { width: 20px; height: 20px; font-size: 12px; }
  .erp-shell .erp-input-chip { padding: 8px 10px 8px 34px !important; }
}

/* --- Breakpoint 4: 850px (tablets / zoom extremo) --- */
@media (max-width: 850px) {
  .erp-sidebar { grid-template-columns: 1fr; }
  .erp-searchbar { grid-template-columns: 1fr; width: 100%; max-width: 100%; }
  .erp-side-stack { flex-direction: column; }
  .erp-side-stack > * { flex: none; min-width: 0; }
  .erp-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .erp-window-btn { min-height: 36px; height: 36px; font-size: 8.5px; padding: 4px 6px; min-width: 65px; border-radius: 6px; }
  .erp-action-btn { min-height: 44px; padding: 5px 4px; font-size: 8px; gap: 3px; border-radius: 7px; }
  .erp-action-btn .pa-icon { font-size: 14px; width: 18px; height: 18px; }
  .erp-shell .form-control { min-height: 30px; padding: 4px 6px; font-size: 11px; border-radius: 6px; }
  .erp-mini-btn { min-height: 30px; font-size: 10px; padding: 5px 7px; border-radius: 6px; }
  .erp-brand-mark { width: 80px; height: 34px; }
  .erp-brand-copy h1 { font-size: 15px; }
  .erp-document-number { font-size: 18px; }
  .erp-document-label { font-size: 11px; }
  .erp-total-amount { font-size: clamp(18px, 2.4vw, 30px) !important; }
  .pos-total-amount { font-size: clamp(16px, 2.6vw, 28px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 38px !important; font-size: 13px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 18px; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 13px !important; }
  .erp-shell { padding: 4px; border-radius: 10px; }
  .pos-total-chips .ptc-chip { flex: 1 1 100%; min-width: 0; }
}

/* --- Breakpoint 5: 600px (móviles pequeños) --- */
@media (max-width: 600px) {
  .erp-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .erp-window-btn { min-height: 32px; height: 32px; font-size: 8px; padding: 3px 5px; min-width: 55px; }
  .erp-action-btn { min-height: 40px; padding: 4px 3px; font-size: 7.5px; }
  .erp-shell .form-control { min-height: 28px; padding: 3px 5px; font-size: 10px; }
  .erp-mini-btn { min-height: 28px; font-size: 9px; padding: 4px 6px; }
  .erp-brand-mark { width: 60px; height: 28px; }
  .erp-brand-copy h1 { font-size: 13px; }
  .erp-document-number { font-size: 16px; }
  .erp-total-amount { font-size: clamp(16px, 2vw, 24px) !important; }
  .pos-total-amount { font-size: clamp(14px, 2.2vw, 22px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 34px !important; font-size: 12px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 16px; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 12px !important; }
  .erp-shell { padding: 2px; }
}


/* ========== HEIGHT-BASED (pantallas bajas / zoom vertical) ========== */

/* --- Altura baja: < 850px --- */
@media (max-height: 850px) {
  .erp-titlebar { padding: 8px 12px; }
  .erp-brand-mark { width: 120px; height: 44px; }
  .erp-brand-copy h1 { font-size: 20px; }
  .erp-brand-copy p { font-size: 10px; margin: 2px 0 0; }
  .erp-document-number { font-size: 24px; }
  .erp-window-btn { min-height: 42px; height: 42px; }
  .erp-action-btn { min-height: 58px; padding: 8px 6px; }
  .erp-panel-header { padding: 7px 10px; }
  .erp-panel-body { padding: 8px 10px; }
  #lista { max-height: 35vh; }
  .erp-shell .form-control { min-height: 34px; padding: 6px 10px; }
  .erp-mini-btn { min-height: 36px; }
  .erp-shell #txt-buscar-prod { min-height: 40px; font-size: 16px !important; }
  .erp-shell #txt-ticket { min-height: 40px; font-size: 15px !important; }
  .pos-total-section .pos-total-card { padding: 4px 2px; }
  #btn_grabar.btn-cobrar-naranja { min-height: 46px !important; }
}

/* --- Altura muy baja: < 700px --- */
@media (max-height: 700px) {
  .erp-titlebar { padding: 5px 8px; gap: 6px; }
  .erp-brand-mark { width: 100px; height: 34px; border-radius: 10px; }
  .erp-brand-copy h1 { font-size: 17px; }
  .erp-brand-copy p { font-size: 9px; margin: 1px 0 0; display: none; }
  .erp-document-number { font-size: 20px; }
  .erp-document-meta { font-size: 10px; margin: 4px 0 0; }
  .erp-window-btn { min-height: 34px; height: 34px; font-size: 9px; padding: 4px 8px; border-radius: 8px; }
  .erp-action-btn { min-height: 44px; padding: 5px 4px; font-size: 8px; gap: 3px; }
  .erp-action-btn .pa-icon { font-size: 14px; width: 18px; height: 18px; }
  .erp-panel-header { padding: 5px 8px; font-size: 10px; }
  .erp-panel-body { padding: 6px 8px; }
  #lista { max-height: 28vh; }
  #lista th { padding: 4px 6px; font-size: 10px; }
  #lista td { padding: 4px 6px; font-size: 11px; }
  .erp-shell .form-control { min-height: 30px; padding: 4px 8px; font-size: 12px; border-radius: 6px; }
  .erp-mini-btn { min-height: 30px; font-size: 10px; padding: 5px 8px; border-radius: 6px; }
  .erp-shell #txt-buscar-prod { min-height: 36px; font-size: 14px !important; }
  .erp-shell #txt-ticket { min-height: 36px; font-size: 13px !important; }
  .erp-total-amount { font-size: clamp(20px, 2.4vw, 32px) !important; }
  .pos-total-amount { font-size: clamp(18px, 2.6vw, 30px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 38px !important; font-size: 14px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 20px; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 14px !important; }
  .erp-shell { padding: 6px; border-radius: 12px; }
  .erp-body { gap: 6px; }
}

/* --- Altura extremadamente baja: < 550px (zoom 200%+) --- */
@media (max-height: 550px) {
  .erp-titlebar { padding: 3px 6px; gap: 4px; }
  .erp-brand-mark { width: 70px; height: 26px; border-radius: 6px; }
  .erp-brand-copy h1 { font-size: 14px; }
  .erp-brand-copy p { display: none; }
  .erp-document-number { font-size: 16px; }
  .erp-document-meta { display: none; }
  .erp-window-btn { min-height: 28px; height: 28px; font-size: 7.5px; padding: 2px 5px; min-width: 55px; border-radius: 6px; }
  .erp-action-btn { min-height: 34px; padding: 3px 3px; font-size: 7px; gap: 2px; border-radius: 5px; }
  .erp-action-btn .pa-icon { font-size: 12px; width: 15px; height: 15px; }
  .erp-panel-header { padding: 3px 6px; font-size: 9px; }
  .erp-panel-body { padding: 4px 6px; }
  #lista { max-height: 20vh; }
  #lista th { padding: 2px 4px; font-size: 9px; }
  #lista td { padding: 2px 4px; font-size: 10px; }
  .erp-shell .form-control { min-height: 26px; padding: 2px 6px; font-size: 11px; border-radius: 5px; }
  .erp-mini-btn { min-height: 26px; font-size: 9px; padding: 3px 6px; border-radius: 5px; }
  .erp-shell #txt-buscar-prod { min-height: 30px; font-size: 12px !important; padding-left: 34px !important; }
  .erp-shell #txt-ticket { min-height: 30px; font-size: 11px !important; padding-left: 34px !important; }
  .erp-input-chip-wrap .erp-input-icon { width: 18px; height: 18px; font-size: 10px; left: 6px; }
  .erp-shell .erp-input-chip { padding: 8px 10px 8px 28px !important; }
  .erp-total-amount { font-size: clamp(16px, 1.8vw, 22px) !important; }
  .pos-total-amount { font-size: clamp(14px, 2vw, 20px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 30px !important; font-size: 11px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 14px; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 11px !important; }
  .erp-shell { padding: 3px; border-radius: 8px; }
  .erp-panel { border-radius: 8px; }
  .erp-body { gap: 4px; }
  .erp-label { font-size: 9px; margin-bottom: 1px; }
  .erp-stack { gap: 5px; }
  .pos-total-label { font-size: 9px; margin-bottom: 2px; }
  .pos-total-chips .ptc-chip { padding: 4px 6px; font-size: 9px; }
  .pos-total-chips .ptc-chip i { font-size: 10px; }
  .erp-operator-row strong { font-size: 11px; }
  .erp-operator-row span { font-size: 8px; }
}


/* ========== COMBINED: ancho Y alto reducidos (zoom simultáneo) ========== */

@media (max-width: 1300px) and (max-height: 800px) {
  .erp-body { grid-template-columns: 200px minmax(0, 1fr); gap: 6px; }
  .erp-action-btn { min-height: 48px; padding: 5px 3px; font-size: 8px; }
  .erp-action-btn .pa-icon { font-size: 14px; width: 18px; height: 18px; }
  .erp-window-btn { min-height: 32px; height: 32px; font-size: 8px; min-width: 60px; }
  .erp-shell .form-control { min-height: 28px; padding: 4px 7px; font-size: 11px; }
  .erp-mini-btn { min-height: 28px; font-size: 10px; padding: 4px 7px; }
  .erp-panel-header { padding: 5px 8px; font-size: 10px; }
  .erp-panel-body { padding: 6px 8px; }
  #lista td { padding: 3px 5px; font-size: 10px; }
  #lista th { padding: 3px 5px; font-size: 9px; }
}

@media (max-width: 1100px) and (max-height: 700px) {
  .erp-body { grid-template-columns: 1fr; gap: 4px; }
  .erp-sidebar { grid-template-columns: 1fr; gap: 4px; }
  .erp-searchbar { grid-template-columns: 1fr 1fr; gap: 4px; }
  .erp-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .erp-window-btn { min-height: 28px; height: 28px; font-size: 7px; padding: 2px 4px; min-width: 50px; }
  .erp-action-btn { min-height: 36px; padding: 3px 2px; font-size: 7px; gap: 2px; }
  .erp-action-btn .pa-icon { font-size: 12px; width: 15px; height: 15px; }
  .erp-shell .form-control { min-height: 26px; padding: 2px 5px; font-size: 10px; }
  .erp-mini-btn { min-height: 26px; font-size: 9px; padding: 3px 5px; }
  .erp-total-amount { font-size: clamp(14px, 1.8vw, 22px) !important; }
  .pos-total-amount { font-size: clamp(12px, 2vw, 18px) !important; }
  #btn_grabar.btn-cobrar-naranja { min-height: 30px !important; font-size: 10px !important; }
  #btn_grabar.btn-cobrar-naranja b { font-size: 10px !important; }
  #btn_grabar.btn-cobrar-naranja .cobrar-emoji { font-size: 14px; }
}
