:root {
  --navy-900: #0d203f;
  --navy-700: #153263;
  --primary-500: #2a64c5;
  --primary-600: #1f4f9e;
  --accent-500: #fdb61b;
  --surface: #ffffff;
  --surface-subtle: #f6f7f9;
  --surface-soft-blue: #f2f7fd;
  --text: #121f36;
  --text-secondary: #536579;
  --border: #d7e0e9;
  --focus: #8ab4ff;
}

* { box-sizing: border-box; }

html { background: var(--surface-subtle); }

html {
  scrollbar-color: #8fa4bb var(--surface-subtle);
  scrollbar-width: thin;
}

::selection {
  background: #c9dcfb;
  color: var(--navy-900);
}

body {
  margin: 0;
  background: var(--surface-subtle);
  color: var(--text);
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  caret-color: var(--primary-500);
}

a { color: inherit; }

.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;
}

.site-header {
  height: 64px;
  background: var(--navy-900);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.header-inner {
  width: min(1200px, calc(100% - 48px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  width: 96px;
  height: 48px;
  align-items: center;
}

.brand img {
  display: block;
  width: 96px;
  height: auto;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.utility-nav a {
  text-decoration: none;
}

.utility-nav a:hover { text-decoration: underline; }

.rule {
  width: 1px;
  height: 20px;
  background: rgb(255 255 255 / 32%);
}

.language {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 500 14px/20px "DM Sans", sans-serif;
}

.language svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
}

.language .chevron-down {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.hero {
  background: var(--navy-700);
  color: #fff;
}

.hero-inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

h1,
h2,
p { margin: 0; }

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
  text-align: center;
}

.search-shell {
  position: relative;
  margin-top: 12px;
}

.search-shell > .search {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(4 17 37 / 24%);
}

.search-shell > .search:focus-within {
  box-shadow: 0 0 0 4px var(--focus);
}

.search-shell > svg {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 18px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #62758b;
  stroke-width: 2;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-shell input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
}

.home-search input[type="search"] { padding-left: 52px; }

[dir="rtl"] .search-shell > svg {
  right: 18px;
  left: auto;
}

[dir="rtl"] .home-search input[type="search"] {
  padding-right: 52px;
  padding-left: 18px;
}

.search-shell input[type="search"]::placeholder { color: #6d7f93; opacity: 1; }

.search-shell input[type="search"]::placeholder {
  transition: opacity 180ms ease;
}

.search-shell input[type="search"].placeholder-is-changing::placeholder {
  opacity: 0;
}

.search-shell .clear-button {
  height: 54px;
  border: 0;
  border-radius: 0 8px 8px 0;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.button:focus-visible,
.topic-row:focus-visible,
.answer-list a:focus-visible,
.utility-nav a:focus-visible,
.language:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

.button-secondary-light {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.button-secondary-light:hover { background: rgb(255 255 255 / 8%); }

.content-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.topics { padding: 36px 0 0; }

.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.section-heading p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.topic-grid[aria-busy="true"] .topic-row {
  visibility: hidden;
}

.topic-row[hidden] { display: none; }

.topic-row {
  display: grid;
  min-width: 0;
  height: 64px;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 6%);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.topic-icon {
  display: flex;
  width: 36px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.topic-icon img {
  display: block;
  width: auto;
  max-width: 36px;
  height: auto;
  max-height: 32px;
}

.topic-row:hover {
  border-color: #aebdd0;
  box-shadow: 0 4px 12px rgb(18 34 60 / 10%);
  transform: translateY(-1px);
}

.arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--primary-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.popular { padding: 40px 0 64px; }

.home-content-end { height: 64px; }

.popular-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

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

.answer-list {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.answer-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  text-decoration: none;
}

.answer-list a:last-child { border-bottom: 0; }
.answer-list a:hover { background: var(--surface-soft-blue); }

@media (max-width: 840px) {
  .utility-nav > a,
  .utility-nav > .rule { display: none; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .header-inner,
  .hero-inner,
  .content-section { width: min(100% - 32px, 1200px); }
  .site-header,
  .header-inner { height: 56px; }
  .brand,
  .brand img { width: 88px; }
  .hero-inner { padding: 24px 0 28px; }
  h1 { font-size: 28px; line-height: 36px; letter-spacing: 0; }
  .quick-actions { justify-content: stretch; }
  .button { width: 100%; }
  .topic-grid { grid-template-columns: 1fr; }
  .popular-heading { align-items: start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .search-shell input[type="search"]::placeholder { transition: none; }
}
.category-hero {
  background: var(--navy-700);
  color: #fff;
}

.category-hero-inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e4f3;
  font-size: 14px;
  line-height: 20px;
}

.breadcrumbs a {
  color: #fff;
  text-underline-offset: 3px;
}

.breadcrumbs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.category-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.category-hero-icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.category-hero-icon img {
  display: block;
  width: auto;
  max-width: 40px;
  height: auto;
  max-height: 48px;
}

.category-title-row h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.category-title-row p {
  margin-top: 4px;
  color: #d8e4f3;
  font-size: 16px;
  line-height: 24px;
}

.category-search {
  width: min(720px, 100%);
  margin-top: 24px;
}

.category-empty {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.category-empty h2 { font-size: 20px; line-height: 28px; }
.category-empty p { margin-top: 4px; color: var(--text-secondary); }

.category-main {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.article-section-heading h2,
.support-prompt h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.article-section-heading p,
.support-prompt p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.article-section {
  padding-top: 0;
}

.article-section + .article-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.article-section-heading h2 {
  margin: 0;
}

.article-section-heading a {
  margin-top: 6px;
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.article-section-heading a:hover { text-decoration: underline; text-underline-offset: 3px; }

.category-article-list {
  overflow: hidden;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.category-article-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.category-article-list a:last-child { border-bottom: 0; }
.category-article-list a:hover { background: var(--surface-soft-blue); }

.category-article-list a:focus-visible,
.article-section-heading a:focus-visible,
.category-primary-button:focus-visible,
.breadcrumbs a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

.support-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.category-primary-button {
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.category-primary-button:hover { background: var(--primary-600); }

@media (max-width: 600px) {
  .category-hero-inner,
  .category-main { width: min(100% - 32px, 960px); }

  .category-hero-inner { padding: 16px 0 24px; }

  .category-title-row {
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
  }

  .category-hero-icon {
    width: 40px;
    height: 40px;
  }

  .category-hero-icon img { max-width: 34px; max-height: 40px; }

  .category-title-row h1 { font-size: 28px; line-height: 36px; }
  .category-search { margin-top: 20px; }
  .category-main { padding: 32px 0 48px; }
  .article-section-heading { align-items: flex-start; }
  .support-prompt { align-items: stretch; flex-direction: column; gap: 20px; }
  .category-primary-button { width: 100%; }
}
.section-hero {
  background: var(--navy-700);
  color: #fff;
}

.section-hero-inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.section-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #d8e4f3;
  font-size: 14px;
  line-height: 20px;
}

.section-breadcrumbs a {
  color: #fff;
  text-underline-offset: 3px;
}

.section-breadcrumbs svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.section-hero h1 {
  margin-top: 20px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.section-hero-inner > p {
  margin-top: 4px;
  color: #d8e4f3;
  font-size: 16px;
  line-height: 24px;
}

.section-search {
  width: min(720px, 100%);
  margin-top: 24px;
}

.section-main {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.section-content-heading h2,
.section-support h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.section-content-heading p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.section-article-list {
  overflow: hidden;
  margin-top: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.section-article-list > a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.section-article-list > a:last-child { border-bottom: 0; }
.section-article-list > a:hover { background: var(--surface-soft-blue); }

.section-article-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.section-article-copy strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.section-article-copy > span {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.section-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.section-primary-button {
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.section-primary-button:hover { background: var(--primary-600); }

.section-breadcrumbs a:focus-visible,
.section-article-list > a:focus-visible,
.section-primary-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

@media (max-width: 600px) {
  .section-hero-inner,
  .section-main { width: min(100% - 32px, 960px); }
  .section-hero-inner { padding: 16px 0 24px; }
  .section-hero h1 { margin-top: 16px; font-size: 28px; line-height: 36px; }
  .section-search { margin-top: 20px; }
  .section-main { padding: 32px 0 48px; }
  .section-article-list > a { min-height: 88px; gap: 16px; }
  .section-support { align-items: stretch; flex-direction: column; gap: 20px; }
  .section-primary-button { width: 100%; }
}
.article-page { background: var(--surface); }

.article-search-band {
  padding: 24px;
  background: var(--navy-700);
}

.article-search {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
}

.article-search > .search { height: 48px; }

.article-search input[type="search"],
.article-search .clear-button { height: 46px; }

.article-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.article-breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.article-breadcrumbs a {
  color: var(--primary-500);
  text-underline-offset: 3px;
}

.article-breadcrumbs svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 224px;
  gap: 64px;
  margin-top: 32px;
}

.article-content {
  min-width: 0;
  max-width: 72ch;
  margin: 0;
}

.article-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.72px;
  text-align: left;
}

.article-lede {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
}

.article-content > section:not(.article-feedback, .related-articles, .article-callout) {
  padding-top: 40px;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.article-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.article-content section > p,
.article-content section > ul {
  margin-top: 12px;
}

.article-content p,
.article-content li {
  font-size: 16px;
  line-height: 26px;
}

.article-content ul {
  padding-left: 24px;
}

.article-content ul li + li { margin-top: 8px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.steps p {
  margin-top: 4px;
  color: var(--text-secondary);
}

.step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-500);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.article-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.article-body:empty {
  display: none;
}

.article-body:empty + .article-callout {
  margin-top: 24px;
}

.article-callout h2 { font-size: 20px; line-height: 28px; }

.article-callout p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.article-toc nav {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.article-toc-mobile { display: none; }

.article-toc[hidden],
.article-toc-mobile[hidden] { display: none !important; }

.article-toc h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.article-toc a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.article-toc-links,
.article-toc-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-toc .article-toc-subheading,
.article-toc-mobile .article-toc-subheading { padding-left: 12px; }

.article-toc a:hover {
  color: var(--primary-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-feedback .feedback-title {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.article-feedback p { margin-top: 4px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }

.feedback-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.feedback-actions button {
  display: inline-flex;
  min-width: 64px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--primary-500);
  border-radius: 8px;
  background: transparent;
  color: var(--primary-500);
  font: 500 14px/16px "DM Sans", sans-serif;
  cursor: pointer;
}

.feedback-actions button:hover { background: var(--surface-soft-blue); }

.feedback-actions button[aria-pressed="true"] {
  background: var(--primary-500);
  color: #fff;
}

.related-articles-wrap { padding-top: 56px; }

.related-articles-wrap > .related-articles {
  margin: 0;
  padding: 0;
}

.related-articles-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.related-list {
  overflow: hidden;
  margin-top: 16px;
  padding: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  list-style: none;
}

.article-content .related-list li,
.article-content .related-list li + li { margin: 0; }

.related-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.related-list a:last-child { border-bottom: 0; }
.related-list a:hover { background: var(--surface-soft-blue); }

.article-primary-button {
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.article-primary-button:hover { background: var(--primary-600); }

.article-breadcrumbs a:focus-visible,
.article-toc a:focus-visible,
.article-toc-mobile summary:focus-visible,
.article-toc-mobile a:focus-visible,
.feedback-actions button:focus-visible,
.related-list a:focus-visible,
.article-primary-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

.article-toc-mobile summary::marker { color: var(--primary-500); }

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-toc { display: none; }

  .article-toc-mobile {
    display: block;
    margin-top: 24px;
    border-radius: 12px;
    background: var(--surface-soft-blue);
  }

  .article-toc-mobile summary {
    padding: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  .article-toc-mobile nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
  }

  .article-toc-mobile a {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
  }
}

@media (max-width: 600px) {
  .article-search-band { padding: 20px 16px; }
  .article-search,
  .article-shell { width: 100%; }
  .article-shell { padding: 20px 16px 48px; }
  .article-layout { margin-top: 24px; }
  .article-header h1 { font-size: 30px; line-height: 40px; letter-spacing: -0.3px; }
  .article-lede { font-size: 16px; line-height: 26px; }
  .article-content > section:not(.article-feedback, .related-articles, .article-callout) { padding-top: 32px; }
  .article-feedback { align-items: flex-start; flex-direction: column; }
  .article-callout { align-items: stretch; flex-direction: column; gap: 20px; }
  .article-primary-button { width: 100%; }
}
.results-hero {
  background: var(--navy-700);
  color: #fff;
}

.results-hero-inner,
.results-main {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.results-hero-inner { padding: 20px 0 32px; }

.results-breadcrumbs,
.result-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.results-breadcrumbs {
  color: #d8e4f3;
  font-size: 14px;
  line-height: 20px;
}

.results-breadcrumbs a {
  color: #fff;
  text-underline-offset: 3px;
}

.results-breadcrumbs svg,
.result-path svg,
.pagination svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.results-search { margin-top: 20px; }

.results-main { padding: 40px 0 72px; }

.results-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
}

.results-heading h1 {
  max-width: 640px;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.results-heading p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.topic-filter {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.topic-filter-select {
  position: relative;
  display: block;
}

.topic-filter-control {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #6e7687;
  border-radius: 8px;
  appearance: none;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: 400 16px/24px "DM Sans", sans-serif;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.topic-filter-control:hover { border-color: var(--text-secondary); }

.topic-filter-select.is-open .topic-filter-control {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.topic-filter-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: var(--text-secondary);
  mask: url("caret-down.svg") center / 20px 20px no-repeat;
  pointer-events: none;
}

.topic-filter-select.is-open .topic-filter-chevron { transform: rotate(180deg); }

.topic-filter-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  display: flex;
  width: 100%;
  max-height: 216px;
  flex-direction: column;
  padding: 4px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 6px -1px rgb(18 18 18 / 10%), 0 2px 4px -2px rgb(18 18 18 / 10%);
}

.topic-filter-menu[hidden] { display: none; }

.topic-filter-menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 400 14px/20px "DM Sans", sans-serif;
  text-align: left;
  text-decoration: none;
}

.topic-filter-menu a:last-child { border-bottom: 0; }

.topic-filter-menu a:hover,
.topic-filter-menu a:focus-visible,
.topic-filter-menu a[aria-current="page"] {
  outline: 0;
  background: var(--surface-soft-blue);
}

.results-list {
  overflow: hidden;
  margin: 28px 0 0;
  padding: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  list-style: none;
}

.results-list li { border-bottom: 1px solid var(--border); }
.results-list li:last-child { border-bottom: 0; }

.results-list article { padding: 20px 24px; }

.results-list article > a {
  color: var(--primary-500);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
}

.results-list article > a:hover { text-decoration: underline; }

.results-list article > p {
  max-width: 72ch;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.result-path {
  margin-top: 10px;
  color: #65788d;
  font-size: 12px;
  line-height: 16px;
}

.result-path svg { width: 12px; height: 12px; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination a,
.pagination > span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.pagination > span {
  background: var(--primary-500);
  color: #fff;
}

.pagination a:hover { background: var(--surface-soft-blue); }

.results-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.results-support h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.results-primary-button {
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.results-primary-button:hover { background: var(--primary-600); }

.results-breadcrumbs a:focus-visible,
.results-list article > a:focus-visible,
.pagination a:focus-visible,
.results-primary-button:focus-visible,
.topic-filter-control:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

@media (max-width: 700px) {
  .results-heading { align-items: stretch; flex-direction: column; gap: 20px; }
  .topic-filter { min-width: 0; }
}

@media (max-width: 600px) {
  .results-hero-inner,
  .results-main { width: min(100% - 32px, 960px); }
  .results-hero-inner { padding: 16px 0 24px; }
  .results-main { padding: 32px 0 48px; }
  .results-heading h1 { font-size: 28px; line-height: 36px; }
  .results-list { margin-top: 24px; }
  .results-list article { padding: 18px 16px; }
  .results-list article > a { font-size: 16px; line-height: 24px; }
  .results-support { align-items: stretch; flex-direction: column; gap: 20px; }
  .results-primary-button { width: 100%; }
}
.request-hero {
  background: var(--navy-700);
  color: #fff;
}

.request-hero-inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.request-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #d8e4f3;
  font-size: 14px;
  line-height: 20px;
}

.request-breadcrumbs a {
  color: #fff;
  text-underline-offset: 3px;
}

.request-breadcrumbs svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.request-search { margin-top: 20px; }

.request-main {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.request-heading h1 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.request-heading p {
  margin-top: 8px;
  color: var(--text-secondary);
}

.request-form {
  margin-top: 28px;
  padding: 32px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.required-note {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.required-note span,
.request-label > span:not(.optional) { color: #a32020; }

.request-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
}

.request-label {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.optional {
  margin-left: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.request-input,
.request-textarea,
.request-select-control {
  width: 100%;
  border: 1px solid #6e7687;
  border-radius: 8px;
  appearance: none;
  background: var(--surface);
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.request-input {
  height: 48px;
  padding: 0 12px;
}

.request-textarea {
  min-height: 144px;
  padding: 12px;
  resize: vertical;
}

.request-input:hover,
.request-textarea:hover,
.request-select-control:hover { border-color: var(--text-secondary); }

.request-input:focus,
.request-textarea:focus,
.request-select-control:focus-visible {
  border-color: var(--primary-500);
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

.request-hint {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.request-select { position: relative; }

.request-select-control {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
  text-align: left;
}

.request-select-placeholder { color: var(--text-secondary); }
.request-select.has-value .request-select-placeholder { color: var(--text); }

.request-select-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: var(--text-secondary);
  mask: url("caret-down.svg") center / 20px 20px no-repeat;
  pointer-events: none;
}

.request-select.is-open .request-select-control {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.request-select.is-open .request-select-chevron { transform: rotate(180deg); }

.request-select-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  display: flex;
  width: 100%;
  max-height: 216px;
  flex-direction: column;
  padding: 4px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 6px -1px rgb(18 18 18 / 10%), 0 2px 4px -2px rgb(18 18 18 / 10%);
}

.request-select-menu[hidden] { display: none; }

.request-select-menu button {
  display: flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 400 14px/20px "DM Sans", sans-serif;
  text-align: left;
}

.request-select-menu button:last-child { border-bottom: 0; }

.request-select-menu button:hover,
.request-select-menu button:focus-visible,
.request-select-menu button[aria-selected="true"] {
  outline: 0;
  background: var(--surface-soft-blue);
}

.attachment-control {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border: 1px dashed #9aabba;
  border-radius: 8px;
  background: var(--surface-subtle);
  cursor: pointer;
}

.attachment-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.attachment-button {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--primary-500);
  border-radius: 6px;
  background: var(--surface);
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
}

.attachment-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 2;
}

.attachment-copy {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-control:focus-within { box-shadow: 0 0 0 4px var(--focus); }

.request-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.request-submit {
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  cursor: pointer;
  font: 500 16px/24px "DM Sans", sans-serif;
}

.request-submit:hover { background: var(--primary-600); }
.request-submit:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--focus); }

.request-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

.request-breadcrumbs a:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--focus); }

@media (max-width: 600px) {
  .request-hero-inner,
  .request-main { width: min(100% - 32px, 720px); }
  .request-hero-inner { padding: 16px 0 24px; }
  .request-main { padding: 32px 0 48px; }
  .request-heading h1 { font-size: 28px; line-height: 36px; }
  .request-form { margin-top: 24px; padding: 24px 16px; }
  .attachment-control { align-items: stretch; flex-direction: column; gap: 8px; }
  .attachment-button { justify-content: center; }
  .attachment-copy { text-align: center; }
  .request-actions { align-items: stretch; flex-direction: column; }
  .request-submit { width: 100%; }
}
.requests-main {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.requests-shell {
  width: min(960px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 40px 0 72px;
}

.requests-shell .my-activities-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.requests-shell .my-activities-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.requests-shell .my-activities-header p {
  max-width: 600px;
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.requests-shell .requests-app [role="tablist"] {
  border-bottom-color: var(--border);
}

.requests-shell .requests-app [role="tab"] {
  color: var(--text);
  font: 500 16px/24px "DM Sans", sans-serif;
}

.requests-shell .requests-app [role="tab"][aria-selected="true"] {
  border-bottom-color: var(--primary-500) !important;
  color: var(--primary-500) !important;
}

.requests-shell .requests-app input[type="search"] {
  height: 48px;
  border-color: #6e7687;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
}

.requests-shell .requests-app input[type="search"]:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.requests-shell .requests-app button {
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
}

.requests-empty-state {
  margin-top: 32px;
  padding: 40px 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.requests-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.requests-breadcrumbs a {
  color: var(--primary-500);
  text-underline-offset: 3px;
}

.requests-breadcrumbs svg,
.requests-pagination svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.requests-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
}

.requests-heading h1 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.requests-heading p {
  max-width: 600px;
  margin-top: 6px;
  color: var(--text-secondary);
}

.requests-primary-button {
  display: inline-flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.requests-primary-button:hover { background: var(--primary-600); }

.requests-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: end;
  gap: 16px;
  margin-top: 32px;
}

.requests-search {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #6e7687;
  border-radius: 8px;
  background: var(--surface);
}

.requests-search:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.requests-search svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--text-secondary);
  stroke-linecap: round;
  stroke-width: 2;
}

.requests-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
}

.requests-search input::placeholder { color: var(--text-secondary); opacity: 1; }

.status-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.status-select { position: relative; }

.status-select-control {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #6e7687;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: 400 16px/24px "DM Sans", sans-serif;
  text-align: left;
}

.status-select-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: var(--text-secondary);
  mask: url("caret-down.svg") center / 20px 20px no-repeat;
}

.status-select.is-open .status-select-control {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.status-select.is-open .status-select-chevron { transform: rotate(180deg); }

.status-select-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  right: 0;
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 6px -1px rgb(18 18 18 / 10%), 0 2px 4px -2px rgb(18 18 18 / 10%);
}

.status-select-menu[hidden] { display: none; }

.status-select-menu button {
  min-height: 40px;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 400 14px/20px "DM Sans", sans-serif;
  text-align: left;
}

.status-select-menu button:last-child { border-bottom: 0; }

.status-select-menu button:hover,
.status-select-menu button:focus-visible,
.status-select-menu button[aria-selected="true"] {
  outline: 0;
  background: var(--surface-soft-blue);
}

.request-list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}

.request-list-heading h2 { font-size: 24px; line-height: 32px; }
.request-list-heading p { color: var(--text-secondary); font-size: 14px; line-height: 20px; }

.request-list-columns,
.request-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px 144px 16px;
  align-items: center;
  gap: 20px;
}

.request-list-columns {
  margin-top: 20px;
  padding: 0 16px 8px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.request-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  list-style: none;
}

.request-list li { border-bottom: 1px solid var(--border); }
.request-list li:last-child { border-bottom: 0; }
.request-list li[hidden] { display: none; }

.request-list a {
  min-height: 76px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
}

.request-list a:hover { background: var(--surface-soft-blue); }

.request-subject {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.request-subject strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-subject > span,
.request-activity {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.request-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.request-status-open { background: #e7f0ff; color: #174b9a; }
.request-status-awaiting { background: #fff2d2; color: #6b4700; }
.request-status-solved { background: #e8f5ed; color: #17613b; }

.request-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--primary-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mobile-label { display: none; }

.requests-empty {
  margin-top: 20px;
  padding: 48px 24px;
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}

.requests-empty h2 { font-size: 20px; line-height: 28px; }
.requests-empty p { margin-top: 4px; color: var(--text-secondary); }

.requests-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.requests-pagination a,
.requests-pagination > span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.requests-pagination > span { background: var(--primary-500); color: #fff; }
.requests-pagination a:hover { background: var(--surface-soft-blue); }

.requests-primary-button:focus-visible,
.requests-breadcrumbs a:focus-visible,
.request-list a:focus-visible,
.requests-pagination a:focus-visible,
.status-select-control:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

@media (max-width: 760px) {
  .requests-controls { grid-template-columns: 1fr; align-items: stretch; }
  .request-list-columns { display: none; }
  .request-list { margin-top: 20px; }
  .request-list a {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 16px;
    gap: 14px;
    padding: 16px;
  }
  .request-subject { grid-column: 1; }
  .request-list a > span:nth-child(2) { grid-column: 1; }
  .request-activity { display: flex; grid-column: 1; gap: 6px; }
  .request-arrow { grid-column: 2; grid-row: 1 / span 3; }
  .mobile-label { display: inline; font-weight: 500; color: var(--text); }
}

@media (max-width: 600px) {
  .requests-shell {
    width: min(100% - 32px, 960px);
    padding: 32px 0 48px;
  }

  .requests-shell .my-activities-header {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .requests-shell .my-activities-header h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .requests-shell .requests-primary-button { width: 100%; }

  .requests-main { width: min(100% - 32px, 960px); padding: 24px 0 48px; }
  .requests-heading { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 24px; }
  .requests-heading h1 { font-size: 28px; line-height: 36px; }
  .requests-primary-button { width: 100%; }
  .requests-controls { margin-top: 28px; }
  .request-list-heading { margin-top: 32px; }
  .request-subject strong { white-space: normal; }
}
.request-detail-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.detail-breadcrumbs a {
  color: var(--primary-500);
  text-underline-offset: 3px;
}

.detail-breadcrumbs svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.detail-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
}

.detail-heading-copy { min-width: 0; }

.detail-heading h1 {
  max-width: 760px;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: left;
}

.detail-heading p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.detail-status {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.detail-status-awaiting { background: #fff2d2; color: #6b4700; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 32px;
  margin-top: 40px;
}

.conversation-column { min-width: 0; }
.conversation-column h2,
.detail-sidebar h2 { font-size: 20px; line-height: 28px; }

.conversation-thread {
  overflow: hidden;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.message:last-child { border-bottom: 0; }

.message-avatar {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.message-avatar-player {
  background: var(--surface-soft-blue);
  color: var(--primary-500);
}

.message-avatar-player svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.message-avatar-support {
  background: var(--navy-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.message-content { min-width: 0; }

.message-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.message-meta strong { font-size: 14px; line-height: 20px; }

.message-meta time {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.support-label {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-soft-blue);
  color: var(--primary-500);
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  vertical-align: middle;
}

.message-content > p {
  margin-top: 12px;
  color: #33465d;
  font-size: 15px;
  line-height: 24px;
}

.message-content > p + p { margin-top: 8px; }

.message-attachment {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary-500);
  text-decoration: none;
}

.message-attachment svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.message-attachment > span { display: flex; min-width: 0; flex-direction: column; }
.message-attachment strong { overflow: hidden; font-size: 13px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.message-attachment small { color: var(--text-secondary); font-size: 11px; line-height: 16px; }

.reply-section {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.reply-section form { margin-top: 16px; }

.reply-field textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  border: 1px solid #6e7687;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
  resize: vertical;
}

.reply-field textarea::placeholder { color: var(--text-secondary); opacity: 1; }
.reply-field textarea:focus { border-color: var(--primary-500); outline: 0; box-shadow: 0 0 0 4px var(--focus); }

.reply-attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  cursor: pointer;
}

.reply-attachment input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.reply-attachment > span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--primary-500);
  border-radius: 6px;
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
}

.reply-attachment svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 2;
}

.reply-attachment small { color: var(--text-secondary); font-size: 12px; line-height: 16px; }
.reply-attachment:focus-within > span { box-shadow: 0 0 0 4px var(--focus); }

.reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.solve-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}

.solve-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-500);
}

.reply-actions button {
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-500);
  color: #fff;
  cursor: pointer;
  font: 500 16px/24px "DM Sans", sans-serif;
}

.reply-actions button:hover { background: var(--primary-600); }
.reply-actions button:focus-visible,
.solve-check input:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--focus); }

.reply-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

.detail-sidebar {
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
}

.detail-list { margin: 20px 0 0; }

.detail-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-list > div:first-child { padding-top: 0; }
.detail-list > div:last-child { padding-bottom: 0; border-bottom: 0; }

.detail-list dt {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.detail-mobile { display: none; }

.detail-breadcrumbs a:focus-visible,
.message-attachment:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

@media (max-width: 800px) {
  .detail-layout { grid-template-columns: 1fr; margin-top: 28px; }
  .detail-sidebar { display: none; }
  .detail-mobile {
    display: block;
    margin-top: 24px;
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  }
  .detail-mobile summary {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }
  .detail-mobile summary::-webkit-details-marker { display: none; }
  .detail-summary-chevron {
    width: 20px;
    height: 20px;
    background: var(--text-secondary);
    mask: url("caret-down.svg") center / 20px 20px no-repeat;
  }
  .detail-mobile[open] .detail-summary-chevron { transform: rotate(180deg); }
  .detail-mobile-body { padding: 0 16px 16px; border-top: 1px solid var(--border); }
  .detail-mobile .detail-list { margin-top: 16px; }
}

@media (max-width: 600px) {
  .request-detail-main { width: min(100% - 32px, 1040px); padding: 24px 0 48px; }
  .detail-heading { flex-direction: column; gap: 16px; margin-top: 24px; }
  .detail-heading h1 { font-size: 28px; line-height: 36px; }
  .message { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 20px 16px; }
  .message-avatar { width: 32px; height: 32px; }
  .message-avatar-player svg { width: 18px; height: 18px; }
  .message-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .reply-section { padding: 20px 16px; }
  .reply-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .reply-actions button { width: 100%; }
}
.error-main {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: start center;
  padding: 72px 24px;
}

.error-card {
  width: min(640px, 100%);
  padding: 48px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgb(18 18 18 / 10%);
  text-align: center;
}

.error-illustration {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.error-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}

.error-illustration circle:first-child { fill: var(--surface-soft-blue); }

.sign-post {
  fill: none;
  stroke: var(--navy-700);
  stroke-linecap: round;
  stroke-width: 4;
}

.sign-primary {
  fill: var(--primary-500);
  stroke: var(--navy-700);
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.sign-accent {
  fill: var(--accent-500);
  stroke: var(--navy-700);
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.sign-cap { fill: var(--navy-700); }

.error-card h1 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
}

.error-explanation {
  max-width: 52ch;
  margin: 12px auto 0;
  color: var(--text-secondary);
}

.error-search {
  margin-top: 32px;
  text-align: left;
}

.error-search-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.error-search-control {
  display: grid;
  overflow: hidden;
  height: 48px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border: 1px solid #6e7687;
  border-radius: 8px;
  background: var(--surface);
}

.error-search-form {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 46px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.error-search-control .clear-button { display: none !important; }

/* Keep purpose-built navigation and action colors stable after a visit. */
.topic-row:visited,
.category-article-list a:visited,
.section-article-list > a:visited,
.related-list a:visited { color: var(--text); }

.article-section-heading a:visited,
.article-breadcrumbs a:visited,
.results-list article > a:visited,
.pagination a:visited,
.error-home:visited { color: var(--primary-500); }

.category-primary-button:visited,
.section-primary-button:visited,
.article-primary-button:visited,
.results-primary-button:visited,
.requests-primary-button:visited { color: #fff; }

.error-search-control:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--focus);
}

.error-search-control > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-secondary);
  stroke-linecap: round;
  stroke-width: 2;
}

.error-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 16px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--text);
  font: 400 16px/24px "DM Sans", sans-serif;
}

.error-search-form input[type="search"]::placeholder { color: var(--text-secondary); opacity: 1; }

[dir="ltr"] .error-search-form input[type="search"] {
  padding: 0 16px 0 0;
}

.error-search-form button,
.error-search-form input[type="submit"] {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: var(--primary-500);
  color: #fff;
  cursor: pointer;
  font: 500 16px/24px "DM Sans", sans-serif;
}

[dir="rtl"] .error-search-form input[type="search"] {
  padding: 0 0 0 16px;
}

[dir="rtl"] .error-search-form button,
[dir="rtl"] .error-search-form input[type="submit"] {
  border-radius: 7px 0 0 7px;
}

.error-search-form button:hover,
.error-search-form input[type="submit"]:hover { background: var(--primary-600); }

.error-home {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--primary-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.error-home:hover { text-decoration: underline; }

.error-home svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.error-search-form button:focus-visible,
.error-search-form input[type="submit"]:focus-visible,
.error-home:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus);
}

@media (max-width: 600px) {
  .error-main { min-height: calc(100vh - 56px); padding: 40px 16px; }
  .error-card { padding: 32px 16px; }
  .error-card h1 { font-size: 28px; line-height: 36px; }
  .error-search-control { padding-left: 12px; }
  .error-search-form input[type="search"] { height: 46px; }
  .error-search-form button,
  .error-search-form input[type="submit"] { padding: 0 14px; }
}
