/* =========================================================================
   TAHA Engineering Tools — design system (v0.4 "white & engineering blue")
   Change colours in section 1 only; every component uses these tokens.
   Sections: 1 tokens · 2 base · 3 layout · 4 header · 5 hero & search
             6 cards & grids · 7 calculator · 8 results · 9 diagrams
             10 content · 11 converter · 12 footer · 13 utilities · 14 responsive
   ========================================================================= */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand */
  --blue: #1769aa;          /* primary: links, buttons, active tabs (5.6:1 on white) */
  --blue-hover: #0f5189;
  --blue-soft: #e8f1fa;     /* light blue fills */
  --blue-line: #a9c8e6;
  --navy: #102a43;          /* headings, important text */
  --cyan: #0aa5c4;          /* subtle technical accents only */
  --cyan-soft: #e3f6fa;

  /* Surfaces & text */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;        /* secondary sections */
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --text: #334e68;          /* body text */
  --heading: #102a43;
  --muted: #52667a;
  --border: #d9e2ec;
  --border-strong: #a7b6c6;
  --on-blue: #ffffff;

  /* States */
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warn: #7a5200;
  --warn-soft: #fff6e0;
  --warn-line: #e8c46a;
  --info-soft: #eef5fc;
  --focus: #0aa5c4;

  /* Diagrams */
  --dg-ink: #102a43;
  --dg-dim: #1769aa;
  --dg-accent: #0a9bb8;
  --dg-fill: #e4eef8;
  --dg-fill-2: #c7dbef;
  --dg-muted: #8196ab;
  --dg-bg: #ffffff;

  /* Header & footer */
  --header-bg: #ffffff;
  --footer-bg: #102a43;

  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.05);
  --shadow: 0 1px 3px rgba(16, 42, 67, 0.06), 0 6px 18px rgba(16, 42, 67, 0.06);
  --wrap: 1180px;
  --header-h: 64px;
  color-scheme: light;
}

