:root { color-scheme: light; --ink: #19242b; --muted: #52616a; --line: #d8dfe2; --accent: #1b3667; --signal: #d5394a; --paper: #f6f8f9; --surface: #fff; --hover: #e9eef1; --link-hover: #a72234; }
:root[data-theme="dark"] { color-scheme: dark; --ink: #e8edef; --muted: #adb9c0; --line: #424c51; --accent: #a7c5fa; --signal: #f27484; --paper: #171c1f; --surface: #22292d; --hover: #303b41; --link-hover: #ff9daa; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; --ink: #e8edef; --muted: #adb9c0; --line: #424c51; --accent: #a7c5fa; --signal: #f27484; --paper: #171c1f; --surface: #22292d; --hover: #303b41; --link-hover: #ff9daa; }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif; line-height: 1.65; letter-spacing: 0; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.skip { position: absolute; top: -80px; left: 12px; z-index: 2; background: var(--surface); padding: 8px 16px; }
.skip:focus { top: 8px; }
header { border-top: 4px solid var(--signal); background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: auto; padding: 16px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 650; text-decoration: none; color: var(--ink); white-space: nowrap; }
header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; }
.theme-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; }
.theme-button:hover { background: var(--hover); }
.theme-symbol { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.theme-symbol > svg { width: 18px; height: 18px; }
.theme-symbol.is-auto > svg { transform: translate(-3px, -2px); }
.theme-auto { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 11px; height: 12px; background: var(--surface); font-size: 10px; font-weight: 700; line-height: 1; }
.theme-button:hover .theme-auto { background: var(--hover); }
.store-link { font-weight: 600; }
.store-status { color: var(--muted); }
.layout { max-width: 1200px; min-height: calc(100vh - 180px); margin: auto; padding: 36px 28px 56px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
aside { align-self: start; position: sticky; top: 24px; }
aside nav { display: flex; flex-direction: column; gap: 4px; }
aside nav a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; }
aside nav a[aria-current="page"] { border-color: var(--signal); color: var(--ink); background: var(--hover); font-weight: 600; }
main { min-width: 0; max-width: 880px; }
.layout.has-page-nav { max-width: 1440px; grid-template-columns: 180px minmax(0, 1fr) 220px; gap: 32px; }
.has-page-nav > main { grid-column: 2; grid-row: 1; }
.page-nav { grid-column: 3; grid-row: 1; align-self: start; position: sticky; top: 24px; min-width: 0; font-size: 14px; }
.page-nav summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.page-nav summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.page-nav nav { max-height: calc(100vh - 96px); overflow-y: auto; }
.page-nav ul { list-style: none; padding: 0; margin: 0; }
.page-nav li { margin: 0; }
.page-nav a { display: block; padding: 7px 10px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.4; }
.page-nav .page-nav-subsection a { padding-left: 22px; font-size: 13px; }
.page-nav a:hover { color: var(--ink); background: var(--hover); }
.page-nav a[aria-current="location"] { border-color: var(--signal); color: var(--ink); background: var(--hover); font-weight: 600; }
main h2[id], main h3[id] { scroll-margin-top: 24px; }
@media (min-width: 1101px) {
  .page-nav::before { content: "On this page"; display: block; margin-bottom: 12px; font-weight: 600; }
  .page-nav summary { display: none; }
}
@media (max-width: 1100px) {
  .layout.has-page-nav { grid-template-columns: 180px minmax(0, 1fr); }
  .has-page-nav > aside { grid-row: 1 / span 2; }
  .has-page-nav > main { grid-row: 2; }
  .page-nav { grid-column: 2; position: static; border-block: 1px solid var(--line); }
  .page-nav nav { max-height: 50vh; padding-bottom: 12px; }
}
h1 { font-size: 36px; line-height: 1.2; margin: 0 0 20px; font-weight: 650; overflow-wrap: anywhere; }
h2 { margin: 36px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 23px; line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.4; margin: 24px 0 12px; }
p { margin: 0 0 16px; }
li { margin: 8px 0; }
ol, ul { padding-left: 24px; }
main ol > li { margin: 16px 0; padding-left: 4px; }
.installation-steps { margin: 24px 0 32px; }
.installation-steps > li { margin: 0; padding: 20px 0 20px 8px; border-bottom: 1px solid var(--line); }
.installation-steps > li::marker { color: var(--accent); font-weight: 650; }
.step-title { display: block; margin-bottom: 10px; line-height: 1.4; }
.installation-steps p { margin: 10px 0; }
.installation-steps p:last-child { margin-bottom: 0; }
.step-link { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; padding: 6px 0; line-height: 1.5; }
.step-value { margin: 12px 0; }
.step-value .browser-address { display: flex; width: fit-content; max-width: 100%; gap: 8px; }
main img { display: block; width: 100%; height: auto; margin: 24px 0 12px; border: 1px solid var(--line); }
.app-store-badge { display: inline-flex; align-items: center; max-width: 100%; min-height: 44px; margin-bottom: 16px; }
main .app-store-badge img { width: auto; max-width: 100%; height: 52px; margin: 0; border: 0; }
main .app-store-badge img[src$=".png"] { height: 70px; }
.calendar-screenshots picture { display: block; }
.calendar-screenshots .calendar-dark { display: none; }
:root[data-theme="dark"] .calendar-light { display: none; }
:root[data-theme="dark"] .calendar-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .calendar-light { display: none; }
  :root:not([data-theme]) .calendar-dark { display: block; }
}
main .browser-icon { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; border: 0; object-fit: contain; }
.browser-list { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 24px; }
.browser-list > span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.browser-heading { display: flex; align-items: flex-start; gap: 12px; }
.browser-heading > span { min-width: 0; }
.browser-heading .browser-icon { width: 36px; height: 36px; flex-basis: 36px; }
blockquote { margin: 24px 0; padding: 12px 20px; border-left: 3px solid var(--signal); background: var(--surface); color: var(--muted); }
blockquote p:last-child { margin-bottom: 0; }
.notice { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 4px; background: var(--surface); overflow-wrap: anywhere; }
.notice-warning { border-inline-start-color: var(--signal); }
.notice-title { margin-bottom: 8px; }
.notice p:last-child { margin-bottom: 0; }
main details { margin: 16px 0; border-block: 1px solid var(--line); }
main summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 600; }
main summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
main details[open] { padding-bottom: 12px; }
main details > :not(summary) { margin-top: 12px; }
main figure { margin: 24px 0; }
main figure img { margin-bottom: 8px; }
main figcaption { color: var(--muted); font-size: 14px; line-height: 1.5; }
.guide-figure-panel { max-width: 360px; }
.guide-figure img { background: #fff; }
code { font-family: "Cascadia Code", Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.browser-address { display: inline-flex; align-items: center; max-width: 100%; gap: 2px; vertical-align: middle; }
.browser-address code { min-width: 0; }
.copy-address { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--accent); cursor: pointer; }
.copy-address:hover { background: var(--hover); }
.copy-address:disabled { cursor: wait; }
.copy-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.copy-fallback { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; font-size: 16px; }
pre { overflow: auto; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th { color: var(--muted); }
footer { max-width: 1200px; padding: 24px 28px; margin: auto; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; color: var(--muted); }
footer span { margin-right: auto; }
@media (max-width: 760px) {
  .header-inner { padding: 14px 18px; flex-wrap: wrap; gap: 12px; }
  header nav { width: 100%; gap: 12px 20px; }
  .layout { display: block; padding: 20px 18px 40px; }
  .page-nav { display: block; margin-bottom: 24px; }
  aside { position: static; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  aside nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  aside nav a { padding: 6px 10px; font-size: 14px; }
  h1 { font-size: 30px; }
  h2 { font-size: 21px; }
  main ol > li { margin: 20px 0; }
  .installation-steps > li { margin: 0; padding-top: 24px; padding-bottom: 24px; }
  footer { padding: 20px 18px; }
}