:root {
  color-scheme: light;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --bg: #f6f7f1;
  --surface: #ffffff;
  --surface-muted: #eef1e6;
  --text: #14160e;
  --text-muted: #5c6154;
  --line: #e4e7db;
  --line-strong: #cdd2c0;
  --green: #4c7a0c;
  --green-dark: #3c6209;
  --green-soft: #eaf7c6;
  --blue: #4c7a0c;
  --blue-soft: #eaf7c6;
  --gold: #a98400;
  --gold-soft: #f3efc7;
  --red: #d23b2b;
  --red-soft: #fbe7e3;
  --brand: #9be015;
  --brand-ink: #1b2708;
  --focus: #4c7a0c;
  --shadow: 0 1px 2px rgba(30, 40, 15, .05), 0 12px 28px rgba(30, 40, 15, .08);
  --topbar-height: 68px;
  --sidebar-width: 286px;
  --radius: 12px;
}

body.dark-mode {
  color-scheme: dark;
  --bg: #101208;
  --surface: #171a0e;
  --surface-muted: #1f2313;
  --text: #eef0df;
  --text-muted: #9aa085;
  --line: #262b18;
  --line-strong: #3a4124;
  --green: #c4f55b;
  --green-dark: #d3ff78;
  --green-soft: #26310f;
  --blue: #c4f55b;
  --blue-soft: #26310f;
  --gold: #e4b94a;
  --gold-soft: #2e2810;
  --red: #f0897b;
  --red-soft: #3a1e18;
  --brand: #b6f23a;
  --brand-ink: #16200a;
  --focus: #c4f55b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 34px rgba(0, 0, 0, .4);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.auth-pending {
  overflow: hidden;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--focus);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: #101208;
  color: #ffffff;
}

