:root {
    --blue: #006aaf;
    --navy: #002957;
    --cyan: #0891c9;
    --charcoal: #222f3c;
    --muted: #5a6b7a;
    --white: #ffffff;
    --paper: #f3f7fa;
    --paper-2: #e7eef3;
    --line: rgba(34, 47, 60, 0.13);
    --on-dark-muted: #b9d4ea;
    --sidebar-group: #8fd0ec;
    --sidebar-item: #d9e8f2;
    --sidebar-hover: rgba(255, 255, 255, 0.08);
    --sidebar-active: rgba(255, 255, 255, 0.12);
    --success: #1e7a34;
    --success-bg: #e6f4ea;
    --success-line: #bfe3c9;
    --danger: #b3261e;
    --danger-bg: #fce8e6;
    --danger-line: #f4c7c3;
    --warning: #8a5a00;
    --warning-bg: #fff4d6;
    --warning-line: #f1dda0;
    --info: var(--blue);
    --info-bg: #eaf3fa;
    --info-line: #c9e6f2;
    --ill-fill-1: #f1f7fb;
    --ill-fill-2: #eaf3fa;
    --ill-fill-3: #d9eaf5;
    --ill-fill-4: #c9e6f2;
    --ill-line-soft: #d8e7f0;
    --ill-line-mid: #a8c9dc;
    --ill-line-strong: #6fa8c2;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;
    --sidebar-w: 248px;
    --topbar-h: 60px;
    --content-max: 1280px;
    --hit-min: 44px;
    --shadow-card: 0 24px 50px rgba(0, 41, 87, 0.16);
    --shadow-header: 0 6px 20px rgba(0, 41, 87, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 41, 87, 0.08);
    --font-display: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/*
 * NegoFácil Platform — component styles.
 * REAL rules copy negofacil.com (via _reference/admin-design-system/styleguide.html:
 * buttons, form fields, alerts, dark band). PROPUESTO rules extend them for panels
 * (sidebar, topbar, tables, badges, KPIs) with the same tokens; the P12 additions
 * (PlanBand, SetupGuide, PaymentReport, WorkQueue) follow control plane CP-D76/CP-D79.
 */

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

body {
    margin: 0;
    background-color: var(--paper);
    color: var(--charcoal);
    font: 400 1rem/1.55 var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--navy);
}

p {
    margin: 0;
}

a,
button,
input,
select,
textarea,
summary {
    transition-duration: 0.15s;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

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

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.card--float {
    box-shadow: var(--shadow-card);
}

/* ---------- Button (REAL; danger and sm PROPUESTO) ---------- */

.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    padding: 13px 22px;
    min-height: var(--hit-min);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background-color: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--on-dark-muted);
}

.btn-outline-light:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    filter: brightness(0.92);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.88rem;
    min-height: 36px;
}

.band-dark {
    background-color: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.band-dark p {
    color: var(--on-dark-muted);
}

/* ---------- Badge (PROPUESTO) ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    border: 1px solid;
    white-space: nowrap;
}

.badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: currentColor;
}

.badge--ok {
    background-color: var(--success-bg);
    border-color: var(--success-line);
    color: var(--success);
}

.badge--info {
    background-color: var(--info-bg);
    border-color: var(--info-line);
    color: var(--info);
}

.badge--warn {
    background-color: var(--warning-bg);
    border-color: var(--warning-line);
    color: var(--warning);
}

.badge--err {
    background-color: var(--danger-bg);
    border-color: var(--danger-line);
    color: var(--danger);
}

.badge--off {
    background-color: var(--paper-2);
    border-color: var(--line);
    color: var(--muted);
}

/* ---------- Alert (REAL: ok; PROPUESTO: warn, err, info) ---------- */

.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid;
    font-weight: 600;
}

.alert .icon {
    width: 22px;
    height: 22px;
}

.alert__body {
    flex: 1;
    min-width: 0;
}

.alert__body p {
    margin-top: 2px;
    font-weight: 400;
}

.alert__action {
    align-self: center;
    font-weight: 700;
    color: inherit;
    white-space: nowrap;
}

.alert--ok {
    background-color: var(--success-bg);
    border-color: var(--success-line);
    color: var(--success);
}

.alert--warn {
    background-color: var(--warning-bg);
    border-color: var(--warning-line);
    color: var(--warning);
}

.alert--err {
    background-color: var(--danger-bg);
    border-color: var(--danger-line);
    color: var(--danger);
}

