:root {
  --ink: #172033;
  --muted: #5f6b7d;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --accent: #155e75;
  --accent-strong: #0f4c5c;
  --green: #2f7d68;
  --shadow: 0 18px 55px rgba(24, 37, 54, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 250px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--accent);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1.1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 120px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 41%, rgba(255, 255, 255, 0.56) 67%, rgba(255, 255, 255, 0.22) 100%);
}

.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 118px;
}

.hero-content > * {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.07rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.page-title {
  font-size: 3.7rem;
  line-height: 1.04;
}

.hero-copy {
  color: #334155;
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.trust-note {
  color: #46586b;
  font-size: 0.95rem;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-band,
.muted-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1160px) / 2));
  background: var(--soft);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.lead-stack {
  color: #3f4c5f;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.03);
}

.card::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--green);
}

.card p,
.steps p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
}

.text-link:hover {
  color: var(--accent-strong);
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-index-header {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.blog-index-header > div {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 46px;
}

.blog-index-header h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 3.1rem;
  line-height: 1.05;
}

.blog-index-header p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #3f4c5f;
  font-size: 1.12rem;
}

.blog-index-section {
  padding-top: 52px;
}

.about-page .about-header {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.about-page .about-header-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 44px;
}

.about-page .about-header h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 3.1rem;
  line-height: 1.05;
}

.about-page .about-header .large-copy {
  max-width: 820px;
  margin-bottom: 0;
  color: #3f4c5f;
  font-size: 1.14rem;
}

.about-page .about-nav {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.about-page .about-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: #3f4c5f;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.about-page .about-nav a:hover {
  border-color: #a9c2ca;
  color: var(--accent);
}

.about-page .about-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-page .about-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.about-page .about-copy {
  color: #3f4c5f;
  font-size: 1.04rem;
}

.about-page .about-copy p:last-child {
  margin-bottom: 0;
}

.about-page .about-scope-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .about-scope-grid .card {
  min-height: 0;
}

.about-page .about-tool-card {
  display: flex;
  flex-direction: column;
}

.about-page .about-tool-card .text-link {
  margin-top: auto;
  padding-top: 12px;
}

.about-page .about-founder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.03);
  color: #3f4c5f;
  font-size: 1.04rem;
}

.about-page .about-founder-card p:last-child {
  margin-bottom: 0;
}

.about-page .about-founder-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(21, 94, 117, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.about-page .about-founder-link:hover {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

.about-page .about-safeguards {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-page .about-safeguards li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-page .about-safeguards span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 125, 104, 0.1);
  color: var(--green);
  font-weight: 850;
}

.about-page .about-safeguards h3 {
  margin-bottom: 5px;
}

.about-page .about-safeguards p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-page .about-fit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-page .about-fit .large-copy {
  margin-bottom: 24px;
}

.about-page .about-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-page .about-fit-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-page .about-fit-box h3 {
  margin-bottom: 8px;
}

.about-page .about-fit-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.03);
}

.contact-bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-message {
  margin-bottom: 16px;
  border: 1px solid #d6e3e2;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #f7fbfa;
  color: #2f4e47;
  font-weight: 750;
}

.contact-message-error {
  border-color: rgba(190, 78, 78, 0.36);
  background: #fff5f5;
  color: #8d3030;
}

.contact-message-ok {
  border-color: rgba(47, 125, 104, 0.28);
  background: #f2fbf7;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.pricing-page {
  background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 42%);
}

.pricing-header {
  border-bottom: 1px solid var(--line);
  background: #f5f8fa;
}

.pricing-header > div {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 46px;
}

.pricing-header h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 3.35rem;
  line-height: 1.04;
}

.pricing-header p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: #3f4c5f;
  font-size: 1.14rem;
}

.pricing-section {
  padding-top: 58px;
}

.pricing-section .section-heading p:not(.eyebrow),
.pricing-faq-section .section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

.public-pricing-grid {
  padding: 0;
}

.public-pricing-grid .credit-product-card {
  min-height: 300px;
  align-content: space-between;
  background: #fff;
}

.public-pricing-grid .credit-product-card h3 {
  margin: 8px 0 10px;
  font-size: 1.22rem;
}

.pricing-message {
  margin-bottom: 18px;
  border: 1px solid #d6e3e2;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f7fbfa;
  color: #2f4e47;
  font-weight: 750;
}

.pricing-message-error {
  border-color: rgba(190, 78, 78, 0.36);
  background: #fff5f5;
  color: #8d3030;
}

.pricing-note {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fbfdfd;
}

.pricing-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.pricing-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.03);
}

.blog-card h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-card time,
.blog-meta {
  color: #6a7787;
  font-size: 0.86rem;
  font-weight: 750;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.blog-tags.compact {
  justify-content: flex-end;
  margin-top: 10px;
}

.blog-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e3e2;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f7fbfa;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.blog-article {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 92px;
}

.blog-article-header {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.blog-excerpt {
  color: #334155;
  font-size: 1.18rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.blog-content {
  color: #243349;
  font-size: 1.05rem;
}

.blog-content h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.blog-content h3 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.blog-content a,
.blog-sources a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-content blockquote {
  margin: 28px 0;
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 18px;
  color: #405166;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.94rem;
}

.blog-content th,
.blog-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.blog-content th {
  background: #f5f8fa;
}

.blog-content figure,
.blog-body-editor figure {
  margin: 30px 0;
}

.blog-content img,
.blog-body-editor img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-content figcaption,
.blog-body-editor figcaption {
  margin-top: 8px;
  color: #647386;
  font-size: 0.9rem;
  font-weight: 650;
}

.blog-sources {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.blog-sources h2 {
  font-size: 1.45rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #e6f2f1;
  color: var(--accent-strong);
  font-weight: 800;
}

.use-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.use-list div {
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344256;
  font-weight: 650;
}

.differentiation {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.large-copy {
  color: #344256;
  font-size: 1.35rem;
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-hint {
  color: #6a7787;
  font-size: 0.78rem;
  font-weight: 700;
}

label {
  color: #27364b;
  font-size: 0.92rem;
  font-weight: 700;
}

.optional-label {
  color: #7a8797;
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd7df;
  border-radius: 8px;
  padding: 11px 13px;
  background: #fbfdfd;
  color: var(--ink);
  font: inherit;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 125, 104, 0.28);
  outline-offset: 3px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aebdc6;
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 750;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 42px;
  border-top: 1px solid var(--line);
}

.footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.footer p {
  margin-bottom: 0;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 820px;
  font-size: 0.9rem;
}

.questionnaire-page {
  background: linear-gradient(180deg, #f3f7f8 0%, #f8fafb 44%, #ffffff 100%);
}

.questionnaire-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 76px;
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.private-beta-main {
  width: min(920px, calc(100% - 40px));
  min-height: min(560px, calc(100svh - 180px));
  margin: 0 auto;
  padding: 64px 0 88px;
  display: grid;
  place-items: center;
}

.private-beta-card {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(24, 37, 54, 0.09);
  text-align: center;
}

.private-beta-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.private-beta-card-content {
  max-width: 650px;
  margin: 0 auto;
  padding: 42px 44px 46px;
}

.private-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  border: 1px solid #cfe2df;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f4faf8;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.private-beta-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.private-beta-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.private-beta-card p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto;
  color: #536174;
  font-size: 1.08rem;
  line-height: 1.6;
}

.private-beta-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.private-beta-actions .button-secondary {
  border-color: var(--line);
  background: #fff;
}

.questionnaire-sidebar,
.questionnaire-workspace {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 70px rgba(24, 37, 54, 0.09);
}

.questionnaire-sidebar {
  position: sticky;
  top: 94px;
  overflow: hidden;
  background: #fbfdfd;
}

.sidebar-status {
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.sidebar-status h1 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.05;
}

.sidebar-status p:not(.eyebrow),
.step-heading p,
.summary-empty {
  color: var(--muted);
}

.sidebar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sidebar-badges span,
.status-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e3e2;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f7fbfa;
  color: #405166;
  font-size: 0.78rem;
  font-weight: 800;
}

.progress-panel {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid #d8e4e8;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbfb, #ffffff);
}

.progress-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #35465a;
  font-size: 0.9rem;
}

.progress-track {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8eb;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 180ms ease;
}

.progress-panel small {
  display: block;
  margin-top: 10px;
  color: #6b7b8f;
  font-size: 0.78rem;
  font-weight: 750;
}

.progress-panel small:not(:empty) {
  min-height: 1em;
}

.questionnaire-steps {
  margin: 0;
  padding: 14px;
  display: grid;
  gap: 7px;
  list-style: none;
}

.step-tab {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 12px 10px 10px;
  background: transparent;
  color: #445368;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.step-tab:hover,
.step-tab.is-active {
  background: #eef6f5;
  color: var(--accent-strong);
}

.step-tab.is-active {
  border-color: #cfe2df;
}

.step-tab::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid #aebdc5;
  border-radius: 999px;
  background: #fff;
}

.step-tab.is-active::before {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.13);
}

.step-tab.is-complete::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 104, 0.12);
}

.step-tab.is-incomplete::before {
  border-color: #d9952f;
  background: #f5b45b;
  box-shadow: 0 0 0 3px rgba(217, 149, 47, 0.16);
}

.step-tab.is-empty::before {
  border-color: #b9c8d0;
  background: #fff;
}

.step-tab.is-active.is-complete::before,
.step-tab.is-active.is-incomplete::before,
.step-tab.is-active.is-empty::before {
  box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.13);
}

.step-tab::after {
  content: attr(data-step-note);
  margin-left: auto;
  color: #946015;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.step-tab[data-step-note=""]::after {
  content: none;
}

.questionnaire-workspace {
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.auth-page .questionnaire-workspace {
  overflow: visible;
}

.field.is-required-missing input,
.field.is-required-missing select,
.field.is-required-missing textarea {
  border-color: #e0a24a;
  box-shadow: 0 0 0 3px rgba(224, 162, 74, 0.16);
}

.field.is-required-missing label::after,
.choice-group.is-required-missing legend::after {
  content: "Required";
  display: inline-block;
  margin-left: 8px;
  color: #946015;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.choice-group.is-required-missing .choice-card {
  border-color: #e0a24a;
  background: #fffaf1;
}

.workspace-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.workspace-topline h2 {
  margin-bottom: 10px;
  font-size: 2.35rem;
}

.workspace-subtitle {
  max-width: 720px;
  margin-bottom: 0;
  color: #536174;
}

.workspace-status {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.autosave-state {
  min-width: 104px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1dde4;
  border-radius: var(--radius);
  padding: 6px 10px;
  color: #405166;
  background: #f8fbfb;
  font-size: 0.86rem;
  font-weight: 750;
}

.workspace-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metric-card {
  padding: 18px 24px;
  background: #fbfdfd;
}

.metric-card span {
  display: block;
  margin-bottom: 4px;
  color: #6a7787;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  color: #26364a;
  font-size: 0.96rem;
}

.form-step {
  display: none;
  padding: 32px;
}

.form-step.is-active {
  display: block;
}

.step-heading {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e6edf1;
}

.step-heading > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: #142338;
  color: #fff;
  font-weight: 800;
}

.step-heading h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.question-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.question-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-group {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 12px;
  color: #27364b;
  font-size: 0.92rem;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.choice-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d5e0e6;
  border-radius: var(--radius);
  padding: 13px;
  background: linear-gradient(180deg, #ffffff, #fbfdfd);
  color: #2f3d50;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.choice-card:hover {
  border-color: #9fb8bf;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 37, 54, 0.07);
}

.choice-card.is-selected {
  border-color: var(--green);
  background: #eef8f5;
  box-shadow: inset 0 0 0 1px rgba(47, 125, 104, 0.22), 0 8px 22px rgba(47, 125, 104, 0.08);
}

.choice-card input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--green);
}

.questionnaire-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.action-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.summary-panel {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfd;
  box-shadow: 0 14px 40px rgba(24, 37, 54, 0.06);
}

.action-credit-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.action-credit-status div {
  padding: 14px 16px;
  background: #fbfdfd;
}

.action-credit-status span {
  display: block;
  margin-bottom: 5px;
  color: #6a7787;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.action-credit-status strong {
  color: var(--accent-strong);
  font-size: 1.45rem;
  line-height: 1;
}

.action-credit-status p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  background: #fffaf1;
  color: #946015;
  font-size: 0.9rem;
  font-weight: 700;
}

.action-credit-status.is-warning {
  border-color: #e0a24a;
  background: #e0a24a;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.summary-header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.summary-header strong {
  flex: 0 0 auto;
  color: var(--green);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.summary-grid section {
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdfd);
}

.summary-grid h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.summary-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-grid li {
  display: grid;
  gap: 2px;
}

.summary-grid strong {
  color: #28364a;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.summary-grid span {
  color: #4a586b;
}

.summary-empty {
  margin: 0;
  padding: 20px;
}

.generation-access {
  max-width: 420px;
  margin-bottom: 28px;
}

.generation-panel {
  margin-top: 18px;
  border: 1px solid #1f3448;
  border-radius: var(--radius);
  background: #0e1826;
  color: #e8f0f4;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(14, 24, 38, 0.22);
}

.generation-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #132236;
}

.generation-panel-header h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.2rem;
}

.generation-panel-header p:not(.eyebrow) {
  max-width: 620px;
  margin: 6px 0 0;
  color: #b5c2ce;
  font-size: 0.92rem;
}

.generation-panel-header .eyebrow {
  color: #8cc7b8;
}

.generation-job {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(140, 199, 184, 0.34);
  border-radius: var(--radius);
  padding: 6px 10px;
  color: #dff7ef;
  background: rgba(47, 125, 104, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.generation-body {
  padding: 20px;
}

.generation-state {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(140, 199, 184, 0.26);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.generation-state strong {
  color: #fff;
}

.generation-state span {
  color: #c5d0da;
}

.generation-loading-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  max-width: 100%;
}

.generation-loading-message {
  min-width: 0;
}

.generation-loading-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid rgba(197, 208, 218, 0.34);
  border-top-color: #8cc7b8;
  border-radius: 999px;
  animation: generationSpin 0.85s linear infinite;
}

.generation-loading-dots {
  display: inline-block;
  width: 1.35em;
  overflow: hidden;
  vertical-align: bottom;
}

.generation-loading-dots::after {
  content: "...";
  display: inline-block;
  animation: generationDots 1.15s steps(4, end) infinite;
}

@keyframes generationSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes generationDots {
  from {
    width: 0;
  }

  to {
    width: 1.35em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .generation-loading-spinner,
  .generation-loading-dots::after {
    animation: none;
  }
}

.generation-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.generation-state-error {
  border-color: rgba(220, 84, 84, 0.42);
  background: rgba(120, 32, 32, 0.18);
}

.generation-downloads {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.generation-downloads li {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.generation-downloads div {
  display: grid;
  gap: 3px;
}

.generation-downloads strong {
  color: #fff;
}

.generation-downloads span {
  color: #9eb1c1;
  font-size: 0.78rem;
  font-weight: 800;
}

.generation-archive {
  width: fit-content;
  margin-top: 14px;
}

.generation-warnings {
  margin-top: 18px;
  border: 1px solid rgba(246, 197, 93, 0.34);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(246, 197, 93, 0.1);
}

.generation-warnings strong {
  display: block;
  margin-bottom: 8px;
  color: #ffe6a8;
}

.generation-warnings ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #f4e7c8;
}

.generation-debug {
  margin-top: 18px;
  border: 1px solid rgba(181, 194, 206, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.generation-debug-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.generation-debug-header strong {
  color: #fff;
}

.generation-debug-header span {
  color: #9eb1c1;
  font-size: 0.84rem;
}

.generation-debug ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.generation-debug li {
  display: grid;
  grid-template-columns: 78px 190px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 16px;
  color: #c5d0da;
  background: rgba(255, 255, 255, 0.025);
}

.generation-debug li span {
  color: #8ea0ae;
  font: 0.78rem/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.generation-debug li strong {
  color: #e8f0f4;
  font-size: 0.88rem;
}

.generation-debug li em {
  color: #b5c2ce;
  font-style: normal;
}

.generation-debug-ok strong::before,
.generation-debug-warn strong::before,
.generation-debug-fail strong::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  background: #8cc7b8;
}

.generation-debug-warn strong::before {
  background: #f6c55d;
}

.generation-debug-fail strong::before {
  background: #dc5454;
}

.gap-shell {
  width: min(1440px, calc(100% - 40px));
  padding: 30px 0 76px;
}

.gap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.gap-hero > div:first-child,
.gap-hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 55px rgba(24, 37, 54, 0.08);
}

.gap-hero > div:first-child {
  padding: 34px;
}

.gap-hero h1 {
  margin-bottom: 14px;
  font-size: 3.2rem;
}

.gap-hero p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: #4b5a6d;
  font-size: 1.08rem;
}

.gap-hero-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background: #fbfdfd;
}

.gap-hero-panel span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid #d6e3e2;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #314256;
  background: #fff;
  font-weight: 800;
}

.gap-workspace {
  display: grid;
  gap: 0;
}

.gap-config {
  padding: 32px;
  background: #fff;
}

.gap-config + .gap-config {
  border-top: 1px solid var(--line);
}

.gap-config .step-heading h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.taxonomy-choice .choice-card {
  position: relative;
  align-items: flex-start;
}

.taxonomy-choice .choice-card > .choice-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-right: 34px;
}