/* Dark theme (user toggle or system preference) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #5aa9e6; --blue-hover: #8cc4ef; --blue-soft: rgba(90, 169, 230, 0.12); --blue-line: rgba(90, 169, 230, 0.45);
    --navy: #e6eef7; --cyan: #38c7e0; --cyan-soft: rgba(56, 199, 224, 0.1);
    --bg: #0b1726; --bg-alt: #0f1f33; --surface: #12233a; --surface-2: #172b45;
    --text: #c6d3e1; --heading: #eef4fa; --muted: #93a6ba; --border: #24395a; --border-strong: #3c5578; --on-blue: #06121f;
    --danger: #ff9b91; --danger-soft: rgba(255, 120, 105, 0.12); --warn: #fcd27a; --warn-soft: rgba(252, 210, 122, 0.1); --warn-line: rgba(252, 210, 122, 0.45);
    --info-soft: rgba(90, 169, 230, 0.08); --focus: #38c7e0;
    --dg-ink: #dfe9f3; --dg-dim: #6cb4ec; --dg-accent: #38c7e0; --dg-fill: #1b3456; --dg-fill-2: #25466f; --dg-muted: #7d93aa; --dg-bg: #12233a;
    --header-bg: #0f1f33; --footer-bg: #07111d;
    --shadow-sm: none; --shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue: #5aa9e6; --blue-hover: #8cc4ef; --blue-soft: rgba(90, 169, 230, 0.12); --blue-line: rgba(90, 169, 230, 0.45);
  --navy: #e6eef7; --cyan: #38c7e0; --cyan-soft: rgba(56, 199, 224, 0.1);
  --bg: #0b1726; --bg-alt: #0f1f33; --surface: #12233a; --surface-2: #172b45;
  --text: #c6d3e1; --heading: #eef4fa; --muted: #93a6ba; --border: #24395a; --border-strong: #3c5578; --on-blue: #06121f;
  --danger: #ff9b91; --danger-soft: rgba(255, 120, 105, 0.12); --warn: #fcd27a; --warn-soft: rgba(252, 210, 122, 0.1); --warn-line: rgba(252, 210, 122, 0.45);
  --info-soft: rgba(90, 169, 230, 0.08); --focus: #38c7e0;
  --dg-ink: #dfe9f3; --dg-dim: #6cb4ec; --dg-accent: #38c7e0; --dg-fill: #1b3456; --dg-fill-2: #25466f; --dg-muted: #7d93aa; --dg-bg: #12233a;
  --header-bg: #0f1f33; --footer-bg: #07111d;
  --shadow-sm: none; --shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg); text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.3rem); font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 650; }
h3 { font-size: 1.06rem; font-weight: 650; }
p { margin: 0 0 1em; }
strong { color: var(--heading); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: rgba(23, 105, 170, 0.2); }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: #1769aa; color: #fff; /* fixed colours: 5.6:1 in both themes */ font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
main { min-height: 60vh; padding-bottom: 64px; }
.band { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.band--section { padding: 40px 0; border-top: 1px solid var(--border); margin-top: 48px; }
.section { margin-top: 44px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section__title { font-size: 1.28rem; display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.section__head .section__title { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.more .icon { width: 1em; height: 1em; }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); flex: none; }
.brand:hover { color: var(--heading); }
.brand__mark { width: 36px; height: 36px; color: var(--navy); }
/* Official logo: original image, shown at its own aspect ratio (square). The black corners of
   the artwork sit on a matching dark tile, so nothing is recoloured or cropped. */
.brand__logo { width: 44px; height: 44px; border-radius: 8px; background: #000; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 750; font-size: 1.06rem; color: var(--heading); letter-spacing: -0.005em; }
.brand__sub { font-size: 0.74rem; color: var(--blue); letter-spacing: 0.02em; font-weight: 600; }
.header-tools .search-jump { display: none; }
.site-nav { display: flex; align-items: center; gap: 16px; flex: 1; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.site-nav__list a:hover { color: var(--blue); background: var(--blue-soft); }
.site-nav__list a[aria-current] { color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 6px 6px 0 0; }
.header-search { margin-left: auto; display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; }
.header-search input { width: 200px; background: transparent; border: 0; color: var(--heading); padding: 8px 4px 8px 16px; font: inherit; font-size: 0.92rem; }
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.header-search__btn { background: none; border: 0; color: var(--muted); padding: 8px 12px; cursor: pointer; display: flex; }
.header-search__btn:hover { color: var(--blue); }
.header-tools { display: flex; gap: 4px; margin-left: auto; }
.site-nav + .header-tools { margin-left: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--heading); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }
.theme-toggle .icon--sun { display: none; }
[data-theme="dark"] .theme-toggle .icon--sun { display: block; }
[data-theme="dark"] .theme-toggle .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon--sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon--moon { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }

/* 5. HERO & SEARCH --------------------------------------------------------- */
.hero {
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(rgba(23, 105, 170, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--border);
  padding: 52px 0 56px;
}
.hero__inner { max-width: 860px; }
.hero--brand { padding: 44px 0 0; }
.hero__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-panel { position: relative; width: min(300px, 100%); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle at 50% 45%, #13263f 0%, #0a1626 70%); box-shadow: 0 18px 40px rgba(16, 42, 67, 0.22); }
.brand-panel__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-panel__rings circle, .brand-panel__rings path { fill: none; stroke-linecap: round; }
.brand-panel__rings .r1 { stroke: rgba(56, 199, 224, 0.55); stroke-width: 1.5; stroke-dasharray: 2 7; }
.brand-panel__rings .r2 { stroke: rgba(90, 169, 230, 0.35); stroke-width: 1; }
.brand-panel__rings .r3 { stroke: rgba(56, 199, 224, 0.6); stroke-width: 1.6; }
.brand-panel__logo { position: relative; width: 66%; height: auto; aspect-ratio: 1; border-radius: 50%; background: #000; }
.brand-panel__tagline { margin: 0; font-weight: 650; color: var(--heading); text-align: center; font-size: 0.98rem; }
.hero__facts { list-style: none; margin: 36px 0 0; padding: 16px 0; display: grid; gap: 10px 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--text); }
.hero__facts strong { color: var(--blue); }
.hero__kicker { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; font-weight: 600; }
.hero__title { font-size: clamp(2rem, 1.5rem + 2.3vw, 3rem); line-height: 1.1; margin-bottom: 16px; }
.hero__title .hl { color: var(--blue); }
.hero__lede { font-size: 1.12rem; color: var(--text); max-width: 680px; margin-bottom: 26px; }
.hero-search {
  position: relative; display: flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 6px 6px 6px 16px; max-width: 680px; box-shadow: var(--shadow);
}
.hero-search > .icon { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 10px 4px; color: var(--heading); background: transparent; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow); }
.hero-search--compact { margin: 24px auto 0; box-shadow: none; }
.hero__quick { margin: 18px 0 0; font-size: 0.92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; }
.hero__quick a { color: var(--blue); background: var(--surface); text-decoration: none; padding: 3px 11px; border: 1px solid var(--blue-line); border-radius: 999px; margin-left: 4px; font-weight: 550; }
.hero__quick a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.suggest__list { list-style: none; margin: 0; padding: 6px; }
.suggest__list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--heading); }
.suggest__list a:hover, .suggest__list a:focus { background: var(--blue-soft); outline: none; }
.suggest__list .icon { color: var(--blue); }
.suggest__cat { margin-left: auto; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.suggest__empty { padding: 12px 16px; color: var(--muted); margin: 0; }

/* 6. CARDS & GRIDS --------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card__title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 700; margin: 0 0 16px; }
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
a.cat-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--text); }
.cat-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; flex: none; }
.cat-card__icon .icon { width: 26px; height: 26px; }
.cat-card__name { font-weight: 650; font-size: 1.02rem; color: var(--heading); }
.cat-card__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.45; flex: 1; }
.cat-card__count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); margin-top: 6px; font-weight: 600; }
.cat-card--soon { background: transparent; border-style: dashed; }
.cat-card--soon .cat-card__icon { background: var(--surface-2); color: var(--muted); }
.cat-card--soon .cat-card__count { color: var(--muted); }

.tool-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tool-list { display: grid; gap: 8px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
.tool-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--text); }
.tool-card:hover .tool-card__title { color: var(--blue); }
.tool-card__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.tool-card__icon .icon { width: 24px; height: 24px; }
.tool-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-card__title { font-weight: 650; line-height: 1.3; color: var(--heading); }
.tool-card__desc { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.tool-card__cat { font-family: var(--font-mono); font-size: 0.74rem; color: var(--blue); margin-top: 4px; }
.tool-list .tool-card { padding: 12px; }
.tool-list .tool-card__icon { width: 36px; height: 36px; }
.tool-list .tool-card__icon .icon { width: 20px; height: 20px; }
.tool-list .tool-card__desc { display: none; }
.section__sub { margin: 4px 0 0; color: var(--muted); font-size: 0.93rem; }
.feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
.feature-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--text); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feature-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue); color: #fff; }
.feature-card__icon .icon { width: 25px; height: 25px; }
.feature-card__cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.feature-card__title { font-weight: 700; color: var(--heading); font-size: 1.04rem; line-height: 1.3; margin-top: 4px; }
.feature-card__desc { font-size: 0.9rem; color: var(--muted); line-height: 1.45; flex: 1; }
.feature-card__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 0.9rem; color: var(--blue); }
.feature-card__go .icon { width: 1em; height: 1em; transition: transform 0.15s; }
.feature-card:hover .feature-card__go .icon { transform: translateX(3px); }
.cat-card__count { display: inline-flex; align-items: center; gap: 4px; }
.cat-card__count .icon { width: 1em; height: 1em; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.soon__label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.soon__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.soon__list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.86rem; }
.soon__list .icon { width: 1.05em; height: 1.05em; }
.why .principles__grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.learn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px; border-radius: var(--radius);
  background: var(--blue-soft); border: 1px solid var(--blue-line); }
.learn__text { flex: 1 1 420px; }
.learn__text p { margin: 0; }
.learn .section__title { margin-bottom: 8px; }
.personal { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.personal .section__title .icon { color: var(--blue); }
.principles__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.principle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.principle h3 { margin: 10px 0 4px; font-size: 1rem; }
.principle p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.principle__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.principle__icon .icon { width: 24px; height: 24px; }
.principles__note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: 0.9rem; color: var(--text); }
.principles__note .icon { color: var(--warn); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip__n { font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.8; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; vertical-align: middle; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.filter-bar { display: grid; gap: 14px; margin: 8px 0 12px; grid-template-columns: minmax(0, 1fr); }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; max-width: 560px; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search-box .icon { color: var(--muted); }
.search-box input { flex: 1; border: 0; background: transparent; font: inherit; padding: 12px 0; color: var(--heading); min-width: 0; }
.search-box input:focus { outline: none; }
.filter-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 12px; min-height: 1.4em; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state > .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--border-strong); }
.empty-state--page { padding: 80px 16px; max-width: 640px; margin: 0 auto; }
.cat-sections { display: grid; gap: 16px; }
.cat-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.cat-section__head { display: flex; gap: 16px; align-items: flex-start; }
.cat-section__head h2 { margin: 2px 0 4px; font-size: 1.15rem; }
.cat-section__head h2 a { color: var(--heading); text-decoration: none; }
.cat-section__head h2 a:hover { color: var(--blue); text-decoration: underline; }
.cat-section__head p { margin: 0; color: var(--muted); }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 14px 0 0 60px; padding: 0; }
.link-list a { font-weight: 550; }

/* 7. CALCULATOR PAGE ------------------------------------------------------- */
.breadcrumbs { padding: 18px 0 6px; font-size: 0.88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--heading); }
.page-head { display: flex; gap: 18px; align-items: flex-start; margin: 10px 0 24px; }
.page-head h1 { margin-bottom: 6px; }
.page-head__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: var(--blue); color: #fff; }
.page-head__icon .icon { width: 32px; height: 32px; }
.page-head--plain { margin-top: 10px; }
.eyebrow { margin: 0 0 4px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.07rem; color: var(--text); margin: 0; max-width: 760px; }

.calc { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.calc-form { padding: 22px; }
.modes { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
/* Mode tabs (blue) */
.seg { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.seg__opt { position: relative; flex: 1 1 auto; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: block; text-align: center; padding: 7px 12px; border-radius: 7px; font-size: 0.9rem; font-weight: 550; color: var(--text); cursor: pointer; user-select: none; white-space: nowrap; }
.seg__opt:hover span { color: var(--blue); background: var(--surface); }
.seg__opt input:checked + span { background: var(--blue); color: var(--on-blue); box-shadow: var(--shadow-sm); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { margin-bottom: 18px; }
.field__label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--heading); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.field-row .field { margin-bottom: 10px; }
.field-row .field__label { font-size: 0.85rem; }
.field-row .input { min-height: 40px; padding: 8px 10px; }
.input--text { font-family: var(--font-sans); }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field__hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.field__error { font-size: 0.88rem; color: var(--danger); margin: 6px 0 0; font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.field__error::before { content: "!"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: var(--surface); font-size: 0.75rem; font-weight: 700; margin-top: 2px; }
.control { display: flex; align-items: stretch; }
.input, .select, .unit-select { font: inherit; color: var(--heading); background: var(--surface); border: 1px solid var(--border-strong); min-height: 46px; border-radius: var(--radius-sm); }
.input { flex: 1; min-width: 0; padding: 10px 12px; font-family: var(--font-mono); font-size: 1.02rem; }
.input::placeholder { color: var(--muted); font-family: var(--font-sans); font-size: 0.9rem; }
.control .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.control .input:last-child { border-radius: var(--radius-sm); }
.unit-select, .unit-fixed { flex: none; margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; background-color: var(--surface-2); padding: 0 32px 0 12px; font-size: 0.95rem; min-width: 84px; }
.unit-fixed { display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 0.92rem; min-width: 0; }
.select { width: 100%; padding: 0 36px 0 12px; }
.select, .unit-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.input:hover, .select:hover, .unit-select:hover { border-color: var(--blue-line); }
.input:focus, .select:focus, .unit-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); position: relative; z-index: 1; }
.input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.form-error { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger); font-size: 0.92rem; font-weight: 500; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); min-width: 140px; }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--on-blue); }
.btn--ghost { background: transparent; }
.btn--lg { min-height: 50px; padding: 0 22px; font-size: 1rem; }
.btn--outline { background: var(--surface); border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue-soft); color: var(--blue-hover); border-color: var(--blue-hover); }
.btn--small { min-height: 38px; padding: 0 12px; font-size: 0.88rem; }
.hero-search .btn--primary { min-width: 0; }