.auth-mark {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

.auth-loader {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.auth-screen p {
  margin: 0;
  color: #9aa085;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--topbar-height);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 620px) minmax(300px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.brand-name {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.brand-office {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.brand-divider {
  width: 1px;
  height: 20px;
  margin: 0 12px;
  background: var(--line);
}

.brand-section {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.global-search {
  position: relative;
  display: flex;
  align-items: center;
}

.global-search input {
  width: 100%;
  height: 42px;
  padding: 0 58px 0 42px;
  color: var(--text);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.global-search input::placeholder {
  color: var(--text-muted);
}

.global-search input:focus {
  background: var(--surface);
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
}

.search-icon {
  position: absolute;
  left: 15px;
  z-index: 1;
  color: var(--text-muted);
}

.global-search kbd {
  position: absolute;
  right: 10px;
  padding: 2px 6px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 11px;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(520px, calc(100vh - 100px));
  overflow-y: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-summary {
  padding: 8px 10px 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.search-result {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.search-result:hover,
.search-result[aria-selected="true"] {
  background: var(--surface-muted);
}

.search-result-type {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.search-result p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.search-result mark {
  color: inherit;
  background: var(--gold-soft);
}

.search-empty {
  padding: 22px 14px;
  color: var(--text-muted);
  text-align: center;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-button {
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.language-button.is-active {
  color: #ffffff;
  background: var(--green);
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.icon-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.mobile-menu-button {
  display: none;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 190px;
}

.user-avatar {
  display: grid;
  flex: 0 0 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.user-email {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace {
  min-height: 100vh;
  padding-top: var(--topbar-height);
}

.sidebar {
  position: fixed;
  inset: var(--topbar-height) auto 0 0;
  z-index: 70;
  width: var(--sidebar-width);
  overflow-y: auto;
  padding: 24px 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.sidebar-intro {
  padding: 0 6px 18px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.08;
}

.sidebar-intro p:last-child {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.progress-block {
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.progress-copy strong {
  color: var(--text);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: var(--surface-muted);
  border-radius: 3px;
}

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

.module-nav {
  padding: 12px 0;
}

.module-nav-link {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 6px;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 5px 5px 0;
}

.module-nav-link:hover,
.module-nav-link.is-current {
  color: var(--text);
  background: var(--surface-muted);
  border-left-color: var(--green);
}

.module-nav-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.module-nav-title {
  font-size: 12px;
  font-weight: 600;
}

.module-nav-check {
  color: var(--green);
  font-size: 12px;
  opacity: 0;
}

.module-nav-link.is-complete .module-nav-check {
  opacity: 1;
}

.sidebar-footer {
  display: grid;
  gap: 6px;
  padding: 14px 6px 0;
  border-top: 1px solid var(--line);
}

.sidebar-resource {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-resource:hover {
  color: var(--green);
}

.main-content {
  width: min(1180px, calc(100% - var(--sidebar-width)));
  margin-left: var(--sidebar-width);
  padding: 34px 40px 54px;
}

.welcome-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 2px 0 28px;
  border-bottom: 1px solid var(--line-strong);
}

.welcome-copy h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 43px);
  line-height: 1.05;
}

.welcome-copy p:last-child {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--text-muted);
}

.welcome-actions {
  display: flex;
  gap: 8px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-action {
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
}

.primary-action:hover {
  background: var(--green-dark);
}

.secondary-action {
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.secondary-action:hover {
  background: var(--blue-soft);
}

.secondary-action[aria-disabled="true"] {
  display: none;
}

.workflow-band,
.tool-directory,
.faq-section,
.glossary-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.1;
}

.section-heading p:last-child {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.workflow-step {
  position: relative;
  min-height: 94px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step::after {
  position: absolute;
  right: -6px;
  top: 42px;
  z-index: 1;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
}

.workflow-step:last-child::after {
  display: none;
}

.workflow-number {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.workflow-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tool-link {
  display: grid;
  grid-template-columns: 36px 1fr 16px;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.tool-link:hover {
  background: var(--surface-muted);
  border-color: var(--brand);
}

.tool-link[aria-disabled="true"] {
  display: none;
}

.tool-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 10px;
}

.tool-copy {
  min-width: 0;
}

.tool-copy strong,
.tool-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-copy strong {
  font-size: 13px;
}

.tool-copy span {
  color: var(--text-muted);
  font-size: 11px;
}

.tool-arrow {
  color: var(--text-muted);
  font-size: 11px;
}

.module-list {
  counter-reset: module;
}

.guide-module {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 38px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.module-rail {
  position: sticky;
  top: calc(var(--topbar-height) + 22px);
  align-self: start;
}

.module-number {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.module-rail h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.08;
}

.module-outcome {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.complete-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0 12px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.complete-button:hover {
  background: var(--green-soft);
}

.complete-button.is-complete {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.module-summary {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 16px;
}

.step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.step-copy h3 {
  margin: 0;
  font-size: 14px;
}

.step-copy p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.module-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
}

.module-note i {
  margin-top: 3px;
  color: var(--gold);
}

.module-note p {
  margin: 0;
  font-size: 13px;
}

.module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.context-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.context-link:hover {
  border-color: var(--blue);
}

.context-link[aria-disabled="true"] {
  display: none;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  padding: 12px 2px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question strong {
  font-size: 14px;
}

.faq-question i {
  color: var(--text-muted);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 820px;
  padding: 0 40px 16px 2px;
  color: var(--text-muted);
  font-size: 13px;
}

.faq-answer[hidden] {
  display: none;
}

.glossary-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.glossary-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--surface);
}

.glossary-table th,
.glossary-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.glossary-table th {
  color: var(--text-muted);
  background: var(--surface-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.glossary-table td:first-child {
  width: 26%;
  color: var(--blue);
  font-weight: 700;
}

.glossary-table tr:last-child td {
  border-bottom: 0;
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: min(360px, calc(100vw - 40px));
  padding: 11px 14px;
  color: #ffffff;
  background: #1f2313;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 14px;
  }

  .brand-divider,
  .brand-section,
  .user-email {
    display: none;
  }

  .user-chip {
    max-width: 34px;
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --topbar-height: 122px;
  }

  .topbar {
    height: var(--topbar-height);
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 54px 54px;
    padding: 6px 14px;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu-button {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
  }

  .topbar-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .user-chip {
    display: none;
  }

  .global-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .global-search kbd {
    display: none;
  }

  .sidebar {
    width: min(320px, calc(100vw - 40px));
    transform: translateX(-105%);
    transition: transform 200ms ease;
    box-shadow: var(--shadow);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: var(--topbar-height) 0 0 0;
    z-index: 60;
    background: rgba(8, 24, 32, 0.56);
  }

  .main-content {
    width: 100%;
    margin-left: 0;
    padding: 26px 22px 44px;
  }

  .welcome-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .workflow-step {
    border-bottom: 1px solid var(--line);
  }

  .workflow-step::after {
    display: none;
  }

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

  .guide-module {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .module-rail {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --topbar-height: 174px;
  }

  .topbar {
    grid-template-columns: 44px 1fr;
    grid-template-rows: 50px 50px 54px;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu-button {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }

  .global-search {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .main-content {
    padding-inline: 16px;
  }

  .welcome-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .primary-action,
  .secondary-action {
    white-space: normal;
  }

  .workflow-strip,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 70px;
  }

  .tool-copy strong,
  .tool-copy span {
    white-space: normal;
  }

  .page-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .sidebar,
  .welcome-actions,
  .complete-button,
  .toast {
    display: none !important;
  }

  .workspace {
    padding-top: 0;
  }

  .main-content {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .guide-module {
    break-inside: avoid;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}


/* ===== Acid Bento signatures ===== */
.eyebrow { font-family: var(--font-mono); letter-spacing: 0; }
.sidebar-intro h1,
.welcome-copy h2,
.section-heading h2,
.module-rail h2 { font-weight: 700; letter-spacing: 0; }
.workflow-number,
.module-nav-number,
.step-index,
.progress-copy strong,
.global-search kbd,
.page-footer,
.glossary-table th { font-family: var(--font-mono); }
.global-search input,
.primary-action,
.secondary-action { border-radius: var(--radius); }
.primary-action { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.primary-action:hover { background: var(--brand); border-color: var(--brand); filter: brightness(.96); }
.language-button.is-active { background: var(--brand); color: var(--brand-ink); }
.module-nav-link.is-current,
.module-nav-link:hover { border-left-color: var(--brand); }
.progress-track span { background: var(--brand); }
.complete-button.is-complete { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.user-avatar { background: var(--brand); color: var(--brand-ink); }
.tool-link:first-child { grid-column: span 2; }
.tool-link[data-link="manualAz"] { grid-column: 1; }
.workflow-step::after { display: none; }

@media (max-width: 560px) {
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-link:first-child {
    grid-column: auto;
  }

  .tool-copy strong,
  .tool-copy span {
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 420px) {
  .welcome-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
