/* ===========================================================================
   Specimen shell for the Tables chapter cards. Documentation-only — it styles
   the spec pages, not the compiled component CSS (that lives in
   components/tables.css). Mirrors the Forms chapter shell.
   =========================================================================== */
body { margin: 0; padding: 26px; background: var(--bg); font-family: var(--font-sans); color: var(--text); }
.doc { display: flex; flex-direction: column; gap: 30px; max-width: 1028px; margin: 0 auto; }

.head .eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 9px; }
.head h1 { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--text-strong); margin: 0 0 8px; }
.head p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 720px; }
.head p b { color: var(--text); font-weight: 600; }

.sec { display: flex; flex-direction: column; gap: 14px; }
.sec__h { display: flex; align-items: baseline; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.sec__h .n { font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle); }
.sec__h .t { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-strong); }
.sec__h .d { font-size: 12.5px; color: var(--text-muted); margin-left: auto; text-align: right; }

.cap { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-subtle); }
.cap--lead { display: block; margin-bottom: 8px; }
.note { font-size: 12.5px; color: var(--text-subtle); line-height: 1.55; }
.note b { color: var(--text-muted); font-weight: 600; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; color: var(--text-subtle); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 22px; height: 10px; border-radius: 2px; border: 1px solid var(--border); }

/* two-up light / dark frames */
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panes.stacked { grid-template-columns: 1fr; }
@media (max-width: 880px) { .panes { grid-template-columns: 1fr; } }
.pane { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; background: var(--surface-2); min-width: 0; }
.pane__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 7px; color: var(--text-subtle); }
.pane__tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* generic icon sizing for lucide inside specimen chrome */
.lucide { width: 16px; height: 16px; stroke-width: 1.75; vertical-align: middle; }
.sc-celltile .lucide { width: 18px; height: 18px; }
.sc-pager__btn .lucide, .sc-table-toolbar__search .lucide { width: 16px; height: 16px; }

/* spec annotation rows (reused from forms chapter) */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 880px) { .specs { grid-template-columns: 1fr; } }
.spec { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; background: var(--surface); }
.spec .k { font-family: var(--font-mono); font-size: 10px; color: var(--accent); white-space: nowrap; padding-top: 2px; min-width: 96px; }
.spec .v { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.spec .v b { color: var(--text-strong); font-weight: 600; }
.spec .v code { font-family: var(--font-mono); font-size: 11px; color: var(--text); background: var(--surface-3); padding: 1px 5px; border-radius: 3px; }