/* 8. RESULTS (styled after a drawing title block) -------------------------- */
.results { padding: 22px; position: relative; border-top: 3px solid var(--blue); }
@media (min-width: 900px) { .results { position: sticky; top: calc(var(--header-h) + 16px); } }
.results__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.results__head .card__title { margin: 0; }
.fav-btn { color: var(--muted); border: 1px solid var(--border); }
.fav-btn:hover { color: var(--blue); border-color: var(--blue-line); }
.fav-btn[aria-pressed="true"] { color: #c98a00; border-color: #e8c46a; background: #fff8e6; }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.titleblock { margin: 12px 0 0; border: 1.5px solid var(--heading); border-radius: 4px; overflow: hidden; }
.tb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border-strong); }
.titleblock > .tb-row:first-child, .titleblock > [hidden] + .tb-row:not([hidden]) { border-top: 0; }
.tb-row dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.tb-row dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.tb-value { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--heading); text-align: right; overflow-wrap: anywhere; }
.tb-unit { font-family: var(--font-mono); color: var(--muted); font-size: 0.95rem; }
.tb-row .unit-select { min-height: 34px; min-width: 76px; margin: 0; border-radius: 6px; font-size: 0.88rem; padding-right: 28px; }
.tb-row--text { grid-template-columns: 1fr; }
.tb-row--text dd { justify-content: flex-start; }
.tb-row--text .tb-value { text-align: left; white-space: pre-line; font-size: 0.95rem; line-height: 1.55; }
.tb-row--primary { grid-template-columns: 1fr; background: var(--blue-soft); padding: 14px 14px 16px; }
.tb-row--primary dd { justify-content: flex-start; flex-wrap: wrap; }
.tb-row--primary .tb-value { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); color: var(--blue); text-align: left; }
.tb-row--primary .tb-unit { font-size: 1.1rem; }
.results__explain { margin: 16px 0 0; color: var(--text); font-size: 0.97rem; }
.results__notes { margin: 12px 0 0; padding: 10px 12px 10px 30px; background: var(--info-soft); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text); }
.results__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.results__disclaimer { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); }
.results__empty { display: flex; gap: 10px; align-items: flex-start; padding: 18px; margin-top: 12px; border: 1.5px dashed var(--border-strong); border-radius: 6px; color: var(--muted); }
.results__empty p { margin: 0; }
.results__empty .icon { margin-top: 2px; }