.taxonomy-choice .choice-card strong {
  color: #26364a;
}

.taxonomy-choice .choice-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.taxonomy-choice .info-trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 1px solid #b8cbd2;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: #fff;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  cursor: help;
}

.taxonomy-choice .info-trigger:hover,
.taxonomy-choice .info-trigger:focus-visible {
  border-color: var(--accent);
  background: #eef8f5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 125, 104, 0.16);
}

.taxonomy-choice .info-trigger::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 72vw);
  border: 1px solid #bfd3d7;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #f7fbfa;
  color: #2f3d50;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 16px 36px rgba(24, 37, 54, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.taxonomy-choice .info-trigger:hover::after,
.taxonomy-choice .info-trigger:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.upload-zone {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 10px;
  border: 1px dashed #9fb8bf;
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, #fbfdfd, #ffffff);
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.upload-zone:hover,
.upload-zone.has-file {
  border-color: var(--green);
  background: #f4fbf8;
  box-shadow: inset 0 0 0 1px rgba(47, 125, 104, 0.12);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-zone strong {
  display: block;
  margin-bottom: 4px;
  color: #26364a;
  font-size: 1.08rem;
}

.upload-zone span {
  color: var(--muted);
}

.gap-access {
  margin-top: 20px;
}

.gap-actions {
  margin-top: 0;
}

.questionnaire-actions.gap-actions {
  justify-content: space-between;
  padding: 18px 32px;
}

.gap-result-panel {
  margin: 0 32px 32px;
}

.gap-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.gap-scoreboard div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.gap-scoreboard span {
  display: block;
  margin-bottom: 5px;
  color: #9eb1c1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gap-scoreboard strong {
  color: #fff;
  font-size: 1.24rem;
}

.gap-insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.1fr);
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  color: #25364a;
}

.gap-result-panel .gap-insight-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #dce7ee;
}

.gap-insight-copy h4 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.gap-result-panel .gap-insight-copy h4 {
  color: #fff;
}

.gap-insight-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gap-result-panel .gap-insight-copy p {
  color: #c5d0da;
}

.gap-insight-kicker {
  display: block;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gap-result-panel .gap-insight-kicker {
  color: #9fd1c5;
}

.gap-insight-visual {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.gap-severity-donut,
.history-gap-donut {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gap-donut, conic-gradient(#dbe5eb 0deg 360deg));
}

.gap-severity-donut {
  width: 150px;
  height: 150px;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.06);
}

.gap-severity-donut::after,
.history-gap-donut::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  background: #fff;
}

.gap-result-panel .gap-severity-donut::after {
  background: #182638;
}

.gap-severity-donut::after {
  inset: 28px;
}

.gap-severity-donut span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  line-height: 1.1;
}

.gap-result-panel .gap-severity-donut span {
  color: #fff;
}

.gap-severity-donut strong {
  color: inherit;
  font-size: 1.65rem;
}

.gap-severity-donut em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.gap-result-panel .gap-severity-donut em {
  color: #9eb1c1;
}

.gap-severity-legend {
  display: grid;
  gap: 7px;
}

.gap-severity-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 34px 42px;
  gap: 8px;
  align-items: center;
  color: #405166;
  font-size: 0.84rem;
}

.gap-result-panel .gap-severity-row {
  color: #c5d0da;
}

.gap-severity-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gap-severity-row i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.gap-severity-row strong {
  color: var(--ink);
  text-align: right;
}

.gap-result-panel .gap-severity-row strong {
  color: #fff;
}

.gap-severity-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.gap-result-panel .gap-severity-row em {
  color: #9eb1c1;
}

.gap-urgency-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  background: #dbe5eb;
}

.gap-result-panel .gap-urgency-strip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.gap-urgency-strip div {
  padding: 10px 12px;
  background: #f7fafb;
}

.gap-result-panel .gap-urgency-strip div {
  background: rgba(255, 255, 255, 0.04);
}

.gap-urgency-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gap-result-panel .gap-urgency-strip span {
  color: #9eb1c1;
}

.gap-urgency-strip strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.gap-result-panel .gap-urgency-strip strong {
  color: #fff;
}

.gap-summary-block,
.gap-list-block {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.gap-summary-block h3,
.gap-list-block h3 {
  color: #fff;
}

.gap-summary-block p,
.gap-list-block li {
  color: #c5d0da;
}

.gap-methodology {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.94rem;
}

.gap-table-wrap {
  max-width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.gap-coverage-matrix {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.gap-coverage-matrix summary {
  padding: 16px 18px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gap-coverage-matrix .gap-table-wrap {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.gap-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  color: #dce7ee;
  font-size: 0.88rem;
}

.gap-table th,
.gap-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  vertical-align: top;
  text-align: left;
}

.gap-table th {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.gap-table td {
  background: rgba(255, 255, 255, 0.035);
}

.gap-table td strong,
.gap-table td span {
  display: block;
}

.gap-table td span {
  margin-top: 5px;
  color: #9eb1c1;
  font-size: 0.8rem;
}

.severity-pill {
  min-width: 82px;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  color: #102033;
  background: #c8d8df;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.gap-table .severity-pill {
  color: #111827;
  font-weight: 900;
}

.severity-1 {
  background: #a9d8c8;
}

.severity-2 {
  background: #d8d59c;
}

.severity-3 {
  background: #f1c36c;
}

.severity-4 {
  background: #ee956f;
}

.severity-5 {
  background: #e36f6f;
}

.gap-list-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.gap-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

[hidden] {
  display: none !important;
}

.auth-shell {
  width: min(1440px, calc(100% - 40px));
}

.auth-message {
  margin: 24px 32px 0;
  border: 1px solid #d6e3e2;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f7fbfa;
  color: #2f4e47;
  font-weight: 700;
}

.auth-message-error {
  border-color: rgba(190, 78, 78, 0.36);
  background: #fff5f5;
  color: #8d3030;
}

.auth-message-ok {
  border-color: rgba(47, 125, 104, 0.28);
  background: #f2fbf7;
}

.auth-form {
  display: none;
  padding: 32px;
}

.auth-form.is-active {
  display: block;
}

.auth-bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-note {
  margin: 8px 0 0;
  padding: 16px;
}

.auth-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.auth-inline-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: -6px;
  margin-bottom: 6px;
}

.auth-inline-switch .text-link {
  margin-top: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.auth-actions-bar {
  position: static;
  margin: 28px -32px -32px;
}

.auth-account {
  padding: 32px;
}

.account-section {
  display: block;
}

.account-section[hidden] {
  display: none;
}

.account-action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
}

.account-action-grid .button {
  flex: 1 1 180px;
}

.auth-credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-credit-grid div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 18px;
  background: #fbfdfd;
}

.auth-credit-grid span {
  color: #6a7787;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-credit-grid strong {
  color: var(--accent-strong);
  font-size: 2rem;
  line-height: 1;
}

.credit-products-panel,
.admin-credit-panel,
.admin-pricing-panel,
.admin-taxonomies-panel,
.admin-tracker-panel {
  margin-top: 4px;
}

.auth-credit-grid + .credit-products-panel {
  margin-top: 14px;
}

.credit-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.credit-product-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 18px;
  background: #fbfdfd;
}

.credit-product-card span,
.credit-product-footer small {
  color: #6a7787;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.credit-product-card h4 {
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.credit-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.credit-product-footer {
  display: grid;
  gap: 8px;
}

.credit-product-footer strong {
  color: var(--accent-strong);
  font-size: 1.45rem;
  line-height: 1;
}

.admin-credit-form {
  padding: 20px;
}

.admin-pricing-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.admin-pricing-item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.admin-pricing-main span {
  display: block;
  color: #6a7787;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-pricing-main h4 {
  margin: 5px 0 5px;
  font-size: 1.03rem;
}

.admin-pricing-main p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-pricing-fields {
  gap: 12px;
}

.taxonomy-library-panel,
.taxonomy-editor-panel {
  margin-top: 14px;
}

.taxonomy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.taxonomy-list-item {
  min-width: 0;
  display: grid;
  gap: 6px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.taxonomy-list-item:hover,
.taxonomy-list-item.is-active {
  border-color: #a9c2ca;
  background: #f6fafb;
}

.taxonomy-list-item span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.taxonomy-list-item strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
}

.taxonomy-list-item small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.taxonomy-editor-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

.taxonomy-outline {
  min-width: 0;
  align-self: start;
  max-height: 720px;
  overflow: auto;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fbfdfd;
}

.taxonomy-outline h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.95rem;
}

.taxonomy-outline-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dbe5eb;
  padding-bottom: 12px;
}

.taxonomy-outline-summary strong {
  overflow-wrap: anywhere;
  color: var(--accent-strong);
}

.taxonomy-outline-summary span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.taxonomy-outline details {
  border-top: 1px solid #e5edf1;
  padding: 10px 0;
}

.taxonomy-outline details:first-of-type {
  border-top: 0;
}

.taxonomy-outline summary {
  color: #314256;
  font-weight: 850;
  cursor: pointer;
}

.taxonomy-outline ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}

.taxonomy-outline li {
  color: var(--muted);
  font-size: 0.86rem;
}

.taxonomy-outline-link {
  width: 100%;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 5px 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.taxonomy-outline-link:hover,
.taxonomy-outline-link:focus-visible {
  background: #eef6f5;
  outline: none;
}

.taxonomy-outline-link span,
.taxonomy-outline-more span {
  color: var(--accent-strong);
  font-weight: 850;
}

.taxonomy-outline-link strong {
  min-width: 0;
  color: var(--muted);
  font-weight: 750;
}

.taxonomy-outline-more {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 6px;
}

.taxonomy-editor-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.taxonomy-editor-main textarea {
  min-height: 560px;
  resize: vertical;
  overflow: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  tab-size: 2;
  white-space: pre;
}

.taxonomy-editor-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.taxonomy-editor-meta strong {
  color: #8a5a10;
}

.taxonomy-save-warning {
  padding: 14px 16px;
  background: #fffaf0;
}

.taxonomy-save-warning p {
  margin: 0;
  color: #725018;
  font-size: 0.9rem;
}

.taxonomy-editor-actions {
  position: static;
  justify-content: flex-end;
  margin: 0 -20px -20px;
}

.blog-editor-panel,
.blog-list-panel {
  margin-top: 14px;
}

.blog-admin-form {
  padding: 20px;
}

.blog-editor-field {
  margin-bottom: 0;
  position: relative;
}

.blog-editor-frame {
  position: relative;
  overflow: visible;
}

.blog-editor-toolbar {
  position: sticky;
  top: 92px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px;
  background: #f6fafb;
}

.blog-editor-toolbar button {
  min-height: 34px;
  border: 1px solid #d6e2e8;
  border-radius: var(--radius);
  padding: 6px 10px;
  background: #fff;
  color: #405166;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.blog-editor-toolbar button:hover {
  border-color: #a9c2ca;
  color: var(--accent-strong);
}

.blog-body-editor {
  position: relative;
  min-height: 460px;
  border: 2px solid #c7d7df;
  border-top: 1px solid #dbe5eb;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(23, 32, 51, 0.03);
}

.blog-body-editor:focus {
  border-color: #9db9c4;
  box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.12);
}

.blog-body-editor:empty::before {
  content: attr(data-placeholder);
  color: #7a8797;
  pointer-events: none;
}

.blog-body-editor h2 {
  font-size: 1.6rem;
}

.blog-body-editor h3 {
  font-size: 1.25rem;
}

.blog-body-editor table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  font-size: 0.95rem;
}

.blog-body-editor th,
.blog-body-editor td {
  min-width: 88px;
  border: 1px solid #b9cbd5;
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.blog-body-editor th {
  background: #f1f6f7;
  color: var(--ink);
  font-weight: 850;
}

.blog-body-editor a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-editor-actions {
  position: static;
  margin: 20px -20px -20px;
}

.blog-admin-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.contact-message-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.tracker-admin-library,
.tracker-admin-editor {
  margin-top: 14px;
}

.tracker-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(170px, 0.8fr) minmax(160px, 0.7fr);
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfd;
}

.tracker-admin-toolbar label {
  display: grid;
  gap: 6px;
  color: #56667a;
  font-size: 0.78rem;
  font-weight: 800;
}

.tracker-admin-toolbar input,
.tracker-admin-toolbar select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c7d7df;
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.tracker-admin-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.tracker-admin-item {
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.tracker-admin-item.is-hidden {
  border-color: #e4c8c8;
  background: #fffafa;
}

.tracker-admin-item-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tracker-admin-item-main > div:first-child {
  min-width: 0;
}

.tracker-admin-item h4 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.35;
}

.tracker-admin-item p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.tracker-admin-item .text-link {
  margin-top: 8px;
  font-size: 0.86rem;
}

.tracker-admin-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tracker-admin-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.71rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tracker-admin-lane {
  background: #eef6f5;
  color: var(--accent-strong);
}

.tracker-admin-lane.lane-human_review {
  background: #fff8e8;
  color: #94600f;
}

.tracker-admin-lane.lane-internal_reference,
.tracker-admin-lane.lane-suppress {
  background: #f0f3f5;
  color: #617080;
}

.tracker-admin-visibility.visibility-visible {
  background: #eaf4f7;
  color: #155e75;
}

.tracker-admin-visibility.visibility-hidden {
  background: #fff0f0;
  color: #9b3636;
}

.tracker-admin-visibility.visibility-auto,
.tracker-admin-current {
  background: #f4f6f8;
  color: #627080;
}

.tracker-admin-edited {
  background: #f2effa;
  color: #65528f;
}

.tracker-admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.tracker-admin-pagination > div {
  display: flex;
  gap: 8px;
}

.tracker-admin-editor {
  padding: 20px;
}

.tracker-admin-editor .summary-header {
  margin-bottom: 18px;
}

.tracker-admin-editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: -5px 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.tracker-admin-edit-form {
  display: grid;
  gap: 16px;
}

.tracker-admin-edit-form textarea {
  min-height: 118px;
  resize: vertical;
}

.tracker-admin-source-data {
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 13px 15px;
  background: #fbfdfd;
  color: #56667a;
  font-size: 0.86rem;
  line-height: 1.65;
}

.tracker-admin-warning {
  margin: 0;
  border-left: 4px solid #c1841c;
  padding: 10px 13px;
  background: #fffaf0;
  color: #71501a;
  font-size: 0.88rem;
}

.tracker-admin-evidence {
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
}

