        * { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --teal: #4CB5AE;
            --teal-dark: #2F8C86;
            --teal-light: #E8F6F5;
            --navy: #172634;
            --navy-soft: #23384B;
            --coral: #F2A09A;
            --coral-light: #FFF4F1;
            --gold: #E8B96E;
            --text-dark: #243442;
            --text-gray: #5D6E7E;
            --text-light: #8493A3;
            --white: #FFFFFF;
            --border: #DFE8EE;
            --surface: rgba(255, 255, 255, 0.84);
            --shadow: 0 26px 60px rgba(23, 38, 52, 0.12);
            --shadow-soft: 0 12px 30px rgba(23, 38, 52, 0.08);
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background:
                radial-gradient(circle at top left, rgba(76, 181, 174, 0.18), transparent 28%),
                radial-gradient(circle at top right, rgba(242, 160, 154, 0.18), transparent 24%),
                linear-gradient(180deg, #F7FBFB 0%, #FFFFFF 20%, #FFF9F6 100%);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        h1, h2, h3 {
            font-family: 'DM Serif Display', Georgia, serif;
            font-weight: 400;
        }

        /* Reading progress bar */
        .reading-progress {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: rgba(76, 181, 174, 0.12);
            z-index: 1000;
            pointer-events: none;
        }
        .reading-progress__bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 100%);
            transition: width 0.08s linear;
            border-radius: 0 999px 999px 0;
        }

        .doc-shell {
            max-width: 1380px;
            margin: 0 auto;
            padding: 112px 24px 96px;
        }

        /* Hero — compact */
        .hero {
            padding: 8px 4px 18px;
            margin-bottom: 18px;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(76, 181, 174, 0.14);
            color: var(--teal-dark);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .eyebrow::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: var(--teal);
        }

        .hero h1 {
            font-size: clamp(1.6rem, 2.6vw, 2rem);
            line-height: 1.1;
            color: var(--navy);
            margin-bottom: 6px;
        }

        .hero p {
            color: var(--text-gray);
            font-size: 0.92rem;
            max-width: 70ch;
        }

        /* Main grid: TOC + content */
        .manual-grid {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 28px;
            align-items: start;
        }

        /* TOC */
        .toc {
            position: sticky;
            top: 96px;
            max-height: calc(100vh - 120px);
            padding: 22px 18px 18px;
            background: var(--surface);
            border: 1px solid rgba(255, 255, 255, 0.78);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 26px;
            display: flex;
            flex-direction: column;
        }

        .toc-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 12px;
        }

        .toc-header h2 {
            font-family: 'DM Sans', sans-serif;
            font-weight: 700;
            font-size: 0.78rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--navy);
        }

        .toc-count {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: var(--text-light);
            padding: 3px 8px;
            border-radius: 999px;
            background: rgba(23, 38, 52, 0.06);
        }

        .toc-search {
            position: relative;
            margin-bottom: 14px;
        }

        .toc-search input {
            width: 100%;
            padding: 10px 12px 10px 34px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.7);
            font-family: inherit;
            font-size: 0.86rem;
            color: var(--text-dark);
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .toc-search input:focus {
            outline: none;
            border-color: var(--teal);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(76, 181, 174, 0.12);
        }

        .toc-search::before {
            content: '';
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            border-radius: 999px;
            border: 1.6px solid var(--text-light);
            box-shadow: 5px 5px 0 -3.5px var(--text-light);
        }

        .toc-clear {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 22px;
            border-radius: 999px;
            border: 0;
            background: rgba(23, 38, 52, 0.08);
            color: var(--text-gray);
            cursor: pointer;
            font-size: 14px;
            line-height: 1;
            display: none;
        }
        .toc-clear.is-visible { display: grid; place-items: center; }

        .toc-scroll {
            overflow-y: auto;
            flex: 1;
            margin: 0 -6px;
            padding: 0 6px 6px;
        }

        .toc-scroll::-webkit-scrollbar { width: 6px; }
        .toc-scroll::-webkit-scrollbar-thumb {
            background: rgba(23, 38, 52, 0.16);
            border-radius: 999px;
        }

        .toc-part {
            margin-bottom: 8px;
        }

        .toc-part__toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            width: 100%;
            padding: 10px 12px;
            border: 1px solid transparent;
            background: transparent;
            border-radius: 14px;
            color: var(--navy);
            font-family: inherit;
            font-weight: 700;
            font-size: 0.86rem;
            cursor: pointer;
            text-align: left;
            transition: background 0.18s ease, border-color 0.18s ease;
        }

        .toc-part__toggle:hover { background: rgba(23, 38, 52, 0.04); }

        .toc-part__label {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .toc-part__num {
            display: inline-grid;
            place-items: center;
            width: 22px;
            height: 22px;
            border-radius: 8px;
            background: var(--navy);
            color: var(--white);
            font-size: 0.72rem;
            font-weight: 700;
            flex-shrink: 0;
        }


        .toc-part__title {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 0.84rem;
        }

        .toc-part__chev {
            color: var(--text-light);
            font-size: 0.7rem;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }

        .toc-part.is-collapsed .toc-part__chev { transform: rotate(-90deg); }

        .toc-list {
            list-style: none;
            margin-top: 4px;
            margin-left: 11px;
            padding-left: 11px;
            border-left: 1px solid var(--border);
            display: grid;
            gap: 1px;
        }

        .toc-part.is-collapsed .toc-list { display: none; }

        .toc-list a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 10px;
            border-radius: 10px;
            color: var(--text-gray);
            text-decoration: none;
            font-size: 0.84rem;
            font-weight: 500;
            transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
            position: relative;
        }

        .toc-list a:hover {
            color: var(--navy);
            background: rgba(76, 181, 174, 0.1);
        }

        .toc-list .toc-num {
            font-size: 0.72rem;
            color: var(--text-light);
            font-variant-numeric: tabular-nums;
            font-weight: 700;
            min-width: 22px;
        }

        .toc-list a.is-active {
            color: var(--white);
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
            font-weight: 600;
        }

        .toc-list a.is-active .toc-num { color: rgba(255,255,255,0.7); }


        .toc-list li.is-hidden { display: none; }

        .toc-empty {
            display: none;
            padding: 14px 12px;
            color: var(--text-light);
            font-size: 0.85rem;
            text-align: center;
        }

        .toc-empty.is-visible { display: block; }

        /* Main column */
        .doc-main { display: grid; gap: 22px; }

        .part-divider {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 14px;
            align-items: center;
            padding: 22px 26px;
            background: var(--surface);
            border: 1px solid rgba(255, 255, 255, 0.78);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 24px;
            scroll-margin-top: 100px;
        }

        .part-divider__num {
            font-family: 'DM Serif Display', serif;
            font-size: 3rem;
            line-height: 1;
            color: var(--navy);
            opacity: 0.18;
            min-width: 60px;
        }


        .part-divider h2 {
            font-size: clamp(1.4rem, 2.2vw, 1.7rem);
            color: var(--navy);
            line-height: 1.1;
            margin-bottom: 4px;
        }

        .part-divider p {
            color: var(--text-gray);
            font-size: 0.9rem;
            max-width: 60ch;
        }

        .part-divider .part-tag {
            display: inline-block;
            margin-bottom: 10px;
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        .section-panel {
            background: var(--surface);
            border: 1px solid rgba(255, 255, 255, 0.78);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 24px;
            padding: 28px 30px;
            scroll-margin-top: 100px;
            font-size: 0.94rem;
        }

        .section-kicker {
            display: inline-block;
            margin-bottom: 14px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--teal-dark);
        }

        .section-kicker .kicker-num {
            font-variant-numeric: tabular-nums;
            margin-right: 8px;
            padding: 3px 8px;
            border-radius: 999px;
            background: rgba(76, 181, 174, 0.16);
            color: var(--teal-dark);
        }

        .section-panel h2 {
            font-size: 1.55rem;
            line-height: 1.15;
            color: var(--navy);
            margin-bottom: 10px;
        }

        .section-panel > p { color: var(--text-gray); margin-bottom: 20px; }
        .section-panel li { color: var(--text-gray); }

        /* Anchor copy button */
        .anchor-link {
            margin-left: 10px;
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.18s ease, color 0.18s ease;
            display: inline-block;
            vertical-align: middle;
        }
        .section-panel h2:hover .anchor-link { opacity: 1; }
        .anchor-link:hover { color: var(--teal-dark); }

        .steps {
            counter-reset: step;
            list-style: none;
            display: grid;
            gap: 14px;
        }

        .steps li {
            position: relative;
            padding: 18px 18px 18px 72px;
            border: 1px solid var(--border);
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.78);
        }

        .steps li::before {
            counter-increment: step;
            content: counter(step);
            position: absolute;
            left: 18px;
            top: 18px;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: var(--navy);
            color: var(--white);
            font-weight: 700;
            font-size: 0.96rem;
        }


        .steps strong {
            display: block;
            margin-bottom: 6px;
            color: var(--navy);
            font-size: 1rem;
        }

        .steps ul {
            margin-top: 8px;
            padding-left: 18px;
            list-style: disc;
        }
        .steps ul li {
            background: transparent;
            border: 0;
            padding: 4px 0;
            margin: 0;
        }
        .steps ul li::before { content: none; }

        .two-col {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            margin-top: 20px;
        }

        .summary-card,
        .note-box {
            background: var(--surface);
            border: 1px solid rgba(255, 255, 255, 0.78);
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 22px;
            padding: 22px;
        }

        .support-line {
            margin-top: 8px;
            padding: 10px 4px;
            text-align: center;
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .summary-card h3,
        .support-card h3 {
            font-size: 1.35rem;
            color: var(--navy);
            margin-bottom: 12px;
        }

        .summary-card ul,
        .support-card ul {
            list-style: none;
            display: grid;
            gap: 10px;
        }

        .summary-card li,
        .support-card li {
            position: relative;
            padding-left: 18px;
            color: var(--text-gray);
            font-size: 0.94rem;
        }

        .summary-card li::before,
        .support-card li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.72em;
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: var(--coral);
        }

        .callout {
            margin-top: 20px;
            padding: 16px 20px;
            border-radius: 20px;
            background: rgba(76, 181, 174, 0.1);
            border: 1px solid rgba(76, 181, 174, 0.22);
            color: var(--text-dark);
            font-size: 0.96rem;
        }

        .callout strong { color: var(--navy); }

        .note-grid {
            display: grid;
            gap: 16px;
            margin-top: 20px;
        }

        .note-box {
            padding: 20px;
            background: rgba(255, 255, 255, 0.76);
            border-radius: 22px;
        }

        .note-box h3 {
            font-size: 1.3rem;
            color: var(--navy);
            margin-bottom: 10px;
        }

        a.inline-link {
            color: var(--teal-dark);
            font-weight: 700;
            text-decoration: none;
            border-bottom: 1px dashed rgba(47, 140, 134, 0.4);
        }
        a.inline-link:hover { border-bottom-style: solid; }

        code {
            font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
            font-size: 0.92em;
            background: rgba(23, 38, 52, 0.06);
            border-radius: 8px;
            padding: 2px 6px;
        }

        figure.screenshot {
            margin: 24px 0 4px;
            padding: 14px;
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(76, 181, 174, 0.10), rgba(242, 160, 154, 0.08));
            border: 1px solid var(--border);
        }
        figure.screenshot img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 14px;
            background: var(--white);
            border: 1px solid var(--border);
            box-shadow: 0 18px 40px rgba(23, 38, 52, 0.10);
        }
        figure.screenshot figcaption {
            margin-top: 12px;
            padding: 0 4px;
            font-size: 0.9rem;
            color: var(--text-gray);
            text-align: center;
            line-height: 1.45;
        }

        .field-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin-top: 18px;
        }

        .field-card {
            padding: 16px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.82);
            border: 1px solid var(--border);
        }

        .field-card h4 {
            margin: 0 0 4px;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--navy);
        }

        .field-card p {
            margin: 0;
            font-size: 0.88rem;
            color: var(--text-gray);
            line-height: 1.5;
        }

        .tab-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 14px 0 4px;
        }

        .tab-row span {
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(76, 181, 174, 0.12);
            color: var(--teal-dark);
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.04em;
        }

        /* Back-to-top */
        .back-top {
            position: fixed;
            right: 24px;
            bottom: 24px;
            width: 48px;
            height: 48px;
            border-radius: 999px;
            background: var(--navy);
            color: var(--white);
            border: 0;
            cursor: pointer;
            display: grid;
            place-items: center;
            box-shadow: 0 18px 40px rgba(23, 38, 52, 0.30);
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            z-index: 90;
        }
        .back-top.is-visible { opacity: 1; transform: translateY(0); }
        .back-top svg { width: 18px; height: 18px; }

        /* Mobile TOC drawer */
        .toc-toggle {
            display: none;
            position: fixed;
            right: 24px;
            bottom: 24px;
            padding: 12px 18px 12px 14px;
            border-radius: 999px;
            background: var(--navy);
            color: var(--white);
            border: 0;
            cursor: pointer;
            font-family: inherit;
            font-weight: 700;
            font-size: 0.9rem;
            align-items: center;
            gap: 8px;
            box-shadow: 0 18px 40px rgba(23, 38, 52, 0.30);
            z-index: 95;
        }

        .toc-toggle svg { width: 18px; height: 18px; }

        .toc-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(23, 38, 52, 0.5);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            z-index: 98;
            opacity: 0;
            transition: opacity 0.22s ease;
        }
        .toc-backdrop.is-open {
            display: block;
            opacity: 1;
        }

        @media (max-width: 1180px) {
            .manual-grid {
                grid-template-columns: 260px minmax(0, 1fr);
            }
        }

        @media (max-width: 900px) {
            .doc-shell { padding: 100px 18px 80px; }
            .hero {
                grid-template-columns: 1fr;
                padding: 32px;
            }
            .manual-grid {
                grid-template-columns: 1fr;
            }
            .toc {
                position: fixed;
                top: 0;
                left: 0;
                bottom: 0;
                width: min(86vw, 360px);
                max-height: none;
                border-radius: 0 26px 26px 0;
                transform: translateX(-105%);
                transition: transform 0.28s ease;
                z-index: 99;
                padding: 22px 18px 18px;
            }
            .toc.is-open {
                transform: translateX(0);
            }
            .toc-toggle { display: inline-flex; }
            .back-top { right: 88px; }
            .part-divider {
                padding: 24px;
            }
            .part-divider__num {
                font-size: 3rem;
                min-width: auto;
            }
            .section-panel { padding: 26px; }
            .two-col { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .hero { padding: 26px; }
            .hero h1 { font-size: 2.2rem; }
            .steps li { padding: 70px 16px 16px; }
            .steps li::before { left: 16px; top: 16px; }
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            * { transition: none !important; animation: none !important; }
        }
    

/* ============ Multi-page manual additions ============ */
.toc-back { display:inline-flex; align-items:center; gap:6px; margin-bottom:14px; font-size:.8rem; font-weight:700; color:var(--teal-dark); text-decoration:none; }
.toc-back:hover { color:var(--navy); }
.toc-topics { display:grid; gap:2px; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.toc-topic { display:flex; align-items:center; gap:10px; padding:6px 10px; border-radius:10px; color:var(--text-gray); text-decoration:none; font-size:.82rem; font-weight:600; transition:background .15s ease, color .15s ease; }
.toc-topic:hover { background:rgba(76,181,174,.1); color:var(--navy); }
.toc-topic.is-current { background:linear-gradient(135deg,var(--navy) 0%,var(--navy-soft) 100%); color:#fff; }
.toc-topic__num { display:inline-grid; place-items:center; min-width:26px; height:20px; padding:0 4px; border-radius:7px; background:rgba(23,38,52,.08); color:var(--navy); font-size:.64rem; font-weight:700; flex-shrink:0; }
.toc-topic.is-current .toc-topic__num { background:rgba(255,255,255,.18); color:#fff; }
.toc-subpages { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.toc-subpages a { padding:5px 11px; border-radius:999px; font-size:.76rem; font-weight:700; text-decoration:none; color:var(--teal-dark); background:rgba(76,181,174,.12); transition:background .15s ease; }
.toc-subpages a.is-current { background:var(--navy); color:#fff; }
.toc-subpages a:hover { background:rgba(76,181,174,.24); }
.toc-subpages a.is-current:hover { background:var(--navy-soft); }

.manual-pager { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:6px; }
.manual-pager a { display:flex; flex-direction:column; gap:5px; padding:18px 22px; border-radius:20px; text-decoration:none; background:var(--surface); border:1px solid rgba(255,255,255,.78); box-shadow:var(--shadow-soft); transition:transform .18s ease, box-shadow .18s ease; }
.manual-pager a:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.manual-pager .next { text-align:right; align-items:flex-end; }
.manual-pager__dir { font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-light); }
.manual-pager__title { font-family:'DM Serif Display',serif; font-size:1.1rem; color:var(--navy); line-height:1.12; }
@media (max-width:600px){ .manual-pager{ grid-template-columns:1fr; } .manual-pager .next{ text-align:left; align-items:flex-start; } }

/* ============ Launcher (provider-manual.html) ============ */
.launcher-hero { max-width:780px; margin-bottom:30px; }
.launcher-hero h1 { font-size:clamp(2rem,3.6vw,2.8rem); line-height:1.05; color:var(--navy); margin-bottom:10px; }
.launcher-hero p { color:var(--text-gray); font-size:1rem; max-width:64ch; }
.launcher-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr)); gap:18px; }
.topic-card { display:flex; flex-direction:column; padding:24px; border-radius:26px; text-decoration:none; color:inherit; background:var(--surface); border:1px solid rgba(255,255,255,.78); box-shadow:var(--shadow); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); transition:transform .18s ease, box-shadow .18s ease; }
.topic-card:hover { transform:translateY(-3px); box-shadow:0 34px 74px rgba(23,38,52,.18); }
.topic-card__num { font-family:'DM Serif Display',serif; font-size:1.5rem; line-height:1; color:var(--navy); opacity:.22; }
.topic-card h2 { font-size:1.3rem; color:var(--navy); margin-bottom:8px; line-height:1.12; }
.topic-card p { color:var(--text-gray); font-size:.9rem; line-height:1.5; flex:1; }
.topic-card__count { margin-top:14px; font-size:.76rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--text-light); }
.topic-card__pages { margin-top:12px; display:flex; flex-wrap:wrap; gap:6px; }
.topic-card__pages span { padding:5px 11px; border-radius:999px; font-size:.76rem; font-weight:700; color:var(--teal-dark); background:rgba(76,181,174,.12); }
.topic-card--new { border-color:rgba(76,181,174,.4); }
.topic-card__flag { display:inline-block; padding:4px 10px; border-radius:999px; background:rgba(23,38,52,.92); color:#fff; font-size:.62rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.launcher-aside { margin-top:24px; }
.launcher-aside .guides-heading { font-family:'DM Sans',sans-serif; font-weight:700; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-light); margin-bottom:12px; }
.launcher-links { display:flex; flex-wrap:wrap; gap:10px; }
.launcher-links a { padding:10px 16px; border-radius:999px; font-size:.86rem; font-weight:700; text-decoration:none; color:var(--navy-soft); background:rgba(255,255,255,.7); border:1px solid var(--border); transition:border-color .15s ease, background .15s ease; }
.launcher-links a:hover { border-color:rgba(76,181,174,.4); background:#fff; }


/* ============ Readability & typographic polish ============ */
.section-panel { font-size:.96rem; }
.section-panel > p { max-width:74ch; }
.section-panel h3 { font-size:1.18rem; color:var(--navy); margin:24px 0 8px; }
.section-panel h4 { font-size:.98rem; color:var(--navy); margin:16px 0 6px; }
.section-panel > ul { margin:12px 0 4px; padding-left:20px; display:grid; gap:6px; }
kbd { display:inline-block; padding:2px 7px; border-radius:7px; border:1px solid var(--border); border-bottom-width:2px; background:#fff; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.8em; font-weight:600; color:var(--navy); box-shadow:0 1px 0 rgba(23,38,52,.06); }
mark { background:rgba(232,185,110,.45); border-radius:4px; padding:0 2px; color:inherit; }

/* Tables */
.doc-table-wrap { margin-top:18px; overflow-x:auto; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.82); }
table.doc-table { width:100%; border-collapse:collapse; font-size:.9rem; }
table.doc-table th { text-align:left; padding:12px 16px; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--text-light); border-bottom:1px solid var(--border); white-space:nowrap; }
table.doc-table td { padding:12px 16px; color:var(--text-gray); border-bottom:1px solid rgba(223,232,238,.6); vertical-align:top; line-height:1.5; }
table.doc-table tr:last-child td { border-bottom:0; }
table.doc-table td:first-child { color:var(--navy); font-weight:600; }

