:root {
  --bg: #f4f6fa;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #d9dee7;
  --brand: #166534;
  --brand-2: #0f766e;
  --accent: #b45309;
  --danger: #b42318;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-html {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: #f3f6fb;
}
.public {
  background: #fff;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}
button.ghost, .button.ghost {
  color: var(--brand);
  background: #fff;
}
button.danger {
  background: #fff;
  color: var(--danger);
  border-color: #f0b5ae;
}
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
button .ti,
.button .ti {
  font-size: 18px;
  line-height: 1;
}
.submit-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: submit-spin .75s linear infinite;
}
@keyframes submit-spin {
  to { transform: rotate(360deg); }
}
.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand, .admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand {
  font-size: 16px;
  color: #182230;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 101, 52, .18);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.locale-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}
.locale-switch > .ti {
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
}
.locale-switch a,
.locale-switch summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.locale-switch a {
  padding: 0 10px;
}
.locale-switch a:hover,
.locale-switch a.active,
.locale-switch[open] summary {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
}
.locale-badge {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.locale-switch-icons {
  gap: 9px;
}
.locale-switch-icons > .ti {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, #fff);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}
.locale-switch-icons a {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, #fff);
  background: color-mix(in srgb, var(--brand) 5%, #fff);
  color: var(--brand);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
}
.locale-switch-icons a:hover,
.locale-switch-icons a.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.locale-switch-icons .locale-badge {
  width: auto;
  height: auto;
  min-width: 18px;
  background: transparent;
  color: inherit;
  font-size: 10px;
  letter-spacing: 0;
}
.locale-switch-dropdown {
  padding-left: 18px;
}
.locale-switch-dropdown summary {
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
}
.locale-switch-dropdown summary::-webkit-details-marker {
  display: none;
}
.locale-switch-dropdown summary .ti {
  color: var(--brand);
  font-size: 18px;
}
.locale-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 178px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}
.locale-menu a {
  justify-content: flex-start;
  padding: 0 10px;
  border-radius: 8px;
}
main { width: min(1160px, 90vw); margin: 0 auto; }
.home-hero {
  min-height: 390px;
  padding: 54px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 330px;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  gap: 48px;
}
.hero-copy {
  display: grid;
  gap: 18px;
}
.eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}
h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  color: #101828;
}
h2 { margin: 0 0 14px; font-size: 24px; }
.search-box {
  display: flex;
  width: min(780px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(15, 23, 42, .10);
  position: relative;
  overflow: visible;
}
.search-box input {
  flex: 1;
  border: 0;
  min-height: 62px;
  padding: 0 20px;
  outline: none;
  font-size: 15px;
}
.search-box button {
  min-height: 62px;
  border-radius: 0 9px 9px 0;
  border: 0;
  padding: 0 28px;
}
.suggestions[hidden] { display: none; }
.suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.suggestions a {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 6px;
}
.suggestions a:hover {
  background: #f3f7f5;
}
.suggestions small {
  color: var(--muted);
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  max-width: 820px;
}
.quick-links span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}
.quick-links a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  color: #475467;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .04);
}
.quick-links a:hover {
  border-color: rgba(22, 101, 52, .35);
  color: var(--brand);
  transform: translateY(-1px);
}
.hero-panel {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.hero-panel-top {
  display: flex;
  gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f6;
}
.hero-panel-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c9d5e5;
}
.hero-panel-top span:first-child {
  background: var(--brand);
}
.hero-panel-row {
  height: 16px;
  width: 74%;
  border-radius: 999px;
  background: #e8eef5;
}
.hero-panel-row.wide {
  width: 92%;
  height: 22px;
  background: #dcefe5;
}
.hero-panel-row.short {
  width: 52%;
}
.hero-panel-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.hero-panel-mini span {
  height: 74px;
  border-radius: 10px;
  border: 1px solid #e1e7ef;
  background:
    linear-gradient(180deg, #ffffff 0, #f5f8fb 100%);
}
.section {
  padding: 30px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.category-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 188px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.category-card:hover {
  border-color: rgba(22, 101, 52, .32);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}
.category-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #d7eadf;
  background:
    linear-gradient(180deg, rgba(22, 101, 52, .12), rgba(22, 101, 52, .04));
  position: relative;
}
.category-icon::before,
.category-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}
.category-icon::before { top: 12px; }
.category-icon::after { top: 21px; opacity: .55; }
.category-card:hover .category-icon {
  border-color: rgba(22, 101, 52, .34);
}
.category-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.category-card p, .lead {
  color: var(--muted);
  line-height: 1.7;
}
.article-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.article-links a {
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0;
  border-top: 1px solid #f0f3f7;
}
.article-links a:hover, .tree a:hover, .article-row:hover span, .search-result:hover strong {
  color: var(--brand);
}
.layout {
  padding: 36px 0;
}
.docs-layout {
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr) 300px;
  gap: 0;
  align-items: start;
}
.category-layout {
  grid-template-columns: 304px minmax(0, 1fr);
}
@media (min-width: 961px) {
  .docs-layout.doc-layout-standard {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: 264px minmax(0, 860px) 232px;
    gap: 24px;
  }
  .docs-layout.category-layout.doc-layout-standard {
    grid-template-columns: 264px minmax(0, 980px);
  }
  .docs-layout.doc-layout-wide {
    width: min(1680px, calc(100% - 40px));
    margin: 0 auto;
    grid-template-columns: 280px minmax(0, 1fr) 260px;
    gap: 28px;
  }
  .docs-layout.category-layout.doc-layout-wide {
    grid-template-columns: 280px minmax(0, 1180px);
  }
  .docs-layout.doc-layout-api {
    width: min(1880px, calc(100% - 32px));
    margin: 0 auto;
    grid-template-columns: 284px minmax(0, 1fr) 260px;
    gap: 28px;
  }
  .docs-layout.category-layout.doc-layout-api {
    grid-template-columns: 284px minmax(0, 1320px);
  }
  .docs-layout.doc-layout-standard .article-content {
    max-width: 860px;
  }
  .docs-layout.doc-layout-wide .article-content {
    max-width: 1080px;
  }
  .docs-layout.doc-layout-api .article-content {
    max-width: 1240px;
  }
  .docs-layout.doc-layout-standard .doc-content,
  .docs-layout.doc-layout-wide .doc-content,
  .docs-layout.doc-layout-api .doc-content {
    padding-left: clamp(34px, 3vw, 56px);
    padding-right: clamp(34px, 3vw, 56px);
  }
  .docs-layout.doc-layout-api .doc-content {
    padding-left: clamp(34px, 2.4vw, 48px);
    padding-right: clamp(34px, 2.4vw, 48px);
  }
  .docs-layout.doc-layout-api .doc-content .lead {
    max-width: 920px;
  }
  .docs-layout.doc-layout-wide .rich-body,
  .docs-layout.doc-layout-api .rich-body,
  .docs-layout.doc-layout-wide .share-strip,
  .docs-layout.doc-layout-api .share-strip,
  .docs-layout.doc-layout-wide .article-feedback,
  .docs-layout.doc-layout-api .article-feedback,
  .docs-layout.doc-layout-wide .related-section,
  .docs-layout.doc-layout-api .related-section {
    max-width: none;
  }
}
.doc-menu-toggle {
  display: none;
}
.doc-sidebar, .outline {
  position: sticky;
  top: 56px;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-height: calc(100vh - 56px);
  overflow: auto;
}
.doc-sidebar {
  height: calc(100vh - 56px);
  padding: 24px 20px 28px 22px;
  border-right: 1px solid #e5eaf2;
}
.outline {
  top: 76px;
  max-height: calc(100vh - 96px);
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 0 28px 24px 10px;
  font-size: 14px;
  color: #344054;
  overflow: hidden;
}
.outline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.outline-list {
  display: grid;
  gap: 4px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 101, 52, .34) transparent;
}
.outline strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
}
.outline-head strong {
  margin-bottom: 0;
}
.outline strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #98a2b3;
  border-bottom: 2px solid #98a2b3;
  transform: rotate(-45deg);
}
.outline-toggle {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #d7e2ee;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.outline-toggle:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, #d7e2ee);
  background: color-mix(in srgb, var(--brand) 7%, #fff);
}
.outline.is-collapsed .outline-list a.is-overflow {
  display: none;
}
.outline a {
  display: block;
  color: #475467;
  line-height: 1.55;
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
}
.outline a:hover {
  color: var(--brand);
}
.outline a.is-active {
  color: var(--brand);
  font-weight: 800;
  border-left-color: var(--brand);
  background: rgba(22, 101, 52, .08);
}
.outline a.level-3.is-active {
  color: var(--brand);
}
.outline .level-3 { padding-left: 14px; color: var(--muted); }
.back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: #344054;
  font-weight: 500;
  font-size: 14px;
}
.tree, .tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree ul {
  padding-left: 10px;
  margin: 4px 0 6px 10px;
  border-left: 1px solid #edf1f6;
}
.tree li { margin: 2px 0; }
.tree a {
  display: block;
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 6px;
}
.tree > li > a {
  color: #344054;
  font-weight: 750;
}
.tree a:hover {
  background: #eef6ff;
  color: var(--brand);
}
.tree a.is-active {
  background: #eaf3ff;
  color: var(--brand);
  font-weight: 850;
}
.tree li.is-current > a {
  background: #eaf3ff;
  color: var(--brand);
}
.tree li.has-current > a {
  color: var(--brand);
}
.doc-content, .content-wide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}
.docs-layout .doc-content {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 48px clamp(34px, 5vw, 64px) 40px;
}
.article-content {
  max-width: 980px;
}
.category-content {
  max-width: 1160px;
}
.content-wide {
  width: min(900px, 100%);
  margin: 0 auto;
}
.breadcrumb, .meta, .result-category {
  color: var(--muted);
  font-size: 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.breadcrumb a {
  color: #475467;
}
.breadcrumb a:hover {
  color: var(--brand);
}
.doc-content .breadcrumb {
  margin-bottom: 24px;
}
.doc-content h1 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.15;
  color: #050816;
}
.doc-content h2 {
  margin-top: 40px;
  margin-bottom: 18px;
  font-size: 22px;
  color: #050816;
}
.doc-content .lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: #475467;
  line-height: 1.75;
  font-size: 17px;
}
.article-content > .rich-body {
  margin-top: 30px;
}
.article-content > .lead + .rich-body {
  margin-top: 26px;
}
.article-list, .search-results {
  display: grid;
  gap: 10px;
}
.subcat-grid,
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}
.category-content .article-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.subcat-card,
.article-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  font-weight: 780;
  transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.subcat-card::after {
  content: "›";
  color: #98a2b3;
  font-size: 24px;
  font-weight: 300;
}
.article-card b {
  color: #98a2b3;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}
.subcat-card:hover,
.article-card:hover {
  border-color: #bcd2f7;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  color: var(--brand);
}
.article-row, .search-result {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.article-row:hover, .search-result:hover {
  border-color: rgba(22, 101, 52, .30);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.article-row span, .search-result strong {
  font-weight: 760;
}
.article-row small {
  color: var(--muted);
}
.search-result mark {
  border-radius: 4px;
  padding: 0 3px;
  background: #fff3bf;
  color: #7a4b00;
}
.search-result .result-category mark {
  background: #dbeafe;
  color: #1d4ed8;
}
.rich-body {
  max-width: 860px;
  color: #101828;
  line-height: 1.82;
  font-size: 16px;
}
.rich-body > :first-child {
  margin-top: 0;
}
.rich-body > :last-child {
  margin-bottom: 0;
}
.rich-body h1 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}
.rich-body h2,
.rich-body h3 {
  scroll-margin-top: 90px;
  line-height: 1.34;
  letter-spacing: 0;
}
.rich-body h2 {
  margin: 38px 0 14px;
  font-size: 26px;
}
.rich-body h3 {
  margin: 30px 0 12px;
  font-size: 20px;
}
.rich-body p {
  margin: 0 0 16px;
}
.rich-body ul,
.rich-body ol {
  margin: 10px 0 20px;
  padding-left: 24px;
}
.rich-body li {
  margin: 7px 0;
  padding-left: 2px;
}
.rich-body li::marker {
  color: var(--brand);
  font-weight: 800;
}
.rich-body a {
  color: var(--brand);
  text-underline-offset: 3px;
}
.rich-body img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.rich-body img.is-zoomable {
  cursor: zoom-in;
  transition: transform .16s ease, box-shadow .16s ease;
}
.rich-body img.is-zoomable:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
}
.rich-body .md-callout,
.markdown-preview-body .md-callout {
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 1px solid #cfe0f3;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #f7fbff;
}
.rich-body .md-callout strong,
.markdown-preview-body .md-callout strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
}
.rich-body .md-callout-body > :last-child,
.markdown-preview-body .md-callout-body > :last-child,
.rich-body .md-api-content > :last-child,
.markdown-preview-body .md-api-content > :last-child {
  margin-bottom: 0;
}
.rich-body .md-callout-warning,
.markdown-preview-body .md-callout-warning {
  border-color: #fed7aa;
  border-left-color: #f97316;
  background: #fff7ed;
}
.rich-body .md-api-block,
.markdown-preview-body .md-api-block {
  overflow: hidden;
  margin: 18px 0 24px;
  border: 1px solid #cbd8e6;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.rich-body .md-api-label,
.markdown-preview-body .md-api-label {
  padding: 9px 14px;
  border-bottom: 1px solid #d8e2eb;
  background: #edf5fb;
  color: #184e77;
  font-size: 13px;
  font-weight: 850;
}
.rich-body .md-api-content,
.markdown-preview-body .md-api-content {
  padding: 14px 16px 16px;
}
.rich-body .md-api-endpoint,
.markdown-preview-body .md-api-endpoint {
  border-color: #b7d4f5;
}
.rich-body .md-api-endpoint .md-api-label,
.markdown-preview-body .md-api-endpoint .md-api-label {
  background: #eaf3ff;
  color: #0b63ce;
}
.rich-body .md-api-params .md-api-label,
.markdown-preview-body .md-api-params .md-api-label {
  background: #eff8f2;
  color: #166534;
}
.rich-body .md-api-response .md-api-label,
.markdown-preview-body .md-api-response .md-api-label {
  background: #f4f1ff;
  color: #5b21b6;
}
.rich-body .md-api-content .md-table-wrap,
.markdown-preview-body .md-api-content .md-table-wrap,
.rich-body .md-api-content pre,
.markdown-preview-body .md-api-content pre {
  margin-bottom: 0;
}
.rich-body pre,
.markdown-preview-body pre {
  position: relative;
  overflow: auto;
  margin: 14px 0 22px;
  padding: 42px 18px 18px;
  border: 1px solid #cbd8e6;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: linear-gradient(180deg, #eef5fb 0%, #e8f0f6 100%);
  color: #17456f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  line-height: 1.7;
}
.rich-body pre::before,
.markdown-preview-body pre::before {
  content: attr(data-lang);
  position: absolute;
  top: 9px;
  left: 16px;
  color: #426786;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: lowercase;
}
.rich-body pre:not([data-lang])::before,
.markdown-preview-body pre:not([data-lang])::before {
  content: "code";
}
.code-copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #aebfce;
  border-radius: 6px;
  background: rgba(255, 255, 255, .78);
  color: #31546f;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.code-copy-button:hover {
  border-color: #7c98ad;
  background: #fff;
}
.code-copy-button:disabled {
  opacity: .72;
}
.rich-body code,
.markdown-preview-body code {
  border: 1px solid #d8e2eb;
  border-radius: 5px;
  background: #eef5fa;
  color: #245f92;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
}
.rich-body pre code,
.markdown-preview-body pre code {
  display: block;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  white-space: pre;
  font-size: 14px;
  line-height: 1.72;
}
.rich-body .md-table-wrap,
.markdown-preview-body .md-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 18px 0 24px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset -14px 0 16px rgba(15, 23, 42, .04);
  scrollbar-width: thin;
}
.rich-body table,
.markdown-preview-body table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}
.rich-body th,
.rich-body td,
.markdown-preview-body th,
.markdown-preview-body td {
  padding: 13px 15px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5eaf2;
  text-align: left;
  vertical-align: top;
}
.rich-body th,
.markdown-preview-body th {
  background: #f4f6f8;
  color: #0f172a;
  font-weight: 800;
}
.rich-body tr:last-child td,
.markdown-preview-body tr:last-child td {
  border-bottom: 0;
}
.rich-body th:last-child,
.rich-body td:last-child,
.markdown-preview-body th:last-child,
.markdown-preview-body td:last-child {
  border-right: 0;
}
.rich-body td code,
.markdown-preview-body td code {
  white-space: nowrap;
}
.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.prev-next a {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 82px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #101828;
  transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.prev-next a:hover {
  border-color: #bcd2f7;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
  color: var(--brand);
}
.prev-next .prev-link {
  padding-left: 58px;
}
.prev-next .next-link {
  text-align: right;
  padding-right: 58px;
}
.prev-next .prev-link::before,
.prev-next .next-link::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.prev-next .prev-link::before {
  content: "←";
  left: 20px;
}
.prev-next .next-link::after {
  content: "→";
  right: 20px;
}
.prev-next span {
  font-weight: 750;
}
.prev-next small { color: var(--muted); display: block; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(9, 17, 34, .84);
}
.image-lightbox[hidden] {
  display: none;
}
.image-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}
.image-lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
body.lightbox-open {
  overflow: hidden;
}
.share-strip {
  max-width: 820px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.share-strip span {
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}
.share-strip button {
  min-height: 32px;
  padding: 0 12px;
  border-color: #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 13px;
}
.share-strip button:hover {
  border-color: #bcd2f7;
  color: var(--brand);
}
.article-feedback {
  max-width: 820px;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.article-feedback strong {
  color: #101828;
}
.article-feedback div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article-feedback button {
  min-height: 34px;
  border-color: #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 13px;
}
.article-feedback button:hover {
  border-color: rgba(22, 101, 52, .3);
  color: var(--brand);
}
.article-feedback p {
  flex-basis: 100%;
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.article-feedback form {
  flex-basis: 100%;
  display: grid;
  gap: 10px;
}
.article-feedback form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
}
.article-feedback textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #101828;
  font: inherit;
}
.article-feedback.is-submitted {
  border-color: rgba(22, 101, 52, .22);
  background: #f3faf5;
}
.related-section {
  max-width: 820px;
  margin-top: 36px;
}
.related-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  position: relative;
  transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.related-card::after {
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: #98a2b3;
}
.related-card:hover {
  border-color: rgba(22, 101, 52, .28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  color: var(--brand);
}
.related-card:hover::after {
  color: var(--brand);
}
.related-card strong {
  line-height: 1.4;
}
.related-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.not-found-page {
  display: grid;
  gap: 18px;
}
.not-found-page h1 {
  margin-bottom: 0;
}
.not-found-actions {
  display: flex;
  gap: 10px;
}
.article-updated {
  max-width: 820px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
}
.site-footer {
  width: min(1120px, 90vw);
  margin: 42px auto 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.footer-html {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-html a {
  color: var(--brand);
  font-weight: 700;
}
.footer-html strong {
  color: var(--text);
}
.empty { color: var(--muted); }
mark { background: #fef3c7; color: #92400e; padding: 0 2px; }

/* Public home: AdsPower-style help-center layout. */
.public .site-header {
  min-height: 56px;
  padding: 0 26px;
  background: #fff;
  border-bottom: 1px solid #e5eaf2;
  box-shadow: none;
}
.public .brand {
  gap: 12px;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
}
.public .brand-mark,
.public .brand img {
  width: 39px;
  height: 39px;
  border-radius: 6px;
}
.public .top-nav {
  gap: 30px;
  color: #111827;
  font-size: 15px;
}
.header-search {
  width: 180px;
  position: relative;
}
.header-search::before {
  content: "⌕";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  font-size: 17px;
  pointer-events: none;
}
.header-search input {
  height: 38px;
  min-height: 0;
  padding: 0 12px 0 34px;
  border-color: #dfe5ee;
  border-radius: 6px;
  background: #f8fafc;
  color: #344054;
  font-size: 14px;
}
.header-search input:focus {
  background: #fff;
}
.public .locale-switch {
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid #e5eaf2;
  color: #344054;
}
.home-main {
  width: 100%;
}
.home-main .section {
  width: min(1416px, calc(100% - 38px));
  margin: 0 auto;
  padding: 38px 0 4px;
}
.home-hero {
  width: 100%;
  min-height: 350px;
  padding: 0 19px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  background: var(--brand);
}
.hero-inner {
  width: min(700px, 100%);
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-top: 10px;
}
.home-hero h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 500;
}
.search-prefix {
  width: 54px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 23px;
}
.home-hero .search-box {
  width: min(700px, 100%);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(7, 49, 120, .18);
}
.home-hero .search-box input {
  min-height: 58px;
  padding-left: 0;
}
.home-hero .search-box button {
  min-height: 58px;
  min-width: 72px;
  background: #fff;
  color: var(--brand);
  border-radius: 0 4px 4px 0;
}
.home-hero .quick-links {
  width: 100%;
  gap: 10px;
}
.home-hero .quick-links span {
  color: #fff;
  font-weight: 600;
}
.home-hero .quick-links a {
  border: 0;
  background: rgba(255,255,255,.22);
  color: #fff;
  box-shadow: none;
}
.home-hero .quick-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.30);
  transform: none;
}
.featured-section {
  padding-top: 56px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.featured-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid #edf0f4;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
  color: #344054;
  font-size: 16px;
}
.featured-card b {
  font-size: 30px;
  line-height: 1;
  color: #1f2937;
  font-weight: 300;
}
.featured-card:hover,
.home-main .category-card:hover {
  border-color: #d8e3f4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
  transform: none;
}
.home-main .section-head h2 {
  font-size: 24px;
  font-weight: 850;
  color: #050816;
}
.home-main .category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 54px;
}
.home-main .category-card {
  min-height: 314px;
  border-radius: 2px;
  padding: 28px 24px 18px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, .08);
}
.home-main .category-title {
  font-size: 22px;
  margin-bottom: 12px;
}
.home-main .category-card p {
  margin: 0 0 10px;
}
.home-main .article-links {
  gap: 6px;
  margin-top: 8px;
}
.home-main .article-links a {
  border-top: 0;
  padding: 5px 0 5px 18px;
  color: #344054;
  position: relative;
}
.home-main .article-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  position: absolute;
  left: 2px;
  top: 15px;
  background: #344054;
}
.more-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--brand);
  font-weight: 750;
  font-size: 14px;
}