.tracker-admin-evidence summary {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.tracker-admin-evidence pre {
  max-height: 360px;
  overflow: auto;
  margin: 14px 0 0;
  border-top: 1px solid #e4edf1;
  padding-top: 14px;
  color: #415164;
  font: 0.78rem/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.tracker-admin-editor-actions {
  position: static;
  justify-content: space-between;
  margin: 4px -20px -20px;
}

.tracker-admin-source-link {
  margin: 16px 0 0;
}

.blog-admin-item,
.contact-message-item {
  display: grid;
  gap: 12px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.contact-message-item.is-new {
  border-color: #b8d1d7;
  background: #fbfdfd;
}

.blog-admin-item-main,
.contact-message-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.blog-admin-item h4,
.contact-message-item h4 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
}

.blog-admin-item p,
.contact-message-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-message-main p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.contact-message-main .text-link {
  margin-top: 0;
}

.contact-message-main p span {
  color: #6a7787;
  font-weight: 750;
}

.contact-message-body {
  white-space: pre-wrap;
  color: #314256 !important;
}

.beta-access-registration-field {
  border: 1px solid #cfe0e4;
  border-radius: var(--radius);
  padding: 18px;
  background: #f8fbfb;
}

.beta-access-registration-field .field-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.beta-access-request-link {
  margin-top: 0;
  font-size: inherit;
}

.beta-access-generator-panel .summary-header p,
.beta-access-library-panel .summary-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.beta-access-admin-form {
  padding: 22px;
}

.beta-access-admin-form .question-grid {
  margin-bottom: 20px;
}

.beta-access-generated {
  margin: 0 22px 22px;
  border: 1px solid #b8d9d1;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f2fbf7;
}

.beta-access-generated[hidden] {
  display: none;
}

.beta-access-generated span,
.beta-access-generated code,
.beta-access-generated small {
  display: block;
}

.beta-access-generated span {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.beta-access-generated code {
  margin-bottom: 5px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.beta-access-generated small,
.beta-access-table small {
  color: var(--muted);
}

.beta-access-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.beta-access-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  text-align: left;
}

.beta-access-table th,
.beta-access-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.beta-access-table th {
  background: #f5f8fa;
  color: #405166;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beta-access-table tbody tr:last-child td {
  border-bottom: 0;
}

.beta-access-table td {
  color: #344256;
  font-size: 0.88rem;
}

.beta-access-table td > code,
.beta-access-table td > strong,
.beta-access-table td > span,
.beta-access-table td > small {
  display: block;
}

.beta-access-table td > code {
  color: var(--ink);
  font-weight: 800;
}

.beta-access-status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef6f5;
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 850;
  text-transform: uppercase;
}

.beta-access-status.is-activated {
  background: #e8f6ef;
  color: #22634f;
}

.beta-access-status.is-claimed {
  background: #fff8e8;
  color: #946000;
}

.beta-access-status.is-expired,
.beta-access-status.is-revoked {
  background: #f1f3f5;
  color: #667384;
}

.beta-access-empty {
  color: #7a8797;
}

@media (max-width: 620px) {
  .beta-access-generated {
    align-items: stretch;
    flex-direction: column;
  }

  .beta-access-generated .button {
    width: 100%;
  }
}

.blog-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef6f5;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.button-compact {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.account-history-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.history-filter {
  min-height: 34px;
  border: 1px solid #d6e2e8;
  border-radius: var(--radius);
  padding: 7px 11px;
  background: #fbfdfd;
  color: #405166;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}

.history-filter:hover,
.history-filter.is-active {
  border-color: #b8d1d7;
  background: #eef6f5;
  color: var(--accent-strong);
}

.account-history-list {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.history-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e5edf1;
  padding-top: 16px;
}

.history-pagination p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.history-page-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.history-page-button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid #d6e2e8;
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #fff;
  color: #405166;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.history-page-button:hover,
.history-page-button.is-active {
  border-color: #b8d1d7;
  background: #eef6f5;
  color: var(--accent-strong);
}

.history-page-button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.history-page-ellipsis {
  min-width: 22px;
  color: #6a7787;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.history-item {
  min-width: 0;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.history-item.is-selected {
  border-color: #94b9c3;
  box-shadow: inset 4px 0 0 var(--accent);
}

.history-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.history-type {
  display: block;
  margin-bottom: 5px;
  color: #6a7787;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.history-item h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.history-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.history-gap-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 10px;
  background: #fbfdfd;
}

.history-gap-donut {
  width: 38px;
  height: 38px;
}

.history-gap-donut::after {
  inset: 9px;
}

.history-gap-donut span {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.history-gap-stats strong,
.history-gap-stats span {
  display: block;
}

.history-gap-stats strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.history-gap-stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.history-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
  color: #6a7787;
  font-size: 0.82rem;
  font-weight: 700;
}

.history-status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eaf2f5;
  color: #405166;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.history-status.is-complete {
  background: #eaf7f2;
  color: #236c59;
}

.history-status.is-failed {
  background: #fff1ec;
  color: #a64225;
}

.history-status.is-running {
  background: #eef4ff;
  color: #315b95;
}

.history-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.history-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.history-view-button {
  justify-self: start;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 103, 121, 0.16);
}

.history-view-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.history-file-link,
.history-file-empty {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d5e0e6;
  border-radius: var(--radius);
  padding: 7px 10px;
  color: #25364a;
  background: #fbfdfd;
  font-size: 0.84rem;
  font-weight: 750;
}

.history-file-link:hover {
  border-color: #a9c2ca;
  background: #fff;
}

.history-file-link span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
}

.history-file-empty {
  color: #6a7787;
}

.history-warning,
.history-error {
  margin-top: 10px !important;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.history-warning {
  background: #fff8e8;
  color: #7a5522 !important;
}

.history-error {
  background: #fff1ec;
  color: #9d3d22 !important;
}

.account-result-viewer {
  min-width: 0;
  background: #fbfdfd;
}

.result-workspace-shell {
  padding: 22px;
}

.result-workspace-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin: -22px -22px 22px;
  padding: 16px 22px;
  background: #fff;
}

.result-back-button {
  flex: 0 0 auto;
  border-color: #b8d1d7;
  background: #eef6f5;
  color: var(--accent-strong);
  font-weight: 850;
}

.result-back-button:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent-strong);
}

.result-viewer-empty {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px dashed #c8d8df;
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  color: var(--muted);
}

.result-viewer-empty span {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.result-viewer-empty h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.result-viewer-empty p {
  max-width: 480px;
  margin: 0;
  line-height: 1.7;
}

.result-viewer-error {
  border-color: #f0b8a5;
  background: #fff8f5;
}

.result-viewer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.result-viewer-header h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.2rem;
}

.result-viewer-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.result-viewer-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.result-viewer-warning {
  margin: 14px 0 0;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff8e8;
  color: #7a5522;
  font-size: 0.9rem;
  line-height: 1.55;
}

.result-document-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 12px;
  background: #fff;
}

.result-document-tab {
  flex: 0 0 auto;
  max-width: 220px;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid #d6e2e8;
  border-radius: var(--radius);
  padding: 7px 11px;
  background: #fff;
  color: #405166;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.result-document-tab:hover,
.result-document-tab.is-active {
  border-color: #a9c2ca;
  background: #eef6f5;
  color: var(--accent-strong);
}

.result-document-view {
  min-width: 0;
  margin-top: 18px;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.result-document-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.result-document-title h5,
.result-document-empty h5 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 1rem;
}

.result-document-title p,
.result-document-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.result-preview-content {
  overflow: visible;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  color: #25364a;
  line-height: 1.72;
}

.result-preview-content h3,
.result-preview-content h4,
.result-preview-content h5 {
  margin: 22px 0 10px;
  color: var(--ink);
  line-height: 1.3;
}

.result-preview-content h3:first-child,
.result-preview-content h4:first-child,
.result-preview-content h5:first-child,
.result-preview-content p:first-child {
  margin-top: 0;
}

.result-preview-content p,
.result-preview-content ul {
  margin: 0 0 13px;
}

.result-preview-content ul {
  padding-left: 20px;
}

.result-preview-content code {
  border-radius: 5px;
  padding: 2px 5px;
  background: #eef3f5;
  color: #25364a;
}

.result-preview-content pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-table-scroll {
  margin: 16px 0;
}

.result-table-scroll.is-wide {
  overflow-x: auto;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius);
  background: #fff;
}

.result-table-scroll.is-compact {
  overflow-x: visible;
}

.result-table-hint {
  position: sticky;
  left: 0;
  border-bottom: 1px solid #dbe5eb;
  padding: 8px 12px;
  background: #fbfdfd;
  color: #66768a;
  font-size: 0.78rem;
  font-weight: 750;
}

.result-table-warning {
  position: sticky;
  left: 0;
  border-bottom: 1px solid #eed5a8;
  padding: 9px 12px;
  background: #fff8e8;
  color: #7a5522;
  font-size: 0.78rem;
  font-weight: 750;
}

.result-preview-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.result-table-scroll.is-compact table {
  min-width: 0;
  table-layout: auto;
}

.result-table-scroll.is-wide table {
  min-width: 1180px;
  table-layout: fixed;
}

.result-preview-content th,
.result-preview-content td {
  border: 1px solid #dbe5eb;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}

.result-preview-content th {
  background: #f3f7f8;
  color: var(--ink);
  font-weight: 850;
}

.result-table-scroll.is-wide th,
.result-table-scroll.is-wide td {
  font-size: 0.84rem;
  line-height: 1.55;
}

.result-table-scroll.is-wide th:first-child,
.result-table-scroll.is-wide td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 190px;
  min-width: 190px;
  background: #fff;
  box-shadow: 1px 0 0 #dbe5eb;
  font-weight: 750;
}

.result-table-scroll.is-wide th:first-child {
  z-index: 4;
  background: #eef3f5;
}

.result-table-sticky-clone {
  position: fixed;
  z-index: 9;
  overflow: hidden;
  border: 1px solid #dbe5eb;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 37, 54, 0.12);
  pointer-events: none;
}

.result-table-sticky-inner {
  will-change: transform;
}

.result-table-sticky-clone table {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.84rem;
}

.result-table-sticky-clone th {
  border: 1px solid #dbe5eb;
  padding: 11px 12px;
  background: #eef3f5;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.result-table-sticky-clone th:first-child {
  position: relative;
  z-index: 2;
  width: 190px;
  min-width: 190px;
  background: #e8f0f2;
  box-shadow: 1px 0 0 #dbe5eb;
}

.result-table-scroll.is-wide th:nth-child(2),
.result-table-scroll.is-wide td:nth-child(2),
.result-table-scroll.is-wide th:nth-child(3),
.result-table-scroll.is-wide td:nth-child(3),
.result-table-scroll.is-wide th:nth-child(4),
.result-table-scroll.is-wide td:nth-child(4),
.result-table-scroll.is-wide th:nth-child(8),
.result-table-scroll.is-wide td:nth-child(8),
.result-table-scroll.is-wide th:nth-child(9),
.result-table-scroll.is-wide td:nth-child(9) {
  width: 120px;
}

.result-table-scroll.is-wide th:nth-child(5),
.result-table-scroll.is-wide td:nth-child(5),
.result-table-scroll.is-wide th:nth-child(6),
.result-table-scroll.is-wide td:nth-child(6),
.result-table-scroll.is-wide th:nth-child(7),
.result-table-scroll.is-wide td:nth-child(7) {
  width: 210px;
}

.result-table-sticky-clone th:nth-child(2),
.result-table-sticky-clone th:nth-child(3),
.result-table-sticky-clone th:nth-child(4),
.result-table-sticky-clone th:nth-child(8),
.result-table-sticky-clone th:nth-child(9) {
  width: 120px;
}

.result-table-sticky-clone th:nth-child(5),
.result-table-sticky-clone th:nth-child(6),
.result-table-sticky-clone th:nth-child(7) {
  width: 210px;
}

.result-document-empty {
  border: 1px dashed #c8d8df;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

@media print {
  .site-header,
  .questionnaire-sidebar,
  .workspace-topline,
  .form-step:not(.is-active),
  .questionnaire-actions,
  .generation-panel,
  .footer {
    display: none;
  }

  body,
  .questionnaire-page {
    background: #fff;
  }

  .questionnaire-shell {
    width: 100%;
    display: block;
    padding: 0;
  }

  .questionnaire-workspace,
  .summary-panel,
  .summary-grid section {
    border: 0;
    box-shadow: none;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.86);
  }

  .hero-content {
    padding: 74px 0 86px;
  }

  h1 {
    font-size: 3.6rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .blog-index-header > div {
    padding: 44px 0 36px;
  }

  .blog-index-header h1 {
    font-size: 2.45rem;
  }

  .blog-index-section {
    padding-top: 44px;
  }

  .about-page .about-header-inner,
  .about-page .about-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-page .about-header h1 {
    font-size: 2.45rem;
  }

  .pricing-header > div {
    padding: 48px 0 38px;
  }

  .pricing-header h1 {
    font-size: 2.55rem;
  }

  .about-page .about-compact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .large-copy {
    font-size: 1.18rem;
  }

  .section,
  .intro-band,
  .muted-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .questionnaire-shell {
    grid-template-columns: 1fr;
  }

  .gap-hero {
    grid-template-columns: 1fr;
  }

  .questionnaire-sidebar {
    position: static;
  }

  .questionnaire-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step-tab {
    justify-content: center;
    text-align: center;
  }

  .workspace-metrics {
    grid-template-columns: 1fr;
  }

  .question-grid.two-columns,
  .choice-grid,
  .choice-grid.compact,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps,
  .use-list,
  .blog-card,
  .public-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-pricing-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

}

@media (max-width: 620px) {
  .nav,
  .section,
  .hero-content,
  .footer {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 0.98rem;
  }

  .nav-links {
    font-size: 0.88rem;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

  .page-title {
    font-size: 2.3rem;
  }

  .blog-index-header > div {
    width: min(100% - 28px, 1160px);
    padding: 34px 0 30px;
  }

  .blog-index-header h1 {
    font-size: 2rem;
  }

  .blog-index-header p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about-page .about-header-inner,
  .about-page .about-nav {
    width: min(100% - 28px, 1160px);
  }

  .about-page .about-header-inner,
  .about-page .about-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .about-page .about-header h1 {
    font-size: 2rem;
  }

  .pricing-header > div {
    width: min(100% - 28px, 1160px);
    padding: 38px 0 30px;
  }

  .pricing-header h1 {
    font-size: 2.15rem;
  }

  .pricing-header p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about-page .about-header .large-copy {
    font-size: 1rem;
  }

  .about-page .about-scope-grid,
  .about-page .about-fit-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem;
  }

  .card-grid,
  .steps,
  .use-list,
  .blog-card,
  .public-pricing-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .card,
  .steps li,
  .use-list div {
    min-height: auto;
  }

  .questionnaire-shell {
    width: min(100% - 28px, 1160px);
    padding-top: 18px;
  }

  .questionnaire-workspace {
    padding: 0;
  }

  .workspace-topline,
  .questionnaire-actions {
    flex-direction: column;
  }

  .workspace-topline {
    padding: 22px;
  }

  .workspace-status {
    justify-items: start;
  }

  .workspace-topline h2 {
    font-size: 2rem;
  }

  .form-step {
    padding: 22px;
  }

  .questionnaire-actions {
    align-items: stretch;
    margin: 0;
    padding: 14px 20px;
  }

  .action-cluster,
  .questionnaire-actions .button {
    width: 100%;
  }

  .action-cluster .button {
    flex: 1 1 145px;
  }

  .generation-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .generation-downloads li {
    align-items: stretch;
    flex-direction: column;
  }

  .generation-debug-header,
  .generation-debug li {
    grid-template-columns: 1fr;
  }

  .credit-product-grid {
    grid-template-columns: 1fr;
  }

  .action-credit-status {
    grid-template-columns: 1fr;
  }

  .gap-shell {
    width: min(100% - 28px, 1160px);
    padding-top: 18px;
  }

  .gap-hero h1 {
    font-size: 2.45rem;
  }

  .gap-hero > div:first-child,
  .gap-config {
    padding: 22px;
  }

  .gap-actions,
  .gap-actions .button {
    width: 100%;
  }

  .gap-actions {
    flex-direction: column;
  }

  .gap-scoreboard {
    grid-template-columns: 1fr;
  }

  .gap-insight-panel,
  .gap-insight-visual {
    grid-template-columns: 1fr;
  }

  .gap-severity-donut {
    width: 132px;
    height: 132px;
    justify-self: center;
  }

  .gap-urgency-strip {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    width: min(100% - 28px, 1160px);
    padding-top: 18px;
  }

  .auth-form,
  .auth-account {
    padding: 22px;
  }

  .auth-actions-bar {
    margin: 24px -22px -22px;
  }

  .auth-credit-grid {
    grid-template-columns: 1fr;
  }

  .account-action-grid,
  .account-history-list,
  .account-history-toolbar,
  .taxonomy-list,
  .taxonomy-editor-layout {
    padding: 16px;
  }

  .taxonomy-list,
  .taxonomy-editor-layout {
    grid-template-columns: 1fr;
  }

  .taxonomy-outline {
    max-height: 360px;
  }

  .taxonomy-editor-main textarea {
    min-height: 420px;
  }

  .taxonomy-editor-actions {
    margin: 0 -16px -16px;
  }

  .result-workspace-shell {
    padding: 16px;
  }

  .result-workspace-topbar {
    flex-direction: column;
    align-items: stretch;
    margin: -16px -16px 16px;
    padding: 14px 16px;
  }

  .result-viewer-downloads {
    justify-content: stretch;
  }

  .account-action-grid .button,
  .history-filter {
    width: 100%;
  }

  .history-main {
    flex-direction: column;
    gap: 10px;
  }

  .history-pagination,
  .history-page-controls {
    align-items: stretch;
    justify-content: stretch;
  }

  .history-page-controls {
    width: 100%;
  }

  .history-page-button {
    flex: 1 1 auto;
  }

  .result-viewer-header,
  .result-document-title {
    flex-direction: column;
    gap: 10px;
  }

  .history-meta {
    justify-items: start;
  }

  .history-file-link,
  .history-file-empty,
  .result-document-title .button {
    width: 100%;
    justify-content: space-between;
  }

  .result-preview-content {
    padding: 16px;
  }

  .blog-admin-item-main,
  .contact-message-main {
    flex-direction: column;
  }

  .blog-article {
    width: min(100% - 28px, 860px);
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .blog-tags.compact {
    justify-content: flex-start;
  }

  .auth-message {
    margin: 18px 22px 0;
  }

  .generation-debug-header {
    display: grid;
  }

  .questionnaire-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer nav {
    flex-wrap: wrap;
  }
}

/* Regulatory tracker */
.tracker-page {
  background: #fff;
}

.tracker-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.tracker-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 20%, rgba(59, 126, 141, 0.14), transparent 31rem),
    linear-gradient(120deg, #f4f9fa 0%, #fbfdfd 54%, #eff6f7 100%);
}

.tracker-hero .tracker-shell {
  padding: 72px 0 64px;
}

.tracker-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.tracker-lead {
  max-width: 790px;
  margin: 0;
  color: #405064;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.tracker-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 750;
}

.tracker-trust-row span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 99px;
  background: var(--green);
}

