:root {
  color-scheme: dark;
  --bg: #232527;
  --sidebar: #252729;
  --surface: #2b2e31;
  --border: #3b3e41;
  --text: #eceeed;
  --muted: #afb3b5;
  --accent: #d3b878;
  --hover: #323538;
  --code: #292c2f;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff;
  --sidebar: #f8f9f9;
  --surface: #f2f4f4;
  --border: #dce0e1;
  --text: #252a2e;
  --muted: #5f676c;
  --accent: #806021;
  --hover: #e9eded;
  --code: #f4f6f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 7px 12px;
  display: inline-block;
}
button:hover,
.button:hover {
  background: var(--hover);
  text-decoration: none;
}
.primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 650;
}
.primary:hover {
  filter: brightness(0.95);
  background: var(--accent);
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
}
label {
  display: grid;
  gap: 6px;
  margin: 15px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
textarea {
  min-height: 150px;
  resize: vertical;
}
form {
  margin: 15px 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 {
  font-size: 2.55rem;
  font-weight: 700;
  margin: 8px 0 16px;
}
h2 {
  font-size: 1.45rem;
  margin: 34px 0 17px;
}
h3 {
  font-size: 1.1rem;
}
p {
  margin: 12px 0;
}
header {
  height: 65px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 20;
}
.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand span {
  font-weight: 400;
  color: var(--muted);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  object-fit: contain;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}
.header-actions a {
  color: var(--muted);
}
.header-actions button {
  border: 0;
  font-size: 1.2rem;
  padding: 3px 8px;
  background: none;
}
.search-trigger {
  width: 380px;
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 6px 12px;
  margin-left: 40px;
}
kbd {
  font-family: inherit;
  font-size: 0.73rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 5px;
  color: var(--muted);
}
.layout {
  max-width: 1660px;
  margin: auto;
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr) 215px;
  min-height: calc(100vh - 65px);
}
#sidebar {
  padding: 30px 18px 24px 23px;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
  position: sticky;
  top: 65px;
  height: calc(100vh - 65px);
  overflow-y: auto;
  scrollbar-width: thin;
  font-size: 0.85rem;
}
#sidebar a {
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--muted);
  line-height: 1.5;
}
#sidebar a:hover {
  color: var(--text);
  background: var(--hover);
  text-decoration: none;
}
#sidebar a[aria-current="page"] {
  color: var(--accent);
  background: var(--hover);
}
.nav-label {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 28px 10px 9px;
  color: var(--muted);
}
.nav-label span {
  float: right;
}
.nav-home {
  font-weight: 600;
}
.nav-group {
  border-left: 1px solid var(--border);
  margin-left: 15px;
  padding-left: 9px;
}
.nav-group > span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 10px 10px 4px;
}
#sidebar details {
  margin: 2px 0;
}
#sidebar summary {
  display: flex;
  align-items: center;
  cursor: pointer;
}
#sidebar summary:before {
  content: "›";
  color: var(--muted);
}
#sidebar details[open] > summary:before {
  transform: rotate(90deg);
}
#sidebar summary a {
  flex: 1;
  color: var(--text);
}
.sidebar-foot {
  font-size: 0.7rem;
  color: var(--muted);
  padding: 40px 10px 5px;
}
main {
  padding: 52px 54px 80px;
  min-width: 0;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.toc {
  position: sticky;
  top: 65px;
  align-self: start;
  max-height: calc(100vh - 65px);
  overflow: auto;
  padding: 47px 22px 20px 0;
  font-size: 0.78rem;
}
.toc summary {
  font-weight: 600;
  margin-bottom: 12px;
  list-style: none;
}
.toc a {
  display: block;
  color: var(--muted);
  padding: 5px 0 5px 14px;
  border-left: 1px solid var(--border);
  line-height: 1.5;
}
.toc a.h3 {
  padding-left: 24px;
}
.toc a.active {
  color: var(--accent);
  border-left: 2px solid var(--accent);
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 0 0 15px;
}
.lede {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 27px;
}
.breadcrumbs a {
  color: var(--muted);
}
.article-heading {
  padding-bottom: 25px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.version,
.badge {
  display: inline-block;
  letter-spacing: 0;
  font-size: 0.72rem;
  padding: 2px 7px;
  background: var(--surface);
  color: var(--muted);
  border-radius: 4px;
}
.version {
  margin-left: 8px;
}
.store-link {
  display: inline-block;
  font-size: 0.83rem;
  margin-top: 8px;
}
.prose {
  overflow-wrap: anywhere;
}
.prose h2,
.prose h3 {
  scroll-margin-top: 90px;
}
.prose h2 {
  margin-top: 35px;
}
.prose p,
.prose li {
  color: var(--text);
}
.prose ul,
.prose ol {
  padding-left: 23px;
}
.prose li {
  margin: 5px 0;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 22px 0;
}
.prose td,
.prose th {
  border-bottom: 1px solid var(--border);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface);
}
code,
pre,
textarea#markdown-editor {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
}
p code,
li code,
td code {
  background: var(--surface);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--accent);
}
.code-block {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--code);
  direction: ltr;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-bottom: 1px solid var(--border);
  font:
    12px Consolas,
    monospace;
  color: var(--muted);
}
.code-header button {
  padding: 3px 8px;
  font: 12px inherit;
  border: 0;
  background: transparent;
}
.code-block pre {
  padding: 18px 20px;
  margin: 0;
  overflow: auto;
  max-height: 640px;
  line-height: 1.8;
  tab-size: 2;
}
.hljs-attr,
.hljs-attribute,
.hljs-property {
  color: #a9c4db;
}
.hljs-string,
.hljs-addition {
  color: #bbccaa;
}
.hljs-number,
.hljs-literal {
  color: #d4b78a;
}
.hljs-comment {
  color: #969da2;
}
.hljs-keyword,
.hljs-selector-tag {
  color: #c8b5d3;
}
.hljs-meta {
  color: #d6c390;
}
[data-theme="light"] .hljs-attr {
  color: #345d82;
}
[data-theme="light"] .hljs-string {
  color: #436431;
}
[data-theme="light"] .hljs-number,
[data-theme="light"] .hljs-literal {
  color: #815412;
}
[data-theme="light"] .hljs-comment {
  color: #627078;
}
[data-theme="light"] .hljs-keyword {
  color: #774185;
}
blockquote,
.callout {
  padding: 13px 18px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}
