/* Texas AI Law — design system per brief sections 2 and 3.
   Paper #F7F6F1, Ink #202925, Forest #233C36, Sage #DDE5DF,
   White #FFFFFF, Link #294C40, Muted #5B665F, Rule #CAD2CB.
   Poppins Medium headings and navigation, Poppins Light body. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-light.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-medium.woff2") format("woff2");
}

:root {
  --paper: #F7F6F1;
  --ink: #202925;
  --forest: #233C36;
  --sage: #DDE5DF;
  --white: #FFFFFF;
  --link: #294C40;
  --muted: #5B665F;
  --rule: #CAD2CB;
  --max: 1200px;
  --prose: 680px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

h1.article-title { font-size: 54px; }
h2 { font-size: 34px; margin-top: 48px; }
h3 { font-size: 24px; margin-top: 32px; }

p { margin: 0 0 16px; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 12px; color: var(--white); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 88px;
}

.brand { flex: 0 0 auto; line-height: 0; }
.brand img { height: 44px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover { color: var(--forest); border-bottom-color: var(--sage); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--forest); }

.header-actions { display: none; }

.menu-button {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
  border-radius: 4px;
  cursor: pointer;
}

.mobile-menu {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.mobile-menu nav { padding: 16px 0 24px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-top: 1px solid var(--rule); }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.mobile-menu a[aria-current="page"] { color: var(--forest); }

.menu-close-row { display: flex; justify-content: flex-end; padding-top: 8px; }
.menu-close {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb { padding: 24px 0 0; font-size: 15px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--link); }
.breadcrumb [aria-current="page"] { color: var(--muted); }

/* ---------- Article header ---------- */

.article-head { max-width: var(--prose); padding: 24px 0 8px; }
.kicker {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 12px;
}
.deck { font-size: 20px; line-height: 1.55; color: var(--ink); }

.insight-meta { font-size: 15px; color: var(--muted); margin: 12px 0 0; }
ul.sources li { margin-bottom: 6px; }

.date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  margin: 24px 0 32px;
}
.date-row .sep { color: var(--rule); }

/* ---------- Prose ---------- */

.prose { max-width: var(--prose); }
.prose ul, .prose ol { padding-left: 28px; }
.prose li { margin-bottom: 8px; }

.spacer { height: 48px; }

/* ---------- Homepage hero slideshow (nine topic hubs) ---------- */

.hero-slideshow {
  background: #0b0d0e;
  color: #fff;
}

.slideshow {
  position: relative;
  max-width: 1720px;
  margin: 0 auto;
}

.slideshow .slides {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* No-JS fallback: first slide only. JS adds .js and manages [hidden]. */
.slideshow .slide {
  display: none;
  position: relative;
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  background: #0b0d0e;
}
.slideshow .slide:first-child { display: block; }
.slideshow.js .slide { display: block; }
.slideshow.js .slide[hidden] { display: none; }

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(4, 6, 7, 0.88) 0%,
    rgba(4, 6, 7, 0.62) 38%,
    rgba(4, 6, 7, 0.22) 66%,
    rgba(4, 6, 7, 0.05) 100%);
}

.slide-text {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 32px 120px;
  color: #fff;
}

.slide-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfd8d3;
  margin: 0 0 14px;
}

.slide-title {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  max-width: 16em;
  color: #fff;
  font-weight: 600;
}

.slide-deck {
  font-size: 19px;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 0 26px;
  color: #f2f5f3;
}

