/* docs.bisica.com. Loaded after site.css, so the type, buttons, logo and footer are bisica's own.
   The docs sit on white (Asaf moved bisica off the stone ground on October 13, 2026) with a warm grey for panels.
   Layout: a sticky header with search, then three columns on a wide screen (sidebar, article, "On this page"),
   two on a laptop and one on a phone, where the sidebar opens as a drawer from the header's button. */

.dx {
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --panel: #F7F6F2;
  --line: #E7E4DC;
  --line-2: #E7E4DC;
  --dx-head: 64px;
  --dx-side: 264px;
  --dx-rail: 232px;
  background: var(--paper);
  scroll-padding-top: calc(var(--dx-head) + 20px);
}
html:has(body.dx) { scroll-padding-top: calc(64px + 20px); }
.dx mark { background: var(--accent); color: var(--ink); border-radius: 3px; padding: 0 1px; }

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

.dx-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.dx-head__row {
  display: flex; align-items: center; gap: 20px;
  height: var(--dx-head); max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px);
}
.dx-brand { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; font-size: 1.5rem; }
.dx-brand .logo__word { font-family: var(--serif); letter-spacing: -0.01em; line-height: 1; }
.dx-brand__tag {
  margin-left: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.dx-head .dx-search { flex: 1 1 auto; max-width: 480px; }
.dx-head__links { display: flex; gap: 22px; margin-left: auto; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.dx-head__links a { color: var(--ink-2); padding-block: 10px; }
.dx-head__links a:hover { color: var(--ink); }
.dx-head__cta { flex-shrink: 0; }
.dx-menu-btn { display: none; }

/* ---------- search ---------- */

.dx-search { position: relative; }
.dx-search__icon {
  position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.dx-search__input {
  width: 100%; height: 42px; padding: 0 44px 0 42px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  font-size: 0.9375rem; transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
  -webkit-appearance: none; appearance: none;
}
.dx-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dx-search__input::placeholder { color: var(--ink-4); }
.dx-search__input:hover { border-color: var(--bar); }
.dx-search__input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; border-color: var(--ink); }
.dx-search__key {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  min-width: 22px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); text-align: center; pointer-events: none;
}
.dx-search__input:focus ~ .dx-search__key { display: none; }
.dx-search--hero .dx-search__input { height: 60px; padding-left: 52px; font-size: 1.0625rem; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(22, 21, 15, 0.04), 0 8px 24px -12px rgba(22, 21, 15, 0.18); }
.dx-search--hero .dx-search__icon { left: 18px; width: 20px; height: 20px; }

.dx-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  max-height: min(70vh, 560px); overflow: auto; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 48px -16px rgba(22, 21, 15, 0.28);
  text-align: left;
}
.dx-head .dx-results { min-width: min(560px, calc(100vw - 32px)); }
.dx-result { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.dx-result:hover, .dx-result.is-active { background: var(--panel); }
.dx-result__col { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.dx-result__title { font-weight: 600; color: var(--ink); line-height: 1.35; }
.dx-result__sum { font-size: 0.875rem; color: var(--ink-3); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dx-results__none { padding: 14px 12px; font-size: 0.9375rem; color: var(--ink-3); }
.dx-results__none a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.dx-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease, background var(--t-fast) ease;
}
.dx-chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- home ---------- */

.dx-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), #fff 85%); }
.dx-hero__wrap { max-width: calc(760px + 2 * var(--gutter)); text-align: center; }
.dx-hero__title { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -0.02em; }
.dx-hero__lede { margin: 20px auto 0; max-width: 620px; }
.dx-hero .dx-search { margin-top: 36px; }
.dx-hero__try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.875rem; color: var(--ink-3); }
.dx-hero__try .dx-chip { min-height: 32px; padding: 0 12px; font-size: 0.8125rem; }

.dx-section { padding-block: clamp(48px, 6vw, 80px); }
.dx-section--line { border-top: 1px solid var(--line); background: var(--panel); }
.dx-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; }

.dx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.dx-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.dx-card:hover { border-color: var(--bar); box-shadow: 0 12px 28px -20px rgba(22, 21, 15, 0.35); }
.dx-card__link { display: flex; flex-direction: column; gap: 10px; }
.dx-card__n { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-4); }
.dx-card__name { font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; }
.dx-card__blurb { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.5; }
.dx-card__list { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.dx-card__list a { color: var(--ink-2); }
.dx-card__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dx-card__all { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 0.875rem; font-weight: 500; }
.dx-card__all svg { width: 14px; height: 14px; }

.dx-pop { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.dx-pop__list { margin-top: 24px; counter-reset: pop; display: flex; flex-direction: column; }
.dx-pop__list li { counter-increment: pop; border-top: 1px solid var(--line); }
.dx-pop__list li:last-child { border-bottom: 1px solid var(--line); }
.dx-pop__list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 8px; padding: 18px 0; }
.dx-pop__list a::before { content: counter(pop, decimal-leading-zero); grid-row: span 3; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-4); padding-top: 3px; }
.dx-pop__col { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.dx-pop__title { margin-top: 2px; font-weight: 600; font-size: 1.0625rem; }
.dx-pop__list a:hover .dx-pop__title { text-decoration: underline; text-underline-offset: 3px; }
.dx-pop__sum { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-3); line-height: 1.5; }
.dx-pop__side { display: flex; flex-direction: column; gap: 16px; }
.dx-start { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; background: var(--ink); color: var(--on-night); border-radius: var(--radius-sm); }
.dx-start .eyebrow { color: var(--on-night-3); }
.dx-start p:not(.eyebrow) { color: var(--on-night-2); line-height: 1.5; }