.warning {
  border-color: #c0a46a;
}
.danger {
  border-color: #bf7a74;
}
.success {
  border-color: #87a58b;
}
.article-footer {
  margin-top: 55px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.77rem;
}
.home-search {
  width: 100%;
  margin: 24px 0 8px;
  text-align: left;
  padding: 15px 18px;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.home-search kbd {
  margin-left: auto;
}
.home-section {
  margin-top: 38px;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.section-title h2 {
  margin: 0 0 18px;
}
.section-title > span {
  color: var(--muted);
  font-size: 0.77rem;
}
.empty {
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.89rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 25px;
}
.plugin-card {
  display: flex;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  min-width: 0;
  position: relative;
}
.plugin-card:hover {
  text-decoration: none;
}
.plugin-card:hover h3 {
  color: var(--accent);
}
.plugin-card img,
.plugin-mark {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  object-fit: contain;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}
.plugin-card h3 {
  font-size: 0.96rem;
  margin: 0 0 5px;
}
.plugin-card p {
  font-size: 0.81rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plugin-card small {
  font-size: 0.7rem;
  color: var(--muted);
}
.arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
}
.filter-label {
  font-size: 0.75rem;
}
.filter-label input {
  padding: 8px 12px;
  font-size: 0.85rem;
}
.guide-list a,
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.guide-list a {
  font-size: 0.87rem;
}
.update-row {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.update-row time,
.update-row > span {
  font-size: 0.73rem;
  color: var(--muted);
}
.update-row p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 4px 0;
}
.update-row strong {
  font-size: 0.95rem;
}
.muted,
small {
  color: var(--muted);
}
.mobile-menu {
  display: none;
}
.skip {
  position: fixed;
  top: -80px;
  z-index: 100;
  background: var(--bg);
  padding: 12px;
}
.skip:focus {
  top: 0;
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: min(680px, calc(100% - 30px));
  padding: 20px;
  max-height: 80vh;
  top: 10vh;
  margin: 0 auto;
}
dialog::backdrop {
  background: #0008;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 1.05rem;
  margin: 0;
}
.dialog-head button {
  border: 0;
}
.search-result {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 14px 6px;
}
.search-result strong,
.search-result span,
.search-result small {
  display: block;
}
.search-result span {
  font-size: 0.8rem;
  color: var(--muted);
}
#search-results {
  max-height: 55vh;
  overflow: auto;
}
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 6px;
  background: var(--surface);
  padding: 0 15px;
  font-size: 0.85rem;
}
.admin-layout {
  grid-template-columns: 230px minmax(0, 1fr);
}
.admin-layout .toc {
  display: none;
}
.admin-layout main {
  max-width: 1250px;
}
.auth-panel {
  max-width: 420px;
  margin: 30px auto;
}
.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.stats > div {
  display: grid;
}
.stats strong {
  font-size: 2rem;
}
.stats span {
  color: var(--muted);
  font-size: 0.83rem;
}
.list-row small {
  display: block;
  font-size: 0.73rem;
}
.list-row span {
  font-size: 0.8rem;
  color: var(--muted);
}
.list-row form {
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.editor,
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 0;
}
.editor > label,
.editor > section,
.diff > section {
  min-width: 0;
}
.editor textarea {
  min-height: 620px;
  line-height: 1.7;
}
.editor > section {
  overflow: auto;
  max-height: 750px;
}
.editor h2 {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.diff pre {
  overflow: auto;
  white-space: pre-wrap;
  max-height: 450px;
  background: var(--surface);
  padding: 15px;
}
.check {
  display: flex;
  align-items: center;
}
.check input {
  width: auto;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.media-grid figure {
  margin: 0;
  min-width: 0;
}
.media-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--surface);
}
.media-grid textarea {
  min-height: 80px;
}
.admin-layout details {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
[data-drop] {
  padding: 25px;
  border: 1px dashed var(--border);
  border-radius: 8px;
}
[data-drop].dragover {
  border-color: var(--accent);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding-left: 70px;
    padding-right: 70px;
  }
  .layout {
    grid-template-columns: 285px minmax(0, 1fr) 225px;
  }
  .admin-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .toc {
    grid-column: 2;
    grid-row: 1;
    position: static;
    padding: 20px 35px 0;
  }
  .toc:empty {
    display: none;
  }
  main {
    grid-column: 2;
    padding: 35px;
  }
  .toc + main {
    padding-top: 15px;
  }
  #sidebar {
    grid-row: 1 / span 2;
  }
  .search-trigger {
    margin-left: 0;
    width: 320px;
  }
  .admin-layout main {
    grid-row: 1;
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .editor textarea {
    min-height: 400px;
  }
}
@media (max-width: 760px) {
  header {
    height: 59px;
    padding: 0 16px;
    gap: 13px;
  }
  .brand {
    font-size: 1rem;
  }
  .brand img {
    width: 22px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions a {
    font-size: 0.75rem;
  }
  .mobile-menu {
    display: block;
    padding: 3px 7px;
    border: 0;
    background: transparent;
  }
  .search-trigger {
    width: auto;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 0;
  }
  .search-trigger span {
    font-size: 0;
  }
  .search-trigger span:before {
    content: "⌕";
    font-size: 1.5rem;
  }
  .search-trigger kbd {
    display: none;
  }
  .header-actions {
    margin-left: 0;
  }
  .layout,
  .admin-layout {
    display: flex;
    flex-direction: column;
  }
  #sidebar {
    display: none;
    position: fixed;
    z-index: 30;
    top: 59px;
    left: 0;
    width: min(310px, 85vw);
    height: calc(100dvh - 59px);
    box-shadow: 15px 0 40px #0004;
  }
  #sidebar.open {
    display: block;
  }
  main {
    padding: 30px 22px 60px;
    order: 2;
  }
  .toc {
    order: 1;
    padding: 18px 22px 0;
  }
  .toc details:not([open]) {
    border-bottom: 1px solid var(--border);
  }
  .toc summary {
    list-style: disclosure-closed;
  }
  .toc details[open] summary {
    list-style: disclosure-open;
  }
  h1 {
    font-size: 2rem;
  }
  .plugin-grid {
    grid-template-columns: 1fr;
  }
  .plugin-card {
    padding: 17px 0;
  }
  .home-search {
    font-size: 0.88rem;
  }
  .form-grid,
  .diff,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 20px;
  }
  .list-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .breadcrumbs {
    font-size: 0.72rem;
  }
  .prose table {
    font-size: 0.8rem;
  }
  .code-block pre {
    padding: 15px;
    max-height: 520px;
  }
  .update-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .editor textarea {
    min-height: 350px;
  }
  .home-section {
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.12s,
      color 0.12s;
  }
}

