/* All Sign Customizer — Help Center (/docs/).
   Layout of the archive and articles, and the article components carried over
   from the old static help site (callouts, screenshots, decision cards…),
   restyled with the brand tokens of brand.css. */

:root {
  --asc-doc-ink: #0B132B;
  --asc-doc-muted: #4B5563;
  --asc-doc-line: #E5E7EB;
  --asc-doc-soft: #F6F8FA;
  --asc-doc-tint: #ECFBF7;
  --asc-doc-link: #00775F;
  --asc-doc-top: 96px;
  --asc-doc-shadow: 0 24px 48px -32px rgb(11 19 43 / .4);
  --asc-doc-ico-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M10 9v5M10 6.2v.1'/%3E%3C/svg%3E");
  --asc-doc-ico-tip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.8 15h4.4M8.4 17.5h3.2M10 2.5a5 5 0 0 0-3 9c.6.5 1 1.2 1 2V14h4v-.5c0-.8.4-1.5 1-2a5 5 0 0 0-3-9z'/%3E%3C/svg%3E");
  --asc-doc-ico-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3 2.5 16.5h15zM10 8.5V12M10 14.4v.1'/%3E%3C/svg%3E");
  --asc-doc-ico-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='m6.8 10.2 2.2 2.2 4.2-4.6'/%3E%3C/svg%3E");
  --asc-doc-ico-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M7.8 7.8a2.3 2.3 0 0 1 4.4.9c0 1.6-2.2 1.9-2.2 3.3M10 14.4v.1'/%3E%3C/svg%3E");
}

/* ===================================================== Search (shared) */

.asc-docs-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--asc-doc-line);
  border-radius: 12px;
  background: #fff;
  color: #6B7280;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.asc-docs-search:focus-within { border-color: var(--asc-teal); box-shadow: 0 0 0 3px rgb(0 184 156 / .18); }
.asc-docs-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--asc-doc-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.asc-docs-search input::-webkit-search-cancel-button { cursor: pointer; }
.asc-docs-search kbd {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--asc-doc-line);
  border-radius: 6px;
  background: var(--asc-doc-soft);
  color: #6B7280;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.asc-docs-search:focus-within kbd { display: none; }

.asc-docs-results {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--asc-doc-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgb(11 19 43 / .35);
  text-align: left;
}
.asc-docs-results a { display: block; padding: 10px 14px; border-bottom: 1px solid #F1F3F5; color: var(--asc-doc-ink); text-decoration: none; }
.asc-docs-results a:last-child { border-bottom: 0; }
.asc-docs-results a:hover, .asc-docs-results a.is-active { background: var(--asc-doc-tint); }
.asc-docs-results strong { display: block; font-size: 14px; font-weight: 600; }
.asc-docs-results span { display: block; color: var(--asc-doc-muted); font-size: 12.5px; }
.asc-docs-results p { margin: 0; padding: 12px 14px; color: var(--asc-doc-muted); font-size: 14px; }

/* ======================================================= Help Center home */

.asc-docs-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(60% 120% at 85% 0%, rgb(38 208 124 / .16), transparent 60%),
    radial-gradient(50% 100% at 10% 10%, rgb(0 184 156 / .14), transparent 60%),
    var(--asc-navy);
  color: #fff;
  text-align: center;
}
.asc-docs-hero h1 { max-width: 820px; margin: 16px auto 12px; color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; }
.asc-docs-hero p { max-width: 640px; margin: 0 auto; color: #CBD5E1; font-size: 1.1rem; }
.asc-docs-hero-search { position: relative; z-index: 5; max-width: 640px; margin: 32px auto 0; }
.asc-docs-search--hero { border-color: transparent; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); }
.asc-docs-search--hero input { height: 56px; font-size: 16px; }
.asc-docs-results--hero { position: absolute; top: 100%; left: 0; right: 0; }

