/* GENERATED by scripts/skins.mjs from the prtl-labs skin. Do not edit. */
[data-skin="prtl-labs"][data-skin],
:root:is(
    [data-page-skin="prtl-labs"],
    :where(:not(.js)):has([data-skin="prtl-labs"][data-skin-root])
) {
    --c-bg: #f7f7f9;
    --c-surface: #ffffff;
    --c-surface-raised: #f0eff4;
    --c-surface-sunken: #eeeef0;
    --c-text: #18181b;
    --c-text-muted: #52525b;
    --c-line: #e4e4e7;
    --c-line-strong: #18181b;
    --c-accent: #663399;
    --c-accent-hover: #4c2673;
    --c-accent-text: #663399;
    --c-accent-wash: #f4f1f9;
    --c-focus: #18181b;
    --c-focus-gap: #f7f7f9;
    --c-selection: #d1c4e0;
    --player-progress: #663399;
    --player-play-fg: #663399;
    --scrollbar-thumb: #52525b;
    --scrollbar-thumb-hover: #18181b;
    --scrollbar-track: #f7f7f9;
    --c-on-accent: #ffffff;
}
[data-skin="prtl-labs"][data-skin] {
    --player-accent: #b37de8;
    --radius-container: 16px;
    --radius-control: 8px;
    --skin-p-deep: #2a1745;
    --skin-p-on-deep: #ffffff;
    --skin-p-lamp: #f5b83d;
    --skin-p-running: #3b82f6;
    --skin-p-idle-window: #d4d4d8;
    --skin-p-hero-block: #663399;
    --skin-p-ledge: #1a0d2e;
    --skin-p-fig-shadow: #2a1745;
    --skin-p-fig-arrow: #663399;
    --skin-p-lamp-edge: #d99a1e;
    --skin-p-fig-roof: #2a1745;
    --skin-p-fig-wall: #663399;
    --skin-p-card: #ffffff;
    --skin-p-card-ink: #18181b;
    --skin-p-card-muted: #52525b;
    --skin-p-card-faint: #71717a;
    --skin-p-card-head: #3f3f46;
    --skin-p-badge-edge: #a78bcf;
    --skin-p-card-wash: #f4f1f9;
    --skin-p-card-accent: #663399;
    --skin-p-field-edge: #d4d4d8;
    --skin-p-code-value: #166534;
    --skin-p-code-key: #6b21a8;
    --skin-p-card-pass: #15803d;
    --skin-p-card-fail: #b91c1c;
    --skin-p-card-lamp: #8a5300;
    --skin-p-ink-deep: #2a1745;
    --skin-p-on-block: #ffffff;
    --skin-p-on-block-muted: #e3d6f0;
    --skin-p-hero-ledge: #c9b3e6;
}
@media screen and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) [data-skin="prtl-labs"]:not([data-theme="light"]),
    :root:not([data-theme="light"])[data-skin="prtl-labs"],
    :root:not([data-theme="light"]):is(
            [data-page-skin="prtl-labs"],
            :where(:not(.js)):has([data-skin="prtl-labs"][data-skin-root])
        ) {
        --c-bg: #09090b;
        --c-surface: #171717;
        --c-surface-raised: #262626;
        --c-surface-sunken: #060608;
        --c-text: #fafafa;
        --c-text-muted: #a3a3a3;
        --c-line: #27272a;
        --c-line-strong: #fafafa;
        --c-accent: #b37de8;
        --c-accent-hover: #dcc4f7;
        --c-accent-text: #c9a3f0;
        --c-accent-wash: #221933;
        --c-focus: #fafafa;
        --c-focus-gap: #09090b;
        --c-selection: #352744;
        --player-progress: #b37de8;
        --player-play-fg: #663399;
        --scrollbar-thumb: #a3a3a3;
        --scrollbar-thumb-hover: #fafafa;
        --scrollbar-track: #09090b;
        --c-on-accent: #09090b;
    }
    :root:not([data-theme="light"]) [data-skin="prtl-labs"]:not([data-theme="light"]),
    :root:not([data-theme="light"])[data-skin="prtl-labs"] {
        --skin-p-deep: #000000;
        --skin-p-on-deep: #fafafa;
        --skin-p-lamp: #facc15;
        --skin-p-running: #60a5fa;
        --skin-p-idle-window: #3f3f46;
        --skin-p-hero-block: #2a1745;
        --skin-p-ledge: #000000;
        --skin-p-fig-shadow: #663399;
        --skin-p-fig-arrow: #facc15;
        --skin-p-lamp-edge: #facc15;
        --skin-p-fig-roof: #4c2673;
        --skin-p-fig-wall: #663399;
        --skin-p-card: #ffffff;
        --skin-p-card-ink: #18181b;
        --skin-p-card-muted: #52525b;
        --skin-p-card-faint: #71717a;
        --skin-p-card-head: #3f3f46;
        --skin-p-badge-edge: #a78bcf;
        --skin-p-card-wash: #f4f1f9;
        --skin-p-card-accent: #663399;
        --skin-p-field-edge: #d4d4d8;
        --skin-p-code-value: #166534;
        --skin-p-code-key: #6b21a8;
        --skin-p-card-pass: #15803d;
        --skin-p-card-fail: #b91c1c;
        --skin-p-card-lamp: #8a5300;
        --skin-p-ink-deep: #2a1745;
        --skin-p-on-block: #ffffff;
        --skin-p-on-block-muted: #d5cbe0;
        --skin-p-hero-ledge: #c9b3e6;
    }
}
@media screen {
    [data-theme="dark"] [data-skin="prtl-labs"]:not([data-theme="light"]),
    [data-skin="prtl-labs"][data-theme="dark"],
    :root[data-theme="dark"]:is(
            [data-page-skin="prtl-labs"],
            :where(:not(.js)):has([data-skin="prtl-labs"][data-skin-root])
        ) {
        --c-bg: #09090b;
        --c-surface: #171717;
        --c-surface-raised: #262626;
        --c-surface-sunken: #060608;
        --c-text: #fafafa;
        --c-text-muted: #a3a3a3;
        --c-line: #27272a;
        --c-line-strong: #fafafa;
        --c-accent: #b37de8;
        --c-accent-hover: #dcc4f7;
        --c-accent-text: #c9a3f0;
        --c-accent-wash: #221933;
        --c-focus: #fafafa;
        --c-focus-gap: #09090b;
        --c-selection: #352744;
        --player-progress: #b37de8;
        --player-play-fg: #663399;
        --scrollbar-thumb: #a3a3a3;
        --scrollbar-thumb-hover: #fafafa;
        --scrollbar-track: #09090b;
        --c-on-accent: #09090b;
    }
    [data-theme="dark"] [data-skin="prtl-labs"]:not([data-theme="light"]),
    [data-skin="prtl-labs"][data-theme="dark"] {
        --skin-p-deep: #000000;
        --skin-p-on-deep: #fafafa;
        --skin-p-lamp: #facc15;
        --skin-p-running: #60a5fa;
        --skin-p-idle-window: #3f3f46;
        --skin-p-hero-block: #2a1745;
        --skin-p-ledge: #000000;
        --skin-p-fig-shadow: #663399;
        --skin-p-fig-arrow: #facc15;
        --skin-p-lamp-edge: #facc15;
        --skin-p-fig-roof: #4c2673;
        --skin-p-fig-wall: #663399;
        --skin-p-card: #ffffff;
        --skin-p-card-ink: #18181b;
        --skin-p-card-muted: #52525b;
        --skin-p-card-faint: #71717a;
        --skin-p-card-head: #3f3f46;
        --skin-p-badge-edge: #a78bcf;
        --skin-p-card-wash: #f4f1f9;
        --skin-p-card-accent: #663399;
        --skin-p-field-edge: #d4d4d8;
        --skin-p-code-value: #166534;
        --skin-p-code-key: #6b21a8;
        --skin-p-card-pass: #15803d;
        --skin-p-card-fail: #b91c1c;
        --skin-p-card-lamp: #8a5300;
        --skin-p-ink-deep: #2a1745;
        --skin-p-on-block: #ffffff;
        --skin-p-on-block-muted: #d5cbe0;
        --skin-p-hero-ledge: #c9b3e6;
    }
}
/* components/skins/prtl-labs/figures/figures.css */
/* PRTL Labs' hero in the film's look: a flat block of colour edge to edge, pills on a ledge, and the
   drawing on the block itself. Scoped to [data-skin="prtl-labs"]. The drawings' own colours, strokes
   and type are inline in their components (figures/parts.tsx), from the palette keys in
   content/work/prtl-labs.skin.json with the site's tokens as the fallback, so the plain page (skin
   off) keeps them whole; this file only adds what belongs to the skin. */

/* ---------- The hero: one flat block of colour, edge to edge ---------- */
[data-skin="prtl-labs"] [data-ui="case-hero"] {
    --pf-on: var(--skin-p-on-block);
    --pf-on-muted: var(--skin-p-on-block-muted);
    position: relative;
    color: var(--pf-on);
    /* The block is the hero's own background, so its text is read (and measured) on purple; the
       border-image only carries the same colour out to the window's edges without widening the page
       (it paints outside the box and never scrolls). */
    background-color: var(--skin-p-hero-block);
    border-image: linear-gradient(var(--skin-p-hero-block), var(--skin-p-hero-block)) fill 0 / /0
        100vw;
}
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="facts"],
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="facts"] > span + span::before {
    color: var(--pf-on-muted);
}
/* The h1 is the study's name, set as the readout's first word; the headline under it is the title. */
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="name"] {
    color: var(--skin-p-lamp);
    /* The name as it is written: "PRTL Labs", not set in capitals like the readout under it. */
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--t-display-s-family);
    font-weight: var(--t-display-s-weight);
}
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="text"] > [data-part="title"] {
    color: var(--pf-on);
}
/* A scene page's intro is set as prose, which brings the page's own ink: on the block it is the
   block's white too. */
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="intro"],
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-part="intro"] [data-ui="prose"] {
    color: var(--pf-on);
}
/* Pills on a ledge (the site's link button, ProductLink): the main one gold, the other white, each with
   a dark outline on a light lavender ledge (hero-ledge, 3:1 or more on the block in both themes); the badge is the block's
   deep ink and floods the pill on hover. */
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="product-link"] {
    --pl-paper: var(--skin-p-card);
    --pl-ink: var(--skin-p-card-ink);
    --pl-meta: var(--skin-p-card-muted);
    --pl-edge: var(--skin-p-ledge);
    --pl-ledge: var(--skin-p-hero-ledge);
    --pl-flood: var(--skin-p-ink-deep);
    --pl-on-flood: var(--skin-p-card);
}
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="product-link"][data-variant="primary"] {
    --pl-paper: var(--skin-p-lamp);
    --pl-ink: var(--skin-p-ink-deep);
    --pl-on-flood: var(--skin-p-lamp);
}
[data-skin="prtl-labs"]
    [data-ui="case-hero"]
    [data-ui="product-link"]
    [data-part="button"]:focus-visible {
    outline: 3px solid var(--skin-p-lamp);
    outline-offset: 3px;
}
/* The hero's drawing sits on the block itself, not on a second card. */
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="drawn-figure"][data-frame="stage"] {
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--pf-on);
}
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="drawn-figure"] [data-part="label"],
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="drawn-figure"] [data-part="caption"] {
    color: var(--pf-on-muted);
}
[data-skin="prtl-labs"] [data-ui="case-hero"] [data-ui="drawn-figure"] [data-part="caption"] {
    border-top: 0;
}

