html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #ffffff;
    color: #111111;
}

a {
    text-decoration: none;
}

.page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #ffffff;
    color: #111111;
    padding: 1.5rem;
    border-right: 1px solid #d4d4d4;
    overflow-y: auto;
}

.brand-block {
    margin-bottom: 2rem;
}

.brand-link {
    color: #111111;
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-copy {
    margin-top: 0.75rem;
    color: #525252;
    line-height: 1.5;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #737373;
    margin-bottom: 0.75rem;
}

.sidebar .nav-link {
    color: #111111;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 0.9rem;
    margin-bottom: 0.4rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 1px solid #d4d4d4;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #f5f5f5;
    color: #111111;
}

.seller-note-card {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.seller-note-card h2 {
    font-size: 1.15rem;
    margin: 0.35rem 0 0.75rem;
}

.app-main {
    flex: 1;
}

main {
    flex: 1;
}

.top-row {
    background: #ffffff;
    color: #111111;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.top-row-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.top-row-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

.content {
    padding: 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
}

.hero-panel,
.surface-card,
.metric-card,
.listing-card {
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 1.2rem;
    box-shadow: none;
}

.hero-panel,
.surface-card,
.metric-card,
.listing-card {
    padding: 1.5rem;
}

.hero-panel h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin: 0.35rem 0 1rem;
}

.auth-entry-card {
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 1.2rem;
    box-shadow: none;
    padding: 1.5rem;
}

.auth-entry-card-compact {
    padding: 1.25rem;
}

.auth-entry-copy {
    color: #525252;
    margin-bottom: 1rem;
}

.auth-provider-stack {
    display: grid;
    gap: 0.85rem;
}

.auth-provider-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    border-radius: 0.95rem;
    padding: 0.95rem 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.auth-provider-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.auth-provider-google {
    background: #ffffff;
    color: #111111;
    border-color: #d4d4d4;
}

.auth-provider-facebook {
    background: #111111;
    color: #ffffff;
}

.auth-provider-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.88);
    color: #172033;
}

.auth-config-hint,
.auth-side-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #fafafa;
    border: 1px solid #d4d4d4;
    color: #111111;
}

.auth-config-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.auth-entry-footer {
    margin-top: 1rem;
}

.auth-entry-mini-note {
    color: #475569;
    font-size: 0.92rem;
}

.auth-steps {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.auth-steps li + li {
    margin-top: 0.65rem;
}

.feature-list {
    padding-left: 1.2rem;
}

.feature-list li + li {
    margin-top: 0.75rem;
}

.support-note-grid,
.auction-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
}

.trust-sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 0.75rem;
}

.trust-sample-button {
    border: 1px solid #d4d4d4;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-sample-button:hover {
    border-color: #a3a3a3;
    transform: translateY(-1px);
    box-shadow: none;
}

.trust-result {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
}

.trust-result-success {
    background: #fafafa;
    border-color: #d4d4d4;
    color: #111111;
}

.trust-result-danger {
    background: #fafafa;
    border-color: #d4d4d4;
    color: #111111;
}

.trust-result-neutral {
    background: #fafafa;
    border-color: #d4d4d4;
    color: #111111;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metric-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.metric-detail {
    color: #525252;
    font-size: 0.95rem;
}

.game-pill,
.seller-type-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
}

.game-pill {
    background: #f5f5f5;
    color: #111111;
    border: 1px solid #d4d4d4;
}

.auth-status-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.auth-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: #f5f5f5;
    color: #111111;
    border: 1px solid #d4d4d4;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-status-pill-muted {
    background: #f5f5f5;
    color: #525252;
}

.btn-sm,
.auth-provider-button,
.sidebar .nav-link {
    min-height: 44px;
}

.game-pill-light {
    background: #f5f5f5;
    color: #111111;
}

.seller-type-pill-dealer {
    background: #f5f5f5;
    color: #111111;
    border: 1px solid #d4d4d4;
}

.seller-type-pill-individual {
    background: #f5f5f5;
    color: #111111;
    border: 1px solid #d4d4d4;
}

.status-healthy {
    background: #f5f5f5;
    color: #111111;
}

.status-warning {
    background: #f5f5f5;
    color: #111111;
}

