/* ═══════════════════════════════════════════════════════════════════════════
   Probatix Pricing — design system
   Tokens are taken from probatix.com so the tool reads as part of the brand:
   Poppins, the purple gradient, navy "platform" panels and pill badges.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted: no request to Google) ─────────────────────────────── */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

/* ── Tokens ────────────────────────────────────────────────────────────────── */

:root {
    --px-navy: #19223A;
    --px-navy-deep: #0F1729;
    --px-ink: #20293A;
    --px-muted: #475569;
    --px-subtle: #64748B;
    --px-faint: #94A3B8;
    --px-line: #E2E8F0;
    --px-line-strong: #CBD5E1;
    --px-bg: #F7F7FB;

    --px-purple: #9852F9;
    --px-purple-hover: #8338EC;
    --px-grad: linear-gradient(135deg, #9852F9, #9600FA);
    --px-purple-soft: rgba(152, 82, 249, 0.07);
    --px-purple-line: rgba(152, 82, 249, 0.25);
    --px-green: #047857;
    --px-green-bright: #34D399;

    --px-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --px-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 18px rgba(15, 23, 42, 0.05);
    --px-shadow-dark: 0 24px 80px rgba(15, 23, 42, 0.22), 0 8px 24px rgba(15, 23, 42, 0.12);
    --px-glow: 0 4px 20px rgba(152, 82, 249, 0.25);

    --px-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --px-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --px-nav-h: 64px;

    /* Bootstrap is still loaded for grid and print utilities */
    --bs-body-font-family: var(--px-font);
    --bs-body-color: var(--px-ink);
    --bs-body-bg: var(--px-bg);
    --bs-border-color: var(--px-line);
    --bs-emphasis-color: var(--px-navy-deep);
    --bs-link-color-rgb: 152, 82, 249;
    --bs-link-hover-color-rgb: 131, 56, 236;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */

body {
    font-family: var(--px-font);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--px-ink);
    background-color: var(--px-bg);
    background-image: radial-gradient(1100px 420px at 85% -160px, rgba(152, 82, 249, 0.09), transparent 70%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { color: var(--px-navy-deep); letter-spacing: -0.01em; }
::selection { background: rgba(152, 82, 249, 0.2); }
:focus-visible { outline: 2px solid var(--px-purple); outline-offset: 2px; }
.tabular { font-variant-numeric: tabular-nums; }
.px-icon { flex-shrink: 0; }
.px-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.px-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 1.5rem; }
@media (max-width: 575.98px) { .px-container { padding-inline: 1rem; } }

/* ── Navigation ────────────────────────────────────────────────────────────── */

.px-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--px-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.px-nav-inner { display: flex; align-items: center; gap: 1.75rem; min-height: var(--px-nav-h); }
.px-nav-logo { display: block; line-height: 0; }
.px-nav-logo img { height: 28px; width: auto; }

.px-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.px-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background-color 0.15s, box-shadow 0.2s;
}
.px-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.px-tab.is-active { color: #fff; background: var(--px-grad); box-shadow: var(--px-glow); }

.px-nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.px-market {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

.px-seg {
    display: inline-flex;
    padding: 3px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.px-seg a {
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
}
.px-seg a:hover { color: #fff; }
.px-seg a.is-active { background: #fff; color: var(--px-navy); }

.px-seg-light { background: var(--px-bg); border-color: var(--px-line); }
.px-seg-light a { color: var(--px-subtle); }
.px-seg-light a:hover { color: var(--px-navy-deep); }
.px-seg-light a.is-active { background: var(--px-navy); color: #fff; }

.px-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
}
.px-logout:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

@media (max-width: 767.98px) {
    .px-nav-inner { flex-wrap: wrap; gap: 0.6rem 0.75rem; padding-block: 0.65rem; min-height: 0; }
    .px-nav-logo img { height: 24px; }
    .px-nav-right { gap: 0.5rem; }
    .px-tabs { order: 3; width: 100%; }
    .px-tab { flex: 1; justify-content: center; padding-inline: 0.5rem; }
    .px-market-label, .px-logout-label { display: none; }
    .px-market { padding: 0.25rem 0.55rem; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .px-nav-inner { gap: 1rem; }
    .px-market-label, .px-logout-label { display: none; }
}

/* ── Page header ───────────────────────────────────────────────────────────── */

.px-page { padding-block: 2.5rem 4rem; }
@media (max-width: 767.98px) { .px-page { padding-block: 1.5rem 3rem; } }

.px-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: 2rem;
}
.px-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    border-radius: 9999px;
    background: var(--px-purple-soft);
    border: 1px solid var(--px-purple-line);
    color: var(--px-purple);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}
.px-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(152, 82, 249, 0.18);
}
.px-eyebrow-sep { opacity: 0.45; }
.px-h1 {
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0.9rem 0 0.6rem;
}
.px-accent { color: var(--px-purple); }
.px-lead { color: var(--px-muted); font-size: 1.02rem; max-width: 58ch; margin: 0; }
.px-header-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.px-stat { display: flex; flex-direction: column; line-height: 1.1; }
.px-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--px-navy-deep); font-variant-numeric: tabular-nums; }
.px-stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--px-subtle); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.px-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s var(--px-ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.px-btn-primary { background: var(--px-grad); color: #fff; box-shadow: var(--px-glow); }
.px-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(152, 82, 249, 0.38); }
.px-btn-primary:active { transform: none; }
.px-btn:disabled, .px-btn:disabled:hover { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.px-btn-secondary { background: rgba(255, 255, 255, 0.9); border-color: var(--px-line-strong); color: #334155; }
.px-btn-secondary:hover { background: #fff; border-color: var(--px-purple-line); color: var(--px-purple); }
.px-btn-ghost { background: transparent; color: var(--px-subtle); padding: 0.45rem 0.7rem; font-size: 0.82rem; border-radius: 8px; }
.px-btn-ghost:hover { color: var(--px-purple); background: var(--px-purple-soft); }
.px-btn-sm { padding: 0.5rem 0.85rem; font-size: 0.82rem; border-radius: 10px; }
.px-btn-block { width: 100%; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */

.px-card { background: #fff; border: 1px solid var(--px-line); border-radius: 16px; box-shadow: var(--px-shadow); }
.px-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--px-line); }
.px-card-body { padding: 1.25rem 1.5rem; }
.px-card-title { margin: 0; font-size: 1rem; font-weight: 600; color: var(--px-navy-deep); }
.px-card-meta { margin-left: auto; display: flex; align-items: center; gap: 0.35rem; }
.px-step {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--px-navy);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}
.px-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--px-subtle); }
.px-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: var(--px-purple-soft);
    border: 1px solid var(--px-purple-line);
    color: var(--px-purple);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .px-card-head, .px-card-body { padding-inline: 1.1rem; }
    .px-card-head .px-card-meta { width: 100%; margin-left: 0; justify-content: space-between; padding-left: calc(28px + 0.75rem); }
    .px-card-head .px-btn-ghost { margin-right: -0.7rem; }
}

/* ── Form controls ─────────────────────────────────────────────────────────── */

.px-field { position: relative; }
.px-field > .px-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--px-faint); pointer-events: none; }
.px-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.8rem;
    border: 1px solid var(--px-line-strong);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--px-ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.px-input.is-plain { padding-left: 1rem; }
