/* Píldora POS · Paquete Lavandería y tintorería (solo aplica con html[data-paquete="lavanderia"]) */
html[data-paquete="lavanderia"] {
  --display: "Roboto Condensed", "Open Sans", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-paquete="lavanderia"] h1 { letter-spacing: 0; text-transform: none; }
html[data-paquete="lavanderia"] .btn-pay { color: var(--teal-ink); }
html[data-paquete="lavanderia"] .kpi--hero .kpi-label, html[data-paquete="lavanderia"] .kpi--hero .kpi-foot { color: var(--pill); }
.lav-brand { padding: 4px 6px 16px !important; justify-content: center; }
.lav-brand img { width: 100%; max-width: 190px; max-height: 92px; object-fit: contain; filter: brightness(0) invert(1); }
.lav-brand span { font-family: var(--display); font-size: 19px; line-height: 1.15; text-align: center; }

.lav-lbl { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.lav-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: 16px; align-items: start; }
.lav-grid > * { min-width: 0; }
.lav-grid > div { grid-template-columns: minmax(0, 1fr); }
.lav-nota { position: sticky; top: 16px; display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.lav-items { overflow-y: auto; flex: 1; min-height: 120px; }
.lav-item { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px; }
.lav-item-top { display: flex; align-items: center; gap: 8px; }
.lav-item-top .grow { flex: 1; }
.lav-item-row { display: grid; grid-template-columns: 96px 130px 1fr; gap: 10px; align-items: end; }
.lav-item-row label { font-size: 12.5px; gap: 3px; }
.lav-item-row input, .lav-item-row2 input { min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.lav-item-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lav-imp { text-align: right; font-weight: 700; font-size: 16px; padding-bottom: 9px; }
.lav-total, .lav-resta { display: flex; justify-content: space-between; align-items: baseline; }
.lav-total span { font-weight: 600; color: var(--ink-2); }
.lav-total b { font-family: var(--display); font-size: 32px; }
.lav-resta { padding: 10px 14px; border-radius: var(--r-md); background: var(--teal-soft); color: var(--teal-ink); }
.lav-resta b { font-size: 19px; }
.lav-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px 18px 18px; max-height: 58vh; overflow-y: auto; }
.lav-tile { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); cursor: pointer; min-height: 70px; align-content: space-between; transition: border-color .15s, transform .08s; }
.lav-tile:hover { border-color: var(--teal); }
.lav-tile:active { transform: scale(.98); }
.lav-tile-n { font-weight: 600; line-height: 1.25; }
.lav-tile .num { color: var(--teal); font-weight: 700; }
.lav-promesa { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lav-promesa input { width: auto; }
.lav-ac { position: relative; }
.lav-ac-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); overflow: hidden; }
.lav-ac-list button { display: flex; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: none; padding: 10px 14px; text-align: left; cursor: pointer; font-weight: 400; }
.lav-ac-list button:hover { background: var(--teal-soft); }
.lav-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg); padding: 4px; border-radius: var(--r-pill); }
.lav-seg-2 { grid-template-columns: 1fr 1fr; }
.lav-seg button { border: 0; background: transparent; padding: 9px 4px; border-radius: var(--r-pill); font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.lav-seg button[aria-pressed="true"] { background: var(--surface); color: var(--teal-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.lav-table td { vertical-align: top; }
.lav-desc { max-width: 260px; white-space: pre-line; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lav-head { display: flex; gap: 8px; flex-wrap: wrap; }
.lav-sums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lav-sum h3 { margin-bottom: 12px; }
.lav-sum-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lav-sum-g div { display: grid; gap: 2px; }
.lav-sum-g span { font-size: 12.5px; color: var(--ink-3); }
.lav-sum-g b { font-family: var(--display); font-size: 22px; }
.lav-sum-g small { font-size: 12.5px; color: var(--ink-2); }
.lav-logo-box { display: grid; place-items: center; min-height: 110px; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 12px; background: #fff; }
.lav-logo-box img { max-width: 260px; max-height: 110px; }
.list-row.clickable { cursor: pointer; }
.list-row.clickable:hover { background: var(--bg); }

/* Ticket */
.lav-pt img { display: inline-block; filter: grayscale(1) contrast(1.4); }
.lav-pt .lav-copia { margin-top: 4px; font-weight: 700; letter-spacing: .08em; font-size: 11px; border: 1px solid #000; padding: 2px 0; }
.lav-pt .lav-folio { font-size: 17px; font-weight: 700; }
.lav-pt .lav-pol { font-size: 10.5px; margin-bottom: 2px; }
.lav-corte { text-align: center; font-family: "Courier New", monospace; font-size: 11px; margin: 10px 0; page-break-after: always; break-after: page; }
@media print { .lav-corte { color: #000; } }

@media (max-width: 1100px) {
  .lav-grid { grid-template-columns: minmax(0, 1fr); }
  .lav-nota { position: static; max-height: none; }
  .lav-sums { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lav-item-row { grid-template-columns: 80px 1fr 90px; }
  .lav-item-row2 { grid-template-columns: 1fr; }
  .lav-sum-g b { font-size: 19px; }
}
