/* ==========================================================================
   Flykantech DataHub — Tittron 设计体系
   品牌色：深空蓝 #0b5fff · 点缀青 #06b6d4 · 深蓝外壳 #0b1b2f
   字体：自托管 Lato（SIL OFL 1.1），无外部依赖
   ========================================================================== */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-ext-v24-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-v24-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-ext-v24-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-v24-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #0b5fff;
  --brand-strong: #0a3fb8;
  --brand-soft: #eaf1ff;
  --brand-line: #bfd4ff;
  --accent: #06b6d4;
  --accent-strong: #0891b2;
  --accent-soft: #e6fbff;

  --ink: #0f172a;
  --body: #334155;
  --muted: #475569;
  --line: #e4e9f2;
  --surface: #f5f8fd;
  --white: #ffffff;

  --shell: #0b1b2f;
  --shell-soft: #12263f;
  --shell-line: rgba(255, 255, 255, .12);
  --shell-text: #c7d5e8;
  --shell-head: #ffffff;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 6px 18px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 26px rgba(15, 23, 42, .10);
  --shadow-lg: 0 18px 44px rgba(15, 23, 42, .14);

  --wrap: 1240px;
  --header-h: 64px;
  --measure: 68ch;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; }
::focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--shell);
  border-bottom: 1px solid var(--shell-line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand {
  display: inline-flex; align-items: baseline; gap: 10px; flex: none;
  color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .01em;
  white-space: nowrap;
}
.brand small {
  font-family: inherit; font-size: 10px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.brand em { font-style: normal; color: var(--accent); }
.brand:hover { text-decoration: none; color: #fff; }

.main-nav { margin-left: auto; display: flex; gap: 6px; }
.main-nav a {
  display: inline-flex; align-items: center;
  color: var(--shell-text); font-weight: 500; font-size: 1rem;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.main-nav a:hover { color: #fff; text-decoration: none; background: var(--shell-soft); }
.header-cta {
  border-radius: var(--radius-sm); padding: 9px 18px;
  background: var(--brand); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.header-cta:hover { background: var(--brand-strong); box-shadow: var(--shadow-md); text-decoration: none; color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--brand-soft), #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid--solo { grid-template-columns: 1fr; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand-strong); }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; margin-bottom: 28px; }

.hero-search { max-width: 520px; }
.hero-search .field {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px 8px 6px 12px; box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.hero-search .field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hero-search svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.hero-search input {
  flex: 1; border: 0; outline: 0; padding: 8px 4px; min-width: 0;
  font: inherit; font-size: .98rem; color: var(--ink); background: transparent;
}
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button {
  border: 0; background: var(--brand); color: #fff; font: inherit;
  font-size: .9rem; font-weight: 600; padding: 9px 20px;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s var(--ease);
}
.hero-search button:hover { background: var(--brand-strong); }

.quick-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px;
  font-size: .88rem; color: var(--muted); align-items: center;
}
.quick-tags button {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  color: var(--body); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.quick-tags button:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-strong); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-plate {
  margin: 0; position: relative; background: #fff; padding: 16px;
  width: min(330px, 88%); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.hero-plate img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.hero-plate figcaption {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.hero-plate figcaption strong { color: var(--brand-strong); font-weight: 700; }

.hero-strip {
  background: var(--brand-soft); border-top: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line);
}
.hero-strip ul {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 20px; padding: 16px 0;
}
.hero-strip li { display: flex; align-items: center; gap: 10px; }
.hero-strip li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero-strip li { font-size: .92rem; font-weight: 600; color: var(--ink); }

/* ---------- section head / filters ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 22px; margin-bottom: 30px;
}
.section-head .label { display: flex; align-items: baseline; gap: 14px; }
.section-head .num {
  font-size: .82rem; font-weight: 700; color: var(--brand-strong);
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  border-radius: 999px; padding: 2px 10px;
}
.section-head h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.section-head .count { font-size: .9rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  color: var(--body); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.filters button:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-strong); }
.filters button.active {
  background: var(--brand-strong); border-color: var(--brand-strong); color: #fff;
}

/* ---------- document rows ---------- */
.doc-list { list-style: none; display: grid; gap: 14px; }
.doc-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.doc-row:hover {
  border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.doc-index {
  font-size: .95rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); padding-left: 4px; align-self: start; padding-top: 2px;
}
.doc-row:hover .doc-index { color: var(--brand-strong); }
.doc-main { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.doc-thumb {
  flex: 0 0 auto; width: 86px; height: 86px; object-fit: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px;
}
.doc-body { min-width: 0; }
.doc-cat {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px;
}
.doc-title {
  font-size: 1.3rem; line-height: 1.25; color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 4px;
}
.doc-title .model {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px;
  white-space: nowrap;
}
.doc-desc { color: var(--muted); font-size: .95rem; max-width: 62ch; }
.doc-meta {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 12px;
}
.doc-meta li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.doc-actions { display: flex; flex-direction: column; gap: 8px; min-width: 170px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; line-height: 1.25; cursor: pointer;
  padding: 10px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-strong); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--body); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--brand-line); }

.empty-tip { padding: 44px 0 8px; color: var(--muted); }
.empty-tip strong { color: var(--ink); }

/* ---------- support band ---------- */
.support-band { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); }
.support-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; padding: 56px 0;
}
.support-grid h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 10px 0 14px; }
.support-grid h2 em { font-style: normal; color: var(--brand-strong); }
.support-grid p { color: var(--muted); font-size: .95rem; }
.support-item {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.support-item h3 {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-strong); margin-bottom: 10px;
}
.support-item p { margin-bottom: 10px; }
.support-item a { font-weight: 600; }
.support-item a:hover { color: var(--brand); }
.support-note { font-size: .8rem !important; color: #94a3b8 !important; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 54px; padding: 64px 0 72px; }
.faq-aside h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 12px 0; }
.faq-aside p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
.faq-aside .rule { width: 46px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
  list-style: none; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; line-height: 1; color: var(--brand);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; margin: 0; max-width: 62ch; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--shell); border-top: 1px solid var(--shell-line);
  color: var(--shell-text);
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; padding: 22px 0;
}
.footer-inner .brand { font-size: 20px; }
.footer-note { font-size: .85rem; color: var(--shell-text); }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { color: var(--shell-text); font-size: .92rem; }
.footer-inner nav a:hover { color: #fff; text-decoration: none; }

/* ==========================================================================
   Manual viewer
   ========================================================================== */
body.viewer { background: var(--surface); }

.viewer-top { background: var(--shell); border-bottom: 1px solid var(--shell-line); }
.viewer-top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 62px; padding: 10px 0;
}
.viewer-top .brand { font-size: 20px; }
.viewer-top .back {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--shell-text); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--shell-line); border-radius: var(--radius-sm);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.viewer-top .back:hover { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.viewer-top .crumb {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.viewer-top .crumb b { color: #fff; font-weight: 700; }

.viewer-shell {
  display: grid; grid-template-columns: 318px minmax(0, 1fr); gap: 0;
  min-height: calc(100vh - 63px);
}
.viewer-side {
  background: var(--shell);
  border-right: 1px solid var(--shell-line);
  color: var(--shell-text);
  padding: 30px 26px 36px;
  display: flex; flex-direction: column; gap: 22px;
}
.side-eyebrow {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.side-model { font-size: 2rem; line-height: 1.1; color: var(--shell-head); }
.side-name { font-size: .95rem; color: var(--shell-text); margin-top: -12px; }
.side-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--shell-line); color: var(--shell-text);
  border-radius: 999px; padding: 3px 10px;
}
.chip--brand { border-color: rgba(11, 95, 255, .6); background: rgba(11, 95, 255, .18); color: #fff; }
.side-block { border-top: 1px solid var(--shell-line); padding-top: 18px; }
.side-label {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: rgba(255, 255, 255, .55); margin-bottom: 10px;
}
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  font: inherit; font-size: .88rem; font-weight: 600;
  color: var(--shell-text); background: transparent;
  border: 0; border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 12px; cursor: pointer;
  transition: all .18s var(--ease);
}
.tab-btn::after { content: "→"; color: rgba(255, 255, 255, .35); }
.tab-btn:hover { background: var(--shell-soft); color: #fff; }
.tab-btn.active { background: var(--shell-soft); border-left-color: var(--brand); color: #fff; }
.tab-btn.active::after { color: var(--accent); }
.tab-btn[hidden] { display: none; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "▾"; position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); color: var(--accent); pointer-events: none; font-size: 12px;
}
.select-wrap select {
  width: 100%; appearance: none; font: inherit; font-size: .9rem;
  color: var(--shell-head); background: var(--shell-soft);
  border: 1px solid var(--shell-line); border-radius: var(--radius-sm);
  padding: 10px 34px 10px 12px; cursor: pointer; outline: none;
}
.select-wrap select:focus { border-color: var(--brand); }
.lang-note { font-size: .8rem; color: rgba(255, 255, 255, .5); margin-top: 8px; }

.doc-links { display: flex; flex-direction: column; gap: 8px; }
.doc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .88rem; color: var(--shell-text);
  border: 1px solid var(--shell-line); border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.doc-link span:last-child { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.doc-link:hover { color: #fff; border-color: var(--brand); background: var(--shell-soft); text-decoration: none; }
.doc-link:hover span:last-child { color: var(--accent); }
.side-help {
  margin-top: auto;
  background: var(--shell-soft); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 14px 16px;
  font-size: .82rem; color: var(--shell-text); line-height: 1.6;
}
.side-help strong {
  display: block; color: var(--shell-head); font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px;
}
.side-help a { color: var(--accent); }

.viewer-main { display: flex; flex-direction: column; min-width: 0; padding: 18px 22px 26px; }
.viewer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 2px 12px;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.viewer-bar .live {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); font-weight: 700;
}
.viewer-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pane {
  flex: 1; min-height: 620px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; overflow: hidden;
}
.pane iframe { width: 100%; height: 100%; min-height: 620px; border: 0; display: block; }
.pane--pdf { display: none; }
.pdf-fallback { font-size: .85rem; color: var(--muted); padding-top: 10px; text-align: center; }
.pdf-fallback a { color: var(--brand-strong); }
.pdf-fallback[hidden] { display: none; }

/* ---------- 文档下载表 ---------- */
.pane--table { display: block; padding: 10px 22px 18px; min-height: 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc-table th, .doc-table td {
  text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line);
  vertical-align: middle; line-height: 1.5;
}
.doc-table thead th {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-strong); border-bottom: 2px solid var(--brand-line); white-space: nowrap;
}
.doc-table tbody tr:hover { background: var(--surface); }
.doc-table td.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: .82rem; color: var(--ink); word-break: break-all;
}
.doc-table td.muted { color: var(--muted); white-space: nowrap; }
.doc-table td:last-child { text-align: right; }
.doc-actions-cell { white-space: nowrap; }
.doc-actions-cell .btn + .btn { margin-left: 8px; }
.doc-kind {
  display: block; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.doc-blurb {
  color: var(--muted); font-size: .92rem; max-width: 46ch;
}
.empty-files { padding: 32px 10px; color: var(--muted); }
.empty-files strong { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 0; }
  .hero-visual { display: none; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-grid > div:first-child { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .viewer-shell { grid-template-columns: 268px minmax(0, 1fr); }
  .viewer-side { padding: 24px 20px 28px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 58px; }
  .brand { font-size: 20px; }
  .brand small { display: none; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: .9rem; }
  .header-cta { display: none; }
  .section { padding: 48px 0 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .doc-row { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .doc-index { display: none; }
  .doc-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .doc-actions .btn { flex: 1; }
  .doc-title { font-size: 1.15rem; }
  .hero { padding: 48px 0 40px; }
  .hero-strip ul { gap: 10px; font-size: .85rem; }
  .support-grid { grid-template-columns: 1fr; padding: 36px 0; }
  .faq-grid { padding: 36px 0 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .viewer-top .crumb { display: none; }
  .viewer-shell { grid-template-columns: 1fr; min-height: 0; }
  .viewer-main { padding: 12px 12px 20px; }
  .pane--table { padding: 6px 14px 14px; overflow-x: auto; }
  .doc-table th, .doc-table td { padding: 12px 10px; }
  .doc-table td:last-child { text-align: left; }
}