/* Callout accent bar + variants */
.callout { display:flex; gap:14px; align-items:flex-start; }
.callout::before { content:''; width:4px; min-height:100%; align-self:stretch; border-radius:999px; background:var(--teal); flex-shrink:0; }
.callout > div, .callout > p { flex:1; }
.callout--warn { background:rgba(232,185,110,.14); border-color:rgba(232,185,110,.42); }
.callout--warn::before { background:var(--gold); }
.callout--danger { background:rgba(242,160,154,.16); border-color:rgba(242,160,154,.5); }
.callout--danger::before { background:#D86A60; }

/* Deep-link flash */
.section-panel.is-flashed, .part-divider.is-flashed { animation:panelFlash 1.8s ease 1; }
@keyframes panelFlash { 0% { box-shadow:0 0 0 4px rgba(76,181,174,.55), var(--shadow); } 100% { box-shadow:0 0 0 4px rgba(76,181,174,0), var(--shadow); } }

/* Page meta strip */
.page-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.page-meta span { display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:999px; background:rgba(255,255,255,.72); border:1px solid var(--border); font-size:.73rem; font-weight:700; color:var(--text-gray); letter-spacing:.03em; }
.page-meta span::before { content:''; width:5px; height:5px; border-radius:999px; background:var(--teal); }

/* Sidebar topic groups */
.toc-group + .toc-group { margin-top:8px; }
.toc-group__label { display:flex; width:100%; align-items:center; justify-content:space-between; gap:8px; padding:5px 10px 4px; border:0; background:none; cursor:pointer; font-family:inherit; font-size:.64rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:var(--text-light); }
.toc-group__label:hover { color:var(--navy); }
.toc-group__chev { transition:transform .2s ease; font-size:.58rem; }
.toc-group.is-collapsed .toc-group__chev { transform:rotate(-90deg); }
.toc-group.is-collapsed .toc-topic { display:none; }

/* Screenshot lightbox */
figure.screenshot { position:relative; }
figure.screenshot img { cursor:zoom-in; }
figure.screenshot .shot-zoom { position:absolute; top:24px; right:24px; width:32px; height:32px; display:grid; place-items:center; border-radius:10px; background:rgba(23,38,52,.78); color:#fff; opacity:0; transition:opacity .18s ease; pointer-events:none; }
figure.screenshot .shot-zoom svg { width:16px; height:16px; }
figure.screenshot:hover .shot-zoom { opacity:1; }
.lightbox { position:fixed; inset:0; z-index:1200; display:none; align-items:center; justify-content:center; flex-direction:column; gap:16px; padding:56px 28px 28px; background:rgba(15,24,33,.88); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); cursor:zoom-out; }
.lightbox.is-open { display:flex; }
.lightbox img { max-width:min(1560px,94vw); max-height:78vh; width:auto; border-radius:14px; box-shadow:0 40px 90px rgba(0,0,0,.5); background:#fff; cursor:default; }
.lightbox__caption { color:rgba(255,255,255,.88); font-size:.92rem; line-height:1.5; max-width:84ch; text-align:center; cursor:default; }
.lightbox__count { position:absolute; top:22px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.62); font-size:.78rem; font-weight:700; letter-spacing:.08em; }
.lightbox__btn { position:absolute; width:44px; height:44px; border-radius:999px; border:0; background:rgba(255,255,255,.14); color:#fff; cursor:pointer; display:grid; place-items:center; transition:background .15s ease; }
.lightbox__btn:hover { background:rgba(255,255,255,.28); }
.lightbox__btn svg { width:20px; height:20px; }
.lightbox__close { top:16px; right:16px; }
.lightbox__prev { left:16px; top:50%; transform:translateY(-50%); }
.lightbox__next { right:16px; top:50%; transform:translateY(-50%); }
@media (max-width:700px){ .lightbox__prev, .lightbox__next { display:none; } }

/* Global manual search (⌘K) */
.msearch-open { display:flex; width:100%; align-items:center; gap:9px; margin-bottom:12px; padding:9px 12px; border-radius:12px; border:1px solid var(--border); background:rgba(255,255,255,.7); color:var(--text-light); font-family:inherit; font-size:.84rem; font-weight:600; cursor:pointer; transition:border-color .15s ease, background .15s ease, color .15s ease; }
.msearch-open:hover { border-color:var(--teal); background:#fff; color:var(--text-gray); }
.msearch-open svg { width:14px; height:14px; flex-shrink:0; }
.msearch-open .msearch-kbd { margin-left:auto; display:inline-flex; gap:3px; }
.msearch-open kbd { font-size:.64rem; padding:1px 5px; }
.launcher-search { display:flex; align-items:center; gap:11px; width:min(540px,100%); margin-top:20px; padding:13px 18px; border-radius:16px; border:1px solid var(--border); background:rgba(255,255,255,.82); color:var(--text-light); font-family:inherit; font-size:.95rem; font-weight:600; cursor:pointer; box-shadow:var(--shadow-soft); transition:border-color .15s ease, box-shadow .15s ease; }
.launcher-search:hover { border-color:var(--teal); box-shadow:var(--shadow); }
.launcher-search svg { width:16px; height:16px; flex-shrink:0; }
.launcher-search .msearch-kbd { margin-left:auto; display:inline-flex; gap:3px; }
.msearch { position:fixed; inset:0; z-index:1100; display:none; align-items:flex-start; justify-content:center; padding:11vh 20px 20px; background:rgba(23,38,52,.52); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.msearch.is-open { display:flex; }
.msearch__panel { width:min(660px,100%); max-height:72vh; display:flex; flex-direction:column; background:#fff; border-radius:22px; box-shadow:0 50px 120px rgba(0,0,0,.42); overflow:hidden; }
.msearch__input-row { display:flex; align-items:center; gap:12px; padding:16px 20px; border-bottom:1px solid var(--border); }
.msearch__input-row svg { width:17px; height:17px; color:var(--text-light); flex-shrink:0; }
.msearch__input { flex:1; border:0; outline:none; font-family:inherit; font-size:1.02rem; color:var(--text-dark); background:none; }
.msearch__esc { font-size:.64rem; }
.msearch__results { overflow-y:auto; padding:10px; }
.msearch__hint { padding:28px 20px; text-align:center; color:var(--text-light); font-size:.9rem; }
.msearch__group { margin:10px 8px 5px; font-size:.64rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:var(--text-light); }
.msearch__item { display:block; padding:11px 14px; border-radius:14px; text-decoration:none; }
.msearch__item.is-active, .msearch__item:hover { background:rgba(76,181,174,.12); }
.msearch__item-title { display:flex; align-items:center; gap:8px; color:var(--navy); font-weight:700; font-size:.92rem; line-height:1.3; }
.msearch__item-num { font-size:.68rem; color:var(--teal-dark); font-weight:700; font-variant-numeric:tabular-nums; background:rgba(76,181,174,.14); border-radius:6px; padding:1px 6px; flex-shrink:0; }
.msearch__item-x { margin-top:3px; color:var(--text-gray); font-size:.82rem; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.msearch__foot { display:flex; gap:16px; padding:10px 20px; border-top:1px solid var(--border); font-size:.72rem; color:var(--text-light); }
.msearch__foot b { font-weight:700; color:var(--text-gray); }
@media (max-width:600px){ .msearch { padding:6vh 10px 10px; } .msearch__foot { display:none; } }

/* Launcher category groups */
.launcher-group { margin-bottom:34px; }
.launcher-group__head { display:flex; align-items:baseline; gap:12px; margin:0 2px 14px; }
.launcher-group__head h2 { font-size:1.3rem; color:var(--navy); }
.launcher-group__head span { font-size:.82rem; color:var(--text-light); font-weight:600; }
.topic-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.topic-card__icon { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:rgba(76,181,174,.13); color:var(--teal-dark); flex-shrink:0; }
.topic-card__icon svg { width:21px; height:21px; }
.topic-card__top-right { display:flex; align-items:center; gap:10px; }

/* Print */
@media print {
    body { background:#fff; }
    #shared-nav, #shared-footer, .toc, .toc-toggle, .toc-backdrop, .reading-progress,
    .back-top, .manual-pager, .msearch, .msearch-open, .lightbox, .anchor-link,
    .shot-zoom, .support-line { display:none !important; }
    .doc-shell { padding:0; max-width:none; }
    .manual-grid { grid-template-columns:1fr; }
    .section-panel, .part-divider { box-shadow:none; border:1px solid #ddd; backdrop-filter:none; break-inside:avoid; }
    figure.screenshot img { box-shadow:none; }
}