.tracker-overview {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.tracker-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tracker-metric {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  transition: background 160ms ease;
}

.tracker-metric:first-child {
  border-left: 1px solid var(--line);
}

.tracker-metric:hover {
  background: #f7fbfb;
}

.tracker-metric span,
.tracker-last-checked {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.tracker-metric strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.tracker-workspace {
  padding: 76px 0 88px;
  background: #fff;
}

.tracker-workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.tracker-workspace-head h2,
.tracker-methodology h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.08;
}

.tracker-workspace-head > div > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.tracker-last-checked {
  max-width: 250px;
  margin: 0 0 4px;
  text-align: right;
}

.tracker-quick-views {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 0 0 4px;
}

.tracker-quick-views button,
.tracker-active-filters button,
.tracker-filter-head button {
  min-height: 36px;
  border: 1px solid #cbdadd;
  border-radius: 999px;
  padding: 7px 13px;
  background: #fff;
  color: #3e5262;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.tracker-quick-views button:hover,
.tracker-quick-views button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.tracker-layout {
  display: grid;
  grid-template-columns: minmax(235px, 270px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.tracker-filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #fbfdfd;
}

.tracker-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.tracker-filter-head strong {
  color: var(--ink);
}

.tracker-filter-head button {
  min-height: 0;
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
}

.tracker-filters label {
  margin-top: 10px;
  color: #405064;
  font-size: 0.8rem;
  font-weight: 800;
}

.tracker-filters input,
.tracker-filters select,
.tracker-results-toolbar select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #bdcdd2;
  border-radius: 7px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.tracker-filters input:focus,
.tracker-filters select:focus,
.tracker-results-toolbar select:focus,
.tracker-quick-views button:focus-visible,
.tracker-filter-head button:focus-visible,
.tracker-active-filters button:focus-visible,
.tracker-item summary:focus-visible,
.tracker-source-link:focus-visible {
  outline: 3px solid rgba(21, 94, 117, 0.32);
  outline-offset: 2px;
}

.tracker-results-area {
  min-width: 0;
}

.tracker-results-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.tracker-results-toolbar > label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.tracker-results-toolbar select {
  width: auto;
  min-width: 176px;
}

#tracker-result-count {
  min-height: 1.4em;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.tracker-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.tracker-active-filters button {
  min-height: 28px;
  padding: 3px 9px;
  border-color: #a7c4ca;
  background: #eef7f8;
  color: var(--accent-strong);
  font-size: 0.76rem;
}

.tracker-results {
  display: grid;
  gap: 13px;
}

.tracker-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 23px 24px 21px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 26, 47, 0.035);
}

.tracker-item:hover {
  border-color: #aec7cd;
}

.tracker-item-meta,
.tracker-date-row,
.tracker-chip-row,
.tracker-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tracker-item-meta {
  color: #5a6877;
  font-size: 0.78rem;
  font-weight: 750;
}

.tracker-item-meta > span:not(:first-child)::before {
  content: "•";
  margin-right: 8px;
  color: #a4b1b9;
}

.tracker-source,
.tracker-status,
.tracker-chip {
  border-radius: 999px;
  padding: 3px 8px;
}

.tracker-source {
  background: #eaf3f5;
  color: var(--accent-strong);
}

.tracker-status {
  background: #f3f0fb;
  color: #5b4d8d;
}

.tracker-item h3 {
  max-width: 960px;
  margin: 11px 0 7px;
  color: var(--ink);
  font-size: clamp(1.07rem, 1.6vw, 1.24rem);
  line-height: 1.34;
}

.tracker-date-row {
  min-height: 1.45em;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.tracker-date-row span + span::before {
  content: "•";
  margin-right: 8px;
  color: #a4b1b9;
}

.tracker-deadline {
  color: #9d6613;
}

.tracker-item > p {
  max-width: 930px;
  margin: 12px 0;
  color: #506072;
  font-size: 0.95rem;
}

.tracker-chip-row {
  margin-top: 13px;
}

.tracker-chip {
  border: 1px solid #d5e1e5;
  background: #fbfdfd;
  color: #4b5c69;
  font-size: 0.75rem;
  font-weight: 750;
}

.tracker-chip-legal {
  border-color: #c6dadd;
  background: #eef7f8;
  color: var(--accent-strong);
}

.tracker-item-actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 17px;
}

.tracker-item details summary {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.tracker-item details[open] summary {
  margin-bottom: 10px;
}

.tracker-item dl {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #526273;
  font-size: 0.84rem;
}

.tracker-item dl div {
  display: grid;
  grid-template-columns: minmax(135px, auto) 1fr;
  gap: 12px;
}

.tracker-item dt {
  color: var(--muted);
  font-weight: 700;
}

.tracker-item dd {
  margin: 0;
}

.tracker-source-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 850;
}

.tracker-source-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.tracker-item h3 a {
  color: inherit;
  text-decoration: none;
}

.tracker-item h3 a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tracker-item-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.tracker-record-link {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 850;
}

.tracker-record-link:hover {
  text-decoration: underline;
}

.tracker-empty {
  border: 1px dashed #b7cbd0;
  border-radius: 11px;
  padding: 42px 24px;
  text-align: center;
  background: #fbfdfd;
}

.tracker-empty h3 {
  margin-bottom: 6px;
  color: var(--ink);
}

.tracker-empty p {
  color: var(--muted);
}

.tracker-load-more {
  margin: 20px auto 0;
  border-color: #b6cbcf;
  color: var(--accent-strong);
}

.tracker-notice {
  margin: 0 0 18px;
  border-left: 4px solid var(--accent);
  padding: 10px 14px;
  background: #eef7f8;
  color: #405064;
}

.tracker-methodology {
  border-block: 1px solid var(--line);
  padding: 72px 0;
  background: #f7fbfb;
}

.tracker-methodology-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: start;
}

.tracker-methodology p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.tracker-method-list {
  display: grid;
  gap: 12px;
}

.tracker-method-list div {
  border: 1px solid #d8e5e7;
  border-radius: 9px;
  padding: 18px 20px;
  background: #fff;
}

.tracker-method-list strong,
.tracker-method-list span {
  display: block;
}

.tracker-method-list strong {
  margin-bottom: 3px;
  color: var(--ink);
}

.tracker-method-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .tracker-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-metric:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .tracker-metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .tracker-layout,
  .tracker-methodology-grid {
    grid-template-columns: 1fr;
  }

  .tracker-filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-filters .tracker-filter-head,
  .tracker-filters .tracker-search-label,
  .tracker-filters #tracker-search {
    grid-column: 1 / -1;
  }

  .tracker-filters label {
    margin-top: 6px;
  }
}

@media (max-width: 620px) {
  .tracker-shell {
    width: min(100% - 32px, 1240px);
  }

  .tracker-hero .tracker-shell {
    padding: 54px 0 48px;
  }

  .tracker-workspace,
  .tracker-methodology {
    padding: 52px 0;
  }

  .tracker-workspace-head,
  .tracker-results-toolbar {
    display: grid;
  }

  .tracker-last-checked {
    max-width: none;
    text-align: left;
  }

  .tracker-results-toolbar > label,
  .tracker-results-toolbar select {
    width: 100%;
  }

  .tracker-metric {
    min-height: 98px;
    padding: 19px 17px;
  }

  .tracker-metric strong {
    font-size: 1.25rem;
  }

  .tracker-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .tracker-filters .tracker-filter-head,
  .tracker-filters .tracker-search-label,
  .tracker-filters #tracker-search {
    grid-column: auto;
  }

  .tracker-item {
    padding: 19px 17px;
  }

  .tracker-item-actions {
    align-items: start;
    flex-direction: column;
  }

  .tracker-item dl div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .tracker-admin-toolbar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .tracker-admin-list,
  .tracker-admin-editor {
    padding: 14px;
  }

  .tracker-admin-item-main {
    display: grid;
  }

  .tracker-admin-item .blog-admin-actions {
    justify-content: stretch;
  }

  .tracker-admin-item .blog-admin-actions .button {
    flex: 1 1 180px;
  }

  .tracker-admin-editor-actions {
    display: grid;
    margin: 4px -14px -14px;
  }

  .tracker-admin-editor-actions .action-cluster {
    justify-content: stretch;
  }

  .tracker-admin-editor-actions .button {
    flex: 1 1 170px;
  }
}

.tracker-record-page-admin {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.tracker-llm-panel {
  margin: 1.25rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid #bed9e2;
  border-radius: 14px;
  background: #f3fafc;
}

.tracker-llm-panel .summary-header {
  margin-bottom: 0.65rem;
}

.tracker-llm-panel h4,
.tracker-llm-panel p {
  margin-top: 0;
}

.tracker-llm-proposal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #cddfe5;
}

.tracker-llm-canonical {
  margin: 0.8rem 0;
  border-left: 4px solid var(--accent);
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.tracker-llm-canonical p {
  margin: 0.3rem 0;
}

.tracker-llm-canonical small {
  color: var(--muted);
}

.tracker-llm-updates {
  display: grid;
  gap: 0.65rem;
  margin: 0.85rem 0;
}

.tracker-llm-updates article {
  padding: 0.8rem 0.9rem;
  border: 1px solid #d7e4e8;
  border-radius: 10px;
  background: #fff;
}

.tracker-llm-updates article p {
  margin: 0.35rem 0;
  white-space: pre-wrap;
}

.tracker-canonical-panel {
  margin: 1.25rem 0;
  border: 1px solid #c8d9d8;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  background: #f7fbfa;
}

.tracker-canonical-panel .summary-header {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.tracker-canonical-panel h4,
.tracker-canonical-panel h5,
.tracker-canonical-panel p {
  margin-top: 0;
}

.tracker-canonical-panel h5 {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.tracker-canonical-summary {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(110px, 1fr));
  border: 1px solid #d8e4e2;
  border-radius: 10px;
  background: #fff;
}

.tracker-canonical-summary > div {
  min-width: 0;
  padding: 0.85rem 0.95rem;
}

.tracker-canonical-summary > div + div {
  border-left: 1px solid #e2eae9;
}

.tracker-canonical-summary span,
.tracker-canonical-summary strong {
  display: block;
}

.tracker-canonical-summary span {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-canonical-summary strong {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.tracker-canonical-section {
  margin-top: 1.1rem;
  border-top: 1px solid #dce7e5;
  padding-top: 1rem;
}

.tracker-canonical-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tracker-canonical-document,
.tracker-canonical-candidate {
  border: 1px solid #d9e4e3;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  background: #fff;
}

.tracker-canonical-document > div:first-child,
.tracker-canonical-candidate > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-bottom: 0.45rem;
}

.tracker-canonical-document p,
.tracker-canonical-candidate p {
  margin: 0.35rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.tracker-canonical-role-control {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.35rem 0.6rem !important;
  margin: 0 0 0.75rem !important;
}

.tracker-canonical-role-control label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.tracker-canonical-role-control select {
  min-width: 0;
  min-height: 38px;
  border: 1px solid #cbdadd;
  border-radius: 7px;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.tracker-canonical-role,
.tracker-canonical-primary,
.tracker-canonical-candidate > div:first-child span {
  color: #536878;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tracker-canonical-primary {
  margin-left: 0.55rem;
  color: var(--green);
}

.tracker-canonical-candidate + .tracker-canonical-candidate {
  margin-top: 0.7rem;
}

.tracker-canonical-candidate small {
  display: block;
  margin-bottom: 0.75rem;
  color: #687787;
  overflow-wrap: anywhere;
}

.tracker-canonical-events {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracker-canonical-events li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  border-left: 3px solid #9bbfc0;
  padding-left: 0.85rem;
}

.tracker-canonical-events li > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.tracker-canonical-events p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.tracker-canonical-manual {
  margin-top: 1.1rem;
  border-top: 1px solid #dce7e5;
  padding-top: 1rem;
}

.tracker-canonical-manual summary {
  color: var(--accent-strong);
  font-weight: 850;
  cursor: pointer;
}

.tracker-canonical-manual > p {
  margin: 0.65rem 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 780px) {
  .tracker-canonical-summary,
  .tracker-canonical-documents {
    grid-template-columns: 1fr;
  }

  .tracker-canonical-summary > div + div {
    border-top: 1px solid #e2eae9;
    border-left: 0;
  }

  .tracker-canonical-events li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.tracker-record-page-admin .tracker-admin-edit-form {
  margin-top: 18px;
}

.tracker-record-page-admin select[multiple] {
  min-height: 180px;
  padding: 8px;
}

.tracker-record-page-path {
  margin: 10px 0 16px;
  border: 1px solid #d4e1e4;
  border-radius: 7px;
  padding: 9px 11px;
  background: #f7fbfb;
  color: #405064;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.tracker-record-page-ready {
  border-left: 4px solid var(--green);
  padding: 10px 14px;
  background: #f0f8f4;
  color: #315e4d;
}

.tracker-record-page {
  background: #f6f9f9;
}

.tracker-record-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 88px;
}

.tracker-record-admin-notice,
.tracker-record-caution {
  display: flex;
  align-items: flex-start;
  gap: 9px 14px;
  margin-bottom: 18px;
  border: 1px solid #d5c58b;
  border-radius: 8px;
  padding: 12px 15px;
  background: #fff9e8;
  color: #66531c;
  font-size: 0.88rem;
}

.tracker-record-admin-notice {
  border-color: #a9cdd3;
  background: #eef7f8;
  color: var(--accent-strong);
}

.tracker-record-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.tracker-record-breadcrumbs a {
  color: var(--accent);
}

.tracker-record-article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 26, 47, 0.06);
}

.tracker-record-header {
  border-bottom: 1px solid var(--line);
  padding: 44px 50px 38px;
  background: linear-gradient(135deg, #f4f9fa, #fff 68%);
}

.tracker-record-meta,
.tracker-record-header-actions,
.tracker-record-tags,
.tracker-record-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.tracker-record-meta {
  color: #5b6a78;
  font-size: 0.79rem;
  font-weight: 780;
}

.tracker-record-meta span + span::before {
  content: "·";
  margin-right: 16px;
  color: #a2b0b8;
}

.tracker-record-publisher {
  border-radius: 999px;
  padding: 4px 9px;
  background: #e7f1f3;
  color: var(--accent-strong);
}

.tracker-record-header h1 {
  max-width: 960px;
  margin: 16px 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.75rem);
  line-height: 1.08;
}

.tracker-record-executive {
  max-width: 870px;
  color: #445568;
  font-size: 1.08rem;
  line-height: 1.72;
}

.tracker-record-executive p:last-child,
.tracker-record-placeholder {
  margin-bottom: 0;
}

.tracker-record-placeholder {
  color: var(--muted);
  font-style: italic;
}

.tracker-record-header-actions {
  margin-top: 25px;
}

.tracker-record-caution {
  margin: 24px 50px 0;
}

.tracker-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  gap: 54px;
  padding: 46px 50px 52px;
}

.tracker-record-content {
  min-width: 0;
}

.tracker-record-content section + section {
  margin-top: 40px;
  border-top: 1px solid #e3eaec;
  padding-top: 34px;
}

.tracker-record-content h2,
.tracker-record-facts h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 1.45rem;
}

.tracker-record-content p,
.tracker-record-content li {
  color: #4b5c6c;
  line-height: 1.72;
}

.tracker-record-content section > p {
  max-width: 74ch;
  margin: 0 0 1.15rem;
}

.tracker-record-content section > p:last-child {
  margin-bottom: 0;
}

.tracker-record-list,
.tracker-record-source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 21px;
}

.tracker-record-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracker-record-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 28px 22px;
}

.tracker-record-timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: -6px;
  left: 4px;
  width: 2px;
  background: #d7e4e5;
}

.tracker-record-timeline li::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px #96b9be;
}

.tracker-record-timeline li:last-child {
  padding-bottom: 0;
}

.tracker-record-timeline li:last-child::before {
  display: none;
}

.tracker-record-timeline time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tracker-record-timeline h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
}

.tracker-record-timeline p {
  margin: 0 0 7px;
}

.tracker-record-timeline a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

@media (max-width: 620px) {
  .tracker-record-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.tracker-record-tags {
  margin: 0 0 17px;
  gap: 7px;
}

.tracker-record-tags span {
  border: 1px solid #cedde0;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f4f9fa;
  color: #425969;
  font-size: 0.78rem;
  font-weight: 750;
}

.tracker-record-disclaimer {
  margin-top: 18px;
  color: var(--muted) !important;
  font-size: 0.84rem;
}

.tracker-record-facts {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid #d8e4e6;
  border-radius: 10px;
  padding: 22px;
  background: #f8fbfb;
}

.tracker-record-facts h2 {
  font-size: 1.05rem;
}

.tracker-record-facts dl {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
}

.tracker-record-facts dl div {
  border-top: 1px solid #dce7e9;
  padding: 12px 0;
}

.tracker-record-facts dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.tracker-record-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.tracker-record-facts dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.tracker-record-editorial-meta {
  border-top: 1px solid var(--line);
  padding: 20px 50px;
  background: #fafcfc;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 840px) {
  .tracker-record-layout {
    grid-template-columns: 1fr;
  }

  .tracker-record-facts {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .tracker-record-shell {
    width: min(100% - 28px, 1180px);
    padding: 24px 0 58px;
  }

  .tracker-record-header,
  .tracker-record-layout,
  .tracker-record-editorial-meta {
    padding-inline: 20px;
  }

  .tracker-record-header {
    padding-block: 30px 28px;
  }

  .tracker-record-layout {
    gap: 30px;
    padding-block: 30px 38px;
  }

  .tracker-record-caution {
    margin-inline: 20px;
  }

  .tracker-record-meta span + span::before {
    margin-right: 8px;
  }
}

.tool-landing-page {
  background: #f7faf9;
}

.tool-landing-page .site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.tool-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #102238;
}

.tool-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.tool-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 19, 35, 0.94), rgba(9, 19, 35, 0.64) 52%, rgba(9, 19, 35, 0.2));
}

