/* ===========================================================================
   BizPro Presentation — the slideshow at /about/presentation

   EVERY selector is scoped to "body.bp-deck", and the file is excluded from the
   common-styles bundle in bundles.json — for the reason bizpro-about.css gives in
   its header: that bundle globs every .css under wwwroot/Common/Styles, so an
   unscoped rule here would land on the sign-in page. Keep both defences.

   The deck is a fixed 1280 x 720 frame that bizpro-deck.js scales to fit the
   viewport, so every size inside a slide is in px against that frame — the way
   a slide is laid out in PowerPoint — and the chrome around it is in ordinary
   viewport units. Tokens mirror bizpro-about.css so the two pages read as one
   product, and the dark palette is written twice for the same reason that file
   explains: once for the operating system, once for the switch.

   Sections: tokens · base · chrome (bar, tools, stage, footer) · frame & slide
   shell · slide kinds (cover, art, tiles, chain, close) · art classes · topics ·
   fullscreen · motion · print
   ======================================================================== */

body.bp-deck {
    --accent: #ff1a1a;
    --accent-2: #e00000;
    --accent-tint: rgba(255, 26, 26, .10);
    --accent-ring: rgba(255, 26, 26, .22);
    --accent-ink: #c40f0f;
    --go: #12a150;
    --go-tint: rgba(18, 161, 80, .12);
    --go-ink: #0b7a3c;

    --curtain: #17161a;
    --curtain-2: #232227;
    --curtain-ink: #f4f2f0;
    --curtain-ink-2: #b7b2ac;
    --curtain-ink-3: #8a857f;
    --curtain-line: rgba(255, 255, 255, .14);
    --curtain-accent: #ff4d4d;
    --curtain-glow: rgba(255, 77, 77, .18);

    --paper: #ecebe8;
    --surface: #fbfaf9;
    --surface-2: #f1efec;
    --line: #e2dfda;
    --line-2: #d6d2cc;
    --line-3: #b9b4ad;

    --ink: #17161a;
    --ink-2: #4c4842;
    --ink-3: #6b6762;
    --ink-4: #8d8881;

    --display: Archivo, 'IBM Plex Sans', system-ui, sans-serif;
    --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

    --shadow: 0 1px 2px rgba(23, 22, 26, .06), 0 30px 70px -30px rgba(23, 22, 26, .45);
    --bar-h: 56px;
    --foot-h: 52px;
}

/* Archivo has no Cyrillic, so a Mongolian title set in it would mix two faces
   word by word. IBM Plex Sans Bold carries the whole title instead. */
html[lang="mn"] body.bp-deck {
    --display: 'IBM Plex Sans', system-ui, sans-serif;
}

html[lang="zh-Hans"] body.bp-deck {
    --display: Archivo, 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
    --sans: 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) body.bp-deck {
        --accent: #ff4d4d;
        --accent-2: #ff6a6a;
        --accent-tint: rgba(255, 77, 77, .14);
        --accent-ring: rgba(255, 77, 77, .28);
        --accent-ink: #ff6b6b;
        --go: #3ddc84;
        --go-tint: rgba(61, 220, 132, .14);
        --go-ink: #4fe294;

        --curtain: #08080a;
        --curtain-2: #141317;
        --curtain-ink: #f4f2f0;
        --curtain-ink-2: #a5a0a0;
        --curtain-ink-3: #6f6b6b;
        --curtain-line: rgba(255, 255, 255, .12);
        --curtain-accent: #ff6b6b;
        --curtain-glow: rgba(255, 77, 77, .16);

        --paper: #0b0b0d;
        --surface: #141317;
        --surface-2: #1a191e;
        --line: #26252b;
        --line-2: #333139;
        --line-3: #4b4854;

        --ink: #f2f0ee;
        --ink-2: #bdb8b2;
        --ink-3: #948f89;
        --ink-4: #74706b;

        --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 30px 70px -30px rgba(0, 0, 0, .9);
    }

    html:not([data-theme="light"]) body.bp-deck .brand-logo--light { display: none; }
    html:not([data-theme="light"]) body.bp-deck .brand-logo--dark { display: block; }
}

