:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #17212b; background: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
header { border-bottom: 1px solid #dce3ea; background: white; }
.bar, .brand, .actions, .file { display: flex; align-items: center; gap: 12px; }
.bar, .file { justify-content: space-between; }
.bar { min-height: 64px; }
.bar nav { display: flex; flex-wrap: wrap; gap: 7px 18px; font-size: .875rem; }
.bar nav a { color: #4f5e6e; text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: #11675a; text-decoration: underline; text-underline-offset: 5px; }
.brand { color: #17212b; font-weight: 750; gap: 8px; text-decoration: none; }
.brand svg { color: #0d776a; flex: none; }
.tag, .intro, dt, small, footer, #status { color: #4f5e6e; }
.tag, small, footer, #status { font-size: .875rem; }
main { padding: 48px 0 44px; }
h1, h2, p, dl, dd { margin: 0; }
h1 { font-size: 2.25rem; line-height: 1.12; }
.intro { margin-top: 12px; overflow-wrap: anywhere; }
section { margin-top: 34px; }
h2 { font-size: 1.125rem; margin-bottom: 14px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: white; border: 1px solid #dce3ea; border-radius: 8px; }
.metrics div { min-width: 0; padding: 20px; }
.metrics div + div { border-inline-start: 1px solid #dce3ea; }
dd { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.actions { margin-top: 14px; flex-wrap: wrap; }
button { min-width: 108px; min-height: 42px; border: 0; border-radius: 6px; padding: 8px 15px; background: #11675a; color: white; font: inherit; font-weight: 650; cursor: pointer; }
button:hover { background: #0b5146; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #1e67ab; outline-offset: 3px; }
.file { border-block: 1px solid #dce3ea; padding: 12px 0; }
.file a { color: #165595; font-weight: 650; }
small { margin-inline-start: 6px; }
footer { border-top: 1px solid #dce3ea; padding: 19px 0; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dce3ea; }
.guide-list li { padding: 14px 0; border-bottom: 1px solid #dce3ea; }
.guide-list a, .doc a { color: #165595; text-underline-offset: 3px; }
.guide-list a { font-weight: 700; }
.guide-list p { color: #4f5e6e; margin-top: 4px; }
.doc-layout { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 36px; }
.contents { display: grid; gap: 8px; align-content: start; padding-inline-end: 14px; border-inline-end: 1px solid #dce3ea; font-size: .875rem; }
.contents a { color: #4f5e6e; text-decoration: none; }
.contents a:hover { color: #165595; text-decoration: underline; }
.doc section { border-top: 1px solid #dce3ea; padding-top: 18px; scroll-margin-top: 20px; }
.doc p + p, .doc li + li { margin-top: 8px; }
.doc ol { padding-left: 1.5em; }
.doc code { font: .88em ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.doc pre { background: #eaf1f1; border: 1px solid #d7e3e3; border-radius: 6px; padding: 12px 14px; white-space: pre-wrap; }
.definitions { margin-block: 12px; }
.definitions div { padding: 8px 0; border-top: 1px solid #dce3ea; }
.definitions dt { font-weight: 700; }
.definitions dd { font-size: .95rem; font-weight: 400; }
.portal { background: #fbfcfb; color: #152722; }
.portal .wrap { width: min(1120px, calc(100% - 48px)); }
.portal .bar { min-height: 70px; }
.portal .bar nav { gap: 8px 25px; }
.portal main { padding: 0; }
.portal-top { margin: 0; padding: 43px 0 34px; border-bottom: 1px solid #dbe6e0; background: #edf5f1; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #285b4b; font: 650 .77rem/1.5 ui-monospace, Consolas, monospace; }
.eyebrow span { width: 8px; height: 8px; background: #3c8a70; border-radius: 2px; }
.portal h1 { margin-top: 12px; font-size: 2.7rem; line-height: 1.18; }
.portal-intro { margin-top: 10px; color: #476157; }
.portal-search { display: flex; align-items: center; gap: 10px; min-height: 46px; width: min(100%, 420px); margin-top: 24px; padding: 0 13px; background: white; border: 1px solid #bfcfc8; border-radius: 7px; color: #416354; }
.portal-search:focus-within { outline: 2px solid #25866e; outline-offset: 2px; }
.portal-search svg { flex: none; }
.portal-search input { min-width: 0; width: 100%; min-height: 44px; border: 0; color: #152722; background: none; font: inherit; font-size: .91rem; outline: none; }
.portal-search input:focus-visible { outline: none; }
.portal [hidden] { display: none; }
.portal-content { padding-bottom: 29px; }
.portal-content section { margin-top: 30px; min-width: 0; }
.portal-content h2 { margin-bottom: 12px; font-size: 1.22rem; }
.section-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
.section-line a, .portal-footer a { color: #285b4b; font-size: .875rem; text-underline-offset: 3px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.guide { display: grid; grid-template-rows: auto auto auto 1fr auto; height: 100%; min-height: 205px; padding: 17px 18px; border: 1px solid #d9e4df; border-radius: 8px; background: white; color: inherit; text-decoration: none; }
.guide:hover, .tool-entry:hover { border-color: #70a593; background: #f8fcfa; }
.guide-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 6px; }
.guide-icon svg, .command button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.guide-icon-teal { background: #e4f3eb; color: #266d54; }
.guide-icon-blue { background: #e8f0fb; color: #2d5c90; }
.guide-icon-gold { background: #f8f0db; color: #755819; }
.guide-category { margin-top: 10px; color: #50615a; font-size: .75rem; font-weight: 650; }
.guide h3 { margin: 2px 0 3px; font-size: 1.06rem; }
.guide p { color: #50615a; font-size: .875rem; }
.guide-link { margin-top: 11px; color: #17644f; font-size: .81rem; font-weight: 700; }
.search-result { margin-bottom: 10px; color: #50615a; font-size: .875rem; }
.portal-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool-entry { display: flex; align-items: center; gap: 12px; min-height: 83px; padding: 14px; text-decoration: none; color: inherit; border: 1px solid #d9e4df; border-radius: 8px; background: white; }
.tool-entry strong, .tool-entry small { display: block; }
.tool-entry small { margin: 2px 0 0; }
.tool-arrow { margin-inline-start: auto; font-size: 1.12rem; color: #17644f; }
.command { min-height: 83px; border-radius: 8px; padding: 8px 14px 12px; background: #172923; color: #f4faf7; }
.command-head { display: flex; align-items: center; justify-content: space-between; min-height: 33px; color: #c9ded5; font-size: .78rem; }
.command code { font: .85rem/1.5 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.command button { display: grid; place-items: center; min-width: 30px; min-height: 30px; padding: 0; background: transparent; color: #e8f5ef; }
.command button:hover { background: #2a4438; }
.copy-result { min-height: 1.1rem; margin-top: 2px; color: #17644f; font-size: .75rem; }
.portal-footer { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: space-between; }
.portal-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) {
  main { padding-top: 32px; }
  h1 { font-size: 1.8rem; }
  .bar { flex-wrap: wrap; padding-block: 10px; }
  .doc-layout { grid-template-columns: 1fr; gap: 20px; }
  .contents { grid-template-columns: repeat(2, minmax(0, 1fr)); border-inline-end: 0; border-bottom: 1px solid #dce3ea; padding: 0 0 12px; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div { padding: 12px 14px; }
  .metrics div + div { border-inline-start: 0; border-top: 1px solid #dce3ea; }
  .portal .wrap { width: calc(100% - 32px); }
  .portal .bar { min-height: 60px; gap: 6px 12px; }
  .portal .bar nav { gap: 8px 14px; }
  .portal-top { padding-block: 27px; }
  .portal h1 { font-size: 2rem; }
  .guide-grid, .portal-lower { grid-template-columns: minmax(0, 1fr); }
  .guide { min-height: 0; }
  .portal-lower { gap: 0; }
}
