:root {
    --primary: #371c97;
    --primary-bright: #5d2ffd;
    --primary-dark: #25106b;
    --accent: #f7d14e;
    --deep: #0f172a;
    --text: #0f172a;
    --muted: #0f172a;
    --bg: #f4f4f4;
    --panel: #ffffff;
    --cta-start: #de1135;
    --cta-end: #a1102b;
    --cta-hover: #8c421d;
}

.d-none {
    display: none !important;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
}

a {
    color: inherit;
}

body.page-landing,
body.page-signup {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-landing {
    background: var(--bg);
    padding: clamp(32px, 6vw, 60px);
    position: relative;
    overflow-x: hidden;
}

body.page-signup {
    background: radial-gradient(circle at 15% 20%, rgba(55, 28, 151, 0.18), transparent 45%), var(--bg);
    padding: clamp(16px, 5vw, 56px);
}

.video-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.video-backdrop video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(120%) contrast(105%);
    pointer-events: none;
}

.video-sheen {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.76) 100%),
        linear-gradient(120deg, rgba(93, 47, 253, 0.24) 0%, rgba(222, 17, 53, 0.22) 80%);
}

main.page {
    width: min(1040px, 100%);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18);
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    gap: 50px;
}

.branding {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--accent);
    font-size: 0.78rem;
    font-family: "Geist", "Manrope", sans-serif;
}

h1 {
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 12px 0 18px;
    color: var(--primary);
}

p.lead {
    margin: 0;
    font-family: "Geist", "Manrope", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    max-width: 56ch;
    color: var(--muted);
}

.actions {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.page-not-found .not-found h1 {
    color: var(--cta-start);
}

.action-card {
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    padding: 32px 28px;
    background: #eef4ff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.action-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 26px 48px rgba(30, 64, 175, 0.18);
    transform: translateY(-6px);
}

.action-card h2 {
    margin: 0 0 12px;
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.action-card p {
    margin: 0 0 26px;
    font-family: "Geist", "Manrope", sans-serif;
    line-height: 1.6;
    color: rgba(13, 29, 82, 0.78);
}

.action-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    background: var(--cta-start);
    color: white;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card a:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(173, 17, 47, 0.32);
}

.footer {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.72);
    font-family: "Geist", "Manrope", sans-serif;
}

.layout {
    width: min(1040px, 100%);
    background: var(--panel);
    border-radius: 26px;
    box-shadow: 0 42px 84px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    overflow: hidden;
}

.hero {
    padding: clamp(32px, 6vw, 64px);
    background: url("https://rhapsodyofrealities.b-cdn.net/rhapsodydigitalsaturation/womenonphone.jpg") center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(17, 19, 51, 0.78), rgba(19, 12, 44, 0.35));
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero p.branding {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0;
    font-family: "Geist", "Manrope", sans-serif;
    color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.1;
    color: #ffffff;
    font-family: inherit;
}

.hero p,
.hero li {
    line-height: 1.7;
    margin: 0;
    font-family: "Geist", "Manrope", sans-serif;
}

.hero ul {
    padding-left: 18px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.form-wrapper {
    padding: clamp(32px, 6vw, 64px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(160deg, rgba(247, 209, 78, 0.12), rgba(93, 47, 253, 0.08));
}

.form-logo {
    display: flex;
    justify-content: center;
}

.form-logo img {
    width: clamp(120px, 18vw, 180px);
    height: auto;
}

.form-wrapper h2 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--deep);
}

.form-wrapper p {
    margin: 0;
    color: var(--muted);
    font-family: "Geist", "Manrope", sans-serif;
    line-height: 1.6;
}

form {
    display: grid;
    gap: 18px;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-family: "Geist", "Manrope", sans-serif;
    color: var(--deep);
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(55, 28, 151, 0.18);
    border-radius: 12px;
    font-size: 1rem;
    font-family: "Manrope", sans-serif;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: rgba(255, 255, 255, 0.94);
    color: var(--deep);
}

