/* ==========================================================================
   Clasent Documentation - theme
   Works offline: no CDN, no web fonts required. Inter / JetBrains Mono are
   used when installed, otherwise the system UI and mono fonts take over.
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */

:root {
    --primary: #6366f1;
    --primary-strong: #4f46e5;
    --primary-text: #4f46e5;
    --primary-soft: #eef2ff;

    --bg: #ffffff;
    --bg-subtle: #f7f7fb;
    --surface: #ffffff;
    --surface-2: #f2f3f8;
    --line: #e7e8f0;
    --line-strong: #d6d8e5;
    --ink: #0e1024;
    --text: #464b5e;
    --muted: #6e7387;

    --tab-track: #f2f3f8;
    --tab-active: #ffffff;

    --code-bg: #0d0f1f;
    --code-head: #14172b;
    --code-line: #23264a;
    --code-text: #d7daf0;
    --code-file: #c3c7e4;
    --code-muted: #7d82a8;
    --code-copy: #9aa0c7;
    --code-dot: #2a2d4d;
    --code-comment: #6b7099;

    --c-note: #0ea5e9;
    --c-tip: #10b981;
    --c-important: #6366f1;
    --c-warning: #f59e0b;
    --c-danger: #f43f5e;

    --shadow-sm: 0 1px 2px rgba(14, 16, 36, .05);
    --shadow-md: 0 1px 2px rgba(14, 16, 36, .04), 0 8px 24px -8px rgba(14, 16, 36, .12);
    --shadow-lg: 0 24px 64px -16px rgba(14, 16, 36, .32);

    --radius: 14px;
    --radius-sm: 10px;

    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    --sidebar-w: 280px;
    --toc-w: 216px;
    --content-w: 760px;

    --scroll-thumb: rgba(14, 16, 36, .18);
    --scroll-thumb-hover: rgba(14, 16, 36, .34);

    color-scheme: light;
}

[data-theme="dark"] {
    --primary-text: #a5b4fc;
    --primary-soft: rgba(99, 102, 241, .16);

    --bg: #0a0a0b;
    --bg-subtle: #0f0f11;
    --surface: #141416;
    --surface-2: #1b1b1e;
    --line: #232326;
    --line-strong: #303034;
    --ink: #f4f4f5;
    --text: #b6b6bd;
    --muted: #8b8b94;

    --tab-track: #0f0f11;
    --tab-active: #232326;

    --code-bg: #0c0c0d;
    --code-head: #121214;
    --code-line: #222225;
    --code-text: #e4e4e7;
    --code-file: #d4d4d8;
    --code-muted: #85858e;
    --code-copy: #a1a1aa;
    --code-dot: #2e2e33;
    --code-comment: #71717a;

    --c-note: #38bdf8;
    --c-tip: #34d399;
    --c-important: #818cf8;
    --c-warning: #fbbf24;
    --c-danger: #fb7185;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, .7);

    --scroll-thumb: rgba(255, 255, 255, .14);
    --scroll-thumb-hover: rgba(255, 255, 255, .28);

    color-scheme: dark;
}

/* Fallback when JavaScript is disabled */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --primary-text: #a5b4fc;
        --primary-soft: rgba(99, 102, 241, .16);
        --bg: #0a0a0b;
        --bg-subtle: #0f0f11;
        --surface: #141416;
        --surface-2: #1b1b1e;
        --line: #232326;
        --line-strong: #303034;
        --ink: #f4f4f5;
        --text: #b6b6bd;
        --muted: #8b8b94;
        --tab-track: #0f0f11;
        --tab-active: #232326;
        --code-bg: #0c0c0d;
        --code-head: #121214;
        --code-line: #222225;
        --code-text: #e4e4e7;
        --code-file: #d4d4d8;
        --code-muted: #85858e;
        --code-copy: #a1a1aa;
        --code-dot: #2e2e33;
        --code-comment: #71717a;
        --scroll-thumb: rgba(255, 255, 255, .14);
        --scroll-thumb-hover: rgba(255, 255, 255, .28);
        color-scheme: dark;
    }
}

/* Base -------------------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 24px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.7 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

/* Scrollbars -------------------------------------------------------------- */

/* Firefox: the standard properties (Chrome and Safari use the rules below, which
   they ignore once these are set, so these stay Firefox-only) */