.metadata-fields {
  display: grid;
  grid-template-columns: 2fr 1fr 100px;
  gap: 18px;
}
#sidebar .nav-group > summary {
  color: var(--muted);
  padding: 10px;
  font-size: 0.78rem;
  gap: 8px;
}
@media (max-width: 760px) {
  .metadata-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Customer documentation refinement */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}
:root {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
h1,
h2,
h3,
h4 {
  font-weight: 650;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -0.04em;
}
h2 {
  margin-top: 42px;
  font-size: 1.4rem;
}
strong {
  font-weight: 650;
}
.wordmark,
.brand .wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
}
.wordmark > span,
.brand .wordmark > span {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}
.wordmark > strong {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.045em;
}
.home-wordmark .wordmark > span {
  font-size: 18px;
}
.home-wordmark .wordmark > strong {
  font-size: 44px;
}
.home-wordmark {
  gap: 5px;
}
.workspace-brand {
  padding: 0 10px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.workspace-brand small {
  color: var(--muted);
  font-size: 11px;
}
.auth-panel > .wordmark {
  margin-bottom: 24px;
}
header {
  height: 72px;
}
#sidebar,
.toc {
  top: 72px;
  height: calc(100vh - 72px);
}
.layout {
  min-height: calc(100vh - 72px);
}
#sidebar {
  padding-top: 24px;
  font-size: 0.86rem;
}
#sidebar .plugin-name {
  display: flex;
  justify-content: flex-start;
  padding: 7px 10px;
  font-weight: 550;
}
#sidebar .active-plugin > .plugin-name {
  color: var(--text);
  font-weight: 750;
}
.plugin-chevron {
  opacity: 0.6;
}
.plugin-pages {
  margin: 6px 0 16px 12px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
#sidebar .nav-page {
  padding: 7px 10px;
}
#sidebar .nav-section summary {
  min-height: 34px;
  gap: 6px;
  font-weight: 550;
  padding-left: 0;
}
#sidebar .nav-section summary > span {
  padding: 5px 10px;
}
#sidebar .nav-section summary a {
  color: var(--muted);
}
#sidebar .nav-section[open] > summary {
  color: var(--text);
}
#sidebar .nav-section[open] > summary a {
  color: var(--text);
}
.nav-children {
  margin: 3px 0 8px 10px;
  padding-left: 9px;
  border-left: 1px solid var(--border);
  font-size: 0.8rem;
}
#sidebar a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
  box-shadow: inset 2px 0 var(--accent);
}
.header-actions .panel-link {
  color: var(--text);
  font-weight: 600;
}
main {
  padding-top: 40px;
}
.prose {
  font-size: 1rem;
  line-height: 1.85;
}
.prose > p,
.prose > ul,
.prose > ol {
  max-width: 68ch;
}
.prose li {
  margin: 7px 0;
}
.prose h2 {
  padding-top: 8px;
}
.breadcrumbs {
  font-size: 0.73rem;
  gap: 8px;
  margin-bottom: 25px;
}
.article-heading {
  margin-bottom: 30px;
}
.eyebrow {
  margin-bottom: 8px;
  font-weight: 600;
}
.reference-table {
  margin: 22px 0;
  min-width: 0;
}
.reference-filter {
  max-width: 390px;
  font-size: 0.78rem;
  gap: 7px;
}
.reference-filter input {
  padding: 9px 12px;
  font-size: 0.86rem;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.prose .table-scroll table {
  display: table;
  width: 100%;
  margin: 0;
  border: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}
.prose th {
  font-weight: 650;
  text-align: left;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
}
.prose td,
.prose th {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  vertical-align: top;
}
.prose tbody tr:last-child td {
  border-bottom: 0;
}
.prose tbody tr:hover {
  background: var(--surface);
}
.prose tr[hidden] {
  display: none;
}
.copy-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.copy-value code {
  white-space: nowrap;
  background: transparent;
  padding: 0;
}
.copy-value button {
  font-size: 10px;
  padding: 1px 4px;
  border: 0;
  color: var(--muted);
  background: transparent;
}
.copy-value button:hover {
  color: var(--accent);
}
.code-block {
  border-radius: 9px;
}
.code-block pre {
  font-size: 12px;
  line-height: 1.9;
}
.code-header {
  font-size: 0.73rem;
}
.file-location,
.annotated-config {
  margin: 26px 0;
}
.file-location {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--code);
  font-size: 0.83rem;
}
.file-location figcaption {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.file-location figcaption span {
  float: right;
  font-weight: 400;
  letter-spacing: 0;
}
.folder-path {
  font-family: monospace;
  margin-top: 16px;
}
.file-location ul {
  list-style: none;
  margin: 9px 0 0 9px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
.file-location li {
  padding: 3px 8px;
  margin: 0;
}
.file-location li code {
  background: transparent;
  padding: 0;
}
.file-location li span {
  color: var(--accent);
  margin-left: 14px;
  font-size: 0.73rem;
}
.selected-file {
  background: var(--hover);
  border-radius: 4px;
}
.annotation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.6fr);
}
.annotation-layout pre {
  min-width: 0;
  margin: 0;
  padding: 18px 12px;
}
.code-line {
  padding: 3px 6px;
}
.highlight-line {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: inset 2px 0 var(--accent);
}
.prose .annotations {
  list-style: none;
  border-left: 1px solid var(--border);
  margin: 0;
  padding: 15px;
  font-size: 0.76rem;
  line-height: 1.6;
}
.annotations li {
  margin: 0 0 16px;
}
.annotations li:last-child {
  margin-bottom: 0;
}
.annotations li span {
  display: block;
  color: var(--accent);
  font-size: 0.69rem;
  margin-bottom: 4px;
}
.annotated-config figcaption {
  padding: 8px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
}
@media (max-width: 1100px) {
  .search-trigger {
    margin-left: 5px;
  }
}
@media (max-width: 760px) {
  header {
    gap: 10px;
    padding: 0 14px;
  }
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 19px;
  }
  .brand .wordmark > span {
    font-size: 9px;
  }
  .brand .wordmark > strong {
    font-size: 18px;
  }
  .header-actions {
    gap: 10px;
    font-size: 11px;
  }
  .header-actions a {
    display: inline;
  }
  .header-actions button {
    padding: 3px;
  }
  #sidebar {
    top: 72px;
  }
  .toc {
    height: auto;
  }
  main {
    padding-top: 28px;
  }
  .annotation-layout {
    grid-template-columns: 1fr;
  }
  .prose .annotations {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .prose .annotations li {
    margin-bottom: 8px;
  }
  .file-location {
    padding: 15px;
  }
  .file-location li span {
    display: block;
    margin-left: 0;
  }
  .breadcrumbs {
    font-size: 0.7rem;
  }
  .prose {
    font-size: 0.95rem;
  }
}

