/*
 * CRT cyan shell.
 *
 * Same phosphor idea as the Fake-Checker, cyan (#00e8ff) like the Hub Parser-API token. Every colour
 * is a token so the two apps stay recognisably related without sharing a
 * stylesheet. The generated PDFs and DOCX are deliberately NOT styled like this —
 * a job application is set in a sober, DIN-like layout.
 */

@font-face {
    font-family: 'VT323';
    src: url("../fonts/VT323-auhAibo.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Local monospace resized to VT323 (0.4em advance, 0.8/0.2 ascent/descent;
   the fallbacks are 0.6em), so the swap does not reflow logo and headings. */
@font-face {
    font-family: 'VT323 Fallback';
    src: local('Courier New'), local('CourierNewPSMT'), local('Liberation Mono'),
        local('Cousine'), local('Menlo'), local('DejaVu Sans Mono'), local('Roboto Mono');
    size-adjust: 66.67%;
    ascent-override: 120%;
    descent-override: 30%;
    line-gap-override: 0%;
}

:root {
    --phosphor: #00e8ff;
    --phosphor-dim: #00b8cc;
    --phosphor-faint: #009eb0;
    --ink: #c4f4f8;
    --ink-muted: #8ecdd4;
    --bg-inner: #001a1e;
    --bg-mid: #000d0f;
    --bg-outer: #000;
    --danger: #ff6b3d;
    --ok: #7dd35f;
    --surface: rgba(0, 232, 255, 0.05);
    --border: rgba(0, 232, 255, 0.28);
    --border-strong: rgba(0, 232, 255, 0.55);
    --font-crt: 'VT323', 'VT323 Fallback', 'Courier New', monospace;
    --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --max-width: 60rem;
    --font-size-min: 17px;
}

@media (min-width: 48rem) {
    :root {
        --font-size-min: 18px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: max(var(--font-size-min), 100%);
    scrollbar-color: var(--phosphor-dim) var(--bg-outer);
    scrollbar-width: thin;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-outer);
    color-scheme: dark;
    overflow-anchor: none;
    overscroll-behavior: none;
}

* {
    scrollbar-color: var(--phosphor-dim) var(--bg-outer);
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 0.65rem;
    height: 0.65rem;
}

*::-webkit-scrollbar-track {
    background: var(--bg-outer);
}

*::-webkit-scrollbar-thumb {
    background: var(--phosphor-dim);
    border: 2px solid var(--bg-outer);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--phosphor);
}

body {
    margin: 0;
    /* Pin to the visual viewport. iOS Chrome's ~113px toolbar inset lives on
       the document UIScrollView; if that view scrolls, the logo can freeze
       under the omnibox. Body does not scroll — .crt-screen does. */
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-outer);
    color: var(--phosphor);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-anchor: none;
    overscroll-behavior: none;
}

/* CRT column fills the body flex (sticky footer). Hamburger stays a
   position:fixed sibling of this box — not sticky, not in-flow. */
.crt-screen {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-anchor: none;
    overscroll-behavior: none;
    background:
        radial-gradient(ellipse at 50% 0%, var(--bg-inner) 0%, var(--bg-mid) 45%, var(--bg-outer) 100%);
}

@media print {
    html,
    body {
        position: static;
        inset: auto;
        height: auto;
        overflow: visible;
    }

    .crt-screen {
        overflow: visible;
        min-height: 0;
        height: auto;
    }
}

small, sup, sub, code, kbd, samp {
    font-size: 1em;
}

/* Scanlines and flicker are decoration. Anyone who asked the OS to calm motion
   down gets a static screen instead of a broken-looking one. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.16) 3px,
        rgba(0, 0, 0, 0.16) 4px
    );
    animation: flicker 6s infinite steps(60);
}

@keyframes flicker {
    0%, 96%, 100% { opacity: 1; }
    97% { opacity: 0.92; }
    98% { opacity: 1; }
    99% { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; opacity: 0; }
    .brand-logo::after { animation: none !important; opacity: 0.85; }
    .brand-logo__text::before,
    .brand-logo__text::after {
        animation: none !important;
        opacity: 0 !important;
        content: none;
    }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .dropzone { animation: none !important; }
}

@media (prefers-contrast: more) {
    :root {
        --phosphor-dim: #00e8ff;
        --phosphor-faint: #8ecdd4;
        --ink: #fff;
        --ink-muted: #e0faff;
        --border: rgba(0, 232, 255, 0.65);
        --border-strong: #00e8ff;
    }
    body::after {
        display: none;
    }
    .brand-logo__text::before,
    .brand-logo__text::after {
        content: none !important;
    }
    h1, h2, h3, .crt,
    .nav-item,
    .account-tabs__tab,
    .brand-logo__word--bewerber,
    .brand-logo__word--tool,
    .brand-tag,
    .crt-details summary,
    .legal-section-heading,
    .sku-card h3,
    .pricing-copy__title,
    .pricing-copy__amount,
    .hero-preview__kicker,
    .hero-preview__tab,
    .landing-grid--pitch strong,
    .sell-points h3 {
        text-shadow: none !important;
    }
}

@media (forced-colors: active) {
    body::after,
    .brand-logo__text::before,
    .brand-logo__text::after {
        display: none !important;
        content: none !important;
    }
    .photo-review__remove input[type="checkbox"],
    .station-editor__remove input[type="checkbox"],
    .donation__consent input[type="checkbox"],
    .legal-choice__option input[type="checkbox"],
    .legal-choice__option input[type="radio"],
    .donation__consent input[type="radio"],
    .cv-choice__card input[type="radio"] {
        -webkit-appearance: auto;
        appearance: auto;
    }
}

.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10000;
    background: var(--phosphor);
    color: #000;
    padding: 0.5rem 1rem;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.skip-link:focus {
    clip-path: none;
    width: auto;
    height: auto;
    overflow: visible;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.price {
    white-space: nowrap;
}

.price__was {
    color: var(--phosphor-dim);
    font-weight: 400;
    margin-right: 0.35em;
    text-decoration: line-through;
}

.price__now {
    font-weight: 700;
}

.shell {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
    flex: 1 0 auto;
}

/* --- Typography ----------------------------------------------------- */

h1, h2, h3, .crt {
    font-family: var(--font-crt);
    letter-spacing: 0.03em;
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.45);
    font-weight: 400;
}

h1 code,
h2 code,
h3 code {
    font-family: inherit;
    font-size: inherit;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 0.75rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 2.5rem 0 0.75rem;
}

h3 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.5rem;
}

p, li {
    color: var(--ink);
}

a {
    color: var(--phosphor);
    text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.lede {
    font-size: 1.15rem;
    color: var(--ink);
}

@media (max-width: 40rem) {
    [data-cv-privacy],
    [data-desktop-only] {
        display: none;
    }
}

.muted {
    color: var(--phosphor-dim);
    font-size: 1rem;
}

label .muted,
.dropzone-label .muted {
    font-size: 1em;
}

/* --- Hamburger (same chrome as Fake-Lexikon, amber) ----------------- */

#hamburger-btn {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1.6rem;
    z-index: 350;
    background: rgba(0, 13, 15, 0.7);
    border: 1px solid var(--border-strong);
    box-shadow: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    opacity: 1;
    touch-action: manipulation;
    transition: opacity 0.2s, border-color 0.2s;
}

#hamburger-btn:hover,
#hamburger-btn:focus-visible,
#hamburger-btn.open {
    opacity: 1;
    border-color: rgba(0, 232, 255, 0.75);
}

#hamburger-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--phosphor);
    box-shadow: none;
    transition: transform 0.2s, opacity 0.2s;
}

#hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger-btn.open span:nth-child(2) { opacity: 0; }
#hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#mobile-nav-menu {
    display: none;
    position: fixed;
    top: calc(1rem + 44px + 6px);
    right: 1.6rem;
    z-index: 340;
    background: rgba(0, 13, 15, 0.97);
    border: 1px solid rgba(0, 232, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 232, 255, 0.28);
    margin: 0;
    padding: 2px 0;
    min-width: 168px;
    max-width: calc(100vw - 2rem);
    flex-direction: column;
    gap: 0;
    list-style: none;
}

#mobile-nav-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

#mobile-nav-menu.open { display: flex; }

/* Room under the 44px overlay button. Do not make the nav in-flow. */
@media (max-width: 56.25rem) {
    .brand-logo-wrapper {
        padding-top: calc(44px + 0.5rem);
    }
}

.nav-item {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 232, 255, 0.18);
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
    padding: 6px 12px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    text-shadow: 0 0 5px var(--phosphor);
    display: block;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

#mobile-nav-menu li:last-child .nav-item { border-bottom: none; }

.nav-form { margin: 0; }

.nav-item:hover,
.nav-item:focus-visible {
    background: rgba(0, 232, 255, 0.1);
    color: var(--phosphor);
}

.nav-item[aria-current="page"] { background: rgba(0, 232, 255, 0.16); }

.admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.6rem 1.2rem;
    margin: 0 0 1.4rem;
}

.admin-bar .account-tabs {
    flex: 1 1 16rem;
    margin: 0;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.3rem;
    margin: 0 0 1.4rem;
    border-bottom: 1px solid rgba(0, 232, 255, 0.35);
    font-family: var(--font-crt);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}

.account-tabs__tab {
    display: block;
    padding: 0.4rem 1rem 0.35rem;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: none;
    color: var(--phosphor-dim);
    text-decoration: none;
    touch-action: manipulation;
}

.account-tabs__tab:hover,
.account-tabs__tab:focus-visible {
    color: var(--phosphor);
    background: rgba(0, 232, 255, 0.08);
}

.account-tabs__tab[aria-current="page"] {
    color: var(--phosphor);
    text-shadow: 0 0 5px var(--phosphor);
    border-color: rgba(0, 232, 255, 0.35);
    background: rgba(0, 232, 255, 0.12);
}

@media (max-width: 600px) {
    .account-tabs {
        border-bottom: none;
        gap: 0.4rem;
        font-size: 1.3rem;
    }

    .account-tabs__tab {
        flex: 1 1 40%;
        margin-bottom: 0;
        border: 1px solid rgba(0, 232, 255, 0.25);
        text-align: center;
    }

    .admin-bar .account-tabs {
        flex-basis: 100%;
    }

    .admin-bar .account-tabs__tab {
        flex: 1 1 calc(50% - 0.4rem);
        max-width: calc(50% - 0.2rem);
    }
}

/* --- CRT wordmark (once per page, Fake-Lexikon layout, cyan) -------- */

