/* Editorial drafts inside the Higher Ground shell.
   Tokens come from the live theme. This file does not set a palette. */
.hg-ed{color:var(--ac-ink);background:var(--ac-paper);padding:clamp(28px,4vw,64px) 0 clamp(48px,6vw,88px);overflow-x:clip}
.hg-ed__header,.hg-ed__opening,.hg-ed__quick,.hg-ed__toc,.hg-ed__layout,.hg-ed__review{width:min(1120px,calc(100% - clamp(40px,4.5vw,64px)));margin-inline:auto}
.hg-ed__crumbs ol{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 22px;padding:0;list-style:none;font:11px/1.4 var(--ac-mono,ui-monospace,monospace);letter-spacing:.04em;color:var(--ac-muted)}
.hg-ed__crumbs li:not(:last-child)::after{content:"/";margin-left:12px;color:var(--ac-line)}
.hg-ed__crumbs a{color:inherit;text-decoration:underline;text-underline-offset:.18em}
.hg-ed__kicker{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 18px;font:11px/1.4 var(--ac-mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase}
.hg-ed__kicker span{border:1px solid var(--ac-ink);padding:4px 8px}
.hg-ed h1{margin:0;max-width:22ch;font-size:clamp(32px,5vw,64px);font-weight:650;letter-spacing:-.045em;line-height:1.05;text-wrap:balance}
.hg-ed__standfirst{margin:22px 0 0;max-width:68ch;font-size:clamp(17px,1.5vw,20px);line-height:1.55}
.hg-ed__byline{margin:16px 0 0;font-size:13px;color:var(--ac-muted)}
.hg-ed__opening{margin-top:28px}
.hg-ed__opening p,.hg-ed__section p,.hg-ed__quick p{max-width:68ch;font-size:17px;line-height:1.65}
.hg-ed__quick{margin-top:32px;background:var(--ac-night);color:var(--ac-paper);padding:clamp(20px,3vw,32px)}
.hg-ed__quick h2{margin:0 0 12px;color:var(--ac-accent);font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:650}
.hg-ed__quick p{color:var(--ac-paper)}
.hg-ed__quick a{color:var(--ac-accent)}
.hg-ed__toc{margin-top:28px;border-top:1px solid var(--ac-line);border-bottom:1px solid var(--ac-line)}
.hg-ed__toc summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:14px;font-weight:650}
.hg-ed__toc ol,.hg-ed__rail ol{margin:0 0 16px;padding:0;list-style:none}
.hg-ed__toc a,.hg-ed__rail a{display:inline-block;padding:8px 0;text-decoration:underline;text-underline-offset:.18em;color:var(--ac-accent-ink)}
.hg-ed__layout{margin-top:8px}
.hg-ed__rail{display:none}
.hg-ed__section{padding:36px 0;border-bottom:1px solid var(--ac-line)}
.hg-ed__section h2,.hg-ed h3{margin:0 0 14px;max-width:28ch;font-size:clamp(24px,3vw,34px);line-height:1.15;letter-spacing:-.03em;font-weight:650;text-wrap:balance}
.hg-ed h3{font-size:clamp(18px,2vw,22px);margin-top:22px}
.hg-ed__section :is(p,ul,ol,blockquote,fieldset){margin:0 0 16px}
.hg-ed__section ul{padding-left:1.2em;max-width:68ch}
.hg-ed__section li+li{margin-top:8px}
.hg-ed :is(p,li,blockquote,caption) a:not(.ac-btn){text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.hg-ed :is(p,li,blockquote,caption) a:not(.ac-btn):focus-visible{outline:3px solid var(--ac-focus);outline-offset:5px}
.hg-ed__example{border-left:3px solid var(--ac-accent);padding:4px 0 4px 14px;font-size:15px}
.hg-ed blockquote{margin-left:0;padding:4px 0 4px 14px;border-left:3px solid var(--ac-ink);max-width:68ch}
.hg-ed blockquote p{margin:0}
.hg-ed__table-wrap{max-width:100%;overflow-x:auto;margin:0 0 16px;-webkit-overflow-scrolling:touch}
.hg-ed table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;min-width:36rem}
.hg-ed caption{caption-side:top;text-align:left;font-weight:650;padding:0 0 10px;max-width:68ch}
.hg-ed th,.hg-ed td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--ac-line);hyphens:manual}
.hg-ed th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:700}
.hg-ed__num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.hg-ed__checks{border:0;margin:0 0 8px;padding:0;min-width:0}
.hg-ed__legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hg-ed__checks label{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--ac-line);max-width:68ch;cursor:pointer}
.hg-ed__checks input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--ac-ink)}
.hg-ed__check-note{font-size:13px;color:var(--ac-muted);margin-top:10px}
.hg-ed__action{margin-top:8px}
.hg-ed__action .ac-btn{max-width:100%}
.hg-ed__review{margin-top:28px;font-size:13px;color:var(--ac-muted)}
.hg-ed :is(h1,h2,h3,section,.hg-ed__quick){scroll-margin-top:96px}
.hg-ed--hub > :is(h1,p){width:min(1120px,calc(100% - clamp(40px,4.5vw,64px)));margin-inline:auto}
.hg-ed h1,.hg-ed h2,.hg-ed h3{overflow-wrap:break-word}
.hg-ed--hub h1{max-width:16ch}
.hg-ed--hub .hg-ed__list{list-style:none;margin:28px 0 0;padding:0;width:min(1120px,calc(100% - clamp(40px,4.5vw,64px)));margin-inline:auto}
.hg-ed--hub .hg-ed__list li{padding:18px 0;border-top:1px solid var(--ac-ink)}
.hg-ed--hub .hg-ed__list a{font-weight:650;font-size:clamp(20px,2vw,28px);letter-spacing:-.03em;text-decoration:underline;text-underline-offset:.15em}
.hg-ed--hub .hg-ed__meta{display:block;margin-top:6px;font-size:13px;color:var(--ac-muted)}
@media(min-width:960px){
.hg-ed--guide .hg-ed__toc{display:none}
.hg-ed--guide .hg-ed__layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:48px;align-items:start}
.hg-ed--guide .hg-ed__rail{display:block;position:sticky;top:96px}
.hg-ed--guide .hg-ed__rail p{margin:0 0 8px;font:11px/1.4 var(--ac-mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase}
}
@media(max-width:959px){
.hg-ed table{min-width:32rem}
}
@media(max-width:700px){
.hg-ed__crumbs li:last-child{display:none}
.hg-ed__crumbs li:nth-last-child(2)::after{content:none}
}
@media print{
.ac-header,.ac-footer,.ac-skip,.ase-preview-banner,.hg-ed__rail,.hg-ed__toc,.hg-ed__review{display:none!important}
.hg-ed,.hg-ed__quick{background:#fff!important;color:#000!important}
.hg-ed__quick,.hg-ed__quick p,.hg-ed__quick h2,.hg-ed__quick a{color:#000!important}
.hg-ed{padding:0}
.hg-ed__header,.hg-ed__opening,.hg-ed__quick,.hg-ed__layout{width:auto;margin:0}
.hg-ed a[href]::after{content:" (" attr(href) ")";font-size:.85em;overflow-wrap:anywhere}
.hg-ed a.ac-btn[href]::after{content:none}
.hg-ed table{min-width:0}
.hg-ed__table-wrap{overflow:visible}
.hg-ed th,.hg-ed td{padding:7pt 8pt}
.hg-ed__check-note{display:none!important}
.hg-ed__checks input{print-color-adjust:exact}
.hg-ed h2,.hg-ed h3{break-inside:avoid;break-after:avoid;page-break-inside:avoid;page-break-after:avoid}
.hg-ed h2 + *,.hg-ed h3 + *{break-before:avoid;page-break-before:avoid}
.hg-ed__checks{break-inside:avoid;page-break-inside:avoid}
}
@media(prefers-reduced-motion:reduce){
.hg-ed,.hg-ed *{scroll-behavior:auto}
}
