/* Shared reading and navigation styles for the help centre and developer docs. */
[data-help-hub] .support-products {
  margin-block:clamp(2rem, 5vw, 4rem) 2.5rem;
}
[data-help-hub] .support-products h2 {
  margin:0 0 1rem;
  font-size:clamp(1.4rem, 3vw, 2rem);
  line-height:1.18;
  letter-spacing:-.035em;
}
[data-help-hub] .support-products ul {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  padding:1px;
  margin:0;
  list-style:none;
  border-radius:14px;
  background:var(--bp-line);
  overflow:hidden;
}
[data-help-hub] .support-products li {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:clamp(1.1rem, 2.3vw, 1.8rem);
  margin:0;
  background:var(--bp-surface);
  min-width:0;
}
[data-help-hub] .support-products h3 {
  margin:0;
  font-size:1.15rem;
  line-height:1.3;
  letter-spacing:-.02em;
}
[data-help-hub] .support-products h3 a {
  color:var(--bp-text);
  text-decoration:none;
}
[data-help-hub] .support-products p {
  max-width:29ch;
  margin:.6rem 0 1rem;
  color:var(--bp-muted);
  line-height:1.55;
}
[data-help-hub] .support-products .support-product-action {
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.4em;
  min-height:2.1rem;
  color:var(--bp-accent);
  font-weight:650;
  text-decoration:none;
}
[data-help-hub] .support-products a:hover,
.portal .portal-toc a:hover {text-decoration:underline;text-underline-offset:.19em}
[data-help-hub] .help-quick-actions {grid-template-columns:repeat(4,minmax(0,1fr))}
[data-help-hub] .help-guide-group .support-cards>a {
  min-height:0;
  padding:clamp(1.05rem, 2.2vw, 1.45rem);
}
[data-help-hub] .help-guide-group .support-cards>a:focus-visible,
[data-help-hub] .support-products a:focus-visible,
.support-topic-note a:focus-visible {
  outline:3px solid var(--bp-accent);
  outline-offset:3px;
}
[data-guide-reader] .support-topic-note {
  margin:1.75rem 0 2.5rem;
  padding:clamp(1.1rem, 2.3vw, 1.65rem);
  border:1px solid var(--bp-line);
  border-inline-start:3px solid var(--bp-accent);
  border-radius:10px;
  background:var(--bp-surface);
}
[data-guide-reader] .support-topic-note h3 {margin:0 0 .7rem}
[data-guide-reader] .support-topic-note p {margin:.5rem 0;max-width:68ch}
[data-guide-reader] .support-topic-note a {display:inline-block;margin:.45rem 1.2rem 0 0;text-underline-offset:.17em}
[data-guide-reader] .reading-body h2[id],
[data-guide-reader] .reading-body h3[id],
[data-help-hub] [id],
.support-reader-shell .reader-sections [id],
.portal .portal-article[id] {scroll-margin-block-start:9rem}
[data-guide-reader] .guide-chapter-rail a:focus-visible,
.support-reader-shell .reader-index a:focus-visible {
  outline:2px solid var(--bp-accent);
  outline-offset:-2px;
  border-radius:4px;
}
.support-reader-shell .reader-index nav a,
[data-guide-reader] .guide-chapter-rail nav a {min-block-size:2.1rem;align-content:center}
.portal .portal-layout {position:relative}
.portal .portal-read-skip {
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.portal .portal-read-skip:focus-visible {
  z-index:3;
  inset:0 auto auto 0;
  inline-size:auto;
  block-size:auto;
  max-inline-size:100%;
  padding:.7rem .95rem;
  clip-path:none;
  border-radius:6px;
  color:var(--bp-text);
  background:var(--bp-surface);
  outline:2px solid var(--bp-accent);
  outline-offset:2px;
  white-space:normal;
}
.portal .portal-toc {
  align-items:center;
  gap:.2rem 1.15rem;
  padding:.65rem 1.1rem;
  background:var(--bp-surface);
  border:1px solid var(--bp-line);
  border-radius:10px;
}
.portal .portal-toc a {display:inline-flex;align-items:center;min-height:2.35rem;color:var(--bp-text)}
.portal .portal-article>section>p {max-width:76ch}
.portal .portal-article pre:focus-visible {outline-offset:-3px}
.portal .portal-nav-group a {min-height:44px}
@media(max-width:940px) {
  [data-help-hub] .support-products ul,
  [data-help-hub] .help-quick-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px) {
  .portal .portal-layout:has(.portal-mobile-nav[open])>.portal-read-skip {
    position:static;
    display:inline-block;
    inline-size:auto;
    block-size:auto;
    margin:.85rem 0 .3rem;
    clip-path:none;
    white-space:normal;
    text-underline-offset:.2em;
  }
  .portal .portal-toc {padding:.55rem .85rem}
}
@media(max-width:540px) {
  [data-help-hub] .support-products ul {grid-template-columns:1fr}
  [data-help-hub] .support-products li {padding:.9rem 1.1rem}
  [data-help-hub] .support-products p {max-width:none;margin-block:.25rem}
  [data-guide-reader] .support-topic-note a {margin-right:.65rem}
}
#agentGuide.field-reader .field-body section[id] {scroll-margin-block-start:9rem}
#agentGuide.field-reader .field-toc a {
  display:inline-flex;
  align-items:center;
  min-block-size:2.4rem;
  text-underline-offset:.2em;
}
#agentGuide.field-reader .field-toc a:focus-visible {outline:2px solid var(--field-accent);outline-offset:2px}
@media(max-width:52rem) {
  #agentGuide.field-reader .field-toc {
    padding:.9rem 1rem;
    border:1px solid var(--field-line);
    border-radius:10px;
    background:var(--field-surface);
  }
}