html[data-theme="dark"] body.bp-deck {
    --accent: #ff4d4d;
    --accent-2: #ff6a6a;
    --accent-tint: rgba(255, 77, 77, .14);
    --accent-ring: rgba(255, 77, 77, .28);
    --accent-ink: #ff6b6b;
    --go: #3ddc84;
    --go-tint: rgba(61, 220, 132, .14);
    --go-ink: #4fe294;

    --curtain: #08080a;
    --curtain-2: #141317;
    --curtain-ink: #f4f2f0;
    --curtain-ink-2: #a5a0a0;
    --curtain-ink-3: #6f6b6b;
    --curtain-line: rgba(255, 255, 255, .12);
    --curtain-accent: #ff6b6b;
    --curtain-glow: rgba(255, 77, 77, .16);

    --paper: #0b0b0d;
    --surface: #141317;
    --surface-2: #1a191e;
    --line: #26252b;
    --line-2: #333139;
    --line-3: #4b4854;

    --ink: #f2f0ee;
    --ink-2: #bdb8b2;
    --ink-3: #948f89;
    --ink-4: #74706b;

    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 30px 70px -30px rgba(0, 0, 0, .9);
}

html[data-theme="dark"] body.bp-deck .brand-logo--light { display: none; }
html[data-theme="dark"] body.bp-deck .brand-logo--dark { display: block; }

/* ---- base */

