

/*
  Polycam Help Center — Design System
  =====================================
  Font import (add to <head>):
  https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap
*/


/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */

:root {
  --heading-font: {{settings.heading_font}}, 'GT Planar', sans-serif;
  --body-font: {{settings.text_font}}, 'GT Planar', sans-serif;

  /* Brand — Blue (GTM) */
  --blue:         #2E3CFF;
  --blue-hover:   #0400AC;
  --blue-light:   #C7D0FF;
  --blue-mid:     #ADBFFF;
  --blue-dark:    #010066;

  /* Brand — Red accent */
  --red-highlight:  #FF8E80;
  --red-surface:    #FFCDC7;
  --red-on:         #410007;

  /* Brand — Gold accent */
  --gold-highlight: #FDDE81;
  --gold-surface:   #FFE9A9;
  --gold-on:        #6B5000;

  /* Brand — Neutral accent */
  --neutral-highlight: #D2CEC6;
  --neutral-surface:   #E7E3DA;
  --neutral-on:        #494744;

  /* Neutrals */
  --ink:          #100F0F;
  --ink-2:        #494744;
  --ink-3:        #5C5956;
  --paper:        #FFFCF7;
  --surface:      #F6F4EF;
  --border:       #D2CEC6;
  --border-light: #E7E3DA;

  /* Shape */
  --radius:    8px;
  --radius-sm: 5px;
}


/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE SAFETY NET
   Prevents any child from causing horizontal
   scroll on small viewports
───────────────────────────────────────── */
html, body {
  max-width: 100%;
}



html { scroll-behavior: smooth; }

body {
  font-family: 'GT Planar', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }


/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */

.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 26px;
  height: 26px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg { color: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-3);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.12s, background 0.12s;
}

.nav-link:hover  { color: var(--ink); background: var(--surface); }
.nav-link.active { color: var(--ink); font-weight: 500; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.nav-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.nav-btn-ghost:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  background: var(--surface);
}

.nav-btn-primary {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
}
.nav-btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-dark);
}


.nav-hamburger { display: none; } /* shown only in mobile media query */

.hero {
  background: #F6F4EF;
  border-bottom: 1px solid var(--border-light);
  padding: 56px 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle warm grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='69'%3E%3Cg fill='none' stroke='rgba(16,15,15,0.1)' stroke-width='1'%3E%3Cline x1='0' y1='0' x2='0' y2='69'/%3E%3Cline x1='120' y1='0' x2='120' y2='69'/%3E%3Cline x1='-60' y1='0' x2='180' y2='138'/%3E%3Cline x1='-60' y1='-69' x2='180' y2='69'/%3E%3Cline x1='-60' y1='69' x2='180' y2='-69'/%3E%3Cline x1='-60' y1='138' x2='180' y2='0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 69px;
}

/* Soft blue glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(46,60,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}



/* ─────────────────────────────────────────
   HERO — "New to Polycam?" strip
───────────────────────────────────────── */
.hero-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2E3CFF;
  padding: 12px 40px;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
  z-index: 1;
  /* Break out of hero's horizontal padding */
  margin: 40px -40px 0;
  width: calc(100% + 80px);
}

.hero-strip:hover { background: #0400AC; }

.hero-strip-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}

.hero-strip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.hero-strip-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-strip-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.15s;
}

.hero-strip:hover .hero-strip-link svg {
  transform: translateX(3px);
}

/* Dark mode */
html.dark-mode .hero-strip,
html:not(.light-mode) .hero-strip { background: #1E2966; }
html.dark-mode .hero-strip:hover,
html:not(.light-mode) .hero-strip:hover { background: #2E3CFF; }

/* ─────────────────────────────────────────
   HERO CATEGORIES — mini cards below search
───────────────────────────────────────── */
.hero-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 20px 40px 32px;
  position: relative;
  z-index: 1;
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-cat {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s;
}

.hero-cat:hover {
  background: #fff;
  border-color: var(--border);
}

.hero-cat-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-cat-icon svg {
  width: 15px;
  height: 15px;
}

.hero-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-cats { grid-template-columns: 1fr 1fr; padding: 16px 20px 24px; gap: 6px; }
}

@media (max-width: 480px) {
  .hero-cats { grid-template-columns: 1fr; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 300;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 28px;
}


/* ─────────────────────────────────────────
   SEARCH
───────────────────────────────────────── */

.search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
  width: 16px;
  height: 16px;
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 13px 48px 13px 42px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, border-radius 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}

.search-input::placeholder { color: var(--ink-3); }

.search-input.is-open {
  border-color: var(--blue);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 3px rgba(46,60,255,0.12);
}

.search-input:focus:not(.is-open) {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 3px rgba(46,60,255,0.12);
}

.search-kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  transition: opacity 0.15s;
  z-index: 2;
}


/* ── Search dropdown ── */

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.search-dropdown.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border-light);
}

.search-dropdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
}

.search-dropdown-label svg { width: 12px; height: 12px; }

.search-dropdown-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.12s;
}
.search-dropdown-all:hover { color: var(--blue); }

.search-dropdown-items { padding: 6px 0; }

.search-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.1s;
  text-align: left;
  text-decoration: none;
}
.search-dropdown-item:hover { background: var(--blue-light); }

.search-dropdown-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.search-dropdown-item-body { flex: 1; }

.search-dropdown-item-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.search-dropdown-item:hover .search-dropdown-item-title { color: var(--blue); }

.search-dropdown-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.search-dropdown-item-cat  { font-size: 11.5px; color: var(--ink-3); }
.search-dropdown-item-date { font-size: 11.5px; color: var(--ink-3); }

.search-dropdown-item-new {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
}

.search-dropdown-footer {
  border-top: 1px solid var(--border-light);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.search-dropdown-footer kbd {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--ink-3);
}


/* ─────────────────────────────────────────
   WHAT'S NEW
───────────────────────────────────────── */

.whats-new {
  margin-bottom: 52px;
}

.whats-new-inner {
  padding: 0;
}

.whats-new-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.whats-new-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whats-new-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.whats-new-head a {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}
.whats-new-head a:hover { text-decoration: underline; }

/* Animated live badge */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { opacity: 0.8; transform: scale(0.6); }
  100% { opacity: 0;   transform: scale(1.8); }
}

/* What's New cards */

/* ─────────────────────────────────────────
   WHAT'S NEW — mobile horizontal scroll
   Desktop: 3-col grid (unchanged)
   Mobile: swipeable card rail with dots
───────────────────────────────────────── */

.whats-new-scroll-wrap {
  position: relative;
}

.whats-new-scroll-fade {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  background: linear-gradient(to right, transparent, var(--paper));
  pointer-events: none;
  z-index: 2;
}

.wn-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.wn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: width 0.2s, background 0.2s;
  flex-shrink: 0;
}

.wn-dot.active {
  background: var(--blue);
  width: 16px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  /* mobile: show ~1 card at a time, peeking at the next */
  .wn-card {
    min-width: 78vw !important;
    max-width: 78vw !important;
  }
}

@media (max-width: 480px) {
  .wn-card {
    min-width: 85vw !important;
    max-width: 85vw !important;
  }
}

.whats-new-cards {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 56px; /* room for fade */
}

.whats-new-cards::-webkit-scrollbar { display: none; }

.wn-card {
  /* Each card takes exactly 1/3 of visible area so 3 show at once */
  min-width: calc(33.33% - 8px);
  max-width: calc(33.33% - 8px);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.wn-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.wn-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 2px 16px rgba(46,60,255,0.08);
  transform: translateY(-1px);
}

/* Left accent bar */
.wn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.15s;
}
.wn-card:hover::before { opacity: 1; }

.wn-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wn-card-date {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

.wn-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}

.wn-badge-new      { background: var(--blue-light); color: var(--blue); }
.wn-badge-feature  { background: #EDFAF2; color: #1A7A42; }
.wn-badge-improved { background: #FFF5D6; color: #8A6200; }

.wn-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.wn-card:hover .wn-card-title { color: var(--blue); }

.wn-card-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
}

.wn-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.wn-card-cat { font-size: 11.5px; color: var(--ink-3); }

.wn-card-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.15s;
}
.wn-card:hover .wn-card-link { opacity: 1; }
.wn-card-link svg { width: 12px; height: 12px; }


/* ─────────────────────────────────────────
   PAGE BODY
───────────────────────────────────────── */

.page-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 40px 80px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-head a { font-size: 13px; font-weight: 500; color: var(--blue); }
.section-head a:hover { text-decoration: underline; }


/* ─────────────────────────────────────────
   CATEGORY CARDS
───────────────────────────────────────── */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 52px;
}



/* ─────────────────────────────────────────
   CATEGORIES — Option C
   First 3: pale blue tint + blue icon/title
   Rest: plain white + neutral icon
───────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 52px;
}

/* First three — featured */
.cat-card:nth-child(-n+3) {
  background: #EEF0FF;
  border-color: #C7D0FF;
}