.brand-logo-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 1.4rem;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding: 1.6rem 2.4rem;
    isolation: isolate;
    /* Both axes must be clip. overflow-x: clip alone computes overflow-y to visible/auto,
       which creates a vertical scrollport around the larger canvas on mobile WebKit/Chrome. */
    overflow: clip;
}

@media (max-width: 40rem) {
    .brand-mark {
        padding: 1.2rem 0.45rem;
    }
}

.brand-mark__dust {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.brand-logo {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 0 0.35rem;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.28em;
    font-family: var(--font-crt);
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    text-shadow: none;
}

.brand-logo__text {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    isolation: isolate;
    word-spacing: -0.18em;
}

.brand-logo__link {
    color: inherit;
    text-decoration: none;
    -webkit-text-stroke: 0;
    text-rendering: geometricPrecision;
}

.brand-logo__link:hover,
.brand-logo__link:focus-visible {
    filter: brightness(1.12);
    color: inherit;
}

.brand-logo__word--bewerber {
    color: var(--phosphor);
    text-shadow:
        0 0 2px var(--phosphor),
        0 0 8px var(--phosphor),
        0 0 18px rgba(0, 232, 255, 0.95),
        0 0 36px rgba(0, 232, 255, 0.5),
        0 0 56px rgba(0, 232, 255, 0.25),
        -1px 0 0 rgba(255, 80, 40, 0.35),
        1px 0 0 rgba(80, 160, 255, 0.3);
}

.brand-logo__word--tool {
    color: var(--phosphor-dim);
    text-shadow:
        0 0 2px rgba(0, 232, 255, 0.7),
        0 0 8px rgba(0, 232, 255, 0.6),
        0 0 18px rgba(0, 184, 204, 0.5),
        0 0 32px rgba(0, 184, 204, 0.28),
        -1px 0 0 rgba(255, 80, 40, 0.25),
        1px 0 0 rgba(80, 160, 255, 0.22);
}

.brand-logo__text::before,
.brand-logo__text::after {
    content: attr(data-glitch);
    content: attr(data-glitch) / '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
}

.brand-logo__text::before {
    color: rgba(255, 80, 40, 0.55);
    text-shadow: none;
    clip-path: inset(0 0 52% 0);
    animation: brand-glitch-a 2.8s steps(2, end) infinite;
}

.brand-logo__text::after {
    color: rgba(80, 160, 255, 0.5);
    text-shadow: none;
    clip-path: inset(48% 0 0 0);
    animation: brand-glitch-b 3.6s steps(2, end) infinite;
}

@keyframes brand-glitch-a {
    0%, 90%, 100% { transform: translate(0, 0); opacity: 0.25; }
    91% { transform: translate(-2px, 0); opacity: 0.65; }
    93% { transform: translate(2px, 1px); opacity: 0.45; }
    96% { transform: translate(-1px, 0); opacity: 0.55; }
}

@keyframes brand-glitch-b {
    0%, 88%, 100% { transform: translate(0, 0); opacity: 0.22; }
    89% { transform: translate(2px, 0); opacity: 0.55; }
    92% { transform: translate(-2px, 0); opacity: 0.4; }
    95% { transform: translate(1px, -1px); opacity: 0.5; }
}

.brand-logo::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 232, 255, 0.12) 22%,
        rgba(0, 232, 255, 0.95) 50%,
        rgba(0, 232, 255, 0.12) 78%,
        transparent 100%
    );
    background-size: 220% 100%;
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.55), 0 0 22px rgba(0, 232, 255, 0.25);
    opacity: 0.75;
    animation: brand-underline 4.8s ease-in-out infinite;
}

@keyframes brand-underline {
    0%, 100% {
        background-position: 100% 50%;
        opacity: 0.55;
        box-shadow: 0 0 6px rgba(0, 232, 255, 0.35), 0 0 14px rgba(0, 232, 255, 0.15);
    }
    50% {
        background-position: 0% 50%;
        opacity: 1;
        box-shadow: 0 0 12px rgba(0, 232, 255, 0.7), 0 0 28px rgba(0, 232, 255, 0.3);
    }
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 1.14em;
    min-height: 0;
    padding: 0 0.34em;
    font-size: max(1rem, 0.62em);
    font-family: inherit;
    font-weight: normal;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--phosphor);
    background: transparent;
    border: 2px solid var(--phosphor);
    border-radius: 2px;
    transform: translateY(-0.06em);
    text-shadow:
        0 0 6px var(--phosphor),
        0 0 14px rgba(0, 232, 255, 0.55);
    box-shadow:
        0 0 8px rgba(0, 232, 255, 0.45),
        inset 0 0 8px rgba(0, 232, 255, 0.08);
}

.site-footer {
    position: relative;
    z-index: 3;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    background: rgba(0, 13, 15, 0.92);
    border-top: 1px solid var(--border);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem clamp(0.65rem, 2.5vw, 1.35rem);
    width: 100%;
    max-width: 100%;
    padding: 14px clamp(10px, 3vw, 32px);
    padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.site-footer__primary,
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem clamp(0.65rem, 2.5vw, 1.35rem);
}

.site-footer__primary {
    flex: 1 1 auto;
    min-width: 0;
}

.site-footer__legal {
    flex: 0 0 auto;
    margin-left: auto;
}

.site-footer a,
.site-footer .wizard-discard__link {
    flex: 0 1 auto;
    color: var(--phosphor-dim);
    font-family: var(--font-crt);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 0.15rem 0;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current='page'],
.site-footer .wizard-discard__link:hover,
.site-footer .wizard-discard__link:focus-visible {
    color: var(--phosphor);
    text-decoration: underline;
}

.site-footer--wizard .site-footer__nav {
    justify-content: space-between;
}

.site-footer--wizard .wizard-discard {
    margin: 0;
}

.site-footer--wizard .wizard-discard__link {
    white-space: normal;
    text-align: left;
}

body[data-wizard] .crt-modal-page-link,
body[data-result] .crt-modal-page-link,
.crt-modal-overlay.must-accept .crt-modal-page-link {
    display: none;
}

@media (max-width: 1024px) {
    .site-footer__nav,
    .site-footer--wizard .site-footer__nav {
        justify-content: center;
        text-align: center;
        gap: 0.35rem 0.75rem;
    }
    .site-footer__primary,
    .site-footer__legal,
    .site-footer--wizard .site-footer__primary,
    .site-footer--wizard .site-footer__legal,
    .site-footer--wizard .wizard-discard,
    .site-footer--wizard .wizard-discard form {
        display: contents;
    }
    .site-footer__legal,
    .site-footer--wizard .site-footer__legal {
        margin-left: 0;
    }
    .site-footer--wizard .wizard-discard__link {
        text-align: center;
    }
}

@media (min-width: 901px) {
    .site-footer a,
    .site-footer .wizard-discard__link {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .site-footer a,
    .site-footer .wizard-discard__link {
        font-size: 1.2rem;
    }
}

.legal__head {
    margin: 0 0 1.5rem;
}

.legal > h2:first-of-type {
    margin-top: 1.1rem;
}

.legal-lead {
    font-family: var(--font-crt);
    font-size: 1.35rem;
    line-height: 1.32;
    letter-spacing: 0.03em;
    color: var(--phosphor-dim);
    text-shadow: none;
    margin: 0;
}

.crt-modal-intro {
    border: 1px solid rgba(0, 232, 255, 0.5);
    background: rgba(0, 232, 255, 0.1);
    padding: 0.6rem 0.9rem;
    margin: 0 0 2.2rem;
    font-family: var(--font-crt);
    font-size: 1.2rem;
    line-height: 1.55;
    letter-spacing: 0.03em;
    color: var(--ink);
}

.crt-modal-body .legal-lead + .crt-modal-intro {
    margin-top: 1.1rem;
}

.crt-modal-intro a {
    color: var(--phosphor);
}

.legal .crt-modal-intro + .crt-details {
    margin-top: 1.4rem;
}

.crt-details {
    margin: 1.4rem 0 0;
}

.crt-details summary {
    font-family: var(--font-crt);
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem 0.25rem 0.5rem;
    border-left: 3px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.13);
    text-shadow: 0 0 2.25px var(--phosphor);
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.crt-details summary::-webkit-details-marker { display: none; }

.crt-details summary::before {
    content: '▸';
    content: '▸' / '';
    display: inline-block;
    transition: transform 0.15s;
    color: var(--phosphor);
    flex-shrink: 0;
}

.crt-details[open] > summary::before {
    transform: rotate(90deg);
}

.crt-details summary:hover,
.crt-details summary:focus-visible {
    background: rgba(0, 232, 255, 0.22);
}

.crt-details > :not(summary) {
    margin-top: 0.4rem;
    color: var(--ink);
}

.crt-details > .table-wrap {
    margin-top: 1.6rem;
}

.legal .crt-details + .crt-details,
.faq .crt-details + .crt-details {
    margin-top: 0.85rem;
}
.faq h2 {
    margin: 2.5rem 0 0.55rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border-strong);
}
.faq h2 + p {
    margin: 0.45rem 0 1rem;
    color: var(--ink-muted);
}
.faq h2 + .crt-details,
.faq .lede + .crt-details,
.faq .lede + .docs-jump {
    margin-top: 0.75rem;
}
.faq .crt-details {
    border: 1px solid var(--border);
    border-left: 3px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.03);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.faq .crt-details > summary {
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.9rem 0.5rem 0.75rem;
    border-left: 0;
    background: rgba(0, 232, 255, 0.1);
}
.faq .crt-details > summary:hover,
.faq .crt-details > summary:focus-visible {
    background: rgba(0, 232, 255, 0.2);
}
.faq .crt-details[open] {
    border-color: var(--border-strong);
    background: rgba(0, 18, 22, 0.72);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(0, 232, 255, 0.12);
    padding: 0 1.15rem 1.15rem;
}
.faq .crt-details[open] > summary {
    margin: 0 -1.15rem 0.9rem;
    padding: 0.6rem 1.15rem 0.55rem 0.85rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 232, 255, 0.16);
}
.faq .crt-details > :not(summary) {
    margin-top: 0.75rem;
}
.faq .crt-details > ul:not(.pricing-copy__grid),
.faq .crt-details > ol {
    margin: 0.65rem 0 0.85rem;
    padding-left: 1.35rem;
}
.faq .crt-details > ul:not(.pricing-copy__grid) > li,
.faq .crt-details > ol > li {
    margin: 0.35rem 0;
}
.docs-jump {
    position: relative;
    margin: 1.1rem 0 1.75rem;
    padding: 0.9rem 0.95rem 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(0, 232, 255, 0.12);
}
.docs-jump::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--phosphor);
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.45);
}
.docs-jump__group + .docs-jump__group {
    margin-top: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
}
.docs-jump__label {
    margin: 0 0 0.55rem;
    font-family: var(--font-crt);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--phosphor-dim);
}
.docs-jump ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.docs-jump a {
    display: inline-block;
    font-family: var(--font-crt);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.06);
    padding: 0.3rem 0.75rem 0.24rem;
    line-height: 1.2;
}
.docs-jump a:hover,
.docs-jump a:focus-visible,
.docs-jump a[aria-current="location"] {
    color: var(--bg-mid);
    background: var(--phosphor);
    border-color: var(--phosphor);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.4);
}
.docs-snippet {
    position: relative;
}
.playground-file {
    overflow-wrap: anywhere;
}
.docs-copy {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    margin: 0;
    padding: 0.15rem 0.5rem 0.1rem;
    font-family: var(--font-crt);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--bg-mid);
    background: var(--phosphor);
    border: 1px solid var(--phosphor);
    cursor: pointer;
    line-height: 1.3;
}
.docs-copy:hover,
.docs-copy:focus-visible {
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.4);
}
.docs-snippet .curl-snippet,
.docs-snippet .json-preview {
    padding-right: 6.5rem;
}
.account-card {
    margin: 1.75rem 0;
    padding: 1.1rem 1.25rem 1.25rem;
    border: 1px solid var(--border);
    background: var(--surface);
}
.account-card__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 0.75rem;
}
.account-card > .actions {
    margin-top: 0;
}
.account-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 1.25rem;
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.account-facts dt {
    font-family: var(--font-crt);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}