.slide-cta a {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 12px 26px;
  min-height: 48px;
  line-height: 24px;
}
.slide-cta a:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}
.slide-cta a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.slide-controls {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.slide-controls button {
  font-family: var(--font);
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  background: rgba(4, 6, 7, 0.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.slide-controls button:hover { background: rgba(255, 255, 255, 0.18); }
.slide-controls button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.slide-dots {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 6px;
  padding: 0;
}
.slide-dots button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  position: relative;
}
.slide-dots button::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
}
.slide-dots button:hover::after { background: rgba(255, 255, 255, 0.8); }
.slide-dots button[aria-current="true"]::after { background: #fff; }

.slide-count {
  color: #e8edea;
  font-size: 15px;
  margin: 0 4px;
  min-width: 52px;
  text-align: center;
}

@media (max-width: 760px) {
  .slideshow .slide { min-height: 520px; }
  .slide-text { padding: 120px 20px 150px; }
  .slide-deck { font-size: 17px; }
  .slide-controls {
    right: 16px;
    left: 16px;
    bottom: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slideshow .slide { transition: none; }
}

/* ---------- Homepage sections ---------- */

.home-section { padding: 56px 0; }
.home-section + .home-section { border-top: 1px solid var(--rule); }
.home-section h2 { margin-top: 0; }
.section-lede { max-width: var(--prose); font-size: 19px; }

.question-list { list-style: none; margin: 0; padding: 0; max-width: var(--prose); }
.question-list li { border-bottom: 1px solid var(--rule); }
.question-list a {
  display: block;
  padding: 16px 4px;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.question-list a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card h3 { font-size: 22px; margin: 0 0 12px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
/* Card headings that must be H2 for document outline (e.g. Insights index);
   visually identical to card H3s. */
.card h2.card-title { font-size: 22px; margin: 0 0 12px; font-weight: 500; }
.card h2.card-title a { color: var(--ink); text-decoration: none; }
.card h2.card-title a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.card p { font-size: 16px; margin: 0 0 12px; }
.card .card-meta { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.card .card-link { font-weight: 500; margin-top: 8px; }

.link-more { display: inline-block; margin-top: 24px; font-weight: 500; }

/* ---------- Contents nav ---------- */

.contents {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 0 0 32px;
  max-width: var(--prose);
}
.contents h2 { font-size: 20px; margin: 0 0 12px; }
.contents ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.contents li { margin-bottom: 6px; break-inside: avoid; }
.contents a { font-size: 16px; }

/* ---------- Key authorities ---------- */

.authority-group { margin-bottom: 24px; }
.authority-group h3 { font-size: 20px; margin-bottom: 8px; }

/* ---------- Sources ---------- */

.source-list { list-style: none; margin: 0; padding: 0; max-width: var(--prose); }
.source-list li {
  border-top: 1px solid var(--rule);
  padding: 14px 0;
  font-size: 16px;
}
.source-list .source-title { font-weight: 500; }
.source-list .source-meta { color: var(--muted); font-size: 15px; }

/* ---------- Related reading ---------- */

.related-list { list-style: none; margin: 0; padding: 0; max-width: var(--prose); }
.related-list li { margin-bottom: 10px; font-size: 17px; }

/* ---------- Tracker ---------- */

.tracker-filters {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 24px;
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.field label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.field input[type="search"], .field select {
  width: 100%;
  min-height: 44px;
  font-family: var(--font);
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.button {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 4px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--forest); }

/* Replaces the legacy inline height spacer divs (CSP style-src 'self'). */
.spacer-48 { height: 48px; }

.filter-status { font-size: 15px; color: var(--muted); margin: 0 0 16px; }

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--white);
  margin-bottom: 48px;
}

/* Wide reference tables: compact cells and a sticky first column so the
   jurisdiction stays visible while scrolling horizontally. */
table.ref-table { border-collapse: collapse; width: 100%; font-size: 15px; }
table.ref-table th, table.ref-table td {
  text-align: left; vertical-align: top;
  padding: 10px 14px; border-bottom: 1px solid var(--rule);
}
table.ref-table thead th {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--forest); border-bottom: 2px solid var(--rule);
}
table.ref-table-wide { font-size: 14px; }
table.ref-table-wide th, table.ref-table-wide td { padding: 8px 10px; }
table.ref-table-wide th[scope="row"] { width: 160px; }
table.ref-table-wide th:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 1;
}
table.ref-table-wide thead th:first-child { z-index: 2; }

table.tracker { border-collapse: collapse; width: 100%; min-width: 1100px; font-size: 15px; }
table.tracker caption { text-align: left; padding: 16px; font-weight: 500; font-size: 17px; }
table.tracker th, table.tracker td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-top: 1px solid var(--rule);
}
table.tracker thead th {
  background: var(--sage);
  font-weight: 500;
  white-space: nowrap;
  border-top: 0;
}
table.tracker tbody tr:hover { background: var(--paper); }
table.tracker .rec-title { font-weight: 500; }
table.tracker .rec-id { color: var(--muted); font-size: 13px; }

.empty-row td { text-align: center; padding: 32px; font-size: 17px; }

/* ---------- Definitions ---------- */

.def-list { max-width: var(--prose); }
.def-list dt { font-weight: 500; font-size: 20px; margin: 32px 0 4px; }
.def-list dd { margin: 0 0 8px; }
.def-list .def-applies { font-size: 15px; color: var(--muted); }

/* ---------- Search ---------- */

.search-form { max-width: var(--prose); margin: 24px 0; }
.search-row { display: flex; gap: 12px; }
.search-row input[type="search"] {
  flex: 1;
  min-height: 48px;
  font-family: var(--font);
  font-size: 17px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink);
}
.search-row button {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  min-height: 48px;
  padding: 8px 24px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
}
.search-row button:hover,
.search-row button:focus-visible { background: var(--link); border-color: var(--link); }
.search-results { list-style: none; margin: 24px 0; padding: 0; max-width: var(--prose); }
.search-results li { border-top: 1px solid var(--rule); padding: 16px 0; }
.search-results .result-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.search-results .result-title { font-weight: 500; font-size: 19px; }
.search-results .result-type { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 3px; padding: 2px 8px; color: var(--muted); white-space: nowrap; }
.search-results .result-url { font-size: 14px; color: var(--muted); }
.search-results .result-excerpt { font-size: 16px; margin-top: 4px; }
.load-more { display: inline-block; margin: 8px 0 24px; padding: 10px 20px; font-size: 16px; border: 1px solid var(--link); border-radius: 4px; background: #fff; color: var(--link); cursor: pointer; min-height: 44px; }
.load-more:hover, .load-more:focus-visible { background: var(--link); color: #fff; }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; font-size: 14px; }
.active-filters-label { color: var(--muted); }
.filter-chip { border: 1px solid var(--rule); border-radius: 999px; background: #f4f6f4; padding: 6px 12px; font-size: 14px; cursor: pointer; min-height: 36px; }
.filter-chip:hover, .filter-chip:focus-visible { border-color: var(--link); color: var(--link); }
.clear-filters { border: none; background: none; color: var(--link); text-decoration: underline; font-size: 14px; cursor: pointer; padding: 8px; min-height: 36px; }
.retry-search { margin-left: 8px; padding: 8px 16px; font-size: 15px; border: 1px solid var(--link); border-radius: 4px; background: #fff; color: var(--link); cursor: pointer; min-height: 44px; }
.retry-search:hover, .retry-search:focus-visible { background: var(--link); color: #fff; }
.entry-links { font-size: 17px; margin-top: 12px; }
.entry-links a { white-space: nowrap; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest);
  color: var(--white);
  padding: 48px 0 32px;
  margin-top: 64px;
}

.site-footer .footer-note { font-size: 19px; font-weight: 500; margin-bottom: 24px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 32px; }
.footer-links a { color: var(--white); font-size: 16px; }
.footer-links a:hover { color: var(--sage); }
.footer-links .footer-group-label { width: 100%; font-size: 14px; color: var(--sage); margin: 16px 0 0; }

/* Companion-publication line: needs an explicit light link color because the
   generic link color is unreadable on the dark footer background. */
.footer-siblings { font-size: 16px; margin: 0 0 24px; }
.footer-siblings a { color: var(--white); }
.footer-siblings a:hover { color: var(--sage); }

.footer-copy { font-size: 14px; color: var(--sage); border-top: 1px solid rgba(255,255,255,0.25); padding-top: 24px; }
.site-footer :focus-visible { outline-color: var(--white); }

/* ---------- Tablet ---------- */

@media (max-width: 1099px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .header-inner { min-height: 76px; }
  .site-nav { display: none; }
  .header-actions { display: block; margin-left: auto; }
  h1.article-title { font-size: 44px; }
  h2 { font-size: 30px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tracker-filters { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */

@media (max-width: 699px) {
  body { font-size: 17px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-inner { min-height: 68px; gap: 16px; }
  .brand img { height: 36px; }
  h1.article-title { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero { padding: 32px 0 28px; }
  .slide-title { font-size: 22px; }
  .slide-caption { padding: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .contents ul { columns: 1; }
  .tracker-filters { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .slide-dots { margin-left: 0; }
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32, 41, 37, 0.25);
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--link);
  border-color: var(--link);
}
.planning { display: grid; grid-template-columns: 260px 1fr; gap: 8px 16px; margin: 0 0 24px; }
.planning dt { font-weight: 500; white-space: nowrap; }
.planning dd { margin: 0; }
.planning dd ul { margin: 0; padding-left: 20px; }
.card-tags { font-size: 13px; color: #5B665F; }
.stat-text { border-left: 3px solid #CAD2CB; padding: 8px 16px; margin: 16px 0; font-style: italic; color: #333; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.filters select { font-size: 15px; padding: 8px 12px; min-height: 44px; }
.guide-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide-card { border-top: 2px solid #111; padding-top: 12px; }
/* Filtered-out cards and groups must leave layout and keyboard focus order:
   the hidden attribute has to beat the card/grid display rules above. */
.card[hidden], .guide-card[hidden], ul.guide-cards[hidden] { display: none; }
.see-also { font-size: 14px; color: #555; }
.search-form .filters { margin-top: 16px; }
.preview-banner { background: #111; color: #fff; text-align: center; font-size: 13px; padding: 8px 16px; }
.preview-banner a { color: #fff; text-decoration: underline; }
@media (max-width: 699px) {
  .planning { grid-template-columns: 1fr; }
  .filters select { width: 100%; }
}

/* Resources: calendar, toolkit, lifecycle (Oct 13 2026) */
.card-title { font-size: 22px; margin: 0 0 12px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.cal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 4px; }
.cal-tab { padding: 10px 16px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 15px; }
.cal-tab[aria-selected="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.cal-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 16px 0; }
.cal-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.cal-filters select { padding: 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.cal-check { flex-direction: row !important; align-items: center; gap: 6px !important; }
.cal-clear { padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; }
.cal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cal-item { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; background: #fff; }
.cal-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cal-when { font-weight: 700; margin: 0; }
.cal-line { margin: 6px 0; font-size: 15px; }
.cal-k { font-weight: 600; }
.cal-meta { font-size: 13px; color: var(--muted); }
.cal-sep { margin: 0 6px; }
.cal-panel[hidden] { display: none; }
.toolkit-component { border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin: 20px 0; background: #fff; }
.toolkit-field { margin: 10px 0; }
.toolkit-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.toolkit-field input, .toolkit-field select, .toolkit-field textarea { width: 100%; max-width: 560px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.toolkit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.toolkit-actions button { padding: 9px 16px; border: 1px solid var(--forest); background: var(--forest); color: #fff; border-radius: 6px; cursor: pointer; font-size: 14px; }
.toolkit-actions button[type="button"].secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.lifecycle-svg { max-width: 720px; width: 100%; height: auto; display: block; margin: 20px auto; }

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-family: Poppins, Arial, sans-serif; font-weight: 700; letter-spacing: 0.18em; font-size: 20px; color: #000; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-name { font-family: Poppins, Arial, sans-serif; font-weight: 700; letter-spacing: 0.18em; font-size: 17px; color: #000; white-space: nowrap; text-transform: uppercase; }
.brand-square { display: inline-block; width: 22px; height: 22px; background: #000; }
.brand-square-lg { width: 34px; height: 34px; }
.hero-title { font-size: 44px; letter-spacing: 0.12em; display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-sub { text-align: center; max-width: 640px; margin: 16px auto 0; }
.orientation { font-size: 18px; max-width: 720px; }
.draft-marker { display: inline-block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid #666; padding: 2px 8px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.deck-sm { font-size: 14px; color: #444; }
.guide-meta { font-size: 14px; color: #555; }
.card-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5B665F; margin-bottom: 8px; }
.ref-label { display: inline-block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid #CAD2CB; padding: 2px 8px; border-radius: 3px; color: #5B665F; }
.section-desc { font-size: 18px; max-width: 720px; }
.status-list { display: grid; grid-template-columns: 220px 1fr; gap: 8px 16px; margin: 0 0 24px; }
.status-list dt { font-weight: 500; }
.status-list dd { margin: 0; }
.alpha-nav p { font-size: 15px; }
.alpha-nav a { margin-right: 8px; }
.alpha-head { margin-top: 40px; border-bottom: 1px solid #CAD2CB; padding-bottom: 8px; }
table.ref-table { border-collapse: collapse; width: 100%; margin: 24px 0; font-size: 16px; }
table.ref-table caption { text-align: left; font-weight: 500; padding-bottom: 12px; }
table.ref-table th, table.ref-table td { border-top: 1px solid #CAD2CB; padding: 12px; text-align: left; vertical-align: top; }
table.ref-table th[scope="row"] { width: 220px; }
.table-scroll { overflow-x: auto; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-clear { justify-content: flex-end; }
@media (max-width: 699px) {
  .status-list { grid-template-columns: 1fr; }
  table.ref-table th[scope="row"] { width: auto; }
}
