/* The Dig in report, treatment B (owner 2026-09-27, workshop/reports .rep-b), for every kind since 2026-09-29, and its
   printed sheet, treatment C (.rep-c): a masthead, the header, the cards, the family, the brief, and the sources,
   nothing else. Linked by the Magic Calendar page (src/render.mjs magicPage); drawn by assets/digcards.js. */
.rep-b{margin:0}
.rep-b .rb-hd{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:2px solid var(--ink);padding-bottom:10px;margin:0 44px 14px 0}
.rep-b .rb-hd h2{margin:2px 0 0;overflow-wrap:anywhere}
.rep-b .rb-big{font:800 44px/1 var(--display);color:var(--coral-deep);text-align:right;white-space:nowrap}
.rep-b .rb-big span{display:block;font:700 12px/1.2 var(--body);color:var(--muted);margin-top:4px}
.rep-b .rb-big.rb-none{font-size:20px;color:var(--muted)}
.rep-b .rb-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rep-b .rb-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px;min-width:0}
.rep-b .rb-card h4{font:800 16px/1.2 var(--display);margin:0 0 8px}
.rep-b .rb-bars{display:block;width:auto;max-width:100%;height:auto;margin:2px 0 6px}
.rep-b .rb-bars rect{fill:var(--coral)}
.rep-b .rb-bars text{fill:var(--muted);font:700 8px var(--body)}
.rep-b .rb-line{margin:4px 0;font-size:14px;line-height:1.45}
.rep-b .rb-line b{color:var(--coral-deep)}
.rep-b .rb-line a{color:inherit;text-decoration:underline;text-decoration-color:var(--line)}
.rep-b table{font-size:13.5px}
.rep-b th,.rep-b td{padding:5px 0;border-bottom:1px solid var(--line);background:none}
.rep-b tbody tr:nth-child(even) td{background:none}
.rep-b .rb-nums th{font:700 13px/1.35 var(--body);letter-spacing:0;text-transform:none;color:var(--muted);width:48%;border-bottom:1px solid var(--line);vertical-align:top}
.rep-b .rb-nums td{font-weight:800;vertical-align:top}
.rep-b .rb-rel th{font-size:11px;letter-spacing:.06em;border-bottom:1px solid var(--line)}
.rep-b .rb-rel td:nth-child(n+2),.rep-b .rb-rel th:nth-child(n+2){text-align:right;padding-left:10px;white-space:nowrap}
.rep-b .rb-rel td:nth-child(2){font-weight:800;font-variant-numeric:tabular-nums}
.rep-b .rb-rel td:nth-child(n+3){color:var(--muted)}
.rep-b .rb-fam{margin-top:16px}
.rep-b .rb-fam h3,.rep-b .rb-brief h3{font-size:18px;margin:18px 0 8px}
.rep-b .rb-brief{margin-top:6px}
.rep-b .rb-brief .intro{color:var(--muted)}
.rep-b .rb-brief td{font-size:15px;vertical-align:top;padding:8px 10px 8px 0}
.rep-b .rb-src{color:var(--muted);font-size:12px;margin:16px 0 0;border-top:1px solid var(--line);padding-top:8px}
.rep-b .rb-mast{display:none}
/* The other kinds' headers and cards (assets/digcards.js, owner 2026-09-29). */
.rep-b .rb-hd-t{min-width:0}
.rep-b .rb-sub{margin:4px 0 0;color:var(--muted);font-size:14px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.rep-b .rb-hd-color,.rep-b .rb-hd-pic{justify-content:flex-start;align-items:center}
.rep-b .rb-swatch{flex:none;width:88px;height:88px;border-radius:18px;border:1px solid var(--line);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.rep-b .rb-thumb{flex:none;width:120px;height:120px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--card)}
.rep-b .rb-sw{display:inline-block;width:22px;height:22px;border-radius:6px;border:1px solid rgba(0,0,0,.12);vertical-align:middle}
.rep-b .rb-cellpal,.rb-cellpal{display:flex;gap:4px;margin:0 0 5px}.rb-cellpal .rb-sw{display:inline-block;width:22px;height:22px;border-radius:6px;border:1px solid rgba(0,0,0,.12);print-color-adjust:exact;-webkit-print-color-adjust:exact}
.rep-b .rb-sw.sm{width:14px;height:14px;border-radius:4px;margin-left:4px}
.rep-b .rb-sws{display:inline-flex;gap:4px;margin:6px 0 0}
.rep-b .rb-card p{margin:4px 0;font-size:14px;line-height:1.45}
.rep-b .rb-prods,.rep-b .rb-pals,.rep-b .rb-list,.rep-b .rb-titles{list-style:none;margin:0;padding:0}
.rep-b .rb-prods li,.rep-b .rb-pals li,.rep-b .rb-list li,.rep-b .rb-titles li{padding:6px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.4}
.rep-b .rb-prods li:last-child,.rep-b .rb-pals li:last-child,.rep-b .rb-list li:last-child,.rep-b .rb-titles li:last-child{border-bottom:0}
.rep-b .rb-prods b,.rep-b .rb-titles b{display:block}
.rep-b .rb-prods span,.rep-b .rb-titles span{display:block}
.rep-b .rb-prods em{display:block;font-style:normal;color:var(--muted);font-size:13px}
.rep-b .rb-pals .rb-sws{margin:0 8px 4px 0;vertical-align:middle}
.rep-b .rb-pals span:not(.rb-sws):not(.rb-sw){display:block;color:var(--muted);font-size:13px}
.rep-b .rb-prompts li{font-size:13px}
.rep-b .rb-ol{margin:4px 0 0;padding-left:20px;font-size:14px;line-height:1.45}
.rep-b .rb-side b,.rep-b .rb-if{color:var(--coral-deep)}
.rep-b .rb-if{font:800 12px/1 var(--body);letter-spacing:.06em;text-transform:uppercase;margin:8px 0 2px !important}
.rep-b .rb-feel{font:600 16px/1.4 var(--display)}
.rep-b .rb-date,.rep-b .rb-num{font:800 30px/1.05 var(--display);color:var(--coral-deep)}
.rep-b .rb-font{padding:6px 0;border-bottom:1px solid var(--line)}
.rep-b .rb-font:last-child{border-bottom:0}
.rep-b .rb-font-h{font-size:24px !important;line-height:1.1 !important}
.rep-b .rb-font-n{color:var(--muted);font-size:12px !important}
.rb-bar{display:flex;gap:10px;align-items:center;margin-top:16px}
.rb-bar .btn{border:0;cursor:pointer;font-size:15px;padding:10px 18px}
.rb-bar .btn.ghost{border:1px solid var(--line)}
/* Members only (assets/member.js sets data-plan), as src/newspaper/member.css on the newspaper pages. */
html:not([data-plan="creator"]):not([data-plan="studio"]) #evm .gated{display:none !important}
@media (max-width:640px){
  .rep-b .rb-cards{grid-template-columns:1fr}
  .rep-b .rb-hd{flex-direction:column;align-items:flex-start;margin-right:40px}
  .rep-b .rb-big{text-align:left;font-size:38px}
  .rep-b .rb-hd-color,.rep-b .rb-hd-pic{flex-direction:row}
  .rep-b .rb-swatch{width:64px;height:64px}
  .rep-b .rb-thumb{width:84px;height:84px}
}
@media print{
  html,body{overflow:visible !important;height:auto !important;background:#fff !important}
  body:has(#evm .rep-b)>*:not(main),body:has(#evm .rep-b) main>*:not(#evm){display:none !important}
  body:has(#evm .rep-b) main{padding:0;max-width:none}
  #evm:has(.rep-b){position:static;display:block;background:none;backdrop-filter:none;padding:0;overflow:visible}
  #evm:has(.rep-b) .evm-card{box-shadow:none;width:auto;padding:0;border-radius:0;animation:none}
  #evm:has(.rep-b) .evm-x,#evm:has(.rep-b) .mcchat,#evm:has(.rep-b) .mcbar,#evm:has(.rep-b) .rb-bar{display:none !important}
  .rep-b .rb-mast{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:14px;font-size:12px;color:var(--muted)}
  .rep-b .rb-mast b{font:800 20px/1 var(--display);color:var(--ink)}
  .rep-b .rb-hd{margin-right:0}
  .rep-b .rb-card{break-inside:avoid;border-color:#ddd}
  .rep-b .rb-fam,.rep-b .rb-brief table{break-inside:avoid}
  /* Owner 2026-11-25, on a printed Dig in: "format it better so who types it uses the space better (not half the page with
     blank on other half) and so we don't have headers at the bottom of each page". A last card with no neighbor runs the
     full width, and a heading stays with what follows it. */
  .rep-b .rb-cards .rb-card:last-child:nth-child(odd){grid-column:1/-1}
  .rep-b h3,.rep-b h4{break-after:avoid;page-break-after:avoid}
  .rep-b thead{display:table-header-group}
  .rep-b tr{break-inside:avoid}
  .rep-b .rb-brief p{orphans:3;widows:3}
  .rep-b .rb-bars rect,.rep-b .rb-sw,.rep-b .rb-swatch,.rep-b .rb-thumb{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
/* Sample search numbers in Dig in reports (SAMPLE_VOLUMES=1 previews only, vercel/api/_sample.js). */
.vol-sample{text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:currentColor;cursor:help}
.rep-b .rb-bars.vol-sample{text-decoration:none;outline:1px dotted currentColor;outline-offset:2px}
.rep-b .rb-why{color:var(--muted)}

/* Tippy's line, the best bet, and the Dig in links on related phrases (owner 2026-11-25: "Let's try a-e"). */
.rep-b .rb-tippy{margin:14px 0 0;padding:12px 16px;border-radius:14px;background:color-mix(in srgb,var(--lead,#EE4D5F) 9%,#fff);font-size:16.5px;line-height:1.45}
.rep-b .rb-tippy b{display:block;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--lead-ink,#D93B4E);margin-bottom:2px}
.rep-b .rb-bet{margin:12px 0 4px;padding:14px 16px;border:2px solid var(--ink,#2B2438);border-radius:14px;break-inside:avoid}
.rep-b .rb-bet h4{margin:0 0 4px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase}
.rep-b .rb-bet .rb-bet-p{margin:0 0 4px;font-weight:800;font-size:20px;line-height:1.2}
.rep-b .rb-bet p{margin:0 0 8px}
.rep-b .rb-bet dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.rep-b .rb-bet dt{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-top:3px;white-space:nowrap}
.rep-b .rb-bet dd{margin:0;font-weight:600}
.rep-b .rb-rel a.rb-dig{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.rep-b .rb-rel a.rb-dig:hover{color:var(--lead-ink,#D93B4E);text-decoration-style:solid}
@media print{.rep-b .rb-rel a.rb-dig{text-decoration:none}}