.cat-card:nth-child(-n+3) .cat-title {
  color: #010066;
}

.cat-card:nth-child(-n+3) .cat-icon {
  background: #C7D0FF;
  color: #010066;
}

/* Remaining — neutral */
.cat-card:nth-child(n+4) .cat-icon {
  background: #E7E3DA;
  color: #494744;
}

.cat-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: var(--paper);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.cat-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 2px 16px rgba(46,60,255,0.08);
  transform: translateY(-1px);
}

.cat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon svg { width: 18px; height: 18px; }

/* Category icon color variants */
/* Single brand blue — all category icons unified */
.cat-icon-blue,
.cat-icon-red,
.cat-icon-gold,
.cat-icon-neutral,
.cat-icon-amber,
.cat-icon-rose,
.cat-icon-green,
.cat-icon-purple,
.cat-icon-teal    { background: #C7D0FF; color: #010066; }

.cat-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cat-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-count {
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.cat-count svg { width: 12px; height: 12px; }


/* ─────────────────────────────────────────
   TWO COLUMN LAYOUT
───────────────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}


/* ─────────────────────────────────────────
   ARTICLE LIST
───────────────────────────────────────── */

.article-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.12s;
  cursor: pointer;
  text-decoration: none;
}
.article-item:hover { background: var(--surface); }

.article-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink-3);
  margin-top: 1px;
}

.article-item-body { flex: 1; min-width: 0; }

.article-item-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.article-item:hover .article-item-title { color: var(--blue); }

.article-item-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.article-item-arrow {
  width: 14px;
  height: 14px;
  color: var(--border);
  flex-shrink: 0;
  margin-top: 3px;
  transition: color 0.12s, transform 0.12s;
}
.article-item:hover .article-item-arrow {
  color: var(--blue);
  transform: translateX(2px);
}


/* ─────────────────────────────────────────
   INTEGRATIONS & WORKFLOWS
───────────────────────────────────────── */

.integrations { margin-bottom: 52px; }

.integrations-inner {
  background: transparent;
  border: none;
  padding: 0;
}

.integrations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.integrations-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integrations-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.integrations-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 2px 8px;
  border-radius: 20px;
}

.integrations-head a {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  transition: color 0.12s;
}
.integrations-head a:hover { text-decoration: underline; }

/* Integrations — Option B list style */
.int-list {
  display: flex;
  flex-direction: column;
}

.int-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: opacity 0.12s;
}

.int-item:last-child { border-bottom: none; }
.int-item:hover { opacity: 0.8; }

.int-bar {
  width: 3px;
  min-height: 40px;
  border-radius: 2px;
  background: #C7D0FF;
  flex-shrink: 0;
  transition: background 0.12s;
}

.int-item:hover .int-bar { background: var(--blue); }

.int-body {
  flex: 1;
  min-width: 0;
}

.int-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
}

.int-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

.int-read {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.int-read svg { width: 11px; height: 11px; }

/* int-card styles removed — replaced by int-item list */

/* ─────────────────────────────────────────
   CONTACT STRIP
───────────────────────────────────────── */

.contact-strip {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact-text { flex: 1; }

.contact-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
}

.contact-actions { display: flex; gap: 10px; flex-shrink: 0; }

.contact-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.contact-btn svg { width: 15px; height: 15px; }

.contact-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.contact-btn-ghost:hover {
  border-color: var(--ink-3);
  background: var(--surface);
  color: var(--ink);
}

.contact-btn-primary {
  background: #2E35C9;
  border: 1px solid #2E35C9;
  color: #fff;
}
.contact-btn-primary:hover {
  background: #3540D9;
  border-color: #3540D9;
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-light);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-left strong { color: var(--ink-2); font-weight: 500; }

.footer-links { display: flex; align-items: center; gap: 20px; }

.footer-links a {
  font-size: 12.5px;
  color: var(--ink-3);
  transition: color 0.12s;
}
.footer-links a:hover { color: var(--ink); }


/* ─────────────────────────────────────────
   ARTICLE PAGE — SIDEBAR NAV
   (from article_page template)
───────────────────────────────────────── */

/* ─────────────────────────────────────────
   ARTICLE PAGE LAYOUT
───────────────────────────────────────── */

.article-shell {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 52px);
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Left sidebar */
.article-sidebar {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-light);
  background: var(--surface);
  padding: 0;
  position: relative;
  /* Bleed sidebar colour to the left viewport edge on wide screens */
  box-shadow: -100vw 0 0 100vw var(--surface);
}

/* Sticky inner nav so links scroll with user while bg extends full height */
.article-sidebar nav {
  position: sticky;
  top: 52px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 20px 8px;
}

.sidebar-section-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}

.sidebar-link {
  display: block;
  padding: 5px 8px 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.1s, color 0.1s;
}
.sidebar-link:hover  { background: var(--border-light); color: var(--ink); }
.sidebar-link.active {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 500;
}

/* Main article area */
.article-main {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 80px;
  max-width: 900px;
}

/* Article content fills the column — TOC constrains the right side */
.article-content {
  width: 100%;
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.article-breadcrumb a { color: var(--ink-3); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--ink); }

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

.article-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.75rem;
  font-weight: 300;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.article-meta-author { color: var(--ink-2); }

/* Article body */
.article-body {
  font-size: 16px; /* a11y: minimum readable size */
  line-height: 1.8;
  color: var(--ink);
}
.article-body h2 { font-size: 1.25rem; font-weight: 600; margin: 2em 0 0.6em; color: var(--ink); }
.article-body h3 { font-size: 1.05rem; font-weight: 600; margin: 1.75em 0 0.5em; color: var(--ink); }
.article-body p  { margin: 0 0 1em; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin: 0 0 1em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a  { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--blue-hover); }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 1em 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14px; }
.article-body th { background: var(--surface); font-weight: 600; text-align: left;
  padding: 10px 14px; border: 1px solid var(--border-light); }
.article-body td { padding: 9px 14px; border: 1px solid var(--border-light); vertical-align: top; }
.article-body tr:nth-child(even) td { background: var(--surface); }
.article-body code { font-family: 'DM Mono', monospace; font-size: 13px;
  background: var(--surface); padding: 2px 6px; border-radius: 4px; color: var(--ink); }
.article-body pre { background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 20px; overflow-x: auto; margin: 1.5em 0; }
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body blockquote { border-left: 3px solid var(--blue-light);
  padding: 4px 0 4px 20px; margin: 1.5em 0; color: var(--ink-2); }

/* Vote / feedback */
.article-feedback {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-feedback-label { font-size: 14px; color: var(--ink-2); }
.article-feedback-btns { display: flex; align-items: center; gap: 8px; }
.article-vote {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.1s, background 0.1s;
}
.article-vote:hover { border-color: var(--blue); color: var(--blue); }
.article-vote-label { font-size: 12.5px; color: var(--ink-3); }

/* Sidebar legacy classes (section/category pages still use these) */
.sidebar { width: 240px; flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--border-light); padding: 28px 12px; }
.sidebar-logo { padding: 0 8px 16px; border-bottom: 1px solid var(--border-light); margin-bottom: 12px; }
.sidebar-logo span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); }
.sidebar-section { margin-bottom: 4px; }
.sidebar-section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  padding: 16px 8px 6px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.sidebar-section:first-child .sidebar-section-label {
  border-top: none;
  padding-top: 4px;
  margin-top: 0;
}


/* ─────────────────────────────────────────
   ARTICLE PAGE — TOC RAIL
───────────────────────────────────────── */

.toc-rail {
  width: 180px;
  flex-shrink: 0;
  padding: 36px 16px 40px 20px;
  position: sticky;
  top: 52px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  align-self: flex-start;
  scrollbar-width: thin;
}

.toc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.toc-list { list-style: none; }

.toc-item a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0;
  border-left: 2px solid var(--border-light);
  padding-left: 12px;
  transition: color 0.12s, border-color 0.12s;
  line-height: 1.5;
}
.toc-item a:hover,
.toc-item.active a { color: var(--blue); border-left-color: var(--blue); }


/* ─────────────────────────────────────────
   ARTICLE PAGE — CALLOUT BLOCKS
───────────────────────────────────────── */

.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin: 16px 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.callout-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.callout-body strong { font-weight: 600; display: block; margin-bottom: 3px; }
.callout-body p { font-size: 13.5px; margin: 0; }

.callout-tip {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
}
.callout-tip .callout-icon { color: var(--blue); }
.callout-tip strong { color: var(--blue-hover); }