@supports (-moz-appearance: none) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--scroll-thumb) transparent;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    min-height: 40px;
    border: 3px solid transparent;
    border-radius: 999px;
    background: var(--scroll-thumb) padding-box;
}

::-webkit-scrollbar-thumb:hover {
    border-width: 2px;
    background-color: var(--scroll-thumb-hover);
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--primary);
}

::selection {
    background: rgba(99, 102, 241, .22);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-text);
    text-decoration: none;
}

p {
    margin: 0 0 16px;
}

h1, h2, h3, h4 {
    color: var(--ink);
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}

:not(pre) > code {
    font-family: var(--font-mono);
    font-size: .86em;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .12em .4em;
    white-space: nowrap;
}

@media (max-width: 640px) {
    :not(pre) > code {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font: 500 12px/1 var(--font-mono);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-bottom-width: 2px;
    border-radius: 6px;
    vertical-align: middle;
}

.i {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sprite {
    display: none;
}

/* Layout ------------------------------------------------------------------ */

.layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    min-height: 100vh;
}

.main {
    min-width: 0;
}

.main-inner {
    display: grid;
    grid-template-columns: minmax(0, var(--content-w)) var(--toc-w);
    justify-content: center;
    gap: 64px;
    padding: 64px 40px 96px;
}

.content {
    min-width: 0;
}

/* Sidebar ----------------------------------------------------------------- */

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-subtle);
    border-right: 1px solid var(--line);
    z-index: 60;
}

.sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    color: var(--ink);
}

.brand-mark {
    display: block;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.brand-name {
    display: block;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.brand-sub {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted);
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
    transition: color .15s, border-color .15s, background-color .15s;
}

.icon-btn:hover {
    color: var(--ink);
    border-color: var(--line-strong);
}

.theme-toggle .i-sun,
[data-theme="dark"] .theme-toggle .i-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .i-sun {
    display: block;
}

.search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    margin: 0 16px 8px;
    padding: 0 7px 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--muted);
    font: 400 14px var(--font-sans);
    text-align: left;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color .15s;
}

.search-trigger:hover {
    border-color: var(--line-strong);
}

.search-trigger .keys {
    display: flex;
    gap: 3px;
    margin-left: auto;
}

.search-trigger kbd {
    height: 20px;
    min-width: 20px;
    font-size: 11px;
    border-bottom-width: 1px;
}

.nav {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 24px;
}

.nav-group + .nav-group {
    margin-top: 22px;
}

.nav-label {
    margin: 0 0 8px;
    padding: 0 12px;
    font: 600 11px/1 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-link {
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
    transition: background-color .15s, color .15s;
}

.nav-link:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.nav-link.is-active {
    background: var(--primary-soft);
    color: var(--primary-text);
    font-weight: 600;
}

.sidebar-foot {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
}

[data-source="envato"] .sidebar-foot,
[data-source="file"] .sidebar-foot {
    display: none;
}

.buy-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--primary) 0%, #8b5cf6 60%, #a855f7 100%);
    box-shadow: 0 8px 20px -10px rgba(99, 102, 241, .7);
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    line-height: 1.4;
    transition: box-shadow .2s, transform .2s;
}

.buy-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -18%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.buy-card:hover {
    box-shadow: 0 12px 26px -10px rgba(99, 102, 241, .85);
    transform: translateY(-1px);
}

.buy-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.buy-card-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 17px;
}

.buy-card-text {
    flex: 1;
    min-width: 0;
}

.buy-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.buy-card-arrow {
    color: #fff;
    font-size: 16px;
    transition: transform .2s;
}

.buy-card:hover .buy-card-arrow {
    transform: translateX(3px);
}

/* Mobile top bar ---------------------------------------------------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: none;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 14px;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.topbar .brand {
    flex: none;
    justify-self: center;
}

.topbar .brand-mark {
    width: 32px;
    height: 32px;
}

.topbar .brand-name {
    font-size: 17px;
}

.topbar .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 21px;
}

.backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(9, 9, 11, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Typography & sections --------------------------------------------------- */

.doc-section + .doc-section {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid var(--line);
}

.eyebrow {
    margin: 0 0 12px;
    font: 600 12px/1 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-text);
}