.px-input::placeholder { color: var(--px-faint); }
.px-input:focus { outline: none; border-color: var(--px-purple); box-shadow: 0 0 0 4px rgba(152, 82, 249, 0.14); }
.px-input::-webkit-search-cancel-button { cursor: pointer; }

.px-select {
    height: 40px;
    padding: 0 2.2rem 0 0.85rem;
    border: 1px solid var(--px-line-strong);
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--px-ink);
    appearance: none;
}
.px-select:focus { outline: none; border-color: var(--px-purple); box-shadow: 0 0 0 4px rgba(152, 82, 249, 0.14); }

/* ── Chips ─────────────────────────────────────────────────────────────────── */

.px-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.px-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    border: 1px solid var(--px-line);
    border-radius: 9999px;
    background: #fff;
    box-shadow: var(--px-shadow-sm);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--px-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.px-chip:hover { border-color: var(--px-purple-line); color: var(--px-ink); }
.px-chip.is-active { background: rgba(152, 82, 249, 0.1); border-color: var(--px-purple); color: var(--px-purple); box-shadow: none; }
.px-chip-count {
    padding: 0 0.42rem;
    border-radius: 9999px;
    background: #F1F5F9;
    color: var(--px-subtle);
    font-size: 0.7rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.px-chip.is-active .px-chip-count { background: rgba(152, 82, 249, 0.16); color: var(--px-purple); }
.px-chip-sub { font-size: 0.74rem; color: var(--px-subtle); }
.px-chip-sub.is-included { color: var(--px-green); }
.px-chip.is-active .px-chip-sub { color: var(--px-purple); }

@media (max-width: 767.98px) {
    .px-chips.px-scroll-x {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -1.1rem;
        padding: 2px 1.1rem 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .px-chips.px-scroll-x::-webkit-scrollbar { display: none; }
}

/* ── Sample types (calculator dots) ────────────────────────────────────────── */

.st-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--px-faint); }
.st-dot.sample-bld_serum, .st-dot.sample-bld_edta, .st-dot.sample-bld_serum_edta { background: #EF4444; }
.st-dot.sample-saliva { background: var(--px-purple); }
.st-dot.sample-urine { background: #F59E0B; }
.st-dot.sample-stool { background: #92400E; }
.st-dot.sample-vag_swab { background: #EC4899; }

/* Collection systems */
.sys-dot { display: inline-block; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--px-faint); }
.sys-lancet { --sys: #EF4444; --sys-bg: #FEF2F2; --sys-line: #FECACA; --sys-ink: #B91C1C; }
.sys-tasso { --sys: #9852F9; --sys-bg: #F7F1FF; --sys-line: #E4D2FE; --sys-ink: #7E22CE; }
.sys-tap { --sys: #0EA5E9; --sys-bg: #F0F9FF; --sys-line: #BAE6FD; --sys-ink: #0369A1; }
.sys-urine { --sys: #F59E0B; --sys-bg: #FFFBEB; --sys-line: #FDE68A; --sys-ink: #B45309; }
.sys-stool { --sys: #92400E; --sys-bg: #FAF5F0; --sys-line: #E7D5C4; --sys-ink: #78350F; }
.sys-swab { --sys: #EC4899; --sys-bg: #FDF2F8; --sys-line: #FBCFE8; --sys-ink: #BE185D; }
.sys-saliva { --sys: #14B8A6; --sys-bg: #F0FDFA; --sys-line: #99F6E4; --sys-ink: #0F766E; }
.sys-other { --sys: #94A3B8; --sys-bg: #F8FAFC; --sys-line: #E2E8F0; --sys-ink: #475569; }
.sys-dot[class*="sys-"] { background: var(--sys); }
.sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.65rem;
    border: 1px solid var(--sys-line, var(--px-line));
    border-radius: 9999px;
    background: var(--sys-bg, #F8FAFC);
    color: var(--sys-ink, #334155);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}
.sys-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sys, var(--px-faint)); }
.px-sys-sample { margin-top: 0.3rem; font-size: 0.72rem; color: var(--px-subtle); white-space: nowrap; }
.px-chip.is-empty { opacity: 0.45; }

/* ── Alerts ────────────────────────────────────────────────────────────────── */

.px-alert { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.82rem; line-height: 1.45; }
.px-alert .px-icon { margin-top: 0.1rem; }
.px-alert-danger { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.px-alert-warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }

/* ═══ Price list ═══════════════════════════════════════════════════════════ */

.px-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.px-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: 1.25rem 1.5rem; }
.px-toolbar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.55rem 1rem; }
.px-toolbar-row > .px-chips, .px-toolbar-row > .px-pack-row { grid-column: 1 / -1; }
.px-toolbar-actions { grid-column: 2; grid-row: 1; display: flex; gap: 0.25rem; margin: -0.35rem -0.5rem -0.35rem 0; }
.px-toolbar-divider { height: 1px; background: var(--px-line); margin-block: 0.1rem; }
@media (max-width: 767.98px) {
    .px-toolbar { padding: 1.1rem; }
}

.px-info { padding: 1.25rem 1.5rem; }
.px-info-title { font-weight: 600; color: var(--px-navy-deep); margin-bottom: 0.8rem; }
.px-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.55rem 1.5rem; }
.px-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.87rem; color: var(--px-muted); }
.px-check .px-icon { color: #059669; margin-top: 0.2rem; }

.px-table-card { overflow: clip; }
.px-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.px-table thead th {
    position: sticky;
    top: var(--px-nav-offset, var(--px-nav-h));
    z-index: 2;
    padding: 0.8rem 1rem;
    background: #FAFAFC;
    border-bottom: 1px solid var(--px-line);
    color: var(--px-subtle);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}
.px-table thead th:first-child { padding-left: 1.5rem; }
.px-table thead th:last-child { padding-right: 1.5rem; }
.px-table th.num, .px-table td.num { text-align: right; }
.px-table tbody td { padding: 1rem; border-bottom: 1px solid var(--px-line); vertical-align: top; }
.px-table tbody td:first-child { padding-left: 1.5rem; }
.px-table tbody td:last-child { padding-right: 1.5rem; }
.px-table tbody tr:last-child td { border-bottom: 0; }
.px-table tbody tr.profile-row { transition: background-color 0.15s; }
.px-table tbody tr.profile-row:hover { background: #FBFAFF; }
.px-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

th.sortable { cursor: pointer; user-select: none; transition: color 0.15s; }
th.sortable:hover { color: var(--px-ink); }
th.sortable.is-sorted { color: var(--px-purple); }
.sort-indicator { display: inline-block; min-width: 0.8em; margin-left: 0.3rem; font-size: 0.75em; }

.px-profile-name { font-weight: 600; color: var(--px-navy-deep); line-height: 1.35; }
button.px-profile-name { display: block; padding: 0; border: 0; background: none; font-family: inherit; font-size: inherit; text-align: left; cursor: pointer; transition: color 0.15s; }
button.px-profile-name:hover { color: var(--px-purple); }
.px-table th.cell-action, .px-table td.cell-action { width: 1%; white-space: nowrap; text-align: right; }
.px-table td.cell-action { vertical-align: middle; }
.cell-action .px-btn { gap: 0.25rem; }
@media screen and (max-width: 1199.98px) {
    .px-table .cell-bio { display: none; }
}
/* Portrait tablets: tighter cells, wrapping headers and an icon-only detail button keep the table within the card */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .px-table thead th { padding-inline: 0.6rem; white-space: normal; }
    .px-table tbody td { padding-inline: 0.6rem; }
    .px-table thead th:first-child, .px-table tbody td:first-child { padding-left: 1.1rem; }
    .px-table thead th:last-child, .px-table tbody td:last-child { padding-right: 1.1rem; }
    .cell-action .px-btn { width: 36px; height: 36px; padding: 0; }
    .cell-action .px-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.px-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.px-uuid { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.4rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; color: var(--px-faint); }
/* the full ID wraps badly in the narrowed name column; it stays whole on phones, in print and in the detail panel */
.px-uuid-full { display: none; }
@media screen and (max-width: 767.98px) {
    .px-uuid-short { display: none; }
    .px-uuid-full { display: inline; }
}
.copy-uuid-btn { display: inline-grid; place-items: center; padding: 3px; border: 0; border-radius: 5px; background: none; color: var(--px-faint); line-height: 0; cursor: pointer; transition: color 0.15s, background-color 0.15s; }
.copy-uuid-btn:hover { color: var(--px-purple); background: var(--px-purple-soft); }
.px-contact-note { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.4rem; font-size: 0.72rem; color: var(--px-faint); }

.bio-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; max-width: 400px; }
.bio-chip { padding: 0.1rem 0.5rem; border-radius: 6px; background: #F1F5F9; color: var(--px-muted); font-size: 0.72rem; white-space: nowrap; }
.bio-chip.is-extra { display: none; }
.bio-chips.is-expanded .bio-chip.is-extra { display: inline-block; }
.bio-more { padding: 0.1rem 0.3rem; border: 0; background: none; color: var(--px-purple); font-family: inherit; font-size: 0.72rem; font-weight: 600; cursor: pointer; }
.bio-more:hover { text-decoration: underline; }

.px-price { font-size: 1.05rem; font-weight: 700; color: var(--px-navy-deep); }
.px-uvp { font-weight: 500; color: var(--px-muted); }
.px-margin { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; }
.px-margin-val { font-weight: 600; color: var(--px-green); }
.px-margin-pct { padding: 0.02rem 0.45rem; border-radius: 9999px; background: #ECFDF5; color: var(--px-green); font-size: 0.66rem; font-weight: 600; }
.px-empty { padding: 3rem 1rem !important; text-align: center; color: var(--px-subtle); }

.px-mobile-sort { display: none; }
.px-cell-label { display: none; }

/* Price list on phones: every row becomes a card, so UVP and margin stay visible.
   Screen-only, because a printed A4 page is also narrower than 768 CSS px. */
@media screen and (max-width: 767.98px) {
    .px-mobile-sort { display: flex; align-items: center; gap: 0.6rem; }
    .px-mobile-sort .px-select { flex: 1; }
    .px-table thead { display: none; }
    .px-table, .px-table tbody { display: block; }
    .px-table tbody tr.profile-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem 0.75rem;
        padding: 1.1rem;
        border-bottom: 1px solid var(--px-line);
    }
    .px-table tbody tr.profile-row:last-of-type { border-bottom: 0; }
    .px-table tbody td { display: block; padding: 0 !important; border: 0; }
    .px-table td.cell-name, .px-table td.cell-system { grid-column: 1 / -1; }
    .px-table td.cell-system { display: flex !important; align-items: center; gap: 0.6rem; }
    .px-sys-sample { margin-top: 0; }
    .px-table td.cell-action { grid-column: 1 / -1; width: auto; margin-top: 0.2rem; }
    .px-table td.cell-action .px-btn { width: 100%; }
    .px-table td.num { text-align: left; padding-top: 0.6rem !important; border-top: 1px dashed var(--px-line); }
    .px-cell-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--px-faint); margin-bottom: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .px-margin { align-items: flex-start; }
    .bio-chips { max-width: none; }
    .px-price { font-size: 1rem; }
    #no-results-row td { display: block; }
}

/* ═══ Calculator ═══════════════════════════════════════════════════════════ */

.px-calc { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 1.5rem; align-items: start; }
.px-calc-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
.px-calc-aside { position: sticky; top: calc(var(--px-nav-offset, var(--px-nav-h)) + 1.25rem); min-width: 0; scroll-margin-top: calc(var(--px-nav-offset, var(--px-nav-h)) + 1rem); }
@media (max-width: 1199.98px) { .px-calc { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (max-width: 991.98px) {
    .px-calc { grid-template-columns: minmax(0, 1fr); }
    .px-calc-aside { position: static; }
}

/* Biomarker picker */
.px-bm-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; padding: 1rem 1.5rem 1.1rem; border-bottom: 1px solid var(--px-line); }
.px-bm-summary { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--px-subtle); }
.px-bm-list { max-height: 520px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--px-line-strong) transparent; }
@media (max-width: 991.98px) { .px-bm-list { max-height: 56vh; } }
.px-bm {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0.7rem 1.5rem;
    border-bottom: 1px solid #F1F5F9;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.12s;
}
.px-bm:last-child { border-bottom: 0; }
.px-bm:hover { background: #FBFAFF; }
.px-bm.is-selected { background: rgba(152, 82, 249, 0.06); }
.px-bm input { position: absolute; opacity: 0; pointer-events: none; }
.px-bm:has(input:focus-visible) { outline: 2px solid var(--px-purple); outline-offset: -2px; }
.px-checkbox {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1.5px solid var(--px-line-strong);
    border-radius: 6px;
    background: #fff;
    color: #fff;
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.2s;
}
.px-checkbox svg { opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform 0.2s var(--px-ease); }
.px-bm.is-selected .px-checkbox { background: var(--px-grad); border-color: transparent; box-shadow: 0 2px 8px rgba(152, 82, 249, 0.35); }
.px-bm.is-selected .px-checkbox svg { opacity: 1; transform: scale(1); }
.px-bm-body { min-width: 0; }
.px-bm-name { font-weight: 500; color: var(--px-navy-deep); line-height: 1.3; }
.px-bm-meta { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.12rem; font-size: 0.72rem; color: var(--px-subtle); }
.px-bm-price { margin-left: auto; padding-left: 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--px-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-bm.is-selected .px-bm-price { color: var(--px-purple); }
.px-bm-empty { padding: 2.5rem 1.5rem; text-align: center; color: var(--px-subtle); font-size: 0.9rem; }
@media (max-width: 575.98px) { .px-bm-tools, .px-bm { padding-inline: 1.1rem; } }

/* Tube fill */
.px-tubes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; padding: 1rem 1.5rem 1.15rem; border-top: 1px solid var(--px-line); background: #FCFCFD; border-radius: 0 0 16px 16px; }
.px-tubes-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.px-tube { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 0.75rem; font-size: 0.8rem; }
.px-tube-name { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; color: var(--px-ink); }
.px-tube-pct { color: var(--px-subtle); font-variant-numeric: tabular-nums; }
.px-tube-pct.is-over { color: #DC2626; font-weight: 700; }
.px-pill.is-over { border-color: #FECACA; background: #FEF2F2; color: #B91C1C; }
.px-meter { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 9999px; background: #EEF2F6; }
.px-meter > span { display: block; height: 100%; border-radius: inherit; background: #10B981; transition: width 0.35s var(--px-ease), background-color 0.2s; }
.px-meter > span.is-warn { background: #F59E0B; }
.px-meter > span.is-over { background: #EF4444; }
@media (max-width: 575.98px) { .px-tubes { padding-inline: 1.1rem; } }

/* Option cards (blood collection, packaging) */
.px-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (max-width: 575.98px) { .px-options { grid-template-columns: minmax(0, 1fr); } }
.px-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--px-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.2s;
}
.px-option:hover { border-color: var(--px-purple-line); }
.px-option input { position: absolute; opacity: 0; pointer-events: none; }
.px-option:has(input:focus-visible) { outline: 2px solid var(--px-purple); outline-offset: 2px; }
.px-radio {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    border: 1.5px solid var(--px-line-strong);
    border-radius: 50%;
    transition: background-color 0.15s, border-color 0.15s;
}
.px-radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform 0.2s var(--px-ease); }
.px-option:has(input:checked) { border-color: var(--px-purple); background: rgba(152, 82, 249, 0.05); box-shadow: 0 0 0 3px rgba(152, 82, 249, 0.12); }
.px-option:has(input:checked) .px-radio { background: var(--px-grad); border-color: transparent; }
.px-option:has(input:checked) .px-radio::after { transform: scale(1); }
.px-option-body { flex: 1; min-width: 0; }
.px-option-title { font-size: 0.88rem; font-weight: 600; line-height: 1.35; color: var(--px-navy-deep); }
.px-option-desc { margin-top: 0.15rem; font-size: 0.76rem; line-height: 1.4; color: var(--px-subtle); }
.px-option-price { padding-left: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--px-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.px-option-price.is-included { color: var(--px-green); }
.px-option-note { display: block; font-size: 0.68rem; font-weight: 500; color: var(--px-subtle); text-align: right; }

/* Packaging tiles — a mockup per option; large in the calculator, compact in the price list */
.px-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.px-pack { position: relative; min-width: 0; }
.px-pack-select {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--px-line);
    border-radius: 14px;
    background: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.2s;
}
.px-pack-select:hover { border-color: var(--px-purple-line); }
.px-pack-select input { position: absolute; opacity: 0; pointer-events: none; }
.px-pack-select:has(input:focus-visible), .px-pack-select:focus-visible { outline: 2px solid var(--px-purple); outline-offset: 2px; }
.px-pack-select:has(input:checked), .px-pack-select.is-active { border-color: var(--px-purple); background: rgba(152, 82, 249, 0.05); box-shadow: 0 0 0 3px rgba(152, 82, 249, 0.12); }
.px-pack-select:has(input:checked) .px-radio { background: var(--px-grad); border-color: transparent; }
.px-pack-select:has(input:checked) .px-radio::after { transform: scale(1); }
.px-pack-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #ECEBF2; }
.px-pack-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--px-ease); }
.px-pack-select:hover .px-pack-media img { transform: scale(1.04); }
.px-pack-body { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.2rem 0.65rem; padding: 0.8rem 0.95rem 0.9rem; }
.px-pack-body .px-radio { grid-row: span 2; }
.px-pack-name { font-size: 0.86rem; font-weight: 600; line-height: 1.35; color: var(--px-navy-deep); }
.px-pack-price { font-size: 0.8rem; font-weight: 600; color: var(--px-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.px-pack-price.is-included { color: var(--px-green); }
.px-pack-select.is-active .px-pack-price:not(.is-included) { color: var(--px-purple); }
.px-pack-zoom {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(15, 23, 41, 0.06);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(15, 23, 41, 0.12);
    color: var(--px-navy-deep);
    cursor: zoom-in;
    transition: transform 0.15s var(--px-ease), color 0.15s, background-color 0.15s;
}
.px-pack-zoom:hover { background: #fff; color: var(--px-purple); transform: scale(1.08); }
.px-pack-zoom:focus-visible { outline: 2px solid var(--px-purple); outline-offset: 2px; }

.px-pack-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.px-pack.is-compact .px-pack-select { flex-direction: row; align-items: center; gap: 0.75rem; padding: 0.4rem 0.8rem 0.4rem 0.4rem; border-radius: 12px; }
.px-pack.is-compact .px-pack-media { width: 78px; flex-shrink: 0; border-radius: 8px; }
.px-pack-text { display: grid; gap: 0.1rem; min-width: 0; }
.px-pack.is-compact .px-pack-name { font-size: 0.8rem; font-weight: 500; line-height: 1.3; color: var(--px-ink); }
.px-pack.is-compact .px-pack-select.is-active .px-pack-name { color: var(--px-purple); font-weight: 600; }
.px-pack.is-compact .px-pack-price { font-size: 0.74rem; font-weight: 500; color: var(--px-subtle); }
.px-pack.is-compact .px-pack-price.is-included { color: var(--px-green); }
/* sits on the thumbnail's lower right corner; the thumbnail is 78 × 52 and vertically centred */
.px-pack.is-compact .px-pack-zoom { top: calc(50% + 26px - 25px); left: calc(0.4rem + 78px - 25px); right: auto; width: 22px; height: 22px; }
.px-pack.is-compact .px-pack-zoom .px-icon { width: 12px; height: 12px; }

@media (max-width: 1199.98px) { .px-pack-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .px-pack-row {
        display: flex;
        overflow-x: auto;
        margin-inline: -1.1rem;
        padding: 3px 1.1rem 5px;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 1.1rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .px-pack-row::-webkit-scrollbar { display: none; }
    .px-pack-row > .px-pack { flex: 0 0 min(250px, 78%); scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
    .px-packs { gap: 0.6rem; }
    .px-pack-body { grid-template-columns: minmax(0, 1fr); padding: 0.65rem 0.75rem 0.75rem; }
    .px-pack-body .px-radio { display: none; }
    .px-pack-name { font-size: 0.8rem; }
    .px-pack-price { font-size: 0.76rem; }
    .px-pack:not(.is-compact) .px-pack-zoom { top: 0.4rem; right: 0.4rem; width: 30px; height: 30px; }
}

/* Packaging preview dialog */
.px-lightbox {
    width: min(920px, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--px-shadow-dark);
    color: var(--px-ink);
}
.px-lightbox[open] { animation: px-lb-in 0.28s var(--px-ease); }
.px-lightbox::backdrop { background: rgba(15, 23, 41, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes px-lb-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.px-lb { display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.px-lb-media { position: relative; flex: 0 1 auto; min-height: 0; background: #ECEBF2; }
.px-lb-media img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 12rem); aspect-ratio: 3 / 2; object-fit: cover; user-select: none; }
.px-lb-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(15, 23, 41, 0.06);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(15, 23, 41, 0.14);
    color: var(--px-navy-deep);
    cursor: pointer;
    transition: transform 0.15s var(--px-ease), color 0.15s, background-color 0.15s;
}
.px-lb-btn:hover { background: #fff; color: var(--px-purple); }
.px-lb-btn:focus-visible { outline: 2px solid var(--px-purple); outline-offset: 2px; }
.px-lb-close { top: 1rem; right: 1rem; }
.px-lb-nav { top: 50%; transform: translateY(-50%); }
.px-lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.px-lb-nav.is-prev { left: 1rem; }
.px-lb-nav.is-next { right: 1rem; }
.px-lb-dots { position: absolute; left: 50%; bottom: 0.9rem; display: flex; gap: 0.4rem; padding: 0.35rem 0.55rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.8); transform: translateX(-50%); }
.px-lb-dots span { width: 6px; height: 6px; border-radius: 9999px; background: var(--px-line-strong); transition: width 0.25s var(--px-ease), background-color 0.2s; }
.px-lb-dots span.is-active { width: 18px; background: var(--px-purple); }
.px-lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.1rem 1.5rem 1.25rem; border-top: 1px solid var(--px-line); }
.px-lb-info { min-width: 0; }
.px-lb-name { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--px-navy-deep); }
.px-lb-price { margin-top: 0.15rem; font-size: 0.9rem; font-weight: 600; color: var(--px-ink); font-variant-numeric: tabular-nums; }
.px-lb-price.is-included { color: var(--px-green); }
.px-lb-note { margin: 0.35rem 0 0; font-size: 0.76rem; color: var(--px-subtle); }
.px-lb-choose { flex-shrink: 0; }
.px-lb-choose.is-chosen, .px-lb-choose.is-chosen:disabled { opacity: 1; background: rgba(4, 120, 87, 0.08); color: var(--px-green); box-shadow: none; cursor: default; }
@media (max-width: 575.98px) {
    .px-lightbox { width: calc(100% - 1.25rem); border-radius: 16px; }
    .px-lb-btn { width: 36px; height: 36px; }
    .px-lb-close { top: 0.6rem; right: 0.6rem; }
    .px-lb-nav.is-prev { left: 0.6rem; }
    .px-lb-nav.is-next { right: 0.6rem; }
    .px-lb-foot { flex-direction: column; align-items: stretch; padding: 1rem 1.1rem 1.1rem; }
    .px-lb-name { font-size: 1.02rem; }
}

/* Result panel */
.px-result {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: var(--px-navy);
    box-shadow: var(--px-shadow-dark);
    color: #CBD5E1;
}
.px-result::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(440px 240px at 100% 0%, rgba(152, 82, 249, 0.3), transparent 70%);
    pointer-events: none;
}
.px-result > * { position: relative; }
.px-result-section { padding: 1.35rem 1.5rem; }
.px-result-section + .px-result-section { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.px-result .px-label { color: rgba(255, 255, 255, 0.5); }

.px-title-input {
    width: 100%;
    padding: 0.3rem 0;
    border: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.15s;
}
.px-title-input::placeholder { color: rgba(255, 255, 255, 0.35); font-weight: 500; }
.px-title-input:focus { border-bottom-color: var(--px-purple); border-bottom-style: solid; }

.px-hero {
    margin: 0.45rem 0 0.35rem;
    color: #fff;
    font-size: clamp(2.4rem, 1.9rem + 1.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.px-hero-sub { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.px-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.1rem; }
.px-kpi { padding: 0.8rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.px-kpi-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.px-kpi-value { margin-top: 0.2rem; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.px-kpi-sub { margin-top: 0.1rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); }
.px-kpi.is-margin { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.25); }
.px-kpi.is-margin .px-kpi-value { color: var(--px-green-bright); }

.px-bar { display: flex; gap: 2px; height: 8px; margin-top: 1.1rem; overflow: hidden; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); }
.px-bar > span { height: 100%; transition: width 0.45s var(--px-ease); }
.seg-handling { background: #94A3B8; }
.seg-analysis { background: var(--px-purple); }
.seg-margin { background: var(--px-green-bright); }
.px-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: 0.6rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.px-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.px-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

.px-lines { display: grid; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.px-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.26rem 0; }
.px-line > span:last-child { white-space: nowrap; }
.px-line-group { color: #fff; font-weight: 600; }
.px-line-group + .px-line-sub { margin-top: 0.1rem; }
.px-line-sub { margin-left: 0.15rem; padding: 0.16rem 0 0.16rem 0.9rem; border-left: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
.px-line-sub.is-good { color: var(--px-green-bright); }
.px-line-spacer { height: 0.55rem; }
.px-line-total { margin-top: 0.55rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.95rem; font-weight: 700; }

.px-details summary { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; list-style: none; cursor: pointer; }
.px-details summary::-webkit-details-marker { display: none; }
.px-details summary .px-icon { color: rgba(255, 255, 255, 0.5); transition: transform 0.2s var(--px-ease); }
.px-details[open] summary .px-icon { transform: rotate(180deg); }
.px-selected { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.px-sel-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.18rem 0.25rem 0.18rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    color: #E2E8F0;
    font-size: 0.75rem;
    max-width: 100%;
}
.px-sel-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-sel-chip button { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.px-sel-chip button:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.px-result-empty { padding: 1.4rem 0 0.4rem; font-size: 0.86rem; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
.px-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 0.9rem; border: 1px solid rgba(152, 82, 249, 0.35); border-radius: 13px; background: rgba(152, 82, 249, 0.16); color: #C9A6FF; }
.px-result-empty strong { display: block; margin-bottom: 0.15rem; color: #fff; font-weight: 600; }
.px-fineprint { margin-top: 0.8rem; text-align: center; font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); }

/* Detail panel ("Mehr erfahren") — slides in from the right, a bottom sheet on phones */
.px-drawer { position: fixed; inset: 0; z-index: 1050; }
.px-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 41, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s ease; }
.px-drawer.is-open .px-drawer-backdrop { opacity: 1; }
.px-result.px-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(460px, 100%);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 0 0 20px;
    border-right: 0;
    transform: translateX(104%);
    transition: transform 0.3s var(--px-ease);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.px-result.px-drawer-panel:focus { outline: none; }
.px-drawer.is-open .px-drawer-panel { transform: none; }
.px-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.px-drawer-system { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 600; color: #fff; }
.px-drawer-sample { font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.px-drawer-close { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.75); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.px-drawer-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.px-drawer-title { margin: 0.9rem 0 0.5rem; color: #fff; font-size: 1.45rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.px-drawer-desc { margin: 0; font-size: 0.9rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.px-drawer-note { margin: 1rem 0 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.px-drawer-id { margin-top: 1rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }
.px-drawer-id code { margin-left: 0.3rem; color: rgba(255, 255, 255, 0.65); font-size: 0.7rem; }
.px-sel-chip.is-static { padding-right: 0.65rem; }
body.px-drawer-lock { overflow: hidden; }
@media (max-width: 575.98px) {
    .px-result.px-drawer-panel { top: auto; width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; border-right: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; transform: translateY(104%); padding-bottom: env(safe-area-inset-bottom); }
    .px-drawer-title { font-size: 1.25rem; }
}

/* Sticky price bar on phones and tablets */
.px-mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(25, 34, 58, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    transform: translateY(110%);
    transition: transform 0.3s var(--px-ease);
}
.px-mobilebar.is-visible { transform: none; }
.px-mb-main { min-width: 0; }
.px-mb-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.px-mb-total { font-size: 1.25rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.px-mb-sub { overflow: hidden; font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.px-mb-sub b { color: var(--px-green-bright); font-weight: 600; }
.px-mobilebar .px-btn { margin-left: auto; }
@media (max-width: 991.98px) {
    .px-mobilebar { display: flex; }
    body.has-mobilebar { padding-bottom: 5.5rem; }
}

/* ═══ OTC order ════════════════════════════════════════════════════════════ */

.px-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.px-perk { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.1rem; border: 1px solid var(--px-line); border-radius: 14px; background: #fff; box-shadow: var(--px-shadow); }
.px-perk-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: rgba(152, 82, 249, 0.1); color: var(--px-purple); }
.px-perk strong { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.3; color: var(--px-navy-deep); }
.px-perk span:not(.px-perk-icon) { display: block; margin-top: 0.15rem; font-size: 0.78rem; line-height: 1.4; color: var(--px-subtle); }
@media (max-width: 767.98px) { .px-perks { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; } .px-perk { padding: 0.8rem 0.95rem; } }

.px-otc-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.4rem 1.25rem;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #F1F5F9;
    transition: background-color 0.12s;
}
.px-otc-item:last-child { border-bottom: 0; }
.px-otc-group { border-bottom: 1px solid var(--px-line); background: linear-gradient(180deg, rgba(152, 82, 249, 0.06), rgba(152, 82, 249, 0.02)); }
.px-otc-group .px-otc-item { border-bottom-color: rgba(152, 82, 249, 0.1); }
.px-otc-group .px-otc-item:last-child { border-bottom: 0; }
.px-otc-group-head { display: grid; gap: 0.2rem; padding: 0.85rem 1.5rem 0.2rem; font-size: 0.78rem; line-height: 1.45; color: var(--px-muted); }
.px-otc-group-head strong { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--px-purple); }
.px-otc-group-head a { color: var(--px-purple); font-weight: 500; }
@media (max-width: 575.98px) { .px-otc-group-head { padding-inline: 1.1rem; } }
.px-otc-item:hover { background: #FBFAFF; }
.px-otc-item.is-selected { background: rgba(152, 82, 249, 0.06); }
.px-otc-name { font-weight: 500; line-height: 1.3; color: var(--px-navy-deep); }
.px-otc-meta { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.15rem; font-size: 0.74rem; color: var(--px-subtle); }
.px-otc-price { display: grid; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-otc-unit { font-size: 0.92rem; font-weight: 600; color: var(--px-ink); }
.px-otc-item.is-selected .px-otc-unit { color: var(--px-purple); }
.px-otc-was { margin-right: 0.3rem; font-size: 0.74rem; font-weight: 500; color: var(--px-faint); }
.px-otc-later { font-size: 0.72rem; color: var(--px-subtle); }
.px-otc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 128px; gap: 1.25rem; padding: 0.55rem 1.5rem; border-bottom: 1px solid var(--px-line); background: #FAFAFC; font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--px-subtle); }
.px-otc-head span:nth-child(2) { text-align: right; }
.px-otc-head span:nth-child(3) { text-align: center; }
@media (max-width: 575.98px) { .px-otc-head { display: none; } }
.px-otc-qty { display: grid; justify-items: center; gap: 0.2rem; }
.px-otc-line { min-height: 1em; font-size: 0.72rem; font-weight: 600; line-height: 1; color: var(--px-purple); font-variant-numeric: tabular-nums; }

.px-qty { display: inline-flex; align-items: stretch; overflow: hidden; border: 1px solid var(--px-line-strong); border-radius: 10px; background: #fff; }
.px-qty:focus-within { border-color: var(--px-purple); box-shadow: 0 0 0 3px rgba(152, 82, 249, 0.14); }
.px-qty-btn { width: 36px; height: 38px; padding: 0; border: 0; background: #F8FAFC; color: var(--px-navy-deep); font-family: inherit; font-size: 1.15rem; font-weight: 500; line-height: 1; cursor: pointer; transition: background-color 0.12s, color 0.12s; }
.px-qty-btn:hover { background: rgba(152, 82, 249, 0.1); color: var(--px-purple); }
.px-qty-btn:focus-visible { outline: 2px solid var(--px-purple); outline-offset: -2px; }
.px-qty-input { width: 3.4rem; border: 0; border-inline: 1px solid var(--px-line); text-align: center; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--px-navy-deep); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.px-qty-input:focus { outline: none; }
.px-qty-input::placeholder { color: var(--px-faint); font-weight: 500; }
.px-qty-input::-webkit-outer-spin-button, .px-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.px-otc-item.is-selected .px-qty { border-color: var(--px-purple-line); }

@media (max-width: 575.98px) {
    .px-otc-item { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 1.1rem; }
    .px-otc-body { grid-column: 1 / -1; }
    .px-otc-price { justify-items: start; min-width: 0; white-space: normal; }
}

/* Order panel: the content scrolls inside the panel, the order button never does.
   On desktop the button is the panel's footer; on phones it floats at the bottom
   of the screen while the panel is in view (overflow: clip keeps sticky working). */
.px-otc-panel { display: flex; flex-direction: column; overflow: clip; }
@media (min-width: 992px) {
    .px-otc-panel { max-height: calc(100vh - var(--px-nav-offset, var(--px-nav-h)) - 2.5rem); }
    .px-otc-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
}
.px-otc-cta {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
    padding: 0.9rem 1.5rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(25, 34, 58, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -14px 28px rgba(10, 15, 30, 0.45);
}
.px-otc-cta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.px-otc-cta-row strong { color: #fff; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.px-otc-cta .px-btn { padding-block: 0.9rem; font-size: 0.95rem; }
.px-otc-cta-hint { margin-top: 0.55rem; text-align: center; font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }
.px-otc-cta-hint.is-min { color: #FCD34D; }
@media (max-width: 575.98px) { .px-otc-cta { padding-inline: 1.1rem; } }
.px-dlink { justify-self: start; padding: 0; border: 0; background: none; color: #C9A6FF; font-family: inherit; font-size: 0.8rem; font-weight: 500; cursor: pointer; }
.px-dlink:hover { color: #fff; }
.px-dlink:focus-visible { outline: 2px solid var(--px-purple); outline-offset: 2px; border-radius: 4px; }
.px-ship { margin-top: 1rem; }
.px-ship-text { margin-bottom: 0.45rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.px-ship.is-free .px-ship-text { color: var(--px-green-bright); }
.px-ship-text b { font-weight: 700; }
.px-meter-dark { background: rgba(255, 255, 255, 0.1); }
.px-meter-dark > span { background: var(--px-grad); }
.px-ship.is-free .px-meter-dark > span { background: var(--px-green-bright); }
.px-ship.is-min .px-meter-dark > span { background: #F59E0B; }

.px-otc-sum-items { display: grid; gap: 0.15rem; margin-bottom: 0.8rem; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.px-otc-sum-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.55rem; color: #E2E8F0; }
.px-otc-sum-qty { min-width: 2.4em; color: rgba(255, 255, 255, 0.55); text-align: right; }
.px-otc-sum-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-otc-sum-amount { white-space: nowrap; }
.px-otc-sum-item button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, 0.45); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.px-otc-sum-item button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.px-otc-saving { display: flex; align-items: flex-start; gap: 0.45rem; margin-top: 0.85rem; padding: 0.55rem 0.75rem; border: 1px solid rgba(52, 211, 153, 0.25); border-radius: 10px; background: rgba(52, 211, 153, 0.08); color: var(--px-green-bright); font-size: 0.8rem; line-height: 1.4; }
.px-otc-saving .px-icon { flex-shrink: 0; margin-top: 0.1rem; }
.px-otc-later-box { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.6rem; padding: 0.65rem 0.75rem; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 10px; font-size: 0.8rem; line-height: 1.45; color: rgba(255, 255, 255, 0.65); }
.px-otc-later-box strong { display: block; color: #fff; font-weight: 600; }
.px-otc-later-icon { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: rgba(152, 82, 249, 0.2); color: #C9A6FF; }
@media (max-width: 575.98px) { .px-card-head.px-card-head-inline { flex-wrap: nowrap; } .px-card-head.px-card-head-inline .px-card-meta { width: auto; margin-left: auto; padding-left: 0; } }

.px-dfields { display: grid; gap: 0.7rem; }
.px-dfield { display: grid; gap: 0.3rem; margin: 0; }
.px-dlabel { font-size: 0.74rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); }
.px-dinput {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
textarea.px-dinput { resize: vertical; min-height: 2.9rem; line-height: 1.45; }
.px-dinput::placeholder { color: rgba(255, 255, 255, 0.3); }
.px-dinput:focus { outline: none; border-color: var(--px-purple); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 3px rgba(152, 82, 249, 0.25); }

.px-thanks { max-width: 620px; margin: 0 auto; padding: 2.5rem 2rem; text-align: center; }
.px-thanks:focus { outline: none; }
.px-thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1rem; border-radius: 50%; background: var(--px-grad); color: #fff; box-shadow: var(--px-glow); }
.px-thanks-title { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; color: var(--px-navy-deep); }
.px-thanks-text { margin: 0 auto 1.25rem; max-width: 46ch; color: var(--px-muted); }
.px-thanks-ref { display: inline-grid; gap: 0.2rem; margin-bottom: 1.5rem; padding: 0.7rem 1.4rem; border: 1px dashed var(--px-purple-line); border-radius: 12px; background: var(--px-purple-soft); }
.px-thanks-ref strong { font-size: 1.1rem; letter-spacing: 0.04em; color: var(--px-purple); font-variant-numeric: tabular-nums; }
.px-thanks-lines { display: grid; margin: 0 auto 1.75rem; max-width: 460px; text-align: left; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.px-thanks-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid #F1F5F9; color: var(--px-ink); }
.px-thanks-line > span:last-child { white-space: nowrap; }
.px-thanks-line.is-sub { color: var(--px-subtle); }
.px-thanks-saving { margin-top: 0.6rem; padding: 0.55rem 0.8rem; border-radius: 10px; background: #ECFDF5; color: var(--px-green); font-size: 0.82rem; font-weight: 500; text-align: center; }
.px-thanks-line.is-total { border-bottom: 0; padding-top: 0.6rem; font-weight: 700; color: var(--px-navy-deep); }
.px-thanks-later { margin-top: 0.5rem; padding: 0.55rem 0.8rem; border: 1px dashed var(--px-line-strong); border-radius: 10px; color: var(--px-muted); font-size: 0.82rem; text-align: center; }
.px-thanks-later strong { color: var(--px-navy-deep); font-weight: 600; }
@media (max-width: 575.98px) { .px-thanks { padding: 2rem 1.2rem; } }

/* Three nav tabs (the OTC tab) still have to fit a phone */
@media (max-width: 420px) { .px-tabs:has(.px-tab:nth-child(3)) .px-tab { padding-inline: 0.3rem; font-size: 0.78rem; } }

/* ── Footer ────────────────────────────────────────────────────────────────── */

.px-footer { border-top: 1px solid var(--px-line); padding: 1.5rem 0 2rem; font-size: 0.78rem; color: var(--px-subtle); }
.px-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }
.px-footer a { color: inherit; text-decoration: none; }
.px-footer a:hover { color: var(--px-purple); }
.px-footer-sep { margin-inline: 0.45rem; opacity: 0.5; }

/* ── Login ─────────────────────────────────────────────────────────────────── */

.px-login {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2.5rem 1rem;
    background-color: var(--px-navy);
    background-image:
        radial-gradient(640px 420px at 88% -8%, rgba(152, 82, 249, 0.34), transparent 70%),
        radial-gradient(560px 420px at -8% 108%, rgba(150, 0, 250, 0.2), transparent 70%);
}
.px-login-wrap { width: 100%; max-width: 420px; }
.px-login-brand { margin-bottom: 1.75rem; text-align: center; }
.px-login-brand img { height: 34px; width: auto; }
.px-login-card { padding: 2.25rem; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35); }
.px-login-title { margin: 0.9rem 0 0.35rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.px-login-prompt { margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--px-subtle); }
.px-form-label { display: block; margin-bottom: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--px-ink); }
.px-pw { position: relative; }
.px-pw .px-input { padding-right: 3rem; }
.px-pw-toggle { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--px-faint); cursor: pointer; }
.px-pw-toggle:hover { color: var(--px-purple); background: var(--px-purple-soft); }
.px-login-lang { display: flex; justify-content: center; margin-top: 1.5rem; }
.px-login-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2rem; text-align: center; font-size: 0.74rem; line-height: 1.55; color: rgba(255, 255, 255, 0.45); }
.px-login-foot strong { color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.px-login-foot a { color: rgba(255, 255, 255, 0.6); }
.px-login-foot a:hover { color: #fff; }
@media (max-width: 575.98px) { .px-login-card { padding: 1.75rem 1.4rem; } }

/* ── Motion ────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ═══ Print ════════════════════════════════════════════════════════════════
   Exported quotes and price lists: plain, monochrome, no interactive chrome. */

@media print {
    @page { margin: 1.5cm 1.8cm; }

    body { background: #fff !important; color: #000 !important; font-size: 10pt; line-height: 1.45; }
    .px-nav, .px-footer, .px-mobilebar { display: none !important; }
    .px-page { padding: 0 !important; }
    .px-container { max-width: none; padding: 0; }
    .px-card { border-color: #d4d4d4 !important; box-shadow: none !important; }

    /* price list */
    .px-table-card { overflow: visible; border: 0 !important; }
    .px-table { display: table !important; }
    .px-table thead th { position: static; padding: 0.35rem 0.5rem; background: #f1f1f1 !important; color: #222 !important; font-size: 7.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .px-table tbody td { padding: 0.4rem 0.5rem !important; border-bottom-color: #ddd !important; }
    .px-table tbody td:first-child, .px-table thead th:first-child { padding-left: 0 !important; }
    .px-table tbody td:last-child, .px-table thead th:last-child { padding-right: 0 !important; }
    .profile-row { break-inside: avoid; }
    .px-profile-name { color: #000 !important; }
    .bio-chips { display: block; max-width: none; }
    .bio-chip, .bio-chip.is-extra { display: inline !important; padding: 0; background: none !important; color: #333 !important; font-size: 7.5pt; white-space: normal; }
    .bio-chip:not(:last-of-type)::after { content: ", "; }
    .bio-more, .copy-uuid-btn, .sort-indicator, .cell-action, .px-drawer, .px-uuid-short { display: none !important; }
    .px-uuid-full { display: inline !important; }
    .px-table .cell-bio { display: table-cell !important; }
    .sys-badge { padding: 0; border: 0 !important; background: none !important; color: #000 !important; font-size: 8pt; }
    .sys-badge::before { display: none; }
    .px-sys-sample { color: #555 !important; font-size: 7.5pt; }
    button.px-profile-name { color: #000 !important; }
    .px-price, .px-uvp, .px-margin-val { color: #000 !important; }
    .px-margin-pct { padding: 0; background: none !important; color: #555 !important; }

    /* calculator */
    .px-calc { display: block; }
    .px-calc-aside { position: static; }
    .px-result { overflow: visible; border: 1px solid #ccc !important; border-radius: 6px; background: #fff !important; box-shadow: none !important; color: #000 !important; }
    .px-result::before, .px-title-input, .px-bar, .px-legend, .px-details { display: none !important; }
    .px-result-section { padding: 0.9rem 1rem; }
    .px-result-section + .px-result-section { border-top-color: #ddd !important; }
    .px-hero, .px-kpi-value, .px-line-group, .px-line-total, .px-kpi.is-margin .px-kpi-value { color: #000 !important; }
    .px-result .px-label, .px-kpi-label, .px-kpi-sub, .px-hero-sub, .px-line-sub, .px-line-sub.is-good { color: #444 !important; }
    .px-hero { font-size: 22pt; }
    .px-kpi, .px-kpi.is-margin { border-color: #ccc !important; background: none !important; }
    .px-line-sub { border-left-color: #ccc !important; }
    .px-line-total { border-top-color: #999 !important; }
    .px-print-table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; font-size: 9pt; }
    .px-print-table th { padding: 0.3rem 0; border-bottom: 1px solid #999; text-align: left; font-size: 7.5pt; text-transform: uppercase; letter-spacing: 0.05em; color: #444; }
    .px-print-table td { padding: 0.25rem 0; border-bottom: 1px solid #e5e5e5; }
    .px-print-table .num { text-align: right; }
}
