/* T table (/t-table). Uses the site tokens from /styles.css. */
.tt { max-width: 1480px; margin: 0 auto; padding: 8px 32px 40px; }
.tt .page-title { margin: 18px 0 24px; }
.tt [hidden] { display: none !important; }
.tt-layout { display: grid; grid-template-columns: minmax(330px, 390px) minmax(0, 1fr); gap: 22px; align-items: start; }

/* ---------- Controls ---------- */
.tt-controls { display: grid; gap: 14px; position: sticky; top: 14px; }
.tt-panel { padding: 16px 18px; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); box-shadow: 0 18px 34px -32px rgba(20, 29, 38, .5); }
.tt-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tt-step { margin: 0 0 12px; font: 600 13px var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.tt-panel-head .tt-step { margin: 0; }
.tt-step span { color: var(--accent); margin-right: 6px; font-family: var(--f-mono); }
.tt-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tt-modes button {
  display: grid; gap: 2px; padding: 11px 10px; border: 1px solid var(--rule); border-radius: 14px; background: #fff;
  text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.tt-modes button b { font: 600 14px var(--f-display); color: var(--ink); }
.tt-modes button small { font-size: 11.5px; color: var(--ink-3); }
.tt-modes button:hover { border-color: var(--ink-3); }
.tt-modes button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); }
.tt-modes button[aria-checked="true"] b { color: var(--cream); }
.tt-modes button[aria-checked="true"] small { color: #AEB8C1; }
.tt-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.tt-seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; cursor: pointer; font: 500 13px var(--f-mono); color: var(--ink-2); }
.tt-seg button[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.tt-modes button:focus-visible, .tt-seg button:focus-visible, .tt-tails button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tt-group { display: grid; gap: 8px; margin-top: 10px; }
.tt-gtitle { margin: 4px 0 0; font: 600 13px var(--f-display); color: var(--ink-2); }
.tt-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tt-fields-h { grid-template-columns: 1fr; margin-bottom: 12px; }
.tt-field { display: grid; gap: 4px; min-width: 0; }
.tt-field span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-field input, .tt-raw textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--rule); border-radius: 11px; background: #fff;
  font: 500 16px/1.25 var(--f-mono); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.tt-field input:focus-visible, .tt-raw textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper-2); }
