/* The living Ledger Desk. Editorial structure, engraved geometry, real evidence. */
[data-ledger-editorial]{--ed-ease:cubic-bezier(.16,1,.3,1);--ed-soft:color-mix(in srgb,var(--ink) 5%,transparent)}
[data-ledger-editorial] :is(a,button,input):focus-visible{outline:2px solid var(--ink);outline-offset:5px}
[data-ledger-editorial] header{box-shadow:none}
[data-ledger-editorial] header .btn{border-radius:2px;box-shadow:none}
[data-ledger-editorial] .rh{padding-top:28px;padding-bottom:0}
[data-ledger-editorial] .rh-mast{margin-top:0;font-size:11px;letter-spacing:.015em}
[data-ledger-editorial] .rh-title{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;padding:72px 0 48px;position:relative;border-bottom:0}
[data-ledger-editorial] .rh-title-k,.ed-kicker{font:500 10px/1.6 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
[data-ledger-editorial] .rh-wordmark{font-size:clamp(68px,10.2vw,151px);letter-spacing:-.045em;line-height:.98}
[data-ledger-editorial] .rh-wordmark .sub{font-size:clamp(27px,3vw,43px);letter-spacing:-.025em;color:var(--ink);margin-top:16px}
.ed-title-line{display:block;overflow:hidden;padding-bottom:.13em;margin-bottom:-.13em}
.ed-title-line>span{display:block}
[data-ledger-editorial] .rh-title-dek{max-width:43ch;font-size:16px;line-height:1.8;margin:24px 0 28px}
[data-ledger-editorial] .rh-title-fine{font-size:11px;letter-spacing:.02em}
[data-ledger-editorial] .rh-btn{transition:background .18s,color .18s,border-color .18s;opacity:1}
[data-ledger-editorial] .rh-btn:hover{background:var(--muted);border-color:var(--muted);color:var(--ground)}
[data-ledger-editorial] .rh-btn.ghost:hover{background:var(--ed-soft);color:var(--ink);border-color:var(--muted)}
/* The seal has a fixed monogram; its outer measurement rings provide depth. */
.ed-seal{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}
.ed-seal-meta{display:flex;justify-content:space-between;gap:12px;font:9px/1.5 'IBM Plex Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.ed-seal-stage{position:relative;perspective:1100px;margin:8px -14px 0;isolation:isolate}
.ed-seal-stage::before{content:"";position:absolute;inset:15%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--ink) 5%,transparent),transparent 70%);z-index:-1}
.ed-seal-stage svg{max-width:470px!important;transform:rotateX(var(--seal-x,0deg)) rotateY(var(--seal-y,0deg));transition:transform .65s var(--ed-ease);will-change:auto}
.ed-orbit,.ed-axis,.ed-rim{fill:none;stroke:currentColor;stroke-width:.6;opacity:.4}
.ed-orbit{opacity:.2;stroke-dasharray:1 5}
.ed-axis{opacity:.13;stroke-width:.5}
.ed-rim.fine{opacity:.2;stroke-width:.5}
.ed-ticks{stroke:currentColor;stroke-width:.65;opacity:.6;transform-origin:120px 120px}
.ed-engraving{font:8.1px Inter,sans-serif;letter-spacing:1.25px;fill:currentColor}
.ed-monogram{font:110px 'Instrument Serif',Georgia,serif;fill:currentColor}
.ed-seal-foot{font:4px 'IBM Plex Mono',monospace;letter-spacing:1.2px;fill:currentColor;opacity:.7}
[data-ledger-editorial] .rh-emblem figcaption{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:0;font:10px/1.6 'IBM Plex Mono',monospace;color:var(--faint)}
.ed-signal-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--faint);flex:none}
.ed-seal[data-connected] .ed-signal-dot{background:var(--go)}
.ed-index{display:flex;gap:28px;align-items:center;border-block:1px solid var(--rule);padding:18px 0;font-size:11px}
.ed-index>span{margin-right:auto;color:var(--faint)}
.ed-index a{color:var(--muted);text-decoration:none;white-space:nowrap;transition:color .18s}
.ed-index a:hover{color:var(--ink)}
.ed-index i{font:10px 'IBM Plex Mono',monospace;font-style:normal;margin-right:8px;color:var(--faint)}
/* A typeset receipt, assembled from a genuine authority reply. */
.ed-evidence{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,112px);align-items:center;padding:clamp(64px,7vw,104px) 0;border-bottom:1px solid var(--rule);scroll-margin-top:90px}
.ed-evidence-copy h2{font:400 clamp(36px,4.4vw,62px)/1.04 'Instrument Serif',Georgia,serif;letter-spacing:-.025em;margin:20px 0 24px}
.ed-evidence-copy h2 em{font-weight:400}
.ed-evidence-copy>p:not(.ed-kicker){font-size:15px;line-height:1.8;color:var(--muted);max-width:42ch}
.ed-text-link{display:inline-flex;align-items:center;gap:28px;font-size:12px;line-height:1.5;text-decoration:none;border-bottom:1px solid var(--muted);padding-bottom:6px;color:var(--ink);margin-top:24px}
.ed-text-link span{transition:transform .24s var(--ed-ease)}
.ed-text-link:hover span{transform:translate(2px,-2px)}
.ed-evidence-copy .ed-evidence-note{font-size:11px!important;line-height:1.7!important;color:var(--faint)!important;margin-top:32px;max-width:44ch}
.ed-receipt{position:relative;min-width:0;padding:26px 30px 32px;border:1px solid color-mix(in srgb,var(--ink) 20%,var(--ground));background:linear-gradient(145deg,color-mix(in srgb,var(--ink) 5%,var(--ground)),var(--ground) 80%);box-shadow:0 20px 45px -30px #0006;transform:rotate(-1.5deg);transition:transform .8s var(--ed-ease)}
.ed-receipt:hover,.ed-receipt:focus-within{transform:rotate(0deg)}
.ed-receipt-top{display:flex;justify-content:space-between;padding-bottom:18px;border-bottom:3px double var(--rule);font:9px/1.6 'IBM Plex Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.ed-receipt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0}
.ed-receipt-heading .ed-kicker{font-size:9px}
.ed-receipt h3{font:400 36px/1.2 'Instrument Serif',Georgia,serif;letter-spacing:-.02em;margin-top:6px}
.ed-receipt h3 span{font:11px Inter,sans-serif;color:var(--faint);letter-spacing:0;white-space:nowrap}
.ed-stamp{display:grid;place-items:center;width:64px;height:64px;flex:none;border:3px double var(--muted);border-radius:50%;font:500 10px 'IBM Plex Mono',monospace;letter-spacing:.04em;text-transform:uppercase;transform:rotate(-12deg);color:var(--muted)}
.ed-receipt[data-verdict="go"] .ed-stamp{color:var(--go);border-color:var(--go)}
.ed-receipt[data-verdict="hold"] .ed-stamp{color:var(--hold);border-color:var(--hold)}
.ed-receipt[data-verdict="no-go"] .ed-stamp{color:var(--nogo);border-color:var(--nogo)}
.ed-record{margin:0}
.ed-record>div{padding:12px 0;border-top:1px solid var(--rule)}
.ed-record dt{font-size:10px;color:var(--faint);margin-bottom:6px}
.ed-record dd{font:12px/1.5 'IBM Plex Mono',monospace;overflow-wrap:anywhere;margin:0;font-variant-numeric:tabular-nums}
.ed-record .ed-address{font-size:10px}
.ed-record-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ed-checks{list-style:none;padding:0;margin:8px 0 20px}
.ed-checks li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--rule);padding:11px 0;font-size:11px;color:var(--muted)}
.ed-checks b{font-weight:500;color:var(--ink);white-space:nowrap}
.ed-receipt-bottom{border-top:1px dashed var(--muted);padding-top:16px}
.ed-receipt-bottom>.ed-kicker{font-size:8px}
.ed-receipt-bottom code{display:block;margin-top:8px;font:10px/1.7 'IBM Plex Mono',monospace;overflow-wrap:anywhere;color:var(--muted)}
.ed-receipt-bottom p{margin:12px 0 0;font-size:10px;color:var(--faint);line-height:1.6}
.ed-retry{margin-top:10px;background:none;border:0;border-bottom:1px solid var(--faint);padding:6px 0;color:var(--ink);font:11px Inter,sans-serif;cursor:pointer}
.ed-retry[hidden]{display:none}
.ed-receipt-cut{position:absolute;bottom:-4px;inset-inline:-1px;height:7px;background:linear-gradient(135deg,var(--ground) 25%,transparent 25%) -4px 0/8px 8px,linear-gradient(225deg,var(--ground) 25%,transparent 25%) -4px 0/8px 8px;transform:rotate(180deg)}
/* The instrument: focus one ring, keep its context. */
[data-ledger-editorial] .rh-explain{align-items:start}
[data-ledger-editorial] .rh-ripple{padding-top:12px;min-width:0}
[data-ledger-editorial] .rh-surface{height:clamp(280px,27vw,380px)}
.ed-ring-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-block:1px solid var(--rule);gap:0;margin-top:8px}
.ed-ring-controls button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:62px;padding:12px 8px;background:none;border:0;border-bottom:1px solid transparent;color:var(--faint);font:9px 'IBM Plex Mono',monospace;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.ed-ring-controls button span{font:10px Inter,sans-serif}
.ed-ring-controls button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--ink);background:var(--ed-soft)}
.ed-ring-controls button:hover{color:var(--ink);background:var(--ed-soft)}
.ed-ring-detail{padding:24px 0 0;min-height:220px}
.ed-ring-detail h3{font:400 27px/1.15 'Instrument Serif',Georgia,serif;letter-spacing:-.01em;margin:10px 0}
.ed-ring-detail>p:not(.ed-kicker){font-size:13px;line-height:1.75;color:var(--muted);max-width:48ch}
.ed-ring-detail .ed-text-link{font-size:11px;margin-top:16px}
[data-ledger-editorial] .rh-ripple figcaption{font-size:10px;text-align:left;border-top:1px solid var(--rule);padding-top:16px;line-height:1.8}
.ed-ring-fallback{padding-left:18px;font-size:13px;color:var(--muted)}
/* The small choreography never hides content until the enhancement is ready. */
@media (prefers-reduced-motion:no-preference){
 .ed-ready .ed-title-line>span{animation:ed-typeset 1.1s var(--ed-ease) both}
 .ed-ready .ed-title-line.sub>span{animation-delay:.12s}
 .ed-ready .ed-seal-object{animation:ed-seal-enter 1.6s var(--ed-ease) both;transform-origin:120px 120px}
 .ed-ready .ed-ticks{animation:ed-calibrate 2s var(--ed-ease) both}
 .ed-receipt[data-state="read"] .ed-stamp{animation:ed-stamp .65s var(--ed-ease) both}
 .ed-receipt[data-state="read"] .ed-checks li{animation:ed-record .7s var(--ed-ease) both}
 .ed-receipt[data-state="read"] .ed-checks li:nth-child(2){animation-delay:.1s}
 .ed-receipt[data-state="read"] .ed-checks li:nth-child(3){animation-delay:.2s}
 .ed-ring-detail.is-changing{animation:ed-record .4s var(--ed-ease) both}
}
@keyframes ed-typeset{from{transform:translateY(112%)}to{transform:translateY(0)}}
@keyframes ed-seal-enter{from{opacity:0;transform:scale(.9) rotate(-8deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes ed-calibrate{from{transform:rotate(-24deg);opacity:0}to{transform:rotate(0);opacity:.6}}
@keyframes ed-stamp{from{opacity:0;transform:rotate(-24deg) scale(1.18)}to{opacity:1;transform:rotate(-12deg) scale(1)}}
@keyframes ed-record{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
[data-ledger-editorial] .ed-newsletter{padding:64px 0 0}
.ed-newsletter .subscribe{border:0;border-block:1px solid var(--rule);background:none;border-radius:0;padding:28px 0;display:grid;grid-template-columns:1fr 1fr;gap:48px}
.ed-newsletter .subscribe-copy .num{font:400 28px 'Instrument Serif',Georgia,serif;letter-spacing:0;color:var(--ink)}
.ed-newsletter .subscribe-copy p:last-child{max-width:48ch;font-size:13px;line-height:1.8;color:var(--muted);margin-top:8px}
.ed-newsletter input,.ed-newsletter .btn{border-radius:2px!important}
.ed-newsletter .subscribe-form{align-self:center}
.ed-newsletter .form-status{grid-column:1/-1}
[data-ledger-editorial] .rh-side{font-size:14px}
[data-ledger-editorial] .rh-story .rh-h1{font-size:clamp(30px,3.6vw,49px)}
[data-ledger-editorial] .rh-dek{font-size:16px;line-height:1.8}
[data-ledger-editorial] .rh-problems h3{max-width:44ch}
@media(min-width:1100px){[data-ledger-editorial] .rh-ripple{position:sticky;top:90px}}
@media(max-width:1000px){.ed-index{gap:18px}.ed-index>span{display:none}.ed-index a{flex:1}.ed-evidence{gap:40px}.ed-receipt{padding:24px}}
@media(max-width:900px){
 [data-ledger-editorial] .rh-title{grid-template-columns:1fr 1fr;gap:24px;padding-top:52px}
 [data-ledger-editorial] .rh-wordmark{font-size:clamp(60px,10.2vw,100px)}
 [data-ledger-editorial] .rh-wordmark .sub{font-size:28px}
 [data-ledger-editorial] .rh-title-dek{font-size:14px}
 .ed-seal-meta{font-size:8px}.ed-seal-meta span:last-child{display:none}
 .ed-evidence{gap:32px}.ed-evidence-copy h2{font-size:42px}
 .ed-ring-controls button span{font-size:11px}
 .ed-newsletter .subscribe{gap:24px}
}
@media(max-width:639px){
 [data-ledger-editorial] .rh{padding-top:18px}
 [data-ledger-editorial] .rh-mast{font-size:10px;gap:6px}
 [data-ledger-editorial] .rh-title{grid-template-columns:1fr;padding:40px 0 30px;gap:36px}
 [data-ledger-editorial] .rh-wordmark{font-size:clamp(64px,18vw,112px)}
 [data-ledger-editorial] .rh-wordmark .sub{font-size:29px}
 [data-ledger-editorial] .rh-title-dek{font-size:15px;max-width:40ch}
 [data-ledger-editorial] .rh-title-k{font-size:9px}
 [data-ledger-editorial] .rh-title-cta .rh-btn{font-size:13px;min-height:46px;padding-inline:16px}
 .ed-seal{max-width:360px;width:100%;margin-inline:auto}
 .ed-seal-meta{font-size:8px}.ed-seal-meta span:last-child{display:block}
 .ed-seal-stage{margin-top:0;margin-bottom:-10px}
 [data-ledger-editorial] .ed-seal svg{max-width:340px!important}
 .ed-index{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:8px 0}
 .ed-index a{padding:12px 0;font-size:10px}
 .ed-evidence{grid-template-columns:1fr;gap:40px;padding:56px 0}
 .ed-evidence-copy h2{font-size:43px}
 .ed-evidence-copy .ed-evidence-note{margin-top:20px}
 .ed-receipt{margin:0 5px;padding:22px;transform:rotate(-1deg)}
 .ed-receipt h3{font-size:32px}
 [data-ledger-editorial] .rh-surface{height:280px}
 .ed-ring-controls button{padding:12px 4px}
 .ed-ring-controls button span{font-size:9px}
 .ed-ring-detail{min-height:210px}
 .ed-newsletter .subscribe{grid-template-columns:1fr;gap:20px}
 [data-ledger-editorial] .support-tab{font-size:9px;bottom:14px}
}
@media(prefers-reduced-motion:reduce){
 [data-ledger-editorial] html{scroll-behavior:auto}
 .ed-seal-stage svg{transform:none;transition:none}
 .ed-receipt,.ed-receipt:hover{transform:none;transition:none}
 .ed-text-link span{transition:none}
}
html:has([data-ledger-editorial]){scroll-padding-top:80px}
@media(prefers-reduced-motion:reduce){html:has([data-ledger-editorial]){scroll-behavior:auto}}

.ed-arrow{display:inline-block;width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.2;vertical-align:-1px}