.asc-docs-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 20px !important; font-size: 14px; }
.asc-docs-popular span { color: #94A3B8; }
.asc-docs-popular a {
  padding: 6px 13px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 999px;
  background: rgb(255 255 255 / .06);
  color: #E2E8F0;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.asc-docs-popular a:hover { border-color: rgb(0 184 156 / .7); background: rgb(0 184 156 / .16); color: #fff; }

.asc-docs-home h2 { color: var(--asc-doc-ink); font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }

.asc-docs-products { padding-top: 64px; }
.asc-docs-products-head { margin-bottom: 22px; }
.asc-docs-products-head h2 { margin: 0 0 4px; }
.asc-docs-products-head p { margin: 0; color: var(--asc-doc-muted); }
.asc-docs-products-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.asc-docs-product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  border: 1px solid var(--asc-doc-line);
  border-radius: 20px;
  background: #fff;
  color: var(--asc-doc-ink);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.asc-docs-product:hover { border-color: rgb(0 184 156 / .5); transform: translateY(-3px); box-shadow: var(--asc-doc-shadow); }
.asc-docs-product-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: linear-gradient(135deg, #E3F9F3, #EEF8FF); color: var(--asc-doc-link); }
.asc-docs-product strong { font-size: 1rem; }
.asc-docs-product span:last-child { color: var(--asc-doc-muted); font-size: 13.5px; line-height: 1.45; }

.asc-docs-topics { padding-top: 64px; }
.asc-docs-topics > h2 { margin: 0 0 22px; }
.asc-docs-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.asc-docs-section {
  padding: 22px 22px 14px;
  border: 1px solid var(--asc-doc-line);
  border-radius: 20px;
  background: #fff;
  scroll-margin-top: var(--asc-doc-top);
}
.asc-docs-section:target { border-color: var(--asc-teal); box-shadow: 0 0 0 3px rgb(0 184 156 / .15); }
.asc-docs-section header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 1px solid #F1F3F5; }
.asc-docs-section-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--asc-doc-tint); color: var(--asc-doc-link); }
.asc-docs-section h3 { flex: 1; margin: 0; font-size: 1.08rem; }
.asc-docs-section small { color: #6B7280; font-size: 12.5px; white-space: nowrap; }
.asc-docs-section ul { margin: 0; padding: 0; list-style: none; }
.asc-docs-section a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--asc-doc-ink);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.asc-docs-section a::after { content: "→"; color: #CBD5E1; transition: color .2s ease, transform .2s ease; }
.asc-docs-section a:hover { background: var(--asc-doc-soft); color: var(--asc-doc-link); }
.asc-docs-section a:hover::after { color: var(--asc-doc-link); transform: translateX(2px); }

.asc-docs-support { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 48px; padding-bottom: 96px; }
.asc-docs-support > div { padding: 26px; border: 1px solid #D1F2EA; border-radius: 20px; background: linear-gradient(135deg, #F2FCF9, #F7FAFC); }
.asc-docs-support-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: #fff; color: var(--asc-doc-link); box-shadow: 0 8px 20px -14px rgb(11 19 43 / .4); }
.asc-docs-support h2 { margin: 0 0 4px; font-size: 1.15rem !important; }
.asc-docs-support p { margin: 0 0 12px; color: var(--asc-doc-muted); }
.asc-docs-support a { color: var(--asc-doc-link); font-weight: 600; text-decoration: none; }

/* ============================================================== Articles */

.asc-docs--article {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) 220px;
  gap: 48px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
/* Short articles have no "On this page": the article takes the space. */
.asc-docs--article:has(.asc-doc-toc[hidden]) { grid-template-columns: 264px minmax(0, 1fr); }
.asc-docs--article:has(.asc-doc-toc[hidden]) .asc-doc { max-width: 880px; }

.asc-docs-nav-toggle { display: none; }

.asc-docs-nav {
  position: sticky;
  top: var(--asc-doc-top);
  align-self: start;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--asc-doc-top) - 24px);
}
.asc-docs-nav-search { position: relative; z-index: 20; flex: none; padding-bottom: 14px; }
.asc-docs-nav-search .asc-docs-search input { height: 40px; font-size: 14px; }
.asc-docs-nav-search .asc-docs-results { position: absolute; top: 46px; left: 0; width: 340px; }
.asc-docs-nav-list { flex: 1; min-height: 0; overflow: auto; padding-right: 6px; overscroll-behavior: contain; scrollbar-width: thin; }

.asc-docs-group + .asc-docs-group { margin-top: 2px; }
.asc-docs-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  color: var(--asc-doc-ink);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.asc-docs-group summary::-webkit-details-marker { display: none; }
.asc-docs-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.6px solid #9CA3AF;
  border-bottom: 1.6px solid #9CA3AF;
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.asc-docs-group[open] summary::after { transform: rotate(45deg); }
.asc-docs-group summary:hover { background: var(--asc-doc-soft); }
.asc-docs-group-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--asc-doc-soft); color: #6B7280; }
.asc-docs-group[open] .asc-docs-group-icon { background: var(--asc-doc-tint); color: var(--asc-doc-link); }
.asc-docs-group ul { margin: 2px 0 10px 21px; padding: 0; list-style: none; border-left: 1px solid var(--asc-doc-line); }
.asc-docs-group a {
  display: block;
  margin-left: -1px;
  padding: 6px 10px 6px 16px;
  border-left: 2px solid transparent;
  color: var(--asc-doc-muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.asc-docs-group a:hover { color: var(--asc-doc-ink); }
.asc-docs-group a[aria-current="page"] { border-left-color: var(--asc-teal); color: var(--asc-doc-link); font-weight: 600; }
.asc-docs-help { margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--asc-doc-soft); font-size: 14px; }
.asc-docs-help p { margin: 0 0 4px; color: var(--asc-doc-muted); }
.asc-docs-help a { color: var(--asc-doc-link); font-weight: 600; text-decoration: none; }

.asc-doc { min-width: 0; max-width: 820px; }
.asc-doc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: #9CA3AF; font-size: 14px; }
.asc-doc-crumbs a { color: var(--asc-doc-muted); text-decoration: none; }
.asc-doc-crumbs a:hover { color: var(--asc-doc-link); }
.asc-doc-head { margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--asc-doc-line); }
.asc-doc-head h1 { margin: 0 0 10px; font-size: clamp(1.75rem, 2.5vw, 2.2rem); line-height: 1.2; letter-spacing: -.022em; text-wrap: balance; }
.asc-doc-lede { margin: 0 0 16px; color: var(--asc-doc-muted); font-size: 1.1rem; line-height: 1.6; }
.asc-doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #6B7280; font-size: 13.5px; }
.asc-doc-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid var(--asc-doc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--asc-doc-ink);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
}
.asc-doc-copy:hover { border-color: var(--asc-teal); }

