/* Inter is self-hosted (SIL OFL). Do not load Google Fonts. */
@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* GUIDRYALLIED — original mobile-first directory styles. */
:root {
  --bg: #f7f9fc;
  --bg2: #eef3f9;
  --panel: #ffffff;
  --panel2: #f7f9fc;
  --ink: #0f1b2d;
  --mut: #4a5a6e;
  --line: #d6e0ec;
  --line2: #c3d1e2;
  --acc: #0b2545;
  --acc2: #1e3a5f;
  --acc-ink: #ffffff;
  --warn: #8a5a00;
  --unv: #5f6b7a;
  --banner: #e8eef7;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --tap: 2.75rem;
  --pad: 1rem;
  --max: 72rem;
  --read: 44rem;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.05), 0 8px 24px rgba(11, 37, 69, 0.04);
  --bottom-nav-space: calc(8rem + env(safe-area-inset-bottom, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 5.5rem;
  scroll-padding-bottom: var(--bottom-nav-space);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 100% -80px, rgba(11, 37, 69, 0.05), transparent 62%),
    radial-gradient(800px 420px at -8% 0, rgba(30, 58, 95, 0.04), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-space);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc2); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: #13315c; }
a:focus-visible, button:focus-visible, select:focus-visible, .nav-btn:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--panel);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 40;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; }
.preview-banner {
  background: var(--banner);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.5rem var(--pad);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.free-line {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.35rem var(--pad) 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #3b4a5e;
  background: transparent;
  position: static;
  overflow: visible;
  overflow-wrap: break-word;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  min-height: var(--tap);
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand svg { flex: 0 0 auto; display: block; }
.brand .slash { color: var(--acc); font-weight: 750; }
.brand em { font-style: normal; color: var(--acc); }
.brand-name { color: #0b2545; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 800; }
.nav-toggle { position: absolute; left: -999px; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 0.85rem;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}
.nav-panel { display: none; width: 100%; border-top: 1px solid var(--line); }
.nav-toggle:checked ~ .nav-panel { display: block; }
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
}
.nav-panel a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 0.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
}
.nav-panel a[aria-current="page"] { color: var(--acc); }
.nl-d { display: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 1.15rem var(--pad) 3rem; }
.wrap.narrow { max-width: var(--read); }
h1, .th1 { font-size: 1.65rem; line-height: 1.15; margin: 0 0 0.6rem; letter-spacing: -0.03em; font-weight: 750; }
h2 { font-size: 1.15rem; line-height: 1.25; margin: 1.75rem 0 0.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1rem; margin: 1.15rem 0 0.35rem; }
p { margin: 0 0 0.85rem; }
.lead { font-size: 1.05rem; color: var(--ink); max-width: 44rem; }
.muted, .source, .check, .note-sm { color: var(--mut); font-size: 0.875rem; }
.unverified {
  font-size: 0.75rem;
  color: var(--unv);
  font-weight: 400;
}
.picker {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  margin: 1rem 0 1.1rem;
  box-shadow: var(--shadow);
}
.picker label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 0.4rem;
}
.picker select {
  width: 100%;
  min-height: var(--tap);
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: var(--panel2);
  color: var(--ink);
}
.filters { margin: 0 0 1rem; }
.role-input { position: absolute; left: -999px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chips label, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}
.chips label span { color: var(--mut); font-weight: 600; margin-left: 0.35rem; }
#role-all:checked ~ .filters label[for="role-all"],
#role-ot:checked ~ .filters label[for="role-ot"],
#role-pt:checked ~ .filters label[for="role-pt"],
#role-ota:checked ~ .filters label[for="role-ota"],
#role-pta:checked ~ .filters label[for="role-pta"] {
  background: var(--acc);
  color: var(--acc-ink);
  border-color: var(--acc);
}
#role-all:checked ~ .filters label[for="role-all"] span,
#role-ot:checked ~ .filters label[for="role-ot"] span,
#role-pt:checked ~ .filters label[for="role-pt"] span,
#role-ota:checked ~ .filters label[for="role-ota"] span,
#role-pta:checked ~ .filters label[for="role-pta"] span { color: var(--acc-ink); }
#role-ot:checked ~ .dir-wrap .col-pt,
#role-ota:checked ~ .dir-wrap .col-pt,
#role-pt:checked ~ .dir-wrap .col-ot,
#role-pta:checked ~ .dir-wrap .col-ot { display: none; }
#role-ot:checked ~ .figures .fig-pt,
#role-ota:checked ~ .figures .fig-pt,
#role-pt:checked ~ .figures .fig-ot,
#role-pta:checked ~ .figures .fig-ot { display: none; }
#role-pt:checked ~ .ot-callout,
#role-pta:checked ~ .ot-callout { display: none; }
.figures {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
}
.fig {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}
.fig h2 { margin: 0 0 0.45rem; font-size: 1rem; }
.fig ul { margin: 0 0 0.5rem; padding-left: 1.15rem; }
.fig li { margin: 0 0 0.28rem; }
.fig p:last-child { margin-bottom: 0; }
.callout, .ot-callout {
  background: #eef3f9;
  border: 1px solid var(--line);
  border-left: 4px solid var(--acc);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
  max-width: 52rem;
}
.ot-callout h2, .callout h2 { margin: 0 0 0.4rem; font-size: 1rem; }
.ot-callout p:last-child, .callout p:last-child { margin-bottom: 0; }
.legend {
  color: var(--mut);
  font-size: 0.8125rem;
  margin: 0 0 0.85rem;
  max-width: 52rem;
}
.legend strong { color: var(--ink); font-weight: 650; }
.state-index { margin: 0 0 0.85rem; }
.state-index p { margin: 0 0 0.3rem; font-weight: 650; font-size: 0.875rem; color: var(--mut); }
.state-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
}
.state-index a { display: inline-flex; min-height: 2.25rem; align-items: center; font-size: 0.875rem; text-decoration: none; color: var(--ink); }
.state-index a:hover { color: var(--acc); }
.dir-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin: 0 0 1rem;
  box-shadow: var(--shadow);
}
table.dir {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 36rem;
}
table.dir th, table.dir td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
table.dir th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mut);
  font-weight: 700;
  background: var(--panel2);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}
