/* IronLedger brand: the same palette and type as the IronLedger compliance app.
   Light is complete on bare :root; dark redefines the same tokens and nothing else. */
@import url("fonts.css");
:root {
  --ink: #02182e; --ink-2: #022f56; --muted: #49637a;
  --line: #abc6d4; --line-soft: #c2d9e3;
  --bg: #ccdee4; --panel: #e8f1f5; --panel-2: #dcebf1;
  --accent: #022f56; --accent-soft: #ccdee4; --on-accent: #ffffff;
  --link: #0b4f86;
  --ok: #2f6b4e; --ok-soft: #d5e6dc;
  --warn: #8a5a22; --warn-soft: #f3e7d8;
  --bad: #8e3d2b; --bad-soft: #f2ded9;
  --topbar-bg: #02182e; --topbar-ink: #e8f1f5; --topbar-dim: #85c4e4;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(13, 20, 38, .06), 0 8px 24px rgba(13, 20, 38, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ccdee4; --ink-2: #a8c7d8; --muted: #86a7bd;
    --line: #0b3f6d; --line-soft: #07305a;
    --bg: #02182e; --panel: #022f56; --panel-2: #043a68;
    --accent: #85c4e4; --accent-soft: #0a3a63; --on-accent: #02182e;
    --link: #85c4e4;
    --ok: #86c7a7; --ok-soft: #123f2c; --warn: #e3bd86; --warn-soft: #4a3519; --bad: #f0ab92; --bad-soft: #5e2a1c;
    --topbar-bg: #010f1e; --topbar-ink: #ccdee4; --topbar-dim: #85c4e4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #ccdee4; --ink-2: #a8c7d8; --muted: #86a7bd;
  --line: #0b3f6d; --line-soft: #07305a;
  --bg: #02182e; --panel: #022f56; --panel-2: #043a68;
  --accent: #85c4e4; --accent-soft: #0a3a63; --on-accent: #02182e;
  --link: #85c4e4;
  --ok: #86c7a7; --ok-soft: #123f2c; --warn: #e3bd86; --warn-soft: #4a3519; --bad: #f0ab92; --bad-soft: #5e2a1c;
  --topbar-bg: #010f1e; --topbar-ink: #ccdee4; --topbar-dim: #85c4e4;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15.5px/1.6 "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
.mono, code { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.topbar { background: var(--topbar-bg); color: var(--topbar-ink); }
.topbar .in { max-width: 960px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.topbar a.brand { display: flex; align-items: center; gap: 11px; color: var(--topbar-ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .wm { font-weight: 700; font-size: 21px; letter-spacing: .01em; }
.topbar .tag { color: var(--topbar-dim); font-size: 13.5px; margin-left: auto; }
.wrap { max-width: 960px; margin: 0 auto; padding: 28px 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
.foot { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; padding: 18px 20px 30px; flex-wrap: wrap; }
.foot img { width: 20px; height: 20px; border-radius: 5px; }
.foot a { color: var(--muted); }
@media (max-width: 680px) { .topbar .tag { display: none; } .wrap { padding: 18px 14px; } .card { padding: 18px 16px; } }
@media print { :root { --bg: #fff; --panel: #fff; --shadow: none; } .topbar, .foot { display: none; } }
