/* Shire Docs — documentation shell */
:root {
  --docs-top: 64px;
  --docs-max: 1480px;
  --docs-line: rgba(255, 255, 255, .085);
  --docs-muted: rgba(255, 255, 255, .46);
  --docs-soft: rgba(255, 255, 255, .68);
}

[hidden] { display: none !important; }

.docs-body {
  background: #000;
  color: #fff;
  min-height: 100vh;
}

.docs-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--docs-top);
  border-bottom: 1px solid var(--docs-line);
  background: rgba(4, 4, 5, .88);
  backdrop-filter: blur(18px);
}
.docs-top-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(100%, var(--docs-max));
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.4vw, 28px);
}
.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
}
.docs-brand img { width: 25px; height: 25px; }
.docs-brand-word { font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.docs-brand-pill {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.docs-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(330px, 30vw);
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .34);
}
.docs-search svg { width: 14px; height: 14px; flex: 0 0 auto; }
.docs-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
}
.docs-search input::placeholder { color: rgba(255, 255, 255, .32); }
.docs-search kbd {
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  color: rgba(255, 255, 255, .28);
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
}
.docs-top-links { display: flex; align-items: center; gap: 17px; margin-left: auto; }
.docs-top-links a {
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  text-decoration: none;
  transition: color .18s ease;
}
.docs-top-links a:hover { color: #fff; }
.docs-top-links a.is-out { display: inline-flex; align-items: center; gap: 4px; }
.docs-menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
}
.docs-menu-toggle span { display: block; width: 14px; height: 1px; margin: 0 auto; background: currentColor; }
.docs-menu-toggle span + span { margin-top: 4px; }

.docs-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 780px) 190px;
  gap: clamp(32px, 4vw, 60px);
  width: min(100%, var(--docs-max));
  margin-inline: auto;
  padding: calc(var(--docs-top) + 34px) clamp(16px, 2.4vw, 28px) 80px;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--docs-top) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--docs-top) - 52px);
  overflow: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .13) transparent;
}
.docs-nav-label {
  margin: 20px 0 7px;
  color: rgba(255, 255, 255, .25);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.docs-nav-label:first-child { margin-top: 0; }
.docs-nav a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-left: 1px solid transparent;
  border-radius: 0 6px 6px 0;
  color: rgba(255, 255, 255, .48);
  font-size: 11.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.docs-nav a:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.docs-nav a[aria-current="page"] {
  border-left-color: #8fe8d0;
  background: rgba(143, 232, 208, .06);
  color: #fff;
}
.docs-nav a .docs-nav-ext { margin-left: auto; color: rgba(255, 255, 255, .24); font-size: 9px; }
.docs-search-empty {
  display: none;
  margin: 14px 8px;
  color: rgba(255, 255, 255, .3);
  font-size: 10.5px;
  line-height: 1.5;
}
.docs-sidebar.is-searching.is-empty .docs-search-empty { display: block; }

.docs-main { min-width: 0; }
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .26);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.docs-breadcrumb a { color: inherit; text-decoration: none; }
.docs-breadcrumb a:hover { color: #fff; }
.docs-article h1 {
  max-width: 740px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.docs-article .docs-intro {
  max-width: 650px;
  margin-top: 15px;
  color: rgba(255, 255, 255, .45);
  font-size: 14.5px;
  line-height: 1.7;
}
.docs-article h2 {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--docs-line);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.docs-article h2:first-of-type { margin-top: 36px; }
.docs-article h3 {
  margin-top: 28px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.015em;
}
.docs-article p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .48);
  font-size: 13.5px;
  line-height: 1.75;
}
.docs-article p strong { color: rgba(255, 255, 255, .82); font-weight: 500; }
.docs-article a { color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(143, 232, 208, .4); text-underline-offset: 3px; }
.docs-article a:hover { color: #8fe8d0; }
.docs-article ul, .docs-article ol { margin-top: 12px; padding-left: 18px; }
.docs-article li { margin-top: 6px; color: rgba(255, 255, 255, .48); font-size: 13.5px; line-height: 1.65; }
.docs-article li::marker { color: rgba(143, 232, 208, .6); }
.docs-article li > ul, .docs-article li > ol { margin-top: 6px; padding-left: 16px; }
.docs-article li > ul li { list-style: circle; }
.docs-article blockquote { margin-top: 18px; padding: 12px 15px; border-left: 2px solid rgba(143, 232, 208, .42); border-radius: 0 8px 8px 0; background: rgba(143, 232, 208, .035); }
.docs-article blockquote p { margin-top: 0; color: rgba(255, 255, 255, .54); }
.docs-article hr { margin: 30px 0; border: 0; border-top: 1px solid var(--docs-line); }
.docs-article code {
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .76);
  font-family: var(--mono);
  font-size: .88em;
}
.docs-article pre {
  margin-top: 16px;
  padding: 15px 16px;
  overflow-x: auto;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: #09090a;
}
.docs-article pre code { padding: 0; border: 0; background: none; font-size: 11px; line-height: 1.7; }