/* Public template: documentation reading layout. */
.theme-docs {
  background: #fbfcfe;
}
.theme-docs .site-header {
  min-height: 58px;
  border-bottom: 1px solid #e5eaf2;
  background: rgba(255,255,255,.96);
}
.theme-docs .brand {
  font-size: 22px;
}
.theme-docs .brand-mark,
.theme-docs .brand img {
  width: 34px;
  height: 34px;
}
.theme-docs .docs-layout {
  background: #fff;
}
.theme-docs .doc-sidebar {
  background: #fbfcfe;
}
.theme-docs .doc-content {
  background: #fff;
}
.theme-docs .outline {
  background: #fbfcfe;
}
.docs-home {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: calc(100vh - 58px);
  background: #fff;
}
.docs-home-sidebar {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow: auto;
  padding: 28px 20px;
  border-right: 1px solid #e5eaf2;
  background: #fbfcfe;
}
.docs-home-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}
.docs-home-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #344054;
}
.docs-home-sidebar a:hover {
  background: #eef4ff;
  color: var(--brand);
}
.docs-home-sidebar span,
.docs-category-title span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  flex: 0 0 auto;
}
.docs-home-content {
  min-width: 0;
  padding: 52px clamp(30px, 5vw, 72px) 64px;
}
.docs-home-head {
  max-width: 860px;
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}
.docs-home-head > span {
  color: var(--brand);
  font-weight: 850;
}
.docs-home-head h1 {
  font-size: 46px;
}
.docs-home-head .search-box {
  width: min(720px, 100%);
}
.docs-home-section {
  max-width: 1040px;
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.docs-featured-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.docs-featured-list a,
.docs-category-block {
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}
.docs-featured-list a {
  display: grid;
  gap: 7px;
  padding: 18px;
}
.docs-featured-list a:hover,
.docs-category-block:hover {
  border-color: #c8d8f4;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}
.docs-featured-list small,
.docs-category-block p {
  color: #667085;
  line-height: 1.6;
}
.docs-category-list {
  display: grid;
  gap: 14px;
}
.docs-category-block {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.docs-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.docs-category-block div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.docs-category-block div:last-child a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #344054;
  font-size: 13px;
}
.docs-category-block div:last-child a:hover {
  color: var(--brand);
  border-color: #bdd2f4;
  background: #f8fbff;
}

/* Public template: minimal search layout. */
.theme-minimal {
  background: #ffffff;
}
.theme-minimal .site-header {
  min-height: 60px;
  border-bottom: 0;
  background: #fff;
}
.theme-minimal .brand {
  font-size: 20px;
}
.theme-minimal .brand-mark,
.theme-minimal .brand img {
  width: 32px;
  height: 32px;
}
.theme-minimal .top-nav {
  color: #475467;
}
.minimal-home {
  width: min(980px, calc(100% - 40px));
  display: grid;
  gap: 34px;
  padding: clamp(58px, 10vh, 116px) 0 80px;
}
.minimal-search-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.minimal-search-stage > span {
  color: var(--brand);
  font-weight: 850;
}
.minimal-search-stage h1 {
  font-size: 42px;
}
.minimal-search-stage .search-box {
  width: min(760px, 100%);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}
.minimal-search-stage .search-prefix {
  color: #667085;
}
.minimal-search-stage .search-box input,
.minimal-search-stage .search-box button {
  min-height: 60px;
}
.minimal-search-stage .search-box button {
  min-width: 96px;
  border-radius: 999px;
  margin: 6px;
  min-height: 48px;
}
.minimal-hot-links,
.minimal-category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.minimal-hot-links a,
.minimal-category-chips a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #344054;
  background: #fff;
}
.minimal-hot-links a:hover,
.minimal-category-chips a:hover {
  color: var(--brand);
  border-color: #bdd2f4;
  background: #f8fbff;
}
.minimal-section {
  display: grid;
  gap: 16px;
}
.minimal-results {
  display: grid;
  gap: 10px;
}
.minimal-results a {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f6;
}
.minimal-results a:hover strong {
  color: var(--brand);
}
.minimal-results small {
  color: #667085;
}

/* Public template: visual tutorial layout. */
.theme-visual {
  background: #f3f5f7;
}
.theme-visual .site-header {
  min-height: 48px;
  padding: 0 18px;
  background: var(--brand);
  border-bottom: 0;
  color: #fff;
}
.theme-visual .brand {
  font-size: 24px;
  color: #fff;
}
.theme-visual .brand-mark,
.theme-visual .brand img {
  width: 32px;
  height: 32px;
}
.theme-visual .top-nav {
  color: #fff;
}
.theme-visual .top-nav a:hover {
  color: #fff;
  opacity: .86;
}
.theme-visual .locale-switch {
  color: #fff;
  border-left-color: rgba(255,255,255,.28);
}
.theme-visual .locale-switch > .ti,
.theme-visual .locale-switch-dropdown summary .ti {
  color: #fff;
}
.theme-visual .locale-switch-icons > .ti {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.theme-visual .locale-switch-icons a {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  color: #fff;
  box-shadow: none;
}
.theme-visual .locale-switch-icons a:hover,
.theme-visual .locale-switch-icons a.active {
  border-color: #fff;
  background: #fff;
  color: var(--brand);
}
.theme-visual .locale-switch a:hover,
.theme-visual .locale-switch a.active,
.theme-visual .locale-switch[open] summary {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.theme-visual .locale-badge {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.theme-visual .locale-switch-icons a:hover,
.theme-visual .locale-switch-icons a.active {
  background: #fff;
  color: var(--brand);
}
.theme-visual .locale-switch-icons .locale-badge {
  background: transparent;
  color: inherit;
}
.theme-visual .locale-menu {
  color: #344054;
}
.theme-visual .locale-menu a {
  color: #344054;
  opacity: 1;
}
.theme-visual .locale-menu a:hover,
.theme-visual .locale-menu a.active {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  opacity: 1;
}
.theme-visual .locale-menu .locale-badge {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
}
.theme-visual .header-search {
  width: min(300px, 32vw);
}
.theme-visual .header-search::before {
  color: rgba(255,255,255,.82);
}
.theme-visual .header-search input {
  border: 0;
  background: rgba(255,255,255,.16);
  color: #fff;
}
.theme-visual .header-search input::placeholder {
  color: rgba(255,255,255,.78);
}
.visual-home,
.visual-detail {
  width: 100%;
}
.visual-hero {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 44px 20px;
  background: var(--brand);
  color: #fff;
}
.visual-hero-inner {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
}
.visual-eyebrow {
  font-weight: 750;
  opacity: .88;
}
.visual-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 650;
}
.visual-hero .search-box {
  width: min(720px, 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
}
.visual-hero .search-box input,
.visual-hero .search-box button {
  min-height: 58px;
}
.visual-hero .quick-links span,
.visual-hero .quick-links a {
  color: #fff;
}
.visual-hero .quick-links a {
  border: 0;
  background: rgba(255,255,255,.18);
}
.visual-workspace,
.visual-detail {
  width: min(1360px, calc(100% - 40px));
  margin: 32px auto 72px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.visual-detail.visual-article-page {
  grid-template-columns: 250px minmax(0, 880px) 260px;
}
@media (min-width: 961px) {
  .visual-detail.visual-article-page.doc-layout-standard {
    width: min(1480px, calc(100% - 48px));
    grid-template-columns: 250px minmax(0, 880px) 240px;
    gap: 24px;
  }
  .visual-detail.visual-article-page.doc-layout-wide {
    width: min(1680px, calc(100% - 40px));
    grid-template-columns: 260px minmax(0, 1080px) 260px;
    gap: 28px;
  }
  .visual-detail.visual-article-page.doc-layout-api {
    width: min(1880px, calc(100% - 32px));
    grid-template-columns: 270px minmax(0, 1240px) 260px;
    gap: 28px;
  }
}
.visual-side {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 16px;
  color: #667085;
}
.visual-side h2 {
  color: #667085;
  font-size: 18px;
  font-weight: 650;
}
.visual-side nav {
  display: grid;
  gap: 10px;
}
.visual-side a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #667085;
}
.visual-side a span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}
.visual-side a.active,
.visual-side a:hover {
  color: var(--brand);
}
.visual-panel {
  min-width: 0;
  display: grid;
  gap: 26px;
  padding: 34px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.visual-panel > h2,
.visual-section-split h2 {
  font-size: 22px;
}
.visual-card-grid,
.visual-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.visual-card-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.visual-category-card,
.visual-article-card {
  min-width: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  background: #fff;
  color: #101828;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.visual-category-card:hover,
.visual-article-card:hover {
  border-color: color-mix(in srgb, var(--brand) 38%, #d6e1f0);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
  transform: translateY(-2px);
}
.visual-cover,
.visual-article-cover {
  min-height: 132px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand) 72%, #1f2937);
  color: #fff;
}
.visual-cover.small {
  min-height: 104px;
}
.visual-cover img,
.visual-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-cover i,
.visual-article-cover i,
.visual-category-hero-cover span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 8px;
  font-style: normal;
  font-size: 26px;
  font-weight: 850;
}
.visual-card-body,
.visual-article-card {
  gap: 12px;
  padding: 22px 24px;
}
.visual-card-body {
  display: grid;
}
.visual-card-body strong,
.visual-article-card strong {
  font-size: 20px;
}
.visual-card-body small,
.visual-article-card small {
  color: #667085;
  line-height: 1.6;
}
.visual-card-body em,
.visual-article-card em {
  color: #667085;
  font-size: 13px;
  font-style: normal;
}
.visual-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.visual-title-row,
.visual-article-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}
.visual-title-row h1,
.visual-article-head h1 {
  font-size: 40px;
}
.visual-category-hero-cover,
.visual-article-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 72%, #1f2937);
  object-fit: cover;
}
.visual-category-hero-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.visual-category-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-article .rich-body,
.visual-article .article-feedback,
.visual-article .related-section,
.visual-article .share-strip,
.visual-article .prev-next {
  max-width: none;
}
.visual-outline {
  top: 72px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  padding: 18px 14px 14px;
  gap: 10px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
}
.visual-outline .outline-head {
  min-height: 24px;
  padding: 0 2px 6px;
  border-bottom: 1px solid #eef2f6;
}
.visual-outline .outline-head strong {
  gap: 7px;
  color: #0f172a;
  font-size: 14px;
}
.visual-outline .outline-list {
  gap: 6px;
  max-height: calc(100vh - 158px);
  padding: 0 2px 2px 0;
}
.visual-outline a {
  min-height: 32px;
  padding: 7px 10px 7px 12px;
  border-left-width: 3px;
  border-radius: 0 6px 6px 0;
  color: #334155;
  line-height: 1.45;
  word-break: break-word;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.visual-outline a:hover {
  background: #f6f8fb;
  color: var(--brand);
}
.visual-outline a.is-active {
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  color: var(--brand);
  border-left-color: var(--brand);
}
.visual-outline .level-3 {
  padding-left: 24px;
  color: #64748b;
  font-size: 13px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 16%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 28%),
    radial-gradient(circle at 86% 78%, color-mix(in srgb, var(--brand-2) 12%, transparent), transparent 32%),
    #f3f6fb;
}
.login-box, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.login-box {
  width: min(480px, 94vw);
  padding: 30px;
  display: grid;
  gap: 16px;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}
.login-visual {
  display: grid;
  place-items: center;
  min-height: 128px;
  margin: -8px 0 2px;
}
.login-visual img {
  width: min(210px, 60vw);
  max-height: 140px;
}
.login-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-title h1 {
  margin: 0 0 2px;
  font-size: 26px;
}
.login-title p,
.login-footnote {
  margin: 0;
}
.login-box .input-icon {
  position: relative;
  display: block;
}
.login-box .input-icon-addon {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  pointer-events: none;
}
.login-box .input-icon-addon .ti {
  font-size: 18px;
}
.login-box .input-icon input {
  width: 100%;
  padding-left: 42px;
}
.muted { color: var(--muted); font-size: 13px; }
.tabler-admin,
.tabler-login {
  --line: #dce3ee;
  --shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.admin {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3f6fb;
}
body.admin.tabler-admin {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #172033;
  color: #d7deea;
  padding: 20px 14px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.admin-brand {
  margin: 0 8px 18px;
  display: flex;
  min-height: 46px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
}
.admin-brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 30%, transparent);
}
.admin-brand-mark .ti {
  font-size: 22px;
}
.admin-session {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 8px 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
}
.admin-session .avatar {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.admin-session strong {
  color: #fff;
  font-size: 14px;
}
.admin-session span {
  display: block;
  color: #aab5c8;
  font-size: 12px;
}
.admin-session .avatar {
  display: inline-flex;
  color: #fff;
  font-size: 12px;
}
.admin-sidebar nav {
  display: grid;
  gap: 4px;
}
.admin-sidebar a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #c9d2e2;
  font-size: 14px;
  font-weight: 650;
}
.admin-sidebar a .ti {
  width: 22px;
  flex: 0 0 22px;
  color: #8796ad;
  font-size: 19px;
  text-align: center;
}
.admin-sidebar a.active, .admin-sidebar a:hover {
  background: color-mix(in srgb, var(--brand) 24%, transparent);
  color: #fff;
}
.admin-sidebar a.active .ti,
.admin-sidebar a:hover .ti {
  color: color-mix(in srgb, var(--brand) 34%, #fff);
}
.admin-main {
  width: min(1240px, calc(100vw - 332px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.admin-eyebrow {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.admin-head h1 {
  margin: 2px 0 0;
  font-size: 30px;
  line-height: 1.2;
}
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, #fff);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.notice {
  border-radius: 8px;
  padding: 12px 14px;
}
.notice.success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.notice.error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}
.stat span { color: var(--muted); }
.stat > .ti {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #9db7dc;
  font-size: 24px;
}
.stat strong {
  display: block;
  margin-top: 8px;
  color: #182230;
  font-size: 32px;
  line-height: 1;
}
.panel {
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}
.tabler-admin .panel h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tabler-admin .panel h2 .ti {
  color: var(--brand);
  font-size: 22px;
}
.step-list, .admin-list {
  display: grid;
  gap: 10px;
}
.step-list a, .admin-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.tabler-admin .admin-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fff;
}
.tabler-admin .admin-list > .admin-row {
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  box-shadow: none;
  padding: 14px 16px;
}
.tabler-admin .admin-list > .admin-row:last-child {
  border-bottom: 0;
}
.tabler-admin .admin-list > .admin-row:hover {
  background: #f8fbff;
}
.tabler-admin .admin-list > .empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
}
.tabler-admin .admin-list.compact-list > .admin-row {
  min-height: 52px;
  padding: 12px 14px;
}
.tabler-admin .admin-children {
  gap: 0;
  margin-left: 0;
  padding-left: 26px;
  border-left: 1px solid #e6edf6;
  background: #fbfdff;
}
.tabler-admin .admin-children .admin-row {
  border-color: #e6edf6;
  border-radius: 8px;
  box-shadow: none;
}
.panel-head,
.row-title-line,
.seo-score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.badge,
.feedback-pill,
.seo-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.feedback-row.needs-work {
  border-color: #fecdca;
  background: #fffafa;
}
.feedback-row p {
  margin: 8px 0;
  color: #344054;
}
.feedback-pill.positive {
  background: #ecfdf3;
  color: #027a48;
}
.feedback-pill.negative {
  background: #fef3f2;
  color: #b42318;
}
.seo-audit-row.good {
  border-color: #abefc6;
}
.seo-audit-row.warning {
  border-color: #fedf89;
}
.seo-audit-row.critical {
  border-color: #fecdca;
}
.seo-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.seo-tool-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.seo-tool-card p {
  margin: 0;
}
.seo-score {
  min-width: 44px;
  background: #eef4ff;
  color: #1849a9;
}
.seo-audit-row.good .seo-score {
  background: #ecfdf3;
  color: #027a48;
}
.seo-audit-row.warning .seo-score {
  background: #fffaeb;
  color: #b54708;
}
.seo-audit-row.critical .seo-score {
  background: #fef3f2;
  color: #b42318;
}
.audit-issues {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #7a4b00;
}
.audit-issues.critical {
  color: #b42318;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.settings-form {
  display: grid;
  gap: 16px;
}
.settings-hero,
.settings-savebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.settings-hero {
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fd 100%);
}
.settings-hero h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
}
.settings-hero h2 .ti,
.settings-subhead h2 .ti {
  color: var(--brand);
}
.settings-nav-panel {
  padding: 12px;
}
.settings-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.settings-tab {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}
.settings-tab .ti {
  color: #7a8aa0;
  font-size: 19px;
}
.settings-tab.active,
.settings-tab:hover {
  border-color: rgba(17, 103, 241, .34);
  background: #edf5ff;
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(17, 103, 241, .10);
}
.settings-tab.active .ti,
.settings-tab:hover .ti {
  color: var(--brand);
}
.settings-savebar {
  position: sticky;
  top: 12px;
  z-index: 6;
  padding: 12px 14px;
  border: 1px solid #d8e3f4;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  backdrop-filter: blur(10px);
}
.settings-savebar span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}
.settings-savebar strong {
  color: var(--brand);
}
.settings-section {
  display: grid;
  gap: 16px;
  padding: 22px;
}
.settings-form.tabs-ready .settings-section:not(.active) {
  display: none;
}
.full-field {
  grid-column: 1 / -1;
}
.settings-subhead {
  padding: 0 0 14px;
  border-bottom: 1px solid #edf1f6;
}
.settings-subhead.compact {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed #dce3ee;
}
.settings-subhead h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}
.settings-info,
.settings-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.settings-warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}
.settings-bottom-actions {
  display: flex;
  justify-content: flex-end;
}
.prompt-config {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
}
.prompt-config-head {
  display: grid;
  gap: 4px;
}
.prompt-config-head small {
  color: var(--muted);
}
.prompt-config label {
  font-weight: 650;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 650;
}
.field-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
button.mini,
.button.mini {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 12px;
}
label.check {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  align-self: end;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 700;
}
label.check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
label.check:hover {
  border-color: rgba(17, 103, 241, .32);
  background: #f8fbff;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 10px 11px;
  outline: none;
}
textarea { resize: vertical; line-height: 1.6; }
input[type="checkbox"],
input[type="radio"] {
  min-height: 0;
}
input[type="file"] {
  padding: 8px 10px;
}
input:focus, select:focus, textarea:focus, .rich-editor:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2px;
}
.tabler-admin .panel > form {
  margin-top: 4px;
}
.tabler-admin form.is-submitting button[type="submit"] {
  pointer-events: none;
}
.article-actionbar {
  position: sticky;
  bottom: 0;
  z-index: 8;
  margin: 4px -22px -22px;
  padding: 14px 22px;
  border-top: 1px solid #dce3ee;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 -10px 22px rgba(15, 23, 42, .06);
  backdrop-filter: blur(10px);
}
.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.tabler-admin .filter-bar {
  padding: 14px;
  border: 1px solid #e6edf6;
  border-radius: 10px;
  background: #f8fafc;
}
.article-filter {
  grid-template-columns: minmax(220px, 1.3fr) repeat(6, minmax(128px, .7fr)) auto;
}
.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-link-form {
  display: grid;
  gap: 18px;
}
.nav-link-form .form-actions {
  grid-column: auto;
  padding-top: 2px;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.switch-row {
  width: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 700;
}
.switch-row input {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
.switch-row span {
  white-space: nowrap;
}
.switch-row:hover,
label.check:hover {
  border-color: color-mix(in srgb, var(--brand) 34%, #fff);
  background: #f8fbff;
}
.toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.tabler-admin .toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
}
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.row-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.bulk-checkbox,
.bulk-card-check input,
.bulk-select input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.tabler-admin .bulk-toolbar {
  padding: 12px;
  border-color: #dbe6f3;
  border-radius: 10px;
  background: #f6f9fd;
}
.bulk-toolbar button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}
.bulk-select,
.bulk-card-check {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
}
.bulk-card-check {
  justify-self: start;
}
.review-row {
  align-items: flex-start;
}
.review-row .row-actions {
  flex-shrink: 0;
}
.admin-row.dragging {
  opacity: .5;
}
.drag-handle {
  display: inline-flex;
  width: 24px;
  color: var(--muted);
  cursor: grab;
}
.sort-save {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 12px;
}
.tabler-admin .sort-save button {
  min-height: 34px;
}
.section-head .sort-save {
  margin: 0;
}
.admin-row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.admin-children {
  margin-left: 24px;
  display: grid;
  gap: 10px;
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.row-actions form { margin: 0; }
.inline-select-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-select-form select {
  width: auto;
  min-width: 150px;
  max-width: 240px;
}
.row-actions button {
  min-width: 38px;
  padding: 0 10px;
}
.matrix-rule-row {
  align-items: stretch;
}
.matrix-rule-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(160px, .8fr) repeat(4, minmax(130px, 1fr));
  gap: 12px;
}
.matrix-rule-main textarea {
  min-height: 74px;
}
.matrix-source-form {
  margin-bottom: 16px;
}
.matrix-candidate-row {
  align-items: flex-start;
}
.matrix-candidate-row > div:first-child {
  min-width: 0;
}
.status-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: #eef7f1;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.tabler-admin .status-badge,
.tabler-admin .badge {
  border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
}
.status-badge.status-draft,
.status-badge.warn {
  background: #fff7ed;
  color: var(--accent);
}
.status-badge.status-published {
  background: #ecfdf3;
  color: #027a48;
}
.tabler-admin .status-badge.status-published {
  border-color: #b8e5c2;
  background: #eaf8ee;
  color: #2f8f46;
}
.tabler-admin .status-badge.status-draft,
.tabler-admin .status-badge.warn {
  border-color: #f3d8a8;
  background: #fff7e8;
  color: #ad6900;
}
.security-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1849a9;
  font-size: 12px;
  font-weight: 800;
}
.security-pill.warning {
  background: #fffaeb;
  color: #b54708;
}
.security-pill.high {
  background: #fef3f2;
  color: #b42318;
}
.twofa-box {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.twofa-box input,
.twofa-box textarea {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}
.twofa-setup-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.twofa-qr-card,
.twofa-manual-card {
  display: grid;
  gap: 8px;
}
.twofa-qr-card {
  justify-items: center;
  padding: 12px;
  border: 1px solid #d6e1ee;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.twofa-qr-card img {
  width: 160px;
  height: 160px;
  image-rendering: pixelated;
}
.twofa-manual-card textarea {
  min-height: 78px;
  resize: vertical;
}
.twofa-time-hint {
  display: block;
  padding: 8px 10px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
}
.success-text {
  color: #027a48;
}
.danger-text {
  color: var(--danger);
}
.version-row {
  align-items: flex-start;
}
.version-main {
  flex: 1;
}
.version-detail {
  margin-top: 10px;
}
.version-detail summary {
  color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}
.version-detail pre {
  max-height: 320px;
  overflow: auto;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.version-meta {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.version-meta p {
  margin: 0;
  display: grid;
  gap: 4px;
}
.version-meta span {
  color: #475467;
  overflow-wrap: anywhere;
}
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span,
.pagination strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.pagination strong {
  border-color: rgba(22, 101, 52, .22);
  color: var(--brand);
  background: #f7fbf8;
}
.pagination .disabled {
  color: #98a2b3;
  background: #f8fafc;
}
.locale-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.locale-tabs a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
}
.locale-tabs a.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.article-editor {
  display: grid;
  gap: 16px;
}
.code-editor {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  min-height: 360px;
}
.rich-mode { display: none; }
.rich-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.rich-toolbar button {
  width: 38px;
  min-height: 34px;
  padding: 0;
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.rich-toolbar button[data-md="tip"],
.rich-toolbar button[data-md="endpoint"],
.rich-toolbar button[data-md="params"],
.rich-toolbar button[data-md="response"] {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
}
.rich-toolbar .toolbar-select {
  width: auto;
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.rich-toolbar button.ai-tool {
  width: auto;
  min-width: 78px;
  padding: 0 10px;
  color: var(--brand);
  border-color: rgba(22, 101, 52, .28);
  background: #f7fbf8;
}
.rich-toolbar button.ai-tool:hover {
  background: #eef7f1;
}
.rich-toolbar button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.markdown-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.markdown-workspace:has(.markdown-preview:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
}
.markdown-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.markdown-syntax-help {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, #fff);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 7%, #fff);
  color: #344054;
  font-size: 13px;
}
.markdown-syntax-help strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #101828;
}
.markdown-syntax-help .ti {
  color: var(--brand);
}
.markdown-syntax-help code {
  border: 1px solid #d8e2eb;
  border-radius: 5px;
  background: #fff;
  color: #245f92;
  padding: 2px 6px;
}
.markdown-syntax-help small {
  width: 100%;
  color: var(--muted);
}
.markdown-preview-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  font-weight: 800;
}
.markdown-preview-body {
  min-height: 360px;
  max-height: 620px;
  overflow: auto;
  padding: 18px;
  line-height: 1.75;
}
.markdown-preview-body h1,
.markdown-preview-body h2,
.markdown-preview-body h3 {
  margin: 0 0 12px;
}
.markdown-preview-body p,
.markdown-preview-body ul,
.markdown-preview-body blockquote,
.markdown-preview-body pre {
  margin: 0 0 14px;
}
.markdown-preview-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.markdown-preview-body code {
  padding: 2px 6px;
  border: 1px solid #d8e2eb;
  border-radius: 5px;
  background: #eef5fa;
  color: #245f92;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
}
.markdown-preview-body pre {
  overflow: auto;
  padding: 42px 18px 18px;
  border: 1px solid #cbd8e6;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: linear-gradient(180deg, #eef5fb 0%, #e8f0f6 100%);
  color: #17456f;
  line-height: 1.7;
}
.markdown-preview-body pre code {
  display: block;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  white-space: pre;
  font-size: 14px;
  line-height: 1.72;
}
.markdown-preview-body blockquote {
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  background: #f7fbf8;
}
.draft-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.draft-status {
  color: var(--muted);
  font-size: 13px;
}
.draft-status[data-state="dirty"] {
  color: #b45309;
}
.draft-status[data-state="saved"] {
  color: #027a48;
}
.draft-status[data-state="saving"] {
  color: var(--brand);
}
.draft-status[data-state="error"] {
  color: var(--danger);
}
.media-dialog {
  width: min(860px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 48px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 26px 60px rgba(15, 23, 42, .22);
}
.media-dialog::backdrop {
  background: rgba(15, 23, 42, .36);
}
.media-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.media-dialog-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}
.media-upload-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(180px, .8fr);
  gap: 12px;
  align-items: end;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.media-upload-form .muted {
  align-self: center;
  overflow-wrap: anywhere;
}
.ai-image-dialog {
  width: min(980px, calc(100vw - 32px));
}
.ai-image-config {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 18px 0;
}
.ai-image-dialog .inline-actions {
  padding: 14px 18px;
}
.ai-preview-dialog {
  width: min(980px, calc(100vw - 32px));
}
.ai-preview-body {
  padding: 18px;
}
.ai-preview-body textarea {
  width: 100%;
  min-height: min(58vh, 560px);
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.7;
  background: #f8fafc;
}
.admin-code-block {
  max-height: 560px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
}
.ai-image-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}
.ai-image-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.ai-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #f2f4f7;
}
.ai-image-card small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  overflow: auto;
}
.media-item {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
}
.media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}
.media-item span {
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 12px;
}
.rich-editor {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  line-height: 1.7;
  outline: none;
}
.seo-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f8fafc;
}
.seo-fields {
  display: grid;
  align-content: start;
  gap: 14px;
}
.seo-preview-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.seo-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.seo-preview-head span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 800;
}
.seo-preview-head span.warn {
  background: #fff4ed;
  color: #b54708;
}
.seo-preview-title {
  color: #1a0dab;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 500;
}
.seo-preview-url {
  color: #067647;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.seo-preview-card p {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}
.seo-preview-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.ai-seo-status {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e5eaf2;
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
}
.translate-box {
  display: flex;
  align-items: end;
  gap: 12px;
}
.translation-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.translation-actions form {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.missing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.missing-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.compact-list {
  gap: 8px;
}
.compact-list .admin-row {
  align-items: flex-start;
  padding: 10px;
}
.compact-list .button {
  min-height: 32px;
}
.fix-suggestions {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}
.fix-suggestions strong {
  display: block;
  margin-bottom: 4px;
  color: #1d4ed8;
}
.fix-suggestions ul {
  margin: 0;
  padding-left: 18px;
}
.fix-suggestions.danger-box {
  border-color: #fecdca;
  background: #fef3f2;
}
.fix-suggestions.danger-box strong {
  color: #b42318;
}
.build-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.build-info-grid div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.build-info-grid span {
  color: var(--muted);
  font-size: 13px;
}
.build-info-grid strong {
  overflow-wrap: anywhere;
}
.health-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.health-summary span {
  color: var(--muted);
  font-size: 13px;
}
.health-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}
.health-summary p {
  margin: 6px 0 0;
  color: var(--muted);
}
.health-summary.ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.health-summary.warn {
  border-color: #fde68a;
  background: #fffbeb;
}
.health-summary.error {
  border-color: #fecaca;
  background: #fef2f2;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.health-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.health-card span {
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.health-card.ok span {
  background: #dcfce7;
  color: #166534;
}
.health-card.warn span {
  background: #fef3c7;
  color: #92400e;
}
.health-card.error span {
  background: #fee2e2;
  color: #991b1b;
}
.health-card strong {
  font-size: 18px;
}
.health-card p {
  margin: 0;
  color: var(--muted);
}
.db-maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.db-maintenance-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.db-maintenance-card span,
.db-maintenance-card small {
  color: var(--muted);
  font-size: 13px;
}
.db-maintenance-card strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.db-maintenance-card p {
  margin: 0;
  color: var(--muted);
}
.db-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.db-action-grid form {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.db-action-grid p {
  margin: 0;
}
.db-action-grid button {
  width: max-content;
}
.release-checklist {
  margin-bottom: 40px;
}
.release-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.release-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.release-check-group {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.release-check-group h3 {
  margin: 0;
  font-size: 17px;
}
.release-check-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}
.release-check-item input {
  margin-top: 3px;
}
.release-check-item span {
  display: grid;
  gap: 4px;
}
.release-check-item small {
  color: var(--muted);
  line-height: 1.5;
}
.release-check-item.is-done {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.ai-fill-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ai-fill-panel h2 {
  margin-bottom: 6px;
}
.translate-box h2 {
  margin-right: auto;
  margin-bottom: 6px;
}
.inline-password,
.inline-role {
  display: flex;
  gap: 8px;
  align-items: center;
}
.inline-password input {
  width: 130px;
}
.inline-role select {
  width: 132px;
  min-height: 38px;
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.upload-card {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.upload-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}
.upload-card strong {
  overflow-wrap: anywhere;
}
.upload-card small {
  color: var(--muted);
}
.backup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.stat small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.button.ghost.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.visit-toolbar-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}
.visit-range-tabs,
.visit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.visit-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.visit-actions form {
  margin: 0;
}
.visit-map-panel {
  color: #e6f7ff;
  background:
    linear-gradient(135deg, #07121f 0%, #10231d 50%, #111827 100%);
  border-color: rgba(130, 180, 210, .22);
  box-shadow: 0 20px 44px rgba(15, 23, 42, .20);
  overflow: hidden;
}
.visit-map-panel h2 {
  color: #f8fbff;
}
.visit-map-panel .muted,
.visit-map-panel .empty {
  color: rgba(230, 247, 255, .72);
}
.map-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, .26);
  border-radius: 999px;
  background: rgba(14, 165, 233, .12);
  color: #c9f2ff;
  font-size: 13px;
  font-weight: 800;
}
.world-map {
  position: relative;
  height: clamp(380px, 44vw, 520px);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, .10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(125, 211, 252, .09) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(14, 165, 233, .18), transparent 58%),
    linear-gradient(180deg, #071625 0%, #08131f 58%, #06111d 100%);
  background-size: 7.692% 12.5%, 7.692% 12.5%, 100% 100%, 100% 100%;
}
.world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(125, 211, 252, .20) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(125, 211, 252, .16) 50%, transparent 50.1%),
    radial-gradient(ellipse at 50% 50%, transparent 54%, rgba(2, 6, 23, .35) 100%);
  opacity: .7;
  pointer-events: none;
}
.world-map > div:not(.map-loading),
.world-map canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.map-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: rgba(230, 247, 255, .72);
  font-weight: 800;
  letter-spacing: .02em;
}
.map-geo-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  max-width: min(560px, calc(100% - 28px));
  padding: 9px 12px;
  border: 1px solid rgba(147, 197, 253, .32);
  border-radius: 8px;
  background: rgba(7, 18, 31, .82);
  color: #cfe8ff;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .22);
}
.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.city-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, .17);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.city-pill strong,
.city-pill b {
  color: #fff;
}
.city-pill span,
.city-pill small {
  color: rgba(230, 247, 255, .70);
  font-size: 12px;
}
.city-pill.muted-pill {
  opacity: .74;
  background: rgba(255,255,255,.04);
}
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
}
.trend-list {
  display: grid;
  gap: 12px;
}
.trend-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 12px;
}
.trend-row > span {
  color: #344054;
  font-weight: 800;
}
.trend-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}
.trend-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #0ea5e9);
}
.trend-row small {
  color: var(--muted);
  font-size: 12px;
}
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.breakdown-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}
.breakdown-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.breakdown-row {
  display: grid;
  gap: 6px;
}
.breakdown-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.breakdown-row-head span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breakdown-row-head b {
  color: #344054;
}
.breakdown-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}
.breakdown-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6);
}
.rank-list {
  display: grid;
  gap: 10px;
}
.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.rank-row:hover {
  border-color: rgba(14, 165, 233, .34);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.rank-row span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.visit-table-wrap {
  overflow-x: auto;
}
.visit-detail-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
.tabler-admin .visit-table-wrap {
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fff;
}
.tabler-admin .visit-detail-table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.visit-detail-table th,
.visit-detail-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  vertical-align: top;
}
.visit-detail-table th {
  color: #344054;
  background: #f8fafc;
  font-size: 13px;
}
.tabler-admin .visit-detail-table th {
  color: #475467;
  background: #f6f8fb;
  font-weight: 800;
}
.tabler-admin .visit-detail-table tr:hover td {
  background: #f8fbff;
}
.visit-detail-table td strong {
  display: block;
  max-width: 280px;
  overflow-wrap: anywhere;
}
.visit-detail-table td small {
  display: block;
  max-width: 300px;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .site-header, .top-nav, .site-footer { flex-wrap: wrap; }
  .category-grid, .stat-grid, .form-grid, .matrix-rule-main, .prev-next, .upload-grid, .featured-grid, .home-main .category-grid { grid-template-columns: 1fr; }
  .site-header { padding: 14px 5vw; }
  .public .site-header { padding: 12px 5vw; }
  .public .brand { font-size: 22px; }
  .public .top-nav { gap: 14px; }
  .header-search { order: 3; width: min(100%, 320px); }
  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px 18px;
    gap: 24px;
  }
  .hero-panel { display: none; }
  .hero-inner { padding: 0; }
  h1 { font-size: 38px; }
  .search-box { width: 100%; }
  .docs-layout, .category-layout { grid-template-columns: 1fr; }
  .doc-sidebar, .outline { position: static; max-height: none; }
  .doc-menu-toggle {
    width: auto;
    min-height: 40px;
    margin: 14px 5vw 0;
    display: inline-flex;
    justify-self: start;
    background: #fff;
    color: var(--brand);
    border-color: #bcd2f7;
  }
  .doc-sidebar {
    display: none;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e5eaf2;
    padding: 18px 5vw;
  }
  .docs-layout.menu-open .doc-sidebar {
    display: block;
  }
  .outline { display: none; }
  .docs-layout .doc-content { padding: 34px 5vw 36px; }
  .doc-content h1 {
    margin-bottom: 16px;
    font-size: 36px;
  }
  .doc-content .lead {
    margin-bottom: 24px;
  }
  .article-content > .rich-body {
    margin-top: 26px;
  }
  .rich-body, .share-strip, .article-updated, .article-feedback, .related-section { max-width: none; }
  .related-grid { grid-template-columns: 1fr; }
  .article-feedback { align-items: flex-start; flex-direction: column; }
  .theme-visual .header-search { order: 3; width: 100%; }
  .visual-workspace,
  .visual-detail,
  .visual-detail.visual-article-page,
  .visual-card-grid,
  .visual-card-grid.compact,
  .visual-article-grid,
  .visual-featured-grid,
  .visual-title-row,
  .visual-article-head {
    grid-template-columns: 1fr;
  }
  .visual-workspace,
  .visual-detail {
    width: min(100% - 28px, 1360px);
    margin-top: 22px;
  }
  .visual-side {
    position: static;
  }
  .visual-side nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .visual-panel {
    padding: 24px;
  }
  .visual-outline {
    display: none;
  }
  .admin { grid-template-columns: 1fr; }
  body.admin.tabler-admin { grid-template-columns: 1fr; }
  .admin-main { width: min(94vw, 100%); }
  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
  }
  .admin-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabler-admin .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head,
  .panel-head,
  .row-title-line,
  .seo-score-line { align-items: flex-start; flex-direction: column; }
  .health-summary { align-items: stretch; flex-direction: column; }
  .inline-password, .inline-role, .backup-actions, .ai-fill-panel { flex-direction: column; align-items: stretch; }
  .translation-actions, .missing-grid { grid-template-columns: 1fr; }
  .seo-tool-grid { grid-template-columns: 1fr; }
  .seo-box { grid-template-columns: 1fr; }
  .markdown-workspace:has(.markdown-preview:not([hidden])),
  .media-grid,
  .media-upload-form,
  .ai-image-config,
  .ai-image-results { grid-template-columns: 1fr; }
  .filter-bar, .article-filter { grid-template-columns: 1fr; }
  .twofa-setup-grid { grid-template-columns: 1fr; }
  .pagination-bar { align-items: flex-start; flex-direction: column; }
  .visit-toolbar-panel,
  .visit-filter,
  .visit-grid,
  .breakdown-grid,
  .trend-row {
    grid-template-columns: 1fr;
  }
  .settings-hero,
  .settings-savebar {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-tab {
    justify-content: center;
  }
  .docs-home,
  .docs-featured-list {
    grid-template-columns: 1fr;
  }
  .docs-home-sidebar {
    position: static;
    height: auto;
    padding: 18px 5vw;
    border-right: 0;
    border-bottom: 1px solid #e5eaf2;
  }
  .docs-home-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-home-content {
    padding: 34px 5vw 48px;
  }
  .minimal-home {
    width: min(100% - 28px, 980px);
    padding-top: 48px;
  }
  .world-map {
    height: 280px;
  }
  .inline-password input, .inline-role select { width: 100%; }
  .toggle-row { align-items: stretch; }
}