html:has(body.bp-deck) {
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body.bp-deck {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.bp-deck * {
    box-sizing: border-box;
}

body.bp-deck .sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

body.bp-deck .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body.bp-deck button {
    font: inherit;
    color: inherit;
}

body.bp-deck a {
    color: inherit;
    text-decoration: none;
}

body.bp-deck :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

body.bp-deck .brand-logo {
    height: 20px;
    width: auto;
    display: block;
}

body.bp-deck .brand-logo--dark {
    display: none;
}

/* ---- chrome: the shell around the frame */

body.bp-deck .deck {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.bp-deck .deck-bar {
    flex: none;
    height: var(--bar-h);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

body.bp-deck .deck-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    body.bp-deck .deck-brand small {
        font-size: 12.5px;
        font-weight: 500;
        color: var(--ink-3);
        white-space: nowrap;
    }

body.bp-deck .deck-where {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 auto;
    min-width: 0;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    body.bp-deck .deck-where-n {
        font-family: var(--mono);
        font-weight: 500;
        color: var(--accent-ink);
    }

body.bp-deck .deck-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.bp-deck .deck-tool {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 10px;
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

    body.bp-deck .deck-tool svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.bp-deck .deck-tool:hover {
        color: var(--ink);
        border-color: var(--line-3);
    }

    body.bp-deck .deck-tool[aria-expanded="true"] {
        color: var(--paper);
        background: var(--ink);
        border-color: var(--ink);
    }

    body.bp-deck .deck-tool--full,
    body.bp-deck .deck-tool--close {
        width: 32px;
        padding: 0;
        justify-content: center;
    }

body.bp-deck .deck-langs,
body.bp-deck .deck-themes {
    display: flex;
    height: 32px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    background: var(--surface);
    overflow: hidden;
}

    body.bp-deck .deck-langs a,
    body.bp-deck .deck-themes a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        font-family: var(--display);
        font-size: 12px;
        font-weight: 600;
        color: var(--ink-3);
    }

    body.bp-deck .deck-themes a {
        width: 32px;
        padding: 0;
    }

        body.bp-deck .deck-themes svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        body.bp-deck .deck-langs a:hover,
        body.bp-deck .deck-themes a:hover {
            color: var(--ink);
        }

        body.bp-deck .deck-langs a[aria-current="true"],
        body.bp-deck .deck-themes a[aria-current="true"] {
            color: var(--paper);
            background: var(--ink);
        }

body.bp-deck .deck-stage {
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

body.bp-deck .deck-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 50%;
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, color .15s, border-color .15s;
}

    body.bp-deck .deck-arrow svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.bp-deck .deck-arrow--prev { left: 16px; }
    body.bp-deck .deck-arrow--next { right: 16px; }

    body.bp-deck .deck-stage:hover .deck-arrow,
    body.bp-deck .deck-arrow:focus-visible {
        opacity: 1;
    }

    body.bp-deck .deck-arrow:hover {
        color: var(--accent-ink);
        border-color: var(--accent);
    }

    body.bp-deck .deck-arrow[disabled] {
        opacity: 0 !important;
        pointer-events: none;
    }

@media (hover: none) {
    body.bp-deck .deck-arrow {
        opacity: .9;
    }
}

body.bp-deck .deck-foot {
    flex: none;
    position: relative;
    height: var(--foot-h);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

body.bp-deck .deck-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 2px;
    background: var(--line);
}

    body.bp-deck .deck-progress i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--accent);
        transition: width .35s ease;
    }

body.bp-deck .deck-foot-in {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
}

body.bp-deck .deck-step {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    cursor: pointer;
}

    body.bp-deck .deck-step svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.bp-deck .deck-step:hover {
        color: var(--ink);
        border-color: var(--line-3);
    }

    body.bp-deck .deck-step[disabled] {
        opacity: .35;
        cursor: default;
    }

body.bp-deck .deck-count {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-3);
    min-width: 74px;
    text-align: center;
}

    body.bp-deck .deck-count b {
        color: var(--ink);
        font-weight: 600;
    }

body.bp-deck .deck-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

    body.bp-deck .deck-dots button {
        display: block;
        width: 10px;
        height: 10px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: var(--line-3);
        cursor: pointer;
        transition: width .25s, background .15s;
    }

        body.bp-deck .deck-dots button:hover {
            background: var(--ink-3);
        }

        body.bp-deck .deck-dots button[aria-current="true"] {
            width: 26px;
            background: var(--accent);
        }

body.bp-deck .deck-hint {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--ink-4);
    white-space: nowrap;
}

/* ---- the frame and the slide shell */

body.bp-deck .deck-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1280px;
    height: 720px;
    transform: translate(-50%, -50%) scale(var(--s, 1));
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.bp-deck .slide {
    position: absolute;
    inset: 0;
    padding: 60px 80px 56px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px);
    transition: opacity .38s ease, transform .38s ease, visibility 0s linear .38s;
}

    body.bp-deck .deck[data-dir="back"] .slide {
        transform: translateX(-28px);
    }

    body.bp-deck .slide.is-active {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .38s ease, transform .38s ease, visibility 0s;
    }

body.bp-deck .slide-in {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

body.bp-deck .slide-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
}

body.bp-deck .slide-n {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-ink);
}

    body.bp-deck .slide-n::after {
        content: "";
        display: inline-block;
        width: 28px;
        height: 2px;
        margin-left: 14px;
        vertical-align: middle;
        background: var(--accent);
    }

body.bp-deck .slide-kicker {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

body.bp-deck .slide-title {
    margin: 0;
    max-width: 880px;
    font-family: var(--display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.022em;
    color: var(--ink);
    text-wrap: balance;
}

body.bp-deck .slide-lead {
    margin: 16px 0 0;
    max-width: 760px;
    font-size: 21px;
    line-height: 1.45;
    color: var(--ink-2);
    text-wrap: pretty;
}

body.bp-deck .slide-body {
    flex: 1;
    min-height: 0;
    margin-top: 34px;
}

body.bp-deck .slide-foot {
    margin: 18px 0 0;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--ink-4);
}

/* points — the short titled bullets */

body.bp-deck .slide-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px 36px;
    align-content: start;
}

    body.bp-deck .slide-points li {
        position: relative;
        padding-left: 24px;
    }

        body.bp-deck .slide-points li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 9px;
            width: 10px;
            height: 10px;
            background: var(--accent);
        }

    body.bp-deck .slide-points b {
        display: block;
        font-family: var(--display);
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
        color: var(--ink);
    }

    body.bp-deck .slide-points span {
        display: block;
        margin-top: 3px;
        font-size: 16px;
        line-height: 1.45;
        color: var(--ink-3);
    }

    body.bp-deck .slide-points--row {
        grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    }

