/* Fleet How-To Guides (1240): index cards and a calm, readable guide page. */
.fhg-page{--fhg-surface:#fff;--fhg-soft:#f6f8fa;--fhg-line:var(--line,#dde5eb);--fhg-ink:var(--ink,#111820);--fhg-muted:var(--muted,#6f7d8a);--fhg-accent:#1f5f8b;max-width:1180px;color:var(--fhg-ink)}
html[data-theme="dark"] .fhg-page{--fhg-surface:#13212c;--fhg-soft:#101c26;--fhg-line:#2a3a46;--fhg-ink:#e8eef2;--fhg-muted:#9fb0bd;--fhg-accent:#8cc4ea}
.fhg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fhg-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.fhg-search{flex:0 1 420px}
.fhg-search input{width:100%;height:42px;border:1px solid var(--fhg-line);border-radius:10px;background:var(--fhg-surface);color:var(--fhg-ink);padding:0 14px;font-size:14px}
.fhg-search input:focus{outline:2px solid rgba(31,95,139,.35);outline-offset:1px}
.fhg-count{color:var(--fhg-muted);font-size:12px}
.fhg-cat{margin:0 0 22px}
.fhg-cat-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--fhg-muted);margin:0 0 10px;font-weight:800}
.fhg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.fhg-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;background:var(--fhg-surface);border:1px solid var(--fhg-line);border-radius:12px;padding:16px 18px;cursor:pointer;color:var(--fhg-ink);font:inherit;min-height:150px;transition:border-color .15s ease,box-shadow .15s ease}
.fhg-card:hover,.fhg-card:focus-visible{border-color:#9db3c4;box-shadow:0 6px 18px rgba(15,23,32,.07)}
.fhg-card-title{font-size:16px;font-weight:800;line-height:1.3}
.fhg-card-summary{font-size:13px;line-height:1.5;color:var(--fhg-muted)}
.fhg-card-meta{font-size:11.5px;color:var(--fhg-muted)}
.fhg-card-go{margin-top:auto;font-size:12.5px;font-weight:700;color:var(--fhg-accent)}
.fhg-badge{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:#fff4e0;color:#7a4b00;border:1px solid #f1d9a8}
html[data-theme="dark"] .fhg-badge{background:#2d2414;color:#f3cf8a;border-color:#5a4520}
.fhg-empty{padding:36px;text-align:center;color:var(--fhg-muted);background:var(--fhg-surface);border:1px solid var(--fhg-line);border-radius:12px}
.fhg-error{color:#a31525}
html[data-theme="dark"] .fhg-error{color:#ff9aa5}
.fhg-crumbs{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--fhg-muted);font-size:13px}
.fhg-back{border:0;background:none;color:var(--fhg-accent);font:inherit;font-weight:700;padding:6px 0;cursor:pointer}
.fhg-back:hover{text-decoration:underline}
.fhg-reader-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:start}
.fhg-article{background:var(--fhg-surface);border:1px solid var(--fhg-line);border-radius:14px;padding:28px 34px 34px;min-width:0}
.fhg-article-head{border-bottom:1px solid var(--fhg-line);padding-bottom:16px;margin-bottom:8px}
.fhg-title{font-size:26px;line-height:1.25;letter-spacing:-.02em;margin:0 0 6px}
.fhg-meta{margin:0 0 8px;color:var(--fhg-muted);font-size:13px}
.fhg-toc{position:sticky;top:84px;font-size:13px;border-left:2px solid var(--fhg-line);padding:2px 0 2px 14px}
.fhg-toc>p{margin:0 0 8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--fhg-muted);font-weight:800}
.fhg-toc ol,.fhg-toc-mobile ol{list-style:none;margin:0;padding:0}
.fhg-toc li,.fhg-toc-mobile li{margin:0 0 7px;line-height:1.35}
.fhg-toc a,.fhg-toc-mobile a{color:var(--fhg-muted);text-decoration:none}
.fhg-toc a:hover,.fhg-toc-mobile a:hover{color:var(--fhg-accent)}
.fhg-toc-mobile{display:none;margin:12px 0 4px;border:1px solid var(--fhg-line);border-radius:10px;background:var(--fhg-soft);padding:0 14px}
.fhg-toc-mobile summary{cursor:pointer;padding:12px 0;font-weight:700;font-size:14px}
.fhg-toc-mobile[open] ol{padding-bottom:10px}
.fhg-md{font-size:15px;line-height:1.65;max-width:760px}
.fhg-md h2{font-size:20px;line-height:1.3;margin:30px 0 10px;letter-spacing:-.01em;scroll-margin-top:84px}
.fhg-md h3{font-size:16px;margin:22px 0 8px;scroll-margin-top:84px}
.fhg-md h4{font-size:14px;margin:18px 0 6px}
.fhg-md p{margin:0 0 12px}
.fhg-md ul,.fhg-md ol{margin:0 0 14px;padding-left:24px}
.fhg-md li{margin:0 0 7px}
.fhg-md ol>li::marker{font-weight:700;color:var(--fhg-muted)}
.fhg-md a{color:var(--fhg-accent)}
.fhg-md code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;background:var(--fhg-soft);border:1px solid var(--fhg-line);border-radius:5px;padding:1px 5px;overflow-wrap:anywhere}
.fhg-md pre{background:var(--fhg-soft);border:1px solid var(--fhg-line);border-radius:10px;padding:12px 14px;overflow:auto;font-size:13px}
.fhg-md pre code{border:0;padding:0;background:none}
.fhg-md hr{border:0;border-top:1px solid var(--fhg-line);margin:24px 0}
.fhg-md blockquote{margin:0 0 14px;padding:4px 14px;border-left:3px solid var(--fhg-line);color:var(--fhg-muted)}
.fhg-callout{margin:16px 0;padding:12px 16px 4px;border-radius:10px;border:1px solid #cfe0ee;background:#f2f8fc}
.fhg-callout-title{margin:0 0 4px!important;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#1f5f8b}
.fhg-callout-warning,.fhg-callout-caution{border-color:#f1d9a8;background:#fffaf0}
.fhg-callout-warning .fhg-callout-title,.fhg-callout-caution .fhg-callout-title{color:#7a4b00}
.fhg-callout-important{border-color:#e9c6cc;background:#fdf5f6}
.fhg-callout-important .fhg-callout-title{color:#9b1c2e}
.fhg-callout-tip{border-color:#c6e6d3;background:#f3fbf6}
.fhg-callout-tip .fhg-callout-title{color:#18663a}
html[data-theme="dark"] .fhg-callout{border-color:#2c4a60;background:#122636}
html[data-theme="dark"] .fhg-callout-title{color:#8cc4ea}
html[data-theme="dark"] .fhg-callout-warning,html[data-theme="dark"] .fhg-callout-caution{border-color:#5a4520;background:#241d10}
html[data-theme="dark"] .fhg-callout-warning .fhg-callout-title,html[data-theme="dark"] .fhg-callout-caution .fhg-callout-title{color:#f3cf8a}
html[data-theme="dark"] .fhg-callout-important{border-color:#5c2a33;background:#26151a}
html[data-theme="dark"] .fhg-callout-important .fhg-callout-title{color:#ff9aa5}
html[data-theme="dark"] .fhg-callout-tip{border-color:#24503a;background:#112319}
html[data-theme="dark"] .fhg-callout-tip .fhg-callout-title{color:#8fd8ac}
.fhg-table-wrap{overflow-x:auto;margin:0 0 16px;border:1px solid var(--fhg-line);border-radius:10px}
.fhg-md table{width:100%;border-collapse:collapse;font-size:13.5px;line-height:1.45}
.fhg-md th{text-align:left;font-size:11.5px;font-weight:800;color:var(--fhg-muted);background:var(--fhg-soft);padding:9px 12px;border-bottom:1px solid var(--fhg-line)}
.fhg-md td{padding:9px 12px;border-bottom:1px solid var(--fhg-line);vertical-align:top}
.fhg-md tbody tr:last-child td{border-bottom:0}
/* Calmer than the global 1144 dark-table hardening inside guides. */
html[data-theme="dark"] .content .fhg-md table tbody tr>td{background:transparent!important;color:var(--fhg-ink)!important;border-color:var(--fhg-line)!important}
html[data-theme="dark"] .content .fhg-md table tbody tr:hover>td{background:#172836!important}
html[data-theme="dark"] .fhg-md th{background:#0f1a23}
html .side .nav.fleet-nav-v1072 .fleet-help-nav-group .fleet-nav-sub button[data-help-page].fhg-active{background:linear-gradient(135deg,#ed1b2f,#ff3348)!important;color:#fff!important;box-shadow:0 5px 12px rgba(237,27,47,.14)!important;font-weight:720}
html .side .nav.fleet-nav-v1072 .fleet-help-nav-group .fleet-nav-sub button[data-help-page].fhg-active .ico,html .side .nav.fleet-nav-v1072 .fleet-help-nav-group .fleet-nav-sub button[data-help-page].fhg-active svg{color:#fff!important;stroke:currentColor}
.side .fleet-help-nav-group [data-help-page] .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1100px){.fhg-reader-grid{grid-template-columns:minmax(0,1fr)}.fhg-toc{display:none}.fhg-toc-mobile{display:block}}
@media (max-width:720px){
  .fhg-toolbar{flex-direction:column;align-items:stretch;gap:6px}
  .fhg-search{flex:1 1 auto}
  .fhg-search input{font-size:16px;height:44px}
  .fhg-cards{grid-template-columns:1fr}
  .fhg-card{min-height:0;padding:14px 16px}
  .fhg-article{padding:18px 16px 22px;border-radius:12px}
  .fhg-title{font-size:21px}
  .fhg-md{font-size:15px}
  .fhg-md h2{font-size:18px;margin-top:26px}
  /* Stack table rows into labelled cards so nothing scrolls sideways on a phone. */
  .fhg-table-wrap{border:0;overflow:visible}
  .fhg-md table,.fhg-md tbody,.fhg-md tr,.fhg-md td{display:block;width:100%}
  .fhg-md thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .fhg-md tr{border:1px solid var(--fhg-line);border-radius:10px;margin:0 0 8px;padding:6px 0;background:var(--fhg-surface)}
  .fhg-md td{border:0;padding:4px 12px;display:grid;grid-template-columns:minmax(92px,38%) 1fr;gap:10px}
  .fhg-md td::before{content:attr(data-label);font-size:11.5px;font-weight:700;color:var(--fhg-muted)}
  .fhg-md td:empty{display:none}
  .fhg-print{display:none}
}
@media print{
  .side,.top,.headline,.fhg-crumbs,.fhg-toc,.fhg-toc-mobile{display:none!important}
  .layout{display:block!important}
  .fhg-article{border:0;padding:0}
  .fhg-reader-grid{display:block}
}

/* fleet-access hides nav groups with no [data-nav] items. Keep the Help group visible via CSS instead of fighting over the hidden attribute (which would loop with its observer). */
html .side .fleet-nav-group.fleet-help-nav-group[hidden]:has([data-help-page]){display:block!important}

/* Lightweight help access in the existing signed-in Fleet top bar. */
.fhg-global-help{flex:0 0 auto;min-height:34px;padding:6px 11px;border-radius:8px;white-space:nowrap}
.fhg-global-help:focus-visible{outline:2px solid var(--accent,#2f81f7);outline-offset:2px}
@media(max-width:600px){.fhg-global-help{font-size:12px;padding:6px 8px}}
