/* t651u Meri Price List – builder (uses var(--lpr) so YQ stays slate) + the customer's own A4 document */
.rsw{max-width:980px;margin:0 auto;padding:12px 14px 90px}
.rsh{margin:6px 0 2px;font-size:24px}.rss{margin:0 0 12px;color:#4b5563;font-size:14px}
.rscard{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin:0 0 12px}
.rscard h3{margin:0 0 10px;font-size:17px}.rsl{margin:8px 0 6px;font-weight:600;font-size:14px}.rsl small{color:#6b7280;font-weight:400}
.rscg{display:flex;flex-wrap:wrap;gap:8px}
.rsc{border:1.5px solid #e4e4ea;border-radius:999px;background:#fff;padding:6px 12px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;min-height:36px}
.rsc em{font-style:normal;font-size:12px;color:#6b7280}.rsc.on{background:var(--lpr,#d71f2b);border-color:var(--lpr,#d71f2b);color:#fff}.rsc.on em{color:#fff}
.rsck{display:flex;gap:8px;align-items:center;margin:12px 0 4px;font-size:14px}.rsn{margin:6px 0 0;font-size:14px;color:#374151}
.rsf{display:flex;flex-direction:column;gap:4px;font-size:13.5px;font-weight:600;margin:0 0 10px;flex:1 1 200px}
.rsf input,.rsf select,.rsov select,.rsov input{font:inherit;font-weight:400;padding:9px 10px;border:1.5px solid #d1d5db;border-radius:10px;min-height:42px;background:#fff}
.rsf input[type=color]{padding:2px;width:70px}.rsrow{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.rsov{display:flex;gap:6px;align-items:center;margin:0 0 8px}.rsov select{flex:1;min-width:0}.rsov input{width:80px}
.rsx{border:0;background:#fee2e2;color:#991b1b;border-radius:8px;width:36px;height:36px;font-size:18px;cursor:pointer}
.rsb{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1.5px solid var(--lpr,#d71f2b);color:var(--lpr,#d71f2b);background:#fff;border-radius:10px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.rsb.rsp{background:var(--lpr,#d71f2b);color:#fff}.rsact{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.rsmsg{background:#fef3c7;padding:8px 10px;border-radius:8px}.rslog{text-align:center;padding:28px 16px}
.rsentry{display:flex;flex-direction:column;gap:2px;margin:10px 0;padding:12px 14px;border:1.5px dashed var(--lpr,#d71f2b);border-radius:12px;color:inherit;text-decoration:none;background:#fff}
.rsentry small{color:#4b5563}
.rspv{border:1px solid #e5e7eb;border-radius:10px;max-height:560px;overflow:auto;background:#f9fafb;padding:10px}
.rsd{background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;padding:18px;max-width:794px;margin:0 auto;border-top:6px solid var(--rsa)}
.rsdh{display:flex;gap:14px;align-items:flex-start;border-bottom:2px solid var(--rsa);padding-bottom:10px}.rsdl{width:72px;height:72px;object-fit:contain}
.rsdh h1{margin:0;font-size:24px}.rsdh p{margin:2px 0;font-size:13px;color:#374151}.rsdt{font-style:italic}
.rsdv{font-size:12px;color:#374151;margin:8px 0}
.rsdtb{width:100%;border-collapse:collapse;margin:0 0 10px;font-size:12.5px;page-break-inside:auto}
.rsdtb th{background:var(--rsa);color:#fff;text-align:left;padding:5px 8px}.rsdtb th:last-child,.rsdtb td:last-child{text-align:right;white-space:nowrap}
.rsdtb td{padding:4px 8px;border-bottom:1px solid #eee}.rsdtb td:nth-child(2){color:#6b7280;width:50px}.rsdtb tr{page-break-inside:avoid}
#rsPrint{display:none}
@media print{@page{size:A4;margin:12mm}
  html.rsprint body>*:not(#rsPrint){display:none!important}html.rsprint #rsPrint{display:block}
  html.rsprint .rsd{border-top-width:6px;padding:0;max-width:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  html.rsprint .rsdtb th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