.account-facts dd {
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    .account-facts {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
    .account-facts dd + dt {
        margin-top: 0.5rem;
    }
}
.account-lots__title {
    font-size: 1.35rem;
    margin: 1.25rem 0 0.6rem;
}
.credit-lots {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.credit-lots th,
.credit-lots td {
    text-align: left;
    vertical-align: middle;
    padding: 0.55rem 0.75rem;
}
.credit-lots tbody tr {
    border-bottom: 1px solid var(--border);
}
.credit-lots th.num,
.credit-lots td.num {
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 32rem) {
    .credit-lots thead {
        display: none;
    }
    .credit-lots tbody tr {
        display: block;
        margin: 0 0 0.5rem;
        padding: 0.7rem 0.85rem;
        border: 1px solid var(--border-strong);
    }
    .table-wrap .credit-lots td {
        display: block;
        padding: 0.1rem 0;
        border: 0;
        text-align: left;
    }
    .credit-lots td.pkg {
        margin-bottom: 0.2rem;
        color: var(--phosphor);
    }
    .credit-lots td.bought::before {
        content: "Gekauft ";
    }
    .table-wrap .credit-lots td.num {
        text-align: left;
    }
    .credit-lots td.num::before {
        content: "Credits ";
    }
    .credit-lots td.until::before {
        content: "Gültig bis ";
    }
    .credit-lots td.bought::before,
    .credit-lots td.num::before,
    .credit-lots td.until::before {
        color: var(--phosphor-dim);
    }
}
.account-card > :last-child,
.account-card > form:last-child > :last-child,
.account-card > .code-tabs:last-child .curl-snippet {
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .account-card {
        padding: 0.9rem 0.85rem 1rem;
    }
}
.code-tabs__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.code-tabs__bar[hidden] {
    display: none;
}
.code-tabs__lang {
    margin: 0 0 -1px;
    padding: 0.35rem 0.95rem 0.3rem;
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--phosphor-dim);
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    cursor: pointer;
    touch-action: manipulation;
}
.code-tabs__lang:hover,
.code-tabs__lang:focus-visible {
    color: var(--phosphor);
    background: rgba(0, 232, 255, 0.08);
}
.code-tabs__lang[aria-pressed="true"] {
    color: var(--phosphor);
    text-shadow: 0 0 5px var(--phosphor);
    border-color: var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
}
.code-tabs .curl-snippet {
    margin-top: 0;
    font-size: 0.875rem;
}
.faq .table-wrap {
    margin: 0.85rem 0 1.25rem;
}
.crt-details summary code {
    font-size: 0.85rem;
    letter-spacing: 0;
    text-shadow: none;
    color: var(--phosphor-dim);
    flex-shrink: 0;
}
.crt-details summary > code.docs-schema {
    margin-left: auto;
}
.crt-details .crt-details {
    margin-top: 0.85rem;
}
.crt-details > .docs-type-more {
    margin-top: 1.25rem;
}
.crt-details > .docs-download,
.account-card > .docs-download {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.docs-download__label {
    font-family: var(--font-crt);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--phosphor);
    margin: 0 0 0.5rem;
}
.docs-download > .actions,
.kit-download > .actions {
    margin: 0;
}
.account-card > .kit-docs {
    margin-top: 1rem;
}
.crt-details > .docs-label,
.code-label {
    font-family: var(--font-crt);
    font-size: 1.45rem;
    letter-spacing: 0.06em;
    color: var(--phosphor);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.45);
    margin: 1.45rem 0 0.45rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(0, 232, 255, 0.22);
}

.crt-details > summary + .docs-label {
    margin-top: 0.2rem;
    padding-top: 0;
    border-top: 0;
}

.faq p code,
.faq .lede code,
.faq td code,
.faq li code {
    font-family: inherit;
    font-size: 1em;
    letter-spacing: inherit;
    text-shadow: none;
    color: inherit;
}

.legal-section-heading {
    font-family: var(--font-crt);
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    margin: 1.8rem 0 0.5rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
    border-left: 3px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.13);
    text-shadow: 0 0 2.25px var(--phosphor);
}

.legal-modal .legal-section-heading:first-of-type {
    margin-top: 0;
}

.crt-details--service {
    margin: 0.45rem 0 0;
}

.crt-service-list {
    margin: 0.25rem 0 0.5rem;
}

.crt-service-list .crt-details--service:first-child {
    margin-top: 0;
}

.legal h4 {
    font-family: var(--font-crt);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    margin: 1.1rem 0 0.4rem;
    color: var(--phosphor);
}

.legal .crt-details h4:first-child {
    margin-top: 0.35rem;
}

.table-wrap {
    overflow-x: auto;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.table-wrap th,
.table-wrap td {
    border: 1px solid var(--border);
    padding: 0.45rem 0.6rem;
    text-align: left;
    vertical-align: top;
    color: var(--ink);
}

.table-wrap th {
    background: rgba(0, 232, 255, 0.1);
    font-family: var(--font-crt);
    letter-spacing: 0.04em;
}

.table-wrap tbody tr:nth-child(even) td {
    background: rgba(0, 232, 255, 0.025);
}

.docs-fields td:first-child,
.docs-warnings td:first-child,
.docs-error-codes td:first-child,
.docs-units td:first-child {
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.account-facts th,
.account-facts td,
.account-facts code {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.45;
}

/* --- Panels and cards ----------------------------------------------- */

.panel {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.panel--strong {
    border-color: var(--border-strong);
}

.panel__title {
    font-family: var(--font-crt);
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
}

.panel > h2.panel__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--phosphor);
    margin: 0 0 0.75rem;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35rem 0;
    padding: 0.85rem 0.25rem;
    margin: 1.75rem 0 2.25rem;
    list-style: none;
    font-family: var(--font-crt);
    font-size: 1.28rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: var(--phosphor);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow:
        0 -8px 18px -14px rgba(0, 232, 255, 0.45) inset,
        0 8px 18px -14px rgba(0, 232, 255, 0.45) inset;
}

.trust-strip li {
    margin: 0;
    padding: 0.15rem 0.55rem;
    color: var(--phosphor-dim);
    white-space: nowrap;
}

.trust-strip li + li::before {
    content: '·';
    content: '·' / '';
    margin-right: 0.55rem;
    color: var(--phosphor);
    opacity: 0.7;
    text-shadow: 0 0 8px rgba(0, 232, 255, 0.55);
}

@media (max-width: 40rem) {
    .trust-strip {
        display: none;
    }
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps > li {
    counter-increment: step;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
}

.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    font-family: var(--font-crt);
    color: var(--phosphor);
}

.checkout-done__summary {
    display: grid;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-strong);
    border-left: 3px solid var(--phosphor);
}

.checkout-done__summary > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.checkout-done__summary dt {
    min-width: 9rem;
    font-family: var(--font-crt);
    color: var(--phosphor);
}

.checkout-done__summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* --- Forms ------------------------------------------------------------ */

label {
    display: block;
    font-family: var(--font-crt);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='url'],
input[type='tel'],
input[type='number'],
input[type='search'],
input[type='date'],
input[type='file'],
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: var(--ink);
    border: 1px solid var(--border-strong);
    padding: 0.7rem 0.8rem;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    min-height: 9rem;
    resize: vertical;
    line-height: 1.55;
}

/* Own chevron: the native one sits flush against the border and cannot be moved. */
select {
    appearance: none;
    border-radius: 0;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2300e8ff' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 0.8rem auto;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

/* Open list: without this the dark color-scheme paints it grey. */
select option {
    background-color: var(--bg-inner);
    color: var(--ink);
}

select option:checked {
    background-color: var(--phosphor-dim);
    color: #000;
}

@supports (appearance: base-select) {
    select,
    select::picker(select) {
        appearance: base-select;
    }

    select::picker-icon {
        display: none;
    }

    select::picker(select) {
        margin-top: 2px;
        border-radius: 0;
        padding: 0.25rem 0;
        border: 1px solid var(--phosphor);
        background: var(--bg-inner);
        box-shadow: 0 0 12px rgba(0, 232, 255, 0.25);
    }

    select option {
        padding: 0.5rem 0.8rem;
    }

    select option:hover,
    select option:focus-visible {
        background-color: rgba(0, 232, 255, 0.16);
        color: var(--phosphor);
    }

    select option:checked {
        background-color: rgba(0, 232, 255, 0.28);
        color: var(--phosphor);
    }

    select option::checkmark {
        display: none;
    }
}

select:focus,
input:focus,
textarea:focus {
    border-color: var(--phosphor);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 232, 255, 0.25);
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

textarea[aria-invalid="true"],
input[aria-invalid="true"] {
    border-color: var(--danger);
}

textarea[aria-invalid="true"]:focus,
input[aria-invalid="true"]:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 2px rgba(255, 107, 61, 0.28);
}