/* ---------- the three columns ---------- */

.dx-shell {
  display: grid; grid-template-columns: var(--dx-side) minmax(0, 1fr) var(--dx-rail); gap: clamp(24px, 3vw, 56px);
  max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px);
  flex: 1 0 auto; width: 100%;
}
.dx-main { min-width: 0; max-width: 760px; padding-block: 40px 72px; }

.dx-nav {
  position: sticky; top: var(--dx-head); align-self: start;
  max-height: calc(100vh - var(--dx-head)); max-height: calc(100dvh - var(--dx-head)); overflow: auto;
  padding: 32px 8px 48px 0; font-size: 0.9375rem; border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.dx-nav a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); line-height: 1.35; }
.dx-nav a:hover { background: var(--panel); color: var(--ink); }
.dx-nav a.is-current { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--ink); }
.dx-nav__home { margin-bottom: 8px; font-weight: 500; }
.dx-nav__group { margin-top: 14px; }
.dx-nav__col { font-family: var(--mono); font-size: 0.75rem !important; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3) !important; }
.dx-nav__group ul { margin-top: 2px; }
.dx-nav__contact { margin-top: 20px; }

.dx-rail {
  position: sticky; top: var(--dx-head); align-self: start; display: flex; flex-direction: column; gap: 28px;
  padding: 40px 0 48px; max-height: calc(100vh - var(--dx-head)); overflow: auto;
}
.dx-rail__title { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.dx-rail__toc { margin-top: 12px; display: flex; flex-direction: column; border-left: 1px solid var(--line); font-size: 0.875rem; }
.dx-rail__toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: var(--ink-3); line-height: 1.4; transition: color var(--t-fast) ease, border-color var(--t-fast) ease; }
.dx-rail__toc a:hover { color: var(--ink); }
.dx-rail__toc a.is-current { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
.dx-try { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dx-try__text { font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- article ---------- */

.dx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--ink-4); }
.dx-crumbs a { color: var(--ink-3); }
.dx-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dx-title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.375rem, 1.8rem + 2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.dx-summary { margin-top: 18px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.dx-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 24px; padding-block: 14px; border-block: 1px solid var(--line); }
.dx-meta__line { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--ink-3); }
.dx-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.dx-action {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2);
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.dx-action:hover { border-color: var(--ink); color: var(--ink); }
.dx-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.dx-toc-mobile { display: none; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.9375rem; }
.dx-toc-mobile summary { padding: 12px 14px; cursor: pointer; font-weight: 500; }
.dx-toc-mobile ul { padding: 0 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.dx-toc-mobile a { color: var(--ink-2); }

.dx-body { margin-top: 32px; color: var(--ink-2); line-height: 1.7; }
.dx-body > * + * { margin-top: 18px; }
.dx-body h2 { margin-top: 48px; padding-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.125rem); line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.dx-body h3 { margin-top: 32px; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.dx-body h2 + *, .dx-body h3 + * { margin-top: 12px; }
.dx-body p { text-wrap: pretty; }
.dx-body a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--bar); }
.dx-body a:hover { text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.dx-body strong { color: var(--ink); font-weight: 600; }
.dx-body ul, .dx-body ol { display: flex; flex-direction: column; gap: 8px; }
.dx-body ul li { position: relative; padding-left: 22px; }
.dx-body ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 999px; background: var(--ink); }
.dx-body ol { counter-reset: step; }
.dx-body ol li { position: relative; padding-left: 40px; counter-increment: step; min-height: 28px; }
.dx-body ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em;
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: 0.75rem; color: var(--ink); background: #fff;
}
.dx-body blockquote { margin: 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.dx-body code { padding: 1px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 0.85em; color: var(--ink); }
.dx-body pre { padding: 18px 20px; overflow: auto; background: var(--night); color: var(--on-night); border-radius: 12px; font-size: 0.875rem; line-height: 1.6; }
.dx-body pre code { padding: 0; background: none; border: 0; color: inherit; font-size: inherit; }
.dx-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.dx-body table { font-size: 0.9375rem; line-height: 1.5; }
.dx-body th { padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); text-align: left; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.dx-body td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.dx-body tr:first-child td { border-top: 0; }
.dx-body td:first-child { color: var(--ink); font-weight: 500; }
.dx-body td code { white-space: nowrap; }
.dx-body dl { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dx-body dt { padding-top: 16px; font-weight: 600; color: var(--ink); }
.dx-body dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dx-body .admonition { padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 0 10px 10px 0; background: var(--panel); }
.dx-body .admonition-title { font-weight: 600; color: var(--ink); }

.dx-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 56px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dx-feedback__q { font-weight: 600; color: var(--ink); }
.dx-feedback__btns { display: flex; gap: 8px; }
.dx-feedback__done { color: var(--ink-2); }
.dx-feedback__done a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.dx-related { margin-top: 40px; }
.dx-related__title { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.dx-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.dx-related a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; transition: border-color var(--t-fast) ease; }
.dx-related a:hover { border-color: var(--ink); }
.dx-related__col { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.dx-related__name { font-weight: 600; color: var(--ink); line-height: 1.35; }

.dx-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.dx-pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); transition: border-color var(--t-fast) ease; }
.dx-pager a:hover { border-color: var(--ink); }
.dx-pager span { font-family: var(--mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.dx-pager__prev::before { content: none; }
.dx-pager__next { grid-column: 2; text-align: right; }

.dx-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dx-help > div:first-child { flex: 1 1 320px; }
.dx-help__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.dx-help p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.dx-help p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dx-help__actions { display: flex; align-items: center; gap: 18px; }
.dx-pop__side .dx-help { margin-top: 0; background: #fff; }

/* ---------- collection, contact, not found ---------- */

.dx-list { margin-top: 32px; display: flex; flex-direction: column; border-top: 1px solid var(--line); counter-reset: art; }
.dx-list li { border-bottom: 1px solid var(--line); counter-increment: art; }
.dx-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 8px; padding: 20px 4px; }
.dx-list a::before { content: counter(art, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-4); padding-top: 3px; }
.dx-list__title { font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.dx-list a:hover .dx-list__title { text-decoration: underline; text-underline-offset: 3px; }
.dx-list__sum { grid-column: 2; margin-top: 4px; color: var(--ink-3); font-size: 0.9375rem; line-height: 1.5; }
.dx-list__meta { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-4); white-space: nowrap; padding-top: 3px; }

.dx-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.dx-contact__row { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dx-contact__what { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.dx-contact__email { font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.dx-contact__note { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.5; }

.dx-404 { padding-block: clamp(64px, 10vw, 120px); text-align: center; }
.dx-404 .wrap { max-width: calc(640px + 2 * var(--gutter)); }
.dx-404 .dx-search { margin-top: 32px; }
.dx-404__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 28px; }
.dx-404__list a { text-decoration: underline; text-underline-offset: 3px; }

.dx-foot { margin-top: 0; }

/* ---------- smaller screens ---------- */

@media (max-width: 1200px) {
  .dx-shell { grid-template-columns: var(--dx-side) minmax(0, 1fr); }
  .dx-rail { display: none; }
  .dx-toc-mobile { display: block; }
  .dx-head__links a[href$="bisica.com/"] { display: none; }
}
@media (max-width: 960px) {
  .dx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-pop { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .dx-shell { grid-template-columns: minmax(0, 1fr); }
  .dx-head__links { display: none; }
  .dx-menu-btn {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 44px; height: 44px; margin-right: -8px; background: none; border: 0;
  }
  .dx-menu-btn span, .dx-menu-btn span::before, .dx-menu-btn span::after { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--t-fast) var(--ease), background var(--t-fast) ease; }
  .dx-menu-btn span { position: relative; }
  .dx-menu-btn span::before, .dx-menu-btn span::after { content: ""; position: absolute; left: 0; }
  .dx-menu-btn span::before { top: -6px; }
  .dx-menu-btn span::after { top: 6px; }
  .dx-nav-open .dx-menu-btn span { background: transparent; }
  .dx-nav-open .dx-menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .dx-nav-open .dx-menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .dx-nav {
    position: fixed; top: var(--dx-head); right: 0; bottom: 0; left: 0; z-index: 35; max-height: none; align-self: stretch;
    padding: 20px clamp(16px, 4vw, 32px) 48px; background: #fff; border-right: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .dx-nav-open { overflow: hidden; }
  .dx-nav-open .dx-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .dx-main { padding-top: 28px; }
}
@media (max-width: 720px) {
  .dx-head__row { gap: 12px; }
  .dx-brand { font-size: 1.375rem; }
  .dx-brand__tag { margin-left: 8px; }
  .dx-head .dx-search { flex: 1 1 auto; min-width: 0; }
  .dx-head .dx-search__key { display: none; }
  .dx-head .dx-search__input { padding-right: 12px; }
  .dx-head .dx-results { position: fixed; left: 12px; right: 12px; top: calc(var(--dx-head) + 4px); min-width: 0; }
  .dx-head .btn__long { display: none; }
  .dx-cards { grid-template-columns: minmax(0, 1fr); }
  .dx-contact { grid-template-columns: minmax(0, 1fr); }
  .dx-meta { flex-direction: column; align-items: flex-start; }
  .dx-pager { grid-template-columns: minmax(0, 1fr); }
  .dx-pager__next { grid-column: 1; }
  .dx-list a { grid-template-columns: 32px minmax(0, 1fr); }
  .dx-list__meta { display: none; }
  .dx-body table { min-width: 540px; }
  .dx-body .dx-table:has(th:nth-child(2):last-child) table { min-width: 0; }
}
@media (max-width: 520px) {
  .dx-head__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dx * { transition: none !important; }
}
