/* ============================================================
   APC Patio Cover Catalog — digital layer (screen only)
   Clickable TOC · parts list · mobile catalog · polish.
   Inherits :root vars (--paper, --ink, --accent, …) from index.html.
   ============================================================ */

html { scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Clickable table of contents (hover matches parts rows) ── */
.toc-row[data-sys] { cursor: pointer; transition: background 0.15s ease; }
.toc-row[data-sys]:hover { background: rgba(70,135,214,0.04); }

/* ── Parts-list floating button (FAB) ──────────────────────── */
.list-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: none; align-items: center; gap: 9px;
  padding: 12px 18px 12px 15px;
  background: var(--ink); color: var(--paper);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 26px rgba(0,0,0,0.30);
  transition: transform 0.16s ease, background 0.16s ease;
}
.list-fab.show { display: inline-flex; }
.list-fab:hover { transform: translateY(-2px); background: #000; }
.list-fab svg { width: 18px; height: 18px; stroke: currentColor; }
.list-fab .count {
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── Add-to-list button inside the part popup ──────────────── */
.cat-actions { margin-top: 22px; }
.cat-fields { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; align-items: flex-end; }
.cat-fields .fld { display: flex; flex-direction: column; gap: 6px; }
.cat-fields .fl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.cat-fields .dim { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); overflow: hidden; }
.cat-fields .dim input { width: 66px; border: none; padding: 7px 9px; font-family: var(--mono); font-size: 14px; background: transparent; color: var(--ink); }
.cat-fields .dim input::placeholder { color: var(--ink-3); }
.cat-fields .dim input:focus { outline: none; background: rgba(70,135,214,0.05); }
.cat-fields .dim .u { padding-right: 9px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.cat-fields .dim-sel { border: none; background: transparent; padding: 7px 28px 7px 10px; font-family: var(--mono); font-size: 14px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%236b6f72' stroke-width='1.5'><path d='M1 1l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 9px center; }
.cat-fields .dim-sel:focus { outline: none; background-color: rgba(70,135,214,0.05); }
.cat-fields .dim-fixed { padding: 7px 11px; }
.cat-fields .dim-fixed .fixed-val { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.cat-fields .qty button { width: 30px; height: 32px; }
.add-list-btn {
  width: 100%; padding: 12px 16px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 5px; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.14s ease, transform 0.1s ease;
}
.add-list-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.add-list-btn:hover { background: oklch(0.55 0.13 256); }
.add-list-btn:active { transform: scale(0.99); }
.add-list-btn.added {
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.add-list-btn.added:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ── Lengths already added (shown inside the part popup) ───── */
.al-lines { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.al-lines-h { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.al-line { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper-2); }
.al-line .al-q { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); min-width: 26px; }
.al-line .al-d { font-family: var(--mono); font-size: 12px; color: var(--ink); flex: 1; }
.al-line .al-f { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-2); }
.al-line .al-sw { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.al-line .al-rm { width: 24px; height: 24px; border: none; background: none; cursor: pointer; color: var(--ink-3); display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
.al-line .al-rm:hover { background: var(--paper); color: var(--ink); }
.al-line .al-rm svg { width: 13px; height: 13px; stroke: currentColor; }

/* ── Parts-list panel overlay ──────────────────────────────── */
.list-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,20,18,0.62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; font-family: var(--sans);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.list-overlay.open { opacity: 1; visibility: visible; }
.list-panel {
  position: relative;
  width: min(640px, 100%); max-height: calc(100vh - 48px);
  background: var(--paper); border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.22s cubic-bezier(0.2,0.7,0.3,1);
}
.list-overlay.open .list-panel { transform: none; }

.list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--rule);
}
.list-head .lh-title { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.list-head .lh-title em { font-family: var(--serif); font-style: italic; }
.list-head .lh-count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.list-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-2);
  transition: background 0.12s ease, color 0.12s ease;
}
.list-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.list-close svg { width: 14px; height: 14px; stroke: currentColor; }

.list-body { overflow-y: auto; padding: 6px 24px; flex: 1; }
.list-empty {
  padding: 48px 12px; text-align: center; color: var(--ink-3);
  font-size: 14px; line-height: 1.6;
}
.list-empty .mono { font-family: var(--mono); font-size: 12px; }

.list-item {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 14px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--rule-2);
}
.list-item .li-thumb {
  width: 52px; height: 52px; background: #fff;
  border: 1px solid var(--rule); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.list-item .li-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.list-item .li-thumb .sw { width: 100%; height: 100%; }
.list-item .li-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.list-item .li-sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.list-item .li-main { min-width: 0; }
.li-fields { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; }
.li-fields .fld { display: flex; flex-direction: column; gap: 4px; }
.li-fields .fl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.li-fields .dim { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); overflow: hidden; }
.li-fields .dim input { width: 52px; border: none; padding: 5px 8px; font-family: var(--mono); font-size: 13px; background: transparent; color: var(--ink); }
.li-fields .dim input::placeholder { color: var(--ink-3); }
.li-fields .dim input:focus { outline: none; background: rgba(70,135,214,0.05); }
.li-fields .dim .u { padding-right: 8px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.li-fields .dim-sel { border: none; background: transparent; padding: 5px 24px 5px 8px; font-family: var(--mono); font-size: 13px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 10 6' fill='none' stroke='%236b6f72' stroke-width='1.5'><path d='M1 1l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 8px center; }
.li-fields .dim-sel:focus { outline: none; background-color: rgba(70,135,214,0.05); }
.li-fields .dim-fixed { padding: 5px 9px; }
.li-fields .dim-fixed .fixed-val { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.li-remove { margin-top: 2px; }
.list-item .li-ctrl { display: flex; align-items: center; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }
.qty button {
  width: 28px; height: 28px; border: none; background: var(--paper);
  cursor: pointer; color: var(--ink); font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.qty button:hover { background: var(--paper-2); }
.qty .q { width: 34px; text-align: center; font-family: var(--mono); font-size: 13px; }
.li-remove {
  width: 28px; height: 28px; border: none; background: none; cursor: pointer;
  color: var(--ink-3); display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
}
.li-remove:hover { color: #b3261e; background: rgba(179,38,30,0.08); }
.li-remove svg { width: 15px; height: 15px; stroke: currentColor; }

.list-foot {
  display: flex; gap: 10px; align-items: center;
  padding: 16px 24px; border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.list-foot .btn {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: 5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; border: none;
}
.list-foot .btn svg { width: 15px; height: 15px; stroke: currentColor; }
.list-foot .btn.primary { background: var(--ink); color: var(--paper); }
.list-foot .btn.primary:hover { background: #000; }
.list-foot .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.list-foot .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.list-foot .btn.clear { margin-left: auto; background: transparent; color: var(--ink-3); }
.list-foot .btn.clear:hover { color: #b3261e; }
.list-foot .btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Printable parts list (hidden until printing the list) ─── */
#list-print { display: none; }

/* ── MOBILE CATALOG ────────────────────────────────────────── */
#mobile-catalog { display: none; }

.m-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.m-brand { display: flex; align-items: center; gap: 10px; }
.m-brand .mark {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-style: italic; font-size: 15px;
}
.m-brand .bt { display: flex; flex-direction: column; line-height: 1.15; }
.m-brand .b1 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.m-brand .b2 { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.m-listbtn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; background: var(--ink); color: var(--paper);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
}
.m-listbtn svg { width: 15px; height: 15px; stroke: currentColor; }
.m-listbtn .count {
  min-width: 17px; height: 17px; padding: 0 5px; background: var(--accent); color: #fff;
  border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

.m-navchips {
  position: sticky; top: 51px; z-index: 49;
  display: flex; gap: 7px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 16px; background: rgba(250,250,247,0.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule-2);
  scrollbar-width: none;
}
.m-navchips::-webkit-scrollbar { display: none; }
.m-navchip {
  flex: 0 0 auto; padding: 7px 13px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.m-navchip:active { background: var(--accent); color: #fff; border-color: var(--accent); }

.m-hero { padding: 30px 18px 22px; border-bottom: 1px solid var(--rule); }
.m-hero .eyebrow {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.m-hero h1 {
  font-family: var(--sans); font-weight: 300; font-size: 30px; line-height: 1.05;
  letter-spacing: -0.022em; margin: 0;
}
.m-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.m-hero p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 14px 0 0; }
.m-hero .m-stats { display: flex; gap: 26px; margin-top: 20px; }
.m-hero .m-stats .n { font-family: var(--sans); font-weight: 300; font-size: 26px; letter-spacing: -0.02em; }
.m-hero .m-stats .l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.m-sys { scroll-margin-top: 104px; padding: 26px 16px 8px; }
.m-sys .m-sys-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.m-sys .m-sys-head .num { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 0.9; }
.m-sys .m-sys-head .ti { font-size: 19px; font-weight: 400; letter-spacing: -0.015em; }
.m-sys .m-sys-head .ct { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.m-sys .m-tagline { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin: 8px 0 4px; }

.m-card {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--rule-2); cursor: pointer;
  -webkit-tap-highlight-color: rgba(70,135,214,0.08);
}
.m-card:active { background: rgba(70,135,214,0.05); }
.m-card .m-thumb {
  width: 76px; height: 76px; background: #fff; border: 1px solid var(--rule);
  border-radius: 3px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.m-card .m-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.m-card .m-thumb .sw { width: 100%; height: 100%; }
.m-card .m-thumb .zoom {
  position: absolute; bottom: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(26,26,26,0.7); display: flex; align-items: center; justify-content: center;
}
.m-card .m-thumb .zoom svg { width: 9px; height: 9px; stroke: #fff; }
.m-card .m-name { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.m-card .m-blurb { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card .m-foot { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.m-card .m-pn { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink); }
.m-card .m-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.m-card .m-chips .chip {
  font-family: var(--mono); font-size: 9px; font-weight: 500; padding: 2px 6px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2);
}
.m-card .m-chips .chip.ea { background: transparent; border-style: dashed; color: var(--ink-3); }

.m-footer { padding: 30px 18px 60px; border-top: 1px solid var(--rule); margin-top: 18px; color: var(--ink-2); }
.m-footer h4 { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.m-footer p { font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
.m-footer a { color: var(--accent); text-decoration: none; }
.m-footer .legal { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 8px; }

/* ── Responsive switch: phones get the card layout ─────────── */
@media (max-width: 820px) {
  body { background: var(--paper); }
  .toolbar, #catalog { display: none; }
  #mobile-catalog { display: block; }
  .list-fab { display: none !important; }   /* mobile uses header list button */
}

/* ── Mobile ergonomics: touch targets + sheet layouts ──────── */
@media screen and (max-width: 820px) {
  /* Larger, thumb-friendly tap targets */
  .qty button { width: 42px; height: 42px; font-size: 19px; }
  .qty .q { width: 40px; font-size: 15px; }
  .cat-fields .qty button { width: 42px; height: 42px; }
  .li-remove { width: 42px; height: 42px; }
  .li-remove svg { width: 18px; height: 18px; }
  .cat-close { width: 44px; height: 44px; top: 10px; right: 10px; }
  .cat-close svg { width: 18px; height: 18px; }
  .list-close { width: 44px; height: 44px; top: 12px; right: 12px; }
  .list-close svg { width: 17px; height: 17px; }
  .fchip { padding: 9px 14px 9px 10px; font-size: 13.5px; }
  .fchip .sw { width: 15px; height: 15px; }
  .finish-chips { gap: 8px; }
  .m-navchip { padding: 9px 15px; font-size: 12px; }
  .m-listbtn { padding: 10px 15px; font-size: 13px; }
  .m-card .m-thumb .zoom { width: 20px; height: 20px; bottom: 4px; right: 4px; }
  .m-card .m-thumb .zoom svg { width: 11px; height: 11px; }

  /* 16px form fonts so iOS doesn't zoom on focus; roomier hit areas */
  .cat-fields .dim input, .li-fields .dim input,
  .cat-fields .dim-sel, .li-fields .dim-sel,
  .cat-fields .dim-fixed .fixed-val, .li-fields .dim-fixed .fixed-val { font-size: 16px; }
  .li-fields .dim input { width: 62px; padding: 9px 10px; }
  .li-fields .dim-sel { padding: 9px 30px 9px 10px; background-position: right 10px center; }
  .li-fields .dim-fixed { padding: 9px 12px; }
  .li-fields { gap: 12px 14px; }
  .add-list-btn { padding: 15px 16px; font-size: 15px; }

  /* Parts list → bottom sheet */
  .list-overlay { padding: 0; align-items: flex-end; }
  .list-panel {
    width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }
  .list-head { padding: 20px 20px 14px; }
  .list-body { padding: 6px 18px; }
  .list-foot {
    flex-wrap: wrap; gap: 9px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  }
  .list-foot .btn { flex: 1 1 0; justify-content: center; padding: 14px 14px; }
  .list-foot .btn.clear { flex: 1 1 100%; margin-left: 0; order: 5; }

  /* Parts-list row: thumb + details on top, controls on their own full-width line */
  .list-item { grid-template-columns: 48px 1fr; column-gap: 12px; }
  .list-item .li-ctrl { grid-column: 1 / -1; justify-content: space-between; margin-top: 8px; }
}

@media screen and (max-width: 600px) {
  /* Detail overlay → near-fullscreen bottom sheet */
  .cat-overlay { padding: 0; align-items: flex-end; }
  .cat-detail {
    width: 100%; height: 94vh; max-height: 94vh;
    grid-template-columns: 1fr; grid-template-rows: 240px 1fr;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }
  .cat-media { min-height: 0; padding: 22px; border-right: none; border-bottom: 1px solid var(--rule); }
  .cat-media img { max-height: 100%; }
  .cat-info { padding-bottom: 0; }
  .pane-scroll { padding: 12px 22px 16px; }
  .pane-foot { padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); }
  .cat-nav { width: 38px; height: 38px; }
  .cat-nav.prev { left: 8px; }
  .cat-nav.next { right: 8px; }
}

/* ── Print rules ───────────────────────────────────────────── */
@media print {
  .list-fab, .list-overlay, .cat-overlay, #cat-toast,
  .add-list-btn, #mobile-catalog, .toolbar { display: none !important; }
  #catalog { display: block !important; }
  /* Print only the parts list when requested from the list panel */
  body.printing-list .page { display: none !important; }
  body.printing-list #list-print { display: block !important; }
}

/* Printable parts-list document */
#list-print { padding: 0.5in; font-family: var(--sans); color: var(--ink); }
#list-print .lp-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2pt solid var(--ink); padding-bottom: 12pt; }
#list-print .lp-head .mark { display: inline-flex; align-items: center; gap: 10pt; font-size: 16pt; font-weight: 600; }
#list-print .lp-head .mark .dot { width: 22pt; height: 22pt; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-family: var(--serif); font-style: italic; font-size: 13pt; }
#list-print .lp-head .meta { text-align: right; font-family: var(--mono); font-size: 9pt; color: var(--ink-2); line-height: 1.5; }
#list-print h1 { font-family: var(--sans); font-weight: 300; font-size: 28pt; letter-spacing: -0.02em; margin: 18pt 0 4pt; }
#list-print h1 em { font-family: var(--serif); font-style: italic; }
#list-print .lp-sub { font-family: var(--mono); font-size: 8.5pt; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18pt; }
#list-print table { width: 100%; border-collapse: collapse; }
#list-print thead th { font-family: var(--mono); font-size: 7.5pt; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 0 8pt 7pt; border-bottom: 1pt solid var(--ink); }
#list-print thead th.r, #list-print td.r { text-align: right; }
#list-print tbody td { font-size: 10pt; padding: 9pt 8pt; border-bottom: 0.5pt solid var(--rule); vertical-align: top; }
#list-print tbody .pn { font-family: var(--mono); font-weight: 600; }
#list-print tbody .jb { font-family: var(--mono); font-size: 8pt; color: var(--ink-3); }
#list-print tbody .nm { font-weight: 500; }
#list-print tbody .sys { font-size: 8.5pt; color: var(--ink-3); }
#list-print tbody .qty { font-family: var(--mono); font-weight: 600; }
#list-print .lp-foot { margin-top: 20pt; padding-top: 12pt; border-top: 0.5pt solid var(--rule); font-size: 9pt; color: var(--ink-2); line-height: 1.6; }
#list-print .lp-foot strong { color: var(--ink); }
#list-print .lp-h2 { font-family: var(--mono); font-size: 9pt; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin: 20pt 0 8pt; }
#list-print tbody tr.asm-row td { border-bottom: none; padding-top: 12pt; }
#list-print tbody tr.asm-row .nm { font-weight: 600; }
#list-print tbody tr.comp-row td { font-size: 9pt; color: var(--ink-2); padding-top: 2pt; padding-bottom: 2pt; border-bottom: none; }
#list-print tbody tr.comp-row td.ind { padding-left: 20pt; }
#list-print tbody tr.comp-row:last-child td { border-bottom: 0.5pt solid var(--rule); padding-bottom: 9pt; }
