/* Table, box and footnote term: one style for every STE section (Al, December 3, 2026; STE design system Table,
   Box and FootnoteTerm). Published at /foundations/shared/ste-table.css; Briefing and Signals load it after their
   own CSS, About and Ideas import it. Values are tokens from ste-tokens.css, so light and dark both follow.
   - Box: a card, table card or figure card. `surface`, 1px `box-border` (the header's hairline), `radius-surface`.
   - Table: wrap a <table class="ste-table"> in a box (.ste-box) or any card. Header row `surface-header`,
     `text-secondary`, 11px, weight 600, uppercase, +4% tracking, 44px; body rows alternate white and
     `surface-alternate`, split by the hairline; numbers right-aligned in tabular lining figures (`num` or `n`).
   - Footnote term: a word with a dotted `border-strong` underline whose tooltip holds the detail; the help cursor. */
.ste-box { background: var(--surface); border: 1px solid var(--box-border); border-radius: var(--radius-surface); }
.ste-box:has(> table.ste-table), .ste-box.ste-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.ste-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; line-height: 1.35; }
table.ste-table th { height: 44px; padding: 0 var(--space-3); background: var(--surface-header); color: var(--text-secondary); font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; text-align: left; text-transform: uppercase; vertical-align: middle; white-space: nowrap; border: 0; border-bottom: 1px solid var(--box-border); }
table.ste-table td { padding: var(--space-3); border: 0; border-bottom: 1px solid var(--box-border); vertical-align: middle; background: transparent; }
table.ste-table tbody tr:nth-child(even) > td { background: var(--surface-alternate); }
table.ste-table tbody tr:last-child > td { border-bottom: 0; }
table.ste-table :is(th, td):first-child { padding-left: var(--space-4); }
table.ste-table :is(th, td):last-child { padding-right: var(--space-4); }
table.ste-table :is(th, td):is(.num, .n, .r), table.ste-table td[align="right"], table.ste-table th[align="right"] { text-align: right; }
table.ste-table td:is(.num, .n) { white-space: nowrap; }

.ste-term { text-decoration: underline dotted var(--border-strong); text-decoration-thickness: 1.5px; text-underline-offset: .28em; cursor: help; -webkit-tap-highlight-color: transparent; }
.ste-term:hover, .ste-term:focus-visible, .ste-term[aria-expanded="true"] { text-decoration-color: var(--brand-700); }
