.insights-route { --font-sans: 'Manrope', sans-serif; --font-mono: 'IBM Plex Mono', monospace; }
.insights-route .insight-shell { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 72px; position: relative; z-index: 1; }
.insights-route .insight-shell h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; margin: 24px 0; color: var(--color-text-primary); }
.insights-route .insight-shell h2 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); line-height: 1.3; margin: 0 0 18px; color: var(--color-text-primary); }
.insights-route .insight-shell h3 { font-size: 1.15rem; line-height: 1.4; margin: 24px 0 12px; color: var(--color-text-primary); }
.insights-route .insight-shell p, .insights-route .insight-shell li { font-size: 1.0625rem; line-height: 1.8; color: var(--color-text-secondary); }
.insights-route .insight-shell li { margin-bottom: 12px; }
.insights-route .insight-shell a:not(.btn-custom) { color: var(--color-primary-strong); text-underline-offset: 4px; }
.insights-route .insight-shell a:focus-visible, .insights-route button:focus-visible, .insights-route .insight-table:focus-visible { outline: 3px solid var(--color-primary-strong); outline-offset: 4px; }
.insights-route .insight-shell strong { color: var(--color-text-primary); }
.insights-route .insight-shell section { margin: 48px 0 0; scroll-margin-top: 130px; }
.insights-route .insight-shell h2[id],
.insights-route .insight-shell h3[id] { scroll-margin-top: 130px; }
.insights-route .insight-kicker { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.insights-route .insight-meta { font-size: .9rem !important; }
.insights-route .insight-answer, .insights-route .insight-toc, .insights-route .insight-note, .insights-route .insight-cta, .insights-route .insight-card { background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-soft); }
.insights-route .insight-answer { border-left: 4px solid var(--color-primary-strong); margin: 28px 0; }
.insights-route .insight-toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding-left: 20px; margin-bottom: 0; }
.insights-route .insight-toc li { font-size: .95rem; margin-bottom: 0; }
.insights-route .insight-table { overflow-x: auto; border: 1px solid var(--color-border-strong); border-radius: 16px; margin-bottom: 2rem; box-shadow: inset -18px 0 18px -18px var(--color-primary-strong); }
@media (max-width: 820px) {
  .insights-route .insight-table { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .insights-route .insight-table::before { content: "Swipe table horizontally →"; display: block; position: sticky; left: 0; width: max-content; padding: .55rem 1rem; font-size: .78rem; font-weight: 700; color: var(--color-primary-strong); background: var(--color-surface); }
}
.insights-route table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 720px; font-size: .95rem; line-height: 1.65; }
.insights-route th:first-child, .insights-route td:first-child { width: 160px; overflow-wrap: normal; }
.insights-route caption { text-align: left; padding: 16px; font-weight: 700; color: var(--color-text-primary); }
.insights-route th, .insights-route td { text-align: left; vertical-align: top; padding: 16px; border-top: 1px solid var(--color-border-strong); color: var(--color-text-secondary); }
.insights-route th { color: var(--color-text-primary); background: var(--color-surface); }
.insights-route .insight-note h3 { margin-top: 0; }
.insights-route .insight-cta .btn-custom { white-space: normal; text-align: center; margin: 10px 0; }
.insights-route .insight-sources p, .insights-route .insight-sources li { font-size: .95rem; }
.insights-route .insight-shell { overflow-wrap: anywhere; }
.insights-route .nav-panel { background: var(--color-surface-elevated); border-color: var(--color-border-strong); }
.insights-route .nav-links a { color: var(--color-text-primary); }
.insights-route .theme-toggle i::before { content: "☾"; font: 24px system-ui; }
.insights-route .theme-toggle i.fa-sun::before { content: "☀"; }
.insights-route .mobile-toggle i::before { content: "☰"; font: 24px system-ui; }
.insights-route .mobile-toggle i.fa-times::before { content: "×"; }
.insights-route .insight-card { margin: 32px 0; }
.insights-route .insight-card h2 { margin-top: 8px; }
.insights-route .insight-card .insight-kicker { margin-top: 0; }
.insights-route .site-aurora::before, .insights-route .site-aurora::after { animation: none; will-change: auto; }
@media(max-width:600px) { .insights-route .insight-shell { width: calc(100% - 32px); padding-top: 30px; } .insights-route .insight-answer, .insights-route .insight-toc, .insights-route .insight-note, .insights-route .insight-cta, .insights-route .insight-card { padding: 20px; border-radius: 16px; } .insights-route .insight-toc ul { grid-template-columns: 1fr; } .insights-route .insight-shell section { margin-top: 38px; } }
.insights-route .insight-card, .insights-route .insight-answer, .insights-route .insight-note {
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease;
}
.insights-route .insight-card:hover, .insights-route .insight-note:hover {
  transform: translateY(-4px);
  border-color: var(--tone-teal);
  box-shadow: 0 20px 35px rgba(27, 105, 110, .14);
}
.insights-route .insight-card:nth-of-type(3n + 2):hover { border-color: var(--tone-coral); }
.insights-route .insight-kicker { color: var(--tone-coral) !important; }
@media (prefers-reduced-motion: reduce) {
  .insights-route .insight-card, .insights-route .insight-answer, .insights-route .insight-note { transition: none; }
  .insights-route .insight-card:hover, .insights-route .insight-note:hover { transform: none; }
}