.tool-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 54px;
  align-items: end;
}

.tool-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 0.98;
}

.tool-hero-copy {
  max-width: 730px;
  margin-bottom: 28px;
  color: #e5edf0;
  font-size: 1.16rem;
}

.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.tool-hero-note {
  margin: 0;
  color: #bfd3dc;
  font-size: 0.94rem;
}

.tool-preview-panel {
  border: 1px solid rgba(216, 227, 232, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(16, 26, 47, 0.1);
  overflow: hidden;
}

.tool-preview-top {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tool-preview-top strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.tool-preview-top span,
.tool-preview-row em {
  border: 1px solid #bfd4da;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef8f5;
  color: var(--green);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.tool-gap-row em {
  min-width: 76px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  border: 1px solid #bfd4da;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.tool-preview-list {
  display: grid;
}

.tool-preview-row {
  padding: 15px 20px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #e8eef1;
}

.tool-preview-row:last-child,
.tool-gap-row:last-child {
  border-bottom: 0;
}

.tool-row-index {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e9f5f2;
  color: var(--green);
  font-weight: 900;
}

.tool-preview-row .tool-row-index {
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.tool-preview-row span,
.tool-gap-row span,
.tool-score-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.tool-preview-row strong,
.tool-gap-row strong {
  color: var(--ink);
}

.tool-score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.tool-score-row div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.tool-score-row div:last-child {
  border-right: 0;
}

.tool-score-row strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.tool-gap-row {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  border-bottom: 1px solid #e8eef1;
}

.tool-gap-row .severity-high {
  background: #fff1f1;
  border-color: #efc4c4;
  color: #a33a3a;
}

.tool-gap-row .severity-medium {
  background: #fff8e8;
  border-color: #eed7a3;
  color: #a16207;
}

.tool-gap-row .severity-low {
  background: #eef8f5;
  border-color: #b8d9d1;
  color: var(--green);
}

.tool-section {
  padding: 74px 24px;
}

.tool-section-alt {
  border-block: 1px solid var(--line);
  background: #fff;
}

.tool-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.tool-section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.tool-section-head h2,
.tool-two-col h2,
.tool-cta-band h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
}

.tool-section-head p,
.tool-two-col p,
.tool-card p,
.tool-law-card p {
  color: var(--muted);
}

.tool-card-grid {
  display: grid;
  gap: 16px;
}

.tool-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 26, 47, 0.05);
}

.tool-card h3,
.tool-law-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.18rem;
}

.tool-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-process article {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  overflow: hidden;
}

.tool-process article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 4px;
  background: var(--green);
}

.tool-process span {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.tool-process h3 {
  color: var(--ink);
}

.tool-process p {
  color: var(--muted);
}

.tool-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tool-pill-grid div {
  border: 1px solid #cfe0e4;
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fbfdfd;
  color: #26364a;
  font-weight: 800;
}

.tool-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.tool-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tool-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.tool-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
}

.tool-law-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tool-law-card {
  border: 1px solid #cfe0e4;
  border-radius: var(--radius);
  padding: 20px;
  background: #fbfdfd;
}

.tool-law-card strong {
  display: block;
}

.tool-cta-band {
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: #fff;
}

.tool-cta-band h2 {
  color: #fff;
}

.tool-cta-band p {
  margin-bottom: 0;
  color: #d9e6ea;
}

@media (max-width: 920px) {
  .tool-hero-inner,
  .tool-two-col,
  .tool-card-grid.three,
  .tool-law-grid {
    grid-template-columns: 1fr;
  }

  .tool-process,
  .tool-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tool-hero-inner {
    width: min(100% - 32px, 1240px);
    padding-top: 62px;
  }

  .tool-process,
  .tool-pill-grid,
  .tool-score-row {
    grid-template-columns: 1fr;
  }

  .tool-score-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-score-row div:last-child {
    border-bottom: 0;
  }

  .tool-cta-band {
    display: grid;
  }
}

/* Primary navigation access hierarchy */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-account-link {
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-account-link:hover {
  color: var(--accent);
}

.nav-account-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: rgba(21, 94, 117, 0.38);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-actions .nav-cta {
  min-height: 44px;
  padding-inline: 20px;
}

/* Signed-out access gateway */
.auth-shell {
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 24px;
  padding-top: 54px;
}

.auth-access-intro {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 4px;
}

.auth-access-intro h1 {
  margin: 0 0 13px;
  font-size: clamp(2.45rem, 5vw, 3.65rem);
  line-height: 1.02;
}

.auth-access-intro > p:last-child {
  margin: 0;
  color: #4d5c70;
  font-size: 1.08rem;
}

.auth-page:not(.auth-is-signed-in) .questionnaire-workspace {
  grid-column: 1;
  grid-row: 2;
}

.auth-page:not(.auth-is-signed-in) .questionnaire-sidebar {
  grid-column: 2;
  grid-row: 2;
  top: 24px;
  background: rgba(255, 255, 255, 0.97);
}

.auth-page:not(.beta-access-enabled):not(.auth-is-signed-in) .auth-shell {
  width: min(780px, calc(100% - 40px));
  grid-template-columns: 1fr;
}

.auth-page:not(.beta-access-enabled):not(.auth-is-signed-in) .questionnaire-sidebar {
  display: none;
}

.auth-page:not(.beta-access-enabled):not(.auth-is-signed-in) .questionnaire-workspace {
  grid-column: 1;
}

.account-sidebar-content {
  display: none;
}

.auth-beta-sidebar {
  overflow: hidden;
}

.auth-beta-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.auth-beta-content {
  padding: 31px 30px 30px;
}

.auth-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  border: 1px solid #cfe2df;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef8f5;
  color: #2f675a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-beta-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.auth-beta-content h2 {
  margin: 0 0 12px;
  font-size: 1.62rem;
  line-height: 1.16;
}

.auth-beta-copy {
  margin: 0;
  color: #536174;
  font-size: 0.95rem;
}

.auth-access-steps {
  margin: 25px 0 27px;
  padding: 0;
  list-style: none;
}

.auth-access-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 21px;
}

.auth-access-steps li:last-child {
  padding-bottom: 0;
}

.auth-access-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  bottom: 2px;
  left: 14px;
  width: 1px;
  background: #d7e3e6;
}

.auth-access-step-number {
  position: relative;
  z-index: 1;
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #cadbde;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
}

.auth-access-steps strong,
.auth-access-steps small {
  display: block;
}

.auth-access-steps strong {
  margin-bottom: 2px;
  color: #27364b;
  font-size: 0.91rem;
}

.auth-access-steps small {
  color: #687689;
  font-size: 0.81rem;
  line-height: 1.45;
}

.auth-beta-content > .button {
  width: 100%;
}

.auth-beta-note {
  margin: 15px 0 0;
  color: #758194;
  font-size: 0.78rem;
  text-align: center;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #f6f9fa;
}

.auth-tab {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 16px;
  background: transparent;
  color: #536174;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.auth-tab:hover {
  color: var(--accent-strong);
}

.auth-tab.is-active,
.auth-tab[aria-selected="true"] {
  border-color: #d2e1e3;
  background: #fff;
  color: var(--accent-strong);
  box-shadow: 0 5px 16px rgba(24, 37, 54, 0.06);
}

.auth-page:not(.auth-is-signed-in) .workspace-topline {
  padding: 30px 38px 23px;
}

.auth-page:not(.auth-is-signed-in) .workspace-topline h2 {
  margin-bottom: 8px;
  font-size: 1.72rem;
  line-height: 1.2;
}

.auth-page:not(.auth-is-signed-in) .auth-form {
  padding: 29px 38px 38px;
}

.auth-page:not(.auth-is-signed-in) .auth-form > .step-heading {
  display: none;
}

.auth-page:not(.auth-is-signed-in) .auth-form .question-grid {
  margin-bottom: 0;
}

.auth-page:not(.auth-is-signed-in) .auth-login-field {
  grid-column: 1 / -1;
}

.auth-registration-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #d3e3e0;
  border-radius: var(--radius);
  padding: 14px 15px;
  background: #f4faf8;
  color: #3b544f;
  font-size: 0.88rem;
}

.auth-registration-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--green);
}

.auth-registration-note p {
  margin: 0;
}

.auth-page:not(.auth-is-signed-in) .beta-access-registration-field {
  padding: 0;
  border: 0;
  background: transparent;
}

.auth-action-prompt {
  margin: 0;
  color: #667487;
  font-size: 0.88rem;
}

.auth-action-prompt .text-link {
  margin-top: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-page:not(.auth-is-signed-in) .auth-actions-bar {
  align-items: center;
  margin: 30px -38px -38px;
  padding: 20px 38px;
  background: #fbfdfd;
}

.auth-page:not(.auth-is-signed-in) .auth-actions-bar > .button {
  min-width: 122px;
}

.auth-page:not(.auth-is-signed-in) .auth-message {
  margin-inline: 38px;
}

.auth-is-signed-in .auth-shell {
  width: min(1440px, calc(100% - 40px));
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  padding-top: 30px;
}

.auth-is-signed-in .auth-access-intro,
.auth-is-signed-in .auth-beta-sidebar {
  display: none;
}

.auth-is-signed-in .account-sidebar-content {
  display: block;
}

.auth-is-signed-in .questionnaire-sidebar {
  grid-column: 1;
  grid-row: 1;
}

.auth-is-signed-in .questionnaire-workspace {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
    font-size: 0.88rem;
  }

  .nav-actions {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .nav-actions {
    margin-left: auto;
  }

  .auth-shell,
  .auth-is-signed-in .auth-shell {
    width: min(100% - 40px, 1120px);
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .auth-access-intro,
  .auth-page:not(.auth-is-signed-in) .questionnaire-workspace,
  .auth-page:not(.auth-is-signed-in) .questionnaire-sidebar,
  .auth-is-signed-in .questionnaire-sidebar,
  .auth-is-signed-in .questionnaire-workspace {
    grid-column: 1;
  }

  .auth-access-intro {
    grid-row: auto;
  }

  .auth-page:not(.auth-is-signed-in) .questionnaire-workspace {
    grid-row: auto;
  }

  .auth-page:not(.auth-is-signed-in) .questionnaire-sidebar {
    grid-row: auto;
  }

  .auth-beta-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    gap: 12px 32px;
    align-items: start;
  }

  .auth-beta-content > .auth-beta-badge,
  .auth-beta-content > h2,
  .auth-beta-content > .auth-beta-copy {
    grid-column: 1;
  }

  .auth-access-steps {
    grid-column: 2;
    grid-row: 1 / span 5;
    margin: 0;
  }

  .auth-beta-content > .button,
  .auth-beta-note {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 175px;
  }

  .nav-actions {
    width: auto;
  }

  .nav-actions .nav-cta {
    width: auto;
  }

  .auth-shell,
  .auth-is-signed-in .auth-shell,
  .auth-page:not(.beta-access-enabled):not(.auth-is-signed-in) .auth-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 30px;
  }

  .auth-access-intro h1 {
    font-size: 2.5rem;
  }

  .auth-access-intro > p:last-child {
    font-size: 1rem;
  }

  .auth-page:not(.auth-is-signed-in) .workspace-topline {
    padding: 26px 22px 21px;
  }

  .auth-page:not(.auth-is-signed-in) .auth-form {
    padding: 25px 22px 30px;
  }

  .auth-page:not(.auth-is-signed-in) .auth-actions-bar {
    margin: 28px -22px -30px;
    padding: 18px 22px;
  }

  .auth-page:not(.auth-is-signed-in) .auth-message {
    margin-inline: 22px;
  }

  .auth-beta-content {
    display: block;
    padding: 27px 22px;
  }

  .auth-access-steps {
    margin: 24px 0 26px;
  }

  .private-beta-main {
    width: min(100% - 28px, 920px);
    min-height: auto;
    padding: 42px 0 62px;
  }

  .private-beta-card-content {
    padding: 32px 22px 34px;
  }

  .private-beta-card h1 {
    font-size: 2.25rem;
  }

  .private-beta-card p:not(.eyebrow) {
    font-size: 1rem;
  }

  .private-beta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .private-beta-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-account-link {
    display: none;
  }

  .nav-actions .nav-cta {
    min-height: 40px;
    padding: 10px 12px;
  }

  .auth-access-intro h1 {
    font-size: 2.15rem;
  }

  .auth-tab {
    padding-inline: 8px;
    font-size: 0.9rem;
  }

  .auth-page:not(.auth-is-signed-in) .auth-actions-bar {
    display: grid;
  }

  .auth-page:not(.auth-is-signed-in) .auth-actions-bar > .button,
  .auth-page:not(.auth-is-signed-in) .auth-actions-bar > .action-cluster {
    width: 100%;
  }

  .auth-page:not(.auth-is-signed-in) .auth-actions-bar .button {
    width: 100%;
  }
}

/* Blog index refresh: all selectors are scoped to the public blog index. */
.blog-index-page {
  overflow: hidden;
}

.blog-index-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 9%, rgba(47, 125, 104, 0.13), transparent 31%),
    linear-gradient(115deg, #f7fafb 0%, #f4f8f8 64%, #eef6f5 100%);
}

.blog-index-hero::before,
.blog-index-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(21, 94, 117, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.blog-index-hero::before {
  right: -160px;
  bottom: -310px;
  width: 610px;
  height: 610px;
  box-shadow: 0 0 0 46px rgba(21, 94, 117, 0.025);
}

.blog-index-hero::after {
  right: -75px;
  bottom: -225px;
  width: 440px;
  height: 440px;
}

.blog-index-hero-inner,
.blog-index-trust-row,
.blog-posts-section,
.blog-index-cta-section {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.blog-index-hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 58px;
}

.blog-index-hero-inner h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 5.6vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.blog-index-hero-copy {
  max-width: 800px;
  margin-bottom: 28px;
  color: #334b60;
  font-size: 1.12rem;
}

.blog-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-topic-pills span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfdddf;
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-strong);
  font-size: 0.83rem;
  font-weight: 760;
}

.blog-index-trust-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cbdadd;
  background: rgba(255, 255, 255, 0.68);
}

.blog-index-trust-item {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #d6e2e5;
  padding: 16px 24px;
  color: #293c52;
  font-size: 0.82rem;
  font-weight: 760;
}

.blog-index-trust-item:last-child {
  border-right: 0;
}

.blog-index-trust-item > span {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #edf7f4;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
}

.blog-posts-section {
  padding: 72px 0 82px;
}

.blog-posts-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
}

.blog-posts-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.blog-posts-heading > p {
  max-width: 480px;
  margin-bottom: 4px;
  color: var(--muted);
}

.blog-index-list {
  display: grid;
  gap: 22px;
}

.blog-index-empty {
  border: 1px dashed #c9d8de;
  border-radius: 14px;
  padding: 28px;
  background: #f8fbfb;
}

.blog-index-empty h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.blog-index-empty p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-index-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.blog-index-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 48px;
}

.blog-index-card-kicker {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-index-card h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.blog-index-card h3 a:hover {
  color: var(--accent);
}

.blog-index-card-excerpt {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.blog-index-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding: 42px 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 125, 104, 0.11), transparent 43%),
    #f7fafb;
}

.blog-index-detail-list {
  display: grid;
  gap: 17px;
  margin: 0 0 25px;
}

.blog-index-detail-list > div {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid #dfe7eb;
  padding-bottom: 13px;
}

.blog-index-detail-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-index-detail-list dt {
  color: #718091;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-index-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 730;
}

.blog-index-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.blog-index-card-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4e3e1;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f7fbfa;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
}

.blog-index-read-button {
  width: 100%;
}

.blog-index-cta-section {
  padding: 68px 0 86px;
}

.blog-index-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  border-radius: 16px;
  padding: 44px 48px;
  background:
    radial-gradient(circle at 93% 0%, rgba(73, 176, 151, 0.24), transparent 34%),
    #0a3153;
  color: #fff;
  box-shadow: var(--shadow);
}

.blog-index-cta h2 {
  max-width: 710px;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.blog-index-cta p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: #c8d6e2;
}

.blog-index-cta .eyebrow {
  color: #83d5be;
}

