@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--aco-bg);
  color: var(--aco-text);
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--aco-text-soft);
}

h1,
h2,
h3 {
  color: var(--aco-text);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 22px;
}

.aco-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aco-muted);
}

.aco-left-rail {
  display: none;
}
@media (min-width: 1024px) {
  .aco-left-rail {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 385px;
    overflow-y: auto;
    padding: 24px 16px 80px;
    background: var(--aco-bg);
  }
}

.aco-left-rail__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aco-left-rail__link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--aco-text);
  text-decoration: none;
}
.aco-left-rail__link:hover {
  background: var(--aco-panel);
}

.aco-left-rail__link.is-active {
  color: var(--aco-blue);
}

.aco-footer {
  padding: 24px 16px;
  text-align: center;
}

.aco-footer__line {
  font-size: 12px;
  color: var(--aco-muted);
}

.aco-footer__link {
  color: var(--aco-muted);
  text-decoration: none;
}
.aco-footer__link:hover {
  text-decoration: underline;
}

.aco-footer__credit {
  margin-top: 4px;
  font-size: 11px;
}

.aco-footer__crest {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}

.aco-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px calc(80px + 24px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .aco-content {
    margin-left: calc(385px + (100vw - 385px - 480px) / 2);
    margin-right: 0;
  }
}

.aco-page-title {
  margin: 8px 0 4px;
}

.aco-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  background: var(--aco-bg);
  color: var(--aco-text);
}

.aco-top-row__back {
  font-size: 24px;
  line-height: 1;
  color: var(--aco-text);
  text-decoration: none;
}

.aco-top-row__divider {
  color: var(--aco-text);
  opacity: 0.7;
}

.aco-top-row__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--aco-text);
}

.aco-top-row__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.aco-top-row__avatar {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--aco-panel);
  box-shadow: 0 0 0 2px #3fae6a;
}

.aco-top-row__avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.aco-top-row__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.aco-top-row__icon-btn {
  position: relative;
  font-size: 20px;
  line-height: 1;
  color: var(--aco-text);
}

.aco-top-row__badge {
  position: absolute;
  top: -6px;
  right: -10px;
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--aco-badge);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.aco-breadcrumb {
  font-size: 12px;
}

.aco-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.aco-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.aco-breadcrumb__link {
  color: var(--aco-breadcrumb);
  text-decoration: none;
}
.aco-breadcrumb__link:hover {
  text-decoration: underline;
}

.aco-breadcrumb__sep {
  color: var(--aco-breadcrumb);
}

.aco-breadcrumb__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  color: var(--aco-breadcrumb);
}

.aco-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  height: 80px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--aco-bottom-bar);
  color: var(--aco-bottom-bar-text);
}

.aco-bottom-nav__list {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.aco-bottom-nav__item {
  flex: 1 1 0;
  display: flex;
}

.aco-bottom-nav__link,
.aco-bottom-nav__more-btn,
.aco-bottom-nav__action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  color: var(--aco-bottom-bar-text);
  text-decoration: none;
}

.aco-bottom-nav__link.is-active {
  color: var(--aco-blue);
}

.aco-bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.aco-bottom-nav__icon-svg {
  width: 26px;
  height: 26px;
}

.aco-bottom-nav__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aco-bottom-nav__action-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--aco-pink);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--aco-bg);
}

.aco-more-panel {
  position: fixed;
  right: 0;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  left: 0;
  z-index: 99;
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px;
  background: var(--aco-panel);
}

.aco-more-panel[hidden] {
  display: none;
}

.aco-more-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto 8px;
}

.aco-more-panel__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--aco-text);
}

.aco-more-panel__close {
  padding: 2px 10px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--aco-text);
}

.aco-more-panel__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.aco-more-panel__link {
  display: block;
  padding: 12px;
  border-radius: 10px;
  background: var(--aco-card);
  color: var(--aco-text);
  font-weight: 600;
  text-decoration: none;
}

.aco-more-panel__link.is-active {
  color: var(--aco-blue);
  box-shadow: inset 0 0 0 2px var(--aco-blue);
}

.aco-btn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--aco-action);
  color: #fff;
  text-decoration: none;
}

.aco-btn--block {
  display: flex;
  width: 100%;
}

.aco-btn--pink {
  background: var(--aco-pink);
}

.aco-btn--outline {
  background: transparent;
  color: var(--aco-text);
  box-shadow: inset 0 0 0 2px var(--aco-muted);
}