input::placeholder,
textarea::placeholder {
    color: rgba(15, 23, 42, 0.45);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(93, 47, 253, 0.65);
    box-shadow: 0 0 0 4px rgba(93, 47, 253, 0.15);
    transform: translateY(-1px);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

button,
.btn-primary {
    border: none;
    background: var(--cta-start);
    color: white;
    padding: 15px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover,
.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(190, 26, 52, 0.28);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.cta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
}

.cta a.btn-primary {
    color: white;
}

.btn-kingschat {
    width: 100%;
    background: #1d4ed8;
    border: none;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-kingschat:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(30, 64, 175, 0.22);
}

.form-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px;
    border-radius: 32px;
    min-height: 420px;
    font-family: "Manrope", sans-serif;
    text-align: center;
    color: var(--primary);
}

.form-loader i {
    font-size: 2.5rem;
    color: var(--cta-start);
}

.form-loader p {
    font-size: 1.05rem;
    margin: 0;
}

.cta a:hover {
    color: var(--primary-dark);
}

.cta a.btn-primary:hover {
    color: #ffffff;
}

.legal {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.68);
    line-height: 1.55;
    font-family: "Geist", "Manrope", sans-serif;
}

body.page-report {
    background: radial-gradient(circle at 10% 15%, rgba(55, 28, 151, 0.12), transparent 45%), var(--bg);
    padding: clamp(32px, 6vw, 72px);
}

.report-wrapper {
    width: min(1280px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: 0 36px 80px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(6px);
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    gap: clamp(32px, 5vw, 48px);
}

.report-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.report-topbar__logo {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

.report-topbar__logo img {
    display: block;
    height: auto;
    width: 25%;
}

.report-topbar__user {
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.7);
}

.report-topbar__zone {
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.7);
}

.report-topbar__logout {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.25);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.report-topbar__logout:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.report-header {
    display: grid;
    gap: 12px;
}

.report-header .branding {
    color: var(--accent);
}

.report-header h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3rem);
}

.report-header p {
    margin: 0;
    max-width: 68ch;
    font-family: "Geist", "Manrope", sans-serif;
    color: rgba(15, 23, 42, 0.78);
    line-height: 1.6;
}

.report-section {
    display: grid;
    gap: 26px;
}

.report-section__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-section__heading h2 {
    margin: 0;
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--deep);
}

.report-section__heading p {
    margin: 0;
    max-width: 64ch;
    font-family: "Geist", "Manrope", sans-serif;
    color: rgba(15, 23, 42, 0.72);
}

.report-section__content--reach {
    display: grid;
    gap: clamp(24px, 4vw, 36px);
}

.report-section__content--distribution {
    display: grid;
    gap: clamp(24px, 4vw, 36px);
}

.report-section--reach .report-grid {
    grid-template-columns: 1fr;
    width: 100%;
}

.report-section--distribution .report-grid {
    grid-template-columns: 1fr;
    width: 100%;
}

.report-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-bars-chart {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: clamp(18px, 4vw, 36px);
    row-gap: clamp(16px, 3vw, 24px);
    margin-top: clamp(28px, 4.5vw, 42px);
}

.report-bars {
    --bars-title-offset: clamp(36px, 6vw, 52px);
    --bars-title-gap: clamp(8px, 2vw, 16px);
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(16px, 4vw, 32px);
    overflow-x: auto;
    padding: 12px clamp(12px, 3vw, 24px) var(--bars-title-offset);
    grid-column: 2 / -1;
    grid-row: 1 / 2;
    position: relative;
}

.report-bars::after {
    content: "";
    position: absolute;
    left: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    bottom: var(--bars-title-offset);
    height: 2px;
    background: rgba(14, 128, 114, 0.25);
    border-radius: 999px;
}

.report-bars__axis {
    font-family: "Geist", "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(14, 128, 114, 0.8);
}

