:root { color-scheme: light; --surface: #fff; --on-accent: #fff; --hover: #f0ede8; --callout: #faf7ef; --callout-border: #ddd5c5; --checkpoint: #f4f7f2; --checkpoint-border: #cbd7ca; --checkpoint-ink: #37523c; --paper: #faf9f6; --ink: #292524; --muted: #68615b; --accent: #7f173a; --rose: #f1e6ea; --border: #dcd8d0; --mark: #ecd9df; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 15px/1.67 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--surface); z-index: 10; }
.skip-link:focus { top: 8px; }
.site-header { height: 80px; padding: 0 32px; background: var(--paper); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 26px; position: relative; z-index: 2; }
.brand { margin-right: auto; min-width: 0; white-space: nowrap; }
.brand ol { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.brand li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand li + li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-right: 2px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.brand a { display: flex; color: var(--ink); text-decoration: none; }
.brand a:hover { color: var(--accent); }
.brand-root a { font-size: 17px; font-weight: 650; }
.brand-section { font-size: 14px; color: var(--muted); }
.brand-section a { color: var(--muted); }
.brand-section > * { display: block; overflow: hidden; text-overflow: ellipsis; }
.header-nav { display: flex; align-items: center; gap: 24px; white-space: nowrap; font-size: 13px; height: 100%; }
.header-nav a { display: flex; align-items: center; height: 100%; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.header-nav a[aria-current] { border-color: var(--accent); color: var(--accent); }
.header-nav a:last-child { color: var(--accent); gap: 6px; }
.header-search { width: 260px; flex-shrink: 0; }
.header-search summary { display: none; }
.search { margin: 0; }
.search > div { display: flex; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: visible; }
input, button { font: inherit; }
.search input { width: 100%; min-width: 0; height: 54px; padding: 12px 18px; background: transparent; border: 0; border-radius: 8px 0 0 8px; color: var(--ink); font-size: 15px; }
button { min-height: 44px; border: 1px solid var(--accent); border-radius: 8px; padding: 9px 16px; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.search button { border: 0; border-radius: 0 8px 8px 0; }
/* One outer focus ring keeps the joined controls together. The inset button ring
   distinguishes keyboard focus on Submit from focus in the text field. */
.search > div:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.search input:focus-visible { outline: none; }
.search button:focus-visible { outline: 2px solid var(--on-accent); outline-offset: -5px; }
.header-search .search button:focus-visible { outline-color: var(--accent); }
@media (forced-colors: active) { .search button:focus-visible { outline-color: ButtonText; } }
.header-search .search input { height: 34px; padding: 6px 10px; font-size: 12px; }
.search-shortcut { align-self: center; margin-right: 10px; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font: 11px/1.7 system-ui, sans-serif; white-space: nowrap; }
.search > div:focus-within .search-shortcut { display: none; }
.heading-link { margin-left: .4em; color: var(--muted); font-weight: 400; text-decoration: none; opacity: 0; transition: opacity .15s; }
:is(h2, h3, h4):hover > .heading-link, .heading-link:focus-visible, .heading-link[data-copied] { opacity: 1; }
.heading-link[data-copied]::after { content: " Copied"; font-size: .6em; vertical-align: middle; }
.updated { margin: 32px 0 0; font-size: 12px; color: var(--muted); }
.header-search .search button { min-height: 34px; padding: 4px 8px; font-size: 12px; background: transparent; color: var(--accent); }
.help-layout { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: calc(100vh - 80px); }
.sidebar { background: transparent; border-right: 1px solid var(--border); padding: 28px 16px 36px; }
.chapters > summary { display: none; }
.rail-heading { padding: 0 12px; margin-bottom: 28px; }
.rail-heading h2 { margin: 0 0 4px; font-size: 17px; font-weight: 650; }
.rail-heading p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter-list > li { position: relative; margin: 2px 0; }
.chapter-list > li > a { display: flex; align-items: baseline; gap: 9px; padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.5; color: var(--ink); text-decoration: none; }
.chapter-number { font-size: 10px; color: var(--muted); flex: 0 0 18px; }
.chapter-list > .current > a { background: var(--rose); color: var(--accent); }
.chapter-list > .current::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: 0; width: 3px; background: var(--accent); border-radius: 2px; }
.chapter-list > li > a:hover, .rail-links a:hover { color: var(--accent); background: var(--hover); }
.rail-links { border-top: 1px solid var(--border); margin: 26px 10px 0; padding-top: 18px; }
.rail-links a { display: block; color: var(--ink); text-decoration: none; font-size: 12px; padding: 7px 0; }
.rail-note { margin: 22px 12px 0; font-size: 11px; color: var(--muted); }
.step-progress { display: flex; gap: 5px; margin: -8px 12px 24px; }
.step-progress span { height: 4px; flex: 1; border-radius: 2px; background: var(--border); }
.step-progress .reached { background: var(--accent); }
.tutorial-steps > li { margin: 0; padding-bottom: 18px; }
.tutorial-steps > li:not(:last-child)::after { content: ''; position: absolute; top: 34px; bottom: -8px; left: 24px; width: 1px; background: var(--border); }
.tutorial-steps > li > a { align-items: flex-start; background: transparent; padding: 7px 10px; gap: 12px; }
.tutorial-steps .chapter-number { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-basis: 28px; border: 1px solid #c9c0b7; border-radius: 50%; font-size: 12px; background: var(--surface); position: relative; z-index: 1; }
.tutorial-steps .current::before { display: none; }
.tutorial-steps .current .chapter-number { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.tutorial-steps small { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 400; margin-top: 5px; }
main { padding: 28px 52px 24px; min-width: 0; }
h1 { margin: 12px 0 14px; font-size: 40px; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 17px; line-height: 1.4; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.lede { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 28px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 690px) 212px; gap: 86px; }
.article-body { min-width: 0; overflow-wrap: anywhere; counter-reset: instructions; }
.article-body > h2 { margin: 30px 0 12px; scroll-margin-top: 24px; }
.article-body > p { margin-top: 0; margin-bottom: 18px; }
.article-body > .lede { margin-bottom: 28px; }
.article-body li { margin-bottom: 6px; }
.instructional > h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; counter-increment: instructions; }
.instructional > h2::before { content: counter(instructions); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; height: 26px; background: var(--rose); color: var(--accent); border-radius: 50%; font-size: 12px; }
.article-body blockquote { border: 1px solid var(--callout-border); border-left: 3px solid #aa9170; border-radius: 8px; background: var(--callout); padding: 16px 20px; margin: 24px 0; font-size: 13px; }
.article-body blockquote p { margin: 0 0 5px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; }
.article-body pre { overflow: auto; background: var(--paper); padding: 16px; }
.article-body table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 20px 0; font-size: 13px; }
.article-body th, .article-body td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.article-body th { background: var(--paper); text-transform: uppercase; letter-spacing: .07em; font-size: 10px; }
.article-body tr:last-child td { border-bottom: 0; }
.desktop-toc { align-self: start; border-left: 1px solid var(--border); padding-left: 20px; margin-top: 8px; }
.desktop-toc h2 { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.desktop-toc ol, .mobile-toc ol { padding: 0; list-style: none; margin: 0; }
.desktop-toc a, .mobile-toc a { display: block; font-size: 12px; padding: 6px 0; color: var(--muted); text-decoration: none; }
.practice-note { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; font-size: 12px; }
.practice-note strong { font-size: 13px; }
.practice-note p { margin: 8px 0 0; color: var(--muted); }
.mobile-toc { display: none; }
.help-video { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--paper); margin: 24px 0; }
.app-card { display: flex; align-items: center; gap: 16px; max-width: 460px; margin: 20px 0 28px; padding: 14px 16px 14px 18px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--paper); color: var(--ink); text-decoration: none; transition: background .15s, border-color .15s; }
.app-card:hover { background: var(--rose); border-color: var(--accent); }
.app-card-text { display: grid; gap: 2px; flex: 1; }
.app-card-text strong { color: var(--accent); font-size: 15px; font-weight: 650; }
.app-card-text span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.app-card-go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 16px; }
.help-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.page-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 32px; max-width: 690px; font-size: 13px; }
.page-navigation a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.page-navigation a > span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.page-navigation strong { font-weight: 500; }
.page-navigation div:last-child { text-align: right; }
.tutorial-navigation { align-items: center; }
.tutorial-navigation a[rel="next"] { display: inline-block; background: var(--accent); color: var(--on-accent); border-radius: 8px; padding: 13px 18px; font-size: 13px; }
.tutorial-navigation a[rel="next"] > span { display: inline; color: inherit; font-size: 15px; margin-left: 8px; }
.help-home .help-layout { display: block; }
.help-home main { max-width: 1144px; padding: 46px 0 24px; margin: 0 auto; }
.help-home h1 { margin: 12px 0 12px; font-size: 42px; }
.help-home .lede { margin-bottom: 28px; }
.help-home .search { width: 100%; margin: 0 0 34px; }
.section-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 0 0 34px; }
.card { position: relative; padding: 26px 26px 24px; color: var(--ink); text-decoration: none; border-top: 3px solid #b6a58d; }
.card + .card { border-left: 1px solid var(--border); }
.card:first-child { background: var(--paper); border-top-color: var(--accent); }
.card:last-child { border-top-color: #769176; }
.card:hover { background: var(--paper); }
.card .eyebrow { display: inline; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 8px; color: var(--accent); font-size: 11px; line-height: 1; }
.card h2 { margin: 12px 0 10px; font-size: 25px; }
.card p { font-size: 13px; line-height: 1.75; margin: 0 0 22px; }
.card strong { color: var(--accent); font-size: 12px; font-weight: 600; }
.chapter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.chapter-heading h2 { font-size: 20px; margin: 0; }
.chapter-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; padding: 0; margin: 14px 0 26px; list-style: none; counter-reset: chapters; }
.chapter-grid li { counter-increment: chapters; border-bottom: 1px solid var(--border); }
.chapter-grid a { display: flex; gap: 10px; padding: 13px 0; color: var(--ink); text-decoration: none; font-size: 12px; }
.chapter-grid a::before { content: counter(chapters, decimal-leading-zero); color: var(--accent); font-size: 10px; padding-top: 2px; }
.chapter-grid span { margin-left: auto; }
.quick-answers { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.quick-answers h2 { font-size: 13px; margin: 0; white-space: nowrap; }
.quick-answers > div { display: flex; flex-wrap: wrap; gap: 9px 24px; }
.quick-answers a { font-size: 11px; text-decoration: none; }
.search { position: relative; }
.search-panel { margin-top: 18px; }
.results-count { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.results ol { list-style: none; margin: 0; padding: 0; }
.results li { border-bottom: 1px solid var(--border); }
.results a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; }
.results small { display: block; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.results strong { display: block; font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--accent); }
.results a:hover strong { text-decoration: underline; }
.result-heading { display: block; font-size: 13px; color: var(--accent); }
.result-snippet { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.results mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }
/* On articles the same list drops down from the header search. */
.header-search .search-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 520px; max-height: min(70vh, 600px); overflow-y: auto; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 36px rgb(0 0 0 / .16); }
.header-search .results-count { padding: 2px 10px 4px; font-size: 11px; }
.header-search .results li { border: 0; }
.header-search .results a { padding: 9px 10px; border-radius: 7px; outline-offset: -3px; }
.header-search .results a:hover, .header-search .results a:focus { background: var(--rose); }
.header-search .results strong { font-size: 14px; color: var(--ink); }
.header-search .result-heading { font-size: 12px; }
.header-search .result-snippet { font-size: 12px; line-height: 1.55; }
@media (max-width: 1240px) {
  .site-header { gap: 18px; padding: 0 24px; }
  .header-nav { gap: 16px; }
  main { padding-left: 36px; padding-right: 36px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 36px; }
  .help-home main { margin: 0 40px; }
}
@media (max-width: 1050px) {
  .header-search { width: 220px; }
  .help-layout { grid-template-columns: 232px minmax(0, 1fr); }
  .article-layout { display: block; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; margin: 24px 0; }
  .mobile-toc summary { cursor: pointer; font-size: 13px; font-weight: 600; }
  .chapter-heading { display: block; }
  .chapter-heading p { margin-top: 4px; }
}
@media (max-width: 700px) {
  .site-header { height: 72px; padding: 0 18px; gap: 12px; }
  .brand .brand-section { display: none; }
  .header-nav { font-size: 11px; }
  .header-nav a:not(:last-child) { display: none; }
  .header-search { width: auto; flex-shrink: 1; }
  .header-search summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-size: 12px; }
  .header-search .search { position: absolute; top: 72px; left: 0; width: 100%; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--border); z-index: 3; }
  .header-search .search input { height: 44px; font-size: 16px; }
  .header-search .search button { min-height: 44px; }
  .header-search .search-panel { position: static; width: auto; max-height: calc(100vh - 170px); margin-top: 10px; box-shadow: none; }
  .help-layout { display: block; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 18px; }
  .chapters > summary { display: list-item; cursor: pointer; font-size: 12px; padding: 13px 0; font-weight: 600; line-height: 1.6; }
  .chapters nav { padding: 18px 0; }
  main { padding: 24px 24px 22px; }
  h1 { font-size: 36px; margin-top: 10px; }
  .eyebrow { font-size: 9px; }
  .lede { font-size: 15px; }
  .article-body { font-size: 15px; line-height: 1.7; }
  .article-body > h2 { margin-top: 26px; }
  .article-body table { font-size: 12px; table-layout: fixed; }
  .article-body th, .article-body td { padding: 10px; }
  .page-navigation { gap: 18px; font-size: 12px; }
  .tutorial-navigation { grid-template-columns: 1fr; }
  .tutorial-navigation div:last-child { text-align: left; }
  .tutorial-navigation a[rel="next"] { display: block; }
  .help-home main { margin: 0; padding: 32px 24px 22px; }
  .help-home h1 { font-size: 36px; }
  .help-home .search input { font-size: 16px; padding-left: 12px; }
  .section-cards { grid-template-columns: 1fr; }
  .card + .card { border-left: 0; border-top-width: 1px; }
  .card { padding: 22px; }
  .chapter-grid { grid-template-columns: 1fr; }
  .quick-answers { display: block; }
  .quick-answers h2 { margin-bottom: 12px; }
  .quick-answers > div { flex-direction: column; gap: 12px; }
}