/* kind: art — points on the left, a drawing on the right */

/* The body has a definite height (the rest of the slide), and the single grid row
   is pinned to it, so the drawing fits whatever room the title and lead leave —
   a two-line title shrinks the picture rather than pushing it off the slide. */
body.bp-deck .slide-body--art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    grid-template-rows: minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

body.bp-deck .slide-art {
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    body.bp-deck .slide-art svg {
        display: block;
        width: 100%;
        height: 100%;
        max-height: 380px;
    }

/* kind: tiles */

body.bp-deck .slide-tiles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    gap: 16px;
}

body.bp-deck .tile {
    padding: 20px 20px 18px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}

    body.bp-deck .tile-ic,
    body.bp-deck .tile-mono {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-bottom: 14px;
        border-radius: 10px;
        background: var(--accent-tint);
        color: var(--accent-ink);
    }

    body.bp-deck .tile-ic svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.bp-deck .tile-mono {
        font-family: var(--display);
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
    }

    body.bp-deck .tile b {
        display: block;
        font-family: var(--display);
        font-size: 18px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--ink);
    }

    body.bp-deck .tile span {
        display: block;
        margin-top: 5px;
        font-size: 14px;
        line-height: 1.4;
        color: var(--ink-3);
    }

/* kind: chain — steps left to right, then points in a row */

body.bp-deck .slide-chain {
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    gap: 0;
}

    body.bp-deck .slide-chain li {
        position: relative;
        padding: 0 26px 0 0;
    }

        body.bp-deck .slide-chain li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 6px;
            top: 50%;
            width: 10px;
            height: 10px;
            margin-top: -5px;
            border-top: 2px solid var(--line-3);
            border-right: 2px solid var(--line-3);
            transform: rotate(45deg);
        }

    body.bp-deck .chain-n {
        display: block;
        font-family: var(--mono);
        font-size: 12px;
        color: var(--accent-ink);
        margin-bottom: 8px;
    }

    body.bp-deck .chain-t {
        display: flex;
        align-items: center;
        min-height: 72px;
        padding: 14px 18px;
        font-family: var(--display);
        font-size: 18px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--ink);
        background: var(--surface-2);
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    body.bp-deck .slide-chain li:first-child .chain-t {
        background: var(--accent-tint);
        border-color: var(--accent-ring);
    }

    body.bp-deck .slide-chain li:last-child .chain-t {
        background: var(--go-tint);
        border-color: var(--go-ring, var(--line));
    }

/* kind: cover — the front cover, on the curtain */

body.bp-deck .slide--cover,
body.bp-deck .slide--close,
body.bp-deck .slide--thanks {
    background: var(--curtain);
    color: var(--curtain-ink);
    --ink: var(--curtain-ink);
    --ink-2: var(--curtain-ink-2);
    --ink-3: var(--curtain-ink-3);
    --ink-4: var(--curtain-ink-3);
    --line: var(--curtain-line);
    --line-2: var(--curtain-line);
    --line-3: var(--curtain-line);
    --surface: var(--curtain-2);
    --surface-2: var(--curtain-2);
    --accent: var(--curtain-accent);
    --accent-ink: var(--curtain-accent);
}

    body.bp-deck .slide--cover::before,
    body.bp-deck .slide--close::before,
    body.bp-deck .slide--thanks::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(70% 90% at 85% 10%, var(--curtain-glow), transparent 60%);
        pointer-events: none;
    }

    body.bp-deck .slide--cover .brand-logo--light { display: none; }
    body.bp-deck .slide--cover .brand-logo--dark { display: block; }

body.bp-deck .slide--cover .slide-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    align-items: center;
}

body.bp-deck .cover-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px;
}

    body.bp-deck .cover-brand .brand-logo {
        height: 26px;
    }

    body.bp-deck .cover-brand span {
        font-family: var(--display);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--curtain-ink-2);
    }