.report-bars__axis--y {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    align-self: stretch;
    justify-self: center;
}

.report-bars__axis--x {
    grid-column: 2 / -1;
    grid-row: 2 / 3;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    text-align: center;
    justify-self: center;
}

.report-bars__item {
    position: relative;
    list-style: none;
    display: grid;
    grid-template-rows: min-content 1fr;
    align-content: end;
    gap: clamp(8px, 1.6vw, 14px);
    justify-items: center;
    text-align: center;
    flex: 0 0 clamp(95px, 12vw, 140px);
}

.report-bars__value {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: #0e8072;
}

.report-bars__track {
    position: relative;
    width: 100%;
    height: clamp(170px, 28vw, 250px);
    border-radius: 0;
    background: rgba(14, 128, 114, 0.08);
    overflow: hidden;
    box-shadow: inset 0 -12px 22px rgba(14, 128, 114, 0.12);
}

.report-bars__fill {
    position: absolute;
    inset: auto 0 0;
    height: var(--bar-percent, 0%);
    background: linear-gradient(180deg, rgba(14, 128, 114, 0.92), rgba(14, 128, 114, 0.55));
    border-radius: 0;
    transition: height 0.35s ease;
}

.report-bars__title {
    position: absolute;
    bottom: calc(-1 * (var(--bars-title-offset) - var(--bars-title-gap)));
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: clamp(0.9rem, 1.25vw, 1.05rem);
    color: var(--deep);
    width: max-content;
    max-width: clamp(96px, 12vw, 160px);
    text-align: center;
}

.report-bars-chart--distribution .report-bars {
    --bars-title-gap: clamp(4px, 1.2vw, 10px);
}


.report-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.report-card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 17, 53, 0.4);
    box-shadow: 0 26px 48px rgba(173, 17, 47, 0.16);
}

.report-card__header {
    display: grid;
    gap: 6px;
}

.report-card__title {
    margin: 0;
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: 1.4rem;
    color: var(--deep);
}

.report-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.92rem;
    font-family: "Geist", "Manrope", sans-serif;
}

.report-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(93, 47, 253, 0.12);
}

.report-card__stat-value {
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    line-height: 1;
    font-weight: 700;
    color: var(--deep);
}

.report-card__stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(15, 23, 42, 0.55);
    font-family: "Geist", "Manrope", sans-serif;
}

.report-card__summary {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.75);
    font-family: "Geist", "Manrope", sans-serif;
    margin: 0;
    flex-grow: 1;
}

.page-report--pre-event .report-card__stat {
    background: rgba(222, 17, 53, 0.12);
}

.page-report--post-event .report-card__stat {
    background: rgba(1, 89, 79, 0.14);
}

