/* eConsulting Onboarding Hub — shared styles */

:root {
  --brand: #139ad7;
  --brand-strong: #0b78a8;       /* brand shade with AA contrast on light surfaces */
  --brand-soft: rgba(19, 154, 215, 0.10);

  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-2: #eef4f9;
  --text: #0f1f2e;
  --text-muted: #51657a;
  --border: #d9e3ec;
  --accent-text: var(--brand-strong);
  --shadow: 0 1px 2px rgba(15, 31, 46, 0.06), 0 4px 16px rgba(15, 31, 46, 0.06);
  --shadow-hover: 0 2px 4px rgba(15, 31, 46, 0.08), 0 10px 28px rgba(19, 154, 215, 0.18);

  --radius: 12px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand-soft: rgba(19, 154, 215, 0.18);
  --bg: #0b1520;
  --surface: #122130;
  --surface-2: #172a3c;
  --text: #e6eef5;
  --text-muted: #9fb3c6;
  --border: #243a4f;
  --accent-text: #4cb8e8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(19, 154, 215, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-text); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 3px 0 var(--brand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 3px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
}
.brand-sub {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 2px;
}
.header-controls { display: flex; align-items: center; gap: 10px; }

.seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-2);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 13px;
  cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.seg button:not([aria-pressed="true"]):hover { color: var(--text); }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.icon-btn:hover { border-color: var(--brand); color: var(--accent-text); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ---------- Hero / page heading ---------- */
.hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(900px 300px at 85% -20%, var(--brand-soft), transparent 70%),
    var(--bg);
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.hero h1, .page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p, .page-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.page-head { padding: 40px 0 24px; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 18px; color: var(--text-muted); }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Sections & cards ---------- */
main { padding-bottom: 72px; }
.section-title { font-size: 1.3rem; margin: 40px 0 16px; letter-spacing: -0.01em; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}
.card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; flex: 1; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.badge-icon svg { width: 22px; height: 22px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.card-foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-text);
  font-weight: 600;
  word-break: break-all;
}
.card-foot svg { width: 16px; height: 16px; flex: none; }

.card.disabled { opacity: 0.62; box-shadow: none; border-style: dashed; cursor: default; }
.card.soon .tag { color: var(--accent-text); border-color: var(--brand); background: var(--brand-soft); }