textarea[aria-invalid="true"]:focus-visible,
input[aria-invalid="true"]:focus-visible {
    outline-color: var(--danger);
}

.field {
    margin-bottom: 1.5rem;
}

.field__help {
    color: var(--phosphor-dim);
    font-size: 1rem;
    margin: 0.4rem 0 0;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.45rem 0 0;
    font-size: 1rem;
    line-height: 1.3;
}

.password-strength[hidden],
.password-match[hidden] {
    display: none;
}

.password-strength__meter {
    flex: 0 0 5.5rem;
    height: 0.45rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
}

.password-strength__bar {
    display: block;
    height: 100%;
    width: 0;
}

.password-strength--short .password-strength__bar { width: 18%; background: var(--danger); }
.password-strength--weak .password-strength__bar { width: 42%; background: var(--phosphor-dim); }
.password-strength--ok .password-strength__bar { width: 70%; background: var(--phosphor); }
.password-strength--strong .password-strength__bar { width: 100%; background: var(--phosphor); }

.password-strength--short .password-strength__text { color: var(--danger); }
.password-strength--weak .password-strength__text { color: var(--phosphor-dim); }
.password-strength--ok .password-strength__text { color: var(--phosphor); }
.password-strength--strong .password-strength__text { color: var(--phosphor); }

.password-match {
    margin: 0.4rem 0 0;
    font-size: 1rem;
}

.table-wrap td.protocol-ocr span {
    display: inline-block;
    max-width: 16rem;
    color: #fff;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.table-wrap td.protocol-id code {
    display: inline-block;
    max-width: 10rem;
    overflow-wrap: anywhere;
}

.protocol-month {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(12rem, 18rem) auto;
    gap: 1rem;
    align-items: end;
    margin: 0 0 1.5rem;
    max-width: 48rem;
}

.protocol-month .field,
.protocol-month__download {
    margin: 0;
}

.protocol-month .btn {
    width: auto;
}

.protocol-month select {
    height: 2.75rem;
    padding-top: 0;
    padding-bottom: 0;
    line-height: calc(2.75rem - 2px);
}

.protocol-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(9rem, 1fr)) auto;
    gap: 1rem;
    align-items: end;
    margin: 0 0 1.5rem;
}

.protocol-filters .field,
.protocol-filters__submit {
    margin: 0;
}

.protocol-filters .btn {
    width: auto;
}

.protocol-filters select {
    height: 2.75rem;
    padding-top: 0;
    padding-bottom: 0;
    line-height: calc(2.75rem - 2px);
}

@media (max-width: 40rem) {
    .protocol-month,
    .protocol-filters {
        grid-template-columns: 1fr;
    }
}

.password-match--pending { color: var(--ink-muted); }
.password-match--bad { color: var(--danger); }
.password-match--ok { color: var(--phosphor); }

.dropzone-label {
    font-family: var(--font-crt);
    font-size: 1.4rem;
    margin: 0 0 0.35rem;
}

.dropzone {
    position: relative;
    border: 1px dashed var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
    margin: 0 0 0.35rem;
    animation: dropzone-pulse 2.4s ease-in-out infinite;
}

@keyframes dropzone-pulse {
    0%, 100% {
        border-color: rgba(0, 232, 255, 0.4);
        box-shadow: 0 0 0 0 rgba(0, 232, 255, 0);
    }
    50% {
        border-color: var(--phosphor);
        box-shadow: 0 0 12px 1px rgba(0, 232, 255, 0.38);
    }
}

.dropzone--hot {
    animation: none;
    border-color: var(--phosphor);
    box-shadow: 0 0 0 2px rgba(0, 232, 255, 0.25);
}

.dropzone--ready {
    animation: none;
    border-style: solid;
    border-color: var(--phosphor);
    box-shadow: none;
}

.dropzone--error {
    animation: none;
    border-style: dashed;
    border-color: var(--danger);
    box-shadow: none;
}

.dropzone__hit {
    display: block;
    min-height: 7.5rem;
    padding: 1.5rem 1.25rem;
    cursor: pointer;
}

@media (pointer: coarse) {
    .dropzone__hit {
        min-height: 9.5rem;
        padding: 2rem 1.25rem;
    }
}

.dropzone__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.dropzone__title,
.dropzone__name {
    display: block;
    font-family: var(--font-crt);
    font-size: 1.3rem;
}

.dropzone__name {
    word-break: break-all;
    padding-right: 5rem;
}

.dropzone__hint,
.dropzone__meta {
    display: block;
    color: var(--phosphor-dim);
    margin-top: 0.4rem;
}

.dropzone__clear {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: none;
    border: 0;
    color: var(--phosphor-dim);
    font-family: var(--font-crt);
    font-size: 1rem;
    cursor: pointer;
}

.dropzone__clear:hover,
.dropzone__clear:focus-visible {
    color: var(--phosphor);
}

.dropzone__error {
    color: var(--danger);
    font-size: 1rem;
    margin: 0;
    padding: 0 1.25rem 0.85rem;
}

.dropzone__idle[hidden],
.dropzone__picked[hidden],
.dropzone__clear[hidden],
.dropzone__error[hidden] {
    display: none;
}

form.is-uploading .cv-choice,
form.is-uploading .cv-panel,
form.is-uploading .cv-form__next,
form.is-uploading .dropzone,
form.is-uploading details,
form.is-uploading .field,
form.is-uploading .legal-choice,
form.is-uploading .honeypot,
form.is-uploading .cf-turnstile,
form.is-uploading .actions {
    display: none;
}

form.is-uploading .upload-status {
    display: block;
    margin: 1.5rem 0;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: var(--font-crt);
    font-size: 1.3rem;
    line-height: 1.2;
    min-height: 2.75rem;
    padding: 0.55rem 1.6rem;
    border: 1px solid var(--phosphor);
    background: transparent;
    color: var(--phosphor);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn__icon {
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
}

.btn:hover:not(:disabled),
.btn:focus-visible:not(:disabled) {
    background: var(--phosphor);
    color: #000;
}

.btn:disabled:not(.is-busy) {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn.is-busy,
.nav-item.is-busy {
    cursor: wait;
    pointer-events: none;
}

.nav-item.is-busy {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.btn__spinner {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 0.85em;
    height: 0.85em;
    margin-right: 0.55em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .btn__spinner {
        animation: none;
    }
}

.btn--primary:disabled:not(.is-busy) {
    background: rgba(0, 232, 255, 0.18);
    color: var(--phosphor);
    border-color: var(--phosphor);
}

.btn--primary.is-busy {
    background: var(--phosphor);
    color: #000;
    border-color: var(--phosphor);
    opacity: 0.75;
}

.btn--primary {
    background: var(--phosphor);
    color: #000;
    letter-spacing: 0.04em;
}

.btn--primary:hover:not(:disabled) {
    background: #fff;
}

/* The skip is findable but never equal in weight to the donate button. */
.btn--quiet {
    border: none;
    background: none;
    color: var(--phosphor-faint);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.25rem 0;
    text-decoration: underline;
}

.btn--quiet:hover,
.btn--quiet:focus-visible {
    color: var(--phosphor);
    background: none;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

/* Wizard: secondary left (Abbrechen/Zurück), primary right (Weiter) */
.actions--nav {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.actions--nav .actions__start,
.actions--nav .actions__end {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

.actions--nav .actions__end {
    margin-left: auto;
    justify-content: flex-end;
}

.wizard-discard {
    margin: 0.85rem 0 0;
}

.wizard-discard form {
    display: inline;
    margin: 0;
}

.wizard-discard__link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--phosphor-dim);
    font-family: var(--font-body);
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.wizard-discard__link:hover,
.wizard-discard__link:focus-visible {
    color: var(--phosphor);
}

/* --- Home CTA (same idea as Fake-Lexikon → Fake-Checker) -------------- */

.home-cta {
    margin: 3rem 0 1rem;
    padding: 1.6rem 1.4rem;
    text-align: center;
    border: 2px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.08);
    box-shadow: 0 0 22px rgba(0, 232, 255, 0.22) inset;
    font-family: var(--font-crt);
}

.home-cta__title {
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.home-cta__text {
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin: 0 auto 1.2rem;
    max-width: 560px;
    color: var(--phosphor-dim);
}

.home-cta__btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    isolation: isolate;
    padding: 0.7rem 1.6rem;
    border: 1px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.18);
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(0, 232, 255, 0.35);
    transition: background 0.15s, box-shadow 0.15s;
}

.home-cta__btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    width: 28%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 232, 255, 0.15) 35%,
        rgba(0, 232, 255, 0.55) 50%,
        rgba(0, 232, 255, 0.15) 65%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(0, 232, 255, 0.45);
    pointer-events: none;
    z-index: 0;
    animation: home-cta-scan 2.8s ease-in-out infinite;
}

.home-cta__btn:hover,
.home-cta__btn:focus-visible {
    background: rgba(0, 232, 255, 0.3);
    box-shadow: 0 0 22px rgba(0, 232, 255, 0.55);
}

.home-cta__btn:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.home-cta__btn:hover::after,
.home-cta__btn:focus-visible::after {
    animation-duration: 1.6s;
}

@keyframes home-cta-scan {
    0% { transform: translateX(0); opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { transform: translateX(430%); opacity: 0; }
}

.home-cta__follow {
    margin: 1rem 0 0;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.home-cta__follow a {
    color: var(--phosphor-dim);
}

@media (prefers-reduced-motion: reduce) {
    .home-cta__btn::after {
        animation: none;
        display: none;
    }
}

/* --- Messages --------------------------------------------------------- */

.notice {
    border-left: 3px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.07);
    padding: 0.85rem 1rem;
    margin: 1.25rem 0;
}

.notice--error {
    border-left-color: var(--danger);
    background: rgba(255, 107, 61, 0.09);
}

.notice--error strong {
    color: var(--danger);
}

.notice__text-btn {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--phosphor);
    text-decoration: underline;
    cursor: pointer;
}

.notice__text-btn:hover,
.notice__text-btn:focus-visible {
    color: var(--phosphor-bright, var(--phosphor));
}

.notice p {
    margin: 0.25rem 0;
}

.notice__action {
    text-align: right;
    margin-top: 0.75rem;
}

.chip {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 0.15rem 0.6rem;
    font-size: 1rem;
    color: var(--phosphor-dim);
    word-break: break-all;
}

/* --- Wizard step rail (1 → 2 → 3 → 4) ---------------------------------- */

.wizard-steps {
    --wizard-node: 2rem;
    --wizard-line: 4px;
    --wizard-tip: 0.7rem;
    margin: 0 0 1.25rem;
}

.wizard-steps__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 0.75rem 0.35rem 0.85rem;
    list-style: none;
    font-family: var(--font-crt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow:
        0 -8px 18px -14px rgba(0, 232, 255, 0.35) inset,
        0 8px 18px -14px rgba(0, 232, 255, 0.35) inset;
}

.wizard-steps__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    text-align: center;
}

