:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #0b1020;
    --muted: #5f6b7a;
    --red: #d90429;
    --red-dark: #b40322;
    --red-soft: #fde8ec;
    --orange-soft: #fff1d8;
    --orange-text: #b76b00;
    --border: #dfe5ec;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(11, 16, 32, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: var(--text);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.section,
section {
    margin: 1.25rem 0;
}

.page-header {
    margin-bottom: 1rem;
}

.muted {
    color: var(--muted);
}

.badge,
.status-badge,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

.btn,
.btn-primary,
.btn-secondary,
.button-link,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.66rem 0.96rem;
    font: inherit;
    cursor: pointer;
}

.btn-primary,
.button-link,
button {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.btn-secondary {
    border-color: var(--border);
    background: #fff;
    color: var(--text);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-inner,
.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo,
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--red-soft);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.mobile-menu-toggle,
.menu-toggle {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
}

.nav,
.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: auto;
    padding: 0;
}

.nav a,
.main-nav a {
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 700;
}

.nav a.active,
.main-nav a.active {
    background: var(--red-soft);
    color: var(--red);
    font-weight: 700;
    border: 1px solid #f7c5cf;
}

.nav a:hover,
.main-nav a:hover {
    background: #f4f6fa;
    text-decoration: none;
}

main.container {
    padding: 0 0 2.6rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 70px 0 1.2rem;
}

.hero-grid {
    display: grid;
    gap: 1rem;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.eyebrow,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    color: var(--red);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

h1,
.hero h1 {
    margin: 0;
    font-size: clamp(56px, 6vw, 82px);
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    margin: 1.05rem auto 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.3vw, 23px);
    max-width: 850px;
}

.hero-card {
    margin: 2rem auto 0;
    max-width: 880px;
}

/* Search */
.search-form {
    display: grid;
    gap: 1rem;
}

.search-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(11, 16, 32, 0.16);
    padding: 0.5rem 0.6rem 0.5rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.45rem;
    align-items: center;
    min-height: 76px;
}

.search-icon {
    display: inline-flex;
    align-items: center;
    color: #8a93a2;
    padding-left: 0.2rem;
    font-size: 24px;
}

.search-input,
input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.72rem 0.82rem;
    font: inherit;
    background: #fff;
    color: var(--text);
}

.search-box .search-input {
    border: 0;
    padding-left: 0.2rem;
    border-radius: 18px;
    font-size: 19px;
}

.search-button {
    min-height: 58px;
    border-radius: 999px;
    padding: 0 36px;
    font-weight: 700;
    font-size: 18px;
}

.category-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    overflow-x: auto;
}