body.bp-deck .cover-title {
    margin: 0;
    font-family: var(--display);
    font-size: 66px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.03em;
    color: var(--curtain-ink);
    text-wrap: balance;
}

body.bp-deck .cover-lead {
    margin: 22px 0 0;
    font-size: 24px;
    line-height: 1.4;
    color: var(--curtain-ink-2);
}

body.bp-deck .cover-foot {
    margin: 48px 0 0;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--curtain-ink-3);
}

body.bp-deck .cover-art svg {
    display: block;
    width: 100%;
    height: auto;
}

/* kind: close — the back cover */

body.bp-deck .slide--close .slide-in {
    position: relative;
}

body.bp-deck .slide--close .slide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

body.bp-deck .close-line {
    position: relative;
    margin: 0;
    padding-left: 22px;
    max-width: 900px;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--curtain-ink);
    border-left: 4px solid var(--curtain-accent);
}

body.bp-deck .close-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.bp-deck .close-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px 0 14px;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--curtain-ink);
    background: var(--curtain-2);
    border: 1px solid var(--curtain-line);
    border-radius: 22px;
}

    body.bp-deck .close-chip svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--curtain-accent);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.bp-deck .close-chip:hover {
        border-color: var(--curtain-accent);
    }

body.bp-deck .close-next {
    margin: 0;
    font-size: 17px;
    color: var(--curtain-ink-2);
}

    body.bp-deck .close-next b {
        margin-right: 8px;
        font-family: var(--display);
        font-weight: 600;
        color: var(--curtain-ink);
    }

/* kind: thanks — the last slide: a thank-you, the question, and how to reach us,
   centred, with the number and kicker kept so it still reads as part of the deck */

body.bp-deck .slide--thanks .slide-in {
    position: relative;
    align-items: center;
    text-align: center;
    justify-content: center;
}

body.bp-deck .slide--thanks .slide-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -.03em;
}

body.bp-deck .slide--thanks .slide-lead {
    font-size: 30px;
    margin-top: 18px;
}

body.bp-deck .slide--thanks .slide-body {
    flex: none;
    margin-top: 44px;
}

body.bp-deck .slide--thanks .close-contact {
    justify-content: center;
}

/* ---- art classes — the drawings in _PresentationArt.cshtml read only these */

body.bp-deck .slide-art svg,
body.bp-deck .cover-art svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.bp-deck .a-ln { fill: none; stroke: var(--line-3); stroke-width: 2; }
body.bp-deck .a-ink { fill: none; stroke: var(--ink-2); stroke-width: 2; }
body.bp-deck .a-mute { fill: none; stroke: var(--line-2); stroke-width: 2; }
body.bp-deck .a-dash { fill: none; stroke: var(--line-3); stroke-width: 2; stroke-dasharray: 5 6; }
body.bp-deck .a-box { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.5; }
body.bp-deck .a-card { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; }
body.bp-deck .a-lane { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.5; }
body.bp-deck .a-acc { fill: var(--accent); stroke: none; }
body.bp-deck .a-accs { fill: none; stroke: var(--accent); stroke-width: 2; }
body.bp-deck .a-tint { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 2; }
body.bp-deck .a-tintdash { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 5; }
body.bp-deck .a-go { fill: var(--go); stroke: none; }
body.bp-deck .a-gos { fill: none; stroke: var(--go); stroke-width: 2; }
body.bp-deck .a-dot { fill: var(--line-2); }
body.bp-deck .a-tx { fill: var(--ink); font-family: var(--display); font-weight: 600; }
body.bp-deck .a-tx2 { fill: var(--ink-3); font-family: var(--display); font-weight: 500; }
body.bp-deck .a-mono { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }

/* ---- topics — the table of contents */