.wizard-steps__node {
    position: relative;
    z-index: 1;
    display: block;
    width: var(--wizard-node);
    height: var(--wizard-node);
}

.wizard-steps__num {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-strong);
    background: var(--bg-mid);
    color: var(--phosphor-dim);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* Line + tip centered on the number box (not the label) */
.wizard-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--wizard-node) / 2);
    left: calc(50% + var(--wizard-node) / 2);
    right: calc(-50% + var(--wizard-node) / 2 + var(--wizard-tip));
    height: var(--wizard-line);
    margin-top: calc(var(--wizard-line) / -2);
    background: var(--phosphor-dim);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.3);
    pointer-events: none;
}

.wizard-steps__item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: calc(var(--wizard-node) / 2);
    left: calc(150% - var(--wizard-node) / 2 - var(--wizard-tip));
    z-index: 1;
    width: 0;
    height: 0;
    margin-top: calc(var(--wizard-tip) * 0.8 / -1);
    border-style: solid;
    border-width: calc(var(--wizard-tip) * 0.8) 0 calc(var(--wizard-tip) * 0.8) var(--wizard-tip);
    border-color: transparent transparent transparent var(--phosphor-dim);
    filter: drop-shadow(0 0 5px rgba(0, 232, 255, 0.4));
    pointer-events: none;
}

.wizard-steps__item.is-done:not(:last-child)::after,
.wizard-steps__item.is-current:not(:last-child)::after {
    background: var(--phosphor);
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.5);
}

.wizard-steps__item.is-done:not(:last-child)::before,
.wizard-steps__item.is-current:not(:last-child)::before {
    border-left-color: var(--phosphor);
}

.wizard-steps__label {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: var(--phosphor-dim);
}

.wizard-steps__item.is-done .wizard-steps__num {
    border-color: var(--border-strong);
    color: var(--phosphor-dim);
    background: rgba(0, 232, 255, 0.08);
}

.wizard-steps__item.is-done .wizard-steps__label {
    color: var(--phosphor-dim);
}

.wizard-steps__item.is-current .wizard-steps__num {
    border-color: var(--phosphor);
    color: var(--phosphor);
    background: rgba(0, 232, 255, 0.18);
    box-shadow: 0 0 14px rgba(0, 232, 255, 0.4);
}

.wizard-steps__item.is-current .wizard-steps__label {
    color: var(--phosphor);
    text-shadow: 0 0 10px rgba(0, 232, 255, 0.35);
}

@media (max-width: 40rem) {
    .wizard-steps {
        --wizard-node: 1.55rem;
        --wizard-line: 3px;
        --wizard-tip: 0.5rem;
    }

    .wizard-steps__list {
        padding: 0.55rem 0.1rem 0.65rem;
    }

    .wizard-steps__num {
        font-size: 1rem;
    }

    .wizard-steps__label {
        font-size: 1rem;
        letter-spacing: 0.03em;
    }
}

/* --- Progress / SSE --------------------------------------------------- */

.progress__lines {
    font-family: var(--font-crt);
    font-size: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    min-height: 6rem;
}

.progress__lines li::before {
    content: '> ';
    content: '> ' / '';
    color: var(--phosphor-dim);
}

.progress__bar {
    height: 3px;
    background: rgba(0, 232, 255, 0.15);
    overflow: hidden;
}

.progress__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--phosphor);
    transition: width 0.4s ease;
}

.progress__working {
    margin: 0 0 0.5rem;
    font-family: var(--font-crt);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    animation: progress-working-pulse 1.4s ease-in-out infinite;
}

.progress__working[hidden] {
    display: none;
}

@keyframes progress-working-pulse {
    0%,
    100% {
        opacity: 0.35;
    }
    50% {
        opacity: 1;
    }
}

/* --- Review / result -------------------------------------------------- */

.review-grid {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: 1fr;
}

.review-grid > .field {
    margin-bottom: 0;
}

@media (min-width: 40rem) {
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.fit-scale {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.fit-scale legend {
    font-family: var(--font-crt);
    font-size: 1.3rem;
    padding: 0 0.4rem;
}

.fit-scale__slider {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.65rem;
}

.fit-scale__readout {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    font-family: var(--font-crt);
}

.fit-scale__value {
    font-size: 1.75rem;
    color: var(--phosphor);
    text-shadow: 0 0 4px rgba(0, 232, 255, 0.35);
}

.fit-scale__ends {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-crt);
    font-size: 1.35rem;
    color: var(--phosphor);
}

.fit-scale input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.55rem;
    margin: 0.35rem 0 0;
    background: linear-gradient(90deg, var(--phosphor-dim), var(--phosphor));
    border: 1px solid var(--border-strong);
    border-radius: 0;
    outline: none;
    cursor: pointer;
}

.fit-scale input[type="range"]:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 3px;
}

.fit-scale input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.35rem;
    height: 1.35rem;
    background: var(--bg-outer);
    border: 2px solid var(--phosphor);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.45);
    cursor: grab;
}

.fit-scale input[type="range"]::-moz-range-thumb {
    width: 1.35rem;
    height: 1.35rem;
    background: var(--bg-outer);
    border: 2px solid var(--phosphor);
    border-radius: 0;
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.45);
    cursor: grab;
}

.fit-scale input[type="range"]::-moz-range-track {
    height: 0.55rem;
    background: transparent;
    border: none;
}

.photo-review__preview {
    display: block;
    width: 8rem;
    height: auto;
    margin: 0 0 0.75rem;
    border: 1px solid var(--border);
}

.photo-review__remove,
.station-editor__remove,
.donation__consent {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.35rem 0 1rem;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.06);
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: var(--phosphor);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.donation__consent {
    align-items: flex-start;
    max-width: 100%;
    line-height: 1.35;
}

.photo-review__remove:hover,
.station-editor__remove:hover,
.donation__consent:hover {
    border-color: var(--border-strong);
    background: rgba(0, 232, 255, 0.14);
    box-shadow: 0 0 12px rgba(0, 232, 255, 0.2);
}

.photo-review__remove:has(input:focus-visible),
.station-editor__remove:has(input:focus-visible),
.donation__consent:has(input:focus-visible) {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.photo-review__remove input[type="checkbox"],
.station-editor__remove input[type="checkbox"],
.donation__consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.15rem 0 0;
    flex-shrink: 0;
    border: 2px solid var(--phosphor);
    background: var(--bg-outer);
    box-shadow: inset 0 0 6px rgba(0, 232, 255, 0.15);
    cursor: pointer;
    position: relative;
}

.photo-review__remove input[type="checkbox"]:checked,
.station-editor__remove input[type="checkbox"]:checked,
.donation__consent input[type="checkbox"]:checked {
    background: rgba(0, 232, 255, 0.22);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.35);
}

.photo-review__remove input[type="checkbox"]:checked::after,
.station-editor__remove input[type="checkbox"]:checked::after,
.donation__consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 0.05rem;
    width: 0.35rem;
    height: 0.7rem;
    border: solid var(--phosphor);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(40deg);
}

/* Secondary expanders in the wizard (text paste, optional fields) */
.details-alt {
    margin: 1.25rem 0;
}

.details-alt > summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: var(--phosphor);
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.07);
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    user-select: none;
    list-style: none;
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.12);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.details-alt > summary::-webkit-details-marker {
    display: none;
}

.details-alt > summary::before {
    content: '▸';
    content: '▸' / '';
    color: var(--phosphor);
    transition: transform 0.15s;
}

.details-alt[open] > summary::before {
    transform: rotate(90deg);
}

.details-alt > summary:hover,
.details-alt > summary:focus-visible {
    color: var(--phosphor);
    border-color: var(--border-strong);
    background: rgba(0, 232, 255, 0.18);
    box-shadow: 0 0 16px rgba(0, 232, 255, 0.35);
}

.details-alt > summary:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.details-alt[open] > summary {
    border-color: var(--border-strong);
    background: rgba(0, 232, 255, 0.14);
}

.details-alt > :not(summary) {
    margin-top: 0.85rem;
}

.cv-panel--text .details-alt {
    margin: 0.75rem 0 0;
}

.cv-text-example {
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

details.review-edit {
    margin: 1rem 0;
    border: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
}

details.review-edit + details.review-edit {
    margin-top: 0.75rem;
}

details.review-edit:last-of-type {
    margin-bottom: 2rem;
}

details.review-edit > summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    font-family: var(--font-crt);
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--phosphor);
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
}

details.review-edit > summary::-webkit-details-marker {
    display: none;
}

details.review-edit > summary::before {
    content: '▸';
    content: '▸' / '';
    color: var(--phosphor);
    transition: transform 0.15s;
}

details.review-edit[open] > summary::before {
    transform: rotate(90deg);
}

.review-edit__counts {
    color: var(--phosphor);
    font-size: inherit;
    letter-spacing: inherit;
}

.station-editor {
    margin: 1rem 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.checklist > li {
    position: relative;
    padding-left: 1.15rem;
    margin: 0.35rem 0;
}

.checklist > li::before {
    content: '▸';
    content: '▸' / '';
    position: absolute;
    left: 0;
    color: var(--phosphor-dim);
}

.result-cv__heading {
    font-family: var(--font-crt);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    margin: 1.35rem 0 0.5rem;
}

.result-cv__station {
    margin: 0.85rem 0 1rem;
}

.result-cv__station-title {
    margin: 0 0 0.2rem;
    font-weight: 600;
    color: var(--ink);
}

.result-list {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0 0 0 0.15rem;
}

.result-list > li {
    position: relative;
    padding-left: 1.2rem;
    margin: 0.4rem 0;
    color: var(--ink);
    line-height: 1.45;
}

.result-list > li::before {
    content: '▸';
    content: '▸' / '';
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--phosphor);
    font-family: var(--font-crt);
}

.result-list--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    padding-left: 0;
}

.result-list--compact > li {
    margin: 0.15rem 0;
}

.document {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    padding: 1.5rem;
    white-space: pre-wrap;
    font-family: var(--font-body);
    color: var(--ink);
}

.document--blocks {
    white-space: normal;
}

.document--blocks > :first-child {
    margin-top: 0;
}

.document--blocks > :last-child {
    margin-bottom: 0;
}

.document--blocks .field__help {
    margin-bottom: 0;
}

.download-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.zip-password {
    margin: 0.85rem 0 0.5rem;
}

.notice .zip-password {
    margin: 0.65rem 0 0.35rem;
}

.zip-password__label {
    margin: 0;
}

.zip-password__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0.45rem 0 0.35rem;
}

input.zip-password__value {
    width: auto;
    flex: 1 1 28rem;
    min-width: 0;
    height: 2.75rem;
    min-height: 2.75rem;
    font-family: var(--font-crt);
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--phosphor);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--phosphor);
    box-shadow: 0 0 12px rgba(0, 232, 255, 0.22);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.45);
    padding: 0 0.8rem;
    cursor: text;
}

input.zip-password__value:focus {
    border-color: var(--phosphor);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 232, 255, 0.28);
}

input.zip-password__value:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.zip-password__copy {
    flex: 0 0 auto;
    height: 2.75rem;
}

.zip-password__help {
    margin: 0;
}

.donation {
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.06);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.donation h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.donation__facts {
    margin: 0 0 0.75rem;
}

.donation__beta-note {
    margin: 0 0 0.25rem;
}

.donation__price {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.donation__price-amount {
    display: block;
    margin-top: 0.3rem;
    color: var(--phosphor);
}

.donation__price-amount .price__was {
    font-weight: 400;
}

.badge {
    display: inline-block;
    font-family: var(--font-crt);
    font-size: max(1rem, 0.55em);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.12em 0.32em;
    border: 1px solid var(--border-strong);
    border-radius: 0.35em;
    margin-left: 0.12em;
    vertical-align: super;
    position: relative;
    top: -0.05em;
}

.badge--beta {
    color: var(--phosphor);
    background: rgba(0, 232, 255, 0.12);
}

.donation__order {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-strong);
}

.donation__order-btn {
    display: inline-block;
    margin: 0.75rem 0 0.5rem;
    width: 100%;
    max-width: 28rem;
    text-align: center;
}

.donation__order-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

[data-result] .document,
[data-result] .panel,
[data-result] .donation,
[data-lock] .document {
    border-color: var(--phosphor);
}

[data-result] .donation__order {
    border-top-color: var(--phosphor-dim);
}

[data-result] .donation__consent {
    border-color: var(--phosphor-dim);
}

[data-paypal-buttons] {
    margin-top: 0.75rem;
    max-width: 28rem;
    /* html { color-scheme: dark } makes Chrome paint a white canvas behind
       light-scheme third-party iframes (PayPal Smart Buttons). normal keeps
       the iframe transparent so the CRT background shows through. */
    color-scheme: normal;
}

[data-paypal-buttons] iframe {
    color-scheme: normal;
    background-color: transparent;
}

/* --- Legal overlays (Fake-Checker Kenntnisnahme / Widerspruch) ------- */

.crt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.crt-modal-overlay.open {
    display: flex;
}

.crt-modal {
    background: #000d0f;
    border: 2px solid var(--phosphor);
    box-shadow: 0 0 32px rgba(0, 232, 255, 0.35), 0 0 8px rgba(0, 232, 255, 0.2) inset;
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    line-height: 1.65;
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.crt-modal:focus,
.crt-modal:focus-visible {
    outline: none;
}

@media (min-width: 900px) {
    .crt-modal {
        max-width: 860px;
    }
}

.crt-modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1;
    padding: 56px 32px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0;
    scrollbar-color: var(--phosphor-dim) #000;
    scrollbar-width: thin;
}

.crt-modal-body h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    margin: 0 0 1.2rem;
    padding: 0.4rem 0.6rem 0.5rem;
    border: 1px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.18);
    box-shadow: 0 0 14px rgba(0, 232, 255, 0.25) inset;
}

.crt-modal-overlay.must-accept .crt-modal-body {
    padding-top: 16px;
}

.crt-modal-welcome {
    display: none;
    margin: 0 0 1.4rem;
}

.crt-modal-overlay.must-accept .crt-modal-welcome {
    display: block;
}

.crt-modal-welcome__title {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-family: var(--font-crt);
    font-size: 1.85rem;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: var(--phosphor);
}

.crt-modal-welcome__tagline {
    margin: 0.35rem 0 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--phosphor-dim);
}

.crt-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    z-index: 10;
}

.crt-modal-close:hover {
    opacity: 0.7;
}

.crt-modal-overlay.must-accept .crt-modal-close {
    display: none;
    pointer-events: none;
}

.crt-modal-accept-bar {
    display: none;
    padding: 14px 32px;
    border-top: 1px solid var(--phosphor);
    flex-shrink: 0;
    text-align: center;
}

.crt-modal-overlay.open .crt-modal-accept-bar {
    display: block;
}

.crt-modal-accept-checks {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1rem;
    text-align: left;
}

.crt-modal-accept-checks .legal-choice__option {
    margin: 0;
}

@media (max-width: 40rem) {
    .crt-modal-accept-checks .legal-choice__option {
        align-items: flex-start;
        line-height: 1.15;
    }

    .crt-modal-accept-checks .legal-choice__option input {
        margin-top: 0.18em;
    }
}

.crt-modal-accept-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.crt-modal-accept-btn:disabled::after {
    display: none;
}

.legal-choice {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem 1rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.05);
    font-size: 1.15rem;
}

.legal-choice--error {
    border-color: var(--danger);
}

.legal-choice__alert {
    margin: 0 0 0.65rem;
}

.legal-choice__alert[hidden] {
    display: none;
}

.legal-choice legend {
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    padding: 0 0.35rem;
}

.legal-choice__lead {
    margin: 0.25rem 0 0;
    padding-bottom: 1.15rem;
    font-size: inherit;
    line-height: 1.65;
    color: var(--ink);
}

.legal-choice__lead + .legal-choice__lead {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 0.85rem;
}

.legal-choice__note {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.legal-choice__option {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.7rem 0 0;
    cursor: pointer;
    font-family: var(--font-crt);
    font-size: 1.4rem;
    line-height: 1.35;
    color: var(--phosphor);
}

.legal-choice__option input[type="checkbox"],
.legal-choice__option input[type="radio"],
.donation__consent input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    flex-shrink: 0;
    border: 2px solid var(--phosphor);
    background: var(--bg-outer);
    box-shadow: inset 0 0 6px rgba(0, 232, 255, 0.15);
    cursor: pointer;
    position: relative;
}

.legal-choice__option input[type="radio"] {
    border-radius: 50%;
}

.legal-choice__option input[type="checkbox"]:checked,
.legal-choice__option input[type="radio"]:checked {
    background: rgba(0, 232, 255, 0.22);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.35);
}

.legal-choice__option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 0.05rem;
    width: 0.35rem;
    height: 0.7rem;
    border: solid var(--phosphor);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(40deg);
}

.legal-choice__option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    inset: 0.22rem;
    border-radius: 50%;
    background: var(--phosphor);
}

.cv-choice {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.cv-choice legend {
    font-family: var(--font-crt);
    font-size: 1.4rem;
    margin: 0 0 0.75rem;
    padding: 0;
    color: var(--phosphor);
}

.cv-choice__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 40rem) {
    .cv-choice__cards {
        grid-template-columns: 1fr;
    }
}

.cv-choice__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.05);
    cursor: pointer;
    font-family: var(--font-crt);
}

.cv-choice__card:has(input:checked) {
    border-color: var(--phosphor);
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.28);
}

.cv-choice__card input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    border: 2px solid var(--phosphor);
    border-radius: 50%;
    background: var(--bg-outer);
    box-shadow: inset 0 0 6px rgba(0, 232, 255, 0.15);
    cursor: pointer;
    position: relative;
}

.cv-choice__card input[type="radio"]:checked {
    background: rgba(0, 232, 255, 0.22);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.35);
}

.cv-choice__card input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    inset: 0.22rem;
    border-radius: 50%;
    background: var(--phosphor);
}

.cv-choice__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cv-choice__title {
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--phosphor);
}

.cv-choice__hint {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.35;
    color: var(--phosphor-dim);
}

.cv-panel {
    display: none;
    margin: 0 0 1.25rem;
}

.cv-form:has([name="cv_source"][value="file"]:checked) .cv-panel--file,
.cv-form:has([name="cv_source"][value="text"]:checked) .cv-panel--text {
    display: block;
}

.cv-form.is-uploading:has([name="cv_source"][value="file"]:checked) .cv-panel--file,
.cv-form.is-uploading:has([name="cv_source"][value="text"]:checked) .cv-panel--text {
    display: none;
}

.cv-form:not(:has([name="cv_source"]:checked)) .cv-form__next {
    display: none;
}

.crt-modal-accept-btn,
.crt-modal-revoke-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    isolation: isolate;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.7rem 1.6rem;
    border: 1px solid var(--phosphor);
    background: rgba(0, 232, 255, 0.18);
    color: var(--phosphor);
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(0, 232, 255, 0.35);
    white-space: normal;
}

.crt-modal-accept-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    width: 28%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 232, 255, 0.15) 35%,
        rgba(0, 232, 255, 0.55) 50%,
        rgba(0, 232, 255, 0.15) 65%,
        transparent 100%
    );
    pointer-events: none;
    animation: crt-modal-accept-scan 2.8s ease-in-out infinite;
}

.crt-modal-accept-btn:hover,
.crt-modal-accept-btn:focus-visible,
.crt-modal-revoke-btn:hover,
.crt-modal-revoke-btn:focus-visible {
    background: rgba(0, 232, 255, 0.28);
    box-shadow: 0 0 18px rgba(0, 232, 255, 0.55);
}

@keyframes crt-modal-accept-scan {
    0% { transform: translateX(0); }
    100% { transform: translateX(450%); }
}

@media (prefers-reduced-motion: reduce) {
    .crt-modal-accept-btn::after {
        animation: none;
        display: none;
    }
}

.crt-modal-revoke-btn {
    background: rgba(255, 107, 61, 0.12);
    border-color: var(--danger);
    color: var(--danger);
    box-shadow: none;
}

.crt-modal-revoke[hidden] {
    display: none;
}

.crt-modal-revoke-hint {
    margin: 0 0 0.65rem;
    color: var(--danger);
    font-size: 1.15rem;
    line-height: 1.4;
}

/* --- Accept gate ------------------------------------------------------- */

body.needs-accept form[data-needs-accept] [type="submit"]:disabled {
    cursor: not-allowed;
}