.report-section--table .report-table-wrapper {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 28px 52px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

.page-report--pre-event .report-section--table .report-table-wrapper {
    border-color: rgba(222, 17, 53, 0.2);
    box-shadow: 0 28px 52px rgba(161, 16, 43, 0.16);
    background:
        linear-gradient(135deg, rgba(222, 17, 53, 0.14), rgba(173, 17, 47, 0.1)),
        #ffffff;
}

.page-report--post-event .report-section--table .report-table-wrapper {
    border-color: rgba(1, 89, 79, 0.24);
    box-shadow: 0 28px 52px rgba(1, 89, 79, 0.18);
    background:
        linear-gradient(135deg, rgba(1, 89, 79, 0.16), rgba(0, 73, 65, 0.12)),
        #ffffff;
}

.report-section--table .report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 960px;
    font-family: "Geist", "Manrope", sans-serif;
    color: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.page-report--pre-event .report-section--table .report-table {
    border-color: rgba(222, 17, 53, 0.22);
}

.page-report--post-event .report-section--table .report-table {
    border-color: rgba(1, 89, 79, 0.24);
}

.report-section--table .report-table thead {
    background: linear-gradient(120deg, rgba(55, 28, 151, 0.92), rgba(93, 47, 253, 0.85));
    color: #ffffff;
}

.page-report--pre-event .report-section--table .report-table thead {
    background: linear-gradient(120deg, rgba(222, 17, 53, 0.96), rgba(161, 16, 43, 0.9));
}

.page-report--post-event .report-section--table .report-table thead {
    background: linear-gradient(120deg, rgba(1, 89, 79, 0.96), rgba(0, 73, 65, 0.96));
}

.report-section--table .report-table th,
.report-section--table .report-table td {
    padding: 18px 22px;
    text-align: left;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(55, 28, 151, 0.12);
    border-right: 1px solid rgba(55, 28, 151, 0.12);
}

.page-report--pre-event .report-section--table .report-table th,
.page-report--pre-event .report-section--table .report-table td {
    border-bottom-color: rgba(222, 17, 53, 0.16);
    border-right-color: rgba(222, 17, 53, 0.16);
}

.page-report--post-event .report-section--table .report-table th,
.page-report--post-event .report-section--table .report-table td {
    border-bottom-color: rgba(1, 89, 79, 0.2);
    border-right-color: rgba(1, 89, 79, 0.2);
}

.report-section--table .report-table th {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.report-section--table .report-table th:last-child,
.report-section--table .report-table td:last-child {
    border-right: none;
}

.report-section--table .report-table tbody tr:nth-child(odd) {
    background: rgba(93, 47, 253, 0.05);
}

.report-section--table .report-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.9);
}

.page-report--pre-event .report-section--table .report-table tbody tr:nth-child(odd) {
    background: rgba(222, 17, 53, 0.06);
}

.page-report--post-event .report-section--table .report-table tbody tr:nth-child(odd) {
    background: rgba(1, 89, 79, 0.08);
}

.page-report--pre-event .report-section--table .report-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.9);
}

.page-report--post-event .report-section--table .report-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.94);
}

.report-section--table .report-table tbody tr:hover {
    background: rgba(93, 47, 253, 0.12);
    transition: background 0.2s ease;
}

.page-report--pre-event .report-section--table .report-table tbody tr:hover {
    background: rgba(222, 17, 53, 0.18);
}

.page-report--post-event .report-section--table .report-table tbody tr:hover {
    background: rgba(1, 89, 79, 0.22);
}

.report-section--table .report-table tbody td:first-child {
    font-weight: 600;
    color: var(--deep);
}

.upload-control__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.upload-control__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    cursor: pointer;
    background: var(--cta-start);
    color: #ffffff;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.upload-control__button:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(190, 26, 52, 0.24);
}

.upload-control {
    display: grid;
    gap: 10px;
    align-items: flex-start;
}

.upload-control__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-control__actions > * {
    white-space: nowrap;
}

.upload-control__button--ghost {
    background: rgba(222, 17, 53, 0.12);
    color: var(--cta-end);
    border: 1px solid rgba(222, 17, 53, 0.32);
    padding: 12px 22px;
}

.upload-control__button--ghost:hover {
    background: rgba(222, 17, 53, 0.2);
    box-shadow: 0 12px 22px rgba(190, 26, 52, 0.18);
}

.upload-control__hint {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.6);
    font-family: "Geist", "Manrope", sans-serif;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.report-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: clamp(24px, 4vw, 36px);
}