.alert--info {
    background-color: var(--info-bg);
    border-color: var(--info-line);
    color: var(--info);
}

/* ---------- Form fields (REAL) ---------- */

.field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.field label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 13px;
    min-height: var(--hit-min);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
}

.field input[type='file'] {
    border-style: dashed;
    background-color: var(--paper);
}

.field .help {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--muted);
}

.field .field-error {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--danger);
}

.field .is-invalid {
    border-color: var(--danger);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

/* ---------- KPI card (PROPUESTO) ---------- */

.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.kpi .kpi__label {
    font-size: 0.85rem;
    color: var(--muted);
}

.kpi .kpi__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--navy);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.kpi .kpi__value--nodata {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 2.4;
    color: var(--muted);
}

.kpi .kpi__delta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.kpi .kpi__delta--up {
    color: var(--success);
}

.kpi .kpi__delta--down {
    color: var(--danger);
}

.kpi svg {
    width: 100%;
    height: 44px;
    margin-top: 10px;
    display: block;
}

.kpi .spark-line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kpi .spark-area {
    fill: var(--info-bg);
}

.kpi a.kpi__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
}

/* ---------- Filters (PROPUESTO) ---------- */

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 300px;
    min-width: 0;
    min-height: var(--hit-min);
    padding: 0 13px;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
}

.search input {
    border: 0;
    outline: 0;
    background: none;
    font: inherit;
    font-size: 0.95rem;
    color: var(--charcoal);
    width: 100%;
    min-width: 0;
}

.search:focus-within {
    border-color: var(--blue);
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background-color: var(--paper-2);
    border-radius: var(--radius-md);
}

.tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    white-space: nowrap;
}

.tabs a:hover {
    color: var(--navy);
}

.tabs a[aria-current='true'] {
    background-color: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
}

.tabs .n,
.chips .n {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background-color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
    white-space: nowrap;
}

.chips a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.chips a[aria-checked='true'] {
    border-color: var(--blue);
    background-color: var(--info-bg);
    color: var(--blue);
}

