@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dm-sans-normal.woff2) format("woff2");
}
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/newsreader-normal.woff2) format("woff2");
}
@font-face {
  font-family: Newsreader;
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/newsreader-italic.woff2) format("woff2");
}
:root {
  color-scheme: light dark;
  --canvas: #f8f7ef;
  --surface: #fffef8;
  --ink: #233e33;
  --muted: #586a5e;
  --line: #dbe1d3;
  --green: #244e3e;
  --soft: #ecf0e5;
  --yellow: #f5e9b6;
  --link: #275d46;
  --button: #244e3e;
  --button-ink: #fffef1;
  --focus: #996329;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #17271f;
    --surface: #20332a;
    --ink: #f2f3e8;
    --muted: #becdbd;
    --line: #425749;
    --green: #e4edda;
    --soft: #2c4335;
    --yellow: #4a4a28;
    --link: #dfebba;
    --button: #e6e9b8;
    --button-ink: #203529;
    --focus: #efcb78;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #17271f;
  --surface: #20332a;
  --ink: #f2f3e8;
  --muted: #becdbd;
  --line: #425749;
  --green: #e4edda;
  --soft: #2c4335;
  --yellow: #4a4a28;
  --link: #dfebba;
  --button: #e6e9b8;
  --button-ink: #203529;
  --focus: #efcb78;
}
:root[data-theme="light"] {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img,
video {
  max-width: 100%;
  height: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--button);
  color: var(--button-ink);
  padding: 10px 18px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(28px, env(safe-area-inset-right)) 14px
    max(28px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  color: var(--ink);
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
}
.open-app,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-ink);
  padding: 10px 16px;
  text-decoration: none !important;
}
.site-header button {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: var(--surface);
  font-size: 22px;
}
.docs-layout {
  max-width: 1580px;
  margin: auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}
.sidebar {
  padding: 30px 20px 30px 26px;
  border-right: 1px solid var(--line);
  height: calc(100dvh - 84px);
  overflow: auto;
  position: sticky;
  top: 84px;
  font-size: 14px;
}
.mobile-topics > summary {
  display: none;
}
.sidebar details details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.sidebar summary {
  font-weight: 600;
  padding: 6px 0;
  min-height: 36px;
}
.sidebar a {
  display: block;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 5px;
  line-height: 1.5;
}
.sidebar a[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.sidebar a:hover {
  background: var(--soft);
}
.topic-overview {
  font-size: 12px;
  color: var(--muted);
}
.all-guides {
  font-weight: 600;
  margin-top: 20px;
}
.sidebar-help {
  margin: 28px 0;
  color: var(--muted);
}
.sidebar-help a {
  padding-left: 0;
  text-decoration: underline;
}
#doc-search label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
#search {
  width: 100%;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}
#search-results {
  list-style: none;
  margin: 12px 0;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