.aco-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--aco-panel);
  color: var(--aco-text);
}

.aco-pill--open {
  background: var(--aco-pill-open);
  color: #131c2f;
}

.aco-pill--high {
  background: var(--aco-pill-high);
  color: #fff;
}

.aco-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--aco-card);
  color: var(--aco-text-soft);
}

.aco-card__title {
  margin-bottom: 8px;
  color: var(--aco-text);
  font-size: 17px;
  font-weight: 700;
}

.aco-card__panel {
  padding: 12px;
  border-radius: 8px;
  background: var(--aco-panel);
}

/* ---------- Design tokens ---------- */
:root {
  /* Color — every text/background pair below meets WCAG 2.2 AA */
  --pds-navy: #0f2a48; /* brand navy: headings, header, footer */
  --pds-navy-deep: #0a1e35; /* header/footer gradient end */
  --pds-cream: #f7f3ee; /* page background tint */
  --pds-paper: #ffffff; /* content surface */
  --pds-ink: #0f2a48; /* body text on light (14.5:1 on white) */
  --pds-slate: #45586c; /* secondary text on white (7.3:1) */
  --pds-accent: #9d2c54; /* raspberry: primary actions (white text 7.2:1) */
  --pds-accent-dark: #7e2143; /* primary hover (white text 9.6:1) */
  --pds-accent-pale: #f3d9e2; /* secondary action fill (navy text 11:1) */
  --pds-success: #1b6b4a; /* white text 6.5:1 */
  --pds-warning-bg: #f6c453; /* with --pds-warning-ink text (8.1:1) */
  --pds-warning-ink: #3d2e00;
  --pds-danger: #b3261e; /* white text 6.5:1 */
  --pds-danger-dark: #8f1d17;
  --pds-border: #c9d2dc; /* decorative borders only, never text */
  --pds-border-strong: #5a6b7f;
  --pds-focus: #9d2c54; /* focus ring on light surfaces */
  --pds-focus-on-dark: #f6c453; /* focus ring on navy surfaces */
  /* Type */
  --pds-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pds-font-mono: "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --pds-text-xs: 0.8125rem; /* 13px */
  --pds-text-sm: 0.9375rem; /* 15px */
  --pds-text-md: 1.0625rem; /* 17px — body default */
  --pds-text-lg: 1.25rem; /* 20px */
  --pds-text-xl: 1.5625rem; /* 25px */
  --pds-text-2xl: 1.9375rem; /* 31px */
  --pds-text-3xl: 2.4375rem; /* 39px */
  --pds-leading: 1.55;
  /* Spacing — 4px base scale */
  --pds-space-1: 0.25rem;
  --pds-space-2: 0.5rem;
  --pds-space-3: 0.75rem;
  --pds-space-4: 1rem;
  --pds-space-6: 1.5rem;
  --pds-space-8: 2rem;
  --pds-space-12: 3rem;
  --pds-space-16: 4rem;
  /* Shape + elevation */
  --pds-radius: 0.75rem;
  --pds-radius-pill: 999px;
  --pds-shadow: 0 2px 10px rgba(15, 42, 72, 0.12);
}

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

.pds-header :focus-visible,
.pds-footer :focus-visible {
  outline-color: var(--pds-focus-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--pds-space-4);
  top: -100px;
  z-index: 100;
  background: var(--pds-navy);
  color: #fff;
  padding: var(--pds-space-2) var(--pds-space-4);
  border-radius: 0 0 var(--pds-radius) var(--pds-radius);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ============================================================
   COMPONENT: Buttons
   Filled pills. Never blue, never underlined.
   Labels are Title Case.
   ============================================================ */
.pds-btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--pds-radius-pill);
  padding: 0.6875rem 1.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pds-btn:hover {
  text-decoration: none;
}

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

.pds-btn--primary:hover {
  background: var(--pds-accent-dark);
}

.pds-btn--secondary {
  background: var(--pds-accent-pale);
  color: var(--pds-navy);
}

.pds-btn--secondary:hover {
  background: #eabfd0;
}

.pds-btn--navy {
  background: var(--pds-navy);
  color: #fff;
}

.pds-btn--navy:hover {
  background: var(--pds-navy-deep);
}

.pds-btn--danger {
  background: var(--pds-danger);
  color: #fff;
}

.pds-btn--danger:hover {
  background: var(--pds-danger-dark);
}

