:root {
  color-scheme: light;
  --ink: #17232e;
  --muted: #65737e;
  --soft: #f7f8fb;
  --paper: #fff;
  --line: #e3e8ec;
  --blue: #386b8e;
  --purple: #1762da;
  --amber: #a56d21;
  --teal: #347b70;
  --rose: #a95259;
  --shadow: 0 16px 36px rgba(29, 43, 53, .07);
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--soft); font-size: 15px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8ab8d5; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.topbar { min-height: 72px; padding: 0 max(6.5vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #283641; font-size: 15px; letter-spacing: -.02em; }
.brand b { font-weight: 700; }
.brand-mark { display: block; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.topbar nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); color: #52616b; font-size: 13px; }
.topbar nav a:hover { color: var(--purple); }
.card-extra { margin: 4px 0 12px; padding-top: 12px; border-top: 1px dashed var(--line); color: #52616b; font-size: 13px; line-height: 1.55; }
.card-extra p { margin: 0 0 8px; }
.card-extra .metadata { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
.card-extra .metadata span { padding: 3px 8px; border-radius: 99px; background: #ecf1f9; color: #0b5fe0; }
.category-banner { margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid #0b5fe0; border-radius: 8px; background: #fff; color: #52616b; font-size: 14px; line-height: 1.6; }
.category-banner strong { color: #1d2a33; }
.reset-page { padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px; color: #52616b; background: transparent; font-size: 13px; cursor: pointer; transition: .18s ease; }
.share-page { display: inline-flex; align-items: center; gap: 7px; }
.search-examples .reset-tool { display: inline-flex; margin-left: auto; align-items: center; gap: 6px; padding: 4px 2px; border: 0; border-radius: 4px; color: #68757c; background: transparent; font-size: 12px; font-weight: 600; }
.search-examples .reset-tool:hover { border: 0; color: #0b5fe0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.reset-page:hover { border-color: #98b0d7; color: #0b5fe0; background: #f2f5fb; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; color: #fff; background: #0b5fe0; box-shadow: 0 8px 22px rgba(38, 30, 52, .25); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.back-to-top:hover { background: #0848b8; transform: translateY(-2px); }
.back-to-top span { font-size: 18px; line-height: 1; }
.back-to-top small { font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.topbar .all-tools { padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-weight: 650; }
main { overflow: hidden; }
.hero { max-width: 1130px; position: relative; margin: 0 auto; padding: 74px 28px 36px; }
.hero-copy { max-width: 730px; position: relative; z-index: 1; }
.hero-copy .title-row { margin-bottom: 14px; }
.eyebrow { color: #79858c; font-size: 10px; font-weight: 750; letter-spacing: .14em; line-height: 1.5; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5d9b83; vertical-align: 1px; box-shadow: 0 0 0 3px #dcebe4; }
.eyebrow-sep { margin: 0 7px; color: #c5ccd0; }
/* Section numbers match the 01 / 02 / 03 start cards, in the same colours */
.step-num { display: inline-grid; place-items: center; min-width: 26px; height: 20px; margin-right: 9px; padding: 0 5px; border-radius: 5px; color: #fff; background: #0b5fe0; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; vertical-align: 1px; }
.step-num.step-2 { background: #2b8a3e; }
.step-num.step-3 { background: #7c3aed; }
.step-eyebrow { display: flex; align-items: center; color: #33424b; font-size: 14px; letter-spacing: .1em; }
.step-eyebrow .step-num { min-width: 32px; height: 26px; margin-right: 10px; font-size: 13px; border-radius: 6px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin: 20px 0 17px; font-size: clamp(42px, 6vw, 70px); font-weight: 660; letter-spacing: -.065em; line-height: .99; }
.title-row { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); margin: 20px 0 17px; }
.title-row h1 { margin: 0; }
.title-logo { display: block; flex: 0 0 auto; width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); border-radius: 22%; object-fit: contain; box-shadow: 0 12px 26px rgba(11, 95, 224, .2); background: linear-gradient(135deg, #0b5fe0, #0848b8); }
h1 span { color: #0b5fe0; }
.hero-line { margin-bottom: 8px; color: var(--ink); font-size: 21px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.hero-description { max-width: 700px; margin: 0; color: #33424b; font-size: 16px; line-height: 1.6; }
.hero-description + .hero-description { margin-top: 8px; }
.hero-stamp { position: absolute; right: 6%; top: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 174px; height: 174px; border: 1px solid #e0e4e6; border-radius: 50%; color: #8d9699; background: radial-gradient(circle at center, #fff 25%, #f6f7f8 26%, #f6f7f8 56%, transparent 57%); font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.hero-stamp::before, .hero-stamp::after { content: ""; position: absolute; inset: 13px; border: 1px dashed #d7dcde; border-radius: 50%; }
.hero-stamp::after { inset: 34px; border-style: solid; border-color: #e3e5e6; }
.hero-stamp strong { position: relative; z-index: 1; color: #0b5fe0; font-family: Georgia, serif; font-size: 56px; font-weight: 400; line-height: 1; }
.hero-stamp span { position: relative; z-index: 1; }
/* Search: clean and calm. Thin grey border that turns blue on focus, plain icon, outlined button */
.search-panel { position: relative; z-index: 2; display: flex; align-items: center; gap: 4px; max-width: 1074px; min-height: 46px; margin-top: 22px; padding: 4px 4px 4px 14px; border: 1px solid #d3dae0; border-radius: 9px; background: #fff; transition: border-color .15s ease; }
.search-panel:hover { border-color: #b8c3cc; }
.search-panel:focus-within { border-color: #0b5fe0; box-shadow: 0 0 0 3px rgba(11, 95, 224, .12); }
.search-icon { display: grid; flex-shrink: 0; place-items: center; margin-right: 8px; }
.search-icon svg { width: 17px; height: 17px; stroke: #7f8b92; stroke-width: 1.8; }
.search-panel:focus-within .search-icon svg { stroke: #0b5fe0; }
.search-panel input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; text-overflow: ellipsis; }
.search-panel input:focus-visible { outline: 0; }
.search-panel input::placeholder { color: #8a959b; }
.search-panel input::-webkit-search-cancel-button,
.search-panel input::-webkit-search-decoration,
.search-panel input::-webkit-search-results-button,
.search-panel input::-webkit-search-results-decoration { display: none; -webkit-appearance: none; }
.search-submit { display: flex; flex-shrink: 0; align-items: center; min-height: 36px; padding: 0 12px; border: 0; border-radius: 6px; color: #0b5fe0; background: transparent; font-size: 13px; font-weight: 650; cursor: pointer; }
.search-submit:hover { background: #eef4ff; }
.search-submit:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 2px; }
.search-submit span { display: none; }
.search-reset { display: grid; flex-shrink: 0; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px; color: #7f8b92; background: transparent; font-size: 20px; cursor: pointer; }
.search-reset:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 1px; }
.search-panel input:placeholder-shown ~ .search-reset { display: none; }
.search-reset:hover { color: var(--ink); background: #f2f5fb; }
.search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1074px; margin-top: 14px; }
.search-examples > span { margin-right: 4px; color: #7f8b92; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.search-examples button { min-height: 32px; padding: 5px 12px; border: 1px solid #d9e0e6; border-radius: 999px; color: #46535b; background: #fff; font-size: 12px; cursor: pointer; transition: .18s ease; }
.search-examples button:hover { border-color: #98b0d7; color: #0b5fe0; background: #f2f5fb; }
/* Try pills take the colour of the category they search, softer than the filter chips */
.search-examples button[class*="tone-"] { border-color: color-mix(in srgb, var(--c) 35%, #fff); color: var(--c); background: var(--bg); font-weight: 600; }
.search-examples button[class*="tone-"]:hover { border-color: var(--c); color: var(--c); background: #fff; }
.search-examples button[class*="tone-"]:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.search-status { min-height: 22px; margin: 8px 0 0; color: #33424b; font-size: 13px; }
.search-status strong { color: var(--ink); }
.status-jump { margin-left: 6px; padding: 2px 4px; border: 0; border-radius: 4px; color: #0b5fe0; background: transparent; font: inherit; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.status-jump:hover { color: #0848b0; }
.status-jump:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 1px; }
.entry-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1074px; margin: 36px 0 0; margin-left: 0; margin-right: auto; padding: 0; gap: 16px; justify-content: flex-start; }
.entry-ways-label { margin: 38px 0 0; color: #33424b; font-size: 14px; letter-spacing: .1em; }
.entry-ways-label + .entry-ways { margin-top: 12px; padding-top: 0; }
.entry-link { --c: #0b5fe0; --bg: #eef4ff; --bd: #c9d9f5; display: flex; align-items: center; gap: 16px; min-height: 92px; width: 100%; max-width: 100%; padding: 16px 20px; border: 2px solid var(--c); border-radius: 10px; background: var(--bg); box-shadow: 0 2px 6px rgba(29, 43, 53, .05); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.entry-link:nth-child(1) { --c: #0b5fe0; --bg: #eef4ff; --bd: #c9d9f5; }
.entry-link:nth-child(2) { --c: #2b8a3e; --bg: #effaf1; --bd: #c3e6ca; }
.entry-link:nth-child(3) { --c: #7c3aed; --bg: #f5f0ff; --bd: #dccbfa; }
.entry-link:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 10px 22px rgba(29, 43, 53, .1); }
.entry-link:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.entry-index { flex: 0 0 auto; color: var(--c); font: 700 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; opacity: .85; }
.entry-link strong, .entry-link small { display: block; }
.entry-link strong { color: #1d2a33; font-size: 18px; line-height: 1.3; font-weight: 680; }
.entry-text { flex: 1; min-width: 0; }
.entry-arrow { flex: 0 0 auto; color: var(--c); font-size: 20px; font-weight: 600; transition: transform .2s ease; }
.entry-link:hover .entry-arrow { transform: translateX(3px); }
.entry-link small { margin-top: 5px; color: #5d6a72; font-size: 13px; line-height: 1.4; }
.section { padding: 70px max(calc((100vw - 1074px) / 2), 28px); }
.troubleshoot-section, .explorer-section { border-top: 1px solid #e7eaec; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: 1074px; margin: 0 auto 29px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 640; letter-spacing: -.045em; line-height: 1.15; }
.section-heading > p { max-width: 360px; margin-bottom: 1px; color: var(--muted); font-size: 12px; }
.troubleshoot-section .section-heading > p { max-width: 420px; color: #4f5d65; font-size: 14px; line-height: 1.5; }
.troubleshoot-section .section-heading > p strong { display: block; margin-bottom: 2px; color: #1d2a33; font-weight: 650; }
.landscape-section .section-heading > p { max-width: 400px; color: #4f5d65; font-size: 14px; line-height: 1.5; }
.limits-summary-section .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
.limits-summary-section .section-heading > p { max-width: none; margin: 0; color: #4f5d65; font-size: 14px; line-height: 1.5; }
.symptom-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1074px; margin: 0 auto; gap: 10px; }
.troubleshoot-section { background: radial-gradient(circle at 8% 0%, rgba(11, 95, 224, .08), transparent 38%), radial-gradient(circle at 92% 20%, rgba(168, 85, 247, .08), transparent 40%), radial-gradient(circle at 50% 100%, rgba(16, 185, 129, .07), transparent 45%), #fbfcfe; }
.symptom-option { --c: #0b5fe0; --bg: #eef4ff; --bd: #c9d9f5; display: flex; align-items: flex-start; min-height: 120px; gap: 12px; padding: 16px; border: 1.5px solid var(--c); border-radius: 10px; text-align: left; background: var(--bg); box-shadow: 0 2px 6px rgba(29, 43, 53, .05); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.symptom-option:nth-child(8n + 1) { --c: #0b5fe0; --bg: #eef4ff; --bd: #c9d9f5; }
.symptom-option:nth-child(8n + 2) { --c: #d9480f; --bg: #fff3ec; --bd: #f6d2bf; }
.symptom-option:nth-child(8n + 3) { --c: #7c3aed; --bg: #f5f0ff; --bd: #dccbfa; }
.symptom-option:nth-child(8n + 4) { --c: #c2255c; --bg: #fff0f5; --bd: #f4c7d8; }
.symptom-option:nth-child(8n + 5) { --c: #0c8599; --bg: #ebfafc; --bd: #bde6ec; }
.symptom-option:nth-child(8n + 6) { --c: #5c6b78; --bg: #f2f4f6; --bd: #d6dce1; }
.symptom-option:nth-child(8n + 7) { --c: #2b8a3e; --bg: #effaf1; --bd: #c3e6ca; }
.symptom-option:nth-child(8n) { --c: #b07a00; --bg: #fff8e6; --bd: #f1dfaa; }
.symptom-option:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 10px 22px rgba(29, 43, 53, .1); }
.symptom-option:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.symptom-option.selected { border-width: 2px; padding: 15.5px; background: #fff; box-shadow: 0 0 0 4px var(--bd), 0 10px 22px rgba(29, 43, 53, .1); }
.symptom-icon { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: var(--c); font-size: 16px; }
.symptom-option > span:last-child { display: flex; flex-direction: column; min-height: 100%; align-self: stretch; }
.symptom-option strong, .symptom-option small { display: block; }
.symptom-option strong { color: #1d2a33; font-size: 15px; font-weight: 680; line-height: 1.35; }
.symptom-option small { margin-top: 5px; color: #5d6a72; font-size: 13px; line-height: 1.4; }
.symptom-cta { margin-top: auto; padding-top: 12px; color: var(--c); font-size: 12.5px; font-weight: 650; }
.symptom-option:hover .symptom-cta { text-decoration: underline; text-underline-offset: 3px; }
.investigation { max-width: 1074px; margin: 24px auto 0; padding: 22px; border: 1px solid #d7e1f1; border-radius: 9px; background: linear-gradient(125deg, #f8fafd, #fff 70%); }
.investigation-heading { display: flex; align-items: center; gap: 12px; }
.signal-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #2558ab; background: #e4ebf7; font-family: Georgia, serif; font-size: 20px; }
.investigation-heading h3 { margin: 3px 0 0; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.investigation-heading > button { width: 32px; height: 32px; margin-left: auto; border: 0; border-radius: 7px; color: #7b858a; background: transparent; font-size: 22px; cursor: pointer; }
.investigation-heading > button:hover { background: #ebeff5; }
.investigation-note { margin: 12px 0 15px; color: #738087; font-size: 11px; }
.investigation-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.investigation-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 53px; padding: 9px 12px; border: 1px solid #e7e9eb; border-radius: 6px; text-align: left; background: #fff; cursor: pointer; }
.investigation-result:hover { border-color: #92aeda; background: #f7f9fc; }
.investigation-result:hover strong { color: #26539b; text-decoration: underline; text-underline-offset: 3px; }
.investigation-result:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 2px; }
.investigation-result strong, .investigation-result small { display: block; }
.investigation-result strong { font-size: 14px; }
.investigation-result small { margin-top: 2px; color: #7c898f; font-size: 12px; }
.investigation-result > span:last-child { color: #3365b5; font-weight: 700; }
.investigation-result:hover > span:last-child { color: #0b5fe0; }
.landscape-section { padding: 73px max(calc((100vw - 1074px) / 2), 28px) 66px; background: #f0f2f3; }
.landscape-heading { margin-bottom: 30px; }
.landscape-map { position: relative; display: grid; grid-template-columns: 240px 1fr; align-items: center; max-width: 1074px; min-height: 272px; margin: auto; padding: 30px 34px; border: 1px solid #e1e5e7; border-radius: 12px; background: rgba(255,255,255,.77); }
.landscape-map::after { position: absolute; top: 50%; left: 202px; right: 66px; height: 1px; border-top: 1px dashed #cbd2d5; content: ""; }
.map-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 158px; height: 158px; border: 1px solid #cfd7d9; border-radius: 50%; background: #f8faf9; text-align: center; }
.center-orbit { position: absolute; inset: -10px; border: 1px dashed #c8d1d2; border-radius: 50%; }
.center-symbol { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 7px; border-radius: 9px; color: #fff; background: #0b5fe0; font-size: 18px; }
.map-center strong { font-size: 13px; letter-spacing: .06em; line-height: 1.2; }
.map-center small { margin-top: 7px; color: #8a9598; font-size: 7px; letter-spacing: .12em; }
.map-regions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.map-region { --c: #386b8e; --bg: #eef4f8; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; border: 1.5px solid var(--c); border-radius: 10px; text-align: left; background: var(--bg); box-shadow: 0 2px 6px rgba(29, 43, 53, .05); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.map-region:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 10px 22px rgba(29, 43, 53, .1); }
.map-region:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.map-region.tone-violet { --c: #7c3aed; --bg: #f5f0ff; }
.map-region.tone-teal { --c: #0c8599; --bg: #ebfafc; }
.map-region.tone-amber { --c: #b07a00; --bg: #fff8e6; }
.map-region.tone-rose { --c: #c2255c; --bg: #fff0f5; }
.map-region.tone-blue { --c: #0b5fe0; --bg: #eef4ff; }
.map-region.tone-slate { --c: #5c6b78; --bg: #f2f4f6; }
.map-region .region-code { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; background: var(--c); font: 11px ui-monospace, monospace; }
.map-region strong, .map-region small { display: block; }
.map-region strong { color: #1d2a33; font-size: 14.5px; font-weight: 680; }
.map-region small { margin-top: 4px; color: #5d6a72; font-size: 12.5px; }
.map-caption { max-width: 1074px; margin: 13px auto 0; color: #7f8a90; font-size: 10px; }
.legend-line { display: inline-block; width: 22px; margin: 0 7px 3px 0; border-top: 1px dashed #9eaaae; }
.explorer-section { background: #fff; }
.explorer-heading { align-items: center; }
.section-intro { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.view-control { display: flex; align-items: center; gap: 8px; color: #7c888e; font-size: 10px; white-space: nowrap; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid #e2e6e8; border-radius: 7px; background: #f8f9fa; }
.segmented button { padding: 6px 10px; border: 0; border-radius: 5px; color: #738087; background: transparent; font-size: 10px; cursor: pointer; }
.segmented button.selected { color: #163972; background: #fff; box-shadow: 0 1px 4px rgba(32,40,45,.12); font-weight: 650; }
.view-divider { width: 1px; height: 25px; margin: 0 3px; background: #e1e6e8; }
.explorer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1074px; margin: 0 auto; }
.category-filters { display: flex; flex: 1; gap: 6px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.filter-chip { --c: #1d2a33; --bg: #f2f4f6; flex: 0 0 auto; padding: 7px 13px; border: 1.5px solid var(--c); border-radius: 999px; color: var(--c); background: var(--bg); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease; }
.search-examples .tone-violet, .filter-chip.tone-violet { --c: #7c3aed; --bg: #f5f0ff; }
.search-examples .tone-teal, .filter-chip.tone-teal { --c: #0c8599; --bg: #ebfafc; }
.search-examples .tone-amber, .filter-chip.tone-amber { --c: #b07a00; --bg: #fff8e6; }
.search-examples .tone-rose, .filter-chip.tone-rose { --c: #c2255c; --bg: #fff0f5; }
.search-examples .tone-blue, .filter-chip.tone-blue { --c: #0b5fe0; --bg: #eef4ff; }
.search-examples .tone-slate, .filter-chip.tone-slate { --c: #5c6b78; --bg: #f2f4f6; }
.filter-chip:hover { background: #fff; }
.filter-chip.active { color: #fff; background: var(--c); font-weight: 700; }
.sort-control { display: flex; align-items: center; gap: 8px; color: #7d898f; font-size: 10px; }
.sort-control select { padding: 7px 9px; border: 1px solid #e2e6e8; border-radius: 6px; color: #516068; background: #fff; font-size: 10px; }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; max-width: 1074px; margin: 10px auto 13px; color: #89949a; font-size: 12px; }
.results-line.is-filtered #result-count { color: var(--ink); font-weight: 600; }
.results-line button { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1.5px solid #0b5fe0; border-radius: 7px; color: #0b5fe0; background: #eef4ff; font-size: 13px; font-weight: 650; cursor: pointer; }
.results-line button:hover { background: #dfe9fd; }
.results-line button[hidden] { display: none; }
.limit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 13px; max-width: 1074px; margin: 0 auto; }
.limit-card { --c: #386b8e; --bg: #eef4f8; min-width: 0; padding: 18px; border: 1.5px solid var(--c); border-radius: 10px; background: var(--bg); box-shadow: 0 2px 6px rgba(29, 43, 53, .05); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.limit-card.tone-violet { --c: #7c3aed; --bg: #f5f0ff; }
.limit-card.tone-teal { --c: #0c8599; --bg: #ebfafc; }
.limit-card.tone-amber { --c: #b07a00; --bg: #fff8e6; }
.limit-card.tone-rose { --c: #c2255c; --bg: #fff0f5; }
.limit-card.tone-blue { --c: #0b5fe0; --bg: #eef4ff; }
.limit-card.tone-slate { --c: #5c6b78; --bg: #f2f4f6; }
.limit-card:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 10px 22px rgba(29, 43, 53, .1); }
.limit-card.is-highlighted { box-shadow: 0 0 0 4px rgba(11, 95, 224, .12), var(--shadow); }
.limit-card:has(.limit-detail) { border-width: 2px; padding: 17.5px; background: #fff; transform: none; box-shadow: 0 10px 22px rgba(29, 43, 53, .1); }
.card-preview { cursor: pointer; }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.category-label { display: inline-flex; align-items: center; gap: 7px; color: var(--c, #77838a); font-size: 10.5px; font-weight: 700; }
.category-label i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; background: var(--c, #5c6b78); font-style: normal; font: 9px ui-monospace, monospace; }
.icon-button { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid transparent; border-radius: 6px; color: #96a1a5; background: transparent; cursor: pointer; }
.icon-button:hover { border-color: #dee3ec; color: #255199; background: #f7f9fc; }
.limit-card h3 { margin: 11px 0 8px; }
.limit-title { padding: 0; border: 0; text-align: left; color: #26343c; background: transparent; font-size: 15px; font-weight: 660; letter-spacing: -.02em; cursor: pointer; }
.limit-title:hover { color: #26539b; text-decoration: underline; text-underline-offset: 3px; }
.limit-value { margin: 0 0 5px; color: var(--c, #1b3e78); font-size: 20px; font-weight: 680; letter-spacing: -.045em; line-height: 1.3; }
.limit-summary { min-height: 34px; margin: 0; color: #77848a; font-size: 12px; }
.explore-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 16px; padding: 12px 0 4px; border: 0; border-top: 1px solid var(--c, #e2e8f0); border-radius: 0; color: var(--c, #475569); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .15s ease; }
.explore-toggle .toggle-chevron { flex: 0 0 16px; width: 16px; height: 16px; color: var(--c, #94a3b8); transition: color .15s ease; }
.explore-toggle:hover span { text-decoration: underline; text-underline-offset: 3px; }
.limit-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ebedef; animation: reveal .18s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.detail-columns { display: grid; gap: 14px; }
.limit-detail h4 { margin: 0 0 4px; color: #46555d; font-size: 11px; font-weight: 720; }
.limit-detail p, .limit-detail li { margin: 0; color: #718087; font-size: 12px; line-height: 1.55; }
.check-section, .advanced-detail, .related-section { margin-top: 16px; }
.check-section ul { margin: 6px 0 0; padding-left: 16px; }
.check-section li { margin: 4px 0; padding-left: 2px; }
.check-section li::marker { color: #6b8b80; }
.advanced-detail { padding: 11px; border-radius: 6px; background: #f7f7f8; }
.advanced-detail p + p { margin-top: 7px; }
.metadata { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #929ca0 !important; font-size: 10px !important; }
.related-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.related-links button { padding: 5px 7px; border: 1px solid #e0e5ee; border-radius: 5px; color: #2c59a1; background: #f8fafd; font-size: 9px; cursor: pointer; }
.related-links button:hover { border-color: #9cb2d6; }
.source-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 10px; border-top: 1px solid #eef0f1; }
.source-row a, .source-row button { padding: 0; border: 0; color: #2958a5; background: transparent; font-size: 10px; font-weight: 650; cursor: pointer; }
.source-row a:hover, .source-row button:hover { text-decoration: underline; text-underline-offset: 3px; }
.load-more { display: block; margin: 22px auto 0; padding: 10px 16px; border: 1px solid #e1e5e7; border-radius: 7px; color: #2d579b; background: #fff; font-size: 11px; cursor: pointer; }
.load-more:hover { border-color: #adc0df; background: #f7f9fc; }
.no-results { max-width: 1074px; margin: 22px auto; padding: 22px; border: 1px dashed #dce1e3; border-radius: 8px; color: #78858b; text-align: center; font-size: 12px; }
.quick-table-wrap { max-width: 1074px; margin: 0 auto; overflow-x: auto; border: 1px solid #e2e6e8; border-radius: 8px; background: #fff; }
.quick-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.quick-table th, .quick-table td { padding: 12px 14px; border-bottom: 1px solid #edf0f1; color: #5b6970; font-size: 13px; line-height: 1.45; vertical-align: top; }
.quick-table thead th { color: #64727a; background: #f7f8f9; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.quick-table tbody tr:last-child th, .quick-table tbody tr:last-child td { border-bottom: 0; }
.quick-table tbody th { min-width: 190px; color: #303e46; font-weight: 650; }
.quick-table tbody th button { padding: 0; border: 0; color: #1b3e78; text-align: left; background: transparent; cursor: pointer; }
.quick-table tbody th button:hover, .quick-table a { color: #26539b; text-decoration: underline; text-underline-offset: 2px; }
.category-pill { --c: #5c6b78; --bg: #f2f4f6; display: inline-block; padding: 2px 10px; border: 1px solid var(--c); border-radius: 999px; color: var(--c); background: var(--bg); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.category-pill.tone-violet { --c: #7c3aed; --bg: #f5f0ff; }
.category-pill.tone-teal { --c: #0c8599; --bg: #ebfafc; }
.category-pill.tone-amber { --c: #b07a00; --bg: #fff8e6; }
.category-pill.tone-rose { --c: #c2255c; --bg: #fff0f5; }
.category-pill.tone-blue { --c: #0b5fe0; --bg: #eef4ff; }
.category-pill.tone-slate { --c: #5c6b78; --bg: #f2f4f6; }
.search-examples .tone-green, .filter-chip.tone-green, .limit-card.tone-green, .category-pill.tone-green, .sp-group { --c: #2f7d3d; --bg: #effaf1; }
/* SharePoint section: two groups of links that open the matching limit card. */
.sharepoint-section .section-heading > p { max-width: 400px; color: #4f5d65; font-size: 14px; line-height: 1.5; }
.sp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; max-width: 1074px; margin: 0 auto; }
.sp-group { min-width: 0; padding: 18px; border: 1.5px solid var(--c); border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(29, 43, 53, .05); }
.sp-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #1d2a33; font-size: 16px; font-weight: 660; letter-spacing: -.02em; }
.sp-group h3 i { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: var(--c); font: normal 10px ui-monospace, monospace; }
.sp-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sp-item { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 9px 52px 9px 12px; border: 1px solid #e7e9eb; border-radius: 6px; color: inherit; background: #fff; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.sp-item:hover { border-color: var(--c); background: var(--bg); }
/* Each row opens its full card: a chevron button makes that obvious, and fills on hover */
.sp-item::after { content: "›"; position: absolute; top: 50%; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border: 1.5px solid var(--c); border-radius: 50%; color: var(--c); background: #fff; font-size: 19px; font-weight: 600; line-height: 1; padding-bottom: 2px; box-sizing: border-box; }
.sp-item:hover::after, .sp-item:focus-visible::after { color: #fff; background: var(--c); }
.sp-item:hover strong { color: var(--c); text-decoration: underline; text-underline-offset: 3px; }
.sp-item:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.sp-item strong, .sp-item small { display: block; }
.sp-item strong { color: #1d2a33; font-size: 14px; font-weight: 650; }
.sp-item small { margin-top: 2px; color: #65737e; font-size: 12px; line-height: 1.4; }
.sp-value { flex: 0 1 auto; max-width: 42%; color: var(--c); font-size: 12.5px; font-weight: 680; line-height: 1.35; text-align: right; }
.sp-note { max-width: 1074px; margin: 18px auto 0; color: #4f5d65; font-size: 12px; }
/* Link to the companion SharePoint Connector Explorer tool */
.sp-tool-link { --c: #2f7d3d; --bg: #effaf1; display: flex; align-items: center; gap: 16px; max-width: 1074px; margin: 16px auto 0; padding: 16px 20px; border: 1.5px solid var(--c); border-radius: 10px; color: inherit; background: var(--bg); text-decoration: none; transition: background .15s ease; }
.sp-tool-link:hover { background: #fff; }
.sp-tool-link:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.sp-tool-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; background: var(--c); }
.sp-tool-icon svg { width: 22px; height: 22px; }
.sp-tool-text { min-width: 0; flex: 1; }
.sp-tool-text small, .sp-tool-text strong, .sp-tool-text > span { display: block; }
.sp-tool-text small { color: var(--c); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.sp-tool-text strong { margin-top: 2px; color: #1d2a33; font-size: 16px; font-weight: 680; }
.sp-tool-text > span { margin-top: 2px; color: #4f5d65; font-size: 13px; line-height: 1.45; }
.sp-tool-cta { flex-shrink: 0; color: var(--c); font-size: 14px; font-weight: 680; }
.sp-tool-link:hover .sp-tool-cta { text-decoration: underline; text-underline-offset: 3px; }
.source-row .tool-link { margin-left: auto; }
.sp-note a { color: #2655a2; text-decoration: underline; text-underline-offset: 2px; }
.table-value { min-width: 180px; color: #1a3765 !important; font-weight: 650; }
.profiles-section { display: grid; grid-template-columns: .78fr 1.4fr; gap: 8%; padding: 70px max(calc((100vw - 1074px) / 2), 28px); color: #f2f4f6; background: #272a33; }
.profile-intro .eyebrow { color: #9daecb; }
.profile-intro h2 { margin: 12px 0; color: #fff; font-size: 30px; font-weight: 620; letter-spacing: -.045em; line-height: 1.14; }
.profile-intro > p:not(.eyebrow) { max-width: 390px; color: #c2c4ca; font-size: 12px; }
.profile-intro > a { display: inline-block; margin-top: 8px; color: #b3cdf6; font-size: 12px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.profile-rail { display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 24px 20px; }
.profile-item { display: flex; gap: 12px; }
.profile-marker { flex: 0 0 35px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #585663; border-radius: 50%; color: #fff; font: 11px ui-monospace, monospace; }
.profile-2 { border-color: #728b9a; color: #b6d3e3; }.profile-3 { border-color: #7c96c0; color: #b2caf2; }.profile-4 { border-color: #b89967; color: #ead3a8; }
.profile-step { color: #9ea3ab; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.profile-item h3 { margin: 2px 0 4px; color: #fff; font-size: 15px; font-weight: 640; }
.profile-item p { margin: 0; color: #b3b6bd; font-size: 13px; line-height: 1.55; }
.glossary-section { background: #fbfbfc; }
.glossary-section .section-heading { align-items: center; }
.glossary-search input { width: 210px; padding: 10px 12px; border: 1px solid #e0e5e7; border-radius: 7px; color: var(--ink); background: #fff; font-size: 11px; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1074px; margin: 0 auto; }
.glossary-item { --c: #0b5fe0; --bg: #eef4ff; position: relative; padding: 20px 22px 22px 26px; border: 1px solid #e3e7ea; border-radius: 4px 12px 12px 4px; background: #fff; box-shadow: 0 2px 6px rgba(29, 43, 53, .04); overflow: hidden; }
.glossary-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c); }
.glossary-item:nth-child(6n + 1) { --c: #0b5fe0; --bg: #eef4ff; }
.glossary-item:nth-child(6n + 2) { --c: #0c8599; --bg: #ebfafc; }
.glossary-item:nth-child(6n + 3) { --c: #7c3aed; --bg: #f5f0ff; }
.glossary-item:nth-child(6n + 4) { --c: #b07a00; --bg: #fff8e6; }
.glossary-item:nth-child(6n + 5) { --c: #c2255c; --bg: #fff0f5; }
.glossary-item:nth-child(6n) { --c: #2b8a3e; --bg: #effaf1; }
.glossary-item h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed #dde3e7; color: var(--c); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.glossary-icon { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--c); background: var(--bg); font-family: system-ui, sans-serif; font-size: 16px; line-height: 1; }
.glossary-item p { margin: 0; color: #4f5d65; font-size: 14px; line-height: 1.65; }
.glossary-empty { grid-column: 1/-1; padding: 15px 0; color: #78858a; font-size: 11px; }
.beta-badge { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; color: #0b5fe0; background: #e3eefd; font-family: inherit; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; -webkit-text-fill-color: #0b5fe0; }
.faq-list { max-width: 1074px; margin: 0 auto; }
.faq-list details { border-top: 1px solid #e5e8ea; padding: 14px 0; }
.faq-list details:last-child { border-bottom: 1px solid #e5e8ea; }
.faq-list summary { cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 640; }
.faq-list p { margin: 8px 0 0; color: #52616b; font-size: 13px; line-height: 1.6; }
.faq-list a { color: var(--purple); }
.source-note { display: flex; align-items: center; gap: 15px; max-width: 1074px; margin: 0 auto 28px; padding: 17px 20px; border: 1px solid #e3e6e7; border-radius: 8px; background: #fff; }
.source-note div { flex: 1; }
.source-note strong { font-size: 13px; font-weight: 680; }
.source-note p { margin: 3px 0 0; color: #758187; font-size: 12px; line-height: 1.5; }
.source-note a { text-decoration: underline; text-underline-offset: 2px; }
.source-note p.attribution { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e3e6e7; }
.source-note p.attribution a { color: #2655a2; text-decoration: underline; text-underline-offset: 2px; }
.source-note .source-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border: 1px solid #c9d6ea; border-radius: 999px; color: #2655a2; background: #f4f7fc; font-size: 11px; font-weight: 660; text-decoration: none; transition: .18s ease; }
.source-note .source-link:hover { border-color: #98b0d7; color: #0b5fe0; background: #e9eef6; }
.source-note p.attribution { margin-top: 12px; }
support-card { --support-card-max: 1074px; margin-top: 0; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
  .topbar nav > a:nth-of-type(n+3) { display: none; }
}
@media (max-width: 900px) {
  .hero-stamp { right: 4%; width: 140px; height: 140px; }
  .entry-ways { padding-bottom: 38px; gap: 12px; }
  .entry-link { padding: 16px 16px; }
  .entry-link strong { font-size: 16px; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .landscape-map { grid-template-columns: 170px 1fr; padding: 25px 20px; }
  .landscape-map::after { left: 137px; right: 48px; }
  .map-center { width: 130px; height: 130px; }
  .map-regions { grid-template-columns: repeat(2, 1fr); }
  .limit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles-section { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sp-value { max-width: none; text-align: left; }
}
@media (max-width: 620px) {
  .topbar { min-height: 60px; padding: 0 18px; }
  .topbar nav { gap: 14px; font-size: 11px; }
  .topbar nav > a { display: none; }
  .topbar .all-tools, .reset-page { padding: 7px 10px; font-size: 11px; }
  .back-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .hero { padding: 52px 20px 25px; }
  .hero-copy { max-width: 100%; }
  h1 { margin-top: 17px; font-size: clamp(40px, 12vw, 58px); }
  .eyebrow { font-size: 9px; }
  .hero-line { max-width: 100%; font-size: 18px; }
  .hero-description { max-width: 100%; font-size: 15px; }
  .trust-more { display: none; }
  .hero-stamp { top: 38px; right: 15px; width: 76px; height: 76px; opacity: .6; }
  .hero-stamp::before { inset: 5px; }.hero-stamp::after { inset: 14px; }
  .hero-stamp strong { font-size: 27px; }.hero-stamp span { font-size: 5px; }
  .search-panel { min-height: 46px; margin-top: 20px; padding: 4px 4px 4px 12px; }
  .search-icon { margin-right: 4px; }
  .search-panel input { font-size: 16px; }
  .search-submit { padding: 0 10px; }
  .search-reset { width: 32px; height: 32px; }
  .search-examples { gap: 6px; }
  .search-examples > span { width: 100%; }
  .search-examples button { padding: 5px 10px; font-size: 12px; }
  .entry-ways { grid-template-columns: 1fr; padding: 15px 0 35px; }
  .entry-ways-label { font-size: 13px; letter-spacing: .08em; }
  .step-eyebrow { font-size: 13px; letter-spacing: .08em; }
  .entry-link { min-height: 76px; padding: 14px 16px; }
  .entry-index { font-size: 26px; }
  .section, .landscape-section { padding: 52px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { max-width: 100%; font-size: 11px; }
  .symptom-grid { grid-template-columns: 1fr; gap: 7px; }
  .symptom-option { min-height: 0; }
  .investigation { padding: 15px; }
  .investigation-results { grid-template-columns: 1fr; }
  .landscape-map { display: block; min-height: auto; padding: 24px 17px; }
  .landscape-map::after { display: none; }
  .map-center { width: 100px; height: 100px; margin: 2px auto 25px; }
  .center-orbit { inset: -6px; }
  .center-symbol { width: 23px; height: 23px; margin-bottom: 4px; font-size: 14px; }
  .map-center strong { font-size: 10px; }.map-center small { font-size: 6px; }
  .map-regions { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .map-region { min-height: 60px; gap: 7px; padding: 8px; }
  .map-region strong { font-size: 11px; }.map-region small { font-size: 10px; }
  .map-region .region-code { flex-basis: 26px; width: 26px; height: 26px; font-size: 9px; }
  .explorer-heading { gap: 16px; }
  .view-control { width: 100%; flex-wrap: wrap; gap: 6px; }
  .view-control > span:first-child { margin-right: 2px; }
  .segmented button { padding: 7px 9px; }
  .explorer-toolbar { display: block; }
  .category-filters { margin: 0 -20px; padding: 4px 20px 10px; }
  .sort-control { justify-content: flex-end; margin: 3px 0 0; }
  .limit-grid { grid-template-columns: 1fr; gap: 9px; }
  .limit-card { padding: 16px; }
  .limit-summary { min-height: 0; }
  .profiles-section { grid-template-columns: 1fr; gap: 25px; padding: 48px 20px; }
  .profile-intro h2 { font-size: 27px; }
  .profile-rail { gap: 19px 14px; }
  .profile-item { gap: 9px; }
  .profile-marker { flex-basis: 30px; width: 30px; height: 30px; }
  .glossary-section .section-heading { align-items: stretch; }
  .glossary-search input { width: 100%; }
  .glossary-grid { grid-template-columns: 1fr; gap: 12px; }
  .sharepoint-section .section-heading > p { font-size: 13px; }
  .sp-groups { grid-template-columns: 1fr; gap: 12px; }
  .sp-tool-link { flex-wrap: wrap; align-items: flex-start; padding: 14px 16px; }
  .sp-tool-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .sp-tool-text { flex-basis: calc(100% - 56px); }
  .sp-tool-cta { width: 100%; padding: 4px 0 2px 56px; }
  .sp-group { padding: 15px; }
  .source-note { align-items: flex-start; flex-wrap: wrap; margin: 0 20px 20px; padding: 15px; }
  .source-note div { flex-basis: calc(100% - 45px); }
}
/* Share / More tools: the explorers' header buttons in a dark-on-light version for this white top bar (icon-only on phones). */
.hdr-actions { display: inline-flex; align-items: center; gap: 8px; }
.hdr-action { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #334155; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: .18s ease; }
.hdr-action:hover { border-color: #98b0d7; background: #f2f5fb; color: #0b5fe0; }
.hdr-action:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 2px; }
.hdr-action svg { flex: none; width: 16px; height: 16px; }
@media (max-width: 620px) {
  .hdr-actions { gap: 6px; }
  .hdr-action { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .hdr-action span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Light/dark switch: same control as the home page, last in the top bar actions; matches the icon buttons on phones. */
.theme-switch { position: relative; flex: none; width: 52px; height: 32px; padding: 0; border: 1px solid #cbd5e1; border-radius: 999px; background: #f1f5f9; cursor: pointer; }
.theme-switch:hover { border-color: #94a3b8; }
.theme-switch:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 2px; }
.theme-switch-knob { position: absolute; top: 3px; left: 3px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.25); color: #d97706; transition: transform .15s ease; }
.theme-switch-knob svg { width: 14px; height: 14px; }
.theme-moon { display: none; }
.dark .theme-switch { border-color: #475569; background: #1e293b; }
.dark .theme-switch:hover { border-color: #64748b; }
.dark .theme-switch:focus-visible { outline-color: #93c5fd; }
.dark .theme-switch-knob { transform: translateX(20px); background: #334155; color: #c7d2fe; }
.dark .theme-sun { display: none; }
.dark .theme-moon { display: block; }
@media (max-width: 620px) {
  .theme-switch { width: 40px; height: 40px; border-color: var(--line); border-radius: 8px; background: #fff; }
  .dark .theme-switch { border-color: #334155; background: #1e293b; }
  .theme-switch-knob, .dark .theme-switch-knob { top: 7px; left: 7px; transform: none; background: transparent; box-shadow: none; }
  .theme-switch-knob svg { width: 16px; height: 16px; }
}

/* Dark mode (html.dark, set by the switch; shared with the home page and the other tools).
   Colour-coded cards keep their --c colour: their tint (--bg, --bd) is a dark mix of it, and text in that colour uses a
   lighter shade so it stays readable. Solid fills with white text keep --c. The charcoal profiles band is already dark. */
.dark { color-scheme: dark; --ink: #e2e8f0; --muted: #94a3b8; --soft: #020617; --paper: #0f172a; --line: #334155; --purple: #7fb0ff; --shadow: 0 16px 36px rgba(0,0,0,.4); }
.dark :is(.entry-link, .symptom-option, .map-region, .limit-card, .filter-chip, .category-pill, .glossary-item) { --bg: color-mix(in srgb, var(--c) 14%, #0f172a); --bd: color-mix(in srgb, var(--c) 40%, #0f172a); }
.dark :is(.entry-index, .entry-arrow, .symptom-cta, .limit-value, .category-label, .explore-toggle, .explore-toggle .toggle-chevron, .filter-chip:not(.active), .category-pill, .glossary-item h3, .glossary-icon) { color: color-mix(in srgb, var(--c) 55%, #fff); }
.dark :is(.entry-link, .symptom-option, .map-region, .limit-card, .filter-chip):hover { background: color-mix(in srgb, var(--c) 24%, #0f172a); box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.dark .symptom-option.selected, .dark .limit-card:has(.limit-detail) { background: color-mix(in srgb, var(--c) 8%, #0f172a); box-shadow: 0 0 0 4px var(--bd), 0 10px 22px rgba(0,0,0,.45); }
.dark .limit-card:has(.limit-detail) { box-shadow: 0 10px 22px rgba(0,0,0,.45); }
/* the plain "All" chip is drawn in ink, so it takes a light slate instead */
.dark .filter-chip:not([class*="tone-"]) { --c: #cbd5e1; }
.dark .filter-chip:not([class*="tone-"]).active { color: #0f172a; }
.dark :is(.entry-link strong, .symptom-option strong, .map-region strong, .limit-title, .category-banner strong, .troubleshoot-section .section-heading > p strong, .quick-table tbody th) { color: #f1f5f9; }
.dark :is(.entry-link small, .symptom-option small, .map-region small) { color: #a3b0c0; }

/* Top bar and hero */
.dark .topbar { border-bottom-color: #1e293b; background: rgba(15,23,42,.92); }
.dark .brand { color: #e2e8f0; }
.dark .topbar nav { color: #a3b0c0; }
.dark .hdr-action { border-color: #334155; background: #1e293b; color: #e2e8f0; }
.dark .hdr-action:hover { border-color: #475569; background: #334155; color: #fff; }
.dark .hdr-action:focus-visible { outline-color: #93c5fd; }
.dark .fme-trust { color: #34d399; }
.dark .fme-trust:hover, .dark .fme-trust[aria-expanded="true"] { background: #1e293b; }
.dark .fme-trust-text { color: #cbd5e1; }
.dark .eyebrow, .dark .search-examples > span, .dark .search-status, .dark .map-caption, .dark .view-control, .dark .sort-control, .dark .results-line, .dark .investigation-note, .dark .glossary-empty, .dark .no-results { color: #94a3b8; }
.dark .status-dot { box-shadow: 0 0 0 3px #14532d; }
.dark .eyebrow-sep { color: #475569; }
.dark .entry-ways-label { color: #e2e8f0; }
.dark .step-eyebrow { color: #e2e8f0; }
.dark .search-status { color: #cbd5e1; }
.dark .search-status strong { color: #f1f5f9; }
.dark .status-jump { color: #93c5fd; }
.dark h1 span, .dark .hero-stamp strong { color: #60a5fa; }
.dark .hero-line { color: #f1f5f9; }
.dark .hero-description { color: #cbd5e1; }
.dark .hero-stamp { border-color: #334155; color: #94a3b8; background: radial-gradient(circle at center, #0f172a 25%, #162032 26%, #162032 56%, transparent 57%); }
.dark .hero-stamp::before { border-color: #334155; }
.dark .hero-stamp::after { border-color: #1e293b; }
.dark .search-panel { border-color: #334155; background: #0f172a; }
.dark .search-panel:hover { border-color: #475569; }
.dark .search-panel:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .25); }
.dark .search-icon svg { stroke: #94a3b8; }
.dark .search-panel:focus-within .search-icon svg { stroke: #93c5fd; }
.dark .search-panel input::placeholder { color: #8391a7; }
.dark .search-submit { color: #93c5fd; background: transparent; }
.dark .search-submit:hover { background: #1e293b; }
.dark .search-reset { color: #94a3b8; }
.dark .search-reset:hover { color: #e2e8f0; background: #1e293b; }
.dark .search-examples button { border-color: #334155; color: #cbd5e1; background: transparent; }
.dark .search-examples button:hover, .dark .reset-page:hover { border-color: #475569; color: #93c5fd; background: #1e293b; }
.dark .search-examples button[class*="tone-"] { border-color: color-mix(in srgb, var(--c) 45%, #0f172a); color: color-mix(in srgb, var(--c) 55%, #fff); background: color-mix(in srgb, var(--c) 14%, #0f172a); }
.dark .search-examples button[class*="tone-"]:hover { border-color: color-mix(in srgb, var(--c) 70%, #fff); background: color-mix(in srgb, var(--c) 24%, #0f172a); }
.dark .reset-page { color: #cbd5e1; }
.dark .search-examples .reset-tool { color: #94a3b8; }
.dark .search-examples .reset-tool:hover { color: #93c5fd; background: transparent; }

/* Sections */
.dark .section-heading > p, .dark .troubleshoot-section .section-heading > p, .dark .landscape-section .section-heading > p, .dark .limits-summary-section .section-heading > p { color: #cbd5e1; }
.dark .troubleshoot-section { border-top-color: #1e293b; background: radial-gradient(circle at 8% 0%, rgba(59,130,246,.10), transparent 38%), radial-gradient(circle at 92% 20%, rgba(168,85,247,.10), transparent 40%), radial-gradient(circle at 50% 100%, rgba(16,185,129,.08), transparent 45%), #020617; }
.dark .category-banner { border-color: #334155; border-left-color: #3b82f6; background: #0f172a; color: #cbd5e1; }
.dark .sharepoint-section .section-heading > p, .dark .sp-note { color: #cbd5e1; }
.dark .sp-group { border-color: color-mix(in srgb, var(--c) 60%, #0f172a); background: #0f172a; box-shadow: none; }
.dark .sp-group h3, .dark .sp-item strong { color: #f1f5f9; }
.dark .sp-item { border-color: #334155; background: #0f172a; }
.dark .sp-item:hover { border-color: color-mix(in srgb, var(--c) 70%, #fff); background: color-mix(in srgb, var(--c) 18%, #0f172a); }
.dark .sp-item small { color: #94a3b8; }
.dark .sp-item::after { border-color: color-mix(in srgb, var(--c) 60%, #fff); color: color-mix(in srgb, var(--c) 55%, #fff); background: #0f172a; }
.dark .sp-item:hover::after, .dark .sp-item:focus-visible::after { color: #0f172a; background: color-mix(in srgb, var(--c) 55%, #fff); }
.dark .sp-item:hover strong { color: color-mix(in srgb, var(--c) 55%, #fff); }
.dark .sp-value { color: color-mix(in srgb, var(--c) 55%, #fff); }
.dark .sp-note a { color: #93c5fd; }
.dark .sp-tool-link { border-color: color-mix(in srgb, var(--c) 60%, #0f172a); background: color-mix(in srgb, var(--c) 14%, #0f172a); }
.dark .sp-tool-link:hover { background: color-mix(in srgb, var(--c) 24%, #0f172a); }
.dark .sp-tool-text strong { color: #f1f5f9; }
.dark .sp-tool-text > span { color: #cbd5e1; }
.dark .sp-tool-text small, .dark .sp-tool-cta { color: color-mix(in srgb, var(--c) 55%, #fff); }
.dark .card-extra { border-top-color: #334155; color: #a3b0c0; }
.dark .card-extra .metadata span { background: #172554; color: #93c5fd; }
.dark .investigation { border-color: #1e3a8a; background: #0f172a; }
.dark .signal-icon { color: #93c5fd; background: #172554; }
.dark .investigation-heading > button { color: #94a3b8; }
.dark .investigation-heading > button:hover { background: #1e293b; }
.dark .investigation-result { border-color: #334155; background: #0f172a; }
.dark .investigation-result:hover { border-color: #3b82f6; background: #1e293b; }
.dark .investigation-result:hover strong { color: #93c5fd; }
.dark .investigation-result small { color: #94a3b8; }
.dark .investigation-result > span:last-child { color: #93c5fd; }
.dark .landscape-section { background: #0b1120; }
.dark .landscape-map { border-color: #334155; background: rgba(15,23,42,.77); }
.dark .landscape-map::after, .dark .center-orbit { border-color: #334155; }
.dark .map-center { border-color: #334155; background: #0f172a; }
.dark .map-center small { color: #94a3b8; }
.dark .legend-line { border-top-color: #64748b; }
.dark .explorer-section { background: #0f172a; }
.dark .segmented { border-color: #334155; background: #020617; }
.dark .segmented button { color: #94a3b8; }
.dark .segmented button.selected { color: #bfdbfe; background: #334155; box-shadow: none; }
.dark .view-divider { background: #334155; }
.dark .sort-control select { border-color: #334155; color: #e2e8f0; background: #0f172a; }
.dark .results-line button { border-color: #3b82f6; color: #bfdbfe; background: #172554; }
.dark .results-line button:hover { background: #1e3a8a; }
.dark .results-line.is-filtered #result-count { color: #e2e8f0; }
.dark .icon-button { color: #94a3b8; }
.dark .icon-button:hover { border-color: #334155; color: #93c5fd; background: #1e293b; }
.dark .limit-title:hover { color: #93c5fd; }
.dark .limit-summary { color: #a3b0c0; }
.dark .limit-detail { border-top-color: #334155; }
.dark .limit-detail h4 { color: #cbd5e1; }
.dark .limit-detail p, .dark .limit-detail li { color: #a3b0c0; }
.dark .advanced-detail { background: #1e293b; }
.dark .metadata { color: #94a3b8 !important; }
.dark .related-links button { border-color: #334155; color: #93c5fd; background: #1e293b; }
.dark .related-links button:hover { border-color: #3b82f6; }
.dark .source-row { border-top-color: #1e293b; }
.dark .source-row a, .dark .source-row button { color: #93c5fd; }
.dark .load-more { border-color: #334155; color: #93c5fd; background: #0f172a; }
.dark .load-more:hover { border-color: #475569; background: #1e293b; }
.dark .no-results { border-color: #334155; }
.dark .quick-table-wrap { border-color: #334155; background: #0f172a; }
.dark .quick-table th, .dark .quick-table td { border-bottom-color: #1e293b; color: #cbd5e1; }
.dark .quick-table thead th { color: #94a3b8; background: #1e293b; }
.dark .quick-table tbody th button { color: #93c5fd; }
.dark .quick-table tbody th button:hover, .dark .quick-table a { color: #bfdbfe; }
.dark .table-value { color: #bfdbfe !important; }
.dark .profiles-section { background: #161a26; }
.dark .glossary-section { background: #020617; }
.dark .glossary-search input { border-color: #334155; background: #0f172a; }
.dark .glossary-item { border-color: #334155; background: #0f172a; box-shadow: none; }
.dark .glossary-item h3 { border-bottom-color: #334155; }
.dark .glossary-item p { color: #cbd5e1; }
.dark .beta-badge { color: #93c5fd; background: #172554; -webkit-text-fill-color: #93c5fd; }
.whats-new { color: #fff; background: #0b5fe0; letter-spacing: .04em; text-decoration: none; -webkit-text-fill-color: #fff; }
.whats-new:hover { background: #0848b0; text-decoration: underline; text-underline-offset: 2px; }
.whats-new:focus-visible { outline: 2px solid #0b5fe0; outline-offset: 2px; }
.dark .whats-new { color: #0f172a; background: #93c5fd; -webkit-text-fill-color: #0f172a; }
.dark .whats-new:hover { background: #bfdbfe; }
.dark .whats-new:focus-visible { outline-color: #93c5fd; }
@media (max-width: 620px) { .whats-new { display: none; } } /* as in the explorers: the footer link stays */
.dark .faq-list details, .dark .faq-list details:last-child { border-color: #1e293b; }
.dark .faq-list p { color: #cbd5e1; }
.dark .source-note { border-color: #334155; background: #0f172a; }
.dark .source-note p { color: #a3b0c0; }
.dark .source-note p.attribution { border-top-color: #334155; }
.dark .source-note p.attribution a { color: #93c5fd; }
.dark .source-note .source-link { border-color: #1e3a8a; color: #bfdbfe; background: #172554; }
.dark .source-note .source-link:hover { border-color: #3b82f6; color: #fff; background: #1e3a8a; }

/* Shared chrome from fme-site.css (popover, footer) and the support card */
.dark .fme-pop { border-color: #334155; background: #0f172a; color: #cbd5e1; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.dark .fme-pop-title { color: #f1f5f9; }
.dark .fme-pop li::before { color: #34d399; }
.dark .fme-pop a { color: #93c5fd; }
.dark .fme-toast { background: #1e293b; }
.dark .fme-foot { background: #0f172a; color: #94a3b8; }
.dark .fme-foot-logo, .dark .fme-foot-h { color: #f1f5f9; }
.dark .fme-foot-social a, .dark .fme-foot-legal { color: #94a3b8; }
.dark .fme-foot-col a, .dark .fme-foot-col button, .dark .fme-foot-legal a { color: #cbd5e1; }
.dark .fme-foot-social a:hover, .dark .fme-foot-col a:hover, .dark .fme-foot-col button:hover, .dark .fme-foot-legal a:hover { color: #93c5fd; }
.dark .fme-foot a:focus-visible, .dark .fme-foot button:focus-visible { outline-color: #93c5fd; }
.dark .fme-foot-legal-in { border-top-color: #1e293b; }
.dark support-card { --support-card-text: #f1f5f9; --support-card-bg: #0f172a; --support-card-border: #1e3a8a; --support-card-muted: #94a3b8; }
