/* CH (CH-DESIGN.md §10): the consultation form and the document pages on the dark t4 shell (site-pages.css + quote-t4c.css first).
   Tokens only (tokens.css); no light card fill; no text from CSS. */
.ch-col { max-width: 46rem; margin: 0 auto; }
.ch-wide { max-width: 62rem; margin: 0 auto; }
/* Hotfix (CH live incident 2026-11-11, PM 20261111-0146Z option (c)): the wrapper reuses the quote page's .t4c class, and
   quote-t4c.css (1100 px and wider) sets .t4c { pointer-events: none } so the quote page's 3D room behind it takes the pointer.
   pointer-events is inherited, so every field, tick and button of the consultation column ignored clicks on desktop. The CH
   columns take the pointer back, as static/pay.css does for .pay-col (E-a, 2026-10-24). */
.t4c .ch-col, .t4c .ch-wide { pointer-events: auto; }
.ch-form { display: grid; gap: 0; }
.ch-field { margin: 0 0 var(--s-5); border: 0; padding: 0; min-width: 0; }
.ch-field input[type=text], .ch-field input[type=email], .ch-field input[type=tel], .ch-field textarea {
  width: 100%; max-width: 32rem; box-sizing: border-box; }
.ch-field textarea { min-height: 9rem; max-width: 100%; }
.ch-help { margin: var(--s-1) 0 0; font-size: var(--fs-small); color: var(--c-on-glass-muted); }
.ch-err { margin: var(--s-1) 0 0; font-size: var(--fs-small); color: var(--c-orange-on-glass); }
.ch-banner { margin: 0 0 var(--s-5); padding: var(--s-3) var(--s-4); border-left: var(--bw-3) solid var(--c-orange-tint);
  background: var(--c-glass-sunk); color: var(--c-on-glass); font-size: var(--fs-small); }
.ch-radios { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
/* the meeting times: always visible without :has() support; hidden once "no" is chosen where :has() works */
.ch-form:has(#meet-no:checked) .ch-times { display: none; }
.ch-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ch-ref { font-family: var(--font-mono); color: var(--c-orange-on-glass); }
.ch-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-5); }
.ch-meta dt { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--c-on-glass-muted); text-transform: uppercase; }
.ch-meta dd { margin: var(--s-1) 0 0; color: var(--c-on-glass); overflow-wrap: anywhere; }
.ch-lines-wrap { overflow-x: auto; }
.ch-lines { width: 100%; border-collapse: collapse; font-size: var(--fs-small); color: var(--c-on-glass-2); }
.ch-lines th { text-align: left; font: var(--fw-medium) var(--fs-label)/1.3 var(--font-mono); color: var(--c-on-glass-muted);
  border-bottom: var(--bw-1) solid var(--c-holo-edge); padding: var(--s-2); }
.ch-lines td { padding: var(--s-2); border-bottom: var(--bw-1) solid var(--c-holo-edge-soft); vertical-align: top; }
.ch-lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-chip { display: inline-block; margin-top: var(--s-1); padding: 0 var(--s-2); border: var(--bw-1) solid var(--c-holo-edge);
  border-radius: var(--r-1); font-size: var(--fs-label); color: var(--c-on-glass-muted); }
.ch-totals { width: 100%; max-width: 26rem; margin: var(--s-4) 0 0 auto; border-collapse: collapse; font-size: var(--fs-small); }
.ch-totals td { padding: var(--s-1) var(--s-2); color: var(--c-on-glass-2); }
.ch-totals .num { text-align: right; font-variant-numeric: tabular-nums; }
.ch-totals tr.grand td { padding-top: var(--s-3); border-top: var(--bw-1) solid var(--c-holo-edge); color: var(--c-on-glass); font-weight: var(--fw-medium); }
.ch-small { font-size: var(--fs-small); color: var(--c-on-glass-muted); }
.ch-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-5); }
.ph--ch { margin-left: var(--s-1); font-size: 0.7em; vertical-align: 0.1em; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .ch-lines th.hide-sm, .ch-lines td.hide-sm { display: none; }
}
