*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal-50: #E1F5EE; --teal-100: #9FE1CB; --teal-400: #1D9E75;
  --teal-600: #0F6E56; --teal-800: #085041; --teal-900: #04342C;
  --gray-50: #F1EFE8; --gray-100: #D3D1C7; --gray-400: #888780;
  --gray-600: #5F5E5A; --gray-800: #444441; --gray-900: #2C2C2A;
  --amber-50: #FAEEDA; --amber-100: #FAC775; --amber-800: #633806;
  --red-50: #FCEBEB; --red-800: #791F1F;
  --blue-50: #E6F1FB; --blue-800: #0C447C;
  --purple-50: #EEEDFE; --purple-800: #3C3489;
  --green-50: #EAF3DE; --green-800: #27500A;
  --radius-md: 8px; --radius-lg: 12px;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; border-bottom: 1px solid #e5e5e5; background: #fff; position: sticky; top: 0; z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* .logo-dot deprecated — see inline SVG logo */
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: #555; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-600); font-weight: 500; }
.nav-cta { background: var(--teal-600); color: var(--teal-50); border: none; border-radius: var(--radius-md); padding: 9px 18px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; }
.page { display: grid; grid-template-columns: 220px 1fr 280px; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 40px 24px; align-items: start; }
.sidebar-nav { position: sticky; top: 72px; }
.sidebar-nav .snav-section { margin-bottom: 24px; }
.sidebar-nav .snav-label { font-size: 10px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.sidebar-nav a { display: block; font-size: 13px; color: #555; text-decoration: none; padding: 4px 0; border-left: 2px solid transparent; padding-left: 10px; }
.sidebar-nav a:hover { color: var(--teal-600); }
.sidebar-nav a.active { color: var(--teal-600); border-left-color: var(--teal-400); font-weight: 500; }
article { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 600; color: var(--teal-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
article h1 { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.byline { font-size: 12px; color: #888; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #eee; display: flex; gap: 20px; flex-wrap: wrap; }
.toc-box { background: var(--gray-50); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 24px; }
.toc-box .toc-title { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.toc-box a { display: block; font-size: 13px; color: var(--teal-600); padding: 2px 0; text-decoration: none; }
.toc-box a:hover { text-decoration: underline; }
.prose p { font-size: 15px; line-height: 1.75; color: #333; margin-bottom: 16px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; padding-top: 10px; border-top: 1px solid #eee; }
.prose h3 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; }
.callout { background: var(--teal-50); border-radius: var(--radius-md); padding: 14px 18px; margin: 18px 0; font-size: 13px; color: var(--teal-800); line-height: 1.6; }
.callout strong { color: var(--teal-900); }
.warn { background: var(--amber-50); border-radius: var(--radius-md); padding: 14px 18px; margin: 18px 0; font-size: 13px; color: var(--amber-800); line-height: 1.6; }
.danger { background: var(--red-50); border-radius: var(--radius-md); padding: 14px 18px; margin: 18px 0; font-size: 13px; color: var(--red-800); line-height: 1.6; }
.table-wrap { overflow-x: auto; margin: 14px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: 9px 12px; background: var(--gray-50); font-weight: 600; border-bottom: 1px solid #ddd; }
td { padding: 9px 12px; border-bottom: 1px solid #eee; vertical-align: top; line-height: 1.5; color: #444; }
tr:last-child td { border-bottom: none; }
.good { color: var(--teal-600); font-weight: 600; }
.bad { color: #c0392b; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 10px; margin: 14px 0 22px; }
.sc { background: var(--gray-50); border-radius: var(--radius-md); padding: 12px 14px; }
.sc .sl { font-size: 10px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.sc .sv { font-size: 15px; font-weight: 700; }
.sc .sd { font-size: 11px; color: #777; margin-top: 3px; }
.cta-block { background: var(--teal-800); border-radius: var(--radius-lg); padding: 22px 26px; margin: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-block h3 { font-size: 15px; font-weight: 600; color: var(--teal-50); margin-bottom: 4px; }
.cta-block p { font-size: 12px; color: var(--teal-100); }
.cta-block .cta-btn { background: var(--teal-100); color: var(--teal-900); border: none; border-radius: var(--radius-md); padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.right-sidebar { position: sticky; top: 72px; }
.sidebar-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.sidebar-card p { font-size: 12px; color: #666; line-height: 1.5; margin-bottom: 10px; }
.sidebar-card .tool-link { display: block; font-size: 13px; color: var(--teal-600); text-decoration: none; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-card .tool-link:last-of-type { border-bottom: none; }
.cta-sidebar { background: var(--teal-600); border-radius: var(--radius-lg); padding: 20px; }
.cta-sidebar h4 { font-size: 15px; font-weight: 700; color: var(--teal-50); margin-bottom: 6px; }
.cta-sidebar p { font-size: 12px; color: var(--teal-100); margin-bottom: 14px; line-height: 1.5; }
.related { max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; }
.related h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; border-top: 1px solid #eee; padding-top: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; }
.related-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius-lg); padding: 16px; }
.related-card .tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }
.tag-buy { background: var(--blue-50); color: var(--blue-800); }
.tag-eff { background: var(--purple-50); color: var(--purple-800); }
.tag-inst { background: var(--amber-50); color: var(--amber-800); }
.tag-maint { background: var(--green-50); color: var(--green-800); }
.related-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.related-card p { font-size: 12px; color: #777; line-height: 1.5; }
.related-card a { display: block; margin-top: 10px; font-size: 12px; color: var(--teal-600); font-weight: 500; text-decoration: none; }
footer { background: var(--gray-900); color: var(--gray-100); padding: 28px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; }
footer .fl { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
footer .fl .logo-dot { background: var(--teal-400); }
footer a { color: var(--gray-100); text-decoration: none; }
@media (max-width: 900px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .page { grid-template-columns: 1fr; }
  .sidebar-nav, .right-sidebar { display: none; }
}

/* ── Disclaimer footer line ── */
.footer-disclaimer { width: 100%; font-size: 11px; color: #888; border-top: 0.5px solid #444; padding-top: 12px; margin-top: 4px; line-height: 1.5; font-style: italic; }
/* ── Print header (shown only when printing) ── */
.print-header { display: none; align-items: center; gap: 12px; padding: 0 0 16pt; border-bottom: 1.5pt solid #085041; margin-bottom: 20pt; width: 100%; }
.print-header-wordmark { font-size: 16pt; font-weight: 700; color: #085041; letter-spacing: -0.3px; }
.print-header-ai { font-weight: 300; color: #888; }
.print-header-tagline { font-size: 9pt; color: #888; margin-left: auto; }
/* ── Print footer (shown only when printing) ── */
.print-footer { display: none; flex-direction: column; gap: 6pt; padding: 12pt 0 0; border-top: 0.5pt solid #ccc; margin-top: 24pt; font-size: 9pt; color: #666; width: 100%; }
.print-footer-disclaimer { font-style: italic; color: #888; font-size: 8.5pt; line-height: 1.4; }
/* ── Print media for shared elements ── */
@media print {
  nav, .sidebar-nav, .right-sidebar, .cta-sidebar { display: none !important; }
  .print-header { display: flex !important; }
  .print-footer { display: flex !important; }
  footer { display: none !important; }
}