.callout-warning {
  background: #FFCDC7;
  border: 1px solid #FF8E80;
}
.callout-warning .callout-icon { color: #410007; }
.callout-warning strong { color: #410007; }

.callout-note {
  background: #FFF5D6;
  border: 1px solid #FDDE81;
}
.callout-note .callout-icon { color: #6B5000; }
.callout-note strong { color: #6B5000; }


/* ─────────────────────────────────────────
   ARTICLE PAGE — STEPS
───────────────────────────────────────── */

.steps { margin: 16px 0; display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 20px;
}
.step:last-child { padding-bottom: 0; }

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}
.step:last-child .step-line { display: none; }

.step-content { padding-top: 3px; padding-bottom: 4px; }

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.ui-tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
}


/* ─────────────────────────────────────────
   ARTICLE PAGE — TABLES
───────────────────────────────────────── */

.table-wrap {
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

thead tr { background: var(--surface); }

th {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th.center { text-align: center; }

td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-2);
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FDFAF5; }

td.check-cell { text-align: center; }

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #EBF5FF;
  border-radius: 50%;
  color: var(--blue);
}

.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--surface);
  border-radius: 50%;
  color: var(--border);
}

.check-yes svg, .check-no svg { width: 12px; height: 12px; }

.badge-legacy {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ink-2);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* ── 1920px+: ultra-wide — expand sidebar, article, and TOC ── */
@media (min-width: 1920px) {
  .article-sidebar { width: 280px; }
  .article-main    { max-width: 1100px; padding: 48px 72px 100px; }
  .toc-rail        { width: 240px; padding: 48px 20px 40px 24px; }
}

/* ── 1600px: wide monitor ── */
@media (min-width: 1600px) and (max-width: 1919px) {
  .article-sidebar { width: 240px; }
  .article-main    { max-width: 1000px; padding: 40px 60px 90px; }
  .toc-rail        { width: 210px; }
}

/* ── 1100px: hide TOC rail ── */
@media (max-width: 1100px) {
  .toc-rail { display: none; }
}

/* ── 960px: tablet ── */
@media (max-width: 960px) {
  .whats-new-cards   { grid-template-columns: 1fr 1fr; }
  .categories-grid   { grid-template-columns: repeat(2, 1fr); }
  .two-col           { grid-template-columns: 1fr; gap: 32px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip     { flex-direction: column; align-items: flex-start; gap: 20px; }
  .video-grid        { grid-template-columns: 1fr 1fr; }

  /* Article: hide sidebars, let content breathe */
  .sidebar { display: none; }
  .article-sidebar { display: none; }
  .article-main { padding: 28px 32px 64px; }
  .article-wrap { padding: 32px 32px 64px; }

}

/* ── 768px: large mobile ── */
@media (max-width: 768px) {
  .article-main { padding: 20px 20px 56px; }
  /* Nav: show hamburger, hide links */
  .nav-links  { display: none; }
  .nav-right .nav-btn-ghost { display: none; } /* hide Sign in, keep Submit */

  .topnav {
    padding: 0 20px;
    gap: 12px;
  }

  /* Mobile nav menu (toggled by JS) */
  .mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 52px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 20px 20px;
    z-index: 199;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .mobile-nav-open .nav-link {
    padding: 10px 12px;
    font-size: 15px;
  }

  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: none; background: transparent;
    cursor: pointer; color: var(--ink-2);
    border-radius: var(--radius-sm);
    margin-left: auto;
    transition: background 0.12s;
  }
  .nav-hamburger:hover { background: var(--surface); }
  .nav-hamburger svg   { width: 18px; height: 18px; }

  /* Hero */
  .hero { padding: 48px 24px 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-strip { margin-left: -24px; margin-right: -24px; width: calc(100% + 48px); }
  .search-dropdown-footer { display: none; } /* hide keyboard hints on touch */

  /* What's New */
  .whats-new        { padding: 0 20px; cursor: grab;}
  .whats-new-cards  { grid-template-columns: 1fr; }
  .whats-new-inner  { padding: 28px 0; }
  
  .whats-new-cards:active { cursor: grabbing; }
  .whats-new-cards::-webkit-scrollbar { display: none; }

  /* Page body */
  .page-body { padding: 32px 20px 60px; }

  /* Videos: horizontal scroll on small screens */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Integrations */
  .integrations-grid { grid-template-columns: 1fr; }

  .integrations-head  { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Article page */
  .topbar       { padding: 0 20px; height: 48px; }
  .article-wrap { padding: 24px 20px 56px; }

  /* Category cards — stack icon above title on mobile */
  .cat-card { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
  .categories-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {
  /* Nav: also hide Submit a request text, keep it short */
  .nav-btn-primary {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Hero */
  .hero { padding: 40px 16px 0; }
  .hero h1 { font-size: 1.6rem; }
  .hero-strip { margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); }
  .hero-sub { font-size: 14px; }
  .search-input { font-size: 14px; padding: 12px 40px 12px 38px; }
  .search-kbd { display: none; } /* no ⌘K hint on mobile */

  /* What's New cards — tighter */
  .wn-card { padding: 14px 16px 12px; }
  .wn-card-title { font-size: 13.5px; }
  .wn-card-desc  { display: none; } /* hide desc on tiny screens, keep title + cat */

  /* Category cards — single column, more compact */
  .categories-grid { grid-template-columns: 1fr; gap: 8px; }
  .cat-card { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; }
  .cat-desc  { display: none; }
  .cat-count { margin-top: 0; }

  /* Video tabs: allow horizontal scroll */
  .video-tabs { gap: 0; }
  .video-tab  { padding: 8px 10px; font-size: 12.5px; }

  /* Page body */
  .page-body { padding: 24px 16px 48px; }

  /* Section headings */
  .section-head h2 { font-size: 0.95rem; }

  /* Article */
  .article-wrap { padding: 20px 16px 48px; }
  h1 { font-size: 1.4rem; }

  /* Contact strip */
  .contact-strip { padding: 20px; }
  .contact-actions { width: 100%; }
  .contact-btn-primary { width: 100%; justify-content: center; }

  /* Integrations */


  /* Video modal: full screen on mobile */
  .video-modal-inner {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    position: fixed;
    bottom: 0; left: 0; right: 0;
  }

  /* Footer */
  .footer { padding: 20px 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}


/* ─────────────────────────────────────────
   ARTICLE BODY — styles for Zendesk WYSIWYG content
   ─────────────────────────────────────────── */

.article-body { font-size: 16px; line-height: 1.8; color: var(--ink); }
.article-body p  { margin-bottom: 16px; }
.article-body h2 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 32px 0 12px; letter-spacing: -0.015em; }
.article-body h3 { font-size: 1rem;   font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.article-body h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }

.article-body ul,
.article-body ol { margin: 12px 0 16px 24px; }
.article-body li { margin-bottom: 6px; }

.article-body a        { color: var(--blue); text-decoration: underline; }
.article-body a:hover  { color: var(--blue-hover); }

.article-body blockquote {
  border-left: 3px solid var(--blue-mid);
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--blue-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
}

.article-body img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin: 16px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-body th {
  padding: 10px 14px;
  background: var(--surface);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-body td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-2);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td      { background: #FDFAF5; }

.article-body code {
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--blue-dark);
}

.article-body pre {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 16px 0;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 32px 0;
}

/* Zendesk note/warning/tip macros */
.article-body .note {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13.5px;
}
.article-body .warning {
  background: #FFCDC7;
  border: 1px solid #FF8E80;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13.5px;
}

/* ─────────────────────────────────────────
   LAYOUT — article page three-column
   ─────────────────────────────────────────── */

body { display: flex; flex-direction: column; min-height: 100vh; }
.main { display: flex; flex-direction: column; flex: 1; }

/* ─────────────────────────────────────────
   ZENDESK NATIVE ELEMENTS
   ─────────────────────────────────────────── */

/* Vote widget */
.vote { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--border-light); }

/* Breadcrumbs (Zendesk renders these as <ol>) */
.breadcrumb ol { display: flex; align-items: center; gap: 6px; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.breadcrumb li a { color: var(--ink-3); text-decoration: none; }
.breadcrumb li a:hover { color: var(--blue); }
.breadcrumb li + li::before { content: '›'; font-size: 12px; }

/* Comments */
.comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-light); }

/* Related articles */
.related { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 24px; margin-top: 48px; }
.related h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 12px; }
.related ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.related li a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: none; }
.related li a:hover { text-decoration: underline; }

/* Article page topbar */
.topbar {
  position: sticky; top: 52px; z-index: 10;
  background: var(--paper); border-bottom: 1px solid var(--border-light);
  padding: 0 48px; height: 52px;
  display: flex; align-items: center;
}


/* ─────────────────────────────────────────
   FULL-WIDTH ARTICLE LAYOUT
   Add class="full-width-article" to a wrapper
   div in the article body to hide the sidebar
   and expand content to full width.
───────────────────────────────────────── */

.full-width-article ~ * .sidebar,
.article-body .full-width-article ~ .sidebar { display: none; }

/* When the article body contains .full-width-article,
   hide the sidebar at the layout level via JS-added
   body class (see script.js) */
body.is-full-width-article .sidebar { display: none; }
body.is-full-width-article .toc-rail { display: none; }

body.is-full-width-article .article-wrap {
  max-width: 900px;
  padding-left: 48px;
  padding-right: 48px;
}

@media (max-width: 960px) {
  body.is-full-width-article .article-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 480px) {
  body.is-full-width-article .article-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* ─────────────────────────────────────────
   SIDEBAR — active category label highlight
───────────────────────────────────────── */

.sidebar-section-label.active {
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 8px;
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-section-label.active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   SECTION PAGE — responsive improvements
───────────────────────────────────────── */

/* Tablet: cap and center content when sidebar hides */
@media (max-width: 960px) {
  .section-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 36px 32px 72px;
  }
}

@media (max-width: 768px) {
  .section-content {
    max-width: 100%;
    padding: 28px 24px 60px;
  }
  .section-header h1   { font-size: 1.5rem; }
  .section-header p    { font-size: 14px; }
  .subsection-head     { margin-bottom: 10px; }
  .section-article-item { padding: 10px; gap: 10px; }
}

@media (max-width: 480px) {
  .section-content     { padding: 20px 16px 48px; }
  .section-header      { margin-bottom: 24px; padding-bottom: 20px; }
  .section-header h1   { font-size: 1.3rem; }
  .section-category-label { display: none; }
  .section-meta        { display: none; }
  .subsection-head     { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-article-icon { display: none; }
  .section-article-item { padding: 10px 8px; gap: 0; }
  .section-article-title { font-size: 13.5px; }
  .section-article-snippet { display: none; }
}


/* ─────────────────────────────────────────
   SECTION PAGE — layout & components
───────────────────────────────────────── */

.section-content {
  padding: 40px 48px 80px;
  max-width: 760px;
}

.section-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.section-category-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}

.section-header h1 {
  font-size: 1.85rem;
  font-weight: 300;
  font-family: 'GT Planar', var(--heading-font), sans-serif;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 560px;
}

.section-meta {
  display: flex; align-items: center; gap: 16px;
  margin-top: 16px; font-size: 12.5px; color: var(--ink-3);
}
.section-meta span { display: flex; align-items: center; gap: 5px; }
.section-meta svg  { width: 13px; height: 13px; }

.subsection { margin-bottom: 40px; }

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

.subsection-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}

.subsection-count {
  font-size: 12px; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--border-light);
  padding: 1px 8px; border-radius: 20px;
}

/* Section page article item overrides */
.section-article-item {
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}
.section-article-item:hover { border-color: var(--border-light); }

.section-article-icon {
  width: 18px; height: 18px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.section-article-icon svg { width: 18px; height: 18px; }
.section-article-item:hover .section-article-icon { color: var(--blue); }

.article-item-snippet {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}


/* ─────────────────────────────────────────
   ZENDESK PAGE WRAPPER OVERRIDES
   Zendesk wraps content in .wrapper — reset
   its max-width so our layout takes over
───────────────────────────────────────── */

/* Reset Zendesk's default wrapper constraints */
.wrapper {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure body fills full viewport */
body {
  background: var(--paper);
}

/* Ensure hero spans full width */
.hero {
  width: 100%;
}

/* page-body max-width set in base styles above */

/* Ensure categories grid shows icons */
.cat-icon-auto {
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
}

/* Fallback icon color for categories with no JS */
.cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ─────────────────────────────────────────
   VIDEO TUTORIALS SECTION
───────────────────────────────────────── */

.videos {
  margin-bottom: 52px;
}

.video-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.video-tabs::-webkit-scrollbar { display: none; }

.video-tab {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: -1px;
  transition: color 0.12s;
}
.video-tab:hover { color: var(--ink); }
.video-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.video-tab-count {
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--ink-3);
  padding: 1px 6px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
}
.video-tab.is-active .video-tab-count {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue);
}

.video-panel { display: none; }
.video-panel.is-active { display: block; }

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

.video-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.video-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: var(--border);
}

.video-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.15s;
}
.video-card:hover .video-card-play { background: rgba(0,0,0,0.4); }

.video-card-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
  flex-shrink: 0;
}
.video-card:hover .video-card-play-btn {
  transform: scale(1.08);
  background: #fff;
}
.video-card-play-btn svg {
  width: 18px;
  height: 18px;
  color: var(--ink);
  margin-left: 2px; /* optical center for play triangle */
}

.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Mono', monospace;
  color: #fff;
  background: rgba(0,0,0,0.65);
  padding: 2px 6px;
  border-radius: 4px;
}

.video-card-body {
  padding: 14px 16px 16px;
}

.video-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
}

.video-card-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  margin-top: 6px;
}

.video-card-cat {
  font-size: 11.5px;
  color: var(--ink-3);
}

.video-card-related {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.video-card-related:hover { text-decoration: underline; }
.video-card-related svg { width: 10px; height: 10px; }

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.video-modal.is-open { display: flex; }

.video-modal-inner {
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  width: 90%;
  max-width: 860px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.video-modal-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-modal-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-modal-bar {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.video-modal-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.video-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: inherit;
}
.video-modal-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.video-modal-close svg { width: 14px; height: 14px; }

/* Responsive video grid */
@media (max-width: 960px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .video-modal-inner {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    position: fixed;
    bottom: 0; left: 0; right: 0;
  }
}


/* ─────────────────────────────────────────
   CONTACT STRIP — style native Zendesk link
───────────────────────────────────────── */

.contact-btn-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2E35C9;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.contact-btn-wrap a:hover {
  background: #3540D9;
  color: #fff;
}


/* ─────────────────────────────────────────
   FOOTER — locale selector
───────────────────────────────────────── */

.footer-locales {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-locale-current {
  font-size: 12.5px;
  color: var(--ink-3);
  cursor: default;
  padding: 4px 8px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.footer-locale-list {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 6px;
  padding-bottom: 12px; /* extends hover area downward to bridge gap */
  margin-bottom: -6px;  /* visual gap preserved, hover area bridged */
  min-width: 160px;
  z-index: 100;
}

.footer-locales:hover .footer-locale-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-locale-list a {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.1s;
}

.footer-locale-list a:hover {
  background: var(--surface);
  color: var(--ink);
}


/* ─────────────────────────────────────────
   SKIP NAVIGATION — visually hidden
───────────────────────────────────────── */

.skip-navigation {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}
.skip-navigation:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   NAV LOGO — fix block link stacking
───────────────────────────────────────── */

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.nav-logo a:hover { color: var(--ink); }

.nav-logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ─────────────────────────────────────────
   NAV SUBMIT — style native new request link
───────────────────────────────────────── */

.nav-submit-wrap a {
  display: inline-flex;
  align-items: center;
  background: #2E35C9;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-submit-wrap a:hover {
  background: #3540D9;
  color: #fff;
}


/* ─────────────────────────────────────────
   ZENDESK SEARCH HELPER — override styles
   {{search}} generates a <form> with an
   <input type="search"> inside it
───────────────────────────────────────── */

/* The form wrapper */
.search-wrap form,
.search-wrap .search-input {
  width: 100%;
  margin: 0;
}

/* The actual input */
.search-wrap input[type="search"],
.search-wrap input[type="text"] {
  width: 100%;
  padding: 14px 48px 14px 44px;
  font-family: 'GT Planar', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.search-wrap input[type="search"]:focus,
.search-wrap input[type="text"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

/* Hide the default search submit button */
.search-wrap input[type="submit"],
.search-wrap button[type="submit"] {
  display: none;
}

/* Hide browser's default clear button on search inputs */
.search-wrap input[type="search"]::-webkit-search-cancel-button {
  display: none;
}


/* ─────────────────────────────────────────
   ZENDESK SEARCH FORM — strip double border
───────────────────────────────────────── */

/* Reset Zendesk's default form container styling */
.search-wrap form,
.search-wrap .search-input,
.search-wrap .search {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Only the actual input gets our border */
.search-wrap input[type="search"],
.search-wrap input[type="text"] {
  background: var(--paper) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  padding: 14px 48px 14px 44px !important;
  font-size: 15px !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  color: var(--ink) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
}

.search-wrap input[type="search"]:focus,
.search-wrap input[type="text"]:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px var(--blue-light) !important;
}


/* ─────────────────────────────────────────
   INSTANT SEARCH DROPDOWN — restyle to match theme
───────────────────────────────────────── */

/* Main dropdown container */
#instant-search-container,
/* Zendesk instant search dropdown — rendered as .search-form ul.results */
.search-form ul.results,
.search ul.results,
.instant-search-results,
[data-garden-id="search.results_container"] {
  background: var(--paper) !important;
  border: 1.5px solid var(--border) !important;
  border-top: none !important;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  overflow: hidden !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Individual result items */
.search-form ul.results li.result,
.search ul.results li.result,
.instant-search-results li,
.instant-search-results .result {
  border-bottom: 1px solid var(--border-light) !important;
  padding: 0 !important;
  list-style: none !important;
}
.search-form ul.results li.result:last-child,
.search ul.results li.result:last-child,
.instant-search-results li:last-child {
  border-bottom: none !important;
}

/* Result links */
.search-form ul.results li.result a,
.search ul.results li.result a,
.instant-search-results a {
  display: block !important;
  padding: 11px 16px !important;
  text-decoration: none !important;
  transition: background 0.1s !important;
}
.search-form ul.results li.result a:hover,
.search ul.results li.result a:hover,
.instant-search-results a:hover {
  background: var(--surface) !important;
}

/* Article title within result */
.search-form ul.results .result-link,
.search ul.results .result-link,
.instant-search-results .result-link,
.instant-search-results h3 {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--blue) !important;
  margin-bottom: 2px !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Match highlight text */
.search-form ul.results strong,
.search-form ul.results b,
.search ul.results strong,
.search ul.results b,
.instant-search-results strong,
.instant-search-results b {
  font-weight: 700 !important;
  color: var(--blue-dark) !important;
}

/* Breadcrumb path below title */
.search-form ul.results p,
.search ul.results p,
.instant-search-results p,
.instant-search-results .meta {
  font-size: 11.5px !important;
  color: var(--ink-3) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Focus state on search input when dropdown open */
.search-wrap input[type="search"]:focus,
.search-wrap input[type="text"]:focus {
  border-radius: var(--radius) var(--radius) 0 0 !important;
}


/* ─────────────────────────────────────────
   NAV LOGO IMAGE — from settings.logo
───────────────────────────────────────── */

.nav-logo-img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}


/* ─────────────────────────────────────────
   START HERE SECTION
───────────────────────────────────────── */

.start-here {
  margin-bottom: 52px;
}

/* Getting Started hero card */
.start-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 14px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.start-hero:hover { opacity: 0.93; }

.start-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.start-hero-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.start-hero-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.start-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3px;
}
.start-hero-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.start-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.start-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: inherit;
}
.start-hero-cta:hover { background: rgba(255,255,255,0.25); }
.start-hero-cta svg { width: 11px; height: 11px; }

/* Mode card grids */
.start-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.start-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Mode cards */
.start-card {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.start-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 4px 16px rgba(46,60,255,0.07);
}

.start-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.start-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.start-icon svg { width: 20px; height: 20px; }

.start-icon-blue,
.start-icon-gold,
.start-icon-red,
.start-icon-neutral,
.start-icon-blue2   { background: #C7D0FF; color: #010066; }

.start-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.start-card-desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.start-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.start-guide-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--ink-3);
  padding: 2px 7px;
  border-radius: 4px;
}
.start-read {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 3px;
}
.start-read svg { width: 10px; height: 10px; }

/* Responsive */
@media (max-width: 860px) {
  .start-grid-top    { grid-template-columns: 1fr 1fr; }
  .start-grid-bottom { grid-template-columns: 1fr 1fr; }
  .start-hero { flex-direction: column; align-items: flex-start; }
  .start-hero-cta { align-self: flex-start; }
}
@media (max-width: 640px) {
  .start-grid-top    { grid-template-columns: 1fr; }
  .start-grid-bottom { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   BREADCRUMBS — strip numbered list style
───────────────────────────────────────── */

.article-breadcrumb ol,
.article-breadcrumb ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.article-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* Add › separator after each item except the last */
.article-breadcrumb li + li::before {
  content: '›';
  margin-right: 4px;
  color: var(--border);
}

.article-breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
}
.article-breadcrumb a:hover {
  color: var(--ink);
}

/* Current page — last breadcrumb item */
.article-breadcrumb li:last-child {
  color: var(--ink-2);
}


/* ─────────────────────────────────────────
   RELATED ARTICLES — restyle Zendesk output
───────────────────────────────────────── */

/* Hide the default bold heading Zendesk renders */
.article-related .related-articles-title,
.article-related h3,
.article-related h2 {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ink-3) !important;
  margin-bottom: 14px !important;
}

/* Strip default list styling */
.article-related ul,
.article-related ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

/* Each row */
.article-related li {
  margin: 0 !important;
  padding: 0 !important;
}

/* The link itself */
.article-related li a,
.article-related a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  color: var(--ink) !important;
  transition: background 0.1s !important;
}
.article-related li a:hover,
.article-related a:hover {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

/* Arrow appended via ::after pseudo-element */
.article-related li a::after,
.article-related a::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--ink-3);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='currentColor' stroke-width='1.75'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='currentColor' stroke-width='1.75'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Top divider on the whole section */
.article-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}


/* ─────────────────────────────────────────
   ARTICLE TOPBAR — breadcrumb + search
───────────────────────────────────────── */

.article-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  min-height: 32px;
}

/* Search icon button */
.article-search-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
.article-search-btn:hover {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

/* Search field — hidden by default */
.article-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.article-search-field {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 0 8px 0 12px;
  box-shadow: 0 0 0 3px var(--blue-light);
  width: 260px;
  transition: width 0.2s;
}

.article-search-field.is-open {
  display: flex;
}

/* Override Zendesk search form inside the field */
.article-search-field form,
.article-search-field .article-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.article-search-field input[type="search"],
.article-search-field input[type="text"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  font-size: 13.5px !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  color: var(--ink) !important;
  outline: none !important;
  width: 100% !important;
  -webkit-appearance: none !important;
}

.article-search-field input[type="submit"],
.article-search-field button[type="submit"] {
  display: none !important;
}

.article-search-field input[type="search"]::-webkit-search-cancel-button {
  display: none !important;
}

/* Close button inside field */
.article-search-close {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  flex-shrink: 0;
  padding: 0;
  border-radius: 4px;
  font-family: inherit;
  transition: color 0.1s, background 0.1s;
}
.article-search-close:hover {
  color: var(--ink);
  background: var(--surface);
}


/* ─────────────────────────────────────────
   NAV SEARCH — expandable in navbar
───────────────────────────────────────── */

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

.nav-search-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
.nav-search-btn:hover {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

.nav-search-field {
  display: none;
  align-items: center;
  gap: 4px;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 0 6px 0 12px;
  box-shadow: 0 0 0 3px var(--blue-light);
  width: 280px;
}

.nav-search-field.is-open { display: flex; }

.nav-search-field form,
.nav-search-field .nav-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-search-field input[type="search"],
.nav-search-field input[type="text"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  font-size: 13.5px !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  color: var(--ink) !important;
  outline: none !important;
  width: 100% !important;
  -webkit-appearance: none !important;
}

.nav-search-field input[type="submit"],
.nav-search-field button[type="submit"] { display: none !important; }

.nav-search-field input[type="search"]::-webkit-search-cancel-button { display: none !important; }

.nav-search-close {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  flex-shrink: 0;
  padding: 0;
  border-radius: 4px;
  font-family: inherit;
  transition: color 0.1s, background 0.1s;
}
.nav-search-close:hover { color: var(--ink); background: var(--surface); }


/* ─────────────────────────────────────────
   REQUEST FORM — override Zendesk defaults
───────────────────────────────────────── */

/* Page layout */
.request-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}

/* Page heading */
.request-page h1,
#new-request-form h1,
.new-request-page h1 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
}

/* Required note */
.request-page .required-fields-note,
#new-request-form .required-fields-note {
  font-size: 13px !important;
  color: var(--ink-3) !important;
  margin-bottom: 28px !important;
}

/* Form field labels */
.request-page label,
#new-request-form label,
.form-field label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* All text inputs, selects, textareas */
#new-request-form input[type="text"],
#new-request-form input[type="email"],
#new-request-form input[type="search"],
#new-request-form select,
#new-request-form textarea,
.request-page input[type="text"],
.request-page input[type="email"],
.request-page select,
.request-page textarea,
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}

#new-request-form input:focus,
#new-request-form select:focus,
#new-request-form textarea:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px var(--blue-light) !important;
}

/* Textarea specific */
#new-request-form textarea,
.form-field textarea {
  min-height: 140px !important;
  resize: vertical !important;
  line-height: 1.6 !important;
}

/* Submit button */
#new-request-form input[type="submit"],
#new-request-form button[type="submit"],
.request-page input[type="submit"],
.request-page .submit {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}

#new-request-form input[type="submit"]:hover,
#new-request-form button[type="submit"]:hover {
  background: var(--blue-hover) !important;
}

/* File upload zone */
#new-request-form .upload-dropzone,
.upload-dropzone,
[data-upload-dropzone] {
  background: var(--surface) !important;
  border: 1.5px dashed var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--ink-3) !important;
}

/* Form field spacing */
.form-field {
  margin-bottom: 24px !important;
}


