/* DomiLat · Tickets y facturas (2026-10-26) */
.tk-sub{margin:4px 0 14px;color:#6b7280;font-size:13.5px;line-height:1.45}
.tk-card{background:#fff;border:1px solid #eceef2;border-radius:16px;padding:14px 16px;margin-bottom:12px;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.tk-card:active{transform:scale(.995)}
.tk-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15.5px;color:#0b1f2d}
.tk-pill{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:980px;background:#eef1f5;color:#4b5563;white-space:nowrap}
.tk-pill.pending{background:#fff6e0;color:#9a6b00}
.tk-pill.preparing{background:#e8f1ff;color:#2f6fed}
.tk-pill.ready{background:#e9f7ef;color:#1d7a44}
.tk-pill.cancelled{background:#fdeceb;color:#c0271b}
.tk-card-meta{font-size:12.5px;color:#6b7280;margin-top:4px}
.tk-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:15px}
.tk-links{display:flex;gap:8px}
.tk-mini{border:1.5px solid #ffc244;background:#fff;color:#0b1f2d;font-weight:700;font-size:12.5px;padding:6px 12px;border-radius:980px;font-family:inherit;cursor:pointer}
.tk-mini.alt{background:#ffc244;border-color:#ffc244}
.tk-mask{position:fixed;inset:0;background:rgba(4,23,34,.55);display:flex;align-items:flex-end;justify-content:center;z-index:9999}
.tk-sheet{background:#f6f7f9;width:100%;max-width:520px;max-height:92vh;overflow:auto;border-radius:20px 20px 0 0;padding:16px 16px 24px}
.tk-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.tk-sheet-head b{font-size:17px;color:#0b1f2d}
.tk-receipt{background:#fff;border-radius:14px;padding:16px;border:1px solid #eceef2}
.tk-shop{display:flex;flex-direction:column;gap:2px;text-align:center}
.tk-shop b{font-size:16px;color:#0b1f2d}
.tk-shop small{color:#6b7280;font-size:12px}
.tk-sep{border-top:1px dashed #dfe3e9;margin:12px 0}
.tk-meta-row{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;color:#4b5563;padding:2px 0}
.tk-meta-row b{color:#0b1f2d}
.tk-meta-row.total{font-size:16px;margin-top:6px}
.tk-table{width:100%;border-collapse:collapse;font-size:13.5px}
.tk-table td{padding:5px 0;vertical-align:top;color:#111827}
.tk-td-q{width:38px;color:#6b7280}
.tk-td-r{text-align:right;white-space:nowrap;font-weight:600}
.tk-legal{margin:10px 0 0;font-size:11.5px;color:#8b93a1;line-height:1.4;text-align:center}
.tk-inv-ok{margin-top:10px;background:#e9f7ef;border:1px solid #c7e9d4;border-radius:12px;padding:10px 12px;font-size:13px;color:#14532d}
.tk-inv-ok small{display:block;color:#2f6b45;font-size:12px;margin-top:2px}
.tk-actions{display:flex;gap:10px;margin-top:12px}
.tk-actions .s-btn{flex:1;margin:0}
.tk-form{display:flex;flex-direction:column;gap:10px}
.tk-form label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:700;color:#4b5563}
.tk-form input,.tk-form textarea{font-family:inherit;font-size:15px;padding:11px 12px;border:1.5px solid #e2e6ec;border-radius:12px;background:#fff;color:#0b1f2d;font-weight:500}
.tk-form input:focus,.tk-form textarea:focus{outline:none;border-color:#ffc244}
.tk-row2{display:flex;gap:10px}
.tk-row2 label{flex:1}
.tk-form-hint{font-size:13px;color:#6b7280;margin:0 0 10px;line-height:1.45}
.tk-err{color:#c0271b;font-size:13px;min-height:16px}
@media print{
  body *{visibility:hidden!important}
  #tkReceipt,#tkReceipt *{visibility:visible!important}
  #tkReceipt{position:absolute;left:0;top:0;width:100%;border:none;padding:0}
  .tk-mask{position:static;background:#fff;display:block}
  .tk-sheet{box-shadow:none;background:#fff;max-height:none;overflow:visible;padding:0}
  .tk-sheet-head,.tk-actions,.tk-inv-ok{display:none!important}
}
.ph-hint{display:block;margin-top:6px;font-size:12px;color:#6b7280;font-weight:500}