.content h1 {
    font-size: clamp(38px, 5vw, 50px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.035em;
    margin-bottom: 16px;
}

.content h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: 14px;
}

.content h3 {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: -.015em;
    margin: 44px 0 12px;
}

.content > section > p a,
.content li a {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent);
    text-underline-offset: 3px;
}

.doc-section > h4 {
    margin: 28px 0 10px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.doc-section > ul,
.doc-section > ol:not(.steps),
.tab-panel > ol:not(.steps),
.tab-panel > ul,
.step ul,
.step ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.doc-section > ul li + li,
.doc-section > ol:not(.steps) li + li,
.tab-panel > ul li + li,
.tab-panel > ol:not(.steps) li + li,
.step li + li {
    margin-top: 6px;
}

.doc-section > ul li::marker,
.step ul li::marker {
    color: var(--muted);
}

.doc-section > ol li::marker {
    color: var(--primary-text);
    font-weight: 600;
}

.version-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-subtle);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.version-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.text-gradient {
    display: block;
    background: linear-gradient(120deg, var(--primary) 0%, #8b5cf6 55%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

[data-theme="dark"] .text-gradient {
    background-image: linear-gradient(120deg, #818cf8 0%, #a78bfa 55%, #c084fc 100%);
}

.lead {
    max-width: 60ch;
    font-size: 18px;
    line-height: 1.65;
}

.anchor {
    margin-left: 10px;
    color: var(--muted);
    font-weight: 500;
    opacity: 0;
    transition: opacity .15s, color .15s;
}

.anchor:hover {
    color: var(--primary-text);
}

h2:hover .anchor,
h3:hover .anchor,
.anchor:focus-visible {
    opacity: 1;
}

/* Cards ------------------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 12px;
    margin-top: 24px;
}

.doc-section > h3 + .cards {
    margin-top: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-text);
    font-size: 17px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.card-title .i {
    color: var(--muted);
    transition: transform .2s, color .2s;
}

.card:hover .card-title .i {
    color: var(--primary-text);
    transform: translateX(3px);
}

.card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

/* Welcome card ------------------------------------------------------------ */

.welcome-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.welcome-card .card-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
    font-size: 20px;
}

.welcome-card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 650;
}

.welcome-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

.welcome-card .btn {
    flex-shrink: 0;
    margin-left: auto;
}

/* Technology stack -------------------------------------------------------- */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    gap: 12px;
    margin: 20px 0 8px;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, transform .2s;
}

.tech-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.tech-logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    font-size: 20px;
}

.tech-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tech-name {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.tech-meta {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.3;
}

/* Key features ------------------------------------------------------------ */

.highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    margin: 28px 0 12px;
}

.highlight {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.highlight > .i {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 22px;
}

.highlight h4 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -.01em;
}

.highlight p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
}

.spec {
    margin: 12px 0 8px;
    border-top: 1px solid var(--line);
}

.spec-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.spec-label {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
}

.spec-items {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 32px;
}

.spec-items li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.6;
    break-inside: avoid;
}

.spec-items li::before {
    content: "";
    position: absolute;
    top: .68em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line-strong);
}

/* Callouts ---------------------------------------------------------------- */

.callout {
    --c: var(--c-note);
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    margin: 20px 0;
    padding: 18px 20px 18px 18px;
    border: 1px solid color-mix(in srgb, var(--c) 24%, var(--line));
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--c) 6%, var(--surface));
}

.callout-tip { --c: var(--c-tip); }
.callout-important { --c: var(--c-important); }
.callout-warning { --c: var(--c-warning); }
.callout-danger { --c: var(--c-danger); }

.callout-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--c);
    font-size: 17px;
    background: color-mix(in srgb, var(--c) 14%, var(--surface));
}

.callout-body {
    min-width: 0;
    padding-top: 1px;
    font-size: 15px;
    line-height: 1.65;
}

.callout-label {
    display: block;
    margin: 0 0 6px;
    font: 600 11px/1.4 var(--font-mono);
    letter-spacing: .09em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--c) 68%, var(--ink));
}