/* ─────────────────────────────────────────
   REQUEST DETAIL PAGE (request_page.hbs)
───────────────────────────────────────── */

.request-breadcrumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
  padding: 24px 48px 0;
}
.request-breadcrumbs ol,
.request-breadcrumbs ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.request-breadcrumbs li { display: flex; align-items: center; font-size: 13px; color: var(--ink-3); }
.request-breadcrumbs li + li::before { content: '›'; margin-right: 4px; color: var(--border); }
.request-breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.request-breadcrumbs a:hover { color: var(--ink); }

.request-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  padding: 0 48px 24px !important;
  border-bottom: 1px solid var(--border-light) !important;
  margin: 0 !important;
}

.request-container {
  display: flex !important;
  gap: 40px !important;
  padding: 32px 48px 80px !important;
  align-items: flex-start !important;
}

/* Main comments column */
.request-main {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Comment list */
.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.comment {
  background: var(--paper) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}

.comment-wrapper {
  padding: 20px !important;
}

.comment-author {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.comment-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.user-avatar { width: 100% !important; height: 100% !important; object-fit: cover !important; }

.comment-meta { display: flex; flex-direction: column; gap: 2px; }
.comment-meta a { font-size: 13.5px !important; font-weight: 600 !important; color: var(--ink) !important; text-decoration: none !important; }
.meta-data { font-size: 12px !important; color: var(--ink-3) !important; }

.comment-body {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  padding-top: 4px !important;
}
.comment-body p { margin-bottom: 0.75em !important; }

/* Reply form */
.comment-form {
  margin-top: 24px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
}
.comment-container { flex: 1; }
.comment-fields { margin-bottom: 12px; }
.comment-form-controls {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

/* Sidebar — ticket details */
.request-sidebar {
  width: 240px !important;
  flex-shrink: 0 !important;
  background: var(--surface) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  padding: 20px !important;
}

.collapsible-sidebar-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.collapsible-sidebar-toggle { display: none !important; }

.request-details {
  margin-bottom: 16px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2px !important;
}
.request-details dt {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--ink-3) !important;
  margin-top: 12px !important;
}
.request-details dd {
  font-size: 13.5px !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* Status badge */
.status-label {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  background: var(--surface) !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--border-light) !important;
}
.status-label-solved { background: #EDFAF2 !important; color: #1A7A42 !important; border-color: #9FE1CB !important; }
.status-label-open   { background: var(--blue-light) !important; color: var(--blue-dark) !important; border-color: var(--blue-mid) !important; }
.status-label-pending { background: var(--gold-surface) !important; color: var(--gold-on) !important; border-color: var(--gold-highlight) !important; }
.status-label-closed  { background: var(--neutral-surface) !important; color: var(--neutral-on) !important; border-color: var(--neutral-highlight) !important; }

/* Follow up notice */
.request-follow-up {
  font-size: 13px !important;
  color: var(--ink-3) !important;
  padding: 12px 16px !important;
  background: var(--surface) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 20px !important;
}

@media (max-width: 768px) {
  .request-container { flex-direction: column !important; padding: 24px 20px 60px !important; }
  .request-sidebar { width: 100% !important; }
  .request-title { padding: 0 20px 20px !important; }
  .request-breadcrumbs { padding: 16px 20px 0 !important; }
}


/* ─────────────────────────────────────────
   NEW REQUEST PAGE — layout + form styles
───────────────────────────────────────── */

.new-request-shell {
  width: 100%;
  background: var(--paper);
}

.new-request-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}

.new-request-breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.new-request-breadcrumb ol,
.new-request-breadcrumb ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.new-request-breadcrumb li { display: flex; align-items: center; font-size: 13px; color: var(--ink-3); }
.new-request-breadcrumb li + li::before { content: '›'; margin-right: 4px; color: var(--border); }
.new-request-breadcrumb a { color: var(--ink-3); text-decoration: none; }
.new-request-breadcrumb a:hover { color: var(--ink); }

.new-request-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.new-request-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.new-request-header p {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ── Target React-injected form elements ── */

/* Field rows */
.new-request-form-wrap .form-field,
#new-request-form .form-field {
  margin-bottom: 22px !important;
}

/* Labels */
.new-request-form-wrap label,
#new-request-form label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
  display: block !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
}

/* Hint/description text */
.new-request-form-wrap .form-field-description,
#new-request-form .form-field-description {
  font-size: 12px !important;
  color: var(--ink-3) !important;
  margin-bottom: 8px !important;
}

/* Required asterisk */
.new-request-form-wrap [aria-required="true"]::after,
#new-request-form .form-field-required-label {
  color: var(--blue) !important;
}

/* All inputs + selects */
.new-request-form-wrap input:not([type="submit"]):not([type="checkbox"]):not([type="file"]),
.new-request-form-wrap select,
#new-request-form input:not([type="submit"]):not([type="checkbox"]):not([type="file"]),
#new-request-form select {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}

/* Textarea / rich text editor container */
.new-request-form-wrap .ql-container,
.new-request-form-wrap .ql-editor,
#new-request-form .ql-container,
#new-request-form .ql-editor {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  min-height: 140px !important;
  border-radius: 0 0 var(--radius) var(--radius) !important;
}
.new-request-form-wrap .ql-toolbar,
#new-request-form .ql-toolbar {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
}
.new-request-form-wrap .ql-container,
#new-request-form .ql-container {
  border-color: var(--border-light) !important;
}

/* Focus states */
.new-request-form-wrap input:focus,
.new-request-form-wrap select:focus,
#new-request-form input:focus,
#new-request-form select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px var(--blue-light) !important;
}

/* Submit button */
.new-request-form-wrap button[type="submit"],
.new-request-form-wrap input[type="submit"],
#new-request-form button[type="submit"],
#new-request-form input[type="submit"] {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
.new-request-form-wrap button[type="submit"]:hover,
#new-request-form button[type="submit"]:hover {
  background: var(--blue-hover) !important;
}

/* File upload */
.new-request-form-wrap [data-garden-id="file-upload"],
#new-request-form [data-garden-id="file-upload"],
.new-request-form-wrap .file-upload,
#new-request-form .file-upload {
  background: var(--surface) !important;
  border: 1.5px dashed var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--ink-3) !important;
}

/* Required note at top */
.new-request-form-wrap .required-fields-note,
#new-request-form .required-fields-note {
  font-size: 13px !important;
  color: var(--ink-3) !important;
  margin-bottom: 24px !important;
}

@media (max-width: 768px) {
  .new-request-body { padding: 24px 20px 60px; }
}


/* ─────────────────────────────────────────
   REQUESTS LIST PAGE + MY ACTIVITIES
   .container used by requests_page, 
   my_activities_page, contributions_page
───────────────────────────────────────── */

/* Requests list page specific — scoped to avoid affecting other .container pages */
.request-list-container,
#requests-list-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 48px 80px;
}

.my-activities-header h1 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin-bottom: 24px !important;
}

/* Requests list table — target React-rendered elements */
#requests-list table,
.requests-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}

#requests-list th,
.requests-table th {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--ink-3) !important;
  background: var(--surface) !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--border-light) !important;
  text-align: left !important;
}

#requests-list td,
.requests-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--border-light) !important;
  color: var(--ink) !important;
  vertical-align: middle !important;
}

#requests-list tr:hover td,
.requests-table tr:hover td {
  background: var(--surface) !important;
}

#requests-list a,
.requests-table a {
  color: var(--blue) !important;
  text-decoration: none !important;
}
#requests-list a:hover,
.requests-table a:hover {
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .container { padding: 24px 20px 60px !important; }
}


/* ─────────────────────────────────────────
   SEARCH RESULTS PAGE
───────────────────────────────────────── */

.search-results-shell {
  width: 100%;
  background: var(--paper);
}

.search-results-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}

/* Search bar */
.search-results-bar {
  position: relative;
  margin-bottom: 36px;
}

.search-results-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  pointer-events: none;
  z-index: 1;
}

.search-results-bar form,
.search-results-bar .search-results-input {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.search-results-bar input[type="search"],
.search-results-bar input[type="text"] {
  width: 100% !important;
  padding: 13px 14px 13px 42px !important;
  font-size: 15px !important;
  font-family: 'GT Planar', 'DM Sans', sans-serif !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
}

.search-results-bar input[type="search"]:focus,
.search-results-bar input[type="text"]:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px var(--blue-light) !important;
}

.search-results-bar input[type="submit"],
.search-results-bar button[type="submit"] { display: none !important; }
.search-results-bar input[type="search"]::-webkit-search-cancel-button { display: none !important; }