.debug-panel {
    margin-top: 2.5rem;
    padding: 0.85rem 1rem 1rem;
    border: 1px dashed var(--phosphor-dim);
    background: rgba(0, 232, 255, 0.04);
}

.debug-panel__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-crt);
    font-size: 1.25rem;
    color: var(--phosphor);
}

.debug-panel__summary::-webkit-details-marker {
    display: none;
}

.debug-panel__summary::before {
    content: '▸';
    content: '▸' / '';
    margin-right: 0.35rem;
    transition: transform 0.15s;
}

.debug-panel[open] > .debug-panel__summary::before {
    transform: rotate(90deg);
}

.debug-panel__title {
    margin: 0;
    flex: 1 1 auto;
    letter-spacing: 0.04em;
}

.debug-panel__label {
    margin: 0.85rem 0 0.25rem;
    font-size: 1rem;
    color: var(--phosphor-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.debug-panel__block {
    margin-top: 0.75rem;
}

.debug-panel__block summary {
    cursor: pointer;
    color: var(--phosphor);
}

.debug-panel pre {
    margin: 0.35rem 0 0;
    max-height: 18rem;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.35;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.6rem 0.7rem;
}

[hidden] {
    display: none !important;
}

@media (max-width: 40rem) {
    .shell { padding: 1rem 1rem 3rem; }
    .btn { width: 100%; text-align: center; }
    .actions { flex-direction: column; align-items: stretch; }
    .actions--nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .actions--nav .actions__start,
    .actions--nav .actions__end {
        width: 100%;
        flex-direction: column;
        margin-left: 0;
    }
    .actions--nav .actions__end {
        justify-content: stretch;
    }
}

.receipts {
    width: 100%;
    border-collapse: collapse;
}
.receipts th,
.receipts td {
    text-align: left;
    vertical-align: middle;
    padding: 0.7rem 0.75rem;
}
.receipts tbody tr {
    border-bottom: 1px solid var(--border-strong);
}
.receipts th.num,
.receipts td.num,
.receipts th.action,
.receipts td.action {
    text-align: right;
    white-space: nowrap;
}
.receipts .btn {
    min-height: 2.25rem;
    padding: 0.35rem 1rem;
    font-size: 1.15rem;
}
@media (max-width: 32rem) {
    .receipts thead {
        display: none;
    }
    .receipts tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.2rem 0.75rem;
        margin: 0 0 0.5rem;
        padding: 0.75rem 0.85rem;
        border: 1px solid var(--border-strong);
    }
    .receipts td {
        padding: 0;
        border: 0;
    }
    .receipts td.day,
    .receipts td.number,
    .receipts td.pkg {
        grid-column: 1;
    }
    .receipts td.num {
        grid-column: 2;
        grid-row: 1;
    }
    .receipts td.action {
        grid-column: 2;
        grid-row: 3;
    }
}
.sku-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}
.sku-list li {
    border: 1px solid var(--border-strong);
    padding: 0.75rem 1rem;
    margin: 0 0 0.5rem;
}
.sku-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0.65rem;
}
@media (min-width: 32rem) {
    .sku-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 48rem) {
    .sku-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.sku-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    padding: 1.05rem 1.05rem 1.15rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    gap: 0.2rem;
}
.sku-card--public {
    border-color: var(--phosphor);
    box-shadow: 0 0 18px rgba(0, 232, 255, 0.22);
}
.sku-card__badge {
    margin: 0 0 0.35rem;
    font-family: var(--font-crt);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--phosphor);
}
.sku-card__badge--later {
    color: var(--phosphor-dim);
}
.sku-card h3 {
    font-family: var(--font-crt);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--phosphor);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.35);
}
.sku-card__price {
    font-family: var(--font-crt);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: 0.03em;
    color: var(--phosphor);
    margin: 0.45rem 0 0.15rem;
    line-height: 1.1;
}
.sku-card__credits {
    margin: 0;
    color: var(--ink);
}
.sku-card__rate {
    margin: 0.15rem 0 0;
    color: var(--phosphor-dim);
    font-size: 1rem;
}
.sku-card .btn {
    margin-top: auto;
    text-align: center;
    width: 100%;
}
.sku-card:not(.sku-card--public) .sku-card__rate {
    margin-bottom: 0.15rem;
}
@media (min-width: 32rem) {
    .sku-grid--buy {
        grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    }
}
.sku-card--link {
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sku-card--link:hover,
.sku-card--link:focus-visible {
    border-color: var(--phosphor);
    background: rgba(0, 232, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 232, 255, 0.22);
}

.sku-card--link:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}
.sku-grid__vat {
    margin: 0 0 1.25rem;
    color: var(--phosphor-dim);
    font-size: 1rem;
}
.pricing-copy {
    margin: 1.5rem 0 2rem;
}
.pricing-copy__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-crt);
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    color: var(--phosphor);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.35);
}
.pricing-copy__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 36rem) {
    .pricing-copy__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.pricing-copy__card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto auto 1fr;
    align-content: start;
    gap: 0.1rem 0.55rem;
    margin: 0;
    min-height: 100%;
    padding: 1.05rem 1.05rem 1.1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(0, 232, 255, 0.12);
}
.pricing-copy__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--phosphor);
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.45);
}
.pricing-copy__kicker {
    margin: 0;
    font-family: var(--font-crt);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--phosphor-dim);
}
.pricing-copy__place {
    margin: 0;
    justify-self: end;
    align-self: start;
    font-family: var(--font-crt);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.06rem 0.32rem 0.03rem;
    line-height: 1.3;
    color: var(--bg-mid);
    background: var(--phosphor);
    border: 1px solid var(--phosphor);
    box-shadow: 0 0 8px rgba(0, 232, 255, 0.4);
}
.pricing-copy__formats {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0.45rem 0 0;
    min-height: 3.55rem;
}
.pricing-copy__glyph {
    margin: 0;
    font-family: var(--font-crt);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    border: 1px solid var(--border-strong);
    padding: 0.06rem 0.32rem 0.03rem;
    line-height: 1.3;
    white-space: nowrap;
    background: rgba(0, 232, 255, 0.06);
}
.pricing-copy__amount {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    font-family: var(--font-crt);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    letter-spacing: 0.03em;
    line-height: 1.05;
    color: var(--phosphor);
    text-shadow: 0 0 8px rgba(0, 232, 255, 0.35);
}
.pricing-copy__amount span {
    font-size: 1.2em;
}
.pricing-copy__unit {
    grid-column: 1 / -1;
    margin: 0.1rem 0 0;
    font-family: var(--font-crt);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}
.pricing-copy__sentence {
    grid-column: 1 / -1;
    margin: 0.75rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}
.legal .pricing-copy,
.faq .pricing-copy {
    margin: 1rem 0 1.4rem;
}
.crt-modal-body .pricing-copy__grid {
    gap: 0.65rem;
}
.landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem;
}
.landing-grid a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-strong);
    color: var(--phosphor);
    text-decoration: none;
    font-family: var(--font-crt);
    letter-spacing: 0.04em;
}
.landing-grid a:hover,
.landing-grid a:focus-visible,
.landing-grid a[aria-current="page"] {
    border-color: var(--phosphor);
    box-shadow: 0 0 12px rgba(0, 232, 255, 0.25);
}
.landing-grid a span {
    font-size: 0.95rem;
    color: var(--phosphor-dim);
    letter-spacing: 0;
    word-break: break-all;
}
.landing-grid--pitch {
    grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
    gap: 0.85rem;
}
.landing-grid--pitch a {
    font-family: var(--font-body);
    letter-spacing: 0;
    gap: 0.55rem;
    padding: 1rem 1.05rem 1.1rem;
}
.landing-grid--pitch strong {
    font-family: var(--font-crt);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.35);
}
.landing-grid--pitch .landing-grid__pitch {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    word-break: normal;
}
.landing-grid--pitch .landing-grid__files {
    color: var(--phosphor-dim);
    font-family: var(--font-crt);
    font-size: 1rem;
    letter-spacing: 0.02em;
    word-break: normal;
    margin-top: auto;
}
.sell-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 2rem;
}
.sell-points > li {
    margin: 0;
    padding: 1rem 1.05rem 1.15rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
}
.sell-points h3 {
    font-family: var(--font-crt);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0 0 0.45rem;
    color: var(--phosphor);
    text-shadow: 0 0 6px rgba(0, 232, 255, 0.35);
}
.sell-points p {
    margin: 0;
    line-height: 1.5;
}
code.endpoint {
    display: block;
    overflow-wrap: anywhere;
}
.legal-choice [data-paypal-buttons] {
    margin-top: 0.35rem;
    max-width: 28rem;
}
.address-row {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0 1rem;
    max-width: 36rem;
}
.checkout-form .field,
.account-form .field {
    max-width: 36rem;
}
.address-row .field {
    max-width: none;
}
input[readonly] {
    color: var(--phosphor-dim);
}
@media (max-width: 40rem) {
    .address-row {
        grid-template-columns: 1fr;
    }
}
.account-form {
    max-width: 36rem;
}
.customer-search {
    margin-bottom: 2rem;
}
.customer-search__row {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}
.customer-search__row input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}
.customer-search__row .btn {
    flex: 0 0 auto;
    width: auto;
}
.totp-qr {
    width: 220px;
    max-width: 100%;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #fff;
    color-scheme: light;
}
.totp-qr svg {
    display: block;
    width: 100%;
    height: auto;
}
.recovery-codes {
    font-family: var(--font-crt);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}
.key-plain {
    display: inline-block;
    word-break: break-all;
    color: var(--phosphor);
}
.key-copy-label {
    margin-bottom: 0.35rem;
}
.key-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
}
.key-copy .key-plain {
    flex: 1 1 auto;
    min-width: 0;
}
.key-copy .docs-copy {
    position: static;
    flex: 0 0 auto;
}
.key-reveal-box {
    margin: 1rem 0 1.25rem;
}
.api-keys-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 1rem 0 0.75rem;
}
.api-keys-toolbar__search {
    flex: 1 1 18rem;
    margin: 0;
    max-width: 26rem;
}
.api-keys-toolbar__count {
    margin: 0;
    font-family: var(--font-crt);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}
