[hidden] {
    display: none !important;
}
:root {
    --accent: #4f46e5;
    --accent-strong: #4338ca;
    --accent-2: #06b6d4;
    --accent-soft: #eef2ff;
    --border: #e6e9f2;
    --border-strong: #cbd2e1;
    --control: #ffffff;
    --control-hover: #f4f6fb;
    --muted: #64748b;
    --diagram-border: #67e8f9;
    --diagram-surface: #ffffff;
    --shadow: rgba(15, 23, 42, 0.08);
    --shadow-lg: rgba(15, 23, 42, 0.14);
    --surface: #f7f9fc;
    --surface-strong: #ffffff;
    --surface-subtle: #f5f7fb;
    --technique-tag-bg: #e0f2fe;
    --technique-tag-border: #7dd3fc;
    --technique-tag-text: #075985;
    --taxonomy-badge-width: calc(11ch + 0.44em);
    --text: #0f172a;
    --page-bg:
        radial-gradient(1100px 600px at 8% -8%, #e0e7ff 0%, rgba(224, 231, 255, 0) 55%),
        radial-gradient(1000px 520px at 100% 0%, #cffafe 0%, rgba(207, 250, 254, 0) 48%),
        radial-gradient(900px 620px at 50% 118%, #ede9fe 0%, rgba(237, 233, 254, 0) 52%),
        linear-gradient(180deg, #fbfcff 0%, #f5f7fc 100%);
    --header-bg: linear-gradient(90deg, #f1f4ffcc 0%, #eef2ffcc 60%, #e7faffcc 100%);
    --nav-bg: rgba(255, 255, 255, 0.78);
    --nav-bg-strong: rgba(255, 255, 255, 0.86);
}
@media (prefers-color-scheme: dark) {
    :root {
        --accent: #818cf8;
        --accent-strong: #a5b4fc;
        --accent-2: #22d3ee;
        --accent-soft: #1e2a4a;
        --border: #233047;
        --border-strong: #33415c;
        --control: #161e2e;
        --control-hover: #1d2840;
        --muted: #94a3b8;
        --diagram-border: #0e7490;
        --diagram-surface: #162838;
        --shadow: rgba(0, 0, 0, 0.45);
        --shadow-lg: rgba(0, 0, 0, 0.6);
        --surface: #131a2a;
        --surface-strong: #161e2e;
        --surface-subtle: #111827;
        --technique-tag-bg: #0c4a6e;
        --technique-tag-border: #0284c7;
        --technique-tag-text: #e0f2fe;
        --text: #e5e7eb;
        --page-bg:
            radial-gradient(1100px 600px at 8% -8%, #1b2550 0%, rgba(27, 37, 80, 0) 55%),
            radial-gradient(1000px 520px at 100% 0%, #0c3a4a 0%, rgba(12, 58, 74, 0) 48%),
            radial-gradient(900px 620px at 50% 118%, #241a4d 0%, rgba(36, 26, 77, 0) 52%),
            linear-gradient(180deg, #0b1120 0%, #0e1424 100%);
        --header-bg: linear-gradient(90deg, #161e2ecc 0%, #18223acc 60%, #142733cc 100%);
        --nav-bg: rgba(15, 21, 34, 0.72);
        --nav-bg-strong: rgba(15, 21, 34, 0.85);
    }
}
html,
body {
    background: var(--page-bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0px;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.folder {
    align-items: center;
    background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
    border: 0px;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    color: var(--text);
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.35;
    outline: none;
    padding: 11px 14px;
    text-align: left;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    width: 100%;
}
.folder::after {
    content: "\002B";
    color: var(--muted);
    float: right;
    font-weight: bold;
    transition: color 0.18s ease;
}
.folder:hover {
    background: linear-gradient(180deg, var(--surface-strong) 0%, var(--control-hover) 100%);
    color: var(--accent-strong);
}
.folder:focus-visible {
    box-shadow: inset 0px 0px 0px 2px var(--accent);
}
.folder.unfold {
    background: linear-gradient(90deg, var(--accent-soft) 0%, var(--surface) 100%);
    box-shadow: inset 3px 0px 0px var(--accent);
    color: var(--accent-strong);
    font-weight: 600;
}
.unfold::after {
    content: "\2212";
    color: var(--accent);
}
.foldee {
    max-height: none;
    overflow: hidden;
    background-color: var(--surface-subtle);
    padding: 0px 12px;
}
.side-item {
    background-color: var(--control);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    display: block;
    font: inherit;
    font-weight: 500;
    width: 99px;
    height: 24px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.side-item:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-strong);
}
.side-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}
.banner-area {
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0px 2px 14px var(--shadow);
    display: flex;
    overflow-x: auto;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
}
.banner-item {
    align-items: center;
    background: transparent;
    border: 0px;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
    color: var(--muted);
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    padding: 11px 14px 8px 14px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    display: inline-flex;
    flex: 1 0 150px;
    width: auto;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.banner-item:hover {
    background-color: var(--accent-soft);
    color: var(--accent-strong);
}
.banner-icon {
    display: block;
    height: 24px;
    width: 24px;
}
.banner-item[data-pageid="page-about"] {
    flex: 0 0 48px;
    min-width: 48px;
    padding: 8px 12px 5px;
}
.unbump {
    background: linear-gradient(180deg, var(--surface) 0%, var(--accent-soft) 100%);
    border-bottom-color: var(--accent);
    color: var(--accent-strong);
    font-weight: 700;
}
.page-area {
    display: block;
}
.section-area {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0px 10px 30px var(--shadow);
    margin: 18px auto;
    max-width: 1180px;
    outline: none;
    overflow: hidden;
}
.section-header {
    align-items: center;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    column-gap: 6px;
    display: grid;
    grid-template-columns: minmax(0px, 1fr) 18px;
    max-width: 100%;
    padding: 22px 20px 14px 20px;
}
.section-heading {
    color: var(--text);
    font-family: inherit;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0px;
    min-width: 0px;
    overflow-wrap: anywhere;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .section-heading {
        background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}
.content-zone + .content-zone {
    border-top: 1px solid var(--border);
}
.content-zone-header {
    padding: 18px 20px 8px 20px;
}
.content-zone-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0px;
}
.content-zone-note {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    margin: 4px 0px 0px 0px;
}
.content-zone-workbenches {
    background: linear-gradient(180deg, var(--surface-subtle) 0%, var(--surface-strong) 100%);
}
.workbench-list {
    display: grid;
    gap: 10px;
    padding: 4px 20px 20px 20px;
}
.workbench-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0px 4px 14px var(--shadow);
    overflow: hidden;
}
.section-info-control {
    display: inline-block;
    flex: 0 0 auto;
}
.section-info-button {
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    box-sizing: border-box;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    height: 24px;
    justify-content: center;
    line-height: 1;
    max-width: 24px;
    min-width: 24px;
    overflow: visible;
    padding: 0px;
    width: 24px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.section-info-button:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.section-info-popover {
    background-color: var(--surface-strong);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: 0px 16px 40px var(--shadow-lg);
    box-sizing: border-box;
    color: var(--text);
    display: grid;
    font-family: inherit;
    font-size: 13px;
    font-weight: normal;
    grid-template-columns: minmax(0px, 1fr) auto;
    line-height: 1.45;
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
    max-width: min(420px, calc(100vw - 40px));
    overflow-y: auto;
    padding: 10px 10px 14px 14px;
    position: fixed;
    right: max(20px, calc((100vw - 1180px) / 2 + 20px));
    top: 64px;
    overflow-wrap: anywhere;
    width: 420px;
    z-index: 20;
}
.section-info-popover[hidden] {
    display: none;
}
.section-info-content {
    grid-column: 1 / 3;
    min-width: 0px;
    padding-right: 4px;
    white-space: pre-line;
}
.section-info-close {
    align-items: center;
    align-self: start;
    background-color: var(--control);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 20px;
    grid-column: 2;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0px 0px 6px 10px;
    padding: 0px;
    position: sticky;
    top: 0px;
    width: 32px;
}
.section-info-close:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-strong);
}
.section-info-button:focus-visible,
.section-info-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.catalog-filter-item {
    font-size: 14px;
    text-align: left;
}
.catalog-note {
    color: var(--muted);
    margin: 0px;
    padding: 0px 20px 10px 20px;
    font-family: inherit;
    font-size: 14px;
}
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
}
.catalog-controls .side-item {
    height: 34px;
    min-width: 104px;
    padding: 4px 8px;
    text-align: center;
    text-align-last: center;
    width: auto;
}
.catalog-filters {
    background: linear-gradient(180deg, var(--surface) 0%, var(--accent-soft) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0px;
    overflow: hidden;
    padding: 0px 20px;
    transition: max-height 0.25s ease-in-out, padding-bottom 0.25s ease-in-out;
}
.catalog-filters-open {
    max-height: 360px;
    overflow: auto;
    padding-bottom: 12px;
}
.catalog-count {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    min-height: 34px;
    padding: 0px 6px;
}
.catalog-filter-group {
    border: none;
    column-gap: 12px;
    display: grid;
    grid-template-columns: 96px minmax(0px, 1fr);
    align-items: start;
    margin: 0px;
    min-width: 0px;
    padding: 0px;
}
.catalog-filter-title {
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 0px 0px 0px;
}
.catalog-filter-options {
    display: grid;
    gap: 4px 10px;
    grid-template-columns: repeat(6, minmax(0px, 1fr));
}
.catalog-filters .catalog-filter-item {
    align-items: center;
    display: flex;
    gap: 4px;
    height: auto;
    line-height: 1.25;
    min-height: 24px;
    min-width: 0px;
    width: auto;
}
.catalog-folio {
    padding: 0px 20px 18px 20px;
}
.catalog-empty-state {
    color: var(--muted);
    font-size: 14px;
    margin: 0px;
    padding: 18px 0px;
    text-align: center;
}
.catalog-recall-list {
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 132px minmax(0px, 1fr);
    margin: 0px;
    padding: 4px 0px 10px 0px;
}
.catalog-recall-label {
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0px;
    padding: 7px 10px 0px 0px;
}
.catalog-recall-text {
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
    margin: 0px;
    min-width: 0px;
    padding: 7px 0px 0px 0px;
}
.catalog-difficulty-badge {
    border-radius: 6px;
    display: inline-block;
    font-family: monospace;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-right: 8px;
    padding: 2px 6px;
    text-align: center;
    white-space: nowrap;
    width: var(--taxonomy-badge-width);
}
.catalog-difficulty-easy { background-color: #059669; color: white; }
.catalog-difficulty-medium { background-color: #f59e0b; color: #3b2500; }
.catalog-difficulty-hard { background-color: #e11d48; color: white; }
.catalog-code-snippet { margin: 0px 0px 12px 0px; }
.catalog-code-title {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0px;
    padding: 4px 0px 6px 0px;
}
.catalog-code-area {
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: 0px 8px 18px var(--shadow);
    overflow: hidden;
}
.catalog-code-snippet .CodeMirror {
    font-size: 12px;
    height: auto;
    line-height: 1.45;
}
.catalog-mermaid-figure { margin: 2px 0px 10px 0px; }
.catalog-diagram-title {
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 700;
    margin: 0px;
    padding: 8px 0px;
}
.catalog-mermaid-output {
    background: var(--diagram-surface);
    border: 1px solid var(--diagram-border);
    border-radius: 10px;
    box-shadow: 0px 5px 14px var(--shadow);
    max-width: 100%;
    min-height: 120px;
    overflow-x: auto;
    padding: 10px;
}
.catalog-mermaid-output svg {
    display: block;
    height: auto;
    margin: 0px auto;
}
@media only screen and (min-width: 701px) {
    .catalog-mermaid-output svg {
        /* Mermaid sets max-width inline; cap only oversized diagrams on wider layouts. */
        max-width: 100% !important;
    }
}
.catalog-mermaid-output svg text {
    font-family: inherit !important;
    font-size: 14px !important;
}
.catalog-diagram-error {
    background: #fff1f2;
    border: 1px solid #fb7185;
    border-radius: 8px;
    color: #9f1239;
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0px;
    padding: 10px 12px;
}
@media (prefers-color-scheme: dark) {
    .catalog-diagram-error {
        background: #4c0519;
        border-color: #be123c;
        color: #fecdd3;
    }
}
.taxonomy-preview {
    padding: 0px 20px 18px 20px;
}
.taxonomy-preview-family {
    margin: 0px;
    padding: 0px;
    position: relative;
}
.taxonomy-preview-family-title {
    font-weight: 700;
    margin: 0px;
}
.taxonomy-preview-subfamily {
    margin: 0px;
    padding: 0px;
    position: relative;
}
.taxonomy-preview-subfamily-title {
    font-weight: 600;
    margin: 0px;
}
.taxonomy-preview-heading {
    align-items: center;
    column-gap: 6px;
    display: grid;
    grid-template-columns: 18px minmax(0px, 1fr) auto;
}
.taxonomy-preview-heading::after {
    float: none;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
}
.taxonomy-preview-heading-text {
    grid-column: 2;
    min-width: 0px;
    overflow-wrap: anywhere;
}
.folder-technique-tag {
    background: var(--technique-tag-bg);
    border: 1px solid var(--technique-tag-border);
    border-radius: 6px;
    color: var(--technique-tag-text);
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    grid-column: 3;
    line-height: 1.2;
    max-width: 100%;
    min-width: 0px;
    overflow-wrap: anywhere;
    padding: 3px 7px;
    white-space: nowrap;
}
.has-taxonomy-info > .taxonomy-preview-heading {
    padding-right: 48px;
}
.taxonomy-heading-info {
    position: absolute;
    right: 10px;
    top: 9px;
    z-index: 2;
}
.transport-status {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.3;
    min-height: 28px;
    min-width: 0px;
    overflow-wrap: anywhere;
    padding: 0px 4px;
}
@media only screen and (max-width: 700px)
{
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .banner-area {
        background: var(--nav-bg-strong);
        bottom: 0;
        border-bottom: 0px;
        border-top: 1px solid var(--border);
        box-shadow: 0px -4px 20px var(--shadow);
        left: 0;
        overflow-x: hidden;
        position: fixed;
        top: auto;
    }
    .side-item {
        height: auto;
        min-height: 44px;
    }
    .banner-item {
        border-bottom: 0px;
        border-top: 3px solid transparent;
        flex: 1 1 0px;
        font-size: 13px;
        min-height: 52px;
        min-width: 0px;
        padding: 4px 2px;
    }
    .unbump {
        border-top-color: var(--accent);
    }
    .banner-item[data-short] {
        font-size: 0px;
    }
    .banner-item[data-short]::before {
        content: attr(data-short);
        font-size: 13px;
        line-height: 1.1;
    }
    .banner-item[data-pageid="page-about"] {
        flex: 1 1 0px;
        height: 52px;
        min-width: 0px;
        padding: 9px 0px;
        width: auto;
    }
    .page-area {
        padding-bottom: 58px;
    }
    .section-area {
        border-radius: 14px;
        margin: 12px 10px;
    }
    .section-header {
        grid-template-columns: minmax(0px, 1fr) 44px;
        padding: 16px 14px 10px 14px;
    }
    .section-heading {
        font-size: 21px;
    }
    .content-zone-header {
        padding: 16px 14px 8px 14px;
    }
    .content-zone-title {
        font-size: 17px;
    }
    .workbench-list {
        gap: 8px;
        padding: 4px 8px 14px 8px;
    }
    .section-info-button {
        flex-basis: 44px;
        font-size: 16px;
        height: 44px;
        max-width: 44px;
        min-width: 44px;
        width: 44px;
    }
    .section-info-popover {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        bottom: calc(52px + env(safe-area-inset-bottom));
        left: 0px;
        max-height: calc(62vh - 52px);
        max-height: calc(62dvh - 52px - env(safe-area-inset-bottom));
        max-width: none;
        padding: 10px 10px 16px 14px;
        right: 0px;
        top: auto;
        width: auto;
    }
    .section-info-close {
        height: 44px;
        width: 44px;
    }
    .taxonomy-preview-heading {
        grid-template-columns: 18px minmax(0px, 1fr);
    }
    .taxonomy-preview-heading .folder-technique-tag {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        text-align: left;
        white-space: normal;
    }
    .has-taxonomy-info > .taxonomy-preview-heading {
        min-height: 44px;
        padding-right: 54px;
    }
    .taxonomy-heading-info {
        right: 4px;
        top: 0px;
    }
    .catalog-note {
        padding: 0px 14px 8px 14px;
    }
    .catalog-controls {
        padding: 10px 14px;
    }
    .catalog-controls .side-item {
        flex: 1 1 130px;
    }
    .catalog-filters {
        padding-left: 14px;
        padding-right: 14px;
    }
    .catalog-filters-open {
        max-height: 440px;
        padding-bottom: 8px;
    }
    .catalog-filter-group {
        grid-template-columns: 1fr;
    }
    .catalog-filter-title {
        padding: 0px 0px 2px 0px;
    }
    .catalog-filter-options {
        grid-template-columns: 1fr;
    }
    .catalog-count {
        flex: 1 1 130px;
    }
    .catalog-folio {
        padding: 0px 8px 12px 8px;
    }
    .catalog-recall-list {
        grid-template-columns: minmax(0px, 1fr);
    }
    .catalog-recall-label {
        padding-right: 0px;
    }
    .catalog-mermaid-output {
        padding: 8px;
    }
    .catalog-code-snippet .CodeMirror {
        font-size: 11px;
    }
    .taxonomy-preview {
        padding: 0px 8px 12px 8px;
    }
    .taxonomy-preview-family-body,
    .taxonomy-preview-subfamily-body {
        padding-left: 4px;
        padding-right: 4px;
    }
    .cppll-technique-body,
    .dslabs-member-body,
    .mllabs-experiment-body {
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media only screen and (min-width: 701px) and (max-width: 960px)
{
    .catalog-filter-options {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
}