/* Header */
.search-results-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.search-results-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.search-results-count {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Results list */
.search-results-list {
  margin-top: 8px;
}

.article-item-meta {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* No results */
.search-no-results {
  text-align: center;
  padding: 64px 20px;
  color: var(--ink-3);
}

.search-no-results svg {
  margin: 0 auto 20px;
  display: block;
  color: var(--border);
}

.search-no-results-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.search-no-results-sub {
  font-size: 13.5px;
  color: var(--ink-3);
}

.search-no-results-sub a {
  color: var(--blue);
  text-decoration: none;
}
.search-no-results-sub a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .search-results-body { padding: 24px 20px 60px; }
}



/* ── Icon colours — dark mode ── */
html.dark-mode .cat-icon-blue,
html.dark-mode .cat-icon-red,
html.dark-mode .cat-icon-gold,
html.dark-mode .cat-icon-neutral,
html.dark-mode .cat-icon-amber,
html.dark-mode .cat-icon-rose,
html.dark-mode .cat-icon-green,
html.dark-mode .cat-icon-purple,
html.dark-mode .cat-icon-teal,
html.dark-mode .start-icon-blue,
html.dark-mode .start-icon-gold,
html.dark-mode .start-icon-red,
html.dark-mode .start-icon-neutral,
html.dark-mode .start-icon-blue2 {
  background: #1E2966 !important;
  color: #ADBFFF !important;
}

html:not(.light-mode) .cat-icon-blue,
html:not(.light-mode) .cat-icon-red,
html:not(.light-mode) .cat-icon-gold,
html:not(.light-mode) .cat-icon-neutral,
html:not(.light-mode) .cat-icon-amber,
html:not(.light-mode) .cat-icon-rose,
html:not(.light-mode) .cat-icon-green,
html:not(.light-mode) .cat-icon-purple,
html:not(.light-mode) .cat-icon-teal,
html:not(.light-mode) .start-icon-blue,
html:not(.light-mode) .start-icon-gold,
html:not(.light-mode) .start-icon-red,
html:not(.light-mode) .start-icon-neutral,
html:not(.light-mode) .start-icon-blue2 {
  background: #1E2966 !important;
  color: #ADBFFF !important;
}


/* Dark mode — featured categories */
html.dark-mode .cat-card:nth-child(-n+3),
html:not(.light-mode) .cat-card:nth-child(-n+3) {
  background: #14183A;
  border-color: rgba(123,139,255,0.35);
}

html.dark-mode .cat-card:nth-child(-n+3) .cat-title,
html:not(.light-mode) .cat-card:nth-child(-n+3) .cat-title {
  color: #ADBFFF;
}

html.dark-mode .cat-card:nth-child(-n+3) .cat-icon,
html:not(.light-mode) .cat-card:nth-child(-n+3) .cat-icon {
  background: #1E2966;
  color: #ADBFFF;
}

html.dark-mode .cat-card:nth-child(n+4) .cat-icon,
html:not(.light-mode) .cat-card:nth-child(n+4) .cat-icon {
  background: #302E2A;
  color: #C8C4BC;
}

/* ═════════════════════════════════════════
   DARK MODE
   Triggered by: .dark-mode on <body>
   OR system prefers-color-scheme: dark
   Brand dark surface: #1A1916 (warm dark)
═════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  html:not(.light-mode) .cat-icon-blue,
  html:not(.light-mode) .cat-icon-red,
  html:not(.light-mode) .cat-icon-gold,
  html:not(.light-mode) .cat-icon-neutral,
  html:not(.light-mode) .cat-icon-amber,
  html:not(.light-mode) .cat-icon-rose,
  html:not(.light-mode) .cat-icon-green,
  html:not(.light-mode) .cat-icon-purple,
  html:not(.light-mode) .cat-icon-teal,
  html:not(.light-mode) .start-icon-blue,
  html:not(.light-mode) .start-icon-gold,
  html:not(.light-mode) .start-icon-red,
  html:not(.light-mode) .start-icon-neutral,
  html:not(.light-mode) .start-icon-blue2 {
    background: #1A1F4A !important;
    color: #ADBFFF !important;
  }

  html:not(.light-mode) {
    --paper:            #111110;
    --surface:          #1E1D1C;
    --surface-2:        #252422;
    --ink:              #F0EDE6;
    --ink-2:            #C8C4BC;
    --ink-3:            #8A8680;
    --border-light:     rgba(255,255,255,0.10);
    --border:           rgba(255,255,255,0.18);
    --blue:             #7B8BFF;
    --blue-hover:       #9BA8FF;
    --blue-light:       rgba(123,139,255,0.18);
    --blue-mid:         #5A6AEF;
    --blue-dark:        #C7D0FF;
    --red-surface:      rgba(255,80,60,0.12);
    --red-on:           #FF8E80;
    --gold-surface:     rgba(255,180,0,0.12);
    --gold-on:          #FDDE81;
    --gold-highlight:   #6B5000;
    --neutral-surface:  rgba(255,255,255,0.06);
    --neutral-on:       #C8C4BC;
    --neutral-highlight:#3A3835;
  }
}

html.dark-mode,
html.dark-mode body,
html.dark-mode {
  --paper:            #111110;  /* near-black, matches app/web bg */
  --surface:          #1E1D1C;  /* card surface — matches web app library cards */
  --surface-2:        #252422;  /* nested/hover surface */
  --ink:              #F0EDE6;  /* primary text — warm white */
  --ink-2:            #C8C4BC;  /* secondary text */
  --ink-3:            #8A8680;  /* muted/meta text */
  --border-light:     rgba(255,255,255,0.10);
  --border:           rgba(255,255,255,0.18);
  --blue:             #7B8BFF;
  --blue-hover:       #9BA8FF;
  --blue-light:       rgba(123,139,255,0.18);
  --blue-mid:         #5A6AEF;
  --blue-dark:        #C7D0FF;
  --red-surface:      rgba(255,100,80,0.15);
  --red-on:           #FF9E90;
  --gold-surface:     rgba(255,200,50,0.15);
  --gold-on:          #FDDE81;
  --gold-highlight:   #6B5000;
  --neutral-surface:  rgba(255,255,255,0.07);
  --neutral-on:       #C8C4BC;
  --neutral-highlight:#3A3835;
}


/* Hero dark mode background */
html.dark-mode .hero,
html.dark-mode .hero {
  background: #111110 !important;
}

/* ── Dark mode specific overrides ── */

/* Hero grid background */
html.dark-mode .hero::before,
html:not(.light-mode) .hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='69'%3E%3Cg fill='none' stroke='rgba(240,237,230,0.1)' stroke-width='1'%3E%3Cline x1='0' y1='0' x2='0' y2='69'/%3E%3Cline x1='120' y1='0' x2='120' y2='69'/%3E%3Cline x1='-60' y1='0' x2='180' y2='138'/%3E%3Cline x1='-60' y1='-69' x2='180' y2='69'/%3E%3Cline x1='-60' y1='69' x2='180' y2='-69'/%3E%3Cline x1='-60' y1='138' x2='180' y2='0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 69px;
}

/* Logo — invert black PNG to white in dark mode */
html.dark-mode .nav-logo-img,
html:not(.light-mode) .nav-logo-img {
  filter: invert(1);
}

/* Sidebar */
html.dark-mode .article-sidebar,
html:not(.light-mode) .article-sidebar {
  background: var(--surface) !important;
  border-right-color: var(--border-light) !important;
  box-shadow: -100vw 0 0 100vw var(--surface) !important;
}

/* Category cards */
html.dark-mode .category-card,
html:not(.light-mode) .category-card {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}

/* Article items */
html.dark-mode .article-item,
html:not(.light-mode) .article-item {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}
html.dark-mode .article-item:hover,
html:not(.light-mode) .article-item:hover {
  background: var(--surface-2) !important;
}

/* What's New cards */
html.dark-mode .wn-card,
html:not(.light-mode) .wn-card {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}

/* Video cards */
html.dark-mode .video-card,
html:not(.light-mode) .video-card {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}

/* Integration cards */
html.dark-mode .int-card,
html:not(.light-mode) .int-card {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}

/* Search input */
html.dark-mode .nav-search-field,
html:not(.light-mode) .nav-search-field,
html.dark-mode .search-results-bar input,
html:not(.light-mode) .search-results-bar input {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

/* ── Instant search dropdown — dark mode ── */
html.dark-mode .search-form ul.results,
html.dark-mode .search ul.results,
html.dark-mode .instant-search-results,
html.dark-mode [data-garden-id="search.results_container"],
html.dark-mode #instant-search-container,
html:not(.light-mode) .search-form ul.results,
html:not(.light-mode) .search ul.results,
html:not(.light-mode) .instant-search-results,
html:not(.light-mode) [data-garden-id="search.results_container"],
html:not(.light-mode) #instant-search-container {
  background: #1E1D1C !important;
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}