.pill,
.category-pill span {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 12px 20px;
    min-height: 46px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.category-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.category-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill.active,
.category-pill.is-active span,
.category-pill input:checked + span {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.search-suggestions {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.search-suggestions a {
    color: var(--red);
}

/* Report cards */
.report-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.report-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 250px;
}

.report-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.report-card-header,
.card-top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.report-badges {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.status-badge {
    background: var(--red-soft);
    color: var(--red);
    border-color: #f8c5cf;
}

.status-badge-alt {
    background: var(--orange-soft);
    color: var(--orange-text);
    border-color: #f2d39a;
}

.category-badge {
    background: #f2f5f8;
    color: #6a7485;
    border-color: #dfe5ec;
}

.card-top time {
    color: var(--muted);
    font-size: 17px;
}

.rating-row {
    text-align: center;
    margin: 0.1rem 0 0.45rem;
}

.star {
    color: #c8cfda;
    font-size: 1rem;
}

.star-active {
    color: var(--red);
}

.report-title {
    margin: 0.45rem 0;
    text-align: center;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.report-meta {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.report-summary {
    margin: 0.75rem 0;
    color: var(--muted);
    text-align: center;
    font-size: 18px;
}

.report-card hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 0.9rem 0 0.75rem;
}

.report-footer,
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.amount-lost,
.loss-amount {
    color: var(--red);
    font-weight: 700;
    font-size: 18px;
}

.read-link {
    font-weight: 600;
    font-size: 17px;
}

/* Section blocks */
.results-header {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.report-directory-head {
    grid-template-columns: 1fr auto;
    align-items: end;
}

.report-count {
    margin: 0;
    font-weight: 700;
    color: var(--muted);
    font-size: 18px;
}

.report-directory-head h2 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-weight: 850;
}

.homepage-report-directory {
    margin-top: 70px;
}

.homepage-report-directory .muted {
    font-size: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
}

.stat-number {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.1;
}

.stat-label {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.track-grid,
.info-grid,
.spotting-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.track-card,
.step-card,
.info-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

/* Detail page */
.breadcrumb {
    color: var(--muted);
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.report-hero,
.report-header {
    margin-bottom: 1rem;
}

.report-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.report-main,
.report-sidebar {
    display: grid;
    gap: 0.9rem;
}

.warning-box,
.warning-section {
    border-left: 4px solid var(--red);
}

.details-grid,
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.detail-item,
.detail-card,
.rating-box,
.search-again {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.timeline {
    display: grid;
    gap: 0.65rem;
}

.timeline-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 0.75rem;
}

.checklist,
.faq-list {
    display: grid;
    gap: 0.65rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 0.75rem;
}

blockquote {
    margin: 0.5rem 0 0;
    border-left: 4px solid var(--orange-text);
    border-radius: 0 10px 10px 0;
    padding: 0.72rem 0.9rem;
    background: #fff8ec;
}

.related-reports {
    margin-top: 1rem;
}

.pagination {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pagination a,
.pagination strong {
    min-width: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
    background: #fff;
}

.pagination strong {
    background: var(--red-soft);
    color: var(--red);
    border-color: #f9c3cd;
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding: 1.2rem 0;
}

.footer-grid {
    display: grid;
    gap: 1rem;
}

.footer-grid p {
    color: var(--muted);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

/* Admin */
.admin-body {
    background: var(--bg);
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.admin-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.admin-main,
.admin-panel,
.admin-login {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.admin-nav,
.admin-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.admin-table,
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th,
.admin-table td,
th,
td {
    border: 1px solid var(--border);
    padding: 0.55rem 0.6rem;
    text-align: left;
}

.table-wrap,
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-form {
    display: grid;
    gap: 0.8rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--text);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.notice,
.success {
    border: 1px solid #a7dec7;
    background: #e9f9f2;
    color: #0f6143;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
}

.danger-zone,
.error {
    border: 1px solid #fac7d0;
    background: #fff2f5;
    color: #951d36;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
}

/* Responsive */
@media (min-width: 700px) {
    .search-box .search-input {
        min-height: 52px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr;
    }

    .report-directory-head {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 900px) {
    .mobile-menu-toggle,
    .menu-toggle {
        display: none;
    }

    .nav,
    .main-nav {
        display: flex;
        flex-direction: row;
        width: auto;
        padding: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .track-grid,
    .info-grid,
    .spotting-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr);
    }

    .details-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .report-count {
        text-align: right;
        justify-self: end;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 72px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .report-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        grid-template-columns: 1fr;
        border-radius: 24px;
        min-height: 0;
        padding: 0.65rem;
    }

    .search-icon {
        display: none;
    }

    .search-button {
        width: 100%;
    }

    .report-directory-head {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 1.2rem);
    }

    h1,
    .hero h1 {
        font-size: 40px;
    }

    .nav,
    .main-nav {
        gap: 0.3rem;
        justify-content: flex-start;
    }

    .category-pills {
        flex-wrap: wrap;
        overflow: visible;
    }

    .report-footer,
    .card-bottom,
    .report-card-header,
    .card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =======================================================================
   Public desktop width tuning
   ======================================================================= */

.container {
    width: min(1480px, calc(100% - 180px));
    margin-inline: auto;
}

.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(1480px, calc(100% - 180px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    background: transparent;
    border-radius: 0;
}

.logo-icon svg {
    display: block;
}

.logo-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 13px;
    margin-top: 4px;
    color: var(--muted);
}

.main-nav a,
.nav a {
    font-size: 16px;
    font-weight: 800;
    padding: 12px 19px;
    border-radius: 999px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a.active,
.main-nav a.active {
    background: var(--red-soft);
    color: var(--red);
}

.hero,
.reports-hero {
    padding: 62px 0 34px;
    text-align: center;
}

.hero-content {
    max-width: 840px;
}

h1,
.hero h1 {
    margin: 26px auto 20px;
    max-width: 840px;
    font-size: clamp(58px, 5.5vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero-subtitle {
    max-width: 820px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.45;
}

.search-panel {
    width: min(920px, 100%);
    margin: 32px auto 0;
    margin-bottom: 0;
}

.search-form {
    min-height: 76px;
    padding: 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 18px;
}

.search-icon {
    font-size: 23px;
}

.search-input {
    font-size: 18px;
}

.search-button {
    min-height: 58px;
    padding: 0 38px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 900;
}

.category-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: visible;
    gap: 12px;
    margin-top: 22px;
}

.pill,
.category-pill span {
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.pill.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.directory-section {
    padding: 42px 0 80px;
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.directory-title {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
    margin: 0 0 10px;
}

.directory-description {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.55;
}

.report-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 10px;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.report-card {
    min-height: 270px;
    padding: 30px 32px;
    border-radius: 10px;
}

.report-title {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
}

.report-summary {
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
}

.report-meta {
    font-size: 17px;
    justify-content: center;
}

.homepage-report-directory {
    margin-top: 0;
}

.home-reports-section {
    padding: 42px 0 70px;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.home-track-section,
.home-stats-band,
.home-spot-section {
    margin-top: 24px;
}

.home-track-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-spot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-feature-card {
    min-height: 160px;
}

.home-feature-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
}

.home-feature-card p {
    margin: 0;
    color: var(--muted);
}

.home-stats-band {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.home-stats-band .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-stats-band .stat-card {
    border-radius: 10px;
}

@media (max-width: 1200px) {
    .container,
    .header-inner {
        width: min(1120px, calc(100% - 48px));
    }
}

@media (max-width: 900px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-wrap {
        width: 100%;
        padding-left: 10px;
    }

    .search-button {
        width: 100%;
    }

    .nav,
    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .directory-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-grid {
        grid-template-columns: 1fr;
    }

    .home-track-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-spot-grid {
        grid-template-columns: 1fr;
    }

    .home-stats-band .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
}

@media (max-width: 700px) {
    .container,
    .header-inner {
        width: calc(100% - 32px);
    }

    .home-track-grid,
    .home-stats-band .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================================================
   Admin UI (full dashboard shell)
   ======================================================================= */

.admin-body {
    background: #f5f7fb;
    color: #0b1020;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-shell {
    min-height: 100vh;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: #ffffff;
    border-bottom: 1px solid #dfe5ec;
    margin: 0;
    padding: 0;
}

.admin-header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #0b1020;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.admin-sidebar {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 1rem;
    align-self: start;
}

.admin-nav {
    display: grid;
    gap: 0.35rem;
}

.admin-nav a,
.admin-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    padding: 0.58rem 0.72rem;
    color: #0b1020;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.admin-nav a:hover,
.admin-nav button:hover {
    background: #f4f6fa;
    text-decoration: none;
}

.admin-nav a.active {
    background: #fde8ec;
    border-color: #fac7d0;
    color: #d90429;
    font-weight: 700;
}

.admin-main {
    padding: 0.35rem 0.25rem;
}

.admin-page-header {
    margin-bottom: 1rem;
}

.admin-page-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.15;
    color: #0b1020;
}

.admin-page-subtitle {
    margin: 0.45rem 0 0;
    color: #5f6b7a;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-grid-wide {
    grid-template-columns: 1fr 1.25fr;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 1rem;
}

.admin-stat-number {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.05;
    font-weight: 800;
}

.admin-stat-label {
    margin: 0.35rem 0 0;
    color: #5f6b7a;
}

.admin-card {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 1rem;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.admin-table-wrap,
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    border: 1px solid #dfe5ec;
    padding: 0.58rem 0.64rem;
    text-align: left;
}

.admin-table thead th {
    background: #f8f9fc;
    color: #394154;
    font-size: 0.84rem;
}

.admin-table tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.admin-table tbody tr:hover {
    background: #f5f8ff;
}

.admin-form {
    display: grid;
    gap: 0.9rem;
}

.admin-form-section {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 1rem;
}

.admin-form-section h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
}

.form-group label {
    color: #0b1020;
    font-weight: 600;
}

.form-control,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    padding: 0.68rem 0.78rem;
    font: inherit;
    color: #0b1020;
    background: #fff;
}

.admin-form textarea {
    min-height: 120px;
}

.admin-form textarea.code-json {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.form-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.58rem 0.86rem;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.admin-btn-primary {
    background: #d90429;
    border-color: #d90429;
    color: #fff;
}

.admin-btn-secondary {
    background: #fff;
    border-color: #dfe5ec;
    color: #0b1020;
}

.admin-btn-danger {
    background: #fff;
    border-color: #f3b7c2;
    color: #b20a2b;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dfe5ec;
    padding: 0.18rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-badge-success {
    background: #e8f7ef;
    color: #0b7040;
    border-color: #bce7d0;
}

.admin-badge-muted {
    background: #f1f4f8;
    color: #5f6b7a;
    border-color: #dfe5ec;
}

.admin-badge-warning {
    background: #fff1d8;
    color: #b76b00;
    border-color: #f5d9a7;
}

.admin-notice {
    border: 1px solid #b9e1cd;
    background: #e8f7ef;
    color: #0f6143;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
}

.admin-error {
    border: 1px solid #fac7d0;
    background: #fff2f5;
    color: #951d36;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
}

.login-page {
    min-height: 100vh;
    background: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(11, 16, 32, 0.08);
    padding: 1.3rem;
}

.login-card .admin-page-title {
    margin-top: 0.45rem;
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 1px solid #dfe5ec;
    }

    .admin-nav {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .admin-main {
        padding: 0;
    }

    .admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .admin-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-inner,
    .admin-header-actions {
        align-items: flex-start;
    }

    .admin-header-actions {
        flex-direction: column;
    }
}

/* =======================================================================
   Reference-based public rebuild overrides
   ======================================================================= */

body:not(.admin-body) {
    margin: 0;
    background: #f4f7fa;
    color: #0b1220;
    font-family: "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body:not(.admin-body) .container {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

body:not(.admin-body) .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line, #d8dee6);
    backdrop-filter: blur(16px);
}

body:not(.admin-body) .nav {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

body:not(.admin-body) .nav-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body:not(.admin-body) .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body:not(.admin-body) .brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--red);
}

body:not(.admin-body) .brand-mark svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.6;
}

body:not(.admin-body) .brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1.05;
}

body:not(.admin-body) .brand-name {
    color: #0b1220;
    font-size: 20px;
    font-weight: 760;
}

body:not(.admin-body) .brand-slogan {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 500;
    white-space: nowrap;
}

body:not(.admin-body) .menu-toggle {
    display: none;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line, #d8dee6);
    border-radius: 999px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font-weight: 620;
    padding: 0 13px;
}

body:not(.admin-body) .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

body:not(.admin-body) .nav-links a {
    border-radius: 999px;
    color: #344054;
    font-weight: 560;
    padding: 9px 13px;
}

body:not(.admin-body) .nav-links a:hover,
body:not(.admin-body) .nav-links a[aria-current="page"] {
    background: var(--red-soft);
    color: var(--red);
    text-decoration: none;
}

body:not(.admin-body) .nav-links a.active {
    background: var(--red-soft);
    color: var(--red);
}

body:not(.admin-body) .hero {
    padding: 68px 0 42px;
    text-align: center;
}

body:not(.admin-body) .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 650;
    padding: 7px 11px;
    text-transform: uppercase;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 {
    margin: 0;
    color: #020617;
    font-family: "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 760;
    line-height: 1.05;
}

body:not(.admin-body) h1 {
    max-width: 1040px;
    margin: 18px auto 0;
    font-size: clamp(2.1rem, 5.2vw, 4.25rem);
}

body:not(.admin-body) .lead {
    max-width: 940px;
    margin: 20px auto 0;
    color: #344054;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

body:not(.admin-body) .page-title {
    padding: 56px 0 30px;
}

body:not(.admin-body) .page-title.centered-hero {
    text-align: center;
}

body:not(.admin-body) .page-title.centered-hero h1,
body:not(.admin-body) .page-title.centered-hero .lead,
body:not(.admin-body) .page-title.centered-hero .search-panel {
    margin-left: auto;
    margin-right: auto;
}

body:not(.admin-body) .search-panel {
    max-width: 980px;
    margin: 30px auto 0;
}

body:not(.admin-body) .search-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    border: 1px solid var(--line, #d8dee6);
    border-radius: 999px;
    background: #fff;
    padding: 10px 12px 10px 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

body:not(.admin-body) .search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    color: #0b1220;
    font-size: 1.12rem;
    outline: 0;
    background: transparent;
    padding: 0;
}

body:not(.admin-body) .search-form button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 0 24px;
}

body:not(.admin-body) .search-form button:hover {
    filter: brightness(0.94);
}

body:not(.admin-body) .pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

body:not(.admin-body) .filter-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line, #d8dee6);
    border-radius: 999px;
    background: #fff;
    color: #101828;
    cursor: pointer;
    font-weight: 620;
    padding: 0 15px;
}

body:not(.admin-body) .filter-pill[aria-pressed="true"],
body:not(.admin-body) .filter-pill:hover {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
    text-decoration: none;
}

body:not(.admin-body) .try-line {
    margin-top: 13px;
    color: #475467;
    font-size: 0.98rem;
}

body:not(.admin-body) .try-line a {
    color: #0b1220;
    font-weight: 620;
}

body:not(.admin-body) .page-band {
    padding: 64px 0;
}

body:not(.admin-body) .page-band.white {
    background: #fff;
    border-block: 1px solid var(--line, #d8dee6);
}

body:not(.admin-body) .home-reports-section {
    padding-top: 42px;
}

body:not(.admin-body) .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

body:not(.admin-body) .section-head p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #344054;
    font-size: 1.08rem;
}

body:not(.admin-body) .report-count {
    color: #344054;
    font-size: 1.05rem;
    white-space: nowrap;
}

body:not(.admin-body) .report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

body:not(.admin-body) .report-card {
    display: flex;
    min-width: 0;
    min-height: 310px;
    flex-direction: column;
    border: 1px solid var(--line, #d8dee6);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    padding: 24px;
}

body:not(.admin-body) .card-top {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    gap: 12px;
}

body:not(.admin-body) .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body:not(.admin-body) .badge-row .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 620;
    letter-spacing: 0;
    text-transform: none;
    padding: 3px 9px;
}

body:not(.admin-body) .badge-row .badge.danger {
    background: var(--red-soft);
    color: var(--red);
}

body:not(.admin-body) .badge-row .badge.warning {
    background: #fff3e0;
    color: #b45309;
}

body:not(.admin-body) .badge-row .badge.neutral {
    background: #eef3f6;
    color: #0b1220;
}

body:not(.admin-body) .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: #eef3f6;
    color: #0b1220;
    font-size: 0.78rem;
    font-weight: 620;
    padding: 3px 9px;
}

body:not(.admin-body) .mini-badge.danger {
    background: var(--red-soft);
    color: var(--red);
}

body:not(.admin-body) .mini-badge.status.active {
    background: #fff3e0;
    color: #b45309;
}

body:not(.admin-body) .card-date {
    color: #344054;
    line-height: 1.2;
    text-align: right;
    display: none;
}

body:not(.admin-body) .stars {
    display: flex;
    gap: 2px;
    margin: 12px 0 14px;
    color: #adb5bd;
}

body:not(.admin-body) .stars .filled {
    color: var(--red);
}

body:not(.admin-body) .stars .star {
    color: #adb5bd;
}

body:not(.admin-body) .stars .star.active {
    color: var(--red);
}

body:not(.admin-body) .report-card h3 {
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    text-align: center;
    font-size: 1.35rem;
}

body:not(.admin-body) .card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    color: #475467;
}

body:not(.admin-body) .card-description {
    margin: 18px 0 0;
    color: #243142;
    text-align: center;
}

body:not(.admin-body) .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    border-top: 1px solid var(--line, #d8dee6);
    padding-top: 16px;
}

body:not(.admin-body) .loss {
    color: var(--red);
    font-weight: 720;
}

body:not(.admin-body) .read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 680;
}

body:not(.admin-body) .section-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

body:not(.admin-body) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 0 24px;
}

body:not(.admin-body) .btn:hover {
    filter: brightness(0.94);
    text-decoration: none;
}

body:not(.admin-body) .feature-grid,
body:not(.admin-body) .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

body:not(.admin-body) .info-card {
    border: 1px solid var(--line, #d8dee6);
    border-radius: 8px;
    background: #fff;
    padding: 26px;
}

body:not(.admin-body) .icon-tile {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
    color: var(--red);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
}

body:not(.admin-body) .info-card p {
    margin: 8px 0 0;
    color: #344054;
}

body:not(.admin-body) .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #e9eef3;
    margin-top: 8px;
}

body:not(.admin-body) .stat {
    min-height: 118px;
    display: grid;
    place-items: center;
    border-right: 1px solid #fff;
    text-align: center;
}

body:not(.admin-body) .stat:last-child {
    border-right: 0;
}

body:not(.admin-body) .stat strong {
    display: block;
    font-size: 2rem;
}

body:not(.admin-body) .stat span {
    color: #475467;
    font-size: 0.82rem;
    text-transform: uppercase;
}

body:not(.admin-body) .footer {
    background: #e9eef3;
    border-top: 1px solid var(--line, #d8dee6);
    padding: 44px 0 26px;
    margin-top: 64px;
}

body:not(.admin-body) .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.4fr;
    gap: 44px;
}

body:not(.admin-body) .footer h4 {
    margin: 0 0 10px;
}

body:not(.admin-body) .footer p,
body:not(.admin-body) .footer a {
    color: #344054;
}

body:not(.admin-body) .footer ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:not(.admin-body) .footer-bottom {
    margin-top: 34px;
    color: #475467;
    font-size: 0.88rem;
}

body:not(.admin-body) .about-content {
    max-width: 940px;
    padding-bottom: 70px;
}

body:not(.admin-body) .about-content h1 {
    margin-inline: 0;
}

body:not(.admin-body) .about-content p {
    color: #344054;
    font-size: 1.22rem;
}

body:not(.admin-body) .about-content section {
    margin-top: 42px;
}

body:not(.admin-body) .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    body:not(.admin-body) .nav {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        min-height: auto;
        padding: 12px 0;
    }

    body:not(.admin-body) .nav-topline {
        width: 100%;
    }

    body:not(.admin-body) .menu-toggle {
        display: inline-flex;
    }

    body:not(.admin-body) .nav-links {
        display: none;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 8px;
        margin-top: 12px;
    }

    body:not(.admin-body) .nav-links[data-open="true"] {
        display: grid;
    }

    body:not(.admin-body) .nav-links a {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line, #d8dee6);
        border-radius: 999px;
        background: #fff;
        padding: 7px 8px;
    }

    body:not(.admin-body) .search-form {
        grid-template-columns: auto 1fr;
        border-radius: 26px;
        padding: 14px;
    }

    body:not(.admin-body) .search-form button {
        grid-column: 1 / -1;
        width: 100%;
    }

    body:not(.admin-body) .report-grid,
    body:not(.admin-body) .feature-grid,
    body:not(.admin-body) .steps-grid,
    body:not(.admin-body) .stats-grid,
    body:not(.admin-body) .footer-grid {
        grid-template-columns: 1fr;
    }

    body:not(.admin-body) .section-head {
        align-items: start;
        flex-direction: column;
    }

    body:not(.admin-body) .stat {
        border-right: 0;
        border-bottom: 1px solid #fff;
    }
}

@media (max-width: 520px) {
    body:not(.admin-body) .container {
        width: calc(100% - 24px);
    }

    body:not(.admin-body) .hero {
        padding-top: 42px;
    }

    body:not(.admin-body) .brand-mark,
    body:not(.admin-body) .brand-mark svg {
        width: 30px;
        height: 30px;
    }

    body:not(.admin-body) .brand-name {
        font-size: 0.95rem;
    }

    body:not(.admin-body) .brand-slogan {
        font-size: 0.68rem;
    }

    body:not(.admin-body) .report-card {
        padding: 18px;
    }

    body:not(.admin-body) .card-top,
    body:not(.admin-body) .card-footer,
    body:not(.admin-body) .report-card h3,
    body:not(.admin-body) .card-description,
    body:not(.admin-body) .card-meta {
        text-align: left;
        justify-content: flex-start;
    }
}

/* Report detail page */
body:not(.admin-body) .report-detail {
    padding: 34px 0 24px;
}

body:not(.admin-body) .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #667085;
    margin-bottom: 16px;
    font-size: 0.93rem;
}

body:not(.admin-body) .report-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

body:not(.admin-body) .report-detail-title {
    max-width: 1020px;
    font-size: clamp(2.05rem, 4.4vw, 3.4rem);
    line-height: 1.06;
    margin-bottom: 16px;
}

body:not(.admin-body) .report-detail-title span {
    color: var(--red);
}

body:not(.admin-body) .report-lead {
    max-width: 1000px;
    color: #344054;
    font-size: 1.15rem;
    margin: 0 0 18px;
}

body:not(.admin-body) .rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line, #d8dee6);
    border-radius: 999px;
    background: #fff;
    padding: 10px 16px;
}

body:not(.admin-body) .rating-stars {
    color: var(--red);
    font-weight: 800;
}

body:not(.admin-body) .consumer-warning {
    border: 1px solid #f3b7c2;
    border-left: 4px solid var(--red);
    border-radius: 8px;
    background: #fff;
    padding: 18px 20px;
    margin-top: 18px;
}

body:not(.admin-body) .consumer-warning h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

body:not(.admin-body) .details-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

body:not(.admin-body) .detail-card {
    border: 1px solid var(--line, #d8dee6);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

body:not(.admin-body) .detail-card span {
    display: block;
    color: #667085;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

body:not(.admin-body) .detail-card strong {
    display: block;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

body:not(.admin-body) .report-section {
    margin-top: 32px;
}

body:not(.admin-body) .report-section h2 {
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
}

body:not(.admin-body) .report-section p {
    color: #344054;
    margin: 0 0 10px;
}

body:not(.admin-body) .number-list,
body:not(.admin-body) .timeline-list,
body:not(.admin-body) .check-list {
    display: grid;
    gap: 12px;
}

body:not(.admin-body) .number-row,
body:not(.admin-body) .timeline-row,
body:not(.admin-body) .check-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body:not(.admin-body) .number-row p,
body:not(.admin-body) .timeline-row p,
body:not(.admin-body) .check-row p {
    margin: 0;
}

body:not(.admin-body) .timeline-index {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 0.83rem;
    font-weight: 700;
}

body:not(.admin-body) .timeline-row {
    border: 1px solid var(--line, #d8dee6);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    align-items: flex-start;
}

body:not(.admin-body) .timeline-row time {
    display: block;
    color: #667085;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

body:not(.admin-body) .timeline-row strong {
    display: block;
    margin-bottom: 5px;
}

body:not(.admin-body) .ok-pill {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: #e8f7ef;
    color: #0b7040;
    font-size: 0.75rem;
    font-weight: 700;
}

body:not(.admin-body) .buyer-quote {
    border-left: 4px solid var(--red);
    border-radius: 0 10px 10px 0;
    background: #f8fafc;
    color: #243142;
    margin: 0;
    padding: 16px 18px;
}

body:not(.admin-body) .faq-list {
    border: 1px solid var(--line, #d8dee6);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

body:not(.admin-body) .faq-list details {
    border-bottom: 1px solid var(--line, #d8dee6);
    padding: 16px;
}

body:not(.admin-body) .faq-list details:last-child {
    border-bottom: 0;
}

body:not(.admin-body) .faq-list summary {
    cursor: pointer;
    font-weight: 650;
}

body:not(.admin-body) .faq-list details p {
    margin: 8px 0 0;
}

body:not(.admin-body) .search-before-paying {
    border: 1px solid #f3b7c2;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    margin-top: 34px;
}

body:not(.admin-body) .search-before-paying p {
    color: #344054;
    margin: 6px 0 0;
}

body:not(.admin-body) .related-section {
    margin-top: 38px;
}

@media (max-width: 1180px) {
    body:not(.admin-body) .details-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    body:not(.admin-body) .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body:not(.admin-body) .details-grid {
        grid-template-columns: 1fr;
    }
}
