/* Townsify documentation. Light theme only; brand tokens follow the console (root DESIGN.md). */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-code-pro-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #f9f9fb;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --surface-3: #eceef2;
  --ink: #1f232a;
  --text: #3a3f48;
  --muted: #5f636b;
  --dim: #697483;
  --line: #e3e5ea;
  --line-soft: #eef0f3;
  --line-strong: #d2d5dc;
  --accent: #0a9bb5;
  --accent-strong: #07788c;
  --accent-deep: #065f6f;
  --accent-soft: #e0f4f8;
  --accent-wash: #f2fafc;
  --accent-border: #a9dbe5;
  --amber: #8a5a12;
  --amber-bg: #f8f1e1;
  --amber-border: #e8d6ad;
  --green: #1e5b41;
  --green-bg: #eaf1ec;
  --red: #9b2c2c;
  --red-bg: #fbeceb;
  --mark: #fdeec0;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.05);
  --shadow-md: 0 1px 2px rgb(16 24 40 / 0.04), 0 8px 20px -6px rgb(16 24 40 / 0.1);
  --shadow-lg: 0 2px 6px rgb(16 24 40 / 0.06), 0 28px 60px -16px rgb(16 24 40 / 0.28);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --overlay: rgb(17 22 30 / 0.38);
  --overlay-strong: rgb(17 22 30 / 0.78);
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header: 64px;
  --sidebar: 288px;
  --toc: 224px;
  --measure: 72ch;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ---------------------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 24px);
}
html.is-locked {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
  text-wrap: balance;
}
p {
  margin: 0 0 1.1em;
}
a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--accent-deep);
  text-decoration-thickness: 2px;
}
img {
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
code,
kbd,
pre {
  font-family: var(--mono);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
.icon {
  flex: none;
  vertical-align: middle;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:hover {
  top: 12px;
  color: #fff;
}
.no-js [data-search-open],
.no-js .copy,
.no-js .nav-open {
  display: none !important;
}

/* Buttons and small controls ------------------------------------------------------------------ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.14s, border-color 0.14s, color 0.14s, box-shadow 0.14s;
}
.button:hover {
  border-color: var(--dim);
  color: var(--ink);
  text-decoration: none;
}
.button-primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}
.button-primary:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
}
.button-small {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-button:hover {
  background: var(--surface-2);
  color: var(--ink);
}
kbd {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: inset 0 -1px 0 var(--line);
  color: var(--muted);
  font: 500 12px/1 var(--font);
  white-space: nowrap;
}

/* Header -------------------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(180%) blur(14px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
}
.brand .logo {
  color: var(--ink);
}
.brand-divider {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: var(--line-strong);
}
.brand-docs {
  color: var(--muted);
  font-weight: 550;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topnav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.14s, color 0.14s;
}
.topnav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.topnav a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.search-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 280px;
  height: 38px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s, background-color 0.14s;
}
.search-button:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.search-label {
  flex: 1;
}
.nav-open {
  display: none;
}

/* Shell --------------------------------------------------------------------------------------- */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  height: calc(100dvh - var(--header));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.sidebar-nav {
  padding: 24px 16px 40px;
}
.sidebar-head,
.sidebar-foot,
.scrim {
  display: none;
}
main {
  min-width: 0;
}
main:focus {
  outline: none;
}

/* Section tree */
.nav-section + .nav-section {
  margin-top: 26px;
}
.nav-heading {
  margin: 0 0 6px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.12s, color 0.12s;
}
.nav-list a:hover {
  background: var(--surface-3);
  color: var(--ink);
}
.nav-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}
.nav-area > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.12s, color 0.12s;
}
.nav-area > summary::-webkit-details-marker {
  display: none;
}
.nav-area > summary:hover {
  background: var(--surface-3);
  color: var(--ink);
}
.nav-area > summary > .icon:first-child {
  color: var(--dim);
}
.nav-area[open] > summary > .icon:first-child {
  color: var(--accent-strong);
}
.nav-area-name {
  flex: 1;
}
.nav-count {
  color: var(--dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.nav-chevron {
  color: var(--dim);
  transition: transform 0.16s var(--ease);
}
.nav-area[open] .nav-chevron {
  transform: rotate(90deg);
}
.nav-sub {
  margin: 2px 0 8px 17px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.nav-sub a {
  font-size: 13.5px;
}

/* Article layout ------------------------------------------------------------------------------- */
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 56px 0;
}
.doc-grid.has-toc {
  grid-template-columns: minmax(0, 1fr) var(--toc);
}
.article {
  min-width: 0;
  max-width: 800px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--muted);
  font-size: 13.5px;
  list-style: none;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}
.breadcrumbs .icon {
  color: var(--line-strong);
}
.breadcrumbs [aria-current] {
  color: var(--ink);
  font-weight: 550;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  background: var(--accent-wash);
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 600;
}
.article-header h1 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 1.55rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.lead {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta .icon {
  color: var(--dim);
}
.facts {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.fact {
  min-width: 0;
  padding: 14px 18px;
}
.fact + .fact {
  border-left: 1px solid var(--line);
}
.fact dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.fact dd {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.fact code {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.copy {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: background-color 0.14s, border-color 0.14s, color 0.14s;
}
.copy:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.copy[data-copied] {
  color: var(--green);
}

/* On this page */
.toc {
  position: sticky;
  top: calc(var(--header) + 40px);
  align-self: start;
  max-height: calc(100vh - var(--header) - 64px);
  overflow-y: auto;
  font-size: 13.5px;
}
.toc-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.toc ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  list-style: none;
}
.toc li a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.12s, border-color 0.12s;
}
.toc li a:hover {
  color: var(--ink);
}
.toc li a[aria-current] {
  border-left-color: var(--accent);
  color: var(--accent-strong);
  font-weight: 600;
}
.toc-top {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.toc-top:hover {
  color: var(--accent-strong);
}
.toc-inline {
  display: none;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.toc-inline summary {
  padding: 12px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.toc-inline ul {
  margin: 0;
  padding: 0 16px 14px 34px;
  font-size: 14px;
}
.toc-inline li {
  margin: 4px 0;
}

/* Prose ---------------------------------------------------------------------------------------- */
.prose {
  margin-top: 36px;
}
.prose > p,
.prose li {
  max-width: var(--measure);
}
.prose h2 {
  margin: 3rem 0 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.prose > h2:first-child,
.prose > .shot:first-child {
  margin-top: 0;
}
.heading-link {
  color: inherit;
  text-decoration: none;
}
.heading-link:hover {
  color: inherit;
  text-decoration: none;
}
.heading-link::after {
  content: "#" / "";
  margin-left: 0.4em;
  color: var(--dim);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.12s;
}
.heading-link:hover::after,
.heading-link:focus-visible::after {
  opacity: 1;
}
.ui-path {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.9375em;
  font-weight: 600;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
:not(pre) > code {
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}
.fact code,
.endpoint code {
  padding: 0;
  border: 0;
  background: none;
}
pre {
  position: relative;
  margin: 16px 0 24px;
  padding: 16px 52px 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.7;
}
pre code {
  font-size: inherit;
}
.code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  border-color: var(--line);
  background: var(--surface);
}

/* Steps */
.steps {
  margin: 8px 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}
.steps > li {
  position: relative;
  padding: 0 0 48px 52px;
  counter-increment: step;
}
.prose .steps > li {
  max-width: none;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: var(--accent-wash);
  box-shadow: 0 0 0 5px var(--bg);
  color: var(--accent-strong);
  font: 650 14px/1 var(--font);
}
.steps > li::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 4px;
  left: 16px;
  width: 1px;
  background: var(--line);
}
.steps > li:last-child {
  padding-bottom: 0;
}
.steps > li:last-child::after {
  display: none;
}
.prose .step-title {
  margin: 0 0 6px;
  font-size: 1.1875rem;
  line-height: 30px;
  letter-spacing: -0.01em;
}
.steps p {
  max-width: var(--measure);
  margin: 0;
}
.steps .shot {
  margin: 20px 0 0;
}

/* Callouts */
.callout {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin: 16px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.callout > .icon {
  margin-top: 3px;
  color: var(--muted);
}
.callout-body p {
  max-width: none;
  margin: 0;
}
.callout-limits {
  border-color: var(--amber-border);
  background: var(--amber-bg);
}
.callout-limits > .icon {
  color: var(--amber);
}

/* Screenshots */
.shot {
  margin: 32px 0;
}
.shot-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.shot-dots {
  display: inline-flex;
  gap: 6px;
}
.shot-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-url {
  min-width: 0;
  max-width: min(520px, 100%);
  height: 24px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font: 500 12px/22px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-image {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.shot-image img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  background: rgb(31 35 42 / 0.82);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s, transform 0.16s var(--ease);
}
.shot-image:hover .shot-zoom,
.shot-image:focus-visible .shot-zoom {
  opacity: 1;
  transform: none;
}
.shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.shot figcaption strong {
  color: var(--text);
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-sm);
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Tables */
.table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
}
table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.55;
}
th:first-child {
  border-top-left-radius: var(--radius-card);
}
th:last-child {
  border-top-right-radius: var(--radius-card);
}
th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  color: var(--ink);
  font-weight: 600;
}

/* API endpoints */
.endpoints {
  display: grid;
  gap: 10px;
  margin: 16px 0 8px;
}
.endpoint {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.endpoint-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.endpoint code {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.endpoint p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.method {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-sm);
  font: 650 12px/1 var(--mono);
  letter-spacing: 0.02em;
}
.method-get {
  background: var(--green-bg);
  color: var(--green);
}
.method-post {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.method-put,
.method-patch {
  background: var(--amber-bg);
  color: var(--amber);
}
.method-delete {
  background: var(--red-bg);
  color: var(--red);
}

/* Related pages */
.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.related a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.related a:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.related a > .icon:last-child {
  margin-left: auto;
  color: var(--dim);
  transition: transform 0.14s var(--ease), color 0.14s;
}
.related a:hover > .icon:last-child {
  color: var(--accent-strong);
  transform: translateX(2px);
}
.related-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
}
.related-copy {
  min-width: 0;
}
.related strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.related small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Previous and next, help --------------------------------------------------------------------- */
.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 56px 0 0;
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.pager-link:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.pager-next {
  grid-column: 2;
  align-items: flex-end;
  text-align: right;
}
.pager small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.pager strong {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
}
.pager-link:hover strong {
  color: var(--accent-strong);
}
.help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  margin: 24px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  background: var(--accent-wash);
}
.help h2 {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.help p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.help-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--accent-strong);
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 56px 40px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner p {
  margin: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Home ---------------------------------------------------------------------------------------- */
.layout-home .shell {
  grid-template-columns: minmax(0, 1fr);
}
.layout-home .sidebar {
  display: none;
}
.layout-home .footer-inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}
.hero {
  position: relative;
  padding: 80px 24px 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 100%);
  text-align: center;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-lead {
  max-width: 600px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  height: 58px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--dim);
  font-size: 16px;
  text-align: left;
  cursor: text;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.hero-search:hover {
  border-color: var(--accent-border);
}
.hero-search .icon {
  color: var(--muted);
}
.hero-search span {
  flex: 1;
}
.hero-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hero-jump > span {
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  transition: border-color 0.14s, color 0.14s;
}
.chip:hover {
  border-color: var(--accent-border);
  color: var(--accent-strong);
  text-decoration: none;
}
.home {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 16px;
}
.home-section {
  padding-top: 64px;
  scroll-margin-top: calc(var(--header) + 8px);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2,
.works-copy h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section-head p {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--muted);
}
.card-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
}
.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.14s, box-shadow 0.14s, transform 0.14s var(--ease);
}
.card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}
.card > .card-icon {
  margin-bottom: 16px;
}
.card-title {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent-strong);
  font-size: 13.5px;
  font-weight: 600;
}
.card:hover .card-meta .icon {
  transform: translateX(2px);
}
.card-meta .icon {
  transition: transform 0.14s var(--ease);
}
.card-featured {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--accent-wash), var(--surface) 70%);
}
.featured-copy {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
}
.featured-copy .card-title {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}
.featured-copy .card-meta {
  padding-top: 14px;
}
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 650;
}
.featured-shot {
  margin: auto 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-md);
}
.featured-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.works {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 48px;
}
.works-copy > p {
  margin: 14px 0 22px;
  color: var(--text);
}
.works-shot .shot {
  margin: 0;
}
.concepts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.concept {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.concept:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  color: inherit;
  text-decoration: none;
}
.concept > div {
  min-width: 0;
}
.concept > .icon:last-child {
  margin-left: auto;
  color: var(--dim);
}
.concept .card-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}
.concept-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}
.concept-text {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.reference-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 14px;
  font-size: 1.125rem;
  scroll-margin-top: calc(var(--header) + 16px);
}
.reference-heading .icon {
  color: var(--accent-strong);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.area-card {
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  transition: border-color 0.14s, box-shadow 0.14s;
}
.area-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.area-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.area-head h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.3;
}
.area-head h4 .icon {
  color: var(--accent-strong);
}
.area-count {
  margin-left: auto;
  color: var(--dim);
  font-size: 12.5px;
  white-space: nowrap;
}
.area-text {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.area-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-links a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.area-links a .icon {
  position: relative;
  top: 2px;
  color: var(--line-strong);
}
.area-links a:hover {
  color: var(--accent-strong);
}
.area-links a:hover .icon {
  color: var(--accent);
}
.area-more summary {
  display: inline-flex;
  padding: 6px 0 2px;
  color: var(--accent-strong);
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.area-more summary::-webkit-details-marker {
  display: none;
}
.area-more[open] summary {
  color: var(--muted);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.14s, color 0.14s;
}
.mini-card .icon {
  color: var(--dim);
}
.mini-card:hover {
  border-color: var(--accent-border);
  color: var(--accent-strong);
  text-decoration: none;
}
.mini-card:hover .icon {
  color: var(--accent-strong);
}
.home > .help {
  margin-top: 64px;
}

/* Search -------------------------------------------------------------------------------------- */
.search {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
}
.search[hidden] {
  display: none;
}
.search-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(3px);
}
.search-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(660px, 100%);
  max-height: min(600px, 78vh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: rise 0.16s var(--ease);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px var(--font);
}
.search-field input::placeholder {
  color: var(--dim);
}
.search-field input::-webkit-search-cancel-button {
  display: none;
}
.search-cancel {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.search-cancel span {
  display: none;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 600;
}
.search-body {
  overflow-y: auto;
  padding: 8px;
  overscroll-behavior: contain;
}
.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}
.search-group {
  padding: 10px 12px 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}
.search-result a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}
.search-result[aria-selected="true"] a {
  background: var(--accent-soft);
}
.result-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}
.search-result[aria-selected="true"] .result-icon {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}
.result-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.result-group {
  overflow: hidden;
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
mark {
  border-radius: var(--radius-xs);
  background: var(--mark);
  color: inherit;
}
.search-status {
  margin: 0;
  padding: 4px 12px;
  color: var(--muted);
  font-size: 13px;
}
.search-status:empty {
  display: none;
}
.search-empty {
  padding: 28px 16px;
  text-align: center;
}
.search-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12.5px;
}
.search-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Lightbox */
.lightbox {
  max-width: min(1480px, 96vw);
  max-height: 96vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.lightbox::backdrop {
  background: var(--overlay-strong);
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(96vh - 56px);
  margin: 0 auto;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  border-color: var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.lightbox-caption {
  margin: 14px 0 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* Responsive ----------------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .doc-grid.has-toc {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
  .toc-inline {
    display: block;
  }
  .area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1119px) {
  .search-button {
    width: 220px;
  }
  .topnav a {
    padding: 7px 9px;
  }
}
@media (max-width: 1023px) {
  :root {
    --header: 60px;
  }
  .topbar-inner {
    gap: 12px;
    padding: 0 12px;
  }
  .nav-open {
    display: inline-grid;
  }
  .topnav,
  .console-link {
    display: none;
  }
  .search-button {
    width: 40px;
    padding: 0;
    justify-content: center;
    background: transparent;
    border-color: transparent;
  }
  .search-label,
  .search-button kbd {
    display: none;
  }
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar,
  .layout-home .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .sidebar.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.22s var(--ease), visibility 0s;
  }
  .sidebar-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header);
    padding: 10px 8px 10px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .sidebar-nav {
    flex: 1;
    padding: 18px 12px 24px;
  }
  .sidebar-foot {
    display: block;
    padding: 12px 16px 20px;
    border-top: 1px solid var(--line);
  }
  .sidebar-foot .button {
    width: 100%;
  }
  .scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .no-js .sidebar {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    transform: none;
    visibility: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .no-js .sidebar-head,
  .no-js .sidebar-foot {
    display: none;
  }
  .doc-grid {
    padding: 28px 24px 0;
  }
  .footer-inner {
    padding: 24px 24px 36px;
  }
  .start-grid,
  .works {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .works {
    gap: 32px;
  }
  .area-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 719px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .related,
  .pager,
  .card-grid,
  .area-grid,
  .mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pager-next {
    grid-column: auto;
  }
  .help {
    grid-template-columns: minmax(0, 1fr);
  }
  .help-actions .button {
    flex: 1;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 559px) {
  .brand-divider,
  .brand-docs {
    display: none;
  }
  .doc-grid {
    padding: 22px 16px 0;
  }
  .footer-inner {
    padding: 22px 16px 32px;
  }
  .article-header h1 {
    font-size: 1.875rem;
  }
  .lead,
  .hero-lead {
    font-size: 1.0625rem;
  }
  .hero {
    padding: 52px 16px 44px;
  }
  .hero-search {
    height: 52px;
    padding: 0 12px 0 16px;
  }
  .hero-search kbd {
    display: none;
  }
  .home-section {
    padding-top: 48px;
  }
  .shot-bar {
    padding: 5px 12px;
  }
  .shot-dots {
    display: none;
  }
  .steps > li {
    padding-left: 46px;
  }
  .search {
    padding: 0;
  }
  .search-panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .search-foot,
  .search-cancel kbd {
    display: none;
  }
  .search-cancel span {
    display: inline;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
@media print {
  .topbar,
  .sidebar,
  .toc,
  .toc-inline,
  .pager,
  .help,
  .shot-zoom,
  .copy,
  .site-footer nav {
    display: none !important;
  }
  .shell,
  .doc-grid,
  .doc-grid.has-toc {
    display: block;
    padding: 0;
  }
  .shot-frame {
    box-shadow: none;
  }
  a {
    color: inherit;
  }
}