/* Launch UX: readable type, explicit categories and disclosure-only navigation. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
:root {
  font-family: Inter, Arial, sans-serif;
  --accent: #e3b883;
  font-size: 16px;
}
:root[data-theme="light"] {
  --accent: #8b511e;
}
h1 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
h2 {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
h3 {
  font-size: 21px;
  font-weight: 600;
}
.prose {
  line-height: 1.8;
}
.prose h2 {
  font-size: 28px;
  margin: 52px 0 22px;
  padding-top: 0;
}
.prose h3 {
  margin-top: 30px;
}
.prose > p,
.prose > ul,
.prose > ol {
  max-width: 66ch;
}
.article-heading {
  padding-bottom: 22px;
  margin-bottom: 26px;
}
.article-heading h1 {
  margin-bottom: 4px;
}
.article-heading .eyebrow {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
#sidebar {
  font-size: 14px;
  padding: 24px 18px;
}
#sidebar a[aria-current="page"] {
  box-shadow: none;
  background: transparent;
  color: var(--text);
  font-weight: 650;
  border-radius: 0;
}
#sidebar a[aria-current="page"]::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  margin-left: 10px;
  vertical-align: middle;
}
#sidebar .catalog-group {
  margin: 25px 0;
}
#sidebar .catalog-group > summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 7px;
  gap: 9px;
}
.category-count {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: auto;
  min-width: 24px;
  padding: 2px 6px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  line-height: 1.5;
}
#sidebar summary {
  direction: ltr;
  text-align: left;
  list-style: none;
}
#sidebar summary::-webkit-details-marker {
  display: none;
}
#sidebar summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 4px;
  flex-shrink: 0;
  opacity: 0.75;
}
#sidebar details[open] > summary::before {
  transform: rotate(45deg);
}
#sidebar summary:hover {
  color: var(--text);
  background: var(--hover);
  border-radius: 4px;
}
#sidebar .plugin-name {
  display: flex;
  align-items: center;
  min-height: 40px;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 9px 9px;
  font-weight: 450;
  color: var(--muted);
}
#sidebar .active-plugin > .plugin-name {
  font-weight: 650;
  color: var(--text);
}
#sidebar .plugin-nav {
  margin: 1px 0;
}
.plugin-pages {
  margin: 2px 0 12px 16px;
  padding-left: 10px;
}
#sidebar .nav-page {
  font-size: 13px;
  padding: 7px 8px;
  line-height: 1.5;
}
#sidebar .nav-section summary {
  font-size: 13px;
  min-height: 34px;
  padding: 4px 8px;
  gap: 4px;
  color: var(--muted);
}
#sidebar .nav-section summary > span {
  padding: 0 3px;
}
.nav-children {
  margin: 0 0 8px 11px;
  padding-left: 7px;
}
#sidebar .nav-children .nav-page {
  font-size: 12px;
}
.nav-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 0 12px 0 21px;
}
.nav-label {
  letter-spacing: 0.06em;
  margin-left: 8px;
}
.catalog-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--border);
  margin: 26px 0;
}
.catalog-tabs a {
  color: var(--muted);
  padding: 10px 0 13px;
  font-size: 15px;
  font-weight: 550;
}
.catalog-tabs a[aria-current="page"] {
  color: var(--text);
  border-bottom: 2px solid var(--text);
}
.catalog-tabs a:hover {
  color: var(--text);
  text-decoration: none;
}
.update-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 5px 9px;
  background: #b65028;
  color: #fff4ec;
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.update-row time {
  color: #efb392;
  font-size: 12px;
}
:root[data-theme="light"] .update-row time {
  color: #9a3e19;
}
.plugin-card {
  padding: 22px 0;
}
.plugin-card h3 {
  font-size: 18px;
  font-weight: 600;
}
.plugin-card p {
  font-size: 14px;
  line-height: 1.6;
}
.plugin-card .arrow {
  margin-left: auto;
  font-size: 17px;
}
.section-title h2 {
  font-size: 28px;
}
.home-wordmark .wordmark > strong {
  font-size: 48px;
}
.home-intro {
  font-size: 17px;
  color: var(--muted);
}
.setups-empty {
  margin: 45px 0;
  max-width: 55ch;
}
.setups-empty p {
  color: var(--muted);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 650;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  vertical-align: 4px;
  color: var(--muted);
  letter-spacing: 0;
}
.code-header button,
.copy-value button {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  line-height: 1.4;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  white-space: nowrap;
}
.code-header button:hover,
.copy-value button:hover {
  background: var(--hover);
  border-color: var(--muted);
  color: var(--text);
}
.code-header {
  font-size: 12px;
  padding: 10px 14px;
}
.code-block pre {
  font-size: 13px;
  line-height: 1.85;
}
.annotated-config {
  background: transparent;
  border: 0;
  overflow: visible;
}
.annotated-config .code-header {
  border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  background: var(--code);
}
.annotation-layout {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: start;
  margin-top: 0;
}
.annotation-layout pre {
  background: var(--code);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  padding: 18px 0;
}
.annotation-layout code {
  white-space: normal;
  display: block;
  min-width: max-content;
}
.code-line {
  display: block;
  white-space: pre;
  padding: 2px 16px;
  min-height: 26px;
}
.highlight-line {
  background: #715026;
  box-shadow: inset 4px 0 #f6be66;
  color: #fff;
}
.highlight-line .hljs-attr,
.highlight-line .hljs-string,
.highlight-line .hljs-number {
  color: #fff2d7;
}
:root[data-theme="light"] .highlight-line {
  background: #ffe5ad;
  box-shadow: inset 4px 0 #b76b05;
  color: #302411;
}
:root[data-theme="light"] .highlight-line .hljs-attr,
:root[data-theme="light"] .highlight-line .hljs-string {
  color: #4f310a;
}
.annotation-notes {
  padding: 16px 0;
}
.prose .annotation-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.prose .annotations {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.prose .annotations li {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}
.annotations li .annotation-arrow {
  font-size: 25px;
  color: #edb666;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
}
.annotations strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}
.annotations p {
  margin: 4px 0 0;
  color: var(--muted);
}
.annotated-config figcaption {
  border: 0;
  padding: 10px 0;
  font-size: 11px;
}
@media (max-width: 1100px) {
  .annotation-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .annotation-notes {
    padding: 20px 0 0;
  }
  .annotations li .annotation-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 760px) {
  h1 {
    font-size: 36px;
  }
  .prose h2,
  .section-title h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 19px;
  }
  .prose {
    font-size: 15px;
  }
  .prose h2 {
    margin-top: 38px;
  }
  .step-number {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    vertical-align: 2px;
  }
  .header-actions {
    font-size: 11px;
    gap: 9px;
  }
  .update-badge {
    margin-left: 5px;
    font-size: 10px;
  }
  .section-title {
    flex-wrap: wrap;
    gap: 0;
  }
  .home-wordmark .wordmark > strong {
    font-size: 40px;
  }
}