.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.docs-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--docs-line);
  border-radius: 11px;
  background: #0b0b0c;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease;
}
.docs-card:hover { border-color: rgba(255, 255, 255, .2); background: #0e0e0f; }
.docs-card strong { display: block; color: #fff; font-size: 12.5px; font-weight: 500; }
.docs-card span { display: block; margin-top: 5px; color: rgba(255, 255, 255, .35); font-size: 10.5px; line-height: 1.55; }
.docs-card .docs-card-arrow { margin-top: 13px; color: rgba(255, 255, 255, .58); font-size: 10px; }

.docs-callout {
  margin-top: 20px;
  padding: 14px 15px;
  border: 1px solid var(--docs-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}
.docs-callout strong { display: block; color: #fff; font-size: 11.5px; font-weight: 500; }
.docs-callout p { margin-top: 5px; font-size: 12px; line-height: 1.6; }
.docs-callout.is-note { border-color: rgba(143, 232, 208, .16); background: rgba(143, 232, 208, .035); }
.docs-callout.is-warning { border-color: rgba(255, 154, 138, .18); background: rgba(255, 154, 138, .035); }

.docs-table { width: 100%; margin-top: 16px; border-collapse: collapse; border: 1px solid var(--docs-line); border-radius: 9px; overflow: hidden; }
.docs-table th, .docs-table td { padding: 10px 12px; border-bottom: 1px solid var(--docs-line); text-align: left; vertical-align: top; }
.docs-table th { color: rgba(255, 255, 255, .35); font-family: var(--mono); font-size: 7.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .025); }
.docs-table td { color: rgba(255, 255, 255, .5); font-size: 12px; line-height: 1.55; }
.docs-table td strong { color: rgba(255, 255, 255, .82); font-weight: 500; }
.docs-table tr:last-child td { border-bottom: 0; }

.docs-steps { display: grid; gap: 0; margin-top: 18px; counter-reset: docs-step; }
.docs-step { position: relative; padding: 0 0 22px 38px; counter-increment: docs-step; }
.docs-step::before {
  content: counter(docs-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: rgba(143, 232, 208, .7);
  font-family: var(--mono);
  font-size: 9px;
}
.docs-step:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--docs-line); }
.docs-step strong { display: block; color: #fff; font-size: 13px; font-weight: 500; }
.docs-step p { margin-top: 5px; font-size: 12.5px; }
.docs-step a { margin-top: 8px; display: inline-block; font-size: 11px; text-decoration: none; color: rgba(255, 255, 255, .7); }
.docs-step a:hover { color: #8fe8d0; }

.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--docs-line); }
.docs-pager a {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--docs-line);
  border-radius: 9px;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.docs-pager a:hover { border-color: rgba(255, 255, 255, .2); background: #0b0b0c; }
.docs-pager span { display: block; color: rgba(255, 255, 255, .26); font-family: var(--mono); font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }
.docs-pager strong { display: block; margin-top: 5px; color: rgba(255, 255, 255, .82); font-size: 11.5px; font-weight: 500; }
.docs-pager a:last-child { text-align: right; }

.docs-toc { position: sticky; top: calc(var(--docs-top) + 28px); align-self: start; max-height: calc(100vh - var(--docs-top) - 40px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .13) transparent; }
.docs-toc > p { color: rgba(255, 255, 255, .26); font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; }
.docs-toc nav { display: flex; flex-direction: column; margin-top: 9px; border-left: 1px solid var(--docs-line); }
.docs-toc a { padding: 4px 0 4px 11px; color: rgba(255, 255, 255, .36); font-size: 10.5px; line-height: 1.4; text-decoration: none; }
.docs-toc a:hover, .docs-toc a.is-active { color: #fff; }
.docs-toc a.is-sub { padding-left: 20px; font-size: 9.5px; color: rgba(255, 255, 255, .27); }

.docs-footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--docs-line); color: rgba(255, 255, 255, .26); font-size: 10px; line-height: 1.6; }
.docs-footer a { color: rgba(255, 255, 255, .45); text-decoration: none; }
.docs-footer a:hover { color: #fff; }

.docs-scrim { display: none; }
.docs-search-hint { display: none; }

@media (max-width: 1180px) {
  .docs-layout { grid-template-columns: 220px minmax(0, 780px); }
  .docs-toc { display: none; }
}
@media (max-width: 900px) {
  .docs-top-links a:not(.is-out) { display: none; }
  .docs-search { width: min(280px, 38vw); }
  .docs-layout { grid-template-columns: minmax(0, 780px); }
  .docs-sidebar {
    position: fixed;
    z-index: 60;
    top: var(--docs-top);
    bottom: 0;
    left: 0;
    width: min(300px, 84vw);
    max-height: none;
    padding: 24px 18px 40px;
    border-right: 1px solid var(--docs-line);
    background: #080809;
    height: calc(100dvh - var(--docs-top));
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .24s var(--ease);
  }
  .docs-body.is-menu-open .docs-sidebar { transform: none; }
  .docs-scrim {
    position: fixed;
    inset: var(--docs-top) 0 0;
    z-index: 55;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(3px);
  }
  .docs-body.is-menu-open .docs-scrim { display: block; }
  .docs-menu-toggle { display: block; order: -1; margin-left: 0; margin-right: 2px; }
  .docs-search { order: 3; width: 100%; margin-left: auto; }
  .docs-top-inner { gap: 10px; }
  .docs-search kbd { display: none; }
}
@media (max-width: 680px) {
  .docs-top-inner { gap: 8px; padding-inline: 14px; }
  .docs-brand-pill { display: none; }
  .docs-top-links { gap: 10px; }
  .docs-top-links a { font-size: 10px; }
  .docs-top-links a.is-out { display: none; }
  .docs-search { width: 34px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .docs-search input { display: none; }
  .docs-search svg { width: 16px; height: 16px; }
  .docs-search.is-open { position: absolute; top: 9px; left: 58px; right: 12px; z-index: 2; width: auto; padding: 0 10px; justify-content: flex-start; border-color: var(--docs-line); background: #111112; }
  .docs-search.is-open input { display: block; }
  .docs-layout { padding-top: calc(var(--docs-top) + 24px); }
  .docs-article h1 { font-size: 38px; }
  .docs-article h2 { margin-top: 34px; padding-top: 18px; font-size: 24px; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-pager { grid-template-columns: 1fr; }
  .docs-pager a:last-child { text-align: left; }
  .docs-table { display: block; overflow-x: auto; white-space: nowrap; }
  .docs-table th, .docs-table td { white-space: normal; }
  .docs-article { font-size: 13px; }
}
