/* Shared layout for recap, sample tracking and dashboard pages. */
.page-head { padding: 52px 0 26px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: end; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.page-head .lede { font-size: 17px; color: var(--ink-2); margin: 16px 0 0; max-width: 58ch; }
.facts { display: grid; gap: 12px; margin: 0; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 14px; }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.block { margin-top: 36px; }
.block > h2 { font-size: 28px; margin-bottom: 4px; }
.block > .sub { margin: 0 0 16px; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumb { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--sand); }
.thumb div { padding: 10px 12px 12px; }
.thumb b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.thumb small { color: var(--muted); font-size: 12px; }
.dots { display: flex; gap: 4px; margin-top: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(44,34,16,.2); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--cream); white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t .item { display: flex; align-items: center; gap: 10px; }
table.t .item img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; background: var(--sand); }
.scroll { overflow-x: auto; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill.ok { background: var(--sage-bg); color: #3f6b3a; }
.pill.wait { background: var(--amber-bg); color: #845b12; }
.pill.no { background: var(--rust-bg); color: var(--rust); }
.pill.info { background: var(--sand-2); color: var(--ink-2); }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.todo li:last-child { border-bottom: 0; }
.todo input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sage); }
.todo p { margin: 0; }
.todo small { color: var(--muted); }
.todo li.done p { text-decoration: line-through; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 14px; min-height: 38px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bcard { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.bcard h3 { font-size: 21px; }
.bcard .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.bcard .row b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter { height: 6px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--sage); border-radius: 999px; }
.email { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; max-width: 760px; }
.email .hdr { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; display: grid; gap: 2px; }
.email h3 { font-size: 22px; margin: 6px 0 10px; }
.email ul { margin: 0 0 12px; padding-left: 18px; color: var(--ink-2); }
.email li { margin: 4px 0; }
.confirm { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.msg { font-size: 14px; color: #3f6b3a; margin: 8px 0 0; }
@media (max-width: 900px) {
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