.status-neutral {
    background: #f5f5f5;
    color: #111111;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.listing-card-header,
.listing-card-footer,
.account-order-footer,
.order-card-footer,
.search-selection-header,
.search-result-footer {
    display: flex;
    gap: 1rem;
}

.listing-card-header,
.listing-card-footer,
.account-order-footer,
.order-card-footer,
.search-result-footer {
    justify-content: space-between;
}

.listing-card-header,
.search-selection-header {
    align-items: flex-start;
}

.listing-card-footer,
.account-order-footer,
.order-card-footer,
.search-result-footer {
    align-items: center;
}

.listing-card-price-block {
    text-align: right;
}

.listing-subtitle {
    color: #6b7280;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
}

.listing-table th {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.listing-table {
    width: 100%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.mix-row + .mix-row,
.task-list li + li {
    margin-top: 0.9rem;
}

.mix-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.progress-slim {
    height: 0.55rem;
    border-radius: 999px;
    background: #e2e8f0;
}

.progress-slim .progress-bar {
    border-radius: 999px;
}

.sidebar-note {
    color: #525252;
    line-height: 1.5;
    font-size: 0.92rem;
}

.btn-primary {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-light {
    background: #ffffff;
    border-color: #111111;
    color: #111111;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.form-control,
.form-select {
    border-color: #d4d4d4;
    color: #111111;
}

.form-control:focus,
.form-select:focus {
    border-color: #111111;
    box-shadow: 0 0 0 0.15rem rgba(17, 17, 17, 0.12);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.home-shell {
    display: grid;
    gap: 1rem;
}

.home-search-panel {
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 1.2rem;
    padding: 1.5rem;
}

.home-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1rem;
}

.home-category-row,
.home-quick-links,
.quick-entry-grid,
.recent-listing-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-category-button {
    border: 1px solid #d4d4d4;
    background: #ffffff;
    color: #111111;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-weight: 600;
}

.home-category-button-active {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.recent-listings-table {
    margin-top: 0.5rem;
}

.recent-listings-mobile {
    display: grid;
    gap: 0.9rem;
}

.recent-listing-mobile-card {
    border: 1px solid #d4d4d4;
    border-radius: 1rem;
    padding: 1rem;
    background: #ffffff;
}

.recent-listing-mobile-meta {
    color: #525252;
    font-size: 0.92rem;
    justify-content: space-between;
}

.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-entry-card {
    color: inherit;
}

.journey-grid,
.buyer-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.buyer-shell-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1rem;
}

.stepper-list,
.buyer-summary-list,
.timeline-list,
.order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stepper-item,
.buyer-summary-list li,
.timeline-list li,
.order-card {
    border: 1px solid #dde6f0;
    border-radius: 1rem;
    background: #f8fbff;
}

.stepper-item + .stepper-item,
.buyer-summary-list li + li,
.timeline-list li + li,
.order-list li + li {
    margin-top: 0.85rem;
}

.stepper-item {
    padding: 1rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.stepper-item-active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.stepper-item-complete {
    border-color: #86efac;
    background: #f0fdf4;
}

.stepper-index {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    flex-shrink: 0;
}

.stepper-item-complete .stepper-index {
    background: #dcfce7;
    color: #15803d;
}

.stepper-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stepper-copy {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.5;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.profile-form-span-2 {
    grid-column: 1 / -1;
}

.field-hint {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.45rem;
}

.buyer-summary-list li,
.timeline-list li {
    padding: 1rem;
}

.summary-label {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summary-value {
    font-weight: 700;
    margin-top: 0.2rem;
}

.paypal-entry-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d7e3f1;
    border-radius: 1.2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.paypal-entry-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.paypal-entry-label {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.paypal-entry-amount {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
}

.paypal-entry-helper {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.checkout-provider-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.checkout-provider-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.checkout-provider-pill-paypal {
    background: #dbeafe;
    color: #1d4ed8;
}

.checkout-provider-pill-stripe {
    background: #ede9fe;
    color: #6d28d9;
}

.payout-provider-grid {
    display: grid;
    gap: 0.85rem;
}

.payout-option {
    width: 100%;
    border: 1px solid #d7e3f1;
    border-radius: 1rem;
    background: #f8fbff;
    padding: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.payout-option:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.payout-option-selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.payout-locked-note,
.checkout-callout {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #d7e3f1;
    background: #f8fbff;
}

.checkout-callout-stripe {
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.checkout-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.empty-state {
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    background: #f8fafc;
}

.order-card {
    padding: 1.1rem;
}

.order-status-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.checkout-summary {
    display: grid;
    gap: 0.85rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.search-form-grid,
.search-selection-grid {
    display: grid;
    gap: 1rem;
}

.search-source-note {
    color: #475569;
    line-height: 1.5;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.search-result-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.search-result-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.search-result-card-selected {
    border-color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12), 0 16px 32px rgba(15, 23, 42, 0.08);
}

.search-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.search-card-art {
    flex-shrink: 0;
}

.search-card-image {
    width: 88px;
    height: 122px;
    object-fit: cover;
    border-radius: 0.9rem;
    border: 1px solid #d7e3f1;
    background: #f8fafc;
}

.search-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.82rem;
    text-align: center;
    padding: 0.75rem;
}

.search-card-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.search-card-stat {
    padding: 0.85rem;
    border-radius: 0.95rem;
    background: #f8fbff;
    border: 1px solid #dde6f0;
}

.search-selection-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.search-quick-actions {
    min-width: 210px;
}

@media (max-width: 991.98px) {
    .page {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        max-height: none;
        overflow-y: visible;
        border-right: none;
        border-bottom: 1px solid #d4d4d4;
    }

    .sidebar .nav {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar .nav-link {
        margin-bottom: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading,
    .home-search-grid,
    .quick-entry-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .top-row-actions,
    .auth-status-cluster {
        justify-content: flex-start;
    }

    .buyer-shell-grid {
        grid-template-columns: 1fr;
    }

    .search-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Table overflow handling for tablet */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .top-row {
        padding: 1rem;
        position: static;
    }

    .top-row-actions,
    .top-row-pills,
    .auth-status-cluster,
    .page-header-actions,
    .hero-actions,
    .profile-step-actions,
    .page-inline-actions,
    .search-quick-actions {
        width: 100%;
    }

    .page-header-actions .btn,
    .hero-actions .btn,
    .profile-step-actions .btn,
    .page-inline-actions .btn,
    .seller-note-card .btn,
    .search-quick-actions .btn {
        width: 100%;
    }

    .top-row-pills,
    .auth-status-cluster {
        justify-content: flex-start;
    }

    .top-row-pills .game-pill,
    .home-quick-links .btn {
        width: 100%;
        justify-content: center;
    }

    .auth-status-cluster .btn {
        flex: 1 1 12rem;
    }

    .seller-context-header,
    .listing-card-header,
    .listing-card-footer,
    .account-order-footer,
    .order-card-footer,
    .search-selection-header,
    .search-result-footer,
    .paypal-entry-price-row,
    .order-status-line,
    .checkout-summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .listing-card-price-block,
    .listing-card-actions,
    .account-order-footer .summary-value,
    .order-card-footer .summary-value {
        text-align: left;
    }

    .listing-card-actions,
    .search-result-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .search-quick-actions {
        min-width: 0;
    }

    /* Mobile table treatment - horizontal scroll with better UX */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: -1.1rem;
        padding: 1.1rem;
        border-radius: 1rem;
    }

    .listing-table {
        min-width: 600px;
        font-size: 0.9rem;
    }

    .listing-table th,
    .listing-table td {
        padding: 0.75rem 0.65rem;
        white-space: nowrap;
    }

    .listing-table td:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 1;
        box-shadow: 2px 0 4px rgba(15, 23, 42, 0.04);
        min-width: 180px;
        white-space: normal;
    }

    .listing-table th:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        min-width: 180px;
    }
}

@media (max-width: 575.98px) {
    .content {
        padding: 1rem;
    }

    .hero-panel,
    .surface-card,
    .metric-card,
    .listing-card {
        padding: 1.1rem;
    }

    .search-card-header {
        flex-direction: column;
    }

    /* Collapse sidebar on phone - becomes hamburger territory */
    .sidebar {
        padding: 1rem;
        position: relative;
        max-height: none;
        overflow-y: visible;
    }

    .sidebar .nav-section {
        margin-bottom: 1.25rem;
    }

    .seller-note-card {
        margin-top: 1.5rem;
    }

    .top-row {
        padding: 0.85rem 1rem;
        position: static;
        backdrop-filter: none;
    }

    .top-row-title {
        font-size: 1rem;
    }

    .hero-actions .btn,
    .page-header-actions .btn,
    .profile-step-actions .btn,
    .page-inline-actions .btn,
    .listing-card-actions .btn,
    .search-result-actions .btn,
    .auth-status-cluster .btn {
        width: 100%;
    }

    .search-card-image {
        width: 100%;
        max-width: 180px;
        height: auto;
    }

    .search-card-stats {
        grid-template-columns: 1fr;
    }

    /* Phone-specific table treatment */
    .table-responsive {
        margin: -1.1rem -1.1rem 0;
        padding: 1.1rem;
    }

    .listing-table {
        min-width: 550px;
        font-size: 0.85rem;
    }

    .listing-table th,
    .listing-table td {
        padding: 0.65rem 0.5rem;
    }

    .listing-table td:first-child {
        min-width: 160px;
        font-size: 0.9rem;
    }

    /* Metrics grid stacks on phone */
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}