.pds-btn--sm {
  padding: 0.4375rem 1rem;
  font-size: var(--pds-text-sm);
}

.pds-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--pds-text-lg);
}

.pds-btn:disabled,
.pds-btn[aria-disabled=true] {
  background: #e3e8ed;
  color: var(--pds-slate);
  cursor: not-allowed;
}

/* ============================================================
   COMPONENT: Header
   ============================================================ */
.pds-header {
  background: linear-gradient(180deg, var(--pds-navy), var(--pds-navy-deep));
  color: #fff;
}

.pds-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--pds-space-3) var(--pds-space-4);
  display: flex;
  align-items: center;
  gap: var(--pds-space-4);
  flex-wrap: wrap;
}

.pds-header__brand {
  display: flex;
  align-items: center;
  gap: var(--pds-space-3);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--pds-text-lg);
}

.pds-header__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.pds-header__brand small {
  display: block;
  font-size: var(--pds-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pds-accent-pale);
}

/* ============================================================
   COMPONENT: Navigation (primary, inside header)
   ============================================================ */
.pds-nav {
  margin-left: auto;
}

.pds-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--pds-space-1);
  flex-wrap: wrap;
}

.pds-nav__link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: var(--pds-space-2) var(--pds-space-3);
  border-radius: var(--pds-radius-pill);
}

.pds-nav__link:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.pds-nav__link[aria-current=page] {
  background: var(--pds-accent);
}

.pds-nav__toggle {
  display: none;
  margin-left: auto;
  background: var(--pds-accent);
  color: #fff;
  border: 0;
  border-radius: var(--pds-radius-pill);
  font: inherit;
  font-weight: 600;
  padding: var(--pds-space-2) var(--pds-space-4);
  cursor: pointer;
}

@media (max-width: 44rem) {
  .pds-nav {
    margin-left: 0;
    width: 100%;
  }
  .pds-nav__toggle {
    display: inline-block;
  }
  .pds-nav__list {
    display: none;
    flex-direction: column;
    padding-top: var(--pds-space-2);
  }
  .pds-nav__list.is-open {
    display: flex;
  }
}
/* ============================================================
   COMPONENT: Breadcrumbs
   ============================================================ */
.pds-breadcrumbs {
  font-size: var(--pds-text-sm);
}

.pds-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--pds-space-2);
  align-items: center;
}

.pds-breadcrumbs__item + .pds-breadcrumbs__item::before {
  content: "›";
  margin-right: var(--pds-space-2);
  color: var(--pds-slate);
  font-weight: 700;
}

.pds-breadcrumbs a {
  color: var(--pds-accent);
  font-weight: 600;
}

.pds-breadcrumbs [aria-current=page] {
  color: var(--pds-ink);
  font-weight: 600;
}

/* ============================================================
   COMPONENT: Search
   ============================================================ */
.pds-search {
  display: flex;
  gap: var(--pds-space-2);
  max-width: 34rem;
}

.pds-search__input {
  flex: 1;
  font: inherit;
  color: var(--pds-ink);
  background: #fff;
  border: 2px solid var(--pds-border-strong);
  border-radius: var(--pds-radius-pill);
  padding: 0.625rem 1.125rem;
  min-width: 0;
}

.pds-search__input::placeholder {
  color: var(--pds-slate);
  opacity: 1;
}

/* ============================================================
   COMPONENT: Table
   ============================================================ */
.pds-table-wrap {
  overflow-x: auto;
}

.pds-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pds-paper);
  font-size: var(--pds-text-sm);
}

.pds-table caption {
  text-align: left;
  font-weight: 700;
  font-size: var(--pds-text-md);
  padding: var(--pds-space-3) 0;
  color: var(--pds-ink);
}

.pds-table th, .pds-table td {
  text-align: left;
  padding: var(--pds-space-3) var(--pds-space-4);
  border-bottom: 1px solid var(--pds-border);
  vertical-align: top;
}

.pds-table thead th {
  background: var(--pds-navy);
  color: #fff;
  border-bottom: 0;
}

.pds-table tbody tr:nth-child(even) {
  background: var(--pds-cream);
}

.pds-table tbody th {
  font-weight: 600;
}

/* ============================================================
   COMPONENT: Forms
   Label above the field. Help text directly under the label.
   Button labels are Title Case.
   ============================================================ */
.pds-field {
  margin-bottom: var(--pds-space-6);
  max-width: 34rem;
}