.asc-doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--asc-doc-line); }
.asc-doc-pager a { display: block; padding: 16px 18px; border: 1px solid var(--asc-doc-line); border-radius: 14px; color: var(--asc-doc-ink); font-weight: 600; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.asc-doc-pager a:hover { border-color: var(--asc-teal); box-shadow: var(--asc-doc-shadow); }
.asc-doc-pager small { display: block; color: #6B7280; font-size: 12.5px; font-weight: 500; }
.asc-doc-pager-prev small::before { content: "← "; }
.asc-doc-pager-next small::after { content: " →"; }
.asc-doc-pager-next { grid-column: 2; text-align: right; }

.asc-doc-toc { position: sticky; top: var(--asc-doc-top); align-self: start; max-height: calc(100vh - var(--asc-doc-top) - 24px); overflow: auto; scrollbar-width: thin; }
.asc-doc-toc-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.asc-doc-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--asc-doc-line); }
.asc-doc-toc a { display: flex; gap: 8px; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: #6B7280; font-size: 13.5px; line-height: 1.4; text-decoration: none; }
.asc-doc-toc a span { display: grid; place-items: center; flex: none; min-width: 19px; height: 19px; margin-top: 0; border-radius: 6px; background: var(--asc-doc-soft); color: var(--asc-doc-muted); font-size: 11px; font-weight: 700; }
.asc-doc-toc .is-h3 a { padding-left: 26px; font-size: 13px; }
.asc-doc-toc a:hover { color: var(--asc-doc-ink); }
.asc-doc-toc a.is-active { border-left-color: var(--asc-teal); color: var(--asc-doc-link); font-weight: 600; }
.asc-doc-toc a.is-active span { background: var(--asc-doc-tint); color: var(--asc-doc-link); }

/* Screenshot zoom (docs.js) */
.asc-doc-lightbox { width: auto; max-width: min(1440px, 94vw); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.asc-doc-lightbox::backdrop { background: rgb(11 19 43 / .86); backdrop-filter: blur(3px); }
.asc-doc-lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 56px); margin: 0 auto; border-radius: 12px; background: #fff; cursor: zoom-out; }
.asc-doc-lightbox p { margin: 12px 0 0; color: #E2E8F0; font-size: 14px; text-align: center; }
.asc-doc-lightbox button { position: fixed; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.asc-doc-lightbox button:hover { background: rgb(255 255 255 / .24); }

/* ==================================================== Article components */

.asc-doc-body { color: #1F2937; font-size: 16.5px; line-height: 1.75; }
.asc-doc-body > :first-child { margin-top: 0; }
.asc-doc-body h2 { margin: 48px 0 12px; color: var(--asc-doc-ink); font-size: 1.45rem; line-height: 1.3; letter-spacing: -.015em; scroll-margin-top: var(--asc-doc-top); }
.asc-doc-body h3 { margin: 30px 0 8px; color: var(--asc-doc-ink); font-size: 1.15rem; line-height: 1.35; scroll-margin-top: var(--asc-doc-top); }
.asc-doc-body p, .asc-doc-body li { max-width: 72ch; }
.asc-doc-body ul, .asc-doc-body ol { padding-left: 22px; }
.asc-doc-body ul { list-style: disc; }
.asc-doc-body ol { list-style: decimal; }
.asc-doc-body ul > li, .asc-doc-body ol > li { display: list-item; }
.asc-doc-body li { margin: 6px 0; }
.asc-doc-body li::marker { color: var(--asc-teal); }
.asc-doc-body a { color: var(--asc-doc-link); font-weight: 500; text-decoration: underline; text-decoration-color: rgb(0 119 95 / .35); text-underline-offset: 3px; }
.asc-doc-body a:hover { text-decoration-color: currentColor; }
.asc-doc-body strong { color: var(--asc-doc-ink); font-weight: 650; }
.asc-doc-body code { padding: 2px 6px; border-radius: 6px; background: var(--asc-doc-soft); font-size: .9em; }
.asc-doc-body pre { overflow: auto; padding: 16px 18px; border-radius: 14px; background: var(--asc-navy); color: #E2E8F0; font-size: 14px; line-height: 1.6; }
.asc-doc-body pre code { padding: 0; background: none; color: inherit; }
.asc-doc-body table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15px; }
.asc-doc-body th, .asc-doc-body td { padding: 10px 12px; border-bottom: 1px solid var(--asc-doc-line); text-align: left; vertical-align: top; }
.asc-doc-body th { background: var(--asc-doc-soft); font-weight: 600; }

/* Numbered steps: "1. Start a new configuration" (asc_doc_step_headings). */
.asc-doc-body h2.asc-step-h { display: flex; align-items: flex-start; gap: 14px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--asc-doc-line); }
.asc-doc-body .asc-step {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: -1px;
  border-radius: 10px;
  background: var(--asc-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 18px -10px rgb(0 184 156 / .8);
}

.asc-doc-body figure { margin: 22px 0 30px; }
.asc-doc-body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--asc-doc-line); border-radius: var(--asc-r-media, 14px); background: #fff; box-shadow: 0 18px 40px -30px rgb(11 19 43 / .35); }
.asc-doc-body figure.shot { overflow: visible; border: 0; box-shadow: none; }
.asc-doc-body figure.shot img { cursor: zoom-in; transition: box-shadow .2s ease, border-color .2s ease; }
.asc-doc-body figure.shot img:hover, .asc-doc-body figure.shot img:focus-visible { border-color: rgb(0 184 156 / .6); box-shadow: 0 24px 50px -30px rgb(11 19 43 / .5); outline: none; }
/* Short app clips: muted, looping, played while visible (docs.js). */
.asc-doc-body figure.clip video { display: block; width: 100%; height: auto; aspect-ratio: 1152 / 600; border: 1px solid var(--asc-doc-line); border-radius: var(--asc-r-media, 14px); background: #111827; box-shadow: 0 18px 40px -30px rgb(11 19 43 / .35); }
/* Two clips compared (Build by Options / Build from Presets): stacked, each at full width so the captions stay readable. */
.asc-doc-body .clip-pair { display: grid; gap: 26px; margin: 22px 0 30px; }
.asc-doc-body .clip-pair figure.clip { margin: 0; }
.asc-doc-body figcaption { margin-top: 10px; color: #6B7280; font-size: 14px; line-height: 1.5; }

/* Callouts: an icon per kind, the first <strong> is the title. */
.asc-doc-body .callout {
  --asc-callout: var(--asc-doc-link);
  position: relative;
  margin: 24px 0;
  padding: 15px 18px 15px 50px;
  border: 1px solid #C7EFE4;
  border-radius: 14px;
  background: var(--asc-doc-tint);
}
.asc-doc-body .callout::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 20px;
  height: 20px;
  background: var(--asc-callout);
  -webkit-mask: var(--asc-doc-ico-info) center / contain no-repeat;
  mask: var(--asc-doc-ico-info) center / contain no-repeat;
}
.asc-doc-body .callout > strong:first-child { display: block; margin-bottom: 2px; color: var(--asc-doc-ink); }
.asc-doc-body .callout p { margin: 0; }
.asc-doc-body .callout p + p { margin-top: 8px; }
.asc-doc-body .callout.note { --asc-callout: #64748B; border-color: var(--asc-doc-line); background: var(--asc-doc-soft); }
.asc-doc-body .callout.tip { --asc-callout: #0F8A4F; }
.asc-doc-body .callout.tip::before { -webkit-mask-image: var(--asc-doc-ico-tip); mask-image: var(--asc-doc-ico-tip); }
.asc-doc-body .callout.warning { --asc-callout: #B45309; border-color: #F5DE9B; background: #FFFBEB; }
.asc-doc-body .callout.warning::before { -webkit-mask-image: var(--asc-doc-ico-warning); mask-image: var(--asc-doc-ico-warning); }
.asc-doc-body .callout.success { --asc-callout: #15803D; border-color: #BBF0CF; background: #F0FDF4; }
.asc-doc-body .callout.success::before { -webkit-mask-image: var(--asc-doc-ico-success); mask-image: var(--asc-doc-ico-success); }

.asc-doc-body .quickstart-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0 0 28px; padding: 26px; border: 1px solid #C7EFE4; border-radius: 20px; background: linear-gradient(135deg, #F2FCF9, #F8FAFC); }
.asc-doc-body .quickstart-intro h2 { margin: 6px 0 8px; font-size: 1.3rem; }
.asc-doc-body .quickstart-intro p { margin: 0; }
.asc-doc-body .eyebrow { color: var(--asc-doc-link); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.asc-doc-body .quickstart-time { min-width: 130px; padding: 16px; border: 1px solid var(--asc-doc-line); border-radius: 14px; background: #fff; text-align: center; }
.asc-doc-body .quickstart-time > strong { display: block; font-size: 1.4rem; }
.asc-doc-body .quickstart-time span { color: var(--asc-doc-muted); font-size: 13px; }

.asc-doc-body .qs-example { margin: 14px 0; padding: 13px 16px; border: 1px solid var(--asc-doc-line); border-left: 3px solid #CBD5E1; border-radius: 12px; background: var(--asc-doc-soft); }
.asc-doc-body .qs-example > strong:first-child { display: block; margin-bottom: 2px; }
.asc-doc-body .qs-example p { margin: 0; }
.asc-doc-body .qs-substep { margin: 20px 0 10px; }
.asc-doc-body .qs-substep h3 { margin-bottom: 6px; }
.asc-doc-body .qs-choice-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.asc-doc-body .qs-choice-pills span { padding: 5px 11px; border: 1px solid var(--asc-doc-line); border-radius: 999px; background: #fff; font-size: 13.5px; }
.asc-doc-body .qs-decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 24px; }
@media (min-width: 901px) { .asc-doc-body .qs-decision-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.asc-doc-body .qs-decision { padding: 16px; border: 1px solid var(--asc-doc-line); border-radius: 16px; background: #fff; }
.asc-doc-body .qs-decision h3 { margin: 0 0 6px; font-size: 1.05rem; }
.asc-doc-body .qs-decision p { margin: 0 0 12px; font-size: 15px; }
.asc-doc-body .qs-decision details { padding-top: 10px; border-top: 1px solid #EEF0F3; }
.asc-doc-body .qs-decision summary { color: var(--asc-doc-link); font-weight: 600; list-style: none; cursor: pointer; }
.asc-doc-body .qs-decision summary::-webkit-details-marker { display: none; }
.asc-doc-body .qs-decision summary::after { content: "+"; float: right; }
.asc-doc-body .qs-decision details[open] summary::after { content: "–"; }
.asc-doc-body .qs-decision .qs-detail { padding-top: 10px; font-size: 14.5px; }

.asc-doc-body .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.asc-doc-body .feature-grid > div { padding: 18px; border: 1px solid var(--asc-doc-line); border-radius: 16px; background: #fff; }
.asc-doc-body .feature-grid p { margin: 6px 0 0; color: var(--asc-doc-muted); font-size: 14.5px; }

.asc-doc-body .steps { padding: 0; list-style: none; counter-reset: asc-step; }
.asc-doc-body .steps > li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin: 20px 0; counter-increment: asc-step; }
.asc-doc-body .steps li::before { content: counter(asc-step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--asc-gradient); color: #fff; font-size: 14px; font-weight: 700; }
.asc-doc-body .steps li > strong:first-child { display: block; }
.asc-doc-body .steps p { margin: 2px 0; color: var(--asc-doc-muted); }

.asc-doc-body .article-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.asc-doc-body .mini-card { display: block; padding: 18px; border: 1px solid var(--asc-doc-line); border-radius: 16px; background: #fff; color: var(--asc-doc-link); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.asc-doc-body .mini-card:hover { border-color: var(--asc-teal); transform: translateY(-2px); box-shadow: var(--asc-doc-shadow); }
.asc-doc-body .mini-card span { color: var(--asc-doc-ink); font-weight: 700; }
.asc-doc-body .mini-card p { margin: 4px 0 8px; color: var(--asc-doc-muted); font-size: 14.5px; }

/* Troubleshooting: one card per problem. */
.asc-doc-body .trouble { position: relative; margin: 14px 0; padding: 18px 20px 18px 56px; border: 1px solid var(--asc-doc-line); border-radius: 16px; background: #fff; transition: border-color .2s ease; }
.asc-doc-body .trouble:hover { border-color: #C7EFE4; }
.asc-doc-body .trouble::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 22px;
  height: 22px;
  background: var(--asc-doc-link);
  -webkit-mask: var(--asc-doc-ico-help) center / contain no-repeat;
  mask: var(--asc-doc-ico-help) center / contain no-repeat;
}
.asc-doc-body .trouble h2 { margin: 0 0 4px; font-size: 1.08rem; }
.asc-doc-body .trouble p { margin: 0; color: var(--asc-doc-muted); }

/* ============================================================ Responsive */

@media (max-width: 1180px) {
  .asc-docs--article, .asc-docs--article:has(.asc-doc-toc[hidden]) { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
  .asc-doc-toc { display: none; }
  .asc-docs-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .asc-docs-sections, .asc-docs-support { grid-template-columns: 1fr 1fr; }
  .asc-docs--article { display: block; padding-top: 20px; }
  .asc-docs-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid var(--asc-doc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--asc-doc-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .asc-docs-nav { display: none; position: static; max-height: none; margin-bottom: 28px; padding: 16px; border: 1px solid var(--asc-doc-line); border-radius: 16px; }
  .asc-docs-nav.is-open { display: flex; }
  .asc-docs-nav-list { overflow: visible; padding-right: 0; }
  .asc-docs-nav-search .asc-docs-results { position: static; width: auto; }
  .asc-docs-search kbd { display: none; }
  .asc-doc-body .qs-decision-grid, .asc-doc-body .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .asc-docs-hero { padding: 52px 0 48px; }
  .asc-docs-products, .asc-docs-topics { padding-top: 48px; }
  .asc-docs-products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .asc-docs-product { padding: 16px 14px; }
  .asc-docs-product-icon { width: 42px; height: 42px; margin-bottom: 6px; }
  .asc-docs-sections, .asc-docs-support { grid-template-columns: 1fr; }
  .asc-doc-body { font-size: 16px; }
  .asc-doc-body h2.asc-step-h { gap: 12px; font-size: 1.3rem; }
  .asc-doc-body .asc-step { width: 30px; height: 30px; font-size: 14px; }
  .asc-doc-body .quickstart-intro { grid-template-columns: 1fr; padding: 20px; }
  .asc-doc-body .article-cards { grid-template-columns: 1fr; }
  .asc-doc-pager { grid-template-columns: 1fr; }
  .asc-doc-pager-next { grid-column: auto; }
  .asc-doc-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .asc-docs-product, .asc-docs-section a::after, .asc-doc-body .mini-card { transition: none; }
  .asc-docs-product:hover, .asc-doc-body .mini-card:hover { transform: none; }
}

/* Checklists: <ul class="quick-checks"> */
.asc-doc-body ul.quick-checks { margin: 18px 0 26px; padding: 16px 20px; border: 1px solid var(--asc-doc-line); border-radius: 14px; background: var(--asc-doc-soft); list-style: none; }
.asc-doc-body ul.quick-checks > li { position: relative; display: block; margin: 6px 0; padding-left: 30px; }
.asc-doc-body ul.quick-checks li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--asc-doc-link);
  -webkit-mask: var(--asc-doc-ico-success) center / contain no-repeat;
  mask: var(--asc-doc-ico-success) center / contain no-repeat;
}