table.dir th.col-ot {
  white-space: normal;
  min-width: 14.5rem;
  max-width: 22rem;
  overflow: visible;
  vertical-align: top;
}
table.dir th.jname, table.dir td.jname {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--panel);
  font-weight: 700;
  min-width: 8.5rem;
  box-shadow: 1px 0 0 var(--line);
}
table.dir th.jname { z-index: 3; background: var(--panel2); }
table.dir tbody tr:last-child th,
table.dir tbody tr:last-child td { border-bottom: 0; }
table.dir tr:target td,
table.dir tr:target th {
  background: #e3ebf5;
}
table.dir tr:target td.jname { background: #d3e0f0; }
.status { display: block; font-weight: 650; }
.status-sm { display: block; color: var(--mut); font-size: 0.75rem; font-weight: 400; margin-top: 0.15rem; }
.src {
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}
.gap { color: var(--mut); }
.board-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.path-map {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: step;
}
.path-map li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem 1rem;
  counter-increment: step;
  box-shadow: var(--shadow);
}
.path-map li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0 0.55rem 0.35rem 0;
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 800;
  font-size: 0.85rem;
  vertical-align: middle;
}
.path-map h2 { display: inline; margin: 0; font-size: 1.05rem; vertical-align: middle; }
.path-map p { margin: 0.55rem 0 0; }
.quote { margin: 0 0 0.9rem; padding-left: 0.85rem; border-left: 3px solid var(--acc); color: var(--ink); }
ul.plain { margin: 0 0 1rem; padding-left: 1.15rem; }
ul.plain li { margin: 0 0 0.4rem; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f9fc;
  padding: 1.5rem var(--pad) 2.5rem;
  color: var(--mut);
  font-size: 0.875rem;
}
.site-footer .wrap { padding-top: 0; padding-bottom: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; min-height: 2.5rem; align-items: center; color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--acc); }
.address { font-style: normal; margin: 0 0 0.75rem; color: var(--ink); }
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.15rem 0 calc(0.15rem + env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  text-decoration: none;
  color: var(--mut);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bottom-nav a[aria-current="page"] { color: var(--acc); }
@media (min-width: 720px) {
  body { padding-bottom: 2rem; }
  .bottom-nav { display: none; }
  .nav-btn { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .nav-panel {
    display: block;
    width: auto;
    border-top: 0;
    margin-left: auto;
  }
  .nav-panel ul { display: flex; flex-wrap: wrap; gap: 0 0.15rem; padding: 0; }
  .nav-panel a { padding: 0 0.65rem; font-size: 0.9rem; }
  .nl-m { display: none; }
  .nl-d { display: inline; }
  h1, .th1 { font-size: 2rem; }
  .path-map { grid-template-columns: repeat(3, 1fr); }
  .path-map li:last-child { grid-column: 1 / -1; }
  .figures { grid-template-columns: 1fr 1fr; }
  html { scroll-padding-bottom: 0; }
}

.th-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  max-width: none;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  hyphens: none;
}

.state-index summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--mut);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  list-style: none;
}
.state-index summary::-webkit-details-marker { display: none; }
.state-index summary::after {
  content: "Show";
  margin-left: 0.5rem;
  color: var(--acc2);
  font-weight: 600;
}
.state-index[open] summary::after { content: "Hide"; }
.state-index summary + ul { margin-top: 0.35rem; }

.topic-cards {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.topic-cards a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: var(--tap);
}
.topic-cards a:hover { border-color: var(--acc); color: inherit; }
.topic-cards h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--acc);
}
.topic-cards p { margin: 0; color: var(--ink); }
@media (min-width: 720px) {
  .topic-cards { grid-template-columns: 1fr 1fr; }
}

/* Side-by-side comparison tables (official facts only) */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin: 0 0 1.25rem; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 34rem; }
table.compare caption { text-align: left; padding: 0.7rem 0.75rem 0; color: var(--mut); font-size: 0.8rem; }
table.compare th, table.compare td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
table.compare thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mut); background: var(--panel2); }
table.compare tbody th { font-weight: 700; width: 9.5rem; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

.speech-card { background: var(--panel); border: 1px solid var(--line2); border-left: 4px solid var(--acc); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; box-shadow: var(--shadow); }
.speech-card h2 { margin-top: 0; color: var(--acc); }
.speech-links { font-weight: 600; }