.pds-field label,
.pds-field legend {
  display: block;
  font-weight: 700;
  margin-bottom: var(--pds-space-1);
}

.pds-field .pds-required {
  color: var(--pds-danger);
  font-weight: 700;
}

.pds-help {
  margin: 0 0 var(--pds-space-2);
  font-size: var(--pds-text-sm);
  color: var(--pds-slate);
}

.pds-input, .pds-select, .pds-textarea {
  font: inherit;
  color: var(--pds-ink);
  background: #fff;
  border: 2px solid var(--pds-border-strong);
  border-radius: var(--pds-radius);
  padding: 0.625rem 0.875rem;
  width: 100%;
}

.pds-textarea {
  min-height: 7rem;
  resize: vertical;
}

.pds-input[aria-invalid=true],
.pds-select[aria-invalid=true],
.pds-textarea[aria-invalid=true] {
  border-color: var(--pds-danger);
}

.pds-error {
  margin: var(--pds-space-2) 0 0;
  font-size: var(--pds-text-sm);
  font-weight: 600;
  color: var(--pds-danger);
}

.pds-fieldset {
  border: 0;
  margin: 0 0 var(--pds-space-6);
  padding: 0;
}

.pds-check {
  display: flex;
  gap: var(--pds-space-2);
  align-items: flex-start;
  margin-bottom: var(--pds-space-2);
}

.pds-check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--pds-accent);
  flex: none;
}

.pds-check label {
  font-weight: 400;
  margin: 0;
}

/* Status / badge helpers used by several components */
.pds-badge {
  display: inline-block;
  font-size: var(--pds-text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--pds-radius-pill);
  padding: 0.15rem 0.625rem;
}

.pds-badge--success {
  background: var(--pds-success);
  color: #fff;
}

.pds-badge--warning {
  background: var(--pds-warning-bg);
  color: var(--pds-warning-ink);
}

.pds-badge--danger {
  background: var(--pds-danger);
  color: #fff;
}

.pds-badge--neutral {
  background: var(--pds-accent-pale);
  color: var(--pds-navy);
}

/* ============================================================
   COMPONENT: Footer
   ============================================================ */
.pds-footer {
  background: linear-gradient(180deg, var(--pds-navy), var(--pds-navy-deep));
  color: #fff;
  margin-top: var(--pds-space-16);
}

.pds-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--pds-space-8) var(--pds-space-4);
  display: grid;
  gap: var(--pds-space-6);
}

@media (min-width: 44rem) {
  .pds-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.pds-footer h2 {
  font-size: var(--pds-text-md);
  margin: 0 0 var(--pds-space-3);
  color: #fff;
}

.pds-footer a {
  color: #fff;
}

.pds-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--pds-space-2);
}

.pds-footer__credit {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: var(--pds-space-4);
  font-size: var(--pds-text-sm);
  display: flex;
  align-items: center;
  gap: var(--pds-space-2);
  flex-wrap: wrap;
}

.pds-footer__credit img {
  width: 20px;
  height: 20px;
}

.pds-social {
  list-style: none;
  display: flex;
  gap: var(--pds-space-2);
  margin: 0;
  padding: 0;
}

.pds-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.pds-social a:hover {
  background: var(--pds-accent);
}

.pds-social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #fff;
}

/* ============================================================
   Documentation chrome (this site only — not part of the system)
   ============================================================ */
.doc-lede {
  font-size: var(--pds-text-lg);
  color: var(--pds-slate);
  max-width: 44rem;
}

.doc-sidenav {
  background: var(--pds-paper);
  border: 1px solid var(--pds-border);
  border-radius: var(--pds-radius);
  padding: var(--pds-space-4);
  align-self: start;
  box-shadow: var(--pds-shadow);
}

