/* The lot-prep sheet: a letter-size print page. On screen it shows as a paper
   sheet with a small toolbar; print and the PDF drop the toolbar. No prices,
   no percentages, no formulas. */

@page { size: letter; margin: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { background: #EDEDED; }
body { margin: 0; font-family: var(--rz-font-text); color: var(--rz-ink); font-size: 14px; line-height: 1.4; }

.bar { max-width: 8.5in; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.bar a { color: var(--rz-ink); }
.bar__go { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { font: 500 15px var(--rz-font-text); min-height: 44px; padding: 10px 18px; border-radius: var(--rz-radius-sm); border: 1px solid var(--rz-ink); background: #fff; color: var(--rz-ink); text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.btn--primary { background: var(--rz-oxblood); border-color: var(--rz-oxblood); color: #fff; }

.sheet { width: 8.5in; height: 11in; margin: 0 auto 24px; background: #fff; padding: .5in .6in .45in; display: flex; flex-direction: column; overflow: hidden; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid var(--rz-ink); padding-bottom: 12px; }
.sheet__logo { height: 36px; width: auto; display: block; }
.sheet__title { text-align: right; }
.sheet__title h1 { font: 800 28px/1 var(--rz-font-display); letter-spacing: -.03em; margin: 0 0 4px; }
.sheet__title p { margin: 0; color: var(--rz-aluminium); }

.sheet__meta { display: flex; gap: 32px; margin: 14px 0 12px; font: 500 12px var(--rz-font-data); letter-spacing: .08em; text-transform: uppercase; }
.sheet__meta span { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.sheet__meta i { flex: 1; border-bottom: 1px solid var(--rz-ink); height: 1em; }

.sheet__tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--rz-ink); border-radius: var(--rz-radius-md); overflow: hidden; flex: 1; }
.sheet__tbl th, .sheet__tbl td { border-bottom: 1px solid var(--rz-aluminium-light); text-align: left; padding: 0 12px; }
.sheet__tbl thead th { background: var(--rz-ink); color: #fff; font: 500 12px var(--rz-font-data); letter-spacing: .08em; text-transform: uppercase; height: .5in; border-bottom: 0; }
.sheet__tbl tbody th.k { font: 500 16px var(--rz-font-data); width: 1in; border-right: 1px solid var(--rz-aluminium-light); }
.sheet__tbl td.d { border-right: 1px solid var(--rz-aluminium-light); }
.sheet__tbl td.w, .sheet__tbl th.w { width: 2.3in; }
.sheet__tbl tbody tr { height: .365in; }
.sheet__tbl tfoot th, .sheet__tbl tfoot td { height: .5in; border-top: 1.5px solid var(--rz-ink); border-bottom: 0; background: #F5F5F5; }
.sheet__tbl tfoot th.k { font: 800 16px var(--rz-font-display); }
.sheet__tbl tr:nth-last-child(2) th, .sheet__tbl tbody tr:last-child td, .sheet__tbl tbody tr:last-child th { border-bottom: 0; }
.w__t { margin-right: 8px; }
.w__u { display: inline-flex; gap: 10px; }
.w__u label { display: inline-flex; align-items: center; gap: 4px; text-transform: none; font-size: 13px; letter-spacing: 0; }
.w__u input { width: 13px; height: 13px; margin: 0; accent-color: var(--rz-oxblood); }

.sheet__foot { margin-top: 12px; font-size: 12px; color: var(--rz-ink); }
.sheet__foot p { margin: 0 0 3px; }
.sheet__foot p:last-child { color: var(--rz-aluminium); }

@media screen and (max-width: 8.4in) {
  .sheet { width: 100%; height: auto; padding: 20px 16px; margin: 0 auto; }
  .sheet__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sheet__title { text-align: left; }
  .sheet__tbl td.w, .sheet__tbl th.w { width: 9.5rem; }
  .w__t { display: block; margin: 0 0 4px; }
}

@media print {
  html { background: #fff; }
  .bar { display: none; }
  .sheet { margin: 0; width: 8.5in; height: 11in; padding: .5in .6in .45in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