.callout-title {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.callout-body p,
.callout-body ul,
.callout-body ol {
    margin: 0;
}

.callout-body > * + * {
    margin-top: 8px;
}

.callout-label + *,
.callout-title + * {
    margin-top: 0;
}

.callout-body ul,
.callout-body ol {
    padding-left: 20px;
}

.callout-body li + li {
    margin-top: 4px;
}

.callout-body li::marker {
    color: color-mix(in srgb, var(--c) 70%, var(--muted));
}

.callout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: color-mix(in srgb, var(--c) 72%, var(--ink));
}

.callout-link .i {
    transition: transform .2s;
}

.callout-link:hover .i {
    transform: translateX(3px);
}

/* Compact, single-line variant */
.callout-inline {
    --c: var(--c-note);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--c) 20%, var(--line));
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--c) 6%, var(--surface));
    font-size: 14px;
    line-height: 1.6;
}

.callout-inline > .i {
    margin-top: 3px;
    color: var(--c);
    font-size: 16px;
}

.callout-inline.callout-tip { --c: var(--c-tip); }
.callout-inline.callout-important { --c: var(--c-important); }
.callout-inline.callout-warning { --c: var(--c-warning); }
.callout-inline.callout-danger { --c: var(--c-danger); }

/* Spotlight: one per page at most */
.spotlight {
    position: relative;
    margin: 24px 0;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-radius: 16px;
    background: color-mix(in srgb, var(--primary) 5%, var(--surface));
}

.spotlight-title {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -.015em;
}

.spotlight p {
    max-width: 52ch;
    margin: 0;
    font-size: 15px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: 600 14px var(--font-sans);
    cursor: pointer;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 1px 2px rgba(14, 16, 36, .15);
}

.btn-primary:hover {
    background: var(--primary-strong);
}

.btn-secondary {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--line-strong));
}

/* Steps ------------------------------------------------------------------- */

.steps {
    counter-reset: step;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.step {
    position: relative;
    counter-increment: step;
    padding: 0 0 32px 52px;
}

.step:last-child {
    padding-bottom: 0;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font: 600 13px/1 var(--font-mono);
    color: var(--primary-text);
    background: var(--primary-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent), 0 0 0 4px var(--bg);
}

.step::after {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 8px;
    left: 15.5px;
    width: 1px;
    background: var(--line);
}

.step:last-child::after {
    display: none;
}

.step-title {
    margin: 4px 0 6px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
}

.step p:last-child {
    margin-bottom: 0;
}

.step .code,
.step .callout-inline:last-child {
    margin-bottom: 0;
}

/* Code blocks ------------------------------------------------------------- */

.code {
    margin: 20px 0 24px;
    border: 1px solid var(--code-line);
    border-radius: 12px;
    background: var(--code-bg);
    box-shadow: 0 1px 2px rgba(14, 16, 36, .06), 0 14px 32px -18px rgba(14, 16, 36, .5);
    overflow: hidden;
}

.code-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 8px 0 14px;
    background: var(--code-head);
    border-bottom: 1px solid var(--code-line);
}

.code-file {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font: 500 12.5px var(--font-mono);
    color: var(--code-file);
}

.code-file .i {
    color: #8f94e8;
    font-size: 14px;
}

.code-lang {
    margin-left: auto;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    font: 600 10.5px/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--code-muted);
}

.code-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--code-copy);
    font: 500 12px var(--font-sans);
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.code-copy:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.code-copy.is-copied {
    color: #6ee7b7;
}

.code pre {
    margin: 0;
    padding: 16px 20px;
    overflow-x: auto;
    font: 13.5px/1.75 var(--font-mono);
    color: var(--code-text);
    tab-size: 4;
    --scroll-thumb: rgba(255, 255, 255, .16);
    --scroll-thumb-hover: rgba(255, 255, 255, .3);
}

.code pre code {
    font: inherit;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--code-dot);
}

.code-terminal .code-file {
    margin-left: 6px;
}