/* ---------- Callout, button, list ---------- */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  max-width: 760px;
}
.callout-wide { max-width: none; margin-top: 8px; }
.notice p { max-width: 80ch; }
.callout h2 { margin: 0 0 8px; font-size: 1.25rem; }
.callout p { margin: 0 0 18px; color: var(--text-muted); }
.callout .callout-host { margin: 10px 0 0; font-size: 0.85rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-strong);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #09648c; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
:root[data-theme="dark"] .btn { background: var(--brand); }
:root[data-theme="dark"] .btn:hover { background: #2aa9e3; }
.check-list { list-style: none; padding: 0; margin: 0; max-width: 760px; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px 14px 48px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 7px;
  height: 13px;
  border: solid var(--brand);
  border-width: 0 3px 3px 0;
  transform: translateY(-65%) rotate(45deg);
}

/* ---------- Tutorial steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 860px; display: grid; gap: 22px; }
.steps > li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px 26px 78px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
:root[data-theme="dark"] .steps > li::before { background: var(--brand); }
.steps h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.steps p { margin: 0 0 8px; }
.steps .tip {
  background: var(--brand-soft);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}
.shot { margin: 16px 0 0; }
.shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* ---------- Knowledge base ---------- */
.kb-toc {
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 28px;
}
.kb-toc h2 { margin: 0 0 8px; font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kb-toc ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.kb-toc a { font-weight: 600; }
.kb-article {
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px 28px;
  margin-bottom: 22px;
  scroll-margin-top: 90px;
}
.kb-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
details.kb-article { padding: 0; }
details.kb-article > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px;
  border-radius: var(--radius);
}
details.kb-article > summary::-webkit-details-marker { display: none; }
details.kb-article > summary:hover h2 { color: var(--accent-text); }
details.kb-article > summary:focus-visible { outline-offset: -3px; }
details.kb-article[open] > summary { padding-bottom: 8px; }
.kb-head h2 { flex: 1; }
.kb-chevron {
  width: 10px;
  height: 10px;
  border: solid var(--text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: -4px 4px 0 2px;
  transition: transform 0.15s ease;
  flex: none;
}
details[open] > summary .kb-chevron { transform: rotate(-135deg); margin-top: 4px; }
.kb-body { padding: 4px 28px 28px; }
.kb-actions { display: flex; gap: 10px; margin: 0 0 4px; }
.kb-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
}
.kb-btn:hover { border-color: var(--brand); }
.kb-head h2 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.kb-article p { margin: 0 0 14px; }
.kb-list { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 6px; }
.kb-list li::marker { color: var(--accent-text); font-weight: 700; }
.kb-article h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.kb-bullets { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 4px; }
.toc-group { margin: 14px 0 4px; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.note {
  background: var(--brand-soft);
  border-radius: 8px;
  padding: 10px 14px;
}
.warn {
  border: 1px solid #d99a1e;
  border-left: 5px solid #d99a1e;
  background: rgba(217, 154, 30, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 14px;
}
.warn p { margin: 4px 0 0 !important; }
.kb-list li .shot { margin-top: 12px; }
.shot-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 12px; }
.shot-row .shot { margin: 0; }
.shot-sm { max-width: 440px; }
.shot-md { max-width: 380px; }
.shot-xs { max-width: 220px; }
.shot-sm img, .shot-md img, .shot-xs img { width: 100%; }
.kb-link { font-weight: 600; }
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.soon-note {
  display: inline-block;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 !important;
}

/* ---------- Search ---------- */
.search {
  position: relative;
  max-width: 460px;
  margin-top: 22px;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  font: inherit;
  padding: 12px 16px 12px 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.search input::placeholder { color: var(--text-muted); }
.search input:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand); }
.empty { display: none; color: var(--text-muted); padding: 24px 0; }
.empty.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .steps > li { padding: 70px 16px 20px; }
  details.kb-article > summary { padding: 16px 18px; }
  .kb-body { padding: 4px 18px 22px; }
  .steps > li::before { left: 16px; top: 18px; }
  .brand-sub { display: none; }
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Header search + dialog ---------- */
.search-dialog {
  width: min(640px, calc(100vw - 32px));
  margin: 12vh auto auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.search-dialog::backdrop { background: rgba(8, 16, 24, 0.55); }
.sd-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.sd-bar > svg { width: 20px; height: 20px; flex: none; color: var(--text-muted); }
.sd-bar input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 6px 0;
}
.sd-bar input:focus { outline: none; }
.sd-bar input::placeholder { color: var(--text-muted); }
.sd-close {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
}
.sd-list { list-style: none; margin: 0; padding: 6px; max-height: 52vh; overflow-y: auto; }
.sd-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}
.sd-item:hover, .sd-item:focus-visible { background: var(--brand-soft); outline: none; }
.sd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sd-title { font-weight: 700; }
.sd-desc { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--text-muted); }
.sd-empty { padding: 18px 20px 6px; margin: 0; }
.sd-hint { margin: 0; padding: 8px 16px 12px; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ---------- Footer help desk card ---------- */
.site-footer .container { display: grid; gap: 18px; }
.footer-text { margin: 0; }
.help-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 18px 32px;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text);
}
.help-card h2 { margin: 0 0 4px; font-size: 1.1rem; }
.help-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.help-facts { margin: 0; display: grid; gap: 8px; }
.help-facts div { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.help-facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); min-width: 9.5em; }
.help-facts dd { margin: 0; font-weight: 700; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.help-actions .btn { padding: 10px 16px; font-size: 0.92rem; }
.btn-alt { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 2px var(--brand-strong); }
.btn-alt:hover { background: var(--brand-soft); }
:root[data-theme="dark"] .btn.btn-alt { background: transparent; box-shadow: inset 0 0 0 2px var(--brand); }
:root[data-theme="dark"] .btn.btn-alt:hover { background: var(--brand-soft); }

/* ---------- First week checklist ---------- */
.fw-progress { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 0; max-width: 760px; }
.fw-bar { flex: 1; min-width: 160px; height: 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.fw-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width 0.2s ease; }
.fw-count { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.fw-list { list-style: none; margin: 0; padding: 0; max-width: 760px; display: grid; gap: 10px; }
.fw-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
}
.fw-item label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.fw-item input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand-strong); cursor: pointer; }
.fw-item input:checked + span { color: var(--text-muted); text-decoration: line-through; }
.fw-link { margin-left: 32px; font-size: 0.88rem; font-weight: 600; }

