/* Ledger presentation. Measurement notes continue to use the simpler shared stylesheet. */
body.ledger-page{background:radial-gradient(circle at 85% 11%,#253f39 0,transparent 26%),radial-gradient(circle at 7% 40%,#1d312c 0,transparent 28%),#101612}
.ledger-hero{position:relative;overflow:hidden;isolation:isolate;min-height:475px;background:linear-gradient(90deg,rgba(8,19,17,.95) 5%,rgba(11,27,25,.83) 52%,rgba(12,25,23,.42)),linear-gradient(0deg,#101612,transparent 55%),url('/images/the-roads-1600.webp') center 46%/cover}
.ledger-hero:after{content:'';position:absolute;inset:auto 0 0;height:110px;background:linear-gradient(transparent,#101612);z-index:-1}
.ledger-page nav{position:relative;z-index:2}.back-link{font-size:12px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:#ead6a1}.back-link:hover{color:#fff}
.ledger-page .hero{position:relative;z-index:1;padding:74px 32px 66px}.ledger-page h1{max-width:800px;text-shadow:0 3px 22px #04120d}.ledger-page h1 em{color:#f2d597}.ledger-page .hero .intro{max-width:620px}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin:30px 0 12px}.hero-actions a,.film-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #d8c38f80;background:#182c28ad;border-radius:4px;text-decoration:none;color:#f0deba;font-size:12px;font-weight:700;letter-spacing:.04em;transition:background .2s,transform .2s}.hero-actions a:first-child{background:#d7be89;color:#17231d}.hero-actions a:hover,.film-link:hover{background:#ead4a2;color:#15201b;transform:translateY(-2px)}
.hero-decoration{position:absolute;right:9%;top:105px;width:275px;height:250px;color:#e8d09396;pointer-events:none}.hero-decoration span{position:absolute;text-shadow:0 0 32px #f3ca6b}.hero-decoration span:nth-child(1){left:10%;top:30%;font-size:45px}.hero-decoration span:nth-child(2){right:20%;top:4%;font-size:20px}.hero-decoration span:nth-child(3){left:40%;bottom:5%;font-size:24px}.hero-decoration span:nth-child(4){right:0;bottom:20%;font-size:36px}.hero-decoration span:nth-child(5){left:62%;top:49%;font-size:13px}
.ledger-page main{padding-top:5px}.ledger-page .headline{padding-top:28px}.ledger-page .grand{font-size:clamp(43px,7vw,90px);color:#ffe4a8;line-height:1.12;font-variant-numeric:tabular-nums}.ledger-page .headline-note{border-left:1px solid #bc9a6277;padding-left:25px}.ledger-page .metrics article{padding:16px 18px;border:1px solid #bda5753c;background:linear-gradient(135deg,#1b2b24,#17221d);border-radius:7px}.ledger-page .metrics article:last-child{border:1px solid #bda5753c}.ledger-page .metrics strong{color:#f4ddb0}
.ledger-page .panel{background:linear-gradient(145deg,#1b2922,#16231d);border-color:#c7b17a39;box-shadow:0 15px 38px #050e0a31}.ledger-page .journey{border-top:3px solid #d9bc7a}.ledger-page .section-head{align-items:end}.ledger-page button[data-mode]{border-radius:3px;transition:background .2s,color .2s}.ledger-page button[data-mode][aria-pressed=true]{font-weight:700}
.ledger-page .timeline{height:295px;gap:12px;padding:20px 0 0;align-items:stretch}.ledger-page .day{appearance:none;border:0;border-bottom:2px solid transparent;border-radius:3px;padding:4px 0;background:transparent;color:#e7d7b8;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:pointer;transition:background .2s,border-color .2s;min-width:0}.ledger-page .day:hover,.ledger-page .day.selected{background:#dfc88a10;border-color:#efcf91}.ledger-page .day:focus-visible{outline:2px solid #f2d594;outline-offset:1px}.ledger-page .bar-wrap{display:flex;align-items:end;justify-content:center;flex:1;width:100%;max-height:210px;min-height:1px}.ledger-page .day .bar{display:block;width:min(75%,58px);height:var(--bar-height);min-height:3px;max-height:100%;background:linear-gradient(0deg,#537b6d,#acd1a6 65%,#f1d598);border-top:2px solid #ffe8b8;border-radius:4px 4px 0 0;box-shadow:0 0 20px #d4b66d2e;transition:height .4s,filter .2s}.ledger-page .day.selected .bar,.ledger-page .day:hover .bar{filter:brightness(1.26);box-shadow:0 0 24px #e9c98172}.ledger-page .day-value{font-weight:700}.ledger-page .day-label{margin:7px 0 4px;color:#d0c3a3}
.day-story{display:flex;align-items:center;gap:18px;min-height:66px;padding:14px 18px;margin:20px 0 9px;background:#0f1e1a;border-left:3px solid #d7bb7f;color:#c4d3c8;font-size:13px}.day-story strong{color:#f0d798;font:23px Georgia;white-space:nowrap}.day-story span{line-height:1.5}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 28px}.story-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#20392e,#15251f);padding:26px;border:1px solid #bda5754c;min-height:200px;border-radius:6px}.story-card:after{content:'✦';font:100px Georgia;color:#d9bb7d13;position:absolute;right:10px;top:-33px}.story-card strong{display:block;position:relative;z-index:1;color:#f3daa7;font:clamp(24px,2.8vw,38px)/1.12 Georgia;margin:17px 0}.story-card p{font-size:13px;color:#bccbbd;margin:0;max-width:29ch;position:relative;z-index:1}
.ledger-page .columns .panel{min-height:420px}.ledger-page .stack{height:33px;border-radius:4px;box-shadow:0 0 0 1px #ddc48a55}.ledger-page .row{font-size:14px}.ledger-page .row strong{white-space:nowrap}.ledger-page .track{height:6px;background:#0006;border-radius:4px;overflow:hidden}.ledger-page .track span{height:6px;background:linear-gradient(90deg,#78a591,#e1c989);border-radius:4px}.craft-rank{display:inline-flex;width:27px;color:#d9bb7e;font:12px ui-monospace,monospace}.ledger-page .film{border-top:3px solid #80b7a1;background:linear-gradient(100deg,#17251eed,#13221fe3),url('/images/the-forge-1600.webp') center/cover}.ledger-page .film-link{margin-top:10px}.ledger-page .video-top strong{color:#f6dfa8}.ledger-page .video-stats{flex-wrap:wrap}.ledger-page .video-stats b{color:#eee9dc}.ledger-page .closing{max-width:900px}.ledger-page .closing h2{font-size:clamp(30px,3.8vw,50px)}
.mobile-chart-hint{display:none;color:#b8c8bb;font-size:11px;margin:4px 0 0}
@media(max-width:950px){.hero-decoration{opacity:.35;right:2%}.story-grid{grid-template-columns:1fr 1fr}.story-card:last-child{grid-column:1/-1;min-height:150px}.ledger-page .metrics{gap:10px}}
@media(max-width:760px){.ledger-hero{min-height:0}.ledger-page .hero{padding:55px 22px 42px}.hero-decoration{display:none}.ledger-page .headline{align-items:start}.ledger-page .headline-note{display:none}.ledger-page .metrics{grid-template-columns:1fr 1fr;gap:10px}.ledger-page .metrics article{padding:15px}.ledger-page .metrics article:nth-child(2){border:1px solid #bda5753c}.ledger-page .metrics strong{font-size:28px}.ledger-page .timeline{gap:3px;height:245px}.ledger-page .day-value{font-size:9px}.ledger-page .day-label{font-size:9px}.story-grid{grid-template-columns:1fr}.story-card:last-child{grid-column:auto}.story-card{min-height:145px}.day-story{display:block}.day-story strong{display:block;margin-bottom:4px}.ledger-page .film{gap:20px}.ledger-page .grand{overflow-wrap:anywhere}}
@media(max-width:760px){.ledger-page .timeline{overflow-x:auto;overflow-y:hidden;scrollbar-color:#d0b780 #182b22;gap:6px;height:260px;padding-bottom:6px}.ledger-page .day{flex:0 0 52px}.ledger-page .day-value{font-size:10px}.ledger-page .day-label{writing-mode:horizontal-tb;height:auto;font-size:10px}.mobile-chart-hint{display:block}.ledger-page .video-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ledger-page .video-stats b{font-size:21px}.ledger-page .video-stats span{font-size:10px;line-height:1.3}}
@media(prefers-reduced-motion:reduce){.ledger-page .bar,.hero-actions a,.film-link{transition:none}}
