:root {
  color-scheme: dark;
  --wp-bg: #0b1020;
  --wp-panel: #111c2e;
  --wp-line: #2b3e57;
  --wp-text: #e8eef7;
  --wp-muted: #adbacb;
  --wp-teal: #8bd5ca;
  --wp-blue: #91b8ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 12% 0%, #1a3044 0, transparent 38%), var(--wp-bg);
  color: var(--wp-text);
  font: 16px/1.72 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--wp-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #c0fff2; }
.wp-topbar {
  border-bottom: 1px solid var(--wp-line);
  background: rgba(8, 16, 30, .88);
}
.wp-nav {
  width: min(1120px, calc(100% - 40px)); min-height: 66px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.wp-brand { color: var(--wp-text); font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.wp-brand span { color: var(--wp-teal); }
.wp-navlinks { display:flex; gap:22px; font-size:14px; color:var(--wp-muted); }
.wp-main { width:min(920px,calc(100% - 40px)); margin:0 auto; padding:48px 0 84px; }
.wp-breadcrumb { margin:0 0 22px; color:var(--wp-muted); font-size:13px; }
.wp-breadcrumb a { text-decoration:none; }
.wp-article { max-width: 78ch; margin:auto; }
.wp-article h1 { margin:0 0 18px; font-size:clamp(34px,6vw,54px); line-height:1.1; letter-spacing:-.04em; }
.wp-article h2 { margin:2.2em 0 .7em; padding-top:.4em; border-top:1px solid var(--wp-line); font-size:clamp(23px,3vw,30px); line-height:1.25; letter-spacing:-.025em; }
.wp-article h3 { margin:1.5em 0 .5em; font-size:20px; line-height:1.3; }
.wp-article p, .wp-article li { color:#d0d9e5; }
.wp-article strong { color:#f4f7fb; }
.wp-article blockquote { margin:1.5em 0; padding:12px 20px; border-left:3px solid var(--wp-teal); background:#102236; color:var(--wp-muted); }
.wp-article code { padding:.12em .34em; border:1px solid #31455e; border-radius:5px; background:#101b2d; color:#b9e9df; font-size:.9em; }
.wp-article pre { overflow-x:auto; padding:20px; border:1px solid var(--wp-line); border-radius:12px; background:#080f1c; line-height:1.55; }
.wp-article pre code { padding:0; border:0; background:transparent; color:#e6edf6; }
.wp-article table { display:block; overflow-x:auto; width:100%; border-collapse:collapse; }
.wp-article th,.wp-article td { padding:10px 13px; border:1px solid var(--wp-line); text-align:left; vertical-align:top; }
.wp-article th { background:#14253a; color:#f1f6fb; }
.wp-article td { color:#d0d9e5; }
.wp-article hr { border:0; border-top:1px solid var(--wp-line); margin:2em 0; }
.wp-figure { margin:30px 0 38px; padding:14px; border:1px solid var(--wp-line); border-radius:16px; background:#080f1c; box-shadow:0 16px 42px rgba(0,0,0,.22); }
.wp-figure img { display:block; width:100%; height:auto; border-radius:10px; }
.wp-figure figcaption { margin:12px 6px 3px; color:var(--wp-muted); font-size:13px; line-height:1.5; }
.wp-status { display:inline-block; margin:0 0 26px; padding:7px 11px; border:1px solid #36564f; border-radius:999px; background:#10251f; color:#a9e5db; font-size:12px; line-height:1.4; }
.wp-callout { margin:26px 0; padding:17px 20px; border:1px solid #496278; border-radius:12px; background:#122237; }
.wp-footer { border-top:1px solid var(--wp-line); padding:26px 20px 42px; color:var(--wp-muted); font-size:13px; }
.wp-footer-inner { width:min(920px,100%); margin:auto; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
@media(max-width:680px) {
  .wp-nav { align-items:flex-start; padding:17px 0; flex-direction:column; }
  .wp-navlinks { flex-wrap:wrap; gap:14px; }
  .wp-main { padding:30px 0 58px; }
  .wp-figure { padding:7px; margin:22px 0 28px; }
  .wp-article table { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Shared keyboard navigation and readable diagram access. */
.wp-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid var(--wp-teal);
  border-radius: 8px;
  background: #071320;
  color: #fff;
  font-weight: 700;
}
.wp-skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid #ffe29a; outline-offset: 4px; border-radius: 3px; }
.wp-figure figcaption a { display: inline-block; margin-top: 8px; font-weight: 650; }
.wp-figure img { min-width: 0; }
.wp-article { overflow-wrap: break-word; }
.wp-article pre, .wp-article table { max-width: 100%; }
@media (prefers-contrast: more) {
  :root { --wp-muted: #dce4ef; --wp-line: #8da3be; }
  .wp-figure { border-width: 2px; }
}

/* Shared square atto mark in the paper layout navigation. */
.wp-brand{display:inline-flex;align-items:center;gap:10px}
.wp-brand .wp-brand-name{color:var(--wp-text)}
.wp-brand-mark{display:block;width:38px;height:38px;border-radius:7px;flex-shrink:0}

/* Shared logo treatment in all generated whitepaper footers. */
.wp-footer-inner{align-items:center}
.wp-footer-brand{display:inline-flex;align-items:center;gap:10px;color:var(--wp-text);font-size:14px;font-weight:750;text-decoration:none;white-space:nowrap}
.wp-footer-brand img{display:block;width:38px;height:38px;border-radius:8px}
.wp-footer-brand:hover{text-decoration:underline}

@media(max-width:420px){.wp-navlinks{gap:12px}.wp-footer-inner{gap:14px}}