:root[data-theme="dark"] { color-scheme: dark; --surface: #1c1a1f; --paper: #232028; --ink: #e8e2e4; --muted: #bbb1b7; --accent: #e8a0b0; --on-accent: #241b20; --rose: #3c2933; --border: #514952; --hover: #302a34; --callout: #302b23; --callout-border: #73634d; --checkpoint: #232e26; --checkpoint-border: #526b56; --checkpoint-ink: #a4d0a9; --mark: #5c3546; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { color-scheme: dark; --surface: #1c1a1f; --paper: #232028; --ink: #e8e2e4; --muted: #bbb1b7; --accent: #e8a0b0; --on-accent: #241b20; --rose: #3c2933; --border: #514952; --hover: #302a34; --callout: #302b23; --callout-border: #73634d; --checkpoint: #232e26; --checkpoint-border: #526b56; --checkpoint-ink: #a4d0a9; --mark: #5c3546; } }
/* The site's shared footer (templates/web/components/footer.html), restyled without Tailwind.
   It stays brand purple in both themes, like the marketing site. */
.site-footer { margin-top: 46px; padding: 40px 0; background: #3d0e35; color: rgb(250 248 246 / .8); font-size: 14px; }
:root[data-theme="dark"] .site-footer { background: #2a0923; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .site-footer { background: #2a0923; } }
.site-footer > div { display: flex; flex-direction: column; gap: 20px; width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.site-footer-links, .site-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer-links a { color: #a0c4a4; text-decoration: none; }
.site-footer-legal { gap: 8px 20px; font-size: 12px; color: rgb(250 248 246 / .5); }
.site-footer-legal p { margin: 0; }
.site-footer-legal a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer-spacer { flex: 1; }
.site-footer iframe { max-width: 100%; border: 0; }
.site-footer :focus-visible { outline-color: #f5a9b8; }
.theme-choice[hidden] { display: none; }
.theme-choice select { min-height: 44px; margin-left: 6px; padding: 6px 10px; border: 1px solid rgb(250 248 246 / .25); border-radius: 8px; color: #faf8f6; background: rgb(255 255 255 / .08); color-scheme: dark; font: inherit; }
@media (max-width: 700px) { .site-footer > div { width: 100%; } }

.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .logo-light { display: none; } :root:not([data-theme]) .logo-dark { display: block; } }

/* Center the complete navigation/article/contents frame on wide screens. */
.site-header { padding: 0; }
.header-inner { width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 24px; }
.help-layout { width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; grid-template-columns: 240px minmax(0, 1fr); }
.help-article main { padding-left: 40px; padding-right: 40px; }
.article-layout { grid-template-columns: minmax(0, 690px) 212px; gap: 60px; }
.chapters { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.desktop-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
@media (max-width: 1240px) {
  .header-inner { gap: 16px; padding: 0 12px; }
  .help-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .help-article main { padding-left: 28px; padding-right: 28px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 28px; }
}
@media (max-width: 1050px) { .article-layout { display: block; } }
@media (max-width: 700px) {
  .header-inner { width: 100%; padding: 0 18px; gap: 12px; }
  .help-layout { width: 100%; display: block; }
  .help-article main { padding-left: 24px; padding-right: 24px; }
  .chapters { position: static; max-height: none; overflow: visible; }
}

/* Decorative window frame; the captured UI remains untouched. */
.screenshot-frame { display: block; max-width: 100%; padding: 5px; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / .14), 0 2px 5px rgb(0 0 0 / .08); }
.screenshot-chrome { position: relative; display: flex; align-items: center; min-height: 36px; padding: 0 10px 4px; color: var(--muted); }
.screenshot-dots { display: flex; align-items: center; gap: 8px; }
.screenshot-dots > span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.screenshot-dots > span:nth-child(2) { background: #febc2e; }
.screenshot-dots > span:nth-child(3) { background: #28c840; }
.screenshot-title { position: absolute; left: 80px; right: 80px; text-align: center; font: 11px/1.4 system-ui, sans-serif; }
.screenshot-frame > a { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 5px; outline-offset: -3px; }
.article-body .screenshot-frame img { display: block; width: 100%; border: 0; border-radius: 0; }
.help-demo { margin: 24px 0; }
/* The picture holds the place; the app plays over it once it is up (help.js) */
.help-demo-screen { position: relative; display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 5px; }
.help-demo-screen iframe { position: absolute; top: 0; left: 0; width: 1024px; height: 640px; border: 0; transform-origin: 0 0; scale: var(--help-demo-scale, 1); pointer-events: none; opacity: 0; transition: opacity .3s; }
.help-demo.is-ready iframe { opacity: 1; }
/* Safari scrolls a frame under the pointer even when it takes no pointer: this pane takes the wheel */
.help-demo-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .tutorial-grid { grid-template-columns: 1fr; }
  .screenshot-frame { padding: 4px; border-radius: 10px; }
  .screenshot-chrome { min-height: 32px; padding-left: 8px; padding-right: 8px; }
  .screenshot-dots { gap: 6px; }
  .screenshot-dots > span { width: 10px; height: 10px; }
  .screenshot-title { left: 64px; right: 64px; }
}
/* Keep the full section names and search usable on tablet widths. */
@media (min-width: 701px) and (max-width: 1050px) {
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; gap: 8px 16px; }
  .header-search { flex: 1; max-width: 360px; }
  .header-nav { width: 100%; height: 36px; justify-content: space-between; }
  .header-search .search-panel { left: auto; right: 0; max-width: calc(100vw - 72px); }
}

.support-card { margin-top: 24px; border: 1px solid var(--checkpoint-border); border-radius: 8px; background: var(--checkpoint); overflow: hidden; }
.support-body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px; }
.support-icon { flex: 0 0 auto; box-sizing: content-box; padding: 8px; border: 1px solid var(--checkpoint-border); border-radius: 50%; background: var(--surface); color: var(--checkpoint-ink); }
.support-body > div { flex: 1 1 140px; min-width: 0; }
.support-card h2 { margin: 0 0 2px; color: var(--ink); font-size: 13px; line-height: 1.5; letter-spacing: normal; text-transform: none; }
.support-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-card .support-action { display: block; padding: 10px 12px; border-top: 1px solid var(--checkpoint-border); background: color-mix(in srgb, var(--checkpoint-border) 40%, var(--checkpoint)); color: var(--checkpoint-ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.support-card .support-action:hover { background: color-mix(in srgb, var(--checkpoint-border) 70%, var(--checkpoint)); color: var(--checkpoint-ink); text-decoration: underline; }
.support-action:focus-visible { outline-offset: -3px; }
.desktop-toc .support-card .support-action { padding: 10px 8px; font-size: 11px; letter-spacing: -.01em; }
.help-home .support-card { margin-top: 32px; }
.help-home .support-body { padding: 18px 22px; gap: 12px 18px; }
.help-home .support-card h2 { font-size: 15px; }
.help-home .support-card p, .help-home .support-card .support-action { font-size: 13px; }
.help-home .support-card .support-action { padding: 12px 22px; }
.mobile-support { display: none; }
@media (max-width: 1050px) { .mobile-support { display: block; } }

.answer-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.answer-directory li { border: 1px solid var(--border); border-radius: 8px; }
.answer-directory a { display: flex; flex-direction: column; height: 100%; padding: 20px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.answer-directory a:hover { background: var(--paper); }
.answer-directory h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.answer-directory p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.answer-directory span { margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 600; }
@media (max-width: 700px) { .answer-directory { grid-template-columns: 1fr; } }

.home-doors .card { display: flex; flex-direction: column; }
.home-doors .card:hover { background: transparent; }
.home-doors .card:first-child:hover { background: var(--paper); }
.home-doors h2 { margin: 8px 0 6px; font-size: 25px; letter-spacing: -.02em; }
.home-doors p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }
.home-doors ol, .home-doors ul { margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; }
.home-doors ol { padding-left: 20px; list-style: decimal; }
.home-doors li a { display: block; padding: 4px 0; color: var(--ink); }
.home-doors li a:hover { color: var(--accent); }
.door-action { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 600; text-decoration: none; }
.door-action.primary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.door-action.primary:hover { color: var(--on-accent); }
.tutorial-directory { grid-template-columns: 1fr; max-width: 720px; }
.tutorial-directory span { margin: 0 0 6px; }
.tutorial-directory p { margin-bottom: 0; }
.rail-heading h2 a { color: inherit; text-decoration: none; }
.account-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--checkpoint-border); border-radius: 8px; background: var(--checkpoint); color: var(--checkpoint-ink); font-size: 14px; }
.account-prompt p { flex: 1 1 320px; margin: 0; }
.account-prompt div { display: flex; align-items: center; gap: 18px; }
.account-prompt a { color: var(--checkpoint-ink); font-weight: 600; }
.account-prompt .account-signup { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--checkpoint-ink); color: var(--checkpoint); text-decoration: none; }
