/* Activity history page — intentionally scoped to /history/ */
.history-hero{padding:clamp(54px,7vw,92px) 0 46px;max-width:1000px}
.history-hero h1{font-size:clamp(37px,6vw,70px);line-height:1.3;letter-spacing:-.075em;margin:17px 0 5px;font-weight:900}
.history-subtitle{font-size:clamp(17px,2.25vw,25px);font-weight:800;letter-spacing:-.04em;color:#b45c40;margin:0 0 25px}
.history-lead{max-width:790px;font-size:clamp(15px,1.4vw,18px);line-height:2;color:#4e6059;margin-bottom:32px}
.history-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;gap:13px;margin:20px 0 28px}
.history-overview>div{padding:18px 22px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.history-overview strong{font:700 clamp(26px,3.1vw,40px)/1.3 Georgia,serif;display:block;color:var(--ink)}
.history-overview span{display:block;font-size:11px;color:var(--muted)}
.history-links{display:flex;gap:12px;flex-wrap:wrap}
.history-note{padding:21px 25px;border-left:4px solid #c97857;border-radius:0 12px 12px 0;background:#eeeee5;color:var(--muted);margin:0 0 65px}
.history-note strong{font-size:14px;color:var(--ink)}
.history-note p{margin:5px 0 0;font-size:13px;line-height:1.9}
.history-section-label h2{font-size:clamp(25px,3vw,37px);margin:5px 0;line-height:1.4;letter-spacing:-.05em}
.history-section-label p{font-size:14px;color:var(--muted);margin:0 0 23px}
.history-categories{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 12px}
.history-categories span{font-size:12px;color:var(--muted);padding:3px 12px;background:var(--soft);border-radius:99px}
.history-month-nav{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 0 23px;margin-bottom:8px;border-bottom:1px solid var(--line)}
.history-month-nav a{font-size:12px;text-decoration:underline;text-underline-offset:4px;color:var(--ink)}
.history-month-nav a:hover{color:#bd6544}
.history-month{padding:24px 0 24px;scroll-margin-top:25px}
.history-month-head{display:flex;align-items:baseline;gap:18px;border-bottom:1px solid var(--line);padding-bottom:11px;margin:0 0 13px}
.history-month-head h2{font-size:clamp(23px,2.8vw,32px);letter-spacing:-.05em;line-height:1.3;margin:0}
.history-month-head>span:last-child{font-size:12px;color:var(--muted)}
.history-events{list-style:none;margin:0 0 25px;padding:5px 0 0 0;position:relative}
.history-events:before{content:"";position:absolute;left:163px;top:10px;bottom:10px;width:1px;background:#cbd6cc}
.history-event{display:grid;grid-template-columns:164px minmax(0,1fr);gap:30px;position:relative;padding:13px 0 19px}
.history-event:before{content:"";position:absolute;top:23px;left:158px;width:11px;height:11px;background:#d37c5a;border:2px solid var(--bg);border-radius:50%;z-index:1}
.history-date{font-size:13px;font-weight:800;color:#38554b;line-height:1.5;padding-top:4px}
.history-entry{min-width:0;padding:16px 22px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.history-entry-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.history-cat,.history-status{font-size:11px;font-weight:800;background:#e4ede5;padding:3px 9px;border-radius:6px}
.history-status{background:#f8e7df;color:#915238}
.history-entry h3{font-size:clamp(16px,1.7vw,20px);line-height:1.5;letter-spacing:-.02em;margin:9px 0 7px}
.history-entry p{font-size:13px;color:var(--muted);line-height:1.9;margin:0 0 2px}
.history-link{display:inline-flex;font-size:12px;font-weight:850;color:#ad6040;margin-top:12px;text-decoration:underline;text-underline-offset:4px}
.history-link:hover{color:var(--ink)}
.history-decisions{scroll-margin-top:20px;margin:54px 0 65px}
.history-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.history-summary-card{border:1px solid var(--line);border-radius:17px;background:var(--paper);padding:24px}
.history-summary-top{display:flex;justify-content:space-between;gap:10px;align-items:start;flex-wrap:wrap}
.history-summary-top h3{font-size:20px;line-height:1.5;margin:0;letter-spacing:-.04em}
.history-summary-card p{font-size:13px;line-height:1.95;color:var(--muted);margin:13px 0 0}
.history-summary-card p.history-small{font-size:11px}
.history-pill{font-size:11px;white-space:nowrap;border-radius:6px;background:#e8ede7;color:#345c4c;padding:4px 9px;font-weight:800}
.history-pill-stopped{background:#f6e4de;color:#964d3f}
.history-pill-transition{background:#f7e9d6;color:#8a6131}
.history-next{text-align:center;background:#e8efe6;padding:clamp(35px,5vw,70px) 20px;margin:0 0 80px;border-radius:18px}
.history-next h2{font-size:clamp(25px,3vw,34px);margin:8px 0;letter-spacing:-.06em}
.history-next p{color:var(--muted);font-size:14px;margin:0 auto 20px;max-width:570px}
@media(max-width:850px){.history-events:before{left:111px}.history-event{grid-template-columns:112px minmax(0,1fr);gap:20px}.history-event:before{left:106px}.history-month-head{flex-wrap:wrap;gap:8px}.history-month-head .eyebrow{width:100%}}
@media(max-width:620px){.history-hero{padding:43px 0 25px}.history-hero h1{font-size:38px}.history-overview{gap:7px}.history-overview>div{padding:12px}.history-overview strong{font-size:28px}.history-overview span{font-size:10px}.history-links .button{width:100%}.history-note{margin-bottom:45px}.history-events{border-left:1px solid #cbd6cc;margin-left:6px;padding-left:15px}.history-events:before{display:none}.history-event{display:block;padding:12px 0 15px}.history-event:before{top:23px;left:-22px}.history-date{padding:0 0 7px;font-size:12px}.history-entry{padding:16px 17px}.history-summary-grid{grid-template-columns:1fr}.history-month{padding:16px 0}.history-month-nav{gap:7px 11px}.history-month-head h2{font-size:25px}}