@media (min-width: 60rem) {
  .doc-sidenav {
    position: sticky;
    top: var(--pds-space-4);
  }
}
.doc-sidenav h2 {
  font-size: var(--pds-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: var(--pds-space-4) 0 var(--pds-space-2);
  color: var(--pds-slate);
}

.doc-sidenav h2:first-child {
  margin-top: 0;
}

.doc-sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.doc-sidenav a {
  display: block;
  padding: var(--pds-space-1) var(--pds-space-2);
  border-radius: 0.5rem;
  color: var(--pds-ink);
  text-decoration: none;
  font-size: var(--pds-text-sm);
  font-weight: 600;
}

.doc-sidenav a:hover {
  background: var(--pds-cream);
}

.doc-sidenav a[aria-current=page] {
  background: var(--pds-accent-pale);
  color: var(--pds-navy);
}

.doc-example {
  background: var(--pds-paper);
  border: 1px solid var(--pds-border);
  border-radius: var(--pds-radius);
  padding: var(--pds-space-6);
  margin: var(--pds-space-4) 0;
  box-shadow: var(--pds-shadow);
}

.doc-example__label {
  font-size: var(--pds-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pds-slate);
  margin: 0 0 var(--pds-space-3);
}

.doc-code {
  position: relative;
  margin: var(--pds-space-4) 0;
}

.doc-code pre {
  background: var(--pds-navy-deep);
  color: #f2ede6;
  border-radius: var(--pds-radius);
  padding: var(--pds-space-4);
  overflow-x: auto;
  font-family: var(--pds-font-mono);
  font-size: var(--pds-text-sm);
  line-height: 1.5;
  margin: 0;
}

.doc-copy {
  position: absolute;
  top: var(--pds-space-2);
  right: var(--pds-space-2);
  background: var(--pds-accent-pale);
  color: var(--pds-navy);
  border: 0;
  border-radius: var(--pds-radius-pill);
  font: inherit;
  font-size: var(--pds-text-xs);
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}

.doc-copy:hover {
  background: #eabfd0;
}

.doc-do, .doc-dont {
  border-radius: var(--pds-radius);
  padding: var(--pds-space-4) var(--pds-space-6);
  margin: var(--pds-space-3) 0;
}

.doc-do {
  background: #e7f2ec;
  border-left: 6px solid var(--pds-success);
}

.doc-dont {
  background: #fbeae9;
  border-left: 6px solid var(--pds-danger);
}

.doc-do p, .doc-dont p {
  margin: var(--pds-space-1) 0;
}

.doc-hero .doc-lede {
  color: var(--pds-accent-pale);
}

.hub-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px calc(80px + 32px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .hub-content {
    margin-left: calc(385px + (100vw - 385px - 1100px) / 2);
    margin-right: 16px;
  }
}
@media (min-width: 1024px) and (max-width: 1560px) {
  .hub-content {
    margin-left: calc(385px + 24px);
  }
}

.hub-content .aco-footer {
  padding-bottom: 0;
}

.hub-star-0 {
  --aco-star-angle: 0deg;
}

.hub-star-1 {
  --aco-star-angle: 90deg;
}

.hub-star-2 {
  --aco-star-angle: 180deg;
}

.hub-star-3 {
  --aco-star-angle: 270deg;
}

.hub-spark-0 {
  --aco-star-delay: 0s;
}

.hub-spark-1 {
  --aco-star-delay: 0.45s;
}

.hub-spark-2 {
  --aco-star-delay: 0.9s;
}

.hub-spark-3 {
  --aco-star-delay: 1.35s;
}

.hub-content h1 {
  margin: 8px 0 12px;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--aco-text);
}

.hub-content h2 {
  margin: 32px 0 12px;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--aco-text);
}

.hub-content h3 {
  margin: 24px 0 8px;
  font-size: 1.15rem;
  color: var(--aco-text);
}

.hub-content p, .hub-content li {
  max-width: 68ch;
}

.hub-lede {
  font-size: 1.15rem;
  color: var(--aco-text-soft);
  max-width: 62ch;
}

.hub-content a {
  color: var(--aco-blue);
}

.hub-content code {
  font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.hub-eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aco-muted);
}

.hub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.hub-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--aco-card);
  color: var(--aco-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.hub-pill--pink {
  background: #ff66c4;
  color: #131c2f;
}

.hub-pill--gold {
  background: #b88822;
  color: #131c2f;
}

.hub-cards {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 44rem) {
  .hub-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .hub-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hub-card {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 24px;
}

.hub-card h3 {
  margin-top: 0;
}

.hub-card p:last-child {
  margin-bottom: 0;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hub-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #ff66c4;
  color: #131c2f;
  font-weight: 700;
  text-decoration: none;
}

.hub-btn--ghost {
  background: var(--aco-card);
  color: var(--aco-text);
}

.hub-meta {
  width: 100%;
  max-width: 44rem;
  border-collapse: collapse;
  margin: 16px 0;
}

.hub-meta th, .hub-meta td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--aco-card);
  vertical-align: top;
}