/* Dropdown header row */
html.dark-mode .instant-search-results .results-count,
html.dark-mode .instant-search-results header,
html.dark-mode #instant-search-container .results-header,
html.dark-mode #instant-search-container h2,
html:not(.light-mode) .instant-search-results .results-count,
html:not(.light-mode) .instant-search-results header,
html:not(.light-mode) #instant-search-container .results-header,
html:not(.light-mode) #instant-search-container h2 {
  background: #252422 !important;
  color: #8A8680 !important;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

/* Result row dividers */
html.dark-mode .search-form ul.results li.result,
html.dark-mode .search ul.results li.result,
html.dark-mode .instant-search-results li,
html.dark-mode .instant-search-results .result,
html:not(.light-mode) .search-form ul.results li.result,
html:not(.light-mode) .search ul.results li.result,
html:not(.light-mode) .instant-search-results li,
html:not(.light-mode) .instant-search-results .result {
  border-bottom-color: rgba(255,255,255,0.08) !important;
  background: transparent !important;
}

/* Result link hover */
html.dark-mode .search-form ul.results li.result a:hover,
html.dark-mode .search ul.results li.result a:hover,
html.dark-mode .instant-search-results a:hover,
html:not(.light-mode) .search-form ul.results li.result a:hover,
html:not(.light-mode) .search ul.results li.result a:hover,
html:not(.light-mode) .instant-search-results a:hover {
  background: #252422 !important;
}

/* Article title */
html.dark-mode .search-form ul.results .result-link,
html.dark-mode .search ul.results .result-link,
html.dark-mode .instant-search-results .result-link,
html.dark-mode .instant-search-results h3,
html:not(.light-mode) .search-form ul.results .result-link,
html:not(.light-mode) .search ul.results .result-link,
html:not(.light-mode) .instant-search-results .result-link,
html:not(.light-mode) .instant-search-results h3 {
  color: #7B8BFF !important;
}

/* Bold match highlights */
html.dark-mode .search-form ul.results strong,
html.dark-mode .search-form ul.results b,
html.dark-mode .search ul.results strong,
html.dark-mode .search ul.results b,
html.dark-mode .instant-search-results strong,
html.dark-mode .instant-search-results b,
html:not(.light-mode) .search-form ul.results strong,
html:not(.light-mode) .search-form ul.results b,
html:not(.light-mode) .search ul.results strong,
html:not(.light-mode) .search ul.results b,
html:not(.light-mode) .instant-search-results strong,
html:not(.light-mode) .instant-search-results b {
  color: #ADBFFF !important;
}

/* Breadcrumb path */
html.dark-mode .search-form ul.results p,
html.dark-mode .search ul.results p,
html.dark-mode .instant-search-results p,
html.dark-mode .instant-search-results .meta,
html:not(.light-mode) .search-form ul.results p,
html:not(.light-mode) .search ul.results p,
html:not(.light-mode) .instant-search-results p,
html:not(.light-mode) .instant-search-results .meta {
  color: #8A8680 !important;
}

/* Hero search input when dropdown is open */
html.dark-mode .search-wrap input[type="search"],
html.dark-mode .search-wrap input[type="text"],
html:not(.light-mode) .search-wrap input[type="search"],
html:not(.light-mode) .search-wrap input[type="text"] {
  background: #1E1D1C !important;
  color: #F0EDE6 !important;
  border-color: rgba(255,255,255,0.18) !important;
}
html.dark-mode .search-wrap input[type="search"]::placeholder,
html.dark-mode .search-wrap input[type="text"]::placeholder,
html:not(.light-mode) .search-wrap input[type="search"]::placeholder,
html:not(.light-mode) .search-wrap input[type="text"]::placeholder {
  color: #8A8680 !important;
}

/* TOC rail */
html.dark-mode .toc-rail,
html:not(.light-mode) .toc-rail {
  background: transparent;
}

/* Navbar */
html.dark-mode .topnav,
html:not(.light-mode) .topnav {
  background: #111110 !important;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

/* Footer */
html.dark-mode .site-footer,
html:not(.light-mode) .site-footer {
  background: #1E1D1C !important;
  border-top-color: rgba(255,255,255,0.10) !important;
}

/* Request sidebar */
html.dark-mode .request-sidebar,
html:not(.light-mode) .request-sidebar {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
}

/* Article body text — dark mode explicit overrides (Zendesk injects its own color) */
html.dark-mode .article-body,
html:not(.light-mode) .article-body {
  color: #D4D0C8 !important;
}
html.dark-mode .article-body p,
html.dark-mode .article-body li,
html.dark-mode .article-body td,
html.dark-mode .article-body th,
html.dark-mode .article-body blockquote,
html.dark-mode .article-body span,
html:not(.light-mode) .article-body p,
html:not(.light-mode) .article-body li,
html:not(.light-mode) .article-body td,
html:not(.light-mode) .article-body th,
html:not(.light-mode) .article-body blockquote,
html:not(.light-mode) .article-body span {
  color: #D4D0C8 !important;
}
html.dark-mode .article-body h1,
html.dark-mode .article-body h2,
html.dark-mode .article-body h3,
html.dark-mode .article-body h4,
html.dark-mode .article-body h5,
html:not(.light-mode) .article-body h1,
html:not(.light-mode) .article-body h2,
html:not(.light-mode) .article-body h3,
html:not(.light-mode) .article-body h4,
html:not(.light-mode) .article-body h5 {
  color: #F0EDE6 !important;
}
html.dark-mode .article-body a,
html:not(.light-mode) .article-body a {
  color: #7B8BFF !important;
}
html.dark-mode .article-body a:hover,
html:not(.light-mode) .article-body a:hover {
  color: #9BA8FF !important;
}
html.dark-mode .article-body code,
html:not(.light-mode) .article-body code {
  color: #C8C4BC !important;
  background: #252422 !important;
}
html.dark-mode .article-body strong,
html.dark-mode .article-body b,
html.dark-mode .article-body strong span,
html.dark-mode .article-body b span,
html:not(.light-mode) .article-body strong,
html:not(.light-mode) .article-body b,
html:not(.light-mode) .article-body strong span,
html:not(.light-mode) .article-body b span {
  color: #F0EDE6 !important;
}

/* Getting Started hero card — dark mode (Option B: dark surface, no gradient) */
html.dark-mode .start-hero,
html:not(.light-mode) .start-hero {
  background: #2E35C9 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}
html.dark-mode .start-hero:hover,
html:not(.light-mode) .start-hero:hover {
  background: #3540D9 !important;
  opacity: 1;
}
html.dark-mode .start-hero-icon,
html:not(.light-mode) .start-hero-icon {
  background: rgba(255,255,255,0.15) !important;
}
html.dark-mode .start-hero-icon svg,
html:not(.light-mode) .start-hero-icon svg {
  color: #fff !important;
}
html.dark-mode .start-hero-eyebrow,
html:not(.light-mode) .start-hero-eyebrow {
  color: rgba(255,255,255,0.55) !important;
}
html.dark-mode .start-hero-title,
html:not(.light-mode) .start-hero-title {
  color: #fff !important;
}
html.dark-mode .start-hero-desc,
html:not(.light-mode) .start-hero-desc {
  color: rgba(255,255,255,0.65) !important;
}
html.dark-mode .start-hero-cta,
html:not(.light-mode) .start-hero-cta {
  color: #fff !important;
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
html.dark-mode .start-hero-cta:hover,
html:not(.light-mode) .start-hero-cta:hover {
  background: rgba(255,255,255,0.25) !important;
}

/* Form inputs in dark */
html.dark-mode input,
html.dark-mode select,
html.dark-mode textarea,
html:not(.light-mode) input,
html:not(.light-mode) select,
html:not(.light-mode) textarea {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--border) !important;
}

/* Code blocks */
html.dark-mode pre,
html.dark-mode code,
html:not(.light-mode) pre,
html:not(.light-mode) code {
  background: var(--surface-2) !important;
  color: var(--ink-2) !important;
}

/* Dark mode toggle button itself */
#darkModeToggle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
#darkModeToggle:hover {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

/* prefers-color-scheme dark hero handled by html:not(.light-mode) .hero::before above */


/* ─────────────────────────────────────────
   ARTICLE TABLE — branded check / cross icons
───────────────────────────────────────── */

.icon-cell {
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

.table-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.table-icon-check {
  color: #1A7A42;
}

.table-icon-cross {
  color: #C0392B;
}

/* Dark mode variants */
html.dark-mode .table-icon-check,
html:not(.light-mode):is(html.dark-mode) .table-icon-check {
  color: #4ADE80;
}

html.dark-mode .table-icon-cross,
html:not(.light-mode):is(html.dark-mode) .table-icon-cross {
  color: #F87171;
}

/* ─────────────────────────────────────────
   ACCESSIBILITY — Focus indicators
   Explicit outlines for keyboard navigation
   (SC 2.4.7)
───────────────────────────────────────── */

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Don't show focus ring on mouse click — only keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