body.bp-deck .deck-topics {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: color-mix(in srgb, var(--paper) 78%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
}

    body.bp-deck .deck-topics[hidden] {
        display: none;
    }

body.bp-deck .deck-topics-in {
    width: min(1120px, 100%);
    max-height: 100%;
    overflow: auto;
    padding: 24px 28px 28px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

body.bp-deck .deck-topics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    body.bp-deck .deck-topics-head h2 {
        margin: 0;
        font-family: var(--display);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -.01em;
    }

body.bp-deck .deck-topics-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

    body.bp-deck .deck-topics-grid button {
        display: block;
        width: 100%;
        padding: 14px 16px;
        text-align: left;
        background: var(--surface-2);
        border: 1px solid var(--line);
        border-radius: 10px;
        cursor: pointer;
        transition: border-color .15s, background .15s;
    }

        body.bp-deck .deck-topics-grid button:hover {
            border-color: var(--line-3);
            background: var(--surface);
        }

        body.bp-deck .deck-topics-grid button[aria-current="true"] {
            border-color: var(--accent);
            box-shadow: inset 0 0 0 1px var(--accent);
        }

    body.bp-deck .tp-n {
        display: block;
        font-family: var(--mono);
        font-size: 12px;
        color: var(--accent-ink);
        margin-bottom: 6px;
    }

    body.bp-deck .tp-t {
        display: block;
        font-family: var(--display);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.3;
        color: var(--ink);
    }

    body.bp-deck .tp-s {
        display: block;
        margin-top: 3px;
        font-size: 12.5px;
        line-height: 1.4;
        color: var(--ink-3);
    }

/* ---- full screen: the chrome overlays the stage and fades unless the mouse moves */

body.bp-deck.is-full .deck-bar,
body.bp-deck.is-full .deck-foot {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 20;
    opacity: 0;
    transition: opacity .3s;
}

body.bp-deck.is-full .deck-bar { top: 0; }
body.bp-deck.is-full .deck-foot { bottom: 0; }

body.bp-deck.is-full.show-chrome .deck-bar,
body.bp-deck.is-full.show-chrome .deck-foot,
body.bp-deck.is-full .deck-bar:focus-within,
body.bp-deck.is-full .deck-foot:focus-within {
    opacity: 1;
}

body.bp-deck.is-full .deck-frame {
    border: 0;
    box-shadow: none;
}

body.bp-deck.is-full .deck-stage {
    background: var(--curtain);
}

/* ---- small screens: icons only in the bar, no hint, no dots */

@media (max-width: 860px) {
    body.bp-deck .deck-brand small,
    body.bp-deck .deck-tool--topics span,
    body.bp-deck .deck-hint,
    body.bp-deck .deck-where {
        display: none;
    }

    body.bp-deck .deck-tools {
        margin-left: auto;
        gap: 6px;
    }

    body.bp-deck .deck-tool--topics {
        width: 32px;
        padding: 0;
        justify-content: center;
    }

    body.bp-deck .deck-dots {
        display: none;
    }

    body.bp-deck .deck-foot-in {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    body.bp-deck .deck-langs a {
        padding: 0 7px;
        font-size: 11px;
    }

    body.bp-deck .deck-themes {
        display: none;
    }
}

/* ---- motion */

@media (prefers-reduced-motion: reduce) {
    body.bp-deck .slide,
    body.bp-deck .slide.is-active {
        transition: none;
        transform: none;
    }

    body.bp-deck .deck-progress i,
    body.bp-deck .deck-dots button {
        transition: none;
    }
}

/* ---- print: one slide per landscape page, unscaled */

@media print {
    @page {
        size: landscape;
        margin: 0;
    }

    body.bp-deck {
        height: auto;
        overflow: visible;
        background: #fff;
    }

    body.bp-deck .deck-bar,
    body.bp-deck .deck-foot,
    body.bp-deck .deck-arrow,
    body.bp-deck .deck-topics {
        display: none !important;
    }

    body.bp-deck .deck-stage {
        overflow: visible;
    }

    body.bp-deck .deck-frame {
        position: static;
        width: 1280px;
        height: auto;
        transform: none;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    body.bp-deck .slide {
        position: relative;
        width: 1280px;
        height: 720px;
        opacity: 1;
        visibility: visible;
        transform: none;
        break-after: page;
        page-break-after: always;
    }
}
