:root {
            --bg: #0b1220;
            --surface: rgba(255,255,255,.075);
            --surface-strong: rgba(5,12,23,.84);
            --surface-soft: rgba(255,255,255,.045);
            --surface-hover: rgba(255,255,255,.095);
            --text: #f7f9fc;
            --muted: rgba(238,243,249,.78);
            --soft: rgba(238,243,249,.58);
            --border: rgba(255,255,255,.14);
            --border-strong: rgba(255,255,255,.22);
            --shadow: rgba(0,0,0,.36);
            --accent: #ff5f15;
            --accent-bright: #ff7a3d;
            --accent-soft: rgba(255,95,21,.13);
            --accent-border: rgba(255,95,21,.48);
            --link: #ff9c6d;
            --info: #5bb6ff;
            --info-soft: rgba(91,182,255,.12);
            --success: #48cf8b;
            --success-soft: rgba(72,207,139,.12);
            --warning: #ffbf5a;
            --warning-soft: rgba(255,191,90,.12);
            --danger: #ff6b6b;
            --danger-soft: rgba(255,107,107,.12);
            --code-bg: rgba(3,9,17,.72);
            --media-placeholder-surface: rgba(0,0,0,.18);
            --media-placeholder-bg: #07101d;
            --media-placeholder-text: #fff;
            --media-placeholder-muted: rgba(255,255,255,.62);
            --media-placeholder-shade: rgba(4,10,18,.18);
            --media-placeholder-gradient: linear-gradient(145deg, rgba(255,95,21,.2), rgba(255,95,21,.02));
            --media-video-gradient: linear-gradient(180deg, rgba(0,0,0,.05) 45%, rgba(0,0,0,.78));
            --media-video-button: #ff0033;
            --media-video-button-hover: #e6002e;
            --content-width: 1160px;
        }

        html[data-theme="light"] {
            --bg: #edf2f7;
            --surface: rgba(255,255,255,.96);
            --surface-strong: #fff;
            --surface-soft: #f5f7fa;
            --surface-hover: #edf2f7;
            --text: #172033;
            --muted: #49566b;
            --soft: #6e798b;
            --border: rgba(23,32,51,.13);
            --border-strong: rgba(23,32,51,.22);
            --shadow: rgba(25,39,61,.16);
            --accent-soft: rgba(255,95,21,.10);
            --link: #b83e08;
            --code-bg: #eef2f6;
            --media-placeholder-surface: rgba(23,32,51,.045);
            --media-placeholder-bg: #f5f7fa;
            --media-placeholder-text: #172033;
            --media-placeholder-muted: #6e798b;
            --media-placeholder-shade: rgba(255,255,255,.18);
            --media-placeholder-gradient: linear-gradient(145deg, rgba(255,95,21,.12), rgba(255,95,21,.025));
            --media-video-gradient: linear-gradient(180deg, rgba(255,255,255,.04) 42%, rgba(23,32,51,.62));
            --media-video-button: #d9002b;
            --media-video-button-hover: #bd0026;
        }

        * { box-sizing: border-box; }
        .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            background:
                linear-gradient(145deg, rgba(255,95,21,.055), transparent 34%),
                var(--bg);
            color: var(--muted);
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            font-size: 15px;
            line-height: 1.64;
            animation: page-in 220ms ease;
            transition: opacity 145ms ease, transform 145ms ease;
        }
        html.wiki-page-leaving body { opacity: 0; pointer-events: none; transform: translateY(4px); }

        a { color: var(--link); }
        .theme-toggle {
            position: fixed;
            z-index: 1000;
            top: 14px;
            right: 14px;
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            border: 1px solid var(--border-strong);
            border-radius: 8px;
            background: var(--surface-strong);
            box-shadow: 0 8px 24px var(--shadow);
            color: var(--text);
            cursor: pointer;
            font: inherit;
            font-size: 18px;
        }
        .theme-toggle:hover { border-color: var(--accent-border); background: var(--surface-hover); }
        .theme-toggle:focus-visible { outline: 3px solid var(--accent-border); outline-offset: 2px; }
        code, .path-value {
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }
        code {
            border-radius: 4px;
            background: var(--code-bg);
            padding: .12em .34em;
            color: var(--text);
            font-size: .9em;
            overflow-wrap: anywhere;
        }

        .page {
            width: min(var(--content-width), 100%);
            margin: 0 auto;
            padding: 24px;
        }
        .page-frame {
            border: 1px solid var(--border);
            border-radius: 16px;
            background: var(--surface);
            box-shadow: 0 22px 70px var(--shadow);
            overflow: clip;
            backdrop-filter: blur(10px);
        }

        .page-header {
            position: relative;
            overflow: hidden;
            padding: 28px 30px 25px;
            border-bottom: 1px solid var(--border);
            background: linear-gradient(110deg, rgba(255,95,21,.13), rgba(255,95,21,0) 42%), rgba(0,0,0,.10);
        }
        .header-art {
            position: absolute;
            right: -54px;
            top: -84px;
            width: 235px;
            height: 235px;
            object-fit: contain;
            opacity: .18;
            pointer-events: none;
        }
        .header-art[src^="PLACEHOLDER_IMAGE_URL_"] { visibility: hidden; }
        .header-layout {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
            gap: 28px;
            align-items: center;
        }
        .eyebrow {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            margin: 0 0 9px;
            color: var(--soft);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .075em;
            text-transform: uppercase;
        }
        .eyebrow a { color: inherit; text-decoration: none; }
        .eyebrow a:hover { color: var(--text); }
        .eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
        h1, h2, h3, h4 { color: var(--text); line-height: 1.2; text-wrap: balance; }
        h1 { margin: 0 0 11px; font-size: clamp(31px, 5vw, 50px); letter-spacing: 0; }
        .lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }

        .platforms { display: grid; gap: 9px; margin-top: 18px; }
        .tag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
        .tag-label {
            flex: 0 0 112px;
            color: var(--soft);
            font-size: 10.5px;
            font-weight: 900;
            letter-spacing: .06em;
            text-transform: uppercase;
        }
        .product-chip, .pill { display: inline-flex; align-items: center; gap: 7px; }
        .product-chip { gap: 6px; }
        .pill {
            min-height: 31px;
            border: 1px solid var(--border);
            border-radius: 999px;
            background: rgba(0,0,0,.16);
            padding: 6px 10px;
            color: var(--muted);
            font-size: 12px;
            font-weight: 750;
        }
        html[data-theme="light"] .pill { background: rgba(255,255,255,.62); }
        .pill.info::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--info); }
        .logo-slot {
            position: relative;
            display: grid;
            flex: 0 0 31px;
            width: 31px;
            height: 31px;
            place-items: center;
            border: 1px solid var(--border);
            border-radius: 7px;
            background: var(--surface-strong);
            color: var(--soft);
            font-size: 8px;
            font-weight: 900;
            overflow: hidden;
        }
        .logo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
        .logo-slot img[src^="PLACEHOLDER_IMAGE_URL_"] { display: none; }
        .logo-slot img:not([src^="PLACEHOLDER_IMAGE_URL_"]) + .image-fallback { display: none; }
        .logo-slot.has-loaded-image .image-fallback { display: none; }
        .logo-slot.has-missing-image img { display: none; }
        .logo-slot.has-missing-image .image-fallback { display: grid; }
        .product-logo.has-loaded-image > span, .host-logo.has-loaded-image > span, .tab-logo.has-loaded-image > span { display: none; }
        .product-logo.has-missing-image > img, .host-logo.has-missing-image > img, .tab-logo.has-missing-image > img { display: none; }
        .product-logo.has-missing-image > span, .host-logo.has-missing-image > span, .tab-logo.has-missing-image > span { display: grid; }

        .header-cutout {
            position: relative;
            min-height: 220px;
            border: 1px solid var(--border-strong);
            background: var(--media-placeholder-bg);
            box-shadow: 0 18px 44px rgba(0,0,0,.3);
            clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 5% 70%, 0 43%);
            overflow: hidden;
            aspect-ratio: 16 / 9;
        }
        .header-cutout img { width: 100%; height: 100%; min-height: 220px; display: block; object-fit: cover; }
        .header-cutout img[src^="PLACEHOLDER_IMAGE_URL_"] { display: none; }
        .header-cutout img:not([src^="PLACEHOLDER_IMAGE_URL_"]) + .cutout-placeholder { display: none; }
        .header-cutout.is-image-loading > .cutout-placeholder, .header-cutout.has-missing-image > .cutout-placeholder { display: flex; }
        .header-cutout.has-loaded-image > .cutout-placeholder { display: none; }
        .header-cutout.has-missing-image > img { display: none; }
        .cutout-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 25px 24px 22px 36px;
            background: var(--media-placeholder-gradient), var(--media-placeholder-bg);
            text-align: center;
            transition: background 160ms ease, color 160ms ease;
        }
        .cutout-placeholder span { color: var(--accent-bright); font-size: 10px; font-weight: 900; text-transform: uppercase; }
        .cutout-placeholder strong { margin-top: 8px; color: var(--media-placeholder-text); font-size: 18px; }
        .cutout-placeholder small { margin-top: 8px; color: var(--media-placeholder-muted); font-family: ui-monospace, monospace; font-size: 9px; overflow-wrap: anywhere; }
        .header-cutout.has-video .cutout-placeholder { display: none !important; }
        .tutorial-cutout {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--media-placeholder-shade);
            color: var(--media-placeholder-text);
            text-decoration: none;
            isolation: isolate;
        }
        .video-thumbnail { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
        .tutorial-cutout::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--media-video-gradient); }
        .tutorial-cutout::before { content: "\25B6"; display: grid; width: 64px; height: 46px; place-items: center; border-radius: 10px; background: var(--media-video-button); box-shadow: 0 8px 24px var(--shadow); color: #fff; font-size: 20px; padding-left: 3px; transition: transform 160ms ease, background 160ms ease; }
        .tutorial-cutout:hover::before, .tutorial-cutout:focus-visible::before { transform: scale(1.07); background: var(--media-video-button-hover); }
        .tutorial-cutout > span { position: absolute; right: 18px; bottom: 15px; left: 28px; display: grid; min-width: 0; }
        .video-kicker { color: var(--media-placeholder-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
        .tutorial-cutout strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
        .video-action { color: var(--media-placeholder-text); font-size: 11px; font-weight: 850; }
        .tutorial-cutout[data-video-placeholder="true"] { cursor: default; }

        .article-grid { display: grid; grid-template-columns: 238px minmax(0, 1fr); align-items: start; }
        .contents {
            position: sticky;
            top: 0;
            max-height: 100vh;
            overflow: auto;
            border-right: 1px solid var(--border);
            padding: 26px 21px 30px;
        }
        .contents-title { margin: 0 0 11px; color: var(--text); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
        .contents ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
        .contents li { counter-increment: toc; }
        .contents a {
            display: grid;
            grid-template-columns: 24px minmax(0, 1fr);
            gap: 4px;
            border-radius: 8px;
            padding: 6px 7px;
            color: var(--muted);
            font-size: 12.5px;
            line-height: 1.35;
            text-decoration: none;
        }
        .contents a::before { content: counter(toc) "."; color: var(--soft); }
        .contents a:hover, .contents a.is-active { background: var(--surface-hover); color: var(--text); }
        .contents a.is-active { box-shadow: inset 3px 0 0 var(--accent); }
        .side-note { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
        .side-note strong { display: block; color: var(--accent-bright); font-size: 11px; text-transform: uppercase; }
        .side-note p { margin: 6px 0 0; color: var(--soft); font-size: 11.5px; line-height: 1.5; }

        .command-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
        .command-filter button { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-strong); padding: 8px 13px; color: var(--muted); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
        .command-filter button:hover { background: var(--surface-hover); color: var(--text); }
        .command-filter button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-bright); box-shadow: inset 0 -2px 0 var(--accent); }
        .command-panel[hidden] { display: none; }
        .command-panel.is-active { animation: card-in 240ms ease both; }
        .command-panel.is-leaving { animation: card-out 145ms ease both; }
        .command-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; margin: -2px 0 4px; }
        .command-search-field { position: relative; display: block; min-width: 0; }
        .command-search-field::before { content: ""; position: absolute; left: 15px; top: 50%; width: 10px; height: 10px; border: 2px solid var(--soft); border-radius: 50%; pointer-events: none; transform: translateY(-62%); }
        .command-search-field::after { content: ""; position: absolute; left: 26px; top: 54%; width: 7px; height: 2px; border-radius: 2px; background: var(--soft); pointer-events: none; transform: rotate(45deg); transform-origin: left center; }
        .command-search input { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-strong); padding: 9px 42px 9px 42px; color: var(--text); font: inherit; font-size: 13px; }
        .command-search input::placeholder { color: var(--soft); }
        .command-search input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 1px; }
        .command-search-clear { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-strong); color: var(--text); font: inherit; font-size: 21px; line-height: 1; cursor: pointer; }
        .command-search-clear:hover { border-color: var(--accent-border); background: var(--surface-hover); color: var(--accent-bright); }
        .command-search-clear[hidden] { display: none; }
        .command-result-count { grid-column: 1 / -1; min-height: 20px; color: var(--soft); font-size: 11.5px; }
        .command-results { opacity: 1; transform: translateY(0); transition: opacity 135ms ease, transform 135ms ease; }
        .command-panel.is-filtering .command-results { opacity: 0; transform: translateY(4px); }
        .command-empty { margin: 17px 0; border: 1px dashed var(--border-strong); border-radius: 8px; padding: 24px 16px; color: var(--soft); text-align: center; }
        .command-empty[hidden] { display: none; }
        .command-table { min-width: 100%; table-layout: auto; }
        .command-table th:first-child, .command-table td:first-child { width: 52px; min-width: 52px; text-align: center; }
        .command-table th:nth-child(2), .command-table td:nth-child(2) { width: 1%; min-width: 190px; white-space: nowrap; }
        .command-table tbody tr { cursor: pointer; transition: background 150ms ease, box-shadow 150ms ease; }
        .command-table tbody tr:hover, .command-table tbody tr:focus-visible { outline: 0; background: var(--surface-hover); box-shadow: inset 3px 0 0 var(--accent); }
        .command-purpose { position: relative; }
        .command-purpose::after { content: attr(data-tooltip); position: absolute; right: 12px; bottom: calc(100% - 4px); z-index: 5; visibility: hidden; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-strong); box-shadow: 0 8px 22px rgba(0,0,0,.28); padding: 6px 9px; color: var(--text); font-size: 11px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 140ms ease, transform 140ms ease, visibility 140ms; }
        .command-table tbody tr:hover .command-purpose::after, .command-table tbody tr:focus-visible .command-purpose::after { visibility: visible; opacity: 1; transform: translateY(0); }
        .command-icon { position: relative; display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-soft); color: var(--accent-bright); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; overflow: hidden; }
        .command-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
        .command-icon img[src^="PLACEHOLDER_IMAGE_URL_"] { display: none; }
        .command-icon img:not([src^="PLACEHOLDER_IMAGE_URL_"]) + .image-fallback { display: none; }
        .command-icon.has-loaded-image .image-fallback { display: none; }
        .command-icon.has-missing-image img { display: none; }
        .command-icon.has-missing-image .image-fallback { display: grid; }

        .article { min-width: 0; padding: 28px 33px 42px; }
        .article-section { scroll-margin-top: 18px; margin-bottom: 42px; }
        .article-section > h2 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 18px; border-bottom: 1px solid var(--border); padding-bottom: 10px; font-size: 27px; }
        .section-number { color: var(--accent); font-size: 16px; font-weight: 950; }
        .article h3 { margin: 24px 0 10px; font-size: 19px; }
        .article p { margin: 10px 0; }
        .article ul, .article ol { padding-left: 24px; }
        .article li { margin: 6px 0; }

        .overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
        .infobox { border: 1px solid var(--accent-border); border-radius: 10px; background: var(--accent-soft); overflow: hidden; }
        .infobox-title { margin: 0; border-bottom: 1px solid var(--accent-border); padding: 11px 14px; color: var(--accent-bright); font-size: 12px; font-weight: 900; text-transform: uppercase; }
        .infobox dl { display: grid; grid-template-columns: 102px minmax(0,1fr); margin: 0; font-size: 12.5px; }
        .infobox dt, .infobox dd { margin: 0; border-bottom: 1px solid var(--border); padding: 9px 11px; }
        .infobox dt { color: var(--soft); font-weight: 750; }
        .infobox dd { color: var(--text); }
        .infobox dt:last-of-type, .infobox dd:last-of-type { border-bottom: 0; }

        .callout { margin: 17px 0; border: 1px solid var(--border); border-left-width: 4px; border-radius: 8px; padding: 12px 14px; }
        .callout.info { border-left-color: var(--info); background: var(--info-soft); }
        .callout.success { border-left-color: var(--success); background: var(--success-soft); }
        .callout.warning { border-left-color: var(--warning); background: var(--warning-soft); }
        .callout.danger { border-left-color: var(--danger); background: var(--danger-soft); }
        .callout-title { display: block; color: var(--text); font-size: 13px; font-weight: 900; }
        .callout p { margin: 5px 0 0; font-size: 13px; }

        .wizard { margin: 18px 0; }
        .action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0; align-items: start; }
        .action-grid .step-card { width: 100%; }
        .wizard-status, .wizard-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .wizard-status { margin-bottom: 10px; }
        .wizard-status strong { color: var(--text); font-size: 13px; }
        .wizard-progress { display: flex; flex-wrap: wrap; gap: 5px; }
        .wizard-progress button {
            width: 30px;
            height: 30px;
            border: 1px solid var(--border);
            border-radius: 7px;
            background: var(--surface-strong);
            color: var(--muted);
            cursor: pointer;
            font-size: 11px;
            font-weight: 900;
        }
        .wizard-progress button.is-active { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent-bright); }
        .wizard-stage { position: relative; min-height: 0; overflow: hidden; transition: height 240ms ease; }
        .step-card {
            width: 100%;
            min-height: 0;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface-soft);
            padding: 19px;
            animation: card-in 240ms ease both;
        }
        .step-card.has-step-image { display: grid; grid-template-columns: minmax(0,.92fr) minmax(300px,1.08fr); gap: 20px; align-items: start; }
        .step-card.is-compact { width: fit-content; max-width: 100%; }
        .step-copy { min-width: 0; }
        .step-card .wiki-figure { margin: 0; min-height: 250px; }
        .step-card[hidden] { display: none; }
        .step-card.is-leaving { animation: card-out 145ms ease both; }
        .step-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 12px; }
        .step-number { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-bright); font-weight: 950; }
        .step-head h3 { margin: 0 0 4px; font-size: 20px; }
        .step-head p { margin: 0; color: var(--soft); font-size: 13px; }
        .wizard-controls { margin-top: 10px; }
        .wizard-controls button, .tab-button {
            min-height: 38px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface-strong);
            padding: 8px 13px;
            color: var(--text);
            font: inherit;
            font-size: 12px;
            font-weight: 850;
            cursor: pointer;
        }
        .wizard-controls button:disabled { cursor: not-allowed; opacity: .5; }
        @keyframes card-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes card-out { from { opacity: 1; } to { opacity: 0; transform: translateX(-7px); } }
        @keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

        .wiki-figure { position: relative; margin: 17px 0 4px; min-height: 260px; border: 1px solid var(--border); border-radius: 9px; background: rgba(0,0,0,.18); overflow: hidden; }
        .wiki-figure img { width: 100%; max-height: 620px; display: block; object-fit: contain; cursor: zoom-in; }
        .wiki-figure img[src^="PLACEHOLDER_IMAGE_URL_"] { display: none; }
        .wiki-figure img:not([src^="PLACEHOLDER_IMAGE_URL_"]) + .placeholder-copy { display: none; }
        .wiki-figure.is-image-loading .placeholder-copy, .wiki-figure.has-missing-image .placeholder-copy { display: flex; }
        .wiki-figure.has-loaded-image .placeholder-copy { display: none; }
        .wiki-figure.has-missing-image img { display: none; }
        .placeholder-copy { position: absolute; inset: 12px 12px 43px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed var(--border-strong); border-radius: 8px; padding: 20px; text-align: center; }
        .placeholder-label { border: 1px solid var(--accent-border); border-radius: 999px; background: var(--accent-soft); padding: 4px 8px; color: var(--accent-bright); font-size: 10px; font-weight: 900; text-transform: uppercase; }
        .placeholder-copy strong { margin-top: 9px; color: var(--text); font-size: 16px; }
        .placeholder-copy small { max-width: 620px; margin-top: 7px; color: var(--soft); font-size: 12px; }
        .placeholder-token { margin-top: 10px; color: var(--soft); font-family: ui-monospace, monospace; font-size: 10px; overflow-wrap: anywhere; }
        .wiki-figure figcaption { position: absolute; right: 0; bottom: 0; left: 0; border-top: 1px solid var(--border); background: var(--surface-strong); padding: 9px 12px; color: var(--soft); font-size: 11.5px; }
        .image-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
        .image-grid .wiki-figure { min-width: 0; }

        .table-wrap { margin: 17px 0; border: 1px solid var(--border); border-radius: 9px; overflow-x: auto; }
        table { width: 100%; border-collapse: collapse; font-size: 13px; }
        th, td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
        th { background: var(--surface-soft); color: var(--text); font-size: 11.5px; text-transform: uppercase; }
        td { color: var(--muted); }
        tr:last-child td { border-bottom: 0; }

        details { margin: 13px 0; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); overflow: hidden; transition: height 240ms ease, border-color 180ms ease; }
        summary { position: relative; padding: 12px 40px 12px 14px; color: var(--text); font-size: 13.5px; font-weight: 850; cursor: pointer; list-style: none; }
        summary::-webkit-details-marker { display: none; }
        summary::after { content: "+"; position: absolute; right: 14px; top: 50%; color: var(--accent); font-size: 20px; transform: translateY(-52%); }
        details[open] summary::after { content: "-"; }
        .details-body { border-top: 1px solid var(--border); padding: 13px 14px 5px; transition: opacity 180ms ease, transform 220ms ease; }
        details.is-animating { overflow: hidden; }
        details.is-opening .details-body, details.is-closing .details-body { opacity: 0; transform: translateY(-5px); }

        .product-tabs { margin-top: 17px; }
        .product-wizard { margin-top: 18px; }
        .product-wizard > .tab-list { margin-bottom: 14px; }
        .product-wizard .tab-panel > .wizard { margin-top: 0; }
        .tab-list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
        .tab-button { display: inline-flex; align-items: center; gap: 8px; }
        .tab-button.is-active { border-color: var(--accent-border); background: var(--accent-soft); box-shadow: inset 0 -2px 0 var(--accent); }
        .tab-panel[hidden] { display: none; }
        .tab-panel.is-active { animation: card-in 240ms ease both; }
        .tab-panel.is-leaving { animation: card-out 145ms ease both; }

        .copy-row { display: flex; align-items: stretch; gap: 8px; margin: 12px 0 16px; }
        .path-value { flex: 1 1 auto; min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--code-bg); padding: 9px 10px; color: var(--text); font-size: 12px; overflow-wrap: anywhere; }
        .copy-button { flex: 0 0 auto; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--accent-soft); padding: 8px 11px; color: var(--text); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }

        .related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 15px; }
        .related-link { display: block; min-height: 106px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); padding: 13px; color: var(--text); text-decoration: none; }
        .related-link:hover { border-color: var(--accent-border); background: var(--surface-hover); }
        .related-link span { display: block; color: var(--accent-bright); font-size: 10.5px; font-weight: 850; text-transform: uppercase; }
        .related-link strong { display: block; margin-top: 5px; font-size: 15px; }
        .related-link small { display: block; margin-top: 5px; color: var(--soft); font-size: 11.5px; line-height: 1.4; }

        .article-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 38px; border-top: 1px solid var(--border); padding-top: 17px; color: var(--soft); font-size: 11.5px; }
        .back-top { color: var(--muted); font-weight: 750; text-decoration: none; }
        .image-modal { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: rgba(0,0,0,.88); padding: 24px; }
        .image-modal.is-open { display: grid; }
        .image-modal img { max-width: min(1400px,96vw); max-height: 90vh; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: #fff; }
        .image-modal button { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 24px; cursor: pointer; }

        .layout-reference .article { padding-inline: 42px; }
        .layout-reference .overview-grid { grid-template-columns: 1fr; }
        .layout-reference .infobox { max-width: 720px; }
        .layout-workbench .article-section#workflow { border-left: 3px solid var(--accent); padding-left: 20px; }
        .layout-pipeline .article-section#behaviour .table-wrap { box-shadow: inset 4px 0 0 var(--info); }
        .layout-host .header-layout { grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); }
        .layout-host .article-section#products { border-top: 3px solid var(--accent); padding-top: 18px; }
        .layout-studio .article-section#behaviour { border-top: 3px solid var(--accent); padding-top: 18px; }
        .layout-studio .article-section#workflow .wizard { max-width: 960px; }
        .layout-studio .step-card.has-step-image,
        .layout-settings .step-card.has-step-image { grid-template-columns: minmax(0,1fr); }
        .layout-studio .step-card .wiki-figure,
        .layout-settings .step-card .wiki-figure { width: 100%; min-height: 320px; }
        .layout-settings .step-card .wiki-figure { max-width: 820px; }
        .quick-link-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 16px 0; }
        .quick-link { display: block; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); padding: 13px; color: var(--text); text-decoration: none; }
        .quick-link:hover { border-color: var(--accent-border); background: var(--surface-hover); }
        .quick-link strong, .quick-link span { display: block; }
        .quick-link span { margin-top: 3px; color: var(--soft); font-size: 12px; }
        .manual-changelog { display: grid; gap: 14px; }
        .release-card { border-left: 3px solid var(--accent); background: var(--surface-soft); padding: 18px; }
        .release-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .release-card h3 { margin: 13px 0 8px; font-size: 20px; }
        .release-card time, .release-editions { color: var(--soft); font-size: 12px; }
        .layout-recipe .overview-grid { grid-template-columns: 1fr; }
        .layout-recipe .article-section#workflow { background: var(--surface-soft); margin-inline: -18px; padding: 20px 18px; }

        @media (max-width: 960px) {
            .page { padding: 14px; }
            .article-grid { grid-template-columns: 1fr; }
            .contents { position: relative; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); padding: 18px 24px; }
            .contents ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
            .side-note { display: none; }
            .overview-grid { grid-template-columns: 1fr; }
            .layout-reference .article { padding-inline: 24px; }
            .table-wrap { margin-inline: -8px; }
        }
        @media (max-width: 700px) {
            .page { padding: 0; }
            .page-frame { border-right: 0; border-left: 0; border-radius: 0; }
            .page-header { padding: 24px 18px 20px; }
            .header-layout { grid-template-columns: 1fr; }
            .header-cutout { min-height: 190px; }
            .tutorial-cutout > span { right: 12px; bottom: 11px; left: 20px; }
            .tag-label { flex-basis: 100%; }
            .contents { padding: 16px 13px; }
            .contents ol { grid-template-columns: 1fr; }
            .article { padding: 23px 16px 35px; }
            .article-section > h2 { font-size: 24px; }
            .wizard-status { align-items: flex-start; flex-direction: column; }
            .wizard-controls { align-items: stretch; }
            .wizard-controls button { min-height: 44px; flex: 1 1 0; }
            .step-card, .step-card.has-step-image { width: 100%; grid-template-columns: 1fr; padding: 15px; }
            .step-card .wiki-figure { min-height: 0; }
            .image-grid, .related-grid, .action-grid { grid-template-columns: 1fr; }
            .quick-link-row { grid-template-columns: 1fr; }
            .copy-row { flex-direction: column; }
            .article-footer { align-items: flex-start; flex-direction: column; }
            .infobox dl { grid-template-columns: 1fr; }
            .infobox dt { padding-bottom: 3px; border-bottom: 0; color: var(--soft); }
            .infobox dd { padding-top: 3px; }
            details summary { min-height: 46px; display: flex; align-items: center; }
            .product-tabs .tab-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(92px,1fr)); }
            .tab-button { min-height: 44px; justify-content: center; }
            .command-filter { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
            .command-filter button { padding-inline: 7px; }
            .command-table th:nth-child(3), .command-table td:nth-child(3) { min-width: 250px; }
        }
        @media (max-width: 420px) {
            h1 { font-size: 31px; }
            .product-chip { width: 100%; }
            .product-chip .pill { flex: 1 1 auto; }
            .wizard-progress { width: 100%; grid-template-columns: repeat(auto-fit,minmax(36px,1fr)); }
            .wizard-progress button { width: auto; min-width: 36px; }
            .article-section > h2 { align-items: flex-start; font-size: 22px; }
            .command-filter { grid-template-columns: 1fr; }
        }
        @media print {
            :root, html[data-theme="light"] { --bg:#fff; --surface:#fff; --surface-strong:#fff; --surface-soft:#f7f7f7; --text:#111; --muted:#333; --soft:#555; --border:#ccc; --shadow:transparent; --accent:#d84b09; --accent-bright:#d84b09; --accent-soft:#fff3ed; --link:#a63705; --code-bg:#f0f0f0; }
            body { background:#fff; }
            .page { width:auto; padding:0; }
            .page-frame { border:0; box-shadow:none; }
            .contents, .wizard-controls, .wizard-progress, .copy-button, .back-top, .image-modal, .theme-toggle { display:none !important; }
            .article-grid, .overview-grid { display:block; }
            .article { padding:20px 0; }
            .page-header { padding:0 0 18px; background:#fff; }
            .step-card, .wiki-figure, details { break-inside:avoid; }
            .step-card[hidden], .tab-panel[hidden], details > * { display:block !important; }
        }
        @media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }
