/* ══════════════════════════════════════════════
   Petfied ESA — Form & Dashboard Styles
   Uses theme tokens: --petfied-accent, --petfied-primary, etc.
   ══════════════════════════════════════════════ */

/* ── Hero ── */

.pesa-hero {
    background: var(--petfied-bg-warm, #EFF8FB);
    padding: 48px 24px 44px;
    text-align: center;
}

.pesa-hero__inner {
    max-width: 860px;
    margin: 0 auto;
}

.pesa-hero .petfied-breadcrumbs {
    margin-bottom: 20px;
}

.pesa-hero .petfied-chip {
    margin-bottom: 14px;
    display: inline-block;
}

.pesa-hero__title {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 40px;
    font-weight: 400;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 12px;
    line-height: 1.2;
}

.pesa-hero .petfied-body-text {
    color: var(--petfied-body-light, #6B7280);
    font-size: 17px;
    margin: 0;
    line-height: 1.6;
}

/* ── Layout ── */

.pesa {
    padding: 50px 24px 80px;
    background: #fff;
}

.pesa-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* ── Progress ── */

.pesa-progress-wrap {
    margin-bottom: 40px;
}

.pesa-progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.pesa-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--petfied-primary, #064E66), var(--petfied-accent, #F38669));
    transition: width .5s cubic-bezier(.4, 0, .2, 1);
}

.pesa-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

.pesa-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    background: #e2e8f0;
    color: #94a3b8;
    transition: all .35s ease;
}

