/* Shared styles for coverage.html and next.html; builds on styles.css tokens. */
.page { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }
.page-header { padding: 18px 0 8px; }
.page-header .header-topline { padding: 0 0 10px; }
.page-header h1 { margin: 6px 0 0; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.05; }
.page-header p { max-width: 780px; margin: 9px 0 0; color: var(--muted-foreground); font-size: 0.93rem; }
.banner { display: grid; gap: 6px; margin: 18px 0; padding: 14px 16px; border: 1px solid color-mix(in srgb, #dc2626 38%, var(--border)); border-radius: 15px; background: color-mix(in srgb, #fee2e2 55%, var(--background)); color: #7f1d1d; font-size: 0.9rem; line-height: 1.5; }
.banner strong { font-size: 0.98rem; }
.banner.neutral { border-color: color-mix(in srgb, #f59e0b 45%, var(--border)); background: color-mix(in srgb, #fef3c7 60%, var(--background)); color: #7c3f08; }
.dark .banner { background: rgba(220, 38, 38, 0.12); color: #fecaca; }
.dark .banner.neutral { background: rgba(245, 158, 11, 0.1); color: #fbd38d; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 24px; }
.stat { padding: 12px 14px; border: 1px solid var(--border); border-radius: 15px; background: var(--row); }
.stat b { display: block; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted-foreground); font-size: 0.78rem; }
.family { margin: 0 0 32px; }
.family h2 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 1.3rem; }
.cov-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.cov-table th { padding: 6px 8px; color: var(--muted-foreground); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
.cov-table td { padding: 10px 8px; border-top: 1px solid var(--border); vertical-align: middle; }
.cov-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bar { position: relative; min-width: 120px; height: 10px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.state-present i { background: #22c55e; } .state-partial i { background: #ca8a04; } .state-missing i { background: #dc2626; } .state-no-baseline i { background: #94a3b8; }
.state-present .bar-fill, .bar i.state-present { background: #22c55e; } .bar i.state-partial { background: #ca8a04; } .bar i.state-missing { background: #dc2626; }
.method { margin-top: 24px; color: var(--muted-foreground); font-size: 0.8rem; line-height: 1.55; }
/* next.html */
.draft-ribbon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #7c3aed; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.next-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.product-nav { position: sticky; top: 12px; display: grid; gap: 4px; max-height: calc(100vh - 24px); overflow-y: auto; padding: 10px; border: 1px solid var(--border); border-radius: 15px; background: var(--panel); }
.product-nav h3 { margin: 10px 8px 4px; color: var(--muted-foreground); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.product-nav button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 0.84rem; text-align: left; }
.product-nav button:hover { background: var(--secondary); }
.product-nav button[aria-current="true"] { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); font-weight: 600; }
.product-nav .dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; }
.product-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin: 0 0 10px; }
.product-head h2 { margin: 0; font-size: 1.6rem; }
.gap-box { margin: 0 0 20px; padding: 14px 16px; border: 1px dashed color-mix(in srgb, #dc2626 55%, var(--border)); border-radius: 15px; font-size: 0.88rem; line-height: 1.5; }
.gap-box.ok { border-style: solid; border-color: var(--border); }
.gap-box a { font-weight: 600; }
.month { margin: 0 0 22px; }
.month h3 { position: sticky; top: 0; margin: 0 0 8px; padding: 6px 0; background: var(--background); font-size: 1rem; }
.month h3 span { color: var(--muted-foreground); font-size: 0.76rem; font-weight: 500; }
.rec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--row); }
.rec + .rec { margin-top: 6px; }
.rec b { font-weight: 600; font-size: 0.9rem; }
.rec small { color: var(--muted-foreground); font-size: 0.74rem; }
.rec .when { grid-row: span 2; align-self: center; text-align: right; font-size: 0.74rem; color: var(--muted-foreground); }
.lane { margin: 0 0 24px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 15px; background: var(--row); }
.lane h3 { margin: 0 0 8px; font-size: 0.95rem; }
.lane ul { margin: 0; padding-left: 18px; font-size: 0.84rem; line-height: 1.6; }
@media (max-width: 860px) {
  .page { padding: 0 16px 32px; }
  .next-layout { grid-template-columns: 1fr; }
  .product-nav { position: static; max-height: 240px; }
  .cov-table .hide-sm { display: none; }
}