/* Syntax tokens */
.t-c { color: var(--code-comment); font-style: italic; }
.t-k { color: #c4b5fd; }
.t-s { color: #86efac; }
.t-v { color: #93c5fd; }
.t-n { color: #fcd34d; }
.t-p { color: var(--code-muted); }
.t-out { color: var(--code-muted); }

.prompt {
    margin-right: 10px;
    color: #818cf8;
    -webkit-user-select: none;
    user-select: none;
}

/* Highlighted line */
.hl {
    display: inline-block;
    min-width: calc(100% + 40px);
    margin: 0 -20px;
    padding: 0 20px 0 17px;
    background: rgba(99, 102, 241, .16);
    border-left: 3px solid #818cf8;
}

/* Tabs -------------------------------------------------------------------- */

.tabs {
    margin: 20px 0 24px;
}

.tab-list {
    display: inline-flex;
    gap: 2px;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--tab-track);
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
    display: none;
}

.tab {
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font: 500 13.5px var(--font-sans);
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s, background-color .15s;
}

.tab:hover {
    color: var(--ink);
}

.tab[aria-selected="true"] {
    background: var(--tab-active);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(14, 16, 36, .08), 0 0 0 1px var(--line);
}

.tab-panel .code {
    margin: 0;
}

/* Tables ------------------------------------------------------------------ */

.table-wrap {
    margin: 20px 0 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.table-wrap table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.table-wrap th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-subtle);
    font: 600 11px/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted);
}

.table-wrap td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.table-wrap td strong {
    color: var(--ink);
    font-weight: 600;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
}

.status .i {
    font-size: 15px;
}

.status-required {
    color: color-mix(in srgb, var(--c-tip) 75%, var(--ink));
}

.status-optional {
    color: var(--muted);
}

/* Field lists ------------------------------------------------------------- */

.fields {
    margin: 16px 0 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.fields > div {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
}

.fields > div:first-child {
    border-top: 0;
}

.fields dt {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
}

.fields dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

.fields dd p {
    margin: 0;
}

.fields dd p + p {
    margin-top: 6px;
}

.hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

/* Badges ------------------------------------------------------------------ */

.badge {
    --c: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font: 600 11px/1 var(--font-mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
    color: color-mix(in srgb, var(--c) 70%, var(--ink));
    background: color-mix(in srgb, var(--c) 10%, var(--surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 24%, transparent);
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c);
}

.badge-updated { --c: var(--c-warning); }
.badge-fixed { --c: var(--c-tip); }
.badge-removed { --c: var(--c-danger); }

.badge-plain {
    --c: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

.badge-plain::before {
    display: none;
}

.demo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
}

/* File tree --------------------------------------------------------------- */

.tree {
    margin: 20px 0 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tree-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-subtle);
    font: 500 13px var(--font-mono);
    color: var(--ink);
}

.tree-head .i {
    color: var(--primary);
}

.tree ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.tree li {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding: 7px 16px;
    transition: background-color .15s;
}

.tree li:hover {
    background: var(--bg-subtle);
}

.tree-name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: calc(var(--d, 0) * 22px);
    font: 500 13px var(--font-mono);
    color: var(--ink);
}

.tree-name .i {
    position: relative;
    top: 2px;
    color: var(--muted);
    font-size: 15px;
}

.tree-name.is-dir .i {
    color: var(--primary);
}

.tree-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

/* Screenshots & lightbox -------------------------------------------------- */

.shot {
    margin: 24px 0;
}

.shot-frame {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    cursor: zoom-in;
}

.shot-media {
    display: block;
    width: 100%;
    height: auto;
}

.shot-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--ink);
    font: 500 12px var(--font-sans);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s, transform .2s;
}

.shot-frame:hover .shot-zoom,
.shot-frame:focus-visible .shot-zoom {
    opacity: 1;
    transform: none;
}

.shot figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}

