/* Guide library */
.hb {
  --hb-rule:#dce4ef;
  --hb-secondary:#4a596f;
  --hb-faint:#edf2f8;
  --hb-accent:#3156a4;
  --hb-wash:#e8effb;
  color:var(--ink);
  overflow-wrap:break-word;
}
.hb [data-tone="client"], .hb[data-tone="client"] { --hb-accent:#355aa9; --hb-wash:#e7edfc; }
.hb [data-tone="platforms"], .hb[data-tone="platforms"] { --hb-accent:#40632d; --hb-wash:#ecf2e6; }
.hb [data-tone="storage"], .hb[data-tone="storage"] { --hb-accent:#7c5327; --hb-wash:#f8eedd; }
.hb [data-tone="monitor"], .hb[data-tone="monitor"] { --hb-accent:#166655; --hb-wash:#e2f2eb; }
.hb .wrap { max-width:76rem; }
.hb-band {
  background:linear-gradient(112deg,#eef3fb,#f9fbfd 78%);
  border-block-end:1px solid var(--hb-rule);
}
.hb-library-head {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(17rem,.86fr);
  gap:clamp(2rem,7vw,7.5rem);
  align-items:center;
  padding-block:clamp(2.6rem,6.1vw,5.1rem);
}
.hb-library-head h1, .hb-article-head h1 {
  font-weight:650;
  letter-spacing:-.055em;
  line-height:1.04;
}
.hb-library-head h1 { font-size:clamp(2.65rem,5.9vw,4.7rem); }
.hb-library-head > div > p, .hb-article-head > p {
  margin-block-start:1rem;
  color:var(--hb-secondary);
  font-size:clamp(1.05rem,1.45vw,1.2rem);
  line-height:1.55;
}
.hb-library-head > div > p { max-width:49ch; }
.hb-search {
  position:relative;
  min-width:0;
  max-width:30rem;
  width:100%;
  justify-self:end;
}
.hb-search label { display:block; margin-bottom:.45rem; color:#334359; font-weight:600; font-size:.94rem; }
.hb-search-field {
  display:flex;
  align-items:center;
  gap:.8rem;
  padding-inline:1rem .5rem;
  border:1px solid #aebdd2;
  border-radius:.72rem;
  background:#fff;
  box-shadow:0 2px 6px #1939640a;
}
.hb-search-field:focus-within { outline:2px solid #5277c6; outline-offset:2px; }
.hb-search-field input {
  flex:1;
  min-width:0;
  min-height:3.2rem;
  width:100%;
  background:transparent;
  border:0;
  outline:none;
  color:var(--ink);
  font-size:1rem;
}
.hb-search-field input:focus-visible { outline:none; }
.hb-search-field input::-webkit-search-cancel-button { -webkit-appearance:none; }
.hb-search-field input::placeholder { color:#62718a; }
.hb-glass {
  width:.9rem;
  height:.9rem;
  border:1.7px solid #566885;
  border-radius:100%;
  position:relative;
  margin-right:.12rem;
  flex:none;
}
.hb-glass::after {
  content:"";
  position:absolute;
  right:-.36rem;
  bottom:-.15rem;
  width:.44rem;
  height:1.7px;
  background:#566885;
  transform:rotate(46deg);
}
.hb-clear {
  display:grid;
  place-items:center;
  width:2.35rem;
  height:2.35rem;
  border:0;
  border-radius:.4rem;
  color:#41536d;
  background:transparent;
  font-size:1.45rem;
}
.hb-clear:hover { background:#f0f3f8; }
.hb-result {
  position:absolute;
  inset-block-start:calc(100% + .4rem);
  color:var(--hb-secondary);
  font-size:.88rem;
}
.hb-library-body {
  display:grid;
  grid-template-columns:minmax(12rem,.32fr) minmax(0,1fr);
  align-items:start;
  gap:clamp(2.4rem,5.3vw,5.5rem);
  padding-block:clamp(2rem,4.3vw,3.8rem) clamp(3rem,7vw,5.5rem);
}
.hb-group-nav { position:sticky; top:1.5rem; }
.hb-group-nav h2, .hb-toc h2 {
  margin-bottom:.8rem;
  color:#425065;
  font-size:.94rem;
  line-height:1.45;
  font-weight:650;
  letter-spacing:0;
}
.hb-group-nav ul, .hb-toc ul, .hb-entries { list-style:none; margin:0; padding:0; }
.hb-group-nav li+li { margin-block-start:.15rem; }
.hb-group-nav a {
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:2.7rem;
  padding:.55rem .7rem;
  margin-inline-start:-.7rem;
  border-radius:.45rem;
  font-size:.96rem;
  line-height:1.38;
  text-decoration:none;
  color:#37475c;
}
.hb-group-nav a .icon { width:1.18rem; height:1.18rem; color:var(--hb-accent); }
.hb-group-nav a:hover,.hb-group-nav a[aria-current] { color:var(--hb-accent); background:var(--hb-wash); }
.hb-catalog { display:grid; gap:clamp(2.5rem,5vw,4rem); min-width:0; }
.hb-collection h2 {
  display:flex;
  align-items:center;
  gap:.8rem;
  margin:0 0 .45rem;
  scroll-margin-block-start:1.4rem;
  font-size:clamp(1.45rem,2.1vw,1.9rem);
  letter-spacing:-.04em;
  line-height:1.2;
}
.hb-symbol {
  width:2.55rem;
  height:2.55rem;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:.68rem;
  background:var(--hb-wash);
  color:var(--hb-accent);
}
.hb-symbol .icon { width:1.34rem; height:1.34rem; }
.hb-entries {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(1.3rem,2.5vw,2.3rem);
}
.hb-entries > li { min-width:0; border-bottom:1px solid var(--hb-rule); }
.hb-entry {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:.65rem;
  min-height:100%;
  padding:1.15rem 0 1.27rem;
  color:inherit;
  text-decoration:none;
}
.hb-entry > div { min-width:0; }
.hb-entry h3 { font-size:clamp(1.04rem,1.25vw,1.19rem); line-height:1.35; letter-spacing:-.025em; font-weight:640; text-wrap:pretty; }
.hb-entry p { margin-top:.4rem; color:var(--hb-secondary); font-size:.98rem; line-height:1.52; }
.hb-entry > .icon { position:relative; top:.1rem; width:.9rem; height:.9rem; color:#718198; transition:transform .15s ease; }
.hb-entry:hover h3, .hb-entry:focus-visible h3 { color:var(--hb-accent); text-decoration:underline; text-underline-offset:.18em; }
.hb-entry:hover > .icon { color:var(--hb-accent); transform:translateX(2px); }
.hb-match { display:block; margin-top:.5rem; color:var(--hb-accent); font-size:.88rem; font-weight:560; }

/* Article typography and navigation */
.hb-reader { padding-block:clamp(1.4rem,3vw,2.3rem) clamp(3rem,7vw,6rem); }
.hb-reader .wrap { max-width:71rem; }
.hb-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem; font-size:.92rem; color:var(--hb-secondary); }
.hb-crumb a { text-decoration:none; color:inherit; }
.hb-crumb a:hover { color:var(--hb-accent); text-decoration:underline; text-underline-offset:.18em; }
.hb-crumb .icon { width:.95rem; height:.95rem; color:#8390a3; }
.hb-read-layout {
  display:grid;
  grid-template-columns:minmax(0,46rem) minmax(12rem,1fr);
  grid-template-areas:"heading outline" "body outline";
  gap:0 clamp(2.5rem,6vw,6.5rem);
  align-items:start;
  margin-block-start:clamp(1.7rem,3.25vw,2.95rem);
}
.hb-article-head {
  grid-area:heading;
  padding:0 0 clamp(1.7rem,3.3vw,2.6rem);
  border-block-end:1px solid var(--hb-rule);
}
.hb-article-head h1 { font-size:clamp(2.15rem,4.8vw,3.8rem); text-wrap:pretty; }
.hb-article-head > p { max-width:64ch; }
.hb-outline { grid-area:outline; align-self:stretch; min-width:0; }
.hb-toc-wide {
  position:sticky;
  inset-block-start:1.5rem;
  max-height:calc(100vh - 3rem);
  max-height:calc(100dvh - 3rem);
  overflow-y:auto;
  padding-inline-start:1.35rem;
  border-inline-start:1px solid var(--hb-rule);
}
.hb-toc li+li { margin-block-start:.12rem; }
.hb-toc a {
  display:block;
  padding:.42rem .65rem;
  color:#485971;
  border-inline-start:2px solid transparent;
  text-decoration:none;
  font-size:.94rem;
  line-height:1.48;
}
.hb-toc a:hover { color:var(--hb-accent); text-decoration:underline; text-underline-offset:.16em; }
.hb-toc a[aria-current="location"] { color:var(--hb-accent); border-inline-start-color:var(--hb-accent); background:var(--hb-wash); font-weight:580; }
.hb-toc-compact { display:none; }
.hb-content { grid-area:body; min-width:0; }
.hb-section {
  margin-block-start:clamp(2.15rem,4vw,3.45rem);
  font-size:1.055rem;
  line-height:1.72;
}
.hb-section > *+* { margin-top:1.04rem; }
.hb-section h2 {
  scroll-margin-block-start:1.4rem;
  margin-bottom:.9rem;
  color:var(--ink);
  font-size:clamp(1.42rem,2.55vw,2.03rem);
  line-height:1.25;
  letter-spacing:-.036em;
}
.hb-section p,.hb-section li { color:#34435a; }
.hb-content strong { font-weight:650; color:#21334c; }
.hb-content :not(pre) > code, .hb-article-head code, .hb-entry code {
  padding:.09em .25em;
  border-radius:.22em;
  background:var(--hb-faint);
  color:#243c65;
  font-size:.9em;
  overflow-wrap:anywhere;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.hb-steps,.hb-bullets { padding-inline-start:1.6rem; }
.hb-steps li,.hb-bullets li { padding-inline-start:.35rem; }
.hb-steps li+li,.hb-bullets li+li { margin-top:.55rem; }
.hb-steps li::marker { color:var(--hb-accent); font-weight:650; font-variant-numeric:tabular-nums; }
.hb-bullets li::marker { color:var(--hb-accent); }
.hb-note {
  padding:1rem 1.25rem;
  border-inline-start:3px solid var(--hb-accent);
  border-radius:0 .55rem .55rem 0;
  background:var(--hb-wash);
  font-size:.98rem;
  line-height:1.65;
}
.hb-note p { color:#25354b; }
.hb-figure { margin:1.55rem 0 0; }
.hb-figure .screenshot {
  width:fit-content;
  max-width:100%;
  margin-inline:auto;
  border-color:#cdd7e6;
  box-shadow:0 3px 14px #1834560b;
}
.hb-figure .screenshot img { display:block; width:auto; max-width:100%; max-height:34rem; }
.hb-figure figcaption { margin-top:.65rem; color:var(--hb-secondary); font-size:.92rem; line-height:1.5; }
.hb-command {
  max-width:100%;
  overflow:auto;
  margin-inline:0;
  margin-bottom:0;
  border-radius:.62rem;
  padding:1.1rem 1.25rem;
  background:#162438;
  color:#f0f4fc;
  font: .94rem/1.65 "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  tab-size:4;
}
.hb-command code { font:inherit; }
.hb-table {
  overflow:auto;
  border:1px solid var(--hb-rule);
  border-radius:.62rem;
}
.hb-table table {
  width:100%;
  border-collapse:collapse;
  color:#34435a;
  text-align:start;
  font-size:.98rem;
  line-height:1.55;
}
.hb-table thead { background:#f1f5fa; color:#2d3f55; }
.hb-table :is(th,td) { min-width:7rem; padding:.7rem .9rem; vertical-align:top; text-align:start; }
.hb-table th { font-weight:620; }
.hb-table tbody tr+tr { border-block-start:1px solid var(--hb-rule); }
.hb-table th+th,.hb-table td+td { border-inline-start:1px solid var(--hb-rule); }
.hb-exercise { margin-top:1.75rem; }
.hb-exercise a {
  display:flex;
  align-items:center;
  gap:.95rem;
  padding:.9rem 1.15rem;
  border:1px solid var(--hb-rule);
  border-radius:.6rem;
  background:var(--hb-wash);
  color:var(--hb-accent);
  text-decoration:none;
}
.hb-exercise a:hover { border-color:var(--hb-accent); }
.hb-exercise .icon:first-child { width:1.55rem; height:1.55rem; }
.hb-exercise .icon:last-child { margin-inline-start:auto; }
.hb-exercise strong,.hb-exercise small { display:block; }
.hb-exercise small { font-size:.86rem; }
.hb-source { border-top:1px solid var(--hb-rule); margin-top:clamp(2.1rem,4vw,3.1rem); padding-top:1rem; }
.hb-source a { display:inline-flex; gap:.55rem; align-items:center; font-size:.92rem; color:var(--hb-secondary); text-underline-offset:.2em; }
.hb-related { margin-top:1.3rem; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr)); gap:.8rem; }
.hb-related a {
  min-width:0;
  padding:.95rem 1rem 1rem;
  border:1px solid var(--hb-rule);
  border-radius:.55rem;
  color:var(--ink);
  text-decoration:none;
}
.hb-related span { display:block; font-size:.88rem; color:var(--hb-secondary); }
.hb-related strong { display:block; margin-top:.3rem; color:inherit; font-size:1rem; line-height:1.4; }
.hb-related a:hover { border-color:var(--hb-accent); color:var(--hb-accent); }
.hb-source a:hover { color:var(--hb-accent); }
.hb-package { display:inline-flex; align-items:center; gap:.45rem; color:var(--hb-accent); text-underline-offset:.2em; }
.hb-package .icon { width:1rem; height:1rem; }
.hb a:focus-visible,.hb summary:focus-visible,.hb pre:focus-visible,.hb-table:focus-visible { outline:3px solid #4774c3; outline-offset:3px; }

@media (max-width:950px) {
  .hb-library-body { grid-template-columns:minmax(10.8rem,.32fr) minmax(0,1fr); gap:2.3rem; }
  .hb-entries { grid-template-columns:1fr; }
  .hb-read-layout { grid-template-columns:minmax(0,1fr) minmax(11.5rem,.34fr); gap:0 2.4rem; }
}
@media (max-width:720px) {
  .hb-library-head { grid-template-columns:1fr; gap:1.5rem; }
  .hb-search { justify-self:start; max-width:32rem; }
  .hb-result { position:static; margin-top:.35rem; }
  .hb-result:empty { margin:0; }
  .hb-library-body { display:block; padding-block-start:1.4rem; }
  .hb-group-nav { position:static; padding-bottom:1.65rem; margin-bottom:1.75rem; border-bottom:1px solid var(--hb-rule); }
  .hb-group-nav ul { display:flex; flex-wrap:wrap; gap:.4rem; }
  .hb-group-nav li+li { margin:0; }
  .hb-group-nav a { margin:0; padding:.4rem .65rem; min-height:2.55rem; border:1px solid var(--hb-rule); }
  .hb-read-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "outline" "body"; gap:0; }
  .hb-article-head { border:0; padding-bottom:1.3rem; }
  .hb-toc-wide { display:none; }
  .hb-toc-compact { display:block; background:#f4f7fb; border:1px solid var(--hb-rule); border-radius:.55rem; }
  .hb-toc-compact > nav { padding:.1rem .45rem .7rem; }
  .hb-toc-compact > summary { cursor:pointer; display:flex; align-items:center; gap:.65rem; padding:.7rem .85rem; font-size:.96rem; font-weight:580; }
  .hb-toc-compact > summary::-webkit-details-marker { display:none; }
  .hb-toc-compact > summary > .icon:first-child { color:var(--hb-accent); }
  .hb-toc-compact > summary > .icon:last-child { margin-inline-start:auto; width:1rem; transform:rotate(90deg); }
  .hb-toc-compact[open] > summary > .icon:last-child { transform:rotate(270deg); }
}
@media (max-width:480px) {
  .hb-reader { padding-block-start:1.05rem; }
  .hb-section { font-size:1rem; }
  .hb-command,.hb-note { padding:.85rem 1rem; }
  .hb-related { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .hb-entry > .icon { transition:none; }
}
@media print {
  body > header, body > footer, .skip, .hb-outline, .hb-search, .hb-group-nav, .hb-related, .hb-exercise { display:none !important; }
  .hb, .hb-section, .hb-section :is(p,li) { color:#000; }
  .hb .wrap { width:100%; max-width:none; }
  .hb-reader,.hb-library-body,.hb-library-head { padding:0; }
  .hb-band { background:none; padding-bottom:1rem; }
  .hb-crumb { font-size:9pt; }
  .hb-read-layout,.hb-library-head,.hb-library-body { display:block; }
  .hb-article-head h1 { font-size:24pt; }
  .hb-section { margin-top:1.4rem; font-size:11pt; }
  .hb-section h2 { font-size:16pt; break-after:avoid; }
  .hb-table,.hb-command,.hb-note { break-inside:avoid; }
  .hb-figure { break-inside:avoid; }
  .hb-figure .screenshot-action,.hb-figure dialog { display:none !important; }
  .hb-figure .screenshot img { max-height:13cm; }
  .hb-command { white-space:pre-wrap; overflow-wrap:anywhere; color:#141414; background:#f6f6f6; border:1px solid #aaa; }
  .hb-table { overflow:visible; }
  .hb-table :is(th,td) { min-width:0; }
  .hb-source a { font-size:9pt; }
}