.blog-index-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-index-cta .button-primary {
  background: #fff;
  color: #0a3153;
}

.blog-index-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

@media (max-width: 900px) {
  .blog-index-card,
  .blog-index-cta {
    grid-template-columns: 1fr;
  }

  .blog-index-card-details {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .blog-index-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .blog-index-hero-inner,
  .blog-index-trust-row,
  .blog-posts-section,
  .blog-index-cta-section {
    width: calc(100% - 28px);
  }

  .blog-index-hero-inner {
    padding: 56px 0 42px;
  }

  .blog-index-hero-inner h1 {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .blog-index-hero-copy {
    font-size: 1rem;
  }

  .blog-index-trust-row {
    grid-template-columns: 1fr;
  }

  .blog-index-trust-item {
    border-right: 0;
    border-bottom: 1px solid #d6e2e5;
  }

  .blog-index-trust-item:last-child {
    border-bottom: 0;
  }

  .blog-posts-section {
    padding: 56px 0 64px;
  }

  .blog-posts-heading {
    display: block;
  }

  .blog-posts-heading h2 {
    font-size: 2rem;
  }

  .blog-posts-heading > p {
    margin-top: 12px;
  }

  .blog-index-card-content,
  .blog-index-card-details {
    padding: 26px 24px;
  }

  .blog-index-card h3 {
    font-size: 2rem;
  }

  .blog-index-cta-section {
    padding: 56px 0 68px;
  }

  .blog-index-cta {
    padding: 30px 24px;
  }

  .blog-index-cta-actions {
    display: grid;
  }
}

/* 404 page */
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 125, 104, 0.08), transparent 27rem),
    linear-gradient(180deg, #f8fafb 0%, #ffffff 68%);
}

.error-page .site-header {
  flex: 0 0 auto;
}

.error-main {
  flex: 1 0 auto;
  display: grid;
  align-items: center;
}

.error-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.error-copy {
  max-width: 660px;
}

.error-copy h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 7vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.error-intro {
  max-width: 620px;
  margin-bottom: 0;
  color: #46566a;
  font-size: 1.14rem;
  line-height: 1.65;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 36px;
}

.error-button-secondary {
  border-color: #bdcbd3;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.error-button-secondary:hover {
  border-color: #8fa8b2;
  background: #fff;
}

.error-links {
  max-width: 610px;
  border-top: 1px solid var(--line);
}

.error-links > p {
  margin: 18px 0 5px;
  color: #758194;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.error-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  color: #324155;
  font-size: 0.94rem;
  font-weight: 700;
}

.error-links a span:last-child {
  color: var(--accent);
  transition: transform 160ms ease;
}

.error-links a:hover {
  color: var(--accent);
}

.error-links a:hover span:last-child {
  transform: translateX(3px);
}

.error-visual {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid #cbd9de;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #183344, #0f2836);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: 0 28px 70px rgba(24, 51, 68, 0.2);
}

.error-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 24%, rgba(70, 176, 147, 0.25), transparent 34%);
  pointer-events: none;
}

.error-visual-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.error-number {
  position: absolute;
  top: 42px;
  right: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(8rem, 17vw, 12rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.08em;
  user-select: none;
}

.error-document {
  position: absolute;
  top: 122px;
  left: 50%;
  z-index: 3;
  width: min(72%, 300px);
  min-height: 252px;
  transform: translateX(-50%) rotate(-1.6deg);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(2, 18, 28, 0.32);
}

.error-document-heading {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}

.error-document-heading span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8d4da;
}

.error-document-heading span:first-child {
  background: var(--green);
}

.error-document-line {
  width: 74%;
  height: 7px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: #dce5e9;
}

.error-document-line-long {
  width: 100%;
  background: #b9cbd1;
}

.error-document-line-short {
  width: 52%;
}

.error-document-status {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  border-top: 1px solid #e2e9ec;
  padding-top: 20px;
}

.error-status-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf6f3;
  color: var(--green);
  font-weight: 850;
}

.error-document-status strong,
.error-document-status small {
  display: block;
}

.error-document-status strong {
  color: #304154;
  font-size: 0.83rem;
}

.error-document-status small {
  margin-top: 2px;
  color: #788696;
  font-size: 0.67rem;
}

.error-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(98, 188, 162, 0.34);
  border-radius: 50%;
}

.error-orbit-one {
  right: -58px;
  bottom: -55px;
  width: 210px;
  height: 210px;
}

.error-orbit-two {
  right: -10px;
  bottom: -10px;
  width: 112px;
  height: 112px;
}

.error-page .footer {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .error-section {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 62px;
  }

  .error-copy {
    max-width: 720px;
  }

  .error-visual {
    width: min(100%, 560px);
    min-height: 390px;
  }

  .error-document {
    top: 102px;
  }
}

@media (max-width: 620px) {
  .error-section {
    width: min(100% - 28px, 1160px);
    padding: 44px 0 58px;
    gap: 40px;
  }

  .error-copy h1 {
    font-size: clamp(2.65rem, 14vw, 3.55rem);
  }

  .error-intro {
    font-size: 1rem;
  }

  .error-actions {
    display: grid;
  }

  .error-actions .button {
    width: 100%;
  }

  .error-visual {
    min-height: 340px;
  }

  .error-visual-topline {
    padding: 17px 18px;
  }

  .error-number {
    top: 42px;
    right: 12px;
    font-size: 7.8rem;
  }

  .error-document {
    top: 83px;
    width: min(78%, 270px);
    min-height: 225px;
    padding: 21px;
  }

  .error-document-heading {
    margin-bottom: 24px;
  }

  .error-document-status {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-links a span:last-child {
    transition: none;
  }
}

/* Homepage */
.home-page .home-skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 30;
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.home-page .home-skip-link:focus {
  top: 14px;
}

.home-page .hero {
  min-height: 660px;
  color: #ffffff;
  background:
    radial-gradient(circle at 81% 36%, rgba(39, 127, 116, 0.15), transparent 24%),
    linear-gradient(112deg, #051321 0%, #071a2d 54%, #092237 100%);
  isolation: isolate;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  z-index: -2;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(139, 187, 193, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 187, 193, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000);
}

.home-page .hero::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -47%;
  z-index: -1;
  width: 670px;
  aspect-ratio: 1;
  border: 1px solid rgba(102, 210, 194, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 92px rgba(102, 210, 194, 0.025),
    0 0 0 184px rgba(102, 210, 194, 0.018);
}

.home-page .home-hero-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(54px, 6vw, 88px);
  align-items: center;
}

.home-page .home-hero-copy-block {
  max-width: 700px;
}

.home-page .hero .eyebrow {
  color: #66d2c2;
}

.home-page .hero h1 {
  max-width: 700px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(3.4rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.home-page .hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: #dce8ec;
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-page .hero-actions {
  margin: 28px 0 23px;
}

.home-page .home-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  color: #c8d8df;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.home-page .home-trust-list li {
  position: relative;
  padding-left: 16px;
}

.home-page .home-trust-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66d2c2;
  transform: translateY(-50%);
}

.home-page .home-scope-visual {
  position: relative;
  padding: 3px 0 0 30px;
}

.home-page .home-scope-visual::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(102, 210, 194, 0),
    rgba(102, 210, 194, 0.74) 18%,
    rgba(102, 210, 194, 0.32) 82%,
    rgba(102, 210, 194, 0)
  );
}

.home-page .home-scope-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(193, 218, 223, 0.2);
}

.home-page .home-scope-label {
  margin: 0;
  color: #91aeb9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .home-scope-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #b7d2d4;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.home-page .home-scope-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66d2c2;
  box-shadow: 0 0 0 4px rgba(102, 210, 194, 0.08);
}

.home-page .home-scope-module {
  position: relative;
  min-height: 106px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 38px 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(193, 218, 223, 0.17);
}

.home-page .home-scope-number {
  color: #688896;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.home-page .home-scope-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 210, 194, 0.28);
  color: #66d2c2;
  background: rgba(10, 44, 61, 0.5);
}

.home-page .home-scope-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .home-scope-module h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.home-page .home-scope-module p {
  margin: 0;
  color: #9fb7c1;
  font-size: 0.78rem;
  line-height: 1.52;
}

.home-page .home-scope-footer {
  margin: 0;
  padding-top: 19px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #b7cbd2;
  font-size: 0.76rem;
}

.home-page .home-scope-footer svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: #66d2c2;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.home-page .home-tools {
  padding-top: 84px;
  padding-bottom: 88px;
}

.home-page .home-section-intro {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.home-page .home-product-grid {
  gap: 20px;
}

.home-page .home-product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-color: #d5e1e5;
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.055);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-page .home-product-card::before {
  display: none;
}

.home-page .home-product-card:hover,
.home-page .home-product-card:focus-within {
  border-color: #a9cbc8;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.09);
  transform: translateY(-2px);
}

.home-page .home-product-card-public {
  background: linear-gradient(155deg, #ffffff 38%, #f0f8f6 100%);
}

.home-page .home-card-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid #c9dfdf;
  border-radius: 12px;
  background: #eef8f6;
  color: #1f756d;
}

.home-page .home-card-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .home-product-kicker {
  margin-bottom: 8px;
  color: #2f7d68;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.home-page .home-product-card h3 {
  margin-bottom: 13px;
  font-size: 1.28rem;
}

.home-page .home-product-card > p:not(.home-product-kicker):not(.home-product-output) {
  margin-bottom: 24px;
}

.home-page .home-product-output {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid #e1e8ec;
  color: #344256;
  font-size: 0.92rem;
  font-weight: 750;
}

.home-page .home-product-output span {
  display: block;
  margin-bottom: 3px;
  color: #748190;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .home-product-card .text-link {
  align-items: center;
  gap: 7px;
  margin-top: 15px;
}

.home-page .home-product-card .text-link span {
  transition: transform 160ms ease;
}

.home-page .home-product-card .text-link:hover span {
  transform: translateX(3px);
}

.home-page .home-overview {
  padding-top: 78px;
  padding-bottom: 78px;
  border-top: 1px solid #e2e9ed;
  border-bottom: 1px solid #e2e9ed;
}

.home-page .home-overview .section-grid {
  align-items: center;
}

.home-page .home-overview h2 {
  max-width: 520px;
}

.home-page .home-overview .lead-stack {
  font-size: 1.04rem;
}

.home-page .home-overview .lead-stack p:last-child {
  margin-bottom: 0;
}

.home-page .home-audience {
  padding-top: 82px;
  padding-bottom: 76px;
}

.home-page .home-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .home-audience-card {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.home-page .home-audience-card > span {
  display: block;
  margin-bottom: 28px;
  color: #2f7d68;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.home-page .home-audience-card h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.home-page .home-audience-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-page .home-closing-section {
  padding-top: 0;
  padding-bottom: 92px;
}

.home-page .home-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 44px;
  box-shadow: 0 18px 48px rgba(16, 26, 47, 0.15);
}

.home-page .home-final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 147, 132, 0.24), rgba(52, 147, 132, 0));
}

.home-page .home-final-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

.home-page .home-final-cta p {
  max-width: 760px;
}

.home-page .home-final-cta .button {
  flex: 0 0 auto;
}

.home-page .footer nav {
  flex-wrap: wrap;
  row-gap: 9px;
}

@media (max-width: 1040px) {
  .home-page .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 38px;
  }

  .home-page .hero h1 {
    font-size: clamp(3.1rem, 6vw, 4rem);
  }
}