.hub-meta th {
  color: var(--aco-muted);
  font-weight: 600;
  width: 12rem;
}

@media (max-width: 44rem) {
  .hub-meta th, .hub-meta td {
    display: block;
    width: auto;
  }
  .hub-meta th {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .hub-meta td {
    padding-top: 2px;
  }
}
.hub-index-group {
  margin-top: 32px;
}

.hub-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

@media (min-width: 44rem) {
  .hub-index-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .hub-index-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hub-index-item {
  display: block;
  background: var(--aco-card);
  border-radius: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--aco-text);
}

.hub-index-item__name {
  display: block;
  font-weight: 700;
}

.hub-index-item__sub {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--aco-muted);
}

.hub-status {
  display: inline-block;
  margin-top: 8px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--aco-panel);
  color: var(--aco-text-soft);
}

.hub-status--finished {
  background: #3b7741;
  color: #fff;
}

.hub-placeholder {
  background: var(--aco-panel);
  border-radius: 10px;
  padding: 16px 24px;
  margin: 12px 0;
}

.hub-placeholder p {
  margin: 0;
}

.hub-snippet {
  margin: 16px 0;
}

.hub-snippet pre {
  background: #0a1e35;
  color: #f2ede6;
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.hub-contributors {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hub-contributors li {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 12px 16px;
}

.hub-contributors__name {
  font-weight: 700;
}

.hub-contributors__role {
  display: block;
  font-size: 0.9rem;
  color: var(--aco-muted);
}

.aco-bottom-nav__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.hub-loader-demo {
  position: relative;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--aco-panel);
  margin: 16px 0;
}

.hub-demo-panel {
  background: var(--pds-navy);
  border-radius: var(--pds-radius);
  padding: var(--pds-space-4);
}

.hub-sidenav {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 24px;
}

.hub-sidenav h2 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aco-muted);
}

.hub-sidenav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.hub-sidenav ul:last-child {
  margin-bottom: 0;
}

.hub-sidenav a {
  display: block;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--aco-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.hub-sidenav a[aria-current=page] {
  background: var(--aco-panel);
  color: #fff;
}

@media (min-width: 1024px) {
  .hub-doc {
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: 32px;
    align-items: start;
  }
  .hub-sidenav {
    position: sticky;
    top: 16px;
    margin: 0;
  }
  .hub-doc__main {
    min-width: 0;
  }
}
.hub-icon-grid {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
  gap: 12px;
}

.hub-icon-tile {
  background: var(--aco-card);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.hub-icon-tile__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.5rem;
  background: #131c2f;
  border-radius: 10px;
}

.hub-icon-tile__art img {
  max-width: 3.5rem;
  max-height: 3.5rem;
}

.hub-icon-tile__name {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--aco-text-soft);
}

.hub-icon-tile__glyph {
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}

.hub-icon-tile__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #ff66c4;
  color: #131c2f;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

[data-theme=dark],
.aco-theme-dark {
  --aco-bg: #131c2f;
  --aco-card: #2f4063;
  --aco-panel: #222e46;
  --aco-blue: #369eea;
  --aco-action: #369eea;
  --aco-bottom-bar: #3d5a98;
  --aco-bottom-bar-text: #ffffff;
  --aco-pink: #ff66c4;
  --aco-edit-blue: #3ba0ea;
  --aco-breadcrumb: #2c8dd8;
  --aco-muted: #a6a9b1;
  --aco-text: #ffffff;
  --aco-text-soft: #e8ebf1;
  --aco-badge: #b93939;
  --aco-focus: #369eea;
  --aco-pill-open: #cfe3f7;
  --aco-pill-high: #793446;
}

[data-theme=light],
.aco-theme-light {
  --aco-bg: #f4f6fa;
  --aco-card: #ffffff;
  --aco-panel: #e8edf5;
  --aco-blue: #1f7fc4;
  --aco-action: #1f7fc4;
  --aco-bottom-bar: #ffffff;
  --aco-bottom-bar-text: #131c2f;
  --aco-pink: #e84393;
  --aco-edit-blue: #1f7fc4;
  --aco-breadcrumb: #1f6fb2;
  --aco-muted: #5b6472;
  --aco-text: #131c2f;
  --aco-text-soft: #2f3a4f;
  --aco-badge: #b93939;
  --aco-focus: #1f7fc4;
  --aco-pill-open: #d7e9fa;
  --aco-pill-high: #793446;
}