/* 9. DIAGRAMS -------------------------------------------------------------- */
.calc-figure { margin: 0 0 20px; padding: 12px 12px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.calc-figure figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.dg { width: 100%; height: auto; max-width: 440px; max-height: 230px; margin: 0 auto; overflow: visible; }
.dg text { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: var(--dg-ink); paint-order: stroke; stroke: var(--surface-2); stroke-width: 4px; stroke-linejoin: round; }
.dg .t-dim { fill: var(--dg-dim); }
.dg .t-acc { fill: var(--dg-accent); }
.dg .t-mut { fill: var(--dg-muted); font-weight: 500; font-size: 12px; }
.dg .t-sm { font-size: 11.5px; }
.dg .ln { fill: none; stroke: var(--dg-ink); stroke-width: 1.6; stroke-linejoin: round; }
.dg .fl { fill: var(--dg-fill); stroke: var(--dg-ink); stroke-width: 1.6; stroke-linejoin: round; }
.dg .fl2 { fill: var(--dg-fill-2); stroke: var(--dg-ink); stroke-width: 1.6; stroke-linejoin: round; }
.dg .bgf { fill: var(--surface-2); stroke: var(--dg-ink); stroke-width: 1.6; }
.dg .hid { fill: none; stroke: var(--dg-muted); stroke-width: 1.2; stroke-dasharray: 5 3; }
.dg .cl { fill: none; stroke: var(--dg-muted); stroke-width: 1; stroke-dasharray: 12 3 2 3; }
.dg .dm { fill: none; stroke: var(--dg-dim); stroke-width: 1.2; }
.dg .ext { fill: none; stroke: var(--dg-dim); stroke-width: 0.8; opacity: 0.75; }
.dg .ac { fill: none; stroke: var(--dg-accent); stroke-width: 2.2; stroke-linecap: round; }
.dg .acf { fill: var(--dg-accent); stroke: none; }
.dg .mutf { fill: var(--dg-muted); opacity: 0.35; stroke: none; }
.dg .dimf { fill: var(--dg-dim); stroke: none; }

/* 10. CONTENT -------------------------------------------------------------- */
.content-layout { display: grid; gap: 32px; margin-top: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.prose { max-width: 760px; overflow-wrap: break-word; }
.prose section { margin-bottom: 32px; }
.prose h2 { padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-top: 0; }
.prose h3 { margin-top: 18px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose--page { margin-top: 12px; }
.prose--page h2 { margin-top: 32px; }
.prose .meta { color: var(--muted); font-size: 0.9rem; }
.prose .note { color: var(--muted); font-size: 0.92rem; }
.prose var { font-family: Georgia, "Times New Roman", serif; font-size: 1.05em; color: var(--heading); }
.formula { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; color: var(--heading); background: var(--bg-alt); padding: 14px 18px; border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; overflow-x: auto; }
.refs { font-size: 0.92rem; }
.aside-h { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.content-aside { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .content-aside { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.callout p { margin: 0; }
.callout > .icon { margin-top: 2px; }
.callout h2 { font-size: 1rem; border: 0; padding: 0; margin: 0 0 4px; }
.callout--warn { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--text); }
.callout--warn > .icon { color: var(--warn); }
.callout--info { background: var(--info-soft); border: 1px solid var(--border); color: var(--text); }
.callout--info > .icon { color: var(--blue); }
.prose .callout { margin-bottom: 24px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; margin: 8px 0 24px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); }
.contact-card .icon { width: 32px; height: 32px; color: var(--blue); }
.contact-card p { margin: 0; }
.contact-card a { font-size: 1.15rem; font-weight: 700; word-break: break-all; }

/* 11. CONVERTER ------------------------------------------------------------ */
.converter { padding: 22px; max-width: 760px; }
.converter__tabs { margin-bottom: 18px; max-width: 360px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: 6px; }
.conv-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.conv-table th, .conv-table td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--border); }
.conv-table thead th { border-top: 0; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--surface-2); }
.conv-table tbody th { font-weight: 400; }
.conv-table .num { text-align: right; font-family: var(--font-mono); font-weight: 600; color: var(--heading); }
.conv-sym { font-family: var(--font-mono); font-weight: 600; display: inline-block; min-width: 64px; color: var(--heading); }
.conv-name { color: var(--muted); font-size: 0.88rem; }
.conv-table tr.is-from { background: var(--blue-soft); }

/* 12. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: #b4c4d4; padding: 48px 0 24px; font-size: 0.92rem; border-top: 3px solid var(--blue); }
.site-footer a { color: #dce7f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(3, 1fr); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7fc4e6; margin-bottom: 14px; }
.footer-brand__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #000; flex: none; }
.footer-brand__name { color: #fff; font-weight: 700; font-size: 1.08rem; margin: 0; }
.footer-tagline { margin: 2px 0 0; color: #7fc4e6; font-size: 0.86rem; font-weight: 600; }
.footer-parent { color: #dce7f2; }
.footer-brand__name .brand__mark { width: 30px; height: 30px; color: #fff; }
.footer-brand p { max-width: 340px; }
.footer-email { display: inline-flex; gap: 8px; align-items: center; }
.footer-email .icon { width: 1.1em; height: 1.1em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer-base p { margin: 0; max-width: 720px; }

/* 13. UTILITIES ------------------------------------------------------------ */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; opacity: 0; pointer-events: none; background: var(--navy); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); transition: opacity 0.2s, transform 0.2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.ad-slot { margin: 32px 0; min-height: 100px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) { .header-search input { width: 150px; } }
@media (max-width: 1140px) {
  .nav-toggle, .header-tools .search-jump { display: inline-flex; }
  .header-tools, .site-nav + .header-tools { margin-left: auto; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 12px; background: var(--header-bg); padding: 12px 16px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: flex; }
  .header-inner { position: relative; flex-wrap: nowrap; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: 12px; font-size: 1rem; }
  .site-nav__list a[aria-current] { box-shadow: inset 3px 0 0 var(--blue); border-radius: 0 6px 6px 0; }
  .header-search { margin-left: 0; }
  .header-search input { width: 100%; flex: 1; padding: 12px 4px 12px 16px; }
  html:not(.js) .site-nav { flex-basis: 100%; flex-wrap: wrap; padding-bottom: 12px; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding: 34px 0 40px; }
  .hero--brand { padding: 28px 0 0; }
  .hero__brand { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .brand__sub { display: none; }
  .brand__logo { width: 38px; height: 38px; }
  .brand { gap: 8px; min-width: 0; flex: 1 1 auto; }
  .brand__name { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__text { min-width: 0; overflow: hidden; }
  .header-tools { gap: 0; }
  .header-tools .icon-btn { width: 38px; }
  .hero-search { flex-wrap: wrap; padding: 6px; }
  .hero-search > .icon { margin-left: 10px; }
  .hero-search input { flex-basis: calc(100% - 40px); }
  .hero-search .btn { flex: 1 0 100%; }
  .page-head { gap: 14px; }
  .page-head__icon { width: 48px; height: 48px; border-radius: 12px; }
  .page-head__icon .icon { width: 26px; height: 26px; }
  .calc-form, .results, .converter { padding: 18px 16px; }
  .seg__opt span { white-space: normal; }
  .tb-row { grid-template-columns: 1fr; }
  .tb-row dd { justify-content: flex-start; }
  .tb-value { text-align: left; }
  .calc-actions .btn { flex: 1; }
  .link-list { margin-left: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dg text { font-size: 14px; }
}
@media (max-width: 380px) { .header-tools .search-jump { display: none; } }
@media print {
  .site-header, .site-footer, .results__actions, .calc-actions, .content-aside, .breadcrumbs, .fav-btn, .toast { display: none !important; }
  body { background: #fff; color: #000; }
  .band { background: #fff; }
  .card { box-shadow: none; }
}

/* 11. KNOWLEDGE CENTER ------------------------------------------------------ */
.kb-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--muted); }
.kb-note .icon { flex: none; margin-top: 2px; color: var(--blue); }
.kb-article section[id] { scroll-margin-top: 90px; }
.kb-article #definition > p:first-of-type { padding: 12px 16px; border-left: 3px solid var(--blue); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.kb-safety { padding: 14px 18px; border: 1px solid var(--border); border-left: 4px solid var(--warn, #b7791f); border-radius: var(--radius-sm); background: var(--surface); }
.kb-safety h2 { border-bottom: 0; padding-bottom: 0; }
.kb-toc ol { margin: 0 0 20px; padding-left: 1.2em; font-size: 0.92rem; }
.kb-toc li { margin-bottom: 4px; }
.kb-links .icon, .link-list .icon { width: 1em; height: 1em; margin-right: 6px; vertical-align: -0.12em; color: var(--blue); }
.link-list--cols { columns: 2 260px; column-gap: 28px; }
.kb-principles { padding-left: 1.2em; max-width: 760px; }
.kb-principles li { margin-bottom: 6px; }
.gdt-table td:first-child { width: 56px; }
.gdt-sym { width: 36px; height: 36px; display: block; color: var(--heading); }
.table-scroll { overflow-x: auto; max-width: 100%; margin-bottom: 1em; }
.table-scroll table { min-width: 340px; }
.gdt-table { border-collapse: collapse; width: 100%; }
.gdt-table th, .gdt-table td { padding: 6px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.site-nav__list a { white-space: nowrap; }
