@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --bg: #fff;
  --surface: #f8f9fc;
  --surface2: #f1f4f9;
  --text: #18233c;
  --muted: #6c768a;
  --line: #e8ebf2;
  --primary: #17568b;
  --secondary: #509fef;
  --success: #2cc7a2;
  --error: #e31e18;
  --blue: var(--primary);
  --blue-light: #edf5fd;
  --sidebar: 272px;
  --header: 76px;
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.topbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  z-index: 30;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand b {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 26px;
  letter-spacing: -1.5px;
  font-weight: 800;
}
.brandmark {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.brand-divider {
  height: 23px;
  width: 1px;
  background: var(--line);
  margin: 0 7px 0 14px;
}
.docs-label {
  font-size: 16px;
  color: var(--muted);
}
.top-note {
  font-size: 12px;
  color: var(--muted);
  margin-left: 33px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.top-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  min-width: 270px;
}
.top-search .icon {
  width: 17px;
}
.top-search kbd {
  margin-left: auto;
}
kbd {
  font:
    11px "DM Sans",
    sans-serif;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--muted);
}
.theme-button {
  padding: 7px;
  color: var(--muted);
}
.mobile-menu {
  display: none;
}
.sidebar {
  position: fixed;
  top: var(--header);
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 29px 20px 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 20;
}
.portal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin: 0 10px 10px;
}
.portal-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
  background: var(--surface);
}
.portal-picker .icon {
  width: 17px;
  color: var(--blue);
}
.portal-picker select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.audience {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding: 12px 9px 23px;
}
.status-dot {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar nav {
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 20px;
}
.nav-home,
.nav-quick {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
}
.nav-home .icon,
.nav-quick .icon {
  width: 16px;
}
.nav-home.selected {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
.nav-quick {
  color: var(--muted);
  margin: 4px 0 22px;
}
.nav-quick kbd {
  margin-left: auto;
  font-size: 9px;
}
.nav-group {
  margin-bottom: 17px;
}
.nav-group summary {
  list-style: none;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  cursor: pointer;
}
.nav-group summary::-webkit-details-marker {
  display: none;
}
.nav-group summary .icon {
  height: 12px;
  width: 12px;
  color: var(--muted);
  transform: rotate(0deg);
}
.nav-group[open] summary .icon {
  transform: rotate(90deg);
}
.nav-link {
  font-size: 11px;
  line-height: 1.5;
  display: block;
  padding: 7px 10px 7px 18px;
  margin: 2px 0;
  border-left: 1px solid var(--line);
  margin-left: 12px;
  color: var(--muted);
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-link.active {
  color: var(--blue);
  border-left: 2px solid var(--blue);
  background: var(--blue-light);
  font-weight: 600;
}
.sidebar-foot {
  border-top: 1px solid var(--line);
  padding: 17px 8px;
  display: flex;
  gap: 10px;
  font-size: 10px;
  align-items: center;
  margin-top: auto;
  background: var(--bg);
}
.sidebar-foot small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
  color: var(--muted);
}
.mini-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.workspace {
  margin-left: var(--sidebar);
  padding-top: var(--header);
}
main {
  min-height: calc(100vh - 150px);
}
main:focus {
  outline: none;
}
.home-wrap {
  max-width: 1250px;
  margin: auto;
  padding: 28px 52px 55px;
}
.breadcrumb {
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 35px;
}
.breadcrumb .icon {
  width: 11px;
  height: 11px;
}
.breadcrumb span {
  color: var(--text);
}
.hero {
  position: relative;
  padding: 8px 0 38px;
  min-height: 345px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--muted);
  display: block;
}
.hero .eyebrow {
  color: var(--blue);
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero .status-dot {
  background: var(--blue);
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.22;
  letter-spacing: -2px;
  font-weight: 750;
  margin: 19px 0 17px;
  position: relative;
  z-index: 1;
}
.hero h1 span {
  color: var(--blue);
}
.hero > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.hero-search {
  width: 530px;
  max-width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #dce2ee;
  box-shadow: 0 3px 8px #192b5410;
  border-radius: 8px;
  background: var(--bg);
  padding: 15px;
  margin-top: 25px;
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
}
.hero-search .icon {
  color: var(--blue);
  width: 18px;
}
.hero-search kbd {
  margin-left: auto;
}
.popular {
  display: flex;
  gap: 13px;
  font-size: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 13px;
  color: var(--muted);
}
.popular a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.popular a:hover {
  color: var(--blue);
}
.hero-art {
  position: absolute;
  right: 12px;
  top: 9px;
  width: 270px;
  height: 270px;
  opacity: 0.95;
  pointer-events: none;
}
.orbit {
  border: 1px solid #deecfa;
  border-radius: 50%;
  position: absolute;
  width: 245px;
  height: 245px;
  top: 8px;
  left: 8px;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 300px;
  height: 160px;
  top: 49px;
  left: -18px;
  transform: rotate(-35deg);
}
.art-card {
  position: absolute;
  border: 1px solid #e1e6f4;
  border-radius: 12px;
  box-shadow: 0 14px 35px #17568b10;
  background: var(--bg);
}
.art-back {
  width: 169px;
  height: 55px;
  top: 38px;
  left: 77px;
  transform: rotate(10deg);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  font-size: 10px;
  color: var(--muted);
}
.art-back .icon {
  color: var(--blue);
}
.art-back i {
  background: var(--success);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: auto;
}
.art-front {
  width: 187px;
  height: 166px;
  top: 86px;
  left: 29px;
  transform: rotate(-8deg);
  padding: 20px;
}
.art-front > .icon {
  color: var(--blue);
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}
.art-front b {
  display: block;
  font-size: 11px;
  margin-bottom: 12px;
}
.art-front div {
  height: 4px;
  margin-bottom: 6px;
  background: var(--surface2);
  border-radius: 4px;
}
.art-front div:nth-of-type(2) {
  width: 80%;
}
.art-front div:nth-of-type(3) {
  width: 55%;
}
.art-front span {
  display: block;
  font-size: 6px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-top: 13px;
}
.art-spark {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 5px solid var(--bg);
  border-radius: 13px;
  background: var(--blue);
  color: white;
  transform: rotate(10deg);
}
.start-strip {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 5px 0 45px;
}
.strip-icon {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.start-strip h2 {
  font-size: 12px;
  letter-spacing: -0.2px;
  margin-bottom: 5px;
}
.start-strip p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.text-link .icon {
  width: 15px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.section-heading h2,
.bottom-grid h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  margin-top: 9px;
}
.section-heading > span {
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 3px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.module-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  min-height: 196px;
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  box-shadow: 0 8px 20px #17568b0b;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.module-icon {
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #deecfa;
  border-radius: 7px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
}
.module-icon .icon {
  width: 18px;
  height: 18px;
}
.guide-count {
  font-size: 9px;
  color: var(--muted);
}
.module-card h3 {
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.module-card p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 19px;
}
.card-link {
  margin-top: auto;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-link .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-top: 38px;
}
.task-panel {
  padding: 23px 0;
}
.task-panel h2 {
  margin-bottom: 20px;
  font-size: 21px;
}
.task-panel > a {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.task-panel > a .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.task-panel > a.all-tasks {
  color: var(--blue);
  border: 0;
  font-size: 10px;
  justify-content: flex-start;
}
.ask-panel {
  border-radius: 10px;
  border: 1px solid #deecfa;
  background: linear-gradient(130deg, var(--blue-light), var(--bg));
  padding: 27px;
  position: relative;
}
.ask-glyph {
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  background: var(--bg);
  border: 1px solid #deecfa;
  border-radius: 9px;
}
.badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 7px;
  border: 1px solid #deecfa;
  border-radius: 4px;
  color: var(--blue);
  float: right;
}
.ask-panel h2 {
  font-size: 23px;
  line-height: 1.35;
  margin-top: 20px;
}
.ask-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 12px;
  max-width: 260px;
}
.ask-panel button {
  font-size: 10px;
  display: flex;
  gap: 25px;
  align-items: center;
  color: var(--blue);
  font-weight: 600;
  margin-top: 20px;
  padding: 0;
}
.ask-panel button .icon {
  width: 15px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 22px 52px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 190px;
  gap: 50px;
  padding: 30px 48px 55px;
  max-width: 1220px;
  margin: auto;
}
.article-column {
  min-width: 0;
}
.article-layout .breadcrumb {
  margin-bottom: 20px;
}
.article-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-toolbar > span {
  margin-right: auto;
}
.article-toolbar button {
  padding: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-toolbar .icon {
  width: 12px;
  height: 12px;
}
.prose {
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: 35px;
  line-height: 1.25;
  letter-spacing: -1.3px;
  margin-bottom: 23px;
}
.prose h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 38px 0 14px;
  letter-spacing: -0.6px;
}
.prose h3 {
  font-size: 18px;
  margin: 30px 0 12px;
  line-height: 1.5;
}
.prose p {
  margin: 15px 0;
  color: var(--muted);
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
  color: var(--muted);
}
.prose li {
  padding-left: 5px;
  margin: 9px 0;
}
.prose li > p {
  margin: 5px 0;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.7;
  margin: 23px 0;
  display: block;
  overflow: auto;
}
.prose th {
  background: var(--surface);
  text-align: left;
  color: var(--text);
  font-weight: 600;
}
.prose td,
.prose th {
  padding: 13px 15px;
  border: 1px solid var(--line);
  min-width: 100px;
}
.prose td {
  color: var(--muted);
}
.prose blockquote {
  border-left: 3px solid var(--blue);
  background: var(--blue-light);
  padding: 3px 20px;
  margin: 22px 0;
}
.prose code {
  background: var(--surface2);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
}
.prose pre {
  overflow: auto;
  background: var(--surface);
  padding: 18px;
  border-radius: 8px;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
.prose :is(h1, h2, h3) {
  scroll-margin-top: 105px;
}
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-top: 55px;
}
.toc nav {
  margin-top: 20px;
  border-left: 1px solid var(--line);
}
.toc nav a {
  display: block;
  font-size: 10px;
  color: var(--muted);
  padding: 7px 0 7px 15px;
  line-height: 1.7;
}
.toc nav a:hover {
  color: var(--blue);
}
.toc nav .depth-3 {
  padding-left: 25px;
  font-size: 9px;
}
.toc-help {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 10px;
  line-height: 1.8;
}
.toc-help > .icon {
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.toc-help b {
  font-size: 11px;
}
.toc-help p {
  color: var(--muted);
  margin: 8px 0;
}
.toc-help button {
  padding: 0;
  color: var(--blue);
  font-size: 9px;
  text-align: left;
}
.feedback {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 11px;
  margin-top: 40px;
  color: var(--muted);
}
.feedback span {
  margin-right: auto;
}
.feedback button {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 10px;
}
.page-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.page-pagination a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  font-size: 12px;
  font-weight: 600;
}
.page-pagination a:last-child {
  text-align: right;
}
.page-pagination small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 7px;
  color: var(--muted);
}
.empty-state {
  min-height: calc(100vh - 155px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 25px;
  text-align: center;
}
.empty-icon {
  width: 65px;
  height: 65px;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}
.empty-icon .icon {
  width: 30px;
  height: 30px;
}
.empty-state h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  margin: 18px 0;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--blue);
  color: white;
  border-radius: 7px;
  padding: 12px 18px;
  font-size: 12px;
  margin-top: 26px;
}
.primary .icon {
  width: 15px;
}
.empty-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
dialog {
  padding: 0;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 25px 100px #101e4933;
  width: min(650px, calc(100vw - 28px));
  max-height: 80vh;
}
dialog::backdrop {
  background: #14213d66;
  backdrop-filter: blur(5px);
}
#search-dialog {
  margin: 13vh auto auto;
}
.search-top {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}
.search-top > .icon {
  color: var(--blue);
}
.search-top input {
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
  flex: 1;
  color: var(--text);
  font-size: 14px;
}
.search-top input:focus-visible {
  outline: none;
}
.close-dialog {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--muted);
}
.search-scope {
  font-size: 10px;
  padding: 14px 23px;
  color: var(--blue);
  background: var(--surface);
}
.search-scope span {
  color: var(--muted);
}
#search-results {
  padding: 9px;
  max-height: 48vh;
  overflow: auto;
}
.result-label {
  padding: 7px 14px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: 7px;
}
.search-result.chosen {
  background: var(--blue-light);
}
.search-result small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 4px;
}
.search-result b {
  font-size: 12px;
  font-weight: 600;
}
.search-result p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
}
.search-result > .icon {
  width: 15px;
  color: var(--muted);
  margin-left: auto;
}
.result-icon {
  color: var(--blue);
}
.result-icon .icon {
  width: 18px;
}
.search-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  gap: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 13px 20px;
}
.search-footer kbd {
  margin-right: 4px;
  font-size: 9px;
}
.no-results {
  padding: 40px 24px;
  text-align: center;
}
.no-results b {
  font-size: 14px;
}
.no-results p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.visible {
  opacity: 1;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 20px;
  top: 10px;
  background: var(--blue);
  color: white;
  z-index: 100;
  padding: 12px;
  border-radius: 6px;
}
[data-theme="dark"] {
  --bg: #121722;
  --surface: #191f2d;
  --surface2: #242d40;
  --text: #e3e8f4;
  --muted: #a2acc0;
  --line: #2a3347;
  --blue: var(--secondary);
  --blue-light: #1b3045;
  color-scheme: dark;
}
[data-theme="dark"] .primary {
  background: var(--primary);
  color: white;
}
[data-theme="dark"] .orbit {
  border-color: #283956;
}
[data-theme="dark"] .art-card {
  border-color: var(--line);
}
[data-theme="dark"] .hero-search {
  border-color: var(--line);
}
[data-theme="dark"] .module-icon,
[data-theme="dark"] .ask-panel,
[data-theme="dark"] .ask-glyph {
  border-color: var(--line);
}
@media (min-width: 1550px) {
  .hero-art {
    right: 45px;
    width: 300px;
  }
  .hero {
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .module-card {
    min-height: 210px;
  }
  .module-card h3 {
    font-size: 14px;
  }
  .module-card p {
    font-size: 12px;
  }
  .home-wrap {
    padding-top: 35px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 240px;
  }
  .home-wrap {
    padding: 25px 32px 40px;
  }
  .top-note {
    display: none;
  }
  .hero-art {
    opacity: 0.6;
    right: -12px;
    transform: scale(0.8);
    transform-origin: top right;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero > p {
    max-width: 370px;
  }
  .hero-search {
    width: 470px;
  }
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 40px;
  }
  .toc {
    display: none;
  }
  .topbar {
    padding: 0 24px;
  }
  .module-card {
    min-height: 185px;
  }
  .start-strip {
    padding: 18px 15px;
  }
  .start-strip .text-link {
    font-size: 10px;
  }
  .bottom-grid {
    gap: 25px;
  }
}
@media (max-width: 950px) {
  .hero-art {
    display: none;
  }
  .hero-search {
    width: 100%;
  }
  .top-search {
    min-width: 230px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .ask-panel {
    padding: 25px;
  }
  .ask-panel h2 br {
    display: none;
  }
  .ask-panel p {
    max-width: 100%;
  }
  .start-strip {
    flex-wrap: wrap;
  }
  .start-strip .text-link {
    margin-left: 50px;
  }
  .section-heading > span {
    display: none;
  }
  .hero h1 {
    font-size: 37px;
  }
  footer {
    padding: 22px 30px;
  }
  .prose h1 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 65px;
    --sidebar: 270px;
  }
  .topbar {
    padding: 0 20px;
  }
  .brand b {
    font-size: 23px;
  }
  .brand-divider {
    margin-left: 7px;
  }
  .brandmark {
    width: 27px;
    height: 29px;
  }
  .header-actions {
    gap: 12px;
  }
  .top-search {
    min-width: unset;
    padding: 5px;
    border: 0;
  }
  .top-search span,
  .top-search kbd {
    display: none;
  }
  .mobile-menu {
    display: block;
    padding: 5px;
  }
  .theme-button {
    padding: 5px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 15px 0 35px #0e1b4214;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .home-wrap {
    padding: 24px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .hero {
    min-height: 0;
    padding: 8px 0 30px;
  }
  .hero h1 {
    font-size: 39px;
    margin-top: 17px;
  }
  .hero > p {
    max-width: 100%;
    font-size: 13px;
  }
  .start-strip {
    margin-bottom: 35px;
  }
  .module-card {
    padding: 20px;
  }
  .module-card h3 {
    font-size: 13px;
  }
  .module-card p {
    font-size: 11px;
  }
  .module-grid {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .bottom-grid {
    margin-top: 25px;
  }
  .article-layout {
    padding: 24px;
  }
  .article-toolbar {
    gap: 12px;
  }
  .prose {
    font-size: 14px;
  }
  .prose h1 {
    font-size: 31px;
  }
  .page-pagination a {
    font-size: 11px;
    padding: 13px;
  }
  footer {
    padding: 20px 24px;
  }
  .empty-state h1 {
    font-size: 30px;
  }
  .empty-state p {
    font-size: 13px;
  }
}
@media (max-width: 430px) {
  .hero h1 {
    font-size: 34px;
  }
  .home-wrap {
    padding: 22px 20px;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module-card {
    min-height: 0;
  }
  .card-top {
    margin-bottom: 12px;
  }
  .module-card p {
    margin-bottom: 15px;
  }
  .module-card .card-link {
    margin-top: 2px;
  }
  .module-card h3 {
    font-size: 14px;
  }
  .module-card p {
    font-size: 12px;
  }
  .popular {
    gap: 9px;
  }
  .popular a {
    font-size: 8px;
  }
  .brand-divider {
    margin-right: 0;
  }
  .brand {
    gap: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .docs-label {
    font-size: 13px;
  }
  .desktop-break {
    display: none;
  }
  .start-strip p {
    font-size: 11px;
  }
  .start-strip {
    align-items: flex-start;
    gap: 12px;
  }
  .start-strip > div:nth-child(2) {
    flex: 1;
  }
  .start-strip .text-link {
    margin-left: 47px;
  }
  .article-toolbar {
    font-size: 9px;
    gap: 10px;
  }
  .article-toolbar button {
    font-size: 9px;
  }
  .search-footer {
    font-size: 8px;
    padding: 12px;
  }
  .search-top {
    padding: 17px 14px;
  }
  .search-top input {
    font-size: 12px;
  }
  footer span:last-child {
    display: none;
  }
  .feedback {
    font-size: 10px;
  }
  .empty-state {
    padding: 60px 20px;
  }
  .empty-state h1 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .topbar,
  .sidebar,
  .toc,
  footer,
  .article-toolbar,
  .feedback,
  .page-pagination,
  .breadcrumb {
    display: none !important;
  }
  .workspace {
    margin: 0;
    padding: 0;
  }
  .article-layout {
    display: block;
    padding: 0;
  }
  .prose {
    font-size: 11pt;
    color: #000;
  }
  .prose p,
  .prose li,
  .prose td {
    color: #222;
  }
  .prose a {
    color: #000;
  }
  .prose h2,
  .prose h3 {
    break-after: avoid;
  }
  .prose table,
  .prose tr {
    break-inside: avoid;
  }
  body {
    background: white;
  }
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
  }
}
@media (min-width: 761px) {
  .nav-link {
    font-size: 12px;
  }
  .nav-group summary {
    font-size: 12px;
  }
  .nav-home,
  .nav-quick {
    font-size: 13px;
  }
  .module-card h3 {
    font-size: 14px;
  }
  .module-card p {
    font-size: 12px;
  }
  .card-link {
    font-size: 11px;
  }
  .guide-count {
    font-size: 10px;
  }
  .start-strip h2 {
    font-size: 14px;
  }
  .start-strip p {
    font-size: 12px;
  }
  .top-search {
    font-size: 13px;
  }
  .hero-search {
    font-size: 14px;
  }
  .popular {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .task-panel > a {
    font-size: 13px;
  }
  .task-panel > a.all-tasks {
    font-size: 12px;
  }
  .ask-panel p {
    font-size: 13px;
  }
  .ask-panel button {
    font-size: 12px;
  }
  .toc nav a {
    font-size: 12px;
  }
  .toc nav .depth-3 {
    font-size: 11px;
  }
}
.header-ask {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0;
  white-space: nowrap;
}
.header-ask .icon {
  width: 17px;
  height: 17px;
}
@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
  }
  .menu-open .sidebar {
    visibility: visible;
  }
  .header-ask span {
    display: none;
  }
  .header-ask {
    padding: 5px;
  }
  .header-actions {
    gap: 8px;
  }
}
@media print {
  .header-ask {
    display: none;
  }
}

/* Ask AI stays beside the documentation, below the shared header. */
:root { --ask-width: clamp(340px, 26.5vw, 420px); }
#ask-sidebar[hidden] { display: none; }
#ask-sidebar {
  position: fixed;
  inset: var(--header) 0 0 auto;
  width: var(--ask-width);
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 25;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 14px;
  transform: translateX(100%);
  opacity: 0;
}
.ask-sidebar-header { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ask-sidebar-header .ask-glyph { width: 34px; height: 34px; margin: 0; background: var(--blue-light); }
.ask-sidebar-header h2 { font-size: 18px; letter-spacing: -.5px; }
.ask-close { margin-left: auto; padding: 6px; color: var(--muted); }
.ask-reset { margin-left: auto; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: var(--muted); }
.ask-reset:hover { color: var(--blue); background: var(--blue-light); }
.ask-reset:not([hidden]) + .ask-close { margin-left: 0; }
.ask-sidebar-content { flex: 1; min-height: 0; overflow-y: auto; padding-top: 24px; padding-bottom: 24px; }
#ask-thread > .eyebrow:first-child { display: inline-block; margin-top: 38px; }
.ask-sidebar-content h3 { font-size: 22px; letter-spacing: -.7px; margin: 14px 0 8px; }
.ask-sidebar-content p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.ask-suggestions { margin-top: 24px; border-top: 1px solid var(--line); }
.ask-suggestions button { display: flex; text-align: left; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.ask-suggestions button:hover, .ask-sources a:hover, .ask-related a:hover { color: var(--blue); }
.ask-suggestions .icon, .ask-sources .icon, .ask-related .icon { width: 16px; flex-shrink: 0; color: var(--muted); }
/* Conversation */
.ask-message { margin-bottom: 18px; font-size: 13px; line-height: 1.7; }
.ask-user { margin-left: 15%; padding: 10px 14px; border-radius: 12px 12px 4px 12px; background: var(--surface2); }
.ask-user p { color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-tag { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.ask-source { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .3px; color: var(--blue); }
.ask-source .icon { width: 14px; }
.ask-markdown { color: var(--text); overflow-wrap: anywhere; }
.ask-markdown > * + * { margin-top: 10px; }
.ask-sidebar-content .ask-markdown p { color: var(--text); }
.ask-markdown ol, .ask-markdown ul { padding-left: 20px; }
.ask-markdown li + li { margin-top: 4px; }
.ask-markdown code { font-size: 12px; padding: 1px 5px; border-radius: 4px; background: var(--surface2); }
.ask-markdown table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 12px; }
.ask-markdown th, .ask-markdown td { padding: 6px 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ask-sources, .ask-related { margin-top: 14px; }
.ask-sources h4, .ask-related h4 { font-size: 12px; margin-bottom: 4px; color: var(--muted); }
.ask-sources a, .ask-related a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ask-sources small { color: var(--muted); font-size: 12px; }
.ask-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--blue); }
.ask-action:hover { background: var(--blue-light); border-color: var(--blue-light); }
.ask-action .icon { width: 14px; }
.ask-note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.ask-note > p { color: var(--text); }
.ask-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.ask-dots { display: inline-flex; gap: 4px; }
.ask-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); animation: ask-dot 1.2s infinite ease-in-out; }
.ask-dots i:nth-child(2) { animation-delay: .15s; }
.ask-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ask-dots i { animation: none; opacity: .6; } }
.ask-composer { flex-shrink: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; }
.ask-composer:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--blue-light); }
.ask-composer textarea { display: block; width: 100%; resize: none; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 14px; line-height: 1.6; outline: none; }
.ask-composer textarea::placeholder { color: var(--muted); }
.ask-composer-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; color: var(--muted); }
.ask-composer-footer button { border-radius: 8px; padding: 7px; background: var(--blue-light); color: var(--blue); }
.ask-composer-footer button .icon { transform: rotate(-90deg); }
.ask-composer-footer button:disabled { opacity: .45; cursor: default; }
.ask-open .header-ask { background: var(--blue-light); border-radius: 10px; padding: 10px; }
@media (min-width: 1101px) {
  .ask-open .workspace { margin-right: var(--ask-width); }
  .ask-open .hero-art { display: none; }
  .ask-open .hero-search { max-width: 100%; }
  .ask-open .article-layout { grid-template-columns: minmax(0, 1fr); }
  .ask-open .toc { display: none; }
  .ask-open .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-open .bottom-grid { grid-template-columns: 1fr; }
  .ask-open .start-strip { flex-wrap: wrap; }
}
@media (max-width: 1100px) {
  #ask-sidebar { box-shadow: -12px 0 30px #0000000a; }
}
@media (max-width: 760px) {
  #ask-sidebar { width: min(100%, 420px); }
  .ask-sidebar-content { padding-top: 32px; }
}
@media print {
  #ask-sidebar { display: none; }
  .ask-open .workspace { margin-right: 0; }
}

@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .workspace { transition: margin-right 280ms cubic-bezier(0.22, 1, 0.36, 1); }
}