.results {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.results b {
    color: var(--charcoal);
    font-variant-numeric: tabular-nums;
}

.results a {
    color: var(--blue);
    font-weight: 600;
}

/* ---------- Data table (PROPUESTO) ---------- */

.table-wrap {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.scroll-x {
    overflow-x: auto;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.table-wrap th {
    background-color: var(--paper);
    text-align: left;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    padding: 12px 20px;
    white-space: nowrap;
}

.table-wrap td {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}

.table-wrap tbody tr:hover {
    background-color: var(--paper);
}

.table-wrap .num {
    text-align: right;
    white-space: nowrap;
}

.table-wrap .name {
    font-weight: 700;
    color: var(--navy);
}

.table-wrap .sub {
    font-size: 0.82rem;
    color: var(--muted);
}

.table-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- Pager (PROPUESTO) ---------- */

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.pager ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pager a,
.pager .cur {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.pager a:hover {
    background-color: var(--paper-2);
}

.pager .cur {
    background-color: var(--blue);
    color: var(--white);
}

/* ---------- Empty state (PROPUESTO) ---------- */

.empty {
    text-align: center;
    padding: 36px 24px;
}

.empty img {
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 14px;
    display: block;
}

.empty h3 {
    font-size: 1.3rem;
}

.empty p {
    color: var(--muted);
    margin: 8px auto 18px;
    max-width: 46ch;
}

/* ---------- Facts card (PROPUESTO) ---------- */

.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
    margin: 14px 0 0;
    font-size: 0.92rem;
}

.facts dt {
    color: var(--muted);
}

.facts dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.facts dd small {
    display: block;
    font-weight: 400;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ---------- App shell: sidebar + topbar (PROPUESTO) ---------- */

.app {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    min-height: 100%;
}

.sidebar {
    background-color: var(--navy);
    color: var(--white);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar .brand {
    display: block;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 14px;
}

.sidebar .brand img {
    height: 30px;
    width: auto;
    display: block;
}

.sidebar .group {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sidebar-group);
    font-weight: 700;
    margin: 14px 10px 4px;
}

.sidebar .item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sidebar-item);
    text-decoration: none;
    padding: 10px 12px;
    min-height: var(--hit-min);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.93rem;
}

.sidebar .item:hover {
    background-color: var(--sidebar-hover);
    color: var(--white);
}

.sidebar .item[aria-current='page'] {
    background-color: var(--sidebar-active);
    color: var(--white);
}

.sidebar .item[aria-current='page']::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background-color: var(--cyan);
}

.sidebar .count {
    margin-left: auto;
    min-width: 22px;
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    background-color: var(--white);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.topbar {
    min-height: var(--topbar-h);
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 28px;
}

.topbar h2 {
    font-size: 1.05rem;
}

.topbar .who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--paper-2);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.content {
    max-width: var(--content-max);
    padding: 28px;
    display: grid;
    gap: 28px;
}

.content > * {
    min-width: 0;
}

@media (max-width: 860px) {
    .app {
        grid-template-columns: minmax(0, 1fr);
    }

    .content {
        padding: 18px;
    }

    .topbar {
        padding: 0 18px;
    }
}

/* ---------- PlanBand (P12 addition) ---------- */

.plan-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.plan-band__plan {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.plan-band__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.plan-band__name h3 {
    font-size: 1.4rem;
}

.plan-band__price {
    font-size: 0.92rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.plan-band__when {
    margin: 0;
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.plan-band__when dt {
    font-size: 0.85rem;
    color: var(--muted);
}

.plan-band__when dd {
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.plan-band__when dd small {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.92rem;
    color: var(--muted);
    margin-left: 6px;
}

.plan-band__action {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plan-band--attn .plan-band__when dd {
    color: var(--warning);
}

@media (max-width: 640px) {
    .plan-band__when {
        padding-left: 0;
        border-left: 0;
    }

    .plan-band__action {
        margin-left: 0;
        width: 100%;
    }

    .plan-band__action .btn {
        flex: 1;
    }
}

/* ---------- SetupGuide (P12 addition) ---------- */

.guide {
    padding: 0;
    overflow: hidden;
}

.guide__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.guide__head h3 {
    font-size: 1.3rem;
}

.guide__progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.guide__bar {
    width: 140px;
    height: 8px;
    border-radius: var(--radius-pill);
    background-color: var(--paper-2);
    overflow: hidden;
}

.guide__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background-color: var(--blue);
}

.guide ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
}

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

.guide__check {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 2px solid var(--line);
    border-radius: 50%;
    color: var(--white);
}

.guide li[data-done] .guide__check {
    background-color: var(--success);
    border-color: var(--success);
}

.guide__check .icon {
    width: 15px;
    height: 15px;
    stroke-width: 3;
}

.guide__text {
    flex: 1;
    min-width: 0;
}

.guide__text b {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
}

.guide__text small {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.guide li[data-done] .guide__text b {
    color: var(--muted);
}

.guide__by {
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
}

/* ---------- PaymentReport (P12 addition) ---------- */

.pay-to {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    margin: 0;
    padding: 16px 20px;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
}

.pay-to dt {
    color: var(--muted);
}

.pay-to dd {
    margin: 0;
    font-weight: 600;
    color: var(--charcoal);
    font-variant-numeric: tabular-nums;
}

.pay-to .amount {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--navy);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- WorkQueue (P12 addition) ---------- */

.queues {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.queues li + li {
    border-top: 1px solid var(--line);
}

.queues a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    min-height: var(--hit-min);
    color: var(--charcoal);
    text-decoration: none;
}

.queues a:hover {
    background-color: var(--paper);
}

.queues__n {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--navy);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.queues__label b {
    display: block;
    font-weight: 700;
    color: var(--navy);
}

.queues__label small {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.queues__go {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue);
    white-space: nowrap;
}

.queues li[data-zero] .queues__n,
.queues li[data-zero] .queues__label b {
    color: var(--muted);
}

/* ---------- Mockup layout helpers ---------- */
.app { min-height: 100%; }
.page-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-title h1 { font-size: 2rem; line-height: 1.18; }
.page-title p { color: var(--muted); margin-top: 6px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--blue); text-decoration: none; }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.stack { display: grid; gap: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.section-head h2 { font-size: 1.3rem; }
.section-head a { color: var(--blue); font-weight: 600; font-size: 0.9rem; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; font-size: 0.9rem; }
.timeline .dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--cyan); }
.timeline small { display: block; color: var(--muted); font-size: 0.82rem; }
.voucher { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--line); border-radius: var(--radius-md); background: var(--paper); color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px; }
.receipt { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.muted { color: var(--muted); }
@media (max-width: 1080px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
