body.kbm-history-active #content > .ast-container { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
body.kbm-history-active #primary, body.kbm-history-active #post-240 { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
body.kbm-history-active #post-240 > .entry-header { display: none; }
body.kbm-history-active #post-240 > .entry-content { margin: 0; padding: 0; }
#kbm-history-page {
  --ink: #192e26;
  --muted: #4d6258;
  --green: #226345;
  --green-dark: #173b2b;
  --green-light: #edf5ee;
  --line: #dbe5dd;
  --white: #fff;
  font: 16px/1.55 Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8faf7;
}
#kbm-history-page, #kbm-history-page *, #kbm-history-page *::before, #kbm-history-page *::after { box-sizing: border-box; }
#kbm-history-page h1, #kbm-history-page h2, #kbm-history-page h3, #kbm-history-page p, #kbm-history-page dl, #kbm-history-page dd { margin: 0; }
#kbm-history-page [hidden] { display: none !important; }
#kbm-history-page a { color: var(--green); text-underline-offset: .2em; }
#kbm-history-page a:hover { color: var(--green-dark); }
#kbm-history-page button { font: inherit; }
#kbm-history-page :focus-visible { outline: 3px solid #347c55; outline-offset: 4px; }
#kbm-history-page .wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
#kbm-history-page .section { scroll-margin-top: 24px; }
#kbm-history-page .hero { background: #e9f1e8; border-bottom: 1px solid var(--line); }
#kbm-history-page .hero-inner { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 78px); padding-block: clamp(46px, 6.2vw, 88px); }
#kbm-history-page .hero-lead { max-width: 515px; margin-top: 21px; color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; }
#kbm-history-page .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
#kbm-history-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 15px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 700; }
#kbm-history-page .button-primary { color: var(--white); background: var(--green); }
#kbm-history-page .button-primary:hover { color: var(--white); background: var(--green-dark); }
#kbm-history-page .button-secondary { color: var(--green-dark); background: #f4f8f3; border-color: #bfd2c4; }
#kbm-history-page .button-secondary:hover { background: var(--white); }
#kbm-history-page .range-card { min-width: 0; padding: 24px 27px; border-radius: 18px; background: #1a392d; color: #edf8ef; }
#kbm-history-page .range-card h2 { margin-bottom: 12px; color: #edf8ef; font-size: 16px; font-weight: 650; }
#kbm-history-page .section { margin-block: 48px 58px; }
#kbm-history-page h2, #kbm-history-page .archive-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 750; line-height: 1.13; letter-spacing: -.045em; }
#kbm-history-page .section-heading { display: flex; justify-content: center; text-align: center; align-items: end; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 20px; }
#kbm-history-page .section-heading p { max-width: 640px; margin-top: 8px; color: var(--muted); font-size: 14px; }
#kbm-history-page .history-points > div { padding: 15px 0; border-top: 1px solid #ffffff2c; }
#kbm-history-page .history-points > div:last-child { padding-bottom: 0; }
#kbm-history-page .history-points dt { color: #ecf8ed; font-size: 18px; font-weight: 750; }
#kbm-history-page .history-points dd { margin-top: 4px; color: #c2d7cb; font-size: 14px; }
#kbm-history-page .history-section { max-width: 760px; margin-inline: auto; }
#kbm-history-page .history-section > h2 { margin-bottom: 20px; text-align: center; }
#kbm-history-page .assistance { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 14px; background: var(--green-light); }
#kbm-history-page .assistance > div { flex: 1 1 420px; }
#kbm-history-page .assistance h2 { font-size: clamp(22px, 3vw, 32px); }
#kbm-history-page .assistance p { margin-top: 10px; color: var(--muted); }
#kbm-history-page .reason-grid, #kbm-history-page .process-list, #kbm-history-page .stat-list { margin: 0; padding: 0; list-style: none; }
#kbm-history-page .reason-grid, #kbm-history-page .process-list { display: grid; gap: 12px; }
#kbm-history-page .reasons-section > h2 { margin-bottom: 22px; text-align: center; }
#kbm-history-page .reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#kbm-history-page .reason-grid li, #kbm-history-page .process-list li { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
#kbm-history-page .reason-grid li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 14px; padding: 21px; border-radius: 14px; }
#kbm-history-page .reason-icon { display: block; width: 48px; height: 48px; color: #2a6949; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
#kbm-history-page .reason-icon .icon-fill { fill: #dceee2; }
#kbm-history-page .reason-icon .icon-paper { fill: #f6fbf7; }
#kbm-history-page .reason-icon .icon-accent { fill: #2d7450; stroke: none; }
#kbm-history-page .reason-icon .icon-mark { stroke: #fff; stroke-width: 2.6; }
#kbm-history-page .reason-grid h3 { margin-bottom: 5px; font-size: 16px; line-height: 1.35; }
#kbm-history-page .reason-grid p { color: var(--muted); font-size: 13px; line-height: 1.55; }
#kbm-history-page .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#kbm-history-page .process-list li { padding: 21px; }
#kbm-history-page .process-list h3 { font-size: 18px; }
#kbm-history-page .process-list p { margin-top: 8px; color: var(--muted); font-size: 14px; }
#kbm-history-page .details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
#kbm-history-page .details-grid h2 { margin-bottom: 15px; font-size: clamp(22px, 3vw, 33px); }
#kbm-history-page .faq { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
#kbm-history-page .faq details + details { border-top: 1px solid var(--line); }
#kbm-history-page .faq summary { padding: 15px 16px; cursor: pointer; font-weight: 650; }
#kbm-history-page .faq details p { padding: 0 16px 16px; color: var(--muted); font-size: 14px; }
#kbm-history-page .history-stats { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
#kbm-history-page .stat-list { display: grid; gap: 11px; }
#kbm-history-page .stat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: baseline; color: var(--muted); font-size: 13px; }
#kbm-history-page .stat-list strong { color: var(--green-dark); font-variant-numeric: tabular-nums; }
#kbm-history-page .stat-track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #e5eee6; }
#kbm-history-page .stat-track i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: #397353; }
@media (max-width: 900px) {
#kbm-history-page .hero-inner { gap: 28px; }
#kbm-history-page .range-card { padding-inline: 20px; }
#kbm-history-page .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
#kbm-history-page .wrap { width: calc(100% - 32px); }
#kbm-history-page .hero-inner, #kbm-history-page .details-grid { grid-template-columns: minmax(0, 1fr); }
#kbm-history-page .hero-inner { padding-block: 37px 28px; }
#kbm-history-page #page-title, #kbm-history-page .hero-lead, #kbm-history-page #faq-title { text-align: center; }
#kbm-history-page .hero-lead { margin: 13px auto 0; }
#kbm-history-page .hero-actions { justify-content: center; }
#kbm-history-page .hero-actions { margin-top: 20px; }
#kbm-history-page .section { margin-block: 31px 42px; }
#kbm-history-page .section-heading { margin-bottom: 14px; }
#kbm-history-page .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
#kbm-history-page .hero-actions .button { width: 100%; }
#kbm-history-page .process-list, #kbm-history-page .reason-grid { grid-template-columns: minmax(0, 1fr); }
#kbm-history-page .reason-grid { gap: 10px; }
#kbm-history-page .reason-grid li { padding: 16px; }
}