.api-keys-wrap {
    max-height: 28rem;
    overflow-y: auto;
    scrollbar-color: var(--phosphor-dim) #000;
    scrollbar-width: thin;
}
.api-keys {
    width: 100%;
    border-collapse: collapse;
}
.api-keys th,
.api-keys td {
    text-align: left;
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
}
.api-keys tbody tr {
    border-bottom: 1px solid var(--border-strong);
}
.api-keys th.action,
.api-keys td.action {
    text-align: right;
    white-space: nowrap;
}
.api-keys__name {
    overflow-wrap: anywhere;
}
.api-keys__prefix,
.api-keys__date {
    white-space: nowrap;
}
.api-keys__btns {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}
.api-keys__form {
    display: inline;
    margin: 0;
}
.api-keys .btn {
    min-height: 2.15rem;
    padding: 0.3rem 0.85rem;
    font-size: 1.1rem;
}
.api-keys__row--revoked {
    color: var(--phosphor-dim);
}
.api-keys__status {
    font-family: var(--font-crt);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}
.crt-modal.crt-modal--sm {
    max-width: 540px;
}
.key-modal__target {
    margin: 0 0 0.85rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.06);
}
.key-modal__actions {
    justify-content: flex-end;
}
@media (max-width: 40rem) {
    .api-keys thead {
        display: none;
    }
    .api-keys tbody tr {
        display: block;
        margin: 0 0 0.6rem;
        padding: 0.75rem 0.85rem;
        border: 1px solid var(--border-strong);
    }
    .table-wrap .api-keys td {
        display: block;
        padding: 0.15rem 0;
        border: 0;
        text-align: left;
    }
    .api-keys td.action {
        margin-top: 0.5rem;
        white-space: normal;
    }
    .api-keys__btns {
        justify-content: flex-start;
    }
}
.key-plain--lines {
    white-space: pre;
    word-break: normal;
}
.totp-qr {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.5rem;
    background: #fff;
    line-height: 0;
}
.totp-qr svg {
    width: 220px;
    height: 220px;
}
.curl-snippet,
.json-preview {
    overflow: auto;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
    font-size: 1rem;
    white-space: pre-wrap;
}
.curl-snippet--sm {
    font-size: 0.85rem;
    line-height: 1.45;
}
[data-paypal-buttons] {
    margin-top: 0.75rem;
    max-width: 28rem;
    color-scheme: normal;
}
[data-paypal-buttons] iframe {
    color-scheme: normal;
    background-color: transparent;
}
.status-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
}
.status-dot--ok {
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
}
.status-dot--err {
    background: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}
.table-wrap th.col-status,
.table-wrap td.col-status {
    text-align: center;
    vertical-align: middle;
    width: 4.5rem;
}
/* --- API status flap (top left) ------------------------------------- */

.api-status {
    position: fixed;
    top: 0;
    left: 1.15rem;
    z-index: 320;
    font-family: var(--font-crt);
}

.api-status details {
    position: relative;
}

.api-status__tab {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    margin: 0;
    padding: 0.4rem 0.75rem 0.45rem;
    color: var(--phosphor);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    line-height: 1;
    border: 1px solid var(--border-strong);
    border-top: 0;
    border-radius: 0 0 0.85rem 0.85rem;
    background: #000d0f;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.api-status__tab::-webkit-details-marker {
    display: none;
}

.api-status__tab::marker {
    content: '';
}

.api-status__tab .status-dot {
    flex-shrink: 0;
    background: var(--phosphor);
    box-shadow: 0 0 6px var(--phosphor);
}

.api-status__tab .status-dot--err {
    background: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}

.api-status__tab:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.api-status__panel {
    position: absolute;
    left: 0;
    top: calc(100% + 0.45rem);
    width: min(24rem, calc(100vw - 2rem));
    max-height: min(70vh, 32rem);
    overflow: auto;
    padding: 0.85rem 1rem;
    background: #000d0f;
    border: 1px solid var(--border-strong);
    box-shadow: 0 0 18px rgba(0, 232, 255, 0.22);
}

.api-status__title {
    margin: 0 2.4rem 0.6rem 0;
    letter-spacing: 0.08em;
}

.api-status__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.api-status__list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.15rem 0.55rem;
    align-items: center;
    padding: 0.35rem 0;
    border-top: 1px solid rgba(0, 232, 255, 0.16);
}

.api-status__list li:first-child {
    border-top: 0;
}

.api-status__list a {
    color: inherit;
    text-decoration: none;
}

.api-status__list a:hover,
.api-status__list a:focus-visible {
    color: var(--phosphor);
    text-decoration: underline;
}

.api-status__path {
    grid-column: 2 / -1;
}

.api-status__list code {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.api-status__state {
    letter-spacing: 0.06em;
}

.api-pause {
    margin: 0.4rem 0 0;
    padding: 0.9rem 1rem 1rem 1.75rem;
    border: 1px solid rgba(0, 232, 255, 0.35);
}

.api-pause legend {
    padding: 0 0.45rem;
    font-family: var(--font-crt);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
}

.api-pause__list {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
}

.api-pause__list li {
    margin: 0;
}

.api-pause__list .legal-choice__option {
    margin: 0.45rem 0;
}

@media print {
    .api-status {
        display: none;
    }
}

.account-tabs__tab .status-dot {
    width: 0.6rem;
    height: 0.6rem;
    margin-left: 0.35rem;
    vertical-align: 0.08em;
}

/* --- Interactive Input-to-JSON hero preview ------------------------- */

.hero-preview {
    margin: 1.5rem 0 2.15rem;
}

.hero-preview__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 -1px;
}

.hero-preview__tab {
    margin: 0;
    min-height: 2.55rem;
    padding: 0.42rem 0.95rem 0.38rem;
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--phosphor-dim);
    background: rgba(0, 232, 255, 0.04);
    border: 1px solid var(--border);
    border-bottom: none;
    cursor: pointer;
    touch-action: manipulation;
}

.hero-preview__tab:hover,
.hero-preview__tab:focus-visible {
    color: var(--phosphor);
    background: rgba(0, 232, 255, 0.1);
}

.hero-preview__tab:focus-visible,
.code-tabs__lang:focus-visible,
.curl-snippet:focus-visible,
.json-preview:focus-visible {
    outline: 2px solid var(--phosphor);
    outline-offset: 2px;
}

.hero-preview__tab[aria-pressed="true"] {
    color: var(--phosphor);
    text-shadow: 0 0 5px var(--phosphor);
    border-color: var(--border-strong);
    background: rgba(0, 13, 15, 0.92);
}

@media (max-width: 44rem) {
    .hero-preview__bar {
        flex-direction: column;
        gap: 0.35rem;
        margin: 0 0 0.5rem;
    }

    .hero-preview__tab {
        width: 100%;
        text-align: left;
        border: 1px solid var(--border);
    }

    .hero-preview__tab[aria-pressed="true"] {
        border-color: var(--phosphor);
        background: rgba(0, 232, 255, 0.12);
    }
}

.hero-preview__panel {
    position: relative;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(0, 232, 255, 0.14);
}

.hero-preview__panel[hidden] {
    display: none;
}

.hero-preview__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--phosphor);
    box-shadow: 0 0 10px rgba(0, 232, 255, 0.45);
}

.hero-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-items: stretch;
}

@media (min-width: 48rem) {
    .hero-preview__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    }
}

.hero-preview__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.85rem 0.95rem 0.95rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.32);
}

@media (max-width: 36rem) {
    .hero-preview__panel {
        padding: 0.85rem 0.75rem 0.95rem;
    }

    .hero-preview__col {
        padding: 0.75rem 0.75rem 0.85rem;
    }
}

.hero-preview__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.6rem;
    margin: 0 0 0.4rem;
}

.hero-preview__kicker {
    font-family: var(--font-crt);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--phosphor);
}

.hero-preview__badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.hero-preview__format,
.hero-preview__schema {
    font-family: var(--font-crt);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    color: var(--phosphor);
    border: 1px solid var(--border-strong);
    background: rgba(0, 232, 255, 0.07);
    padding: 0.06rem 0.4rem 0.04rem;
    line-height: 1.25;
}

.hero-preview__place {
    font-family: var(--font-crt);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.06rem 0.36rem 0.03rem;
    line-height: 1.3;
    color: var(--bg-mid);
    background: var(--phosphor);
    border: 1px solid var(--phosphor);
}

.hero-preview__status {
    font-family: var(--font-crt);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 0.06rem 0.42rem 0.04rem;
    line-height: 1.25;
    border: 1px solid currentColor;
}

.hero-preview__status--ok {
    color: var(--ok);
    background: rgba(125, 211, 95, 0.1);
}

.hero-preview__status--warn {
    color: var(--danger);
    background: rgba(255, 107, 61, 0.12);
}

.hero-preview__file {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    color: var(--ink-muted);
}

.hero-preview__doc {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
}

.hero-preview__row {
    display: grid;
    grid-template-columns: 6.2rem 1fr;
    gap: 0.2rem 0.65rem;
    padding: 0.38rem 0;
    border-bottom: 1px dashed rgba(0, 232, 255, 0.22);
    font-size: 0.94rem;
    line-height: 1.45;
}

@media (max-width: 24rem) {
    .hero-preview__row {
        grid-template-columns: 1fr;
        gap: 0.08rem;
    }
}

.hero-preview__row--flagged {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    border-bottom-color: var(--danger);
    background: rgba(255, 107, 61, 0.09);
    box-shadow: inset 3px 0 0 var(--danger);
}

.hero-preview__doc dt {
    font-family: var(--font-crt);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}

.hero-preview__doc dd {
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.hero-preview__flag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    font-family: var(--font-crt);
    font-size: 0.85rem;
    line-height: 1.15;
    vertical-align: baseline;
    letter-spacing: 0.04em;
    color: var(--danger);
    border: 1px solid var(--danger);
    background: rgba(0, 0, 0, 0.45);
}

.hero-preview__note {
    margin: auto 0 0;
    padding-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ink-muted);
}

.hero-preview__json-wrap {
    position: relative;
    flex: 1 1 0;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
}

.hero-preview__json-wrap .docs-copy {
    z-index: 2;
}

.docs-snippet .hero-preview__json {
    margin: 0;
    padding-right: 1rem;
    flex: 1 1 0;
    min-height: 0;
    max-height: 18rem;
    font-size: 0.84rem;
    line-height: 1.42;
    white-space: pre;
    overflow: auto;
}

@media (min-width: 48rem) {
    .hero-preview__json-wrap {
        min-height: 0;
    }

    .docs-snippet .hero-preview__json {
        position: absolute;
        inset: 0;
        height: 100%;
        max-height: none;
    }
}

.hero-preview__try {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

.hero-preview__try-label {
    margin: 0 0 0.35rem;
    font-family: var(--font-crt);
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    color: var(--phosphor-dim);
}

.hero-preview__try .curl-snippet {
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}