@media (max-width: 900px) {
  .home-page .hero {
    min-height: auto;
  }

  .home-page .hero::before {
    inset: 44% 0 0;
    mask-image: linear-gradient(180deg, transparent, #000 35%);
  }

  .home-page .home-hero-inner {
    padding: 64px 0 66px;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-page .home-hero-copy-block {
    max-width: 720px;
  }

  .home-page .home-scope-visual {
    max-width: 620px;
    padding-left: 24px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.85rem, 8vw, 3.75rem);
  }

  .home-page .home-product-grid,
  .home-page .home-audience-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-product-card {
    min-height: auto;
  }

  .home-page .home-overview .section-grid {
    gap: 24px;
  }

  .home-page .home-audience-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .home-page .home-hero-inner {
    width: min(1160px, calc(100% - 32px));
    padding: 58px 0 64px;
  }

  .home-page .hero h1 {
    font-size: 2.5rem;
  }

  .home-page .hero-copy {
    font-size: 1.04rem;
  }

  .home-page .home-trust-list {
    display: grid;
    gap: 7px;
  }

  .home-page .hero-actions {
    display: grid;
  }

  .home-page .hero-actions .button {
    width: 100%;
  }

  .home-page .home-scope-visual {
    padding-left: 18px;
  }

  .home-page .home-scope-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-page .home-scope-module {
    grid-template-columns: 27px 40px minmax(0, 1fr);
    gap: 10px;
  }

  .home-page .home-scope-icon {
    width: 38px;
    height: 38px;
  }

  .home-page .home-tools,
  .home-page .home-overview,
  .home-page .home-audience {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .home-page .home-product-card,
  .home-page .home-audience-card {
    padding: 24px;
  }

  .home-page .home-final-cta {
    padding: 30px 24px;
  }

  .home-page .home-final-cta .button {
    width: 100%;
  }

  .home-page .home-closing-section {
    padding-bottom: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-product-card,
  .home-page .home-product-card .text-link span {
    transition: none;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.tracker-moderation-queues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #f7fafb;
}

.tracker-moderation-queue {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 5px 12px;
  border: 1px solid #d7e2e7;
  border-radius: 11px;
  padding: 15px 16px;
  background: #fff;
  color: #33445a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.tracker-moderation-queue:hover {
  border-color: #9bbfc8;
  box-shadow: 0 7px 20px rgba(21, 59, 73, 0.07);
  transform: translateY(-1px);
}

.tracker-moderation-queue.is-active,
.tracker-moderation-queue[aria-current="page"] {
  border-color: #2d7b8d;
  border-left-width: 5px;
  padding-left: 12px;
  box-shadow: 0 7px 20px rgba(21, 59, 73, 0.08);
  background: #f7fbfc;
}

.tracker-moderation-queue > span {
  color: #233349;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.25;
}

.tracker-moderation-queue > strong {
  min-width: 31px;
  color: var(--accent-strong);
  font-size: 1.25rem;
  line-height: 1;
  text-align: right;
}

.tracker-moderation-queue > small {
  grid-column: 1 / -1;
  color: #69778a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tracker-queue-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
  gap: 20px;
  align-items: center;
  padding: 17px 20px;
  border-top: 1px solid #e0e8eb;
  border-bottom: 1px solid #e0e8eb;
  background: #fff;
}

.tracker-queue-guidance strong,
.tracker-queue-guidance p,
.tracker-monitor-health span,
.tracker-monitor-health small {
  display: block;
}

.tracker-queue-guidance > div:first-child > strong {
  margin-bottom: 4px;
  color: #203349;
  font-size: 0.96rem;
}

.tracker-queue-guidance p {
  margin: 0;
  color: #627185;
  font-size: 0.86rem;
  line-height: 1.55;
}

.tracker-monitor-health {
  border-left: 1px solid #dce6e9;
  padding-left: 20px;
}

.tracker-monitor-health span {
  margin-bottom: 2px;
  color: #718094;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-monitor-health strong {
  color: #33445a;
  font-size: 0.84rem;
}

.tracker-monitor-health small {
  margin-top: 3px;
  color: #708093;
  font-size: 0.74rem;
}

.tracker-monitor-health.has-failures strong,
.tracker-monitor-health.has-failures small {
  color: #8a5513;
}

.tracker-admin-toolbar {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.tracker-admin-toolbar > label:first-child {
  grid-column: span 2;
}

.tracker-empty-state {
  border: 1px dashed #cbdadf;
  border-radius: 11px;
  padding: 25px;
  background: #f9fbfc;
  text-align: center;
}

.tracker-empty-state strong {
  display: block;
  color: #30445a;
}

.tracker-empty-state p {
  margin: 5px 0 0;
  color: #6c7a8d;
}

.tracker-admin-item {
  border-left: 5px solid #b6c7cf;
  padding: 18px 18px 18px 17px;
  box-shadow: 0 4px 15px rgba(26, 50, 65, 0.035);
}

.tracker-admin-item.public-live,
.tracker-admin-item.public-live-update {
  border-left-color: #2d7b8d;
}

.tracker-admin-item.public-historical {
  border-left-color: #8796a3;
  background: #fafbfc;
}

.tracker-public-state-banner {
  display: grid;
  gap: 3px;
  margin: -18px -18px 16px -17px;
  border-bottom: 1px solid #dce6e9;
  padding: 11px 16px;
  background: #f5f8f9;
  color: #33485e;
}

.tracker-public-state-banner strong {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tracker-public-state-banner span {
  font-size: 0.78rem;
  line-height: 1.4;
}

.tracker-public-state-banner.state-live,
.tracker-public-state-banner.state-live-update {
  border-bottom-color: #b9d9db;
  background: #edf8f6;
  color: #1e625c;
}

.tracker-public-state-banner.state-historical {
  border-bottom-color: #d7e0e5;
  background: #f1f4f6;
  color: #4c5d6c;
}

.tracker-admin-item.priority-high {
  border-left-color: #bf7616;
}

.tracker-admin-item.is-hidden {
  opacity: 0.82;
}

.tracker-admin-item.is-excluded {
  border-left-color: #667585;
  background: #f8fafb;
  opacity: 1;
}

.tracker-task-exclusion {
  margin-top: 8px !important;
  border-left: 3px solid #aebbc4;
  padding-left: 10px;
  color: #58697c !important;
  white-space: pre-line;
}

.tracker-admin-item-main {
  align-items: flex-start;
}

.tracker-task-content {
  min-width: 0;
  flex: 1 1 auto;
}

.tracker-state-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tracker-state {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border: 1px solid #d7e1e6;
  border-radius: 5px;
  padding: 3px 8px;
  background: #f7f9fa;
  color: #526276;
  font-size: 0.71rem;
  font-weight: 750;
  line-height: 1.2;
}

.tracker-state-moderation {
  border-color: #c8dedd;
  background: #f0f8f6;
  color: #286354;
}

.tracker-state-publication {
  border-color: #cbdde5;
  background: #f2f8fa;
  color: #285f70;
}

.tracker-state-lifecycle {
  background: #f5f5f7;
  color: #5c6471;
}

.tracker-state-page {
  border-color: #ddd8c9;
  background: #fbf8ef;
  color: #6c5b2e;
}

.tracker-state b {
  margin-right: 3px;
  font-weight: 850;
}

.tracker-result-group {
  display: grid;
  gap: 12px;
}

.tracker-result-group + .tracker-result-group {
  margin-top: 18px;
}

.tracker-result-group > h4,
.tracker-result-group > summary {
  margin: 0;
  border: 1px solid #d7e2e7;
  border-radius: 9px;
  padding: 11px 14px;
  background: #f7fafb;
  color: #30465d;
  font-size: 0.9rem;
  font-weight: 850;
}

.tracker-result-group > summary {
  cursor: pointer;
}

.tracker-result-group > summary span {
  margin-left: 6px;
  color: #718094;
  font-size: 0.75rem;
  font-weight: 650;
}

.tracker-result-group > div {
  display: grid;
  gap: 12px;
}

.tracker-result-group-live > h4 {
  border-color: #bdd9da;
  background: #eff8f7;
  color: #225f59;
}

.tracker-page-ownership {
  margin: 14px 0;
  border: 1px solid #c7ddd8;
  border-radius: 9px;
  padding: 13px 15px;
  background: #f1f8f6;
  color: #30594f;
}

.tracker-page-ownership.is-blocked {
  border-color: #e2c894;
  background: #fff9ed;
  color: #6f511c;
}

.tracker-page-ownership > strong {
  display: block;
  margin-bottom: 5px;
}

.tracker-page-ownership p,
.tracker-page-blocker-list {
  margin: 5px 0 0;
}

.tracker-page-blocker-list {
  padding-left: 20px;
}

.tracker-page-blocker-list li + li {
  margin-top: 5px;
}

.tracker-task-reason {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 7px !important;
  color: #30465d !important;
}

.tracker-priority-marker {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: #879ca7;
}

.priority-high .tracker-priority-marker {
  background: #c57b16;
}

.tracker-admin-item h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 8px;
  font-size: 1.03rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tracker-task-meta,
.tracker-task-changes,
.tracker-task-warning {
  line-height: 1.5;
}

.tracker-task-changes {
  margin-top: 8px !important;
  color: #4b6074 !important;
}

.tracker-task-warning {
  color: #875514 !important;
  font-weight: 750;
}

.tracker-task-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.tracker-details-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tracker-task-actions {
  width: 190px;
  flex: 0 0 190px;
  display: grid;
  justify-items: stretch;
  gap: 9px;
}

.tracker-task-actions .button {
  min-height: 44px;
  white-space: normal;
}

.tracker-task-actions small {
  color: #748295;
  font-size: 0.73rem;
  line-height: 1.4;
}

.tracker-priority-label {
  color: #68788b;
  font-size: 0.7rem;
  font-weight: 800;
}

.priority-high .tracker-priority-label {
  color: #92590d;
}

.tracker-admin-editor {
  padding: 24px;
  scroll-margin-top: 90px;
}

.tracker-admin-editor.has-unsaved-changes {
  border-color: #c6913e;
  box-shadow: 0 0 0 2px rgba(198, 145, 62, 0.12);
}

.tracker-workspace-header {
  align-items: flex-start;
  margin-bottom: 18px !important;
}

.tracker-workspace-header > div {
  min-width: 0;
}

.tracker-workspace-header h3 {
  max-width: 850px;
  margin: 4px 0 5px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.tracker-workspace-header p {
  margin: 0;
  color: #68778a;
}

.tracker-workspace-eyebrow,
.tracker-unsaved-state {
  display: inline-flex;
  color: #2d7163;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracker-unsaved-state {
  margin-top: 8px;
  border-radius: 4px;
  padding: 4px 7px;
  background: #fff3da;
  color: #8a570e;
  letter-spacing: 0;
  text-transform: none;
}

.tracker-work-task {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d5e2e5;
  border-left: 5px solid #789ba5;
  border-radius: 10px;
  background: #f8fbfc;
}

.tracker-work-task.priority-high {
  border-left-color: #c57b16;
  background: #fffaf2;
}

.tracker-work-task > div {
  padding: 15px 17px;
}

.tracker-work-task > div + div {
  border-left: 1px solid #dce6e9;
}

.tracker-work-task span,
.tracker-work-task strong {
  display: block;
}

.tracker-work-task span,
.tracker-state-summary span,
.tracker-section-heading span,
.tracker-decision-summary > span {
  margin-bottom: 4px;
  color: #728093;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracker-work-task strong {
  color: #273a50;
  font-size: 0.92rem;
}

.tracker-work-task p {
  margin: 4px 0 0;
  color: #657489;
  font-size: 0.8rem;
  line-height: 1.48;
}

.tracker-exclusion-current {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 14px;
  border: 1px solid #cfd9df;
  border-left: 5px solid #667585;
  border-radius: 10px;
  padding: 16px 18px;
  background: #f7f9fa;
}

.tracker-exclusion-current span {
  display: block;
  margin-bottom: 4px;
  color: #6e7c8d;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracker-exclusion-current h4,
.tracker-exclusion-current p,
.tracker-exclusion-current dl,
.tracker-exclusion-current dd {
  margin: 0;
}

.tracker-exclusion-current h4 {
  color: #2e4054;
  font-size: 1rem;
}

.tracker-exclusion-current p,
.tracker-exclusion-current dd {
  margin-top: 5px;
  color: #5c6b7d;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.tracker-exclusion-current .tracker-exclusion-change {
  margin-top: 12px;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff2d9;
  color: #80510f;
}

.tracker-exclusion-current dl {
  display: grid;
  gap: 10px;
}

.tracker-exclusion-current dl > div {
  border-left: 1px solid #d5dee3;
  padding-left: 14px;
}

.tracker-exclusion-current dt {
  color: #34475b;
  font-size: 0.72rem;
  font-weight: 850;
}

.tracker-exclusion-lock {
  margin: 0;
  align-self: center;
  color: #667587;
  font-size: 0.8rem;
}

.tracker-admin-editor-actions .button-secondary {
  border-color: #b8c8cf;
  background: #fff;
  color: #2c3d50;
  box-shadow: 0 1px 2px rgba(24, 48, 61, 0.05);
}

.tracker-admin-editor-actions .button-secondary:hover:not(:disabled) {
  border-color: #5f8994;
  background: #f4f9fa;
  color: #0b5669;
}

.tracker-admin-editor-actions .button-secondary:focus-visible {
  outline: 3px solid rgba(19, 108, 130, 0.22);
  outline-offset: 2px;
}

.tracker-admin-editor-actions .button-secondary:disabled {
  border-color: #ccd7dc;
  background: #f4f6f7;
  color: #687687;
  opacity: 0.72;
  box-shadow: none;
}

.tracker-exclusion-action {
  border-color: #9aa8b2;
  color: #495b6e;
}

.tracker-exclusion-dialog,
.tracker-slug-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid #cbd8dd;
  border-radius: 13px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(18, 40, 53, 0.24);
}

.tracker-exclusion-dialog::backdrop,
.tracker-slug-dialog::backdrop {
  background: rgba(17, 35, 46, 0.56);
  backdrop-filter: blur(2px);
}

.tracker-exclusion-form,
.tracker-slug-form {
  display: grid;
  gap: 17px;
  padding: 22px;
}

.tracker-slug-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.tracker-slug-control .button {
  min-height: 48px;
  white-space: nowrap;
}

.tracker-slug-current {
  display: grid;
  gap: 5px;
  border: 1px solid #d5e1e5;
  border-radius: 9px;
  padding: 13px 14px;
  background: #f7fafb;
  overflow-wrap: anywhere;
}

.tracker-slug-current span {
  color: #6d7c8e;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-slug-current strong {
  color: #21354b;
  font-size: 0.94rem;
}

@media (max-width: 700px) {
  .tracker-slug-control {
    grid-template-columns: 1fr;
  }

  .tracker-slug-control .button {
    justify-self: start;
  }
}

.tracker-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1px solid #dce5e9;
  padding-bottom: 15px;
}

.tracker-dialog-header span {
  display: block;
  margin-bottom: 4px;
  color: #6d7c8e;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracker-dialog-header h3,
.tracker-dialog-consequence {
  margin: 0;
}

.tracker-dialog-header h3 {
  color: #21354b;
  font-size: 1.25rem;
}

.tracker-dialog-consequence {
  border-left: 4px solid #6d7d89;
  border-radius: 5px;
  padding: 11px 13px;
  background: #f4f7f8;
  color: #536477;
  font-size: 0.84rem;
  line-height: 1.5;
}

.tracker-exclusion-form .field small {
  display: block;
  margin-top: 5px;
  color: #718094;
  font-size: 0.73rem;
}

.tracker-activity-detail {
  margin-top: 6px !important;
  color: #586a7d !important;
  line-height: 1.48;
  white-space: pre-line;
}

.tracker-activity-detail strong {
  display: inline !important;
  color: #405468 !important;
  font-size: inherit !important;
}

.tracker-state-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid #dce5e9;
  border-radius: 10px;
  background: #fff;
}

.tracker-state-summary > div {
  min-width: 0;
  padding: 13px 14px;
}

.tracker-state-summary > div + div {
  border-left: 1px solid #e1e8eb;
}

.tracker-state-summary span,
.tracker-state-summary strong,
.tracker-state-summary small {
  display: block;
}

.tracker-state-summary strong {
  overflow-wrap: anywhere;
  color: #33465c;
  font-size: 0.82rem;
}

.tracker-state-summary small {
  margin-top: 3px;
  color: #778597;
  font-size: 0.7rem;
  line-height: 1.35;
}

.tracker-workspace-tabs {
  position: sticky;
  z-index: 4;
  top: 82px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 20px -24px 0;
  border-top: 1px solid #dbe4e8;
  border-bottom: 1px solid #dbe4e8;
  padding: 8px 24px;
  background: rgba(248, 251, 252, 0.97);
  backdrop-filter: blur(8px);
}

.tracker-workspace-tabs button {
  min-height: 42px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 12px;
  background: transparent;
  color: #5d6c80;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.tracker-workspace-tabs button:hover {
  background: #fff;
  color: var(--accent-strong);
}

.tracker-workspace-tabs button.is-active {
  border-color: #cbdde2;
  background: #fff;
  color: var(--accent-strong);
  box-shadow: 0 3px 10px rgba(23, 53, 68, 0.06);
}

.tracker-workspace-tabs button strong {
  min-width: 20px;
  border-radius: 999px;
  padding: 2px 6px;
  background: #e9f2f4;
  color: #245f70;
  font-size: 0.68rem;
  text-align: center;
}

.tracker-workspace-panel {
  padding-top: 22px;
}

.tracker-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tracker-section-heading.compact {
  margin-bottom: 11px;
}

.tracker-section-heading h4,
.tracker-section-heading p {
  margin: 0;
}

.tracker-section-heading h4 {
  color: #22364d;
  font-size: 1.08rem;
}

.tracker-section-heading p {
  margin-top: 4px;
  color: #69778a;
  font-size: 0.85rem;
}

.tracker-fact-diff {
  margin-bottom: 22px;
  border: 1px solid #d8e4e8;
  border-radius: 11px;
  padding: 16px;
  background: #f8fbfc;
}

.tracker-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tracker-diff-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe4e8;
  border-radius: 9px;
  background: #fff;
}

.tracker-diff-card > header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e3eaed;
  padding: 9px 11px;
  background: #fbfcfd;
}

.tracker-diff-card > header strong {
  color: #34465b;
  font-size: 0.79rem;
}

.tracker-diff-card > header span {
  color: #718094;
  font-size: 0.66rem;
  font-weight: 750;
}

.tracker-diff-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tracker-diff-values > div {
  min-width: 0;
  padding: 10px 11px;
}

.tracker-diff-values > div + div {
  border-left: 1px solid #e1e8eb;
  background: #f3fafb;
}

.tracker-diff-values span {
  display: block;
  margin-bottom: 5px;
  color: #788697;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tracker-diff-values p {
  max-height: 130px;
  overflow: auto;
  margin: 0;
  color: #3d4f64;
  font-size: 0.76rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tracker-technical-changes {
  margin-top: 11px;
  border-top: 1px solid #dbe5e8;
  padding-top: 10px;
  color: #657489;
  font-size: 0.75rem;
}

.tracker-technical-changes summary {
  color: #52677b;
  font-weight: 800;
  cursor: pointer;
}

.tracker-technical-changes p {
  overflow-wrap: anywhere;
}

.tracker-diff-empty {
  margin-bottom: 20px;
}

.tracker-override-badge {
  display: inline-flex;
  margin-left: 5px;
  border-radius: 4px;
  padding: 2px 5px;
  background: #f0ecf8;
  color: #66528f;
  font-size: 0.65rem;
  font-weight: 800;
}

.tracker-decision-summary {
  border: 1px solid #cddfe3;
  border-radius: 10px;
  padding: 14px 15px;
  background: #f3f9fa;
}

.tracker-decision-summary p {
  margin: 0 0 4px;
  color: #314b5d;
  font-weight: 750;
}

.tracker-decision-summary small {
  color: #68798b;
}

.tracker-admin-editor-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  gap: 12px;
  margin: 4px -24px -24px;
  border-top: 1px solid #dbe4e8;
  padding: 15px 24px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}

.tracker-admin-editor-actions .button {
  min-height: 44px;
}

.tracker-admin-warning ul {
  margin: 7px 0 0;
  padding-left: 18px;
}

.tracker-ai-label {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid #c5dce3;
  border-radius: 4px;
  padding: 3px 7px;
  background: #fff;
  color: #2f6675;
  font-size: 0.68rem;
  font-weight: 800;
}

.tracker-activity {
  margin-top: 24px;
  border-top: 1px solid #dce6e9;
  padding-top: 20px;
}

.tracker-activity ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracker-activity li {
  position: relative;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 17px 17px;
  border-left: 2px solid #c5d8dc;
}

.tracker-activity li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #568a94;
}

.tracker-activity li > span {
  color: #6d7c8f;
  font-size: 0.74rem;
  font-weight: 750;
}

.tracker-activity li strong {
  display: block;
  color: #35485d;
  font-size: 0.82rem;
}

.tracker-activity li p {
  margin: 3px 0 0;
  color: #758296;
  font-size: 0.73rem;
}

.tracker-canonical-panel,
.tracker-record-page-admin {
  margin-top: 0;
}

.tracker-canonical-candidate > div:first-child > span {
  text-transform: none;
}

.tracker-candidate-comparison {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin: 10px 0 !important;
}

.tracker-candidate-comparison > div {
  min-width: 0;
  border: 1px solid #dce6e6;
  border-radius: 8px;
  padding: 10px;
  background: #f9fbfb;
}

.tracker-candidate-comparison span,
.tracker-candidate-comparison strong,
.tracker-candidate-comparison small {
  display: block;
}

.tracker-candidate-comparison span {
  margin-bottom: 5px;
  color: #718091;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tracker-candidate-comparison strong {
  color: #35495b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.tracker-candidate-comparison small {
  margin: 5px 0 0;
  color: #748293;
  font-size: 0.67rem;
}

.tracker-candidate-note {
  margin-top: 11px;
}

.tracker-candidate-note textarea {
  min-height: 76px;
}

.tracker-record-page-admin {
  border-top: 0;
  padding-top: 0;
}

.tracker-record-page-admin > .summary-header {
  margin-bottom: 12px;
}

.tracker-page-section {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 0;
  border-top: 1px solid #dce6e9;
  padding: 22px 0 4px;
}

.tracker-page-section:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.tracker-page-section > legend {
  padding: 0 10px 0 0;
  color: #2c4258;
  font-size: 0.92rem;
  font-weight: 850;
}

.tracker-field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.tracker-entity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tracker-entity-choice {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d8e3e7;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fbfcfd;
  color: #45586d;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.tracker-entity-choice:has(input:checked) {
  border-color: #72a6b0;
  background: #f0f8f8;
  color: #285e69;
}

.tracker-entity-choice input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
}

.tracker-moderation-queue:focus-visible,
.tracker-details-button:focus-visible,
.tracker-result-group > summary:focus-visible,
.tracker-workspace-tabs button:focus-visible,
.tracker-admin-editor button:focus-visible,
.tracker-admin-editor a:focus-visible {
  outline: 3px solid rgba(24, 112, 135, 0.33);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .tracker-moderation-queues,
  .tracker-diff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-admin-toolbar,
  .tracker-state-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-state-summary > div:nth-child(3) {
    border-top: 1px solid #e1e8eb;
    border-left: 0;
  }

  .tracker-state-summary > div:nth-child(4) {
    border-top: 1px solid #e1e8eb;
  }
}

@media (max-width: 720px) {
  .tracker-moderation-queues,
  .tracker-admin-toolbar,
  .tracker-queue-guidance,
  .tracker-work-task,
  .tracker-state-summary,
  .tracker-diff-grid,
  .tracker-diff-values,
  .tracker-candidate-comparison {
    grid-template-columns: 1fr;
  }

  .tracker-admin-toolbar > label:first-child {
    grid-column: auto;
  }

  .tracker-exclusion-current {
    grid-template-columns: 1fr;
  }

  .tracker-exclusion-current dl > div {
    border-left: 0;
    border-top: 1px solid #d5dee3;
    padding: 10px 0 0;
  }

  .tracker-entity-grid {
    grid-template-columns: 1fr;
  }

  .tracker-moderation-queues,
  .tracker-admin-list {
    padding: 14px;
  }

  .tracker-queue-guidance {
    gap: 12px;
    padding: 15px;
  }

  .tracker-monitor-health {
    border-top: 1px solid #dce6e9;
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
  }

  .tracker-admin-item-main {
    display: grid;
  }

  .tracker-task-actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .tracker-work-task > div + div,
  .tracker-state-summary > div + div,
  .tracker-state-summary > div:nth-child(3),
  .tracker-state-summary > div:nth-child(4),
  .tracker-diff-values > div + div {
    border-top: 1px solid #dce6e9;
    border-left: 0;
  }

  .tracker-admin-editor {
    padding: 18px;
  }

  .tracker-workspace-tabs {
    top: 70px;
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .tracker-admin-editor-actions {
    position: static;
    margin: 4px -18px -18px;
    padding: 14px 18px;
  }

  .tracker-admin-editor-actions .action-cluster,
  .tracker-admin-editor-actions .button {
    width: 100%;
  }

  .tracker-section-heading {
    display: grid;
  }

  .tracker-activity li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.tracker-page {
  background: #f7fafb;
}

.tracker-page main {
  background: #f7fafb;
}

.tracker-page .tracker-shell {
  width: min(1280px, calc(100% - 56px));
}

.tracker-skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  translate: 0 -180%;
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.tracker-skip-link:focus {
  translate: 0;
}

.tracker-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tracker-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  color: #667588;
  font-size: 0.82rem;
  font-weight: 750;
}

.tracker-breadcrumbs a {
  color: var(--accent-strong);
  text-decoration: none;
}

.tracker-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tracker-page .tracker-hero {
  border-bottom: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 126, 145, 0.12), transparent 29rem),
    #f7fafb;
}

.tracker-page .tracker-hero .tracker-shell {
  padding: 30px 0 44px;
}

.tracker-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.tracker-hero-copy {
  min-width: 0;
}

.tracker-page .tracker-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  letter-spacing: -0.035em;
  line-height: 1.01;
}

