/* Legal pages in the calm shell: mono breadcrumb, index rail with an orange current row, one-weight reading type. */
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-page{--font-technical:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;--accent:#ff5a1f;color:var(--text-primary);background:var(--bg-page)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-route-head{width:min(100%,var(--page-max));max-width:none;box-sizing:border-box;margin:0 auto;padding:0 var(--page-gutter);min-height:52px;display:flex;align-items:center;gap:9px;color:var(--text-tertiary);border-bottom:1px solid var(--border-default);font:500 10px/1 var(--font-technical);letter-spacing:.12em;text-transform:uppercase}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-route-head a{color:var(--text-secondary);text-decoration:none}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-route-head b{color:#ff5a1f;font-weight:600}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-layout{width:min(100%,var(--page-max));max-width:none;box-sizing:border-box;margin:0 auto;padding:0 var(--page-gutter);display:grid;grid-template-columns:240px minmax(0,860px);gap:0 56px;align-items:start}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index{position:sticky;top:72px;display:flex;flex-direction:column;padding:40px 0 80px}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:10px;color:var(--text-secondary);border:0;border-top:1px dotted rgba(17,17,17,.35);background:transparent;font:400 13.5px/1.3 var(--font-editorial);text-decoration:none}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a:first-child{border-top:0}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a b{color:#ff5a1f;font:400 12px/1 var(--font-technical)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a:hover{color:var(--text-primary)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a[aria-current="page"]{color:var(--text-primary);background:#fff3ee;box-shadow:inset 3px 0 0 #ff5a1f;font-weight:500}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article{max-width:none;padding:40px 0 110px;border-left:0}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article :is(h1,h2,h3){font-family:var(--font-editorial);font-weight:400;font-variation-settings:"wght" 400;letter-spacing:-.03em;color:var(--text-primary)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article h1{max-width:18ch;margin:0 0 24px;font-size:clamp(34px,3vw,46px);line-height:1.08;letter-spacing:-.035em}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article h2{margin:48px 0 14px;font-size:var(--type-landing-section-size);line-height:1.12;scroll-margin-top:84px}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article h3{margin:30px 0 10px;font-size:clamp(18px,1.4vw,21px);font-weight:500;line-height:1.25}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article :is(p,li){max-width:70ch;color:var(--text-primary);font:400 15.5px/1.6 var(--font-editorial)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article ul li::marker{color:#ff5a1f}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article a{color:#ff5a1f;text-decoration:none;border-bottom:1px solid currentColor}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article :is(p,li) code{padding:2px 5px;color:#111;border:1px solid rgba(17,17,17,.25);border-radius:0;background:#fff;font:400 .86em/1.3 var(--font-technical)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article blockquote{margin:24px 0;padding:16px 20px;color:#111;border:1.5px solid #111;border-left:4px solid #ff5a1f;border-radius:0;background:#fff3ee;font:400 15px/1.55 var(--font-editorial)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article .docs-table-wrap{border:1.5px solid #111;border-radius:0;background:#fff}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article .docs-table-wrap th{color:#111;background:#fff3ee;border-bottom:1.5px solid #111;font:600 10px/1.4 var(--font-technical);letter-spacing:.1em;text-transform:uppercase}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article .docs-table-wrap td{border-top:1px dotted rgba(17,17,17,.35);font-size:14px}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article hr{border:0;border-top:1px dotted rgba(17,17,17,.4)}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"][data-resolved-theme="dark"] .legal-page :is(.legal-article :is(p,li) code,.legal-article .docs-table-wrap){color:#f1f1ed;border-color:#f1f1ed;background:#0a0a09}
html[data-design-system="halde"][data-calm][data-route-bundle="legal"][data-resolved-theme="dark"] .legal-page :is(.legal-article blockquote,.legal-index a[aria-current="page"],.legal-article .docs-table-wrap th){color:#f1f1ed;background:rgba(255,90,31,.12);border-color:#f1f1ed}
@media (max-width:900px){
  html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-layout{grid-template-columns:1fr;gap:0}
  html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index{position:static;flex-direction:row;flex-wrap:wrap;gap:8px;padding:20px 0 0}
  html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-index a{border:1.5px solid #111!important;padding:8px 10px;min-height:0}
  html[data-design-system="halde"][data-calm][data-route-bundle="legal"] .legal-article{padding-top:28px}
}