@media (max-width: 560px) {
  main { width: min(100% - 28px, 1160px); }
  .home-main { width: 100%; }
  .home-main .section { width: min(100% - 28px, 1416px); }
  h1 { font-size: 34px; }
  .doc-content h1 {
    margin-bottom: 14px;
    font-size: 32px;
  }
  .doc-content .lead {
    margin-bottom: 22px;
    font-size: 16px;
  }
  .article-content > .rich-body {
    margin-top: 24px;
  }
  .subcat-grid, .article-card-grid { grid-template-columns: 1fr; }
  .search-box {
    display: grid;
  }
  .home-hero .search-box {
    display: flex;
  }
  .search-prefix { width: 46px; }
  .search-box button {
    border-radius: 0 0 9px 9px;
  }
  .home-hero .search-box button {
    border-radius: 0 4px 4px 0;
    min-width: 64px;
  }
  .quick-links span {
    width: 100%;
  }
  .settings-tabs {
    grid-template-columns: 1fr;
  }
  .settings-section,
  .settings-hero {
    padding: 18px;
  }
  .visual-hero {
    min-height: 0;
    padding: 36px 14px;
  }
  .visual-hero h1,
  .visual-title-row h1,
  .visual-article-head h1 {
    font-size: 32px;
  }
  .visual-side nav {
    grid-template-columns: 1fr;
  }
  .visual-panel {
    padding: 20px;
  }
  .visual-card-body,
  .visual-article-card {
    padding: 18px;
  }
  .docs-home-sidebar nav {
    grid-template-columns: 1fr;
  }
  .docs-home-head h1,
  .minimal-search-stage h1 {
    font-size: 34px;
  }
  .admin-sidebar nav,
  .tabler-admin .stat-grid {
    grid-template-columns: 1fr;
  }
  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .minimal-search-stage .search-box {
    border-radius: 9px;
  }
  .minimal-search-stage .search-box button {
    margin: 0;
    border-radius: 0 0 9px 9px;
  }
  .rich-body .md-table-wrap,
  .markdown-preview-body .md-table-wrap {
    margin: 14px 0 20px;
  }
  .rich-body table,
  .markdown-preview-body table {
    min-width: 620px;
    font-size: 14px;
  }
  .rich-body th,
  .rich-body td,
  .markdown-preview-body th,
  .markdown-preview-body td {
    padding: 10px 12px;
  }
}