#search-results li {
  padding: 5px;
  font-size: 13px;
}
main {
  padding: 44px clamp(24px, 4vw, 64px) 0;
  min-width: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.09;
  letter-spacing: -1.3px;
  margin-bottom: 22px;
  max-width: 940px;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 36px 0 18px;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
p {
  margin-bottom: 19px;
}
.hero {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 52px);
  margin-bottom: 46px;
}
.hero h1 {
  font-size: clamp(44px, 5.1vw, 72px);
}
.hero em {
  font-weight: 400;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.9px;
  margin-bottom: 23px;
  color: var(--muted);
  text-transform: uppercase;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 750px;
  color: var(--muted);
}
.primary {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.section-heading span {
  font-size: 12px;
  color: var(--muted);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.topic-card,
.guide-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
}
.topic-card:hover,
.guide-card:hover {
  border-color: var(--muted);
}
.topic-card p,
.guide-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.topic-card > span:last-child {
  font-size: 12px;
}
.topic-number {
  font-family: Newsreader, serif;
  font-size: 26px;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card-type {
  font-size: 9px;
  letter-spacing: 1.4px;
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}
.card-arrow {
  display: block;
  text-align: right;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}
.topic-hero {
  padding: 14px 0 20px;
}
.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.article-header .eyebrow {
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 11px;
}
.article-columns {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(140px, 190px);
  gap: 32px;
}
.article-body {
  min-width: 0;
}
.article-body section {
  scroll-margin-top: 110px;
}
.article-body > p:first-child {
  font-size: 17px;
}
.article-body p,
.article-body li {
  max-width: 76ch;
}
.article-body ul,
.steps {
  padding-left: 24px;
}
.article-body li {
  padding-left: 5px;
  margin: 10px 0;
}
.steps li::marker {
  font-weight: 700;
  color: var(--link);
}
.on-this-page {
  position: sticky;
  top: 116px;
  align-self: start;
  max-height: calc(100dvh - 145px);
  overflow: auto;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  font-size: 12px;
}
.on-this-page strong {
  display: block;
  margin-bottom: 14px;
}
.on-this-page a {
  display: block;
  margin: 12px 0;
  text-decoration: none;
  color: var(--muted);
}
figure {
  margin: 26px 0;
}
figure img,
video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
/* Portrait native recordings retain readable controls without filling a desktop page. */
.portrait-media {
  max-width: 440px;
  margin-inline: auto;
}
figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.note {
  border-left: 3px solid var(--focus);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  background: var(--soft);
  margin: 25px 0;
}
.note strong {
  font-size: 12px;
}
.note p {
  font-size: 14px;
  margin: 5px 0 0;
}
.table-scroll {
  overflow: auto;
  margin: 24px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 13px 15px;
  border: 1px solid var(--line);
  min-width: 130px;
}
thead {
  background: var(--soft);
}
tbody th {
  font-weight: 600;
}
.related {
  margin-top: 46px;
}
.related-links {
  display: grid;
  gap: 10px;
}
.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}
.article-help {
  padding: 24px;
  margin: 36px 0;
  background: var(--yellow);
  border-radius: 10px;
  font-size: 14px;
}
.article-help p {
  margin: 6px 0 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
footer nav {
  display: flex;
  gap: 20px;
}
@media (min-width: 1450px) {
  .topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .article-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .on-this-page {
    position: static;
    grid-row: 1;
    max-height: none;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .on-this-page a {
    display: inline-block;
    margin: 4px 16px 4px 0;
  }
  .docs-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  main {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 16px;
    min-height: 78px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .open-app {
    padding: 8px 10px;
    font-size: 12px;
  }
  .site-header button {
    width: 36px;
    height: 36px;
  }
  .docs-layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    max-height: none;
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-topics > summary {
    display: list-item;
    font-size: 14px;
    min-height: 32px;
  }
  .sidebar-content {
    padding-top: 16px;
  }
  .sidebar-help {
    margin-bottom: 8px;
  }
  main {
    padding: 25px 20px 0;
  }
  .hero {
    padding: 28px 24px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .lead {
    font-size: 16px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    padding: 18px;
  }
  .topic-card h3 {
    font-size: 17px;
  }
  .topic-number {
    font-size: 23px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 22px;
  }
  .breadcrumbs {
    margin-bottom: 24px;
  }
  .article-columns {
    gap: 24px;
  }
  footer {
    margin-top: 40px;
  }
}
@media (max-width: 380px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 42px;
  }
  .brand {
    font-size: 14px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .site-header nav {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .sidebar,
  .on-this-page,
  .article-help,
  footer,
  .skip {
    display: none !important;
  }
  .docs-layout,
  .article-columns {
    display: block;
  }
  main {
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
  h1 {
    font-size: 32px;
  }
  a {
    color: black;
  }
  video {
    display: none;
  }
  figure,
  section {
    break-inside: avoid;
  }
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.brand-mark img {
  display: block;
}
.brand-mark .mark-dark {
  display: none;
}
:root[data-theme="dark"] .brand-mark .mark-light {
  display: none;
}
:root[data-theme="dark"] .brand-mark .mark-dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark .mark-light {
    display: none;
  }
  :root:not([data-theme="light"]) .brand-mark .mark-dark {
    display: block;
  }
}