/* ---------- The hero's drawing on a phone ---------- */
/* Its base look is inline (figures/SentenceToPlan.tsx); a phone narrows it through these values. */
@media (max-width: 40rem) {
    [data-skin="prtl-labs"] [data-pf-fig="sentence-to-plan"] {
        --pf-inset: 10px;
        --pf-pad: 12px 16px;
        --pf-lift: 8px;
        --pf-field: 14px;
        --pf-field-pad: 8px 10px;
        /* 12 px, the site's label floor: the plan is read, so never smaller. */
        --pf-code: 12px;
        --pf-wide: none;
        --pf-depth2: 0;
        --pf-mark-x: -34px;
    }
}
[data-skin="prtl-labs"] [data-ui="drawn-figure"] [data-draw="lift"] {
    animation-name: skin-prtl-labs-lift;
}
@keyframes skin-prtl-labs-lift {
    from {
        translate: 12px 12px;
        box-shadow: 0 0 0 var(--skin-p-ledge);
    }
}
/* components/skins/prtl-labs/prtl-labs.css */
/* PRTL Labs' street. Scoped to [data-skin="prtl-labs"]. */
[data-skin="prtl-labs"] [data-skin-part="street"] {
    display: block;
    inline-size: 100%;
    block-size: 64px;
    color: var(--c-text);
}
[data-skin="prtl-labs"] [data-skin-part="road"] {
    stroke: currentColor;
    stroke-width: 2;
}
[data-skin="prtl-labs"] [data-skin-part="house"] {
    fill: var(--c-surface);
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}
[data-skin="prtl-labs"] [data-skin-part="window"] {
    fill: var(--skin-p-idle-window);
}
[data-skin="prtl-labs"] [data-state="waiting"] [data-skin-part="window"] {
    fill: var(--skin-p-lamp);
}
[data-skin="prtl-labs"] [data-state="running"] [data-skin-part="window"] {
    fill: var(--skin-p-running);
}
/* Motion only when the visitor has not asked for less of it. */
@media (prefers-reduced-motion: no-preference) {
    [data-skin="prtl-labs"] [data-state="running"] [data-skin-part="window"] {
        animation: skin-prtl-labs-pulse 2.4s var(--ease-standard) infinite alternate;
    }
}
[data-skin="prtl-labs"]:has([data-ui="video-player"][data-state="playing"])
    [data-skin-part="window"] {
    animation: none;
}
@keyframes skin-prtl-labs-pulse {
    to {
        opacity: 0.55;
    }
}

/* Egg: Wake-up call. Dusk on the street, one house's window lit, a note beside it. */
[data-skin="prtl-labs"] [data-skin-part="street"][data-egg="wake"] [data-skin-part="window"] {
    fill: var(--skin-p-idle-window);
    animation: none;
}
[data-skin="prtl-labs"]
    [data-skin-part="street"][data-egg="wake"]
    g:nth-of-type(7)
    [data-skin-part="window"] {
    fill: var(--skin-p-lamp);
    transform-box: fill-box;
    transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
    [data-skin="prtl-labs"]
        [data-skin-part="street"][data-egg="wake"]
        g:nth-of-type(7)
        [data-skin-part="window"] {
        animation: skin-prtl-labs-ring 200ms var(--ease-standard) 3 alternate;
    }
}
@keyframes skin-prtl-labs-ring {
    from {
        transform: rotate(-4deg);
    }
    to {
        transform: rotate(4deg);
    }
}