/* ---------- Systems access ---------- */
.sa-sub { margin: 18px 0 6px; font-size: 1rem; }
.callout .kb-list, .callout .kb-bullets { margin-bottom: 14px; color: var(--text); }
.sa-toc ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sa-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0 !important; }
.kb-body .btn { margin-top: 4px; }

/* ---------- AI policy ---------- */
.tag.ok { color: #0a6b3a; border-color: #2b9a5f; background: rgba(43, 154, 95, 0.12); }
.tag.req { color: #8a5a00; border-color: #d99a1e; background: rgba(217, 154, 30, 0.14); }
.tag.info { color: var(--accent-text); border-color: var(--brand); background: var(--brand-soft); }
.tag.hold { color: #7b2d8b; border-color: #ab4aba; background: rgba(171, 74, 186, 0.12); }
:root[data-theme="dark"] .tag.ok { color: #5fd196; }
:root[data-theme="dark"] .tag.hold { color: #d49be0; }
:root[data-theme="dark"] .tag.req { color: #f0be5a; }
.check-list.no-list li::before {
  content: "✕";
  width: auto;
  height: auto;
  border: 0;
  transform: translateY(-50%);
  top: 50%;
  left: 18px;
  color: #c0392b;
  font-weight: 800;
  font-size: 0.95rem;
}
.ai-foot { margin-top: 40px; }
.ai-source { margin: 28px 0 14px; color: var(--text-muted); font-size: 0.9rem; max-width: 80ch; }
.card a.kb-link { margin-top: 4px; }

/* ---------- Header: IT help button ---------- */
.header-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.header-help svg { width: 16px; height: 16px; flex: none; }
.header-help .hh-short { display: none; }
@media (max-width: 1000px) {
  .header-help .hh-long { display: none; }
  .header-help .hh-short { display: inline; }
}

@media (max-width: 800px) {
  .help-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .search-dialog { margin-top: 8vh; }
  .header-controls { gap: 8px; }
  .header-help { padding: 8px 10px; }
  .header-help svg { display: none; }
  .fw-link { margin-left: 32px; }
}

/* ---------- Submit a ticket guide ---------- */
.st-intro { margin: 0 0 12px; max-width: 760px; }
.st-note { margin: 14px 0 0; max-width: 760px; color: var(--text-muted); }
.st-urgent { max-width: 760px; margin-top: 32px; }
.st-urgent + .btn { margin-top: 4px; }
.callout .warn { margin: 6px 0 0; max-width: 760px; }
.callout .warn p { color: var(--text); }
.steps .btn { margin-top: 4px; }

.status-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) { .status-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Links page: bookmarks download ---------- */
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.bm-box { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; margin: 0 0 24px; }
.bm-box p { margin: 0; }
.bm-box .bm-steps { grid-column: 1 / -1; }
.bm-steps summary { cursor: pointer; font-weight: 600; color: var(--accent-text); width: max-content; }
.bm-steps .kb-list { margin: 10px 0 0; }
@media (max-width: 700px) { .bm-box { grid-template-columns: 1fr; } .bm-box .btn { justify-self: start; } }

/* ---------- Troubleshooting ---------- */
.ts-tip { margin: 0 0 14px !important; }
.ts-sub { margin: 12px 0 4px; }

.ts-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ts-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  word-break: break-all;
}
.ts-tip p { margin: 0 0 8px; }

/* ---------- Knowledge base step layout ---------- */
.kb-step { display: block; }
.kb-tip { display: block; margin-top: 8px; padding: 8px 12px; background: var(--brand-soft); border-radius: 8px; }

/* ---------- Home: featured "start here" card ---------- */
a.card.card-featured {
  background: linear-gradient(135deg, #0b78a8 0%, #085a80 100%);
  border-color: #0b78a8;
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 120, 168, 0.35);
}
a.card.card-featured:hover {
  border-color: #fff;
  box-shadow: 0 12px 32px rgba(11, 120, 168, 0.5);
}
.card-featured h3 { color: #fff; font-size: 1.2rem; }
.card-featured p { color: rgba(255, 255, 255, 0.92); }
.card-featured .card-foot { color: #fff; }
.card-featured .badge-icon { background: #fff; color: #0b78a8; }
.card-featured .tag.ok { background: #062a1f; color: #7ee8a8; border-color: #2b9a5f; }
.start-pill {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b5a7c;
  background: #fff;
  border-radius: 999px;
  padding: 3px 10px;
}