.report-switch__link {
    flex: 1 1 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    color: var(--cta-end);
    background: rgba(222, 17, 53, 0.12);
    border: 1px solid rgba(222, 17, 53, 0.28);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.report-switch__link:hover {
    background: rgba(222, 17, 53, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(190, 26, 52, 0.16);
}

.report-switch__link.is-active {
    background: var(--cta-start);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(190, 26, 52, 0.24);
}

.report-switch__link.is-active:hover {
    background: var(--cta-hover);
}

.page-report--pre-event .report-switch__link:not(.is-active) {
    color: #166534;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.28);
    box-shadow: none;
}

.page-report--pre-event .report-switch__link:not(.is-active):hover {
    background: rgba(22, 163, 74, 0.18);
    box-shadow: 0 12px 22px rgba(22, 163, 74, 0.18);
}

.page-report--post-event .report-switch__link.is-active {
    background: linear-gradient(120deg, rgba(1, 89, 79, 0.95), rgba(0, 73, 65, 0.95));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(16, 122, 59, 0.24);
}

.page-report--post-event .report-switch__link.is-active:hover {
    background: linear-gradient(120deg, rgba(0, 73, 65, 0.95), rgba(1, 89, 79, 0.95));
}

.text-accent-green {
    color: #0e8072;
}

.report-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    cursor: pointer;
    border: none;
    background: var(--cta-start);
    color: #ffffff;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.report-button:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(190, 26, 52, 0.24);
}

.report-button--ghost {
    background: rgba(222, 17, 53, 0.12);
    color: var(--cta-end);
    border: 1px solid rgba(222, 17, 53, 0.28);
}

.report-button--ghost:hover {
    background: rgba(222, 17, 53, 0.2);
    color: var(--cta-end);
    box-shadow: 0 12px 22px rgba(190, 26, 52, 0.18);
}

@media (max-width: 1024px) {
    .report-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (min-width: 1200px) {
    .report-section__content--reach {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        align-items: stretch;
    }

    .report-section--reach .report-grid {
        max-width: 360px;
    }

    .report-section--reach .report-bars {
        --bars-title-offset: clamp(32px, 5vw, 44px);
        --bars-title-gap: clamp(10px, 2.2vw, 16px);
        gap: clamp(12px, 2vw, 20px);
        padding: 12px clamp(10px, 2vw, 18px) var(--bars-title-offset);
    }

    .report-section--reach .report-bars__item {
        flex: 0 0 clamp(80px, 9vw, 120px);
        gap: clamp(6px, 1.4vw, 12px);
    }

    .report-section--reach .report-bars__value {
        font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    }

    .report-section--reach .report-bars__track {
        height: clamp(140px, 20vw, 200px);
    }

    .report-section--reach .report-bars__title {
        font-size: clamp(0.78rem, 1.05vw, 0.92rem);
        max-width: clamp(80px, 10vw, 120px);
    }

    .report-section__content--distribution {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        align-items: stretch;
    }

    .report-section--distribution .report-grid {
        max-width: 360px;
    }

    .report-section--distribution .report-bars {
        --bars-title-offset: clamp(32px, 5vw, 44px);
        --bars-title-gap: clamp(12px, 2.5vw, 18px);
        gap: clamp(12px, 2vw, 18px);
        padding: 12px clamp(10px, 2vw, 18px) var(--bars-title-offset);
    }

    .report-section--distribution .report-bars__item {
        flex: 0 0 clamp(80px, 9vw, 120px);
        gap: clamp(6px, 1.4vw, 12px);
    }

    .report-section--distribution .report-bars__value {
        font-size: clamp(0.82rem, 1.15vw, 0.92rem);
    }

    .report-section--distribution .report-bars__track {
        height: clamp(130px, 18vw, 190px);
    }

    .report-section--distribution .report-bars__title {
        font-size: clamp(0.75rem, 0.98vw, 0.88rem);
        max-width: clamp(78px, 9.5vw, 116px);
    }
}

@media (max-width: 880px) {
    body.page-landing {
        padding: 24px;
    }

    main.page {
        padding: 32px 24px;
        border-radius: 20px;
    }

    body.page-report {
        padding: 24px;
    }

    .report-wrapper {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .report-card {
        padding: 24px 22px;
    }

    .report-section--table .report-table {
        min-width: 680px;
    }

    .report-section--table .report-table th,
    .report-section--table .report-table td {
        padding: 14px 16px;
        font-size: 0.92rem;
    }
}
.report-card__stat--red {
    background: rgba(222, 17, 53, 0.14);
}
