/* Scoped guide presentation. The shell/header keep their existing implementation. */
body.frontier-guides-page {background:#f6f8fa;color:#093e58;}
/* The shared shell owns a legacy 16px gap after its bar; this section starts at the bar. */
body.frontier-guides-page .top-dash-bar {margin-bottom:0;}
#frontier-guides {--ink:#093e58;--text:#093e58;--muted:#526774;--accent:#087f99;--line:#cedfe5;--surface:#fff;--page:#f6f8fa;--pale:#edf7fa;--hover:#f8fbfc;max-width:1320px;margin:0 auto 50px;font:14px/1.55 "Segoe UI",Arial,sans-serif;color:var(--text);}
#frontier-guides,#frontier-guides * {box-sizing:border-box;}
#frontier-guides .fg-hero {position:relative;background:var(--surface);box-shadow:0 0 0 100vmax var(--surface);clip-path:inset(0 -100vmax);margin:0;}
#frontier-guides .fg-hero-inner {min-height:214px;padding:34px 0 24px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;}
#frontier-guides .fg-hero h1 {font:800 clamp(40px,3.1vw,50px)/1.12 "Segoe UI",Arial,sans-serif;letter-spacing:-.03em;margin:0;color:var(--ink);overflow-wrap:anywhere;}
#frontier-guides .fg-hero p {font-size:16px;line-height:1.7;color:var(--muted);margin:16px 0 0;max-width:850px;}
#frontier-guides .fg-list {background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-top:22px;overflow:hidden;}
#frontier-guides .fg-row {position:relative;padding:28px 32px;margin:0;border:0;border-radius:0;background:transparent;}
#frontier-guides .fg-row + .fg-row {border-top:1px solid var(--line);}
#frontier-guides .fg-row:hover {background:var(--hover);}
#frontier-guides .fg-row h2 {font-size:22px;line-height:1.35;letter-spacing:-.01em;font-weight:700;margin:0;color:var(--ink);}
#frontier-guides .fg-title-link {color:var(--ink);text-decoration:none;overflow-wrap:anywhere;}
#frontier-guides .fg-title-link::after {content:"";position:absolute;inset:0;}
#frontier-guides .fg-title-link:hover {color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
#frontier-guides .fg-title-link:focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
#frontier-guides .fg-row:focus-within {background:var(--hover);}
#frontier-guides .fg-summary {font-size:16px;line-height:1.7;color:var(--muted);margin:12px 0 0;}
#frontier-guides .fg-empty {padding:28px 32px;}
#frontier-guides.fg-reader {padding-top:22px;}
#frontier-guides .fg-reader-nav {margin:0 0 20px;font-size:14px;line-height:1.55;}
#frontier-guides .fg-reader-nav a {color:var(--accent);text-decoration:none;}
#frontier-guides .fg-reader-nav a,#frontier-guides .ra-crumbs a {display:inline;padding:0;border:0;border-radius:0;background:transparent;font-size:inherit;font-weight:600;}
#frontier-guides .fg-reader-nav a:hover {text-decoration:underline;text-underline-offset:3px;}
#frontier-guides .fg-reader-nav a:focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
#frontier-guides .fg-reader-panel {padding:34px clamp(18px,4vw,64px);background:var(--surface);border:1px solid var(--line);border-radius:8px;}
#frontier-guides .ra-single {max-width:850px!important;margin:0 auto!important;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--text);}
#frontier-guides .ra-crumbs {color:var(--muted);margin:0 0 18px!important;font-size:13px!important;}
#frontier-guides .ra-card-hdr {display:block;margin:0 0 26px;border-color:var(--line);}
#frontier-guides .ra-title {font:800 clamp(26px,2.5vw,34px)/1.25 "Segoe UI",Arial,sans-serif!important;letter-spacing:-.025em;color:var(--ink);margin:0;overflow-wrap:anywhere;}
#frontier-guides .ra-date {display:block;width:max-content;padding:0;margin-top:14px;font-size:13px;line-height:1.55;color:var(--muted);background:transparent;border:0;}
#frontier-guides .ra-body {font:16px/1.8 "Segoe UI",Arial,sans-serif;color:var(--text);overflow-wrap:anywhere;}
#frontier-guides .ra-body p {margin:18px 0;}
#frontier-guides .ra-body h2,#frontier-guides .ra-related h2 {font-size:25px!important;line-height:1.3;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin:32px 0 16px!important;}
#frontier-guides .ra-body h3 {font-size:20px!important;line-height:1.35;font-weight:700;color:var(--ink);margin:26px 0 12px;}
#frontier-guides .ra-body :is(h2,h3,h4,[id]) {scroll-margin-top:24px;}
#frontier-guides .ra-body :is(ul,ol) {padding-left:24px;}
#frontier-guides .ra-body li {margin:8px 0;}
#frontier-guides .ra-body a,#frontier-guides .ra-related a,#frontier-guides .ra-crumbs a,#frontier-guides .ra-single > p a {color:var(--accent);text-underline-offset:3px;}
#frontier-guides .ra-body a:hover,#frontier-guides .ra-related a:hover {text-decoration:underline;}
#frontier-guides .ra-single a:focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
#frontier-guides .ra-body img {display:block;max-width:100%;height:auto;margin:20px auto;border-radius:6px;}
#frontier-guides .ra-body figure {margin:24px 0!important;max-width:100%;overflow-x:auto;}
#frontier-guides .ra-body .ra-chart,#frontier-guides .ra-body .ra-chart svg {background:var(--surface);border-color:var(--line);}
#frontier-guides .ra-body figcaption {font-size:13px!important;line-height:1.6;font-weight:600;color:var(--muted);margin-bottom:12px!important;}
#frontier-guides .ra-body blockquote {margin:22px 0;padding:12px 20px;border-left:3px solid var(--accent);background:var(--pale);}
#frontier-guides .ra-body pre {font-size:13px;padding:16px;overflow:auto;}
#frontier-guides .ra-body :is(.scroll-x,.tblwrap) {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
#frontier-guides .ra-body table {font-size:14px;line-height:1.5;border-collapse:collapse;width:100%;color:var(--text);background:var(--surface);}
#frontier-guides .ra-body :is(th,td) {padding:10px;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;}
#frontier-guides .ra-body th {font-weight:700;text-align:left;background:var(--pale);}
#frontier-guides .ra-body .ra-table :is(th,td):nth-child(n+3) {text-align:right;}
#frontier-guides .ra-body .dqa {--dq-ink:var(--ink);--dq-ink2:var(--muted);--dq-rule:var(--line);--dq-rule2:var(--line);--dq-surface:var(--surface);line-height:1.8;}
/* The source audit is a six-column workpaper, wider than ordinary long-form text. */
#frontier-guides .ra-single:has(.dqa) {max-width:1180px!important;}
#frontier-guides .dqa #dqTable {table-layout:fixed;width:100%;min-width:1100px;}
#frontier-guides .dqa #dqTable th:first-child {width:230px;}
#frontier-guides .dqa #dqTable th:nth-child(2) {width:120px;}
#frontier-guides .dqa #dqTable th:nth-child(3) {width:160px;}
#frontier-guides .dqa #dqTable td.co {width:230px;white-space:normal;overflow-wrap:anywhere;}
#frontier-guides .dqa #dqTable td.co small {white-space:normal;overflow-wrap:anywhere;}
#frontier-guides .dqa #dqTable td.metric {white-space:normal;overflow-wrap:anywhere;}
#frontier-guides .dqa #dqTable .cell {max-width:100%;min-width:0;}
#frontier-guides .dqa #dqTable .chip {max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:right;}
#frontier-guides .dqa #dqTable :is(td.num,.val) {white-space:nowrap;font-variant-numeric:tabular-nums;}
#frontier-guides .ra-related {border-color:var(--line)!important;margin-top:32px!important;padding-top:0!important;}
#frontier-guides .ra-single .muted {color:var(--muted);}
html[data-bond-theme="dark"] body.frontier-guides-page {background:#0e1621;color:#e8edf2;}
html[data-bond-theme="dark"] #frontier-guides {--ink:#f0f2f5;--text:#e8edf2;--muted:#9aa9b8;--accent:#6ab3f3;--line:#2b3947;--surface:#17212b;--page:#0e1621;--pale:#202b36;--hover:#232e3c;}
/* Source SVG geometry and semantic bar colors remain intact; labels follow Night. */
html[data-bond-theme="dark"] #frontier-guides .ra-body svg text {fill:var(--muted);}
html[data-bond-theme="dark"] #frontier-guides .ra-body svg text[fill="#0f172a"] {fill:var(--ink);}
html[data-bond-theme="dark"] #frontier-guides .ra-body svg [stroke="#e2e8f0"] {stroke:var(--line);}
html[data-bond-theme="dark"] #frontier-guides .ra-body .dqa {--dq-ok:#73dbb0;--dq-okbg:#153324;--dq-near:#efbc72;--dq-nearbg:#3a3212;--dq-line:#9dbde8;--dq-linebg:#1b2c40;--dq-bad:#ff9b96;--dq-badbg:#43201c;--dq-none:#9aa9b8;--dq-nonebg:#202b36;}
html[data-bond-theme="dark"] body.frontier-guides-page .site-footer {background:#0e1621;color:#9aa9b8;border-color:#2b3947;}
html[data-bond-theme="dark"] body.frontier-guides-page .site-footer a {color:#6ab3f3;}
html[data-bond-theme="dark"] body.frontier-guides-page .site-footer .fr-foot-brand {color:#e8edf2;}
@media(max-width:1360px) {#frontier-guides .fg-hero p {font-size:15px;}}
@media(max-width:1160px) {#frontier-guides .fg-hero-inner {min-height:0;padding:30px 0 23px;}#frontier-guides .fg-hero h1 {font-size:40px;}}
@media(max-width:640px) {
  #frontier-guides .fg-hero-inner {padding:27px 0 19px;}
  #frontier-guides .fg-hero h1 {font-size:29px;line-height:1.12;}
  #frontier-guides .fg-hero p {font-size:14px;line-height:1.65;margin-top:13px;}
  #frontier-guides .fg-list {margin-top:18px;}
  #frontier-guides .fg-row {padding:22px 18px;}
  #frontier-guides .fg-row h2 {font-size:19px;line-height:1.35;}
  #frontier-guides .fg-summary {font-size:16px;line-height:1.7;margin-top:12px;}
  #frontier-guides.fg-reader {padding-top:18px;}
  #frontier-guides .fg-reader-panel {padding:34px 18px;}
  #frontier-guides .ra-body .ra-table {min-width:600px;}
  #frontier-guides .ra-body figure svg {min-width:600px;max-width:none!important;}
}