/* Mock screenshot (draft only - real docs use <img class="shot-media">) */
.m-bg { fill: var(--bg); }
.m-side { fill: var(--bg-subtle); }
.m-card { fill: var(--surface); stroke: var(--line); }
.m-line { fill: var(--line-strong); }
.m-strong { fill: var(--muted); }
.m-active { fill: var(--primary-soft); }
.m-accent { fill: var(--primary); }
.m-divider { fill: var(--line); }
.m-area { fill: var(--primary); opacity: .12; }
.m-chart { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 56px 24px 24px;
    background: rgba(9, 9, 11, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-media {
    width: min(1200px, 100%);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(.98);
    transition: transform .2s;
}

.lightbox.is-open .lightbox-media {
    transform: none;
}

.lightbox-media .shot-media {
    max-height: calc(100vh - 96px);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
}

.lightbox-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

/* Changelog --------------------------------------------------------------- */

.release {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.release:first-of-type {
    border-top: 0;
    padding-top: 8px;
}

.release-version {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font: 600 15px var(--font-mono);
}

.release-date {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.release ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.release li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    font-size: 14.5px;
    line-height: 1.6;
}

.release li .badge {
    justify-self: start;
}

/* Table of contents ------------------------------------------------------- */

.toc {
    position: sticky;
    top: 64px;
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}

.toc-label {
    margin: 0 0 10px;
    font: 600 11px/1 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.toc-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
}

.toc-list a {
    display: block;
    margin-left: -1px;
    padding: 5px 0 5px 14px;
    border-left: 1px solid transparent;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.45;
    transition: color .15s, border-color .15s;
}

.toc-list a:hover {
    color: var(--ink);
}

.toc-list a.is-active {
    color: var(--primary-text);
    border-left-color: var(--primary);
    font-weight: 500;
}

.toc-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.toc-top:hover {
    color: var(--ink);
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

/* Footer ------------------------------------------------------------------ */

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 88px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

/* Search palette ---------------------------------------------------------- */

.palette {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 16px 16px;
    background: rgba(9, 9, 11, .45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
}

.palette.is-open {
    opacity: 1;
    pointer-events: auto;
}

.palette-box {
    display: flex;
    flex-direction: column;
    width: min(640px, 100%);
    max-height: 70vh;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(-6px) scale(.99);
    transition: transform .15s;
}

.palette.is-open .palette-box {
    transform: none;
}

.palette-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 18px;
}

.palette-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: 400 16px var(--font-sans);
}

.palette-input::placeholder {
    color: var(--muted);
}

.palette-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.palette-section {
    padding: 8px 12px 6px;
    font: 600 11px/1 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    scroll-margin: 8px;
}

.result[aria-selected="true"] {
    background: var(--primary-soft);
}

.result-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 15px;
}

.result[aria-selected="true"] .result-icon {
    color: var(--primary-text);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
}

.result-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.result-path {
    font-size: 12px;
    line-height: 1.4;
    color: var(--muted);
}

.result-title {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.result-snippet {
    display: -webkit-box;
    margin-top: 2px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.result mark {
    padding: 0 1px;
    border-radius: 3px;
    background: rgba(99, 102, 241, .22);
    color: inherit;
}

.palette-empty {
    padding: 36px 16px;
    font-size: 14px;
    text-align: center;
    color: var(--muted);
}

.palette-foot {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    background: var(--bg-subtle);
    font-size: 12px;
    color: var(--muted);
}

.palette-foot span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.palette-foot kbd {
    height: 20px;
    min-width: 20px;
    font-size: 11px;
    border-bottom-width: 1px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1279px) {
    .main-inner {
        grid-template-columns: minmax(0, var(--content-w));
    }

    .toc {
        display: none;
    }
}

@media (min-width: 1280px) {
    .to-top {
        display: none;
    }
}

@media (max-width: 1023px) {
    html {
        scroll-padding-top: 76px;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(var(--sidebar-w), 86vw);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
    }

    .sidebar.is-open {
        transform: none;
        visibility: visible;
        box-shadow: var(--shadow-lg);
        transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    }

    .topbar {
        display: grid;
    }

    .main-inner {
        padding: 36px 20px 72px;
    }
}

@media (max-width: 640px) {
    .content h2 {
        font-size: 26px;
    }

    .lead {
        font-size: 17px;
    }

    .callout {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 16px 16px 14px;
    }

    .callout-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 15px;
    }

    .spotlight {
        padding: 20px;
    }

    .welcome-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    .welcome-card .btn {
        margin-left: 0;
    }

    .highlights,
    .spec-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlights {
        gap: 24px;
    }

    .spec-row {
        gap: 8px;
    }

    .spec-items {
        columns: 1;
    }

    .tree li,
    .fields > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .tree-desc {
        padding-left: 23px;
    }

    .release {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .release li {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

@media (hover: none) {
    .search-trigger .keys,
    .palette-field kbd,
    .palette-foot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}

@media print {
    .sidebar, .topbar, .toc, .to-top, .code-copy, .anchor, .shot-zoom {
        display: none !important;
    }

    .layout, .main-inner {
        display: block;
        padding: 0;
    }

    .code pre {
        white-space: pre-wrap;
    }
}
