:root {
  --th-paper: #f6f6f4;
  --th-card: #ffffff;
  --th-band: #e9e9e5;
  --th-line: #cfcfc8;
  --th-ink: #1c1f24;
  --th-muted: #565b63;
  --th-accent: #1f4e8c;
  --th-accent-dark: #163a69;
  --th-on-accent: #ffffff;
  --th-tint: #e6ecf5;
  --th-tint-ink: #163a69;
  --th-signal-tint: #fbe3d8;
  --th-signal-ink: #9c2a12;
  --th-signal: #c8391b;
  --th-dark: #1c2330;
  --th-on-dark: #e8ebf0;
  --th-on-dark-accent: #f5c58b;
  --th-font-head: Georgia, 'Times New Roman', serif;
  --th-font-text: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --th-size-text: 17px;
  --th-leading: 1.6;
  --th-weight-head: 700;
  --th-leading-head: 1.12;
  --th-radius-card: 8px;
  --th-radius-btn: 6px;
  --th-radius-pill: 999px;
}
.th-body { background:var(--th-paper); color:var(--th-ink); font-family:var(--th-font-text); font-size:var(--th-size-text); line-height:var(--th-leading); overflow-x:hidden; }
.th-main { max-width:1200px; }
.th-header { background:var(--th-card); border-bottom:1px solid var(--th-line); }
.th-logo-word { font-family:var(--th-font-head); font-size:20px; font-weight:var(--th-weight-head); }
.th-logo-2 { color:var(--th-accent); }
.th-navrow { display:flex; flex-wrap:wrap; gap:.25rem 1.25rem; }
.th-nav { color:var(--th-ink); font-size:15px; font-weight:600; }
.th-nav:hover { color:var(--th-accent); text-decoration:underline; }
.th-h1,.th-h2,.th-h3 { font-family:var(--th-font-head); color:var(--th-ink); font-weight:var(--th-weight-head); margin-bottom:1rem; }
.th-h1 { font-size:clamp(2rem,4vw,3.5rem); line-height:var(--th-leading-head); }
.th-h2 { font-size:1.8rem; } .th-h3 { font-size:1.4rem; font-weight:700; }
.th-kicker { font-size:14px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--th-muted); }
.th-btn { display:inline-block; background:var(--th-accent); color:var(--th-on-accent); font-weight:700; padding:12px 24px; border-radius:var(--th-radius-btn); text-align:center; }
.th-btn:hover { background:var(--th-accent-dark); }
.th-hero,.th-footer { background:var(--th-dark); color:var(--th-on-dark); }
.th-hero .th-h1,.th-hero .th-h2 { color:var(--th-on-dark); }
.th-hero .th-kicker,.th-hero a:not(.th-btn),.th-footer a:not(.th-btn),.th-footer-label { color:var(--th-on-dark-accent); }
.th-hero-grid,.th-cardgrid,.th-areagrid { display:grid; gap:1.5rem; }
.th-areagrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.th-card { background:var(--th-card); border:1px solid var(--th-line); border-radius:var(--th-radius-card); padding:20px; min-width:0; }
.th-count,.th-note,.th-dl dt { color:var(--th-muted); font-size:15px; }
.th-pill { display:inline-block; font-size:13px; font-weight:700; border-radius:var(--th-radius-pill); padding:3px 10px; color:var(--th-tint-ink); background:var(--th-tint); }
.th-pill--signal { color:var(--th-signal-ink); background:var(--th-signal-tint); }
.th-notebox { background:var(--th-tint); color:var(--th-ink); border-left:3px solid var(--th-accent); border-radius:var(--th-radius-card); padding:20px; }
.th-dl { display:grid; gap:.5rem; } .th-dl dd { overflow-wrap:anywhere; }
.th-tablewrap { overflow-x:auto; max-width:100%; }
.th-table { width:100%; min-width:28rem; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.th-table th { background:var(--th-band); text-align:left; }
.th-table td,.th-table th { padding:10px; border-bottom:1px solid var(--th-line); }
.th-num { white-space:nowrap; } .th-row--now { background:var(--th-tint); }
.th-source { color:var(--th-muted); font-size:14px; margin:1rem 0; }
.th-link,.th-card a:not(.th-btn),.th-table a:not(.th-btn),.th-prose a:not(.th-btn),.th-notebox a:not(.th-btn) { color:var(--th-accent); text-decoration:underline; text-underline-offset:3px; }
.th-link:hover,.th-card a:not(.th-btn):hover,.th-table a:not(.th-btn):hover,.th-prose a:not(.th-btn):hover,.th-notebox a:not(.th-btn):hover { color:var(--th-accent-dark); }
.th-divider { border-top:1px solid var(--th-line); }
.th-motif { display:block; width:100%; height:auto; color:var(--th-accent); }
.th-motif--on-dark { color:var(--th-on-dark-accent); }
.th-footer-label { font-size:13px; text-transform:uppercase; }
.th-prose p,.th-prose blockquote { margin-bottom:1rem; }
.th-body .text-gray-700,.th-body .text-gray-600,.th-body .text-gray-500,.th-body .text-gray-400 { color:var(--th-muted); }
.th-body .bg-white { background:var(--th-card); } .th-body .border-gray-200 { border-color:var(--th-line); }
.th-body .hover\:text-blue-700:hover { color:var(--th-accent-dark); }
@media(max-width:639px) { .th-btn--wide { width:100%; } }
@media(min-width:768px) { .th-hero-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } .th-cardgrid { grid-template-columns:repeat(2,minmax(0,1fr)); } .th-areagrid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