.pesa-dot.active {
    background: var(--petfied-primary, #064E66);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 78, 102, .25);
}

.pesa-dot.done {
    background: var(--petfied-accent, #F38669);
    color: #fff;
}

/* ── Card ── */

.pesa-card {
    background: #fff;
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .04);
}

.pesa-card-header {
    text-align: center;
    margin-bottom: 36px;
}

.pesa-step-label {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    background: var(--petfied-bg-chip, #FDEEE9);
    color: var(--petfied-accent, #F38669);
    margin-bottom: 16px;
    letter-spacing: .3px;
}

.pesa-card h2 {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 30px;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 8px;
    font-weight: 400;
}

.pesa-card-header p {
    color: var(--petfied-body-light, #6B7280);
    font-size: 16px;
    margin: 0;
}

/* ── Step Transitions ── */

.pesa-step {
    display: none;
    animation: pesaFadeIn .4s ease;
}

.pesa-step.active {
    display: block;
}

@keyframes pesaFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Fields ── */

.pesa-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pesa-field {
    margin-bottom: 4px;
}

.pesa-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
    color: var(--petfied-primary, #064E66);
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
}

.pesa-req {
    color: var(--petfied-accent, #F38669);
}

.pesa-field input,
.pesa-field select,
.pesa-field textarea {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    color: #1f2937;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.pesa-field textarea {
    height: auto;
    padding: 12px 14px;
}

.pesa-field input:focus,
.pesa-field select:focus {
    border-color: var(--petfied-primary, #064E66);
    box-shadow: 0 0 0 3px rgba(6, 78, 102, .1);
    outline: none;
}

.pesa-field input[type="date"] {
    cursor: pointer;
}

.pesa-field-error {
    display: none;
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
}

/* ── Pet Detail Boxes ── */

.pesa-pet-box {
    margin-top: 20px;
    padding: 24px;
    border: 1.5px solid var(--petfied-border, #E5E7EB);
    border-radius: 14px;
    background: var(--petfied-bg-warm, #EFF8FB);
}

.pesa-pet-box h4 {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 20px;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 18px;
    font-weight: 400;
}

.pesa-weight-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pesa-weight-row input { flex: 1; }
.pesa-weight-row span { font-weight: 600; color: #6b7280; font-size: 14px; }

/* ── Choice Cards (Radio / Checkbox) ── */

.pesa-q-block {
    margin-bottom: 28px;
}

.pesa-q-block h3 {
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 14px;
    line-height: 1.5;
}

.pesa-radio-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pesa-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.pesa-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pesa-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 16px;
    border: 2px solid var(--petfied-border, #E5E7EB);
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    color: var(--petfied-body, #374151);
    text-align: center;
    transition: all .25s ease;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
}

.pesa-choice:hover span {
    border-color: var(--petfied-primary, #064E66);
    background: var(--petfied-bg-warm, #EFF8FB);
}

.pesa-choice input:checked + span {
    background: var(--petfied-primary, #064E66);
    border-color: var(--petfied-primary, #064E66);
    color: #fff;
    box-shadow: 0 6px 16px rgba(6, 78, 102, .2);
}

.pesa-choice input:focus-visible + span {
    outline: 3px solid rgba(6, 78, 102, .2);
}

/* ── Symptom Grid ── */

.pesa-symptom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 10px;
}

.pesa-choice-check input:checked + span {
    background: var(--petfied-accent, #F38669);
    border-color: var(--petfied-accent, #F38669);
    color: #fff;
    box-shadow: 0 6px 16px rgba(243, 134, 105, .25);
}

/* ── Severity ── */

.pesa-severity-block {
    border: 1.5px solid var(--petfied-border, #E5E7EB);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    background: #fafbfc;
}

.pesa-q-num {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--petfied-accent, #F38669);
    margin-bottom: 8px;
}

.pesa-severity-block h3 {
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 18px;
    line-height: 1.5;
}

.pesa-severity-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.pesa-choice-sm span {
    min-height: 44px;
    font-size: 13px;
    padding: 8px 6px;
    border-radius: 10px;
}

/* ── Consent ── */

.pesa-consent-box {
    background: var(--petfied-bg-warm, #EFF8FB);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 28px;
    border-left: 4px solid var(--petfied-primary, #064E66);
}

.pesa-consent-box p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--petfied-body, #374151);
    margin: 0;
}

.pesa-consent-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--petfied-body, #374151);
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 8px;
}

.pesa-consent-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--petfied-primary, #064E66);
    flex-shrink: 0;
}

/* ── Package Grid ── */

.pesa-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.pesa-pkg-card {
    position: relative;
    border: 2px solid var(--petfied-border, #E5E7EB);
    border-radius: 16px;
    padding: 24px 20px;
    cursor: pointer;
    background: #fff;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.pesa-pkg-card:hover {
    border-color: var(--petfied-primary, #064E66);
    transform: translateY(-3px);
    box-shadow: var(--petfied-shadow-card-hover, 0 4px 12px rgba(0,0,0,.12));
}

.pesa-pkg-card input { display: none; }

.pesa-pkg-card:has(input:checked) {
    border-color: var(--petfied-accent, #F38669);
    box-shadow: 0 8px 24px rgba(243, 134, 105, .18);
}

.pesa-pkg-featured {
    border-color: var(--petfied-accent, #F38669);
    box-shadow: 0 6px 20px rgba(243, 134, 105, .12);
}

.pesa-pkg-badge {
    position: absolute;
    top: -11px;
    right: 16px;
    background: var(--petfied-accent, #F38669);
    color: #fff;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pesa-pkg-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--petfied-primary, #064E66);
    margin-bottom: 8px;
}

.pesa-pkg-price {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 34px;
    color: var(--petfied-primary, #064E66);
    margin-bottom: 14px;
    font-weight: 400;
}

.pesa-pkg-desc {
    flex: 1;
    font-size: 13px;
    color: var(--petfied-body-light, #6B7280);
    line-height: 1.7;
}

.pesa-pkg-desc ul { padding-left: 16px; margin: 0; }
.pesa-pkg-desc li { margin-bottom: 6px; }

/* ── Totals ── */

.pesa-totals {
    margin-bottom: 10px;
}

.pesa-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--petfied-bg-warm, #EFF8FB);
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}

.pesa-total-final {
    background: var(--petfied-primary, #064E66);
    color: #fff;
    font-size: 20px;
}

.pesa-total-final strong {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 26px;
}

/* ── Buttons ── */

.pesa-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.pesa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 10px;
    background: var(--petfied-accent, #F38669);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(243, 134, 105, .3);
}

.pesa-btn:hover {
    background: var(--petfied-accent-hover, #E0714F);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 134, 105, .35);
    color: #fff;
}

.pesa-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.pesa-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 52px;
    padding: 0 24px;
    border: 2px solid var(--petfied-primary, #064E66);
    border-radius: 10px;
    background: #fff;
    color: var(--petfied-primary, #064E66);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

.pesa-btn-outline:hover {
    background: var(--petfied-bg-warm, #EFF8FB);
    color: var(--petfied-primary, #064E66);
}

/* ── Loading spinner on button ── */

.pesa-btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.pesa-btn.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pesaSpin .6s linear infinite;
}

@keyframes pesaSpin {
    to { transform: rotate(360deg); }
}

/* ── Error Toast ── */

.pesa-error-toast {
    padding: 14px 20px;
    margin-bottom: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: pesaShake .4s ease;
}

@keyframes pesaShake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

/* ── Done ── */

.pesa-done-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--petfied-primary, #064E66), var(--petfied-accent, #F38669));
    color: #fff;
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(6, 78, 102, .2);
}

/* ══════════════════════════════════════════════
   Auth Modal
   ══════════════════════════════════════════════ */

.pesa-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.pesa-auth-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    animation: pesaFadeIn .3s ease;
}

.pesa-auth-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color .2s;
}

.pesa-auth-close:hover {
    color: #475569;
}

.pesa-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.pesa-auth-header h2 {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 26px;
    color: var(--petfied-primary, #064E66);
    margin: 0 0 8px;
    font-weight: 400;
}

.pesa-auth-header p {
    color: var(--petfied-body-light, #6B7280);
    font-size: 15px;
    margin: 0;
}

.pesa-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 28px;
    border-bottom: 2px solid #e5e7eb;
}

.pesa-auth-tab {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    color: #94a3b8;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
}

.pesa-auth-tab:hover {
    color: var(--petfied-primary, #064E66);
}

.pesa-auth-tab.active {
    color: var(--petfied-primary, #064E66);
    border-bottom-color: var(--petfied-primary, #064E66);
}

/* Auth panels: hidden by default, visible when .active */
.pesa-auth-panel {
    display: none;
}

.pesa-auth-panel.active {
    display: block;
}

/* Auth field styling (scoped to modal so it doesn't conflict with form fields) */
.pesa-auth-field {
    margin-bottom: 18px;
}

.pesa-auth-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
    color: var(--petfied-primary, #064E66);
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
}

.pesa-auth-field input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    font-family: var(--petfied-font-body, 'Inter', sans-serif);
    color: #1f2937;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.pesa-auth-field input:focus {
    border-color: var(--petfied-primary, #064E66);
    box-shadow: 0 0 0 3px rgba(6, 78, 102, .1);
    outline: none;
}

.pesa-auth-btn {
    width: 100%;
    margin-top: 4px;
}

.pesa-auth-error {
    display: none;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* ══════════════════════════════════════════════
   Dashboard Styles (shared by customer & therapist)
   ══════════════════════════════════════════════ */

.petfied-step-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 40px 0 60px;
    background: #fff;
}

.petfied-step-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.petfied-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.petfied-step-card h2 {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    color: var(--petfied-primary, #064E66);
    font-weight: 400;
}

.petfied-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.petfied-dash-stat {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    font-weight: 600;
    font-size: 14px;
    color: var(--petfied-body-light, #6B7280);
}

.petfied-dash-stat-num {
    font-family: var(--petfied-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--petfied-primary, #064E66);
    margin-bottom: 2px;
}

.petfied-dash-table {
    width: 100%;
    border-collapse: collapse;
}

.petfied-dash-table th,
.petfied-dash-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--petfied-border, #E5E7EB);
    font-size: 14px;
}

.petfied-dash-table th {
    background: var(--petfied-bg-warm, #EFF8FB);
    font-weight: 700;
    color: var(--petfied-primary, #064E66);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.petfied-dash-table tr:hover td { background: #fafcfe; }

.petfied-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    font-size: 15px;
    color: var(--petfied-body, #374151);
}

.petfied-status-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.petfied-status-new        { background: #dbeafe; color: #1e40af; }
.petfied-status-in_review  { background: #fef3c7; color: #92400e; }
.petfied-status-approved   { background: #d1fae5; color: #065f46; }
.petfied-status-completed  { background: #d1fae5; color: #064e3b; }
.petfied-status-rejected   { background: #fce7f3; color: #9d174d; }
.petfied-status-closed     { background: #e5e7eb; color: #374151; }

.petfied-btn-sm {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: var(--petfied-primary, #064E66);
    color: #fff;
    transition: .2s;
}

.petfied-btn-sm:hover { opacity: .85; color: #fff; }
.petfied-btn-green { background: #059669; }
.petfied-btn-green:hover { background: #047857; color: #fff; }

.petfied-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 48px;
    padding: 0 20px;
    border: 2px solid var(--petfied-primary, #064E66);
    border-radius: 10px;
    background: #fff;
    color: var(--petfied-primary, #064E66);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.petfied-back-button:hover {
    background: var(--petfied-bg-warm, #EFF8FB);
    color: var(--petfied-primary, #064E66);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .pesa-pkg-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .pesa-hero { padding: 32px 16px 28px; }
    .pesa-hero__title { font-size: 28px; }

    .pesa { padding: 32px 16px 60px; }
    .pesa-container { width: 100%; }
    .pesa-card { padding: 28px 20px; }
    .pesa-card h2 { font-size: 24px; }

    .pesa-form-grid { grid-template-columns: 1fr; }
    .pesa-radio-pair { grid-template-columns: 1fr; }
    .pesa-symptom-grid { grid-template-columns: 1fr; }
    .pesa-severity-row { grid-template-columns: repeat(3, 1fr); }
    .pesa-pkg-grid { grid-template-columns: 1fr; }

    .pesa-nav { flex-direction: column-reverse; }
    .pesa-btn, .pesa-btn-outline { width: 100%; min-width: 100%; }

    .petfied-step-card { padding: 24px 18px; }
    .petfied-dash-stats { grid-template-columns: 1fr 1fr; }
    .petfied-detail-grid { grid-template-columns: 1fr; }

    .pesa-dot { width: 30px; height: 30px; font-size: 12px; }

    .pesa-auth-modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .pesa-severity-row { grid-template-columns: 1fr; gap: 8px; }
    .pesa-choice-sm span { min-height: 40px; }
}