.tt-raw { display: grid; gap: 5px; }
.tt-raw > span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.tt-raw textarea { font-size: 13.5px; line-height: 1.5; resize: vertical; min-height: 70px; }
.tt-raw-info { font: 12px var(--f-mono); color: var(--ink-3); }
.tt-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.tt-check input { width: 16px; height: 16px; accent-color: var(--ink); }
.tt-tails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tt-tails button {
  display: grid; justify-items: center; gap: 2px; padding: 9px 6px 7px; border: 1px solid var(--rule); border-radius: 13px;
  background: #fff; cursor: pointer; font: 500 12px var(--f-body); color: var(--ink-2);
}
.tt-tails svg { width: 52px; height: 22px; }
.tt-tails .l { fill: none; stroke: currentColor; stroke-width: 1.6; }
.tt-tails .f { fill: var(--accent); }
.tt-tails i { font: normal 600 13px var(--f-mono); }
.tt-tails button[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tt-hyp { display: grid; gap: 4px; margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--paper-2); font: 15px var(--f-display); }
.tt-hyp b { display: inline-grid; place-items: center; min-width: 26px; margin-right: 8px; padding: 1px 6px; border-radius: 6px; background: var(--ink); color: var(--cream); font: 600 12px var(--f-mono); }
.tt-hyp b.alt { background: var(--accent); }
.tt-alpha { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tt-set-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Stage ---------- */
.tt-results { min-width: 0; display: grid; gap: 16px; }
.tt-stage { padding: 20px 22px 16px; border-radius: 24px; background: var(--stage); color: var(--cream); box-shadow: 0 30px 60px -40px rgba(10, 15, 20, .8); }
.tt-stage-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; }
.tt-stat { display: grid; gap: 4px; justify-items: start; }
.tt-eyebrow, .tt-metrics dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8C98A3; }
.tt-tval { display: flex; align-items: baseline; gap: 10px; font: 600 clamp(52px, 7vw, 84px)/0.95 var(--f-display); letter-spacing: -.03em; }
.tt-tval i { color: var(--gold); font-style: italic; }
.tt-tval .eq { color: #5F6C78; font-size: .6em; }
.tt-tval b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tt-df { padding: 4px 10px; border-radius: 999px; background: var(--stage-2); border: 1px solid var(--stage-line); font: 13px var(--f-mono); color: #C9D1D8; }
.tt-metrics { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.tt-metrics > div { min-width: 128px; padding: 10px 14px; border-radius: 14px; background: var(--stage-2); border: 1px solid var(--stage-line); }
.tt-metrics dd { margin: 4px 0 0; font: 500 22px/1.1 var(--f-mono); font-variant-numeric: tabular-nums; }
.tt-verdict { transition: background .25s, border-color .25s; }
.tt[data-verdict="reject"] .tt-verdict { background: rgba(224, 73, 43, .16); border-color: rgba(224, 73, 43, .55); }
.tt[data-verdict="reject"] .tt-verdict dd { color: #FF9C86; }
.tt[data-verdict="keep"] .tt-verdict { background: rgba(76, 195, 181, .12); border-color: rgba(76, 195, 181, .45); }
.tt[data-verdict="keep"] .tt-verdict dd { color: #7FDCD0; }
.tt-verdict dd { font-family: var(--f-display) !important; font-weight: 600 !important; font-size: 19px !important; }

.tt-chart { margin: 16px 0 0; padding: 14px 14px 4px; border-radius: 18px; background: #0F171F; border: 1px solid var(--stage-line); }
.tt-chart figcaption { display: grid; gap: 4px; padding: 0 6px 6px; }
.tt-chart figcaption > span { font: 600 15px var(--f-display); }
.tt-chart figcaption small { font-size: 12.5px; line-height: 1.45; color: #8C98A3; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.tt-chart .sw { display: inline-block; width: 12px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.tt-chart .sw.rej { background: #E0492B; }
.tt-chart .sw.p { background: repeating-linear-gradient(45deg, #E9B44C 0 2px, transparent 2px 5px); border: 1px solid #E9B44C; }
.tt-chart .sw.t { width: 3px; height: 12px; background: #E9B44C; }
.tt-chart .sw.n { width: 14px; height: 0; border-top: 2px dashed #7F8B96; border-radius: 0; }
.tt-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tt-chart .ax { font: 12px var(--f-mono); fill: #8C98A3; text-anchor: middle; }
.tt-chart .crit-t { font: 600 12px var(--f-mono); fill: #FF8F78; text-anchor: middle; }
.tt-chart .needle-t { font: 700 13px var(--f-mono); fill: #131C25; text-anchor: middle; dominant-baseline: middle; }
.tt-chart .zero-t { font: 600 12px var(--f-mono); fill: #F3EDE1; text-anchor: middle; }
.tt-chart .ruler-t { font: 500 13px var(--f-mono); fill: #C9D1D8; text-anchor: middle; }
.tt-ruler-fig { padding-bottom: 8px; }
.tt-msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(242, 114, 90, .14); color: #FFB4A5; font-size: 14px; }
.tt.is-invalid .tt-chart, .tt.is-invalid .tt-cards, .tt.is-invalid .tt-working, .tt.is-invalid .tt-stage-head { opacity: .35; pointer-events: none; }

/* ---------- Cards ---------- */
.tt-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tt-card { padding: 16px 18px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); min-width: 0; }
.tt-card h2 { margin: 0 0 10px; font: 600 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tt-big { font: 600 24px/1.15 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tt-big > span:not(.tt-tag) { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.tt-note { margin: 8px 0 0; font-size: 12.8px; line-height: 1.45; color: var(--ink-2); }
.tt-ci { position: relative; height: 40px; margin: 12px 0 2px; }
.tt-ci::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--rule); }
.tt-ci .band { position: absolute; top: 8px; height: 14px; border-radius: 4px; background: var(--accept); opacity: .4; transition: left .4s var(--ease), width .4s var(--ease); }
.tt-ci .band.rej { background: var(--accent); }
.tt-ci .est { position: absolute; top: 4px; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--ink); transition: left .4s var(--ease); }
.tt-ci .h0 { position: absolute; top: 0; height: 30px; border-left: 2px dashed var(--accent); transition: left .4s var(--ease); }
.tt-ci .h0 em { position: absolute; top: 28px; left: 0; transform: translateX(-50%); font: normal 11px var(--f-mono); color: var(--accent); white-space: nowrap; }
.tt-tag { padding: 3px 9px; border-radius: 999px; font: 600 11.5px var(--f-body); letter-spacing: .03em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); }
.tt-tag.medium { background: #F6E7C6; color: #7A5410; } .tt-tag.large { background: var(--accent-soft); color: #8A2A17; } .tt-tag.small { background: var(--accept-soft); color: #164F4B; }
.tt-meter { position: relative; display: grid; grid-template-columns: 2fr 3fr 3fr 4fr; gap: 3px; height: 10px; margin-top: 12px; }
.tt-meter i { border-radius: 3px; background: var(--paper-2); }
.tt-meter i:nth-child(2) { background: var(--accept-soft); } .tt-meter i:nth-child(3) { background: #F6E7C6; } .tt-meter i:nth-child(4) { background: var(--accent-soft); }
.tt-meter b { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--ink); transition: left .4s var(--ease); }
.tt-scale { display: grid; grid-template-columns: 2fr 3fr 3fr 4fr 0fr; font: 10.5px var(--f-mono); color: var(--ink-3); margin-top: 4px; }
.tt-mini { width: 100%; border-collapse: collapse; font: 13px var(--f-mono); }
.tt-mini th { text-align: left; font: 600 10.5px var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 6px; }
.tt-mini td { padding: 6px 0; border-top: 1px dashed var(--rule); }
.tt-mini tr.cur td { font-weight: 700; color: var(--ink); }
.tt-mini tr.cur td:first-child::before { content: "▸ "; color: var(--accent); }
.tt-mini .yes { color: var(--accent); font-weight: 600; } .tt-mini .no { color: var(--accept); }
.tt-kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--rule); font-size: 13px; color: var(--ink-2); }
.tt-kv:first-child { border-top: 0; padding-top: 0; }
.tt-kv b { font: 500 12.5px var(--f-mono); color: var(--ink); text-align: right; }
.tt-strip { display: block; width: 100%; height: auto; }
.tt-strip .lbl { font: 600 10.5px var(--f-body); fill: #7A828A; letter-spacing: .03em; }
.tt-strip .h0 { font: 10px var(--f-mono); fill: #E0492B; text-anchor: middle; }

/* ---------- Working ---------- */
.tt-working { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.tt-steps-wrap, .tt-words { padding: 18px 22px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); min-width: 0; }
.tt-working h2 { margin: 0 0 10px; font: 600 18px var(--f-display); }
.tt-words h3 { margin: 18px 0 6px; font: 600 14px var(--f-display); }
.tt-words p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.tt-words p strong { color: var(--ink); }
.tt-report { padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font: 13px/1.55 var(--f-mono) !important; }
.tt-working .step-f { line-height: 1.9; font-size: 15.5px; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .tt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tt-working { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .tt-layout { grid-template-columns: 1fr; } .tt-controls { position: static; } }
@media (max-width: 640px) {
  .tt { padding: 4px 16px 32px; }
  .tt-stage { padding: 16px 12px 12px; border-radius: 20px; }
  .tt-metrics > div { min-width: 0; flex: 1 1 30%; padding: 9px 10px; }
  .tt-metrics dd { font-size: 17px; }
  .tt-verdict dd { font-size: 15px !important; }
  .tt-cards { grid-template-columns: 1fr; }
  .tt-chart .ax, .tt-chart .crit-t, .tt-chart .zero-t { font-size: 20px; }
  .tt-chart .needle-t, .tt-chart .ruler-t { font-size: 20px; }
}

/* labels carry symbols (x̄, μ₀, α, s_d): uppercase would turn μ into M and α into A */
.tt-field span, .tt-raw > span, .tt-set-label { text-transform: none; letter-spacing: .01em; font-size: 12.5px; }
.tt-mini th { text-transform: none; letter-spacing: .01em; font-size: 11.5px; }
.tt-strip .lbl { font-size: 12px; } .tt-strip .h0 { font-size: 11px; }
@media (max-width: 640px) {
  .tt-chart .ax, .tt-chart .crit-t, .tt-chart .zero-t { font-size: 28px; }
  .tt-chart .needle-t { font-size: 28px; }
  .tt-chart .ruler-t { font-size: 26px; }
}


/* ---------- T table specifics ---------- */
.tt-modes { grid-template-columns: repeat(2, 1fr); }
.tt-field-big input { font-size: 22px; padding: 10px 12px; }
.tt-slider { display: block; width: 100%; margin: 10px 0 2px; }
.tt-known { display: grid; gap: 8px; margin-top: 12px; }
.tt-chips { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 10px; }
.tt-chips-a { grid-template-columns: repeat(4, 1fr); }
.tt-chips button { min-width: 0; padding: 6px 4px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; cursor: pointer; font: 500 13px var(--f-mono); color: var(--ink-2); transition: border-color .15s, background .15s; }
.tt-chips button:hover { border-color: var(--ink-3); }
.tt-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tt-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tt-hint { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.tt-alpha-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.tt-conf { display: grid; gap: 4px; padding: 7px 12px; border-radius: 11px; background: var(--paper-2); }
.tt-conf span { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.tt-conf b { font: 600 17px var(--f-mono); color: var(--ink); }

.tt-bigval { display: flex; align-items: baseline; gap: 10px; padding-bottom: .12em; font: 600 clamp(48px, 6.4vw, 80px)/0.95 var(--f-display); letter-spacing: -.03em; }
.tt-bigval i { color: var(--gold); font-style: italic; }
.tt-bigval .eq { color: #5F6C78; font-size: .6em; }
.tt-bigval b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tt-sub { font: 13px var(--f-mono); color: #AEB8C1; }
.tt-metrics dt { text-transform: none; letter-spacing: .02em; font-size: 12.5px; }
.tt-chart svg#chart-curve, .tt-chart svg#chart-df { cursor: ew-resize; touch-action: none; }
.tt-chart svg:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.tt-chart .chip-t { font: 700 13px var(--f-mono); fill: #F3EDE1; text-anchor: middle; dominant-baseline: middle; }
.tt-chart .chip-t.dark { fill: #131C25; }
.tt-chart .area-t { font: 600 13px var(--f-mono); fill: #FFD3C9; text-anchor: middle; }
.tt-chart .ax-y { text-anchor: end; }
.tt-chart .ax-l { text-anchor: start; fill: #AEB8C1; }
.tt-chart .ax-minor { fill: #5F6C78; }
.tt-chart .ax-sub { font-size: 11px; fill: #5F6C78; }
.tt-chart .ref-t { font: 600 12px var(--f-mono); fill: #AEB8C1; text-anchor: end; }
.tt-chart .ref-t.crit-t { fill: #FF8F78; }
.tt-chart .mile-t { font: 500 12px var(--f-mono); fill: #7FDCD0; }
.tt-chart .hit { cursor: ew-resize; }
.tt-chart .sw.rej { opacity: .8; }

/* the printed table */
.tt-table-wrap { padding: 18px 18px 14px; border: 1px solid var(--rule); border-radius: 22px; background: var(--card); min-width: 0; }
.tt-table-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tt-table-head h2 { margin: 0 0 4px; font: 600 20px var(--f-display); }
.tt-table-head p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.tt-print { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; cursor: pointer; font: 500 13.5px var(--f-body); color: var(--ink); }
.tt-print:hover { border-color: var(--ink-3); }
.tt-print svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tt-scroll { overflow: auto; max-height: 640px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.tt-table { width: 100%; border-collapse: separate; border-spacing: 0; font: 13.5px var(--f-mono); font-variant-numeric: tabular-nums; }
.tt-table th, .tt-table td { padding: 6px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid #EFE8DA; }
.tt-table thead th { position: sticky; z-index: 2; background: var(--ink); color: var(--cream); font: 600 12.5px var(--f-mono); }
.tt-table thead tr.h1 th { top: 0; }
.tt-table thead tr.h2 th { top: 29px; background: #22303C; color: #C9D1D8; font-weight: 500; }
.tt-table thead tr.h3 th { top: 58px; background: #2E3D4A; color: #AEB8C1; font-weight: 500; border-bottom: 0; }
.tt-table thead th:first-child { left: 0; z-index: 3; text-align: left; font-family: var(--f-body); letter-spacing: .01em; }
.tt-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--paper-2); color: var(--ink); font-weight: 600; text-align: left; }
.tt-table tbody tr.sep th, .tt-table tbody tr.sep td { border-bottom: 2px solid var(--rule); }
.tt-table tbody tr.zrow th, .tt-table tbody tr.zrow td { background: #F6F1E7; font-style: italic; }
.tt-table td { cursor: pointer; transition: background .12s; }
.tt-table td:hover { background: var(--paper-2); }
.tt-table td:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tt-table thead th.col-on { background: var(--gold); color: var(--ink); }
.tt-table td.col-on { background: #FBF0D8; }
.tt-table tr.row-on td { background: #FBF0D8; }
.tt-table tr.row-on th { background: var(--gold); }
.tt-table td.hit { background: var(--accent) !important; color: #fff; font-weight: 700; box-shadow: inset 0 0 0 2px var(--ink); }
.tt-table td.br { background: var(--accept-soft) !important; color: #0F4440; font-weight: 700; box-shadow: inset 0 0 0 2px var(--accept); }

/* cards */
.tt-bar { margin-top: 10px; }
.tt-bar:first-child { margin-top: 0; }
.tt-bar-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.tt-bar-top b { font: 600 13px var(--f-mono); color: var(--ink); }
.tt-bar-track { position: relative; height: 9px; margin-top: 5px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.tt-bar-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--ink-3); transition: width .4s var(--ease); }
.tt-bar.rej .tt-bar-track i { background: var(--accent); }
.tt-bar.p .tt-bar-track i { background: var(--gold); }
.tt-bar.p .tt-bar-top span { font-weight: 600; color: var(--ink); }
.tt-mini th { text-transform: none; letter-spacing: .01em; font-size: 11.5px; }
.tt-cmp { display: grid; gap: 8px; margin-bottom: 4px; }
.tt-cmp > div { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; font: 13px var(--f-mono); }
.tt-cmp span { color: var(--ink-3); }
.tt-cmp i { display: block; height: 12px; border-radius: 4px; background: var(--gold); transition: width .4s var(--ease); }
.tt-cmp i.z { background: var(--ink-3); }
.tt-cmp b { font-weight: 600; }
.tt-card .tt-kv { margin-top: 2px; }
.tt-card .tt-big + .tt-kv { border-top: 0; }

@media (max-width: 640px) {
  .tt-chart .chip-t { font-size: 30px; }
  .tt-chart .area-t { display: none; }
  .tt-chart .ax, .tt-chart .crit-t { font-size: 28px; }
  .tt-chart .ax-sub, .tt-chart .ax-minor, .tt-chart .ax-l, .tt-chart .mile-t { display: none; }
  .tt-chart .ref-t { font-size: 26px; }
  .tt-table th, .tt-table td { padding: 5px 8px; font-size: 12.5px; }
  .tt-table thead tr.h2 th { top: 27px; } .tt-table thead tr.h3 th { top: 54px; }
  .tt-scroll { max-height: 520px; }
}

@media print {
  body::before, .masthead, .footer, .guide, .toast, .tt .page-title, .tt-controls, .tt-stage, .tt-cards, .tt-working, .tt-print, #table-note { display: none !important; }
  body { background: #fff; }
  .tt { padding: 0; max-width: none; }
  .tt-layout { display: block; }
  .tt-table-wrap { border: 0; padding: 0; background: none; }
  .tt-scroll { max-height: none; overflow: visible; border: 0; }
  .tt-table thead th, .tt-table tbody th { position: static; }
  .tt-table thead th { background: #eee !important; color: #000 !important; }
  .tt-table td, .tt-table tr td, .tt-table tbody th { background: none !important; color: #000 !important; box-shadow: none !important; }
  .tt-table th, .tt-table td { padding: 2px 8px; font-size: 11px; }
}
