:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --surface: #fffefa;
  --soft: #eeece5;
  --ink: #242333;
  --muted: #666474;
  --line: #ddd9d0;
  --purple: #6545cc;
  --purple-soft: #eee8ff;
  --green: #236957;
  --green-soft: #e5f1e9;
  --orange: #a5462b;
  --orange-soft: #f9e9dc;
  --blue: #315dad;
  --blue-soft: #e6edf9;
  --shadow: 4px 5px 0 #2423330b;
  --header-height: 82px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14151e;
  --surface: #1d1e2a;
  --soft: #242531;
  --ink: #f2f0e8;
  --muted: #b0aebf;
  --line: #393946;
  --purple: #b9a2ff;
  --purple-soft: #2b2442;
  --green: #8cd5b6;
  --green-soft: #20372e;
  --orange: #f6ae8b;
  --orange-soft: #3b2926;
  --blue: #a4c3ff;
  --blue-soft: #23304a;
  --shadow: 4px 5px 0 #0003;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 28px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 "Inter", "Segoe UI", "DejaVu Sans", Arial, sans-serif; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--purple); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
button:disabled { cursor: default; }
::selection { background: var(--purple-soft); color: var(--ink); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.04em; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font: 600 10px/1.6 "DejaVu Sans Mono", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.muted { color: var(--muted); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1560px; min-height: var(--header-height); padding: 14px 32px; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: -.05em; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--bg); background: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: -.08em; transform: rotate(-5deg); }
.docs-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 13px "DejaVu Sans Mono", Consolas, monospace; text-decoration: none; border-left: 1px solid var(--line); padding-left: 22px; }
.label-dot, .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.header-search { position: relative; width: min(420px, 100%); margin-left: auto; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.search-field:focus-within { border-color: var(--purple); }
.search-field .icon { width: 18px; height: 18px; color: var(--muted); }
.search-field input { min-width: 0; width: 100%; border: none; outline: none; padding: 0; background: transparent; color: var(--ink); font-size: 13px; min-height: 24px; }
input::placeholder { color: var(--muted); opacity: 1; }
kbd { white-space: nowrap; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font: 10px/1.7 "DejaVu Sans Mono", Consolas, monospace; color: var(--muted); }
.header-links { display: flex; align-items: center; gap: 20px; white-space: nowrap; font-size: 12px; }
.header-links a { text-decoration: none; color: var(--ink); }
.header-links a:hover { color: var(--purple); }
.account-link { border: 1px solid var(--line); border-radius: 7px; padding: 9px 12px; background: var(--surface); }
.theme-button { display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; min-width: 42px; min-height: 42px; }
.theme-label { display: none; }
.docs-layout { display: grid; grid-template-columns: 248px minmax(0, 800px) 190px; gap: 42px; padding: 0 32px; max-width: 1520px; margin: auto; align-items: start; }
.docs-layout.wide { grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 26px 20px 25px 0; border-right: 1px solid var(--line); font-size: 12px; }
.mobile-nav-toggle { display: none; }
.overview-link { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 11px 12px; border-radius: 6px; margin-bottom: 20px; font-weight: 650; }
.overview-link .icon { width: 18px; height: 18px; }
.sidebar .active { background: var(--purple-soft); color: var(--purple); font-weight: 650; }
.nav-group { margin-bottom: 10px; }
.nav-group summary { color: var(--ink); padding: 8px 4px; font-size: 12px; font-weight: 700; list-style: none; display: flex; gap: 10px; align-items: center; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "+"; color: var(--muted); margin-left: auto; font-size: 16px; font-weight: 400; }
.nav-group[open] summary::after { content: "−"; }
.sidebar ul { list-style: none; padding: 0 0 0 10px; margin: 2px 0 0; border-left: 1px solid var(--line); }
.sidebar li a { display: block; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 5px; line-height: 1.6; }
.sidebar li a:hover, .overview-link:hover { background: var(--soft); color: var(--purple); }
.sidebar li a.active { background: var(--purple-soft); color: var(--purple); }
.sidebar-note { margin: 28px 4px 0; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 10px; }
.sidebar-note .status-dot { margin-right: 5px; }
.sidebar-note small { display: block; margin: 3px 0 0 12px; font-size: 10px; }
.main-content { min-width: 0; padding: 28px 0 0; outline: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 10px; margin-bottom: 34px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 46px); max-width: 820px; overflow-wrap: anywhere; }
.home-heading h1 { font-size: clamp(36px, 4.1vw, 64px); max-width: 700px; letter-spacing: -.055em; }
.home-heading { margin-top: 10px; }
.page-description { max-width: 670px; color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--muted); font-size: 10px; }
.article-meta span + span::before { content: "·"; margin-right: 18px; }
.quick-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 30px 0; }
.quick-paths a { min-width: 0; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 15px 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.quick-paths a:hover { border-color: var(--purple); }
.quick-paths .icon { margin-left: auto; width: 16px; }
.path-number { font: 11px "DejaVu Sans Mono", Consolas, monospace; color: var(--purple); align-self: start; margin-top: 4px; }
.quick-paths strong { display: block; font-size: 12px; }
.quick-paths small { display: block; color: var(--muted); font-size: 10px; }
.home-intro { padding: 4px 0 14px; }
.home-intro p { color: var(--muted); font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 36px; }
.topic-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-top .eyebrow { margin: 0; color: var(--muted); font-size: 9px; }
.topic-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--purple); background: var(--purple-soft); }
.topic-card.cloud .topic-icon, .topic-card.entdecken .topic-icon { color: var(--green); background: var(--green-soft); }
.topic-card.apps .topic-icon { color: var(--orange); background: var(--orange-soft); }
.topic-card.entwicklung .topic-icon { color: var(--blue); background: var(--blue-soft); }
.topic-card h2 { font-size: 23px; margin: 0 0 10px; }
.topic-card p { font-size: 12px; color: var(--muted); margin: 0 0 15px; }
.topic-card ul { padding: 0; margin: 0; list-style: none; }
.topic-card li a { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 12px; }
.topic-card li a span { color: var(--purple); }
.topic-card li a:hover { color: var(--purple); }
.more-articles summary { padding: 12px 0 0; color: var(--purple); font-size: 11px; }
.more-articles ul { padding-top: 12px; }
.prose { overflow-wrap: anywhere; }
.prose h2 { margin: 42px 0 16px; padding-top: 5px; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 25px; margin: 0 0 20px; }
.prose li { padding-left: 4px; margin: 8px 0; }
.prose li::marker { color: var(--purple); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--purple); background: var(--purple-soft); margin: 24px 0; padding: 17px 20px; border-radius: 0 8px 8px 0; font-size: 14px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 650; }
.prose code { font: .85em/1.7 "DejaVu Sans Mono", Consolas, monospace; padding: 2px 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; }
.prose pre { position: relative; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 46px 20px 20px; margin: 20px 0 26px; overflow: auto; font-size: 13px; }
.prose pre code { padding: 0; background: transparent; border: 0; border-radius: 0; }
.copy-button { position: absolute; right: 9px; top: 8px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; font-size: 10px; min-height: 30px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--line); border-radius: 8px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 430px; text-align: left; font-size: 12px; overflow-wrap: normal; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: top; }
.prose tr:last-child td { border-bottom: none; }
.prose th { background: var(--soft); font-weight: 650; }
.prose td { background: var(--surface); }
.prose td code { white-space: normal; overflow-wrap: anywhere; }
.heading-anchor { display: inline; margin-left: 9px; color: var(--muted); font-size: .7em; text-decoration: none; opacity: 0; }
.prose h2:hover .heading-anchor, .prose h3:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.table-of-contents { position: sticky; top: calc(var(--header-height) + 32px); margin-top: 32px; padding-left: 18px; border-left: 1px solid var(--line); max-height: calc(100dvh - var(--header-height) - 55px); overflow-y: auto; scrollbar-width: thin; }
.table-of-contents .eyebrow { font-size: 9px; color: var(--muted); }
.table-of-contents ul { list-style: none; padding: 0; margin: 0; }
.table-of-contents li { margin: 11px 0; font-size: 11px; line-height: 1.6; }
.table-of-contents .toc-sub { padding-left: 10px; font-size: 10px; }
.table-of-contents a { color: var(--muted); text-decoration: none; }
.table-of-contents a:hover, .table-of-contents a[aria-current="location"] { color: var(--purple); }
.help-link { display: flex; align-items: center; gap: 10px; font-size: 10px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 15px; }
.help-link .icon { width: 15px; }
.article-tools { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; }
.article-tools a { color: var(--muted); }
.print-button { border: 0; background: transparent; padding: 0; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: .2em; }
.page-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.page-pagination a { border: 1px solid var(--line); border-radius: 8px; padding: 15px; background: var(--surface); color: var(--ink); text-decoration: none; min-width: 0; }
.page-pagination a:hover { border-color: var(--purple); }
.page-pagination a span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.page-pagination strong { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; }
.page-pagination .icon { width: 17px; }
.page-footer { border-top: 1px solid var(--line); padding: 24px 0; margin-top: 50px; color: var(--muted); font-size: 10px; }
.page-footer > span { display: block; margin-bottom: 8px; }
.page-footer div { display: flex; gap: 10px 20px; flex-wrap: wrap; }
.page-footer a { color: var(--muted); }
.search-suggestions { position: absolute; top: calc(100% + 8px); right: 0; width: min(520px, 90vw); padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 30px #0002; max-height: 65dvh; overflow-y: auto; }
.search-suggestions ul { padding: 0; margin: 0; list-style: none; }
.search-status { color: var(--muted); font-size: 11px; margin: 8px 10px 10px; }
.search-suggestions li a { display: block; padding: 12px 10px; border-radius: 5px; text-decoration: none; color: var(--ink); }
.search-suggestions li a:hover, .search-suggestions li a:focus { background: var(--purple-soft); }
.search-suggestions strong { display: block; font-size: 13px; }
.search-suggestions small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 2px; }
.search-suggestions .all-results { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 10px 5px; font-size: 11px; text-decoration: none; }
.search-page { margin: 30px 0; }
.search-page > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
#page-search { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
#page-search-status { font-size: 12px; margin: 14px 0; }
.page-search-results { list-style: none; padding: 0; margin: 20px 0; }
.page-search-results li { border-bottom: 1px solid var(--line); padding: 20px 0; }
.page-search-results a { text-decoration: none; }
.page-search-results h2 { font-size: 21px; margin: 4px 0 10px; }
.page-search-results p { font-size: 13px; margin: 0; color: var(--muted); }
.page-search-results small { color: var(--muted); font-size: 10px; }
.browse-index h2 { font-size: 25px; }
.video-links { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-top: 32px; }
.prose .video-links h2 { margin-top: 0; }
.no-script-note { padding: 15px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (min-width: 1600px) {
  .docs-layout { gap: 48px; }
}
@media (max-width: 1240px) {
  .header-links > a:first-child { display: none; }
  .docs-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 30px; }
  .docs-layout.wide { grid-template-columns: 220px minmax(0, 1fr); }
  .table-of-contents { display: none; }
  .quick-paths { grid-template-columns: 1fr; }
  .quick-paths a { padding: 13px 16px; }
  .quick-paths small { display: inline; margin-left: 10px; }
  .quick-paths strong { display: inline; }
}
@media (max-width: 850px) {
  .header-inner { gap: 16px; padding-inline: 22px; }
  .header-links { display: none; }
  .docs-layout, .docs-layout.wide { display: block; padding-inline: 24px; }
  .sidebar { position: static; height: auto; padding: 0; border: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .mobile-nav-toggle { display: flex; justify-content: space-between; padding: 15px 0; font-size: 12px; font-weight: 650; list-style: none; }
  .mobile-nav-toggle::-webkit-details-marker { display: none; }
  .sidebar nav { padding: 10px 0; }
  .sidebar-note { display: none; }
  .sidebar li a { padding: 11px 10px; }
  .nav-group summary { padding: 12px 4px; }
  .breadcrumbs { margin-bottom: 25px; }
  .main-content { padding-top: 22px; }
  .home-heading h1 { max-width: 600px; }
  .quick-paths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --header-height: 128px; }
  .header-inner { padding: 12px 20px; flex-wrap: wrap; gap: 8px 15px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 32px; height: 32px; }
  .docs-label { font-size: 12px; padding-left: 14px; }
  .theme-button { margin-left: auto; min-width: 38px; min-height: 38px; padding: 8px; }
  .header-search { order: 5; width: 100%; }
  .search-field { padding-block: 8px; }
  .search-field input { font-size: 16px; }
  .search-field kbd { display: none; }
  .search-suggestions { width: 100%; }
  .docs-layout, .docs-layout.wide { padding-inline: 20px; }
  .page-description { font-size: 15px; }
  .page-heading h1 { font-size: 34px; }
  .home-heading h1 { font-size: 43px; }
  .article-meta { gap: 5px; flex-direction: column; }
  .article-meta span + span::before { content: none; }
  .topic-grid { grid-template-columns: 1fr; gap: 15px; }
  .topic-card { padding: 22px; }
  .topic-card li a { padding-block: 12px; }
  .quick-paths small { display: block; margin-left: 0; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 19px; }
  .prose pre { padding-inline: 14px; }
  .page-pagination { gap: 10px; }
  .page-pagination a { padding: 12px; }
  .page-pagination strong { font-size: 11px; }
  .page-footer a { padding-block: 8px; }
  .article-tools a, .article-tools button { padding-block: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .topic-card, .quick-paths a, .page-pagination a { transition: border-color .15s; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) { color-scheme: dark; --bg: #14151e; --surface: #1d1e2a; --soft: #242531; --ink: #f2f0e8; --muted: #b0aebf; --line: #393946; --purple: #b9a2ff; --purple-soft: #2b2442; --green: #8cd5b6; --green-soft: #20372e; --orange: #f6ae8b; --orange-soft: #3b2926; --blue: #a4c3ff; --blue-soft: #23304a; --shadow: 4px 5px 0 #0003; }
}
@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]):not([data-theme="dark"]) { color-scheme: light; --bg: #fff; --surface: #fff; --soft: #f5f5f5; --ink: #111; --muted: #444; --line: #ccc; --purple: #382479; }
  .site-header, .sidebar, .table-of-contents, .breadcrumbs, .article-tools, .page-pagination, .page-footer, .heading-anchor, .copy-button, .skip-link, .no-script-note { display: none !important; }
  .docs-layout, .docs-layout.wide { display: block; max-width: none; padding: 0; }
  .main-content { padding: 0; }
  .prose pre { padding-top: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .prose table { min-width: 0; }
  .table-scroll { overflow: visible; }
  h2, h3 { break-after: avoid; }
  pre, blockquote, tr { break-inside: avoid; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9px; }
}