.tracker-page .tracker-lead {
  max-width: 790px;
  color: #46576a;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.tracker-data-status {
  border: 1px solid #bfd5da;
  border-radius: 14px;
  padding: 22px 23px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 43, 54, 0.07);
}

.tracker-data-status > strong,
.tracker-data-status > span,
.tracker-data-status > small {
  display: block;
}

.tracker-data-status-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.tracker-data-status-label span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e8a76;
  box-shadow: 0 0 0 4px rgba(46, 138, 118, 0.12);
}

.tracker-data-status > strong {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.tracker-data-status > p:not(.tracker-data-status-label) {
  margin: 8px 0 10px;
  color: #536477;
  font-size: 0.9rem;
  line-height: 1.55;
}

.tracker-data-assurance {
  margin-top: 11px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.tracker-data-assurance::before {
  content: "✓";
  margin-right: 7px;
  color: #2e8a76;
}

.tracker-data-status small {
  margin-top: 12px;
  border-top: 1px solid #dbe6e9;
  padding-top: 11px;
  color: #708093;
  font-size: 0.75rem;
  line-height: 1.45;
}

.tracker-page .tracker-overview {
  border-block: 1px solid #d7e3e6;
  background: #fff;
}

.tracker-page .tracker-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tracker-page .tracker-metric {
  min-height: 94px;
  padding: 19px 25px;
  border-right: 1px solid #dce6e9;
  color: inherit;
  text-decoration: none;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.tracker-page .tracker-metric:first-child {
  border-left: 1px solid #dce6e9;
}

.tracker-page .tracker-metric:hover {
  background: #f3f9fa;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.tracker-page .tracker-metric span {
  color: #657487;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.tracker-page .tracker-metric strong {
  margin-top: 5px;
  font-size: 1.45rem;
}

.tracker-page .tracker-workspace {
  padding: 58px 0 88px;
  background: #fff;
}

.tracker-page .tracker-workspace-head {
  display: block;
  margin-bottom: 24px;
}

.tracker-page .tracker-workspace-head h2 {
  max-width: 820px;
  margin: 0 0 9px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.tracker-page .tracker-workspace-head > div > p:not(.eyebrow) {
  max-width: 760px;
  color: #607084;
}

.tracker-search-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.tracker-search-box {
  position: relative;
  min-width: 0;
}

.tracker-search-box svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  translate: 0 -50%;
  color: #718194;
  pointer-events: none;
}

.tracker-search-box input,
.tracker-sort-control select,
.tracker-page .tracker-filter-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #bccfd4;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.tracker-search-box input {
  height: 100%;
  padding: 12px 16px 12px 49px;
  font-size: 1rem;
}

.tracker-search-box input::placeholder {
  color: #758396;
}

.tracker-sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  color: #59697c;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.tracker-sort-control select {
  min-width: 186px;
  padding: 10px 36px 10px 12px;
  font-weight: 700;
}

.tracker-filter-toggle {
  display: none;
  min-height: 50px;
  padding-inline: 17px;
  border-color: #b8ccd1;
  color: var(--accent-strong);
}

.tracker-page .tracker-quick-views {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tracker-page .tracker-quick-views button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #c6d7db;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: #425568;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
}

.tracker-page .tracker-quick-views button > span {
  display: inline-grid;
  min-width: 23px;
  min-height: 23px;
  place-items: center;
  border-radius: 999px;
  padding-inline: 5px;
  background: #edf3f5;
  color: #516375;
  font-size: 0.72rem;
  line-height: 1;
}

.tracker-page .tracker-quick-views button:hover {
  border-color: #76a8b3;
  background: #f4f9fa;
}

.tracker-page .tracker-quick-views button.is-active,
.tracker-page .tracker-quick-views button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.tracker-page .tracker-quick-views button.is-active > span,
.tracker-page .tracker-quick-views button[aria-pressed="true"] > span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.tracker-page .tracker-layout {
  grid-template-columns: minmax(235px, 265px) minmax(0, 1fr);
  gap: 26px;
}

.tracker-page .tracker-filters {
  position: sticky;
  top: 92px;
  display: block;
  border: 1px solid #d5e2e5;
  border-radius: 12px;
  padding: 18px;
  background: #f9fbfc;
  box-shadow: 0 10px 28px rgba(16, 43, 54, 0.035);
}

.tracker-page .tracker-filter-head {
  margin-bottom: 16px;
}

.tracker-page .tracker-filter-head strong {
  font-size: 0.96rem;
}

.tracker-page .tracker-filter-head button {
  min-height: 30px;
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tracker-filter-fields,
.tracker-advanced-filter-fields {
  display: grid;
  gap: 14px;
}

.tracker-page .tracker-filter-field label {
  display: block;
  margin: 0 0 6px;
  color: #425568;
  font-size: 0.76rem;
  font-weight: 850;
}

.tracker-page .tracker-filter-field select {
  min-height: 44px;
  padding: 9px 34px 9px 10px;
  font-size: 0.86rem;
}

.tracker-more-filters {
  margin-top: 17px;
  border-top: 1px solid #dce6e9;
  padding-top: 14px;
}

.tracker-more-filters summary {
  min-height: 34px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.tracker-advanced-filter-fields {
  padding-top: 12px;
}

.tracker-page .tracker-results-toolbar {
  min-height: 35px;
  margin: 0 0 12px;
}

.tracker-page #tracker-result-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 850;
}

.tracker-page .tracker-active-filters {
  gap: 6px;
  margin-top: 8px;
}

.tracker-page .tracker-active-filters button {
  min-height: 30px;
  border: 1px solid #b8d1d6;
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf7f8;
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 780;
  cursor: pointer;
}

.tracker-page .tracker-results {
  gap: 14px;
}

.tracker-page .tracker-item {
  position: relative;
  border: 1px solid #d7e2e5;
  border-left: 4px solid #d7e2e5;
  border-radius: 12px;
  padding: 23px 24px 21px;
  background: #fff;
  box-shadow: 0 9px 27px rgba(16, 43, 54, 0.045);
  transition: border-color 150ms ease, box-shadow 150ms ease, translate 150ms ease;
}

.tracker-page .tracker-item:hover {
  border-color: #a9c5cb;
  border-left-color: #6b9faa;
  box-shadow: 0 13px 32px rgba(16, 43, 54, 0.075);
  translate: 0 -1px;
}

.tracker-page .tracker-item.has-approved-update {
  border-left-color: #2f7f8f;
}

.tracker-page .tracker-item.has-urgent-deadline {
  border-left-color: #c67c12;
}

.tracker-item-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.tracker-page .tracker-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #596a7c;
  font-size: 0.74rem;
  font-weight: 800;
}

.tracker-page .tracker-item-meta > span:not(:first-child)::before {
  content: none;
  margin: 0;
}

.tracker-page .tracker-source,
.tracker-page .tracker-item-type,
.tracker-page .tracker-status {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.15;
}

.tracker-page .tracker-source {
  border-color: #c8dde1;
  background: #eaf4f5;
  color: #07586b;
}

.tracker-page .tracker-item-type {
  border-color: #dde5e8;
  background: #f5f7f8;
  color: #566779;
}

.tracker-page .tracker-status {
  border-color: #d8e0e5;
  background: #f5f7f9;
  color: #526274;
}

.tracker-page .tracker-status-open {
  border-color: #ead7b5;
  background: #fff7e7;
  color: #875a11;
}

.tracker-page .tracker-status-current {
  border-color: #c9ddd8;
  background: #edf7f4;
  color: #236858;
}

.tracker-item-updated {
  flex: 0 0 auto;
  color: #2d7180;
  font-size: 0.75rem;
  font-weight: 820;
  white-space: nowrap;
}

.tracker-page .tracker-item h3 {
  max-width: 980px;
  margin: 13px 0 8px;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  letter-spacing: -0.01em;
  line-height: 1.34;
}

.tracker-page .tracker-item h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tracker-page .tracker-date-row {
  gap: 8px;
  min-height: 0;
  color: #667589;
  font-size: 0.8rem;
  font-weight: 680;
}

.tracker-page .tracker-date-row span + span::before {
  content: "•";
  margin-right: 8px;
  color: #a0aeb8;
}

.tracker-page .tracker-deadline {
  color: #8c5a0c;
}

.tracker-page .tracker-deadline strong {
  font-weight: 850;
}

.tracker-page .tracker-item > p:not(.tracker-impact-line) {
  max-width: 950px;
  margin: 13px 0;
  color: #4f6073;
  font-size: 0.93rem;
  line-height: 1.62;
}

.tracker-impact-line {
  display: grid;
  grid-template-columns: minmax(130px, 155px) minmax(0, 1fr);
  gap: 14px;
  max-width: 950px;
  margin: 14px 0;
  border-left: 3px solid #87b4bd;
  padding: 10px 13px;
  background: #f5fafb;
  color: #4b5d70;
  font-size: 0.84rem;
  line-height: 1.5;
}

.tracker-impact-line strong {
  color: var(--accent-strong);
}

.tracker-page .tracker-chip-row {
  gap: 6px;
  margin-top: 13px;
}

.tracker-page .tracker-chip {
  border-color: #d8e2e5;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f8fafb;
  color: #526274;
  font-size: 0.71rem;
  font-weight: 750;
}

.tracker-page .tracker-chip-legal {
  border-color: #c8dcdf;
  background: #eef7f8;
  color: #195f6d;
}

.tracker-page .tracker-chip-more {
  background: #fff;
  color: #6a7888;
}

.tracker-page .tracker-item-actions {
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid #e2e9eb;
  padding-top: 16px;
}

.tracker-page .tracker-item-links {
  justify-content: flex-start;
  gap: 10px 16px;
}

.tracker-page .tracker-record-link.button,
.tracker-page .tracker-source-link-primary.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
}

.tracker-page .tracker-record-link.button:hover,
.tracker-page .tracker-source-link-primary.button:hover {
  color: #fff;
  text-decoration: none;
}

.tracker-page .tracker-source-link:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-strong);
  font-size: 0.81rem;
  font-weight: 850;
}

.tracker-page .tracker-empty {
  border-color: #adc8ce;
  padding: 44px 24px;
  background: #f8fbfc;
}

.tracker-page .tracker-load-more {
  display: block;
  min-height: 46px;
  margin: 22px auto 0;
  border-color: #9fbfc6;
  color: var(--accent-strong);
}

.tracker-page .tracker-notice {
  border-radius: 0 8px 8px 0;
}

.tracker-page .tracker-search-box input:focus,
.tracker-page .tracker-sort-control select:focus,
.tracker-page .tracker-filter-field select:focus,
.tracker-page .tracker-quick-views button:focus-visible,
.tracker-page .tracker-filter-head button:focus-visible,
.tracker-page .tracker-active-filters button:focus-visible,
.tracker-page .tracker-item h3 a:focus-visible,
.tracker-page .tracker-item-links a:focus-visible,
.tracker-page .tracker-metric:focus-visible,
.tracker-page .tracker-filter-toggle:focus-visible,
.tracker-page .tracker-load-more:focus-visible,
.tracker-breadcrumbs a:focus-visible {
  outline: 3px solid rgba(21, 94, 117, 0.34);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .tracker-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
    gap: 34px;
  }

  .tracker-search-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tracker-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tracker-sort-control {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .tracker-sort-control select {
    width: auto;
  }

  .tracker-page .tracker-layout {
    grid-template-columns: 1fr;
  }

  .tracker-page .tracker-filters {
    position: static;
  }

  .tracker-page.tracker-enhanced .tracker-filters:not(.is-open) {
    display: none;
  }

  .tracker-filter-fields,
  .tracker-advanced-filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-more-filters {
    grid-column: 1 / -1;
  }
}

@media (max-width: 740px) {
  .tracker-page .tracker-shell {
    width: min(100% - 32px, 1280px);
  }

  .tracker-breadcrumbs {
    padding-top: 18px;
  }

  .tracker-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tracker-page .tracker-hero .tracker-shell {
    padding: 24px 0 36px;
  }

  .tracker-data-status {
    max-width: none;
  }

  .tracker-page .tracker-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-page .tracker-metric:nth-child(odd) {
    border-left: 1px solid #dce6e9;
  }

  .tracker-page .tracker-metric:nth-child(-n + 2) {
    border-bottom: 1px solid #dce6e9;
  }

  .tracker-page .tracker-workspace {
    padding: 48px 0 68px;
  }

  .tracker-page .tracker-item-topline {
    display: grid;
    gap: 9px;
  }

  .tracker-item-updated {
    white-space: normal;
  }

  .tracker-page .tracker-item-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tracker-page .tracker-item-links {
    justify-content: flex-start;
  }

  .tracker-impact-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .tracker-page .tracker-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .tracker-search-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tracker-filter-toggle {
    padding-inline: 13px;
  }

  .tracker-sort-control {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .tracker-sort-control select {
    width: 100%;
  }

  .tracker-filter-fields,
  .tracker-advanced-filter-fields {
    grid-template-columns: 1fr;
  }

  .tracker-page .tracker-item {
    padding: 19px 17px 18px;
  }

  .tracker-page .tracker-item-links,
  .tracker-page .tracker-record-link.button,
  .tracker-page .tracker-source-link-primary.button {
    width: 100%;
  }

  .tracker-page .tracker-source-link:not(.button) {
    justify-content: center;
    width: 100%;
  }

  .tracker-page .tracker-item dl div {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}