/* Editorial layout shared with the TKVibes Blog: topic tree, reading column, TOC. */
body.insights-route {
  --insight-bg: #0b0d12;
  --insight-surface: #12151d;
  --insight-border: #232838;
  --insight-ink: #e6e8ee;
  --insight-dim: #b7c0d0;
  --insight-accent: #a4adff;
  --insight-rail: #0e111a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html.dark body.insights-route { background: var(--insight-bg) fixed; color: var(--insight-ink); }
html.light body.insights-route {
  --insight-bg: #f7f8fb; --insight-surface: #fff; --insight-border: #dce1e9;
  --insight-ink: #172033; --insight-dim: #4a5568; --insight-accent: #4b51ba;
  --insight-rail: #eef1f7;
  background: var(--insight-bg) fixed; color: var(--insight-ink);
}
.insights-route .site-aurora, .insights-route .site-grid, .insights-route .site-noise { display: none; }
/* The shared header stays dark in both modes; its switch must stay visible. */
html.light .insights-route .nav-panel .theme-toggle {
  color: #f5f7fb;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
}
.insights-route .navbar { position: sticky; top: 0; padding: 0; background: var(--insight-bg); border-bottom: 1px solid var(--insight-border); }
.insights-route .nav-panel, html.light .insights-route .nav-panel,
.insights-route .navbar.scrolled .nav-panel, html.light .insights-route .navbar.scrolled .nav-panel {
  min-height: 64px; padding: 0; border: 0; border-radius: 0;
  background: var(--insight-bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.insights-route .brand-logo-mark { height: 2.4rem; }
.insights-route .nav-links a { font-size: .86rem; padding: 0 .65rem; }
.insights-route .site-main { padding-top: 0; }
.insights-route .insight-layout {
  width: min(1400px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 252px minmax(0, 1fr) 210px;
  gap: clamp(24px, 2.8vw, 42px); align-items: start;
}
.insights-route .insight-sidebar, .insights-route .insight-rail {
  position: sticky; top: 64px; max-height: calc(100vh - 64px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: var(--insight-border) transparent;
}
.insights-route .insight-sidebar { padding: 30px 16px 40px 0; border-right: 1px solid var(--insight-border); }
.insights-route .insight-sidebar-nav { overflow-wrap: anywhere; }
.insights-route .insight-sidebar-home, .insights-route .insight-sidebar-blog {
  display: block; padding: 8px 11px; font-size: .92rem; font-weight: 650;
  color: var(--insight-dim); text-decoration: none;
}
.insights-route .insight-sidebar-home.active { color: var(--insight-accent); }
.insights-route .insight-sidebar-blog { border-top: 1px solid var(--insight-border); margin-top: 20px; font-weight: 500; }
.insights-route .insight-nav-group { margin: 18px 0 22px; }
.insights-route .insight-nav-cat { display: flex; justify-content: space-between; gap: 8px; padding: 4px 11px 9px;
  font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 750; color: var(--insight-dim); }
.insights-route .insight-nav-cat .count { padding: 0 7px; border: 1px solid var(--insight-border); border-radius: 12px; font-size: .68rem; }
.insights-route .insight-nav-group ul, .insights-route .insight-rail ul { list-style: none; margin: 0; padding: 0; }
.insights-route .insight-nav-group li { margin: 0; }
.insights-route .insight-nav-group a { display: block; padding: 7px 10px 7px 13px;
  border-left: 2px solid var(--insight-border); font-size: .9rem; line-height: 1.45;
  color: var(--insight-dim); text-decoration: none; }
.insights-route .insight-nav-group a.active, .insights-route .insight-nav-group a:hover,
.insights-route .insight-sidebar-blog:hover, .insights-route .insight-sidebar-home:hover {
  color: var(--insight-accent); background: var(--insight-surface);
}
.insights-route .insight-nav-group a.active { border-left-color: var(--insight-accent); font-weight: 700; }
.insights-route .insight-mobile-nav { display: none; }
.insights-route .insight-rail { padding: 34px 0 40px; }
.insights-route .insight-rail-title { font-size: .75rem; font-weight: 750; text-transform: uppercase;
  letter-spacing: .07em; color: var(--insight-dim); margin: 0 0 12px; }
.insights-route .insight-rail li { margin: 0; }
.insights-route .insight-rail li a { display: block; border-left: 2px solid var(--insight-border);
  padding: 6px 0 6px 12px; line-height: 1.4; font-size: .84rem;
  color: var(--insight-dim); text-decoration: none; }
.insights-route .insight-rail a:hover { color: var(--insight-accent); border-left-color: var(--insight-accent); }
.insights-route .insight-shell.insight-content { width: 100%; max-width: 760px; min-width: 0;
  padding: 34px 0 72px; overflow-wrap: anywhere; }
.insights-route .insight-shell h1 { font-size: clamp(1.95rem, 3.2vw, 2.75rem); margin: 12px 0 16px; }
.insights-route .insight-shell h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.insights-route .insight-shell p, .insights-route .insight-shell li { color: var(--insight-dim); }
.insights-route .insight-shell strong, .insights-route .insight-shell h1,
.insights-route .insight-shell h2, .insights-route .insight-shell h3 { color: var(--insight-ink); }
.insights-route .insight-shell a:not(.btn-custom) { color: var(--insight-accent); }
.insights-route .insight-shell .insight-card h2 a:not(.btn-custom) { color: var(--insight-ink); }
.insights-route .insight-shell .insight-card h2 a:hover { color: var(--insight-accent); }
.insights-route .insight-kicker { color: var(--insight-accent) !important; }
.insights-route .insight-answer, .insights-route .insight-toc, .insights-route .insight-note,
.insights-route .insight-cta, .insights-route .insight-card { background: var(--insight-surface);
  border-color: var(--insight-border); box-shadow: none; border-radius: 12px; }
.insights-route .insight-answer { border-left-color: var(--insight-accent); }
.insights-route .insight-card:hover { border-color: var(--insight-accent); box-shadow: none; transform: translateY(-2px); }
.insights-route .insight-hub { margin-top: 36px !important; }
.insights-route .insight-hub > h2 { padding: 10px 0 0; margin: 0 0 18px; border-top: 1px solid var(--insight-border); }
.insights-route .insight-list { display: grid; gap: 14px; }
.insights-route .insight-list .insight-card { margin: 0; padding: 20px 22px; }
.insights-route .insight-list .insight-card h2 { margin: 4px 0 8px; font-size: 1.13rem; }
.insights-route .insight-list .insight-card p { margin: 8px 0; font-size: .94rem; }
.insights-route .insight-table { border-color: var(--insight-border); }
.insights-route th { background: var(--insight-surface); color: var(--insight-ink); }
.insights-route th, .insights-route td { border-color: var(--insight-border); }
.insights-route .breadcrumb { flex-wrap: wrap; }
.insights-route .breadcrumb .current { color: var(--insight-accent); }
.insights-route .footer-grid, html.light .insights-route .footer-grid, html.dark .insights-route .footer-grid {
  background: var(--insight-surface); border-color: var(--insight-border); box-shadow: none;
}
.insights-route .footer-grid h3 { color: var(--insight-ink); }
.insights-route .footer-grid a, .insights-route .footer-grid p,
.insights-route .footer-grid span { color: var(--insight-dim); }
.insights-route .footer-grid a:hover { color: var(--insight-accent); }
@media (min-width: 1181px) { .insights-route .insight-content .insight-toc { display: none; } }
@media (max-width: 1180px) {
  .insights-route .insight-layout { grid-template-columns: 252px minmax(0, 1fr); }
  .insights-route .insight-rail { display: none; }
}
@media (max-width: 900px) {
  .insights-route .insight-layout { width: min(100% - 32px, 760px); grid-template-columns: minmax(0, 1fr); gap: 0; }
  .insights-route .insight-sidebar { display: none; }
  .insights-route .insight-mobile-nav { display: block; margin-top: 16px; border: 1px solid var(--insight-border);
    border-radius: 12px; background: var(--insight-surface); }
  .insights-route .insight-mobile-nav > summary { cursor: pointer; list-style: none; padding: 12px 16px;
    color: var(--insight-ink); font-size: .92rem; font-weight: 700; min-height: 44px; }
  .insights-route .insight-mobile-nav > summary::-webkit-details-marker { display: none; }
  .insights-route .insight-mobile-nav > summary::after { content: ' ▾'; color: var(--insight-accent); }
  .insights-route .insight-mobile-nav[open] > summary::after { content: ' ▴'; }
  .insights-route .insight-mobile-nav .insight-sidebar-nav { padding: 0 16px 18px; }
  .insights-route .insight-shell.insight-content { padding: 26px 0 60px; }
}
@media (max-width: 600px) {
  .insights-route .insight-shell h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .insights-route .insight-list .insight-card { padding: 17px; }
  .insights-route .insight-shell .insight-table { max-width: 100%; }
  .insights-route .insight-shell .insight-table table { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-route .insight-card:hover { transform: none; }
}
