.auth-menu {
    position: relative;
}

.auth-menu[open] {
    z-index: 60;
}

.auth-trigger {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 290px;
    min-height: 76px;
    padding: 10px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.96));
    border: 1px solid rgba(16, 20, 58, 0.08);
    box-shadow: 0 18px 36px rgba(18, 25, 77, 0.12);
    cursor: pointer;
    user-select: none;
}

.auth-trigger::-webkit-details-marker {
    display: none;
}

.auth-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    background: linear-gradient(135deg, var(--blue-500), #7684ff);
    color: var(--white);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    box-shadow: 0 14px 24px rgba(58, 103, 255, 0.24);
    border: 4px solid rgba(241, 244, 255, 0.96);
}

.auth-meta {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.auth-name {
    color: #25315f;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-role {
    color: #8a93b3;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-caret {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #7380a8;
    transition: transform 0.2s ease;
}

.auth-menu[open] .auth-caret {
    transform: rotate(180deg);
}

.auth-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
}

.auth-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 20, 58, 0.08);
    box-shadow: 0 24px 50px rgba(18, 25, 77, 0.16);
}

.auth-welcome {
    padding: 22px 24px 18px;
    color: #9199b6;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.auth-actions {
    display: grid;
}

.auth-action,
.auth-action-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #ffffff;
    border: 0;
    color: #26315d;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-action + .auth-action,
.auth-action + .auth-action-form,
.auth-action-form + .auth-action,
.auth-action-form + .auth-action-form {
    border-top: 1px solid rgba(16, 20, 58, 0.08);
}

.auth-action:hover,
.auth-action-button:hover {
    background: #f6f8ff;
    color: var(--blue-600);
}

.auth-action-form {
    margin: 0;
}

.auth-action-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #8b94b4;
}

.auth-action:hover .auth-action-icon,
.auth-action-button:hover .auth-action-icon {
    color: var(--blue-600);
}

@media (max-width: 760px) {
    .auth-menu {
        width: 100%;
    }

    .auth-trigger {
        width: 100%;
        min-width: 0;
    }

    .auth-panel {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .auth-card {
        box-shadow: 0 16px 34px rgba(18, 25, 77, 0.12);
    }
}

:root {
    --navy-950: #090632;
    --navy-900: #11094f;
    --navy-800: #1a1172;
    --navy-700: #271bb3;
    --blue-500: #3666ff;
    --blue-600: #244fe0;
    --red-500: #ff4b4b;
    --red-400: #ff6a64;
    --white: #ffffff;
    --text: #202746;
    --muted: #6f7898;
    --line: rgba(12, 17, 56, 0.1);
    --surface: #f5f7ff;
    --shadow: 0 28px 70px rgba(7, 11, 47, 0.14);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "DM Sans", "Segoe UI", sans-serif;
    background: #eef2ff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.home-container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(180deg, rgba(31, 24, 92, 0.88), rgba(16, 11, 67, 0.8)),
        linear-gradient(90deg, rgba(86, 112, 255, 0.08), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(6, 4, 31, 0.18);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.brand {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84%;
    height: 138%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 28% 50%, rgba(96, 146, 255, 0.32), rgba(96, 146, 255, 0.08) 42%, rgba(96, 146, 255, 0) 74%),
        radial-gradient(circle at 72% 50%, rgba(255, 98, 98, 0.18), rgba(255, 98, 98, 0) 64%);
    filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.brand:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    white-space: nowrap;
    text-shadow: 0 10px 18px rgba(8, 11, 42, 0.24);
}

.brand-real {
    color: #6e9cff;
}

.brand-vote {
    color: #ff5a52;
}

.brand-mark {
    width: 54px;
    height: 54px;
    filter: drop-shadow(0 12px 18px rgba(8, 11, 42, 0.3));
}

.brand-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-nav > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transform: translateY(-1px);
}

.header-nav > .nav-cta {
    background: linear-gradient(135deg, var(--blue-500), #5e76ff);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(54, 102, 255, 0.22);
}

@media (min-width: 761px) {
    .header-row > .header-nav {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}

.menu-toggle,
.nav-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.menu-toggle-icon {
    display: grid;
    gap: 5px;
}

.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-panel-head {
    display: none;
}

.menu-backdrop {
    display: none;
}

.section {
    position: relative;
    padding: 104px 0;
    scroll-margin-top: 92px;
}

.section-title {
    margin: 0 0 18px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -1.5px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(54, 102, 255, 0.1);
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red-500);
    box-shadow: 0 0 0 5px rgba(255, 75, 75, 0.16);
}

.section-lead {
    margin: 0;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.hero {
    min-height: calc(100vh - 82px);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(79, 73, 255, 0.22), transparent 0, transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(77, 83, 255, 0.18), transparent 0, transparent 28%),
        radial-gradient(circle at 16% 100%, rgba(79, 73, 255, 0.18), transparent 0, transparent 24%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 44%, #2214a1 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 520px;
    height: 520px;
    right: -140px;
    top: -180px;
    background: rgba(83, 75, 255, 0.15);
}

.hero::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -140px;
    background: rgba(83, 75, 255, 0.12);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 950px;
    text-align: center;
    color: var(--white);
    padding: 72px 0 64px;
    animation: fade-up 0.7s ease both;
}

.hero-logo {
    width: min(460px, 72vw);
    margin: 0 auto 28px;
    filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.32));
}

.hero-badge {
    min-width: 180px;
    padding: 14px 22px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    background: linear-gradient(180deg, rgba(110, 105, 255, 0.22), rgba(75, 72, 219, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-title {
    margin: 0 auto 18px;
    max-width: 980px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(30px, 3.4vw, 52px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -1.8px;
}

.hero .btn,
.contact-card .btn-primary {
    min-height: 58px;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero .btn:hover,
.contact-card .btn-primary:hover {
    transform: translateY(-2px);
}

.hero .btn-primary,
.contact-card .btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue-500), #596bff);
    color: var(--white);
    box-shadow: 0 20px 36px rgba(54, 102, 255, 0.28);
}

.hero .btn-outline-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.about {
    background:
        radial-gradient(circle at top left, rgba(54, 102, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(255, 75, 75, 0.08), transparent 18%),
        linear-gradient(180deg, #f8fbff 0%, #edf2ff 100%);
}

.about-story {
    position: relative;
    padding: 24px 78px 24px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(17, 23, 67, 0.08);
    box-shadow: 0 18px 38px rgba(12, 17, 56, 0.08);
}

.about-story::after {
    content: "\2192";
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(54, 102, 255, 0.08);
    color: #2743b8;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.about-story:nth-child(2)::after {
    background: rgba(255, 75, 75, 0.08);
    color: #d74844;
}

.about-story:nth-child(3)::after {
    background: rgba(15, 30, 86, 0.08);
    color: #10204d;
}

.about-step {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-500), var(--red-400));
    color: #ffffff;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(54, 102, 255, 0.24);
    margin-bottom: 18px;
}

.about-story h3 {
    margin: 0 0 10px;
    color: #10204d;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.about-story p {
    margin: 0;
    color: #586483;
    font-size: 16px;
    line-height: 1.85;
}

.about-points {
    display: grid;
    gap: 16px;
    align-content: start;
    position: sticky;
    top: 108px;
}

.point-card {
    position: relative;
    padding: 22px 20px 20px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(12, 17, 56, 0.12);
}

.point-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    right: -40px;
    border-radius: 50%;
    opacity: 0.16;
}

.point-card-top,
.point-copy {
    position: relative;
    z-index: 1;
}

.point-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.point-card strong {
    display: block;
    margin: 0;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.16;
    position: relative;
    z-index: 1;
}

.point-copy p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.point-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-cost {
    background: linear-gradient(145deg, #19286f 0%, #2940ad 48%, #4458d7 100%);
    border: 1px solid rgba(158, 178, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 28px 56px rgba(36, 56, 166, 0.26);
}

.card-cost::before {
    background: #9ab1ff;
    opacity: 0.3;
}

.card-cost .point-tag {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.card-cost .point-mark {
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-cost .point-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.card-speed {
    background: linear-gradient(145deg, #103829 0%, #1a6b47 48%, #2eaf70 100%);
    border: 1px solid rgba(158, 234, 189, 0.2);
    color: #ffffff;
    box-shadow: 0 28px 56px rgba(26, 125, 79, 0.26);
}

.card-speed::before {
    background: #98efbb;
    opacity: 0.3;
}

.card-speed .point-tag {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.card-speed .point-mark {
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-speed strong {
    color: #ffffff;
}

.card-speed .point-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.card-results {
    background: linear-gradient(145deg, #5a1d2d 0%, #9f3653 48%, #da5b74 100%);
    border: 1px solid rgba(255, 185, 194, 0.2);
    color: #ffffff;
    box-shadow: 0 28px 56px rgba(166, 56, 87, 0.26);
}

.card-results::before {
    background: #ffb1bf;
    opacity: 0.3;
}

.card-results .point-tag {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.card-results .point-mark {
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-results strong {
    color: #ffffff;
}

.card-results .point-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.downloads {
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at bottom right, rgba(255, 75, 75, 0.12), transparent 20%),
        linear-gradient(135deg, #0d0a40 0%, #1a1172 46%, #2618ad 100%);
}

.downloads .section-kicker {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.download-copy {
    margin: 24px 0 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.9;
}

.store-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.store-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-card h3 {
    margin: 18px 0 12px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.1;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
}

.store-badge-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

.store-badge {
    display: block;
    width: 228px;
    max-width: 100%;
    height: auto;
}

.contact {
    padding-bottom: 24px;
    background:
        linear-gradient(180deg, #f7f9ff 0%, #edf1ff 100%);
}

.contact-panel,
.contact-card {
    padding: 34px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-item {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    border: 1px solid rgba(12, 17, 56, 0.08);
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
        radial-gradient(circle at top right, rgba(54, 102, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.contact-card h3 {
    margin: 0 0 14px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.1;
}

.contact-card p {
    margin: 0 0 26px;
    color: var(--muted);
    line-height: 1.8;
}

.contact-card .form-label {
    color: #1c2340;
    font-size: 14px;
    font-weight: 700;
}

.contact-card .form-control {
    border: 1px solid rgba(23, 33, 84, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: #16204f;
    font: inherit;
    padding: 14px 16px;
    outline: none;
}

.contact-card input.form-control {
    min-height: 52px;
}

.contact-card .contact-message-input {
    min-height: 150px;
    resize: vertical;
}

.contact-card .form-control:focus {
    border-color: #4a59ff;
    box-shadow: 0 0 0 4px rgba(74, 89, 255, 0.1);
}

.contact-card .form-control.is-invalid,
.contact-card .form-control.parsley-error {
    border-color: rgba(255, 75, 75, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.08);
}

.contact-card .alert {
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.contact-card .invalid-feedback,
.contact-card .parsley-errors-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c12d39;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.parsley-errors-list.filled {
    margin-top: 2px;
}

.faq-home {
    background:
        radial-gradient(circle at top left, rgba(54, 102, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

.faq-intro {
    padding-top: 8px;
}

.faq-stack {
    display: grid;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(19, 33, 83, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 28px;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(54, 102, 255, 0.12), rgba(255, 75, 75, 0.12));
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.faq-question {
    color: #0f183e;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.15;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #22335e;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-answer {
    padding: 0 28px 28px 92px;
    color: var(--muted);
    line-height: 1.85;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 16px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .about-points {
        position: static;
        top: auto;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 82px 0;
    }

    .header-row {
        min-height: auto;
        padding: 14px 0;
        gap: 12px;
    }

    .site-header {
        backdrop-filter: blur(14px);
    }

    .brand {
        width: auto;
        max-width: calc(100% - 68px);
        justify-content: center;
        padding: 0;
        gap: 8px;
    }

    .brand::before {
        width: 96%;
        height: 142%;
    }

    .brand-text {
        font-size: 34px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .menu-toggle,
    .nav-close {
        display: inline-flex;
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 34;
        opacity: 0;
        pointer-events: none;
        background: rgba(4, 6, 24, 0.56);
        transition: opacity 0.25s ease;
    }

    .nav-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.92);
    }

    .nav-panel-head strong {
        font-family: "Outfit", "Segoe UI", sans-serif;
        font-size: 22px;
        line-height: 1;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        width: min(320px, 82vw);
        padding: 22px 18px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: linear-gradient(180deg, rgba(11, 8, 49, 0.98), rgba(23, 14, 92, 0.98));
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -18px 0 40px rgba(0, 0, 0, 0.28);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        flex-wrap: nowrap;
    }

    .header-nav a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 48px;
        padding: 12px 16px;
        text-align: left;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-nav .nav-cta {
        margin-top: 6px;
        justify-content: center;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open .header-nav {
        transform: translateX(0);
    }

    body.nav-open .menu-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .menu-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-inner {
        padding: 48px 0 54px;
    }

    .hero-badge {
        min-width: 0;
        width: 100%;
    }

    .contact-panel,
    .contact-card,
    .store-card {
        padding: 24px;
    }

    .faq-item summary {
        padding: 24px;
    }

    .faq-answer {
        padding: 0 24px 24px 86px;
    }

    .about-story {
        padding: 20px 66px 20px 18px;
    }

    .about-step {
        width: 38px;
        height: 38px;
    }

    .faq-item summary {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .faq-index {
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
        grid-column: 1 / -1;
    }

    .faq-answer {
        padding: 0 22px 22px;
    }

}

@media (max-width: 480px) {
    .home-container {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .brand {
        max-width: calc(100% - 62px);
    }

    .brand-text {
        font-size: 29px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .header-nav {
        width: min(100%, 320px);
    }

}

.legal-body {
    background:
        radial-gradient(circle at top left, rgba(58, 103, 255, 0.09), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 81, 81, 0.08), transparent 24%),
        linear-gradient(180deg, #eef3ff 0%, #ffffff 38%, #f6f8ff 100%);
}

.legal-page {
    --legal-blue-500: #3a67ff;
    --legal-red-500: #ff5151;
    --legal-muted: #697394;
    --legal-line: rgba(16, 20, 58, 0.1);
    --legal-shadow: 0 28px 70px rgba(7, 11, 47, 0.12);
}

.legal-page .hero {
    min-height: 0;
    display: block;
    overflow: visible;
    background: none;
    padding: 72px 0 34px;
}

.legal-page .hero::before,
.legal-page .hero::after {
    content: none;
}

.privacy-page .hero {
    padding-bottom: 30px;
}

.legal-page .hero-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(10, 7, 50, 0.98), rgba(34, 22, 132, 0.96));
    color: var(--white);
    box-shadow: 0 34px 80px rgba(9, 6, 50, 0.28);
}

.legal-page .hero-card::before,
.legal-page .hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.legal-page .hero-card::before {
    width: 260px;
    height: 260px;
    top: -110px;
    right: -40px;
    background: rgba(95, 116, 255, 0.22);
}

.legal-page .hero-card::after {
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: -130px;
    background: rgba(255, 81, 81, 0.12);
}

.legal-page .hero-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page .hero-label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--legal-red-500);
    box-shadow: 0 0 0 5px rgba(255, 81, 81, 0.16);
}

.legal-page .hero-grid {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: end;
}

.privacy-page .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.legal-page .hero-copy h1 {
    margin: 0 0 18px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(42px, 5.6vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.legal-page .hero-copy p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.72;
}

.legal-page .hero-meta {
    display: grid;
    gap: 16px;
}

.legal-page .meta-card {
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-page .meta-card span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page .meta-card strong {
    display: block;
    margin-top: 8px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.15;
}

.legal-page .content-section {
    padding: 20px 0 90px;
}

.terms-page .terms-shell {
    width: 100%;
    padding: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--legal-line);
    border-radius: var(--radius-xl);
    box-shadow: var(--legal-shadow);
}

.terms-page .terms-shell h2 {
    margin: 0 0 20px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #172050;
}

.terms-page .terms-heading {
    margin-bottom: 20px;
}

.terms-page .terms-content {
    color: var(--legal-muted);
    font-size: 16px;
    line-height: 1.78;
}

.terms-page .terms-content p {
    margin: 0 0 14px;
}

.terms-page .terms-content p:last-child {
    margin-bottom: 0;
}

.terms-page .terms-content ul,
.terms-page .terms-content ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.terms-page .terms-content h3 {
    margin: 32px 0 12px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #172050;
}

.terms-page .terms-intro {
    display: grid;
    gap: 14px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(16, 20, 58, 0.08);
}

.terms-page .terms-intro p,
.terms-page .term-body p,
.terms-page .term-items li,
.privacy-page .policy-heading p {
    margin: 0;
    color: var(--legal-muted);
    font-size: 16px;
    line-height: 1.78;
}

.terms-page .terms-list {
    display: flex;
    flex-direction: column;
}

.terms-page .term-section {
    padding: 36px 0;
    border-bottom: 1px solid rgba(16, 20, 58, 0.08);
}

.terms-page .term-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.terms-page .term-section h3 {
    margin: 0 0 14px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #16204f;
}

.terms-page .term-body p + p,
.terms-page .term-body ul + p,
.terms-page .term-body p + ul {
    margin-top: 14px;
}

.terms-page .term-items {
    margin: 14px 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.terms-page .term-items li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-page .term-items li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--legal-blue-500);
    flex-shrink: 0;
    margin-top: 10px;
}

.privacy-page .policy-shell {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--legal-line);
    border-radius: var(--radius-xl);
    box-shadow: var(--legal-shadow);
    padding: 32px;
}

.privacy-page .policy-heading {
    margin-bottom: 24px;
}

.privacy-page .policy-heading h2 {
    margin: 0 0 12px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: #172050;
    letter-spacing: -0.03em;
    font-size: 30px;
    line-height: 1.05;
}

.privacy-page .policy-heading p + p {
    margin-top: 14px;
}

.privacy-page .policy-content {
    color: var(--legal-muted);
    font-size: 16px;
    line-height: 1.78;
}

.privacy-page .policy-content p {
    margin: 0 0 16px;
}

.privacy-page .policy-content p:last-child {
    margin-bottom: 0;
}

.privacy-page .policy-content h2 {
    margin: 36px 0 14px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #172050;
}

.privacy-page .policy-content h3 {
    margin: 28px 0 12px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #16204f;
}

.privacy-page .policy-content h4 {
    margin: 22px 0 10px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #16204f;
}

.privacy-page .policy-content h2:first-child,
.privacy-page .policy-content h3:first-child,
.privacy-page .policy-content h4:first-child {
    margin-top: 0;
}

.privacy-page .policy-content ul,
.privacy-page .policy-content ol {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.privacy-page .policy-content ul li,
.privacy-page .policy-content ol li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--legal-muted);
    font-size: 16px;
    line-height: 1.65;
}

.privacy-page .policy-content ul li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--legal-blue-500);
    flex-shrink: 0;
    margin-top: 10px;
}

.privacy-page .policy-content ol {
    counter-reset: policy-ol;
}

.privacy-page .policy-content ol li {
    counter-increment: policy-ol;
}

.privacy-page .policy-content ol li::before {
    content: counter(policy-ol) ".";
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--legal-blue-500);
    flex-shrink: 0;
    min-width: 20px;
    margin-top: 2px;
}

.privacy-page .policy-content strong,
.privacy-page .policy-content b {
    font-weight: 600;
    color: #172050;
}

.privacy-page .policy-content a {
    color: var(--legal-blue-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-page .policy-content a:hover {
    color: #2752e0;
}

.privacy-page .policy-content hr {
    margin: 32px 0;
    border: none;
    border-top: 1px solid rgba(16, 20, 58, 0.08);
}

.privacy-page .policy-content blockquote {
    margin: 0 0 16px;
    padding: 14px 20px;
    border-left: 3px solid var(--legal-blue-500);
    background: rgba(58, 103, 255, 0.04);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--legal-muted);
}

.privacy-page .policy-list {
    display: flex;
    flex-direction: column;
}

.privacy-page .policy-section {
    padding: 36px 0;
    border-bottom: 1px solid rgba(16, 20, 58, 0.08);
}

.privacy-page .policy-section:first-child {
    padding-top: 8px;
}

.privacy-page .policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.privacy-page .policy-section-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
}

.privacy-page .policy-step {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--legal-blue-500);
    text-transform: uppercase;
    flex-shrink: 0;
}

.privacy-page .policy-section-header h3 {
    margin: 0;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #16204f;
}

.privacy-page .policy-items {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.privacy-page .policy-items li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--legal-muted);
    font-size: 16px;
    line-height: 1.65;
}

.privacy-page .policy-items li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--legal-blue-500);
    flex-shrink: 0;
    margin-top: 10px;
}

.legal-body .btn-primary {
    background: linear-gradient(135deg, var(--legal-blue-500), #6073ff);
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(58, 103, 255, 0.22);
}

@media (max-width: 980px) {
    .legal-page .hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .legal-page .hero {
        padding-top: 36px;
    }

    .legal-page .hero-card,
    .terms-page .terms-shell,
    .privacy-page .policy-shell {
        padding: 24px;
    }

    .terms-page .term-section {
        padding: 28px 0;
    }

    .privacy-page .policy-section {
        padding: 28px 0;
    }

    .privacy-page .policy-content h2 {
        font-size: 22px;
        margin-top: 28px;
    }

    .privacy-page .policy-content h3 {
        font-size: 18px;
        margin-top: 22px;
    }
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 14px 0px 0px;
    /* background: linear-gradient(180deg, #e9f0ff 0%, #dfe8ff 46%, #ebf2ff 100%); */
    background: #ffffff;
}

.footer-shell {
    position: relative;
    z-index: 1;
}

.footer-card {
    position: relative;
    padding: 30px 40px 20px;
    /* border-radius: 40px; */
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.82);
    /* box-shadow:
        0 28px 58px rgba(31, 49, 122, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92); */
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(210px) fit-content(320px);
    gap: 20px 40px;
    align-items: start;
}

.footer-company {
    max-width: 640px;
    display: grid;
    gap: 14px;
    padding-right: 0;
}

.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    width: 220px;
    max-width: 100%;
}

.footer-company-copy {
    margin: 0;
    color: #62708f;
    font-size: 15px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-social-column {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-social-panel {
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    display: grid;
    gap: 14px;
}

.footer-social-panel h3 {
    margin: 0;
    color: #1c2758;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.footer-social-panel p {
    margin: 0;
    color: #6c7898;
    font-size: 15px;
    line-height: 1.75;
}

.footer-social-column .footer-social {
    justify-content: flex-start;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6f8ff;
    border: 1px solid rgba(58, 103, 255, 0.1);
    color: #3557c8;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-social-link:hover {
    transform: translateY(-1px);
    color: var(--blue-600);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 14px 22px rgba(58, 103, 255, 0.08);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column h3 {
    margin: 0 0 6px;
    color: #1c2758;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.footer-column a,
.footer-column p {
    color: #5f6b8c;
    font-size: 15px;
    line-height: 1.75;
}

.footer-column p {
    margin: 0;
}

.footer-column a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: var(--blue-600);
    transform: translateX(2px);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 32, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-copy {
    color: #7080a4;
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #f6f8ff;
    border: 1px solid rgba(58, 103, 255, 0.08);
    color: #243261;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-bottom-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 14px 22px rgba(58, 103, 255, 0.08);
}

@media (max-width: 980px) {
    .site-footer {
        padding-top: 14px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
    }

    .footer-social-column {
        grid-column: 1 / -1;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-social-panel {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .site-footer {
        padding-top: 12px;
    }

    .site-footer::before {
        top: 18px;
        font-size: clamp(84px, 28vw, 160px);
    }

    .footer-card {
        padding: 22px 22px 18px;
        border-radius: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-social-column {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-bottom-links {
        width: 100%;
    }

    .footer-bottom-links a {
        width: 100%;
    }
}

/* Portal Pages */
.portal-body {
    --navy-950: #090632;
    --navy-900: #10094d;
    --blue-500: #3a67ff;
    --blue-600: #244fe0;
    --red-500: #ff5151;
    --green-500: #0e9f6e;
    --white: #ffffff;
    --text: #202746;
    --muted: #697394;
    --line: rgba(16, 20, 58, 0.1);
    --surface: #f5f7ff;
    --shadow: 0 28px 70px rgba(7, 11, 47, 0.12);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1180px;
    margin: 0;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(58, 103, 255, 0.1), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 81, 81, 0.08), transparent 26%),
        linear-gradient(180deg, #eef3ff 0%, #ffffff 38%, #f6f8ff 100%);
}

.portal-body button,
.portal-body input,
.portal-body select {
    font: inherit;
}

.portal-body .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(180deg, rgba(49, 37, 121, 0.98), rgba(35, 24, 93, 0.98)),
        linear-gradient(90deg, rgba(135, 124, 255, 0.14), rgba(255, 255, 255, 0));
    border-bottom: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 34px rgba(8, 7, 42, 0.18);
}

.portal-body .site-header .home-container {
    width: min(calc(100% - 32px), var(--max-width));
}

.portal-body .header-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portal-body .brand {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.portal-body .brand::before {
    content: "";
}

.portal-body .brand:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.portal-body .brand-mark {
    width: 54px;
    height: 54px;
}

.portal-body .brand-text {
    font-size: 42px;
    text-shadow: 0 10px 18px rgba(8, 11, 42, 0.24);
}

.portal-body .header-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.portal-body .header-nav-links {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
    margin-left: 0;
    gap: 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.portal-body .header-submenu {
    position: relative;
    flex: 0 0 auto;
}

.portal-body .header-submenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-body .header-submenu-caret {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: currentColor;
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.portal-body .header-submenu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    display: grid;
    padding: 8px;
    border-radius: 18px;
    background: rgba(20, 15, 70, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 34px rgba(8, 7, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 45;
}

.portal-body .header-submenu-link {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.portal-body .header-submenu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    font-size: 14px;
    line-height: 1;
    color: currentColor;
    opacity: 0.9;
}

.portal-body .header-submenu-link:hover,
.portal-body .header-submenu-link:focus-visible,
.portal-body .header-submenu-link.primary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.portal-body .header-submenu:hover .header-submenu-panel,
.portal-body .header-submenu:focus-within .header-submenu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.portal-body .header-submenu:hover .header-submenu-caret,
.portal-body .header-submenu:focus-within .header-submenu-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.portal-body .header-nav-links::-webkit-scrollbar {
    display: none;
}

.portal-body .header-account {
    flex: 0 0 auto;
}

.portal-body .header-inline-form {
    margin: 0;
    display: inline-flex;
}

.portal-body .header-link,
.portal-body .header-link-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font: inherit;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portal-body .header-link:hover,
.portal-body .header-link-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.portal-body .header-link.primary {
    color: var(--white);
    background: transparent;
    box-shadow: none;
}

.portal-body .header-link.has-icon,
.portal-body .header-submenu-trigger {
    gap: 10px;
}

.portal-body .header-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    font-size: 16px;
    line-height: 1;
    color: currentColor;
    opacity: 0.9;
}

.portal-body .header-link-button {
    cursor: pointer;
}

.portal-body .header-account .auth-trigger {
    min-width: 290px;
    min-height: 76px;
    padding: 10px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.97));
    border: 0;
    box-shadow: 0 18px 36px rgba(18, 25, 77, 0.12);
}

.portal-body .header-account .auth-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.portal-body .header-account .auth-name {
    font-size: 18px;
    font-weight: 600;
}

.portal-body .header-account .auth-role {
    color: #8a93b3;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.portal-body .header-account .auth-caret {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.portal-hero,
.portal-card,
.dashboard-shell {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.portal-hero {
    position: relative;
    overflow: hidden;
    padding: 36px;
    background: linear-gradient(145deg, rgba(10, 7, 50, 0.98), rgba(34, 22, 132, 0.96));
    color: var(--white);
}

.portal-hero::before,
.portal-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.portal-hero::before {
    width: 260px;
    height: 260px;
    top: -120px;
    right: -50px;
    background: rgba(95, 116, 255, 0.24);
}

.portal-hero::after {
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -120px;
    background: rgba(255, 81, 81, 0.14);
}

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

.portal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red-500);
    box-shadow: 0 0 0 5px rgba(255, 81, 81, 0.16);
}

.portal-title {
    margin: 22px 0 16px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.registration-page .portal-title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.06;
}

.portal-email-note {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 16px 18px;
    margin: 18px 0 4px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8faff, #eef3ff);
    border: 1px solid rgba(58, 103, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.portal-email-note-label {
    color: #5f6d94;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-email-note-value {
    color: #152150;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.portal-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.78;
}

.portal-list-item {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-list-item strong,
.portal-list-item span {
    display: block;
}

.portal-list-item strong {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    line-height: 1.12;
}

.portal-list-item span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

.portal-card,
.dashboard-shell {
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
}

.portal-card h2,
.dashboard-heading h2 {
    margin: 0;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #172050;
}

.portal-subcopy,
.dashboard-heading p,
.detail-value,
.news-card p,
.empty-state {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.portal-subcopy,
.dashboard-heading p {
    margin-top: 12px;
}

.portal-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 88;
    display: grid;
    gap: 14px;
    pointer-events: none;
}

.portal-toast {
    width: min(100vw - 32px, 380px);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    align-items: start;
    gap: 16px;
    padding: 18px 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 22px 46px rgba(15, 23, 65, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(18px) translateX(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: auto;
}

.portal-toast.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.portal-toast.success {
    border-color: rgba(14, 159, 110, 0.14);
}

.portal-toast.error {
    border-color: rgba(220, 95, 82, 0.14);
}

.portal-toast-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #2f8f55;
    background: rgba(72, 187, 120, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.portal-toast-icon.error {
    color: #c44b45;
    background: rgba(229, 62, 62, 0.12);
}

.portal-toast-icon svg {
    width: 30px;
    height: 30px;
}

.portal-toast-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}

.portal-toast-copy strong {
    color: #2f8f55;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.portal-toast.error .portal-toast-copy strong {
    color: #b44540;
}

.portal-toast-copy p {
    margin: 0;
    color: #475274;
    font-size: 15px;
    line-height: 1.6;
}

.portal-toast-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(24, 33, 68, 0.08);
    color: #222a53;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.portal-toast-close:hover {
    transform: scale(1.05);
    background: rgba(24, 33, 68, 0.14);
}

.portal-form .form-label,
.detail-label,
.metric-label,
.news-card time {
    margin-bottom: 8px;
    color: #42507d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-form .form-control,
.portal-form .form-select {
    min-height: 54px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(16, 20, 58, 0.12);
    background: #ffffff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-form .form-control::placeholder {
    color: #8b95b7;
}

.portal-form .form-control:focus,
.portal-form .form-select:focus {
    border-color: rgba(58, 103, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(58, 103, 255, 0.12);
}

.portal-form .form-control[readonly] {
    background: #f6f8ff;
    color: #657193;
}

.portal-form .form-control[readonly]:focus {
    border-color: rgba(16, 20, 58, 0.12);
    box-shadow: none;
}

.portal-form .parsley-errors-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-form .parsley-errors-list li {
    color: #be3e3e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.portal-form .parsley-error {
    border-color: rgba(255, 81, 81, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 81, 81, 0.12);
}

.portal-code {
    min-height: 68px;
    padding: 0 18px;
    text-align: center;
    letter-spacing: 0.45em;
    font-size: 24px;
    font-weight: 700;
}

.portal-body .btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-body .btn:hover {
    transform: translateY(-1px);
}

.portal-body .btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), #6073ff);
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(58, 103, 255, 0.22);
}

.portal-body .btn-outline-primary {
    background: rgba(58, 103, 255, 0.08);
    color: var(--blue-600);
    border-color: rgba(58, 103, 255, 0.18);
}

.portal-summary {
    padding: 18px 20px;
    border-radius: 20px;
    background: #f7f9ff;
    border: 1px solid rgba(16, 20, 58, 0.08);
    display: grid;
    gap: 6px;
}

.portal-summary span {
    color: #42507d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-summary strong {
    color: #152150;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.portal-otp-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: min(100%, 240px);
}

.portal-otp-timer strong {
    color: var(--blue-600);
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1;
}

.portal-otp-timer.is-expired strong {
    color: #be3e3e;
}

.portal-otp-footer {
    display: grid;
    gap: 16px;
}

@media (min-width: 576px) {
    .portal-otp-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .portal-otp-footer .portal-otp-timer {
        justify-self: end;
        margin: 0;
    }
}

.agreement-panel {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(58, 103, 255, 0.08), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(58, 103, 255, 0.14);
    display: grid;
    gap: 18px;
}

.agreement-copy {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.agreement-input {
    width: 26px;
    min-width: 26px;
    max-width: 26px;
    height: 26px;
    min-height: 26px;
    margin: 0;
    margin-top: 4px;
    padding: 0;
    border: 1px solid rgba(16, 20, 58, 0.24);
    border-radius: 8px;
    background: #ffffff;
    accent-color: var(--blue-500);
    box-shadow: none;
}

.agreement-label {
    display: block;
    margin: 0;
    color: #233161;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.agreement-link {
    color: var(--blue-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-hero {
    display: grid;
    gap: 26px;
    align-content: start;
}

.profile-hero-head {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-hero-copy {
    display: grid;
    gap: 10px;
}

.profile-hero-copy .portal-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
}

.profile-avatar-large {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 92px;
    color: var(--white);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #5f78ff, #91a0ff);
    border: 6px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 36px rgba(58, 103, 255, 0.24);
}

.password-page .portal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.92));
}

.password-page .portal-summary {
    margin-top: 24px;
    background: linear-gradient(180deg, #f8faff, #eef3ff);
    border-color: rgba(58, 103, 255, 0.12);
}

.password-checklist {
    margin-top: 20px;
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f8faff;
    border: 1px solid rgba(58, 103, 255, 0.1);
}

.password-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #40507d;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.password-check-item::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    flex: 0 0 10px;
    background: linear-gradient(135deg, #3a67ff, #6f86ff);
    box-shadow: 0 0 0 5px rgba(58, 103, 255, 0.12);
}

.password-form {
    margin-top: 24px;
}

.password-form .form-label {
    color: #223160;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.password-form .form-control {
    min-height: 58px;
    border-radius: 14px;
    border-color: rgba(34, 49, 96, 0.14);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.password-form .form-control::placeholder {
    color: #9aa3bf;
}

.password-form .form-control:focus {
    border-color: rgba(58, 103, 255, 0.38);
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 4px rgba(58, 103, 255, 0.1);
}

.dashboard-shell {
    display: grid;
    gap: 28px;
}

@keyframes pollFadeLift {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pollMeterGrow {
    from {
        width: 0;
    }

    to {
        width: var(--fill-width, 0%);
    }
}

@keyframes pollBarRise {
    from {
        opacity: 0;
        transform: scaleY(0.3);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes pollSignalPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.92;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.poll-shell {
    display: grid;
    gap: 24px;
}

.poll-hero-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 36px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(58, 103, 255, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 99, 71, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 30px 60px rgba(15, 23, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    animation: pollFadeLift 0.55s ease both;
}

.poll-hero-banner::before,
.poll-hero-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.poll-hero-banner::before {
    width: 220px;
    height: 220px;
    top: -120px;
    right: -80px;
    background:
        radial-gradient(circle, rgba(90, 115, 255, 0.2), rgba(90, 115, 255, 0));
}

.poll-hero-banner::after {
    width: 180px;
    height: 180px;
    left: -50px;
    bottom: -90px;
    background:
        radial-gradient(circle, rgba(255, 100, 72, 0.14), rgba(255, 100, 72, 0));
}

.poll-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.poll-hero-banner h1 {
    margin: 18px 0 12px;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.poll-detail-hero h1 {
    font-size: clamp(28px, 3.2vw, 42px);
}

.poll-hero-banner p {
    margin: 0;
    color: #657193;
    font-size: 16px;
    line-height: 1.8;
}

.poll-hero-side {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    align-content: start;
}

.poll-hero-side {
    width: fit-content;
    margin-left: auto;
    justify-items: end;
}

.poll-hero-side-badge {
    align-self: center;
    width: min(240px, 100%);
}

.poll-count-badge {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2337a7, #4f6fff);
    color: var(--white);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 22px 36px rgba(58, 103, 255, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poll-count-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 42px rgba(58, 103, 255, 0.26);
}

.poll-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 255, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow:
        0 26px 52px rgba(15, 23, 65, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    animation: pollFadeLift 0.6s ease both;
}

.poll-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(58, 103, 255, 0.08), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 96, 68, 0.08), transparent 24%);
    pointer-events: none;
}

.poll-card:hover {
    transform: translateY(-6px);
    border-color: rgba(58, 103, 255, 0.22);
    box-shadow:
        0 34px 64px rgba(15, 23, 65, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.poll-card-top,
.poll-card-body,
.poll-action-row,
.poll-detail-content,
.poll-detail-side {
    position: relative;
    z-index: 1;
}

.poll-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.poll-status-stack {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.poll-status-pill,
.poll-trend-badge,
.poll-user-choice,
.poll-option-voted {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.poll-status-pill {
    background: rgba(58, 103, 255, 0.08);
    color: #3757c7;
    border: 1px solid rgba(58, 103, 255, 0.12);
}

.poll-status-pill.active {
    background: rgba(58, 103, 255, 0.1);
    color: #3556c4;
}

.poll-status-pill.closing {
    background: rgba(255, 173, 51, 0.14);
    color: #bf7810;
    border-color: rgba(255, 173, 51, 0.2);
}

.poll-status-pill.upcoming {
    background: rgba(125, 135, 167, 0.14);
    color: #6d7798;
    border-color: rgba(125, 135, 167, 0.14);
}

.poll-status-pill.closed {
    background: rgba(226, 91, 78, 0.12);
    color: #bf544a;
    border-color: rgba(226, 91, 78, 0.16);
}

.poll-trend-badge {
    gap: 10px;
    background: rgba(98, 108, 149, 0.08);
    color: #606c8f;
    border: 1px solid rgba(125, 135, 167, 0.12);
}

.poll-trend-badge.support {
    background: rgba(76, 175, 106, 0.1);
    color: #2f8a54;
    border-color: rgba(76, 175, 106, 0.14);
}

.poll-trend-badge.oppose {
    background: rgba(223, 98, 87, 0.1);
    color: #c0584c;
    border-color: rgba(223, 98, 87, 0.14);
}

.poll-trend-signal {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.38);
    animation: pollSignalPulse 1.9s ease-in-out infinite;
}

.poll-user-choice {
    background: rgba(58, 103, 255, 0.08);
    color: #3658cb;
    border: 1px solid rgba(58, 103, 255, 0.12);
}

.poll-user-choice.support {
    background: rgba(72, 187, 120, 0.12);
    color: #2f8f55;
    border-color: rgba(72, 187, 120, 0.16);
}

.poll-user-choice.oppose {
    background: rgba(229, 62, 62, 0.12);
    color: #c44949;
    border-color: rgba(229, 62, 62, 0.16);
}

.poll-user-choice.large {
    min-height: 40px;
    padding: 0 16px;
}

.poll-card-body {
    margin-top: 18px;
    display: grid;
    gap: 20px;
    flex: 1 1 auto;
}

.poll-card-heading {
    display: grid;
    gap: 12px;
}

.poll-card h2,
.poll-detail-grid h3,
.poll-content-section h2,
.poll-panel-header h2 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.poll-copy {
    margin: 0;
    color: #667190;
    font-size: 17px;
    line-height: 1.75;
}

.poll-result-surface {
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 246, 255, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 34px rgba(15, 23, 65, 0.07);
    backdrop-filter: blur(14px);
}

.poll-result-surface.large {
    padding: 24px;
}

.poll-card .poll-result-summary {
    padding: 4px 0 18px;
    border-bottom: 1px solid rgba(89, 114, 255, 0.08);
}

.poll-result-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
}

.poll-result-summary-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.poll-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7380a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.poll-section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a75ff, #98a8ff);
    box-shadow: 0 0 0 4px rgba(90, 117, 255, 0.12);
}

.poll-result-summary-copy strong {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #172050;
}

.poll-result-summary-copy p {
    margin: 0;
    color: #6e789a;
    font-size: 15px;
    line-height: 1.6;
}

.poll-mini-chart {
    height: 82px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 22px;
    background: rgba(237, 241, 255, 0.72);
    border: 1px solid rgba(58, 103, 255, 0.08);
    justify-self: end;
    flex: 0 0 auto;
}

.poll-mini-chart.large {
    width: 150px;
    height: 96px;
}

.poll-card .poll-mini-chart {
    min-width: 160px;
    background: linear-gradient(180deg, rgba(239, 243, 255, 0.88), rgba(231, 236, 255, 0.72));
    border-color: rgba(90, 117, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.poll-mini-chart-bar {
    width: 10px;
    height: var(--bar-height, 24%);
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, rgba(95, 119, 255, 0.95), rgba(58, 103, 255, 0.4));
    box-shadow: 0 10px 18px rgba(58, 103, 255, 0.16);
    transform-origin: center bottom;
    animation: pollBarRise 0.65s ease both;
    animation-delay: var(--bar-delay, 0s);
}

.poll-comparison-card {
    margin-top: 22px;
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 16px 28px rgba(15, 23, 65, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.poll-card .poll-comparison-card {
    margin-top: 0;
    padding: 18px 0 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.poll-comparison-card:hover {
    transform: translateY(-2px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 22px 36px rgba(15, 23, 65, 0.12);
}

.poll-card .poll-comparison-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.poll-comparison-head,
.poll-comparison-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.poll-comparison-side {
    display: grid;
    gap: 4px;
}

.poll-comparison-side.oppose {
    text-align: right;
    justify-items: end;
}

.poll-comparison-side strong {
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.poll-comparison-side.support strong {
    color: #46a25c;
}

.poll-comparison-side.oppose strong {
    color: #d05b52;
}

.poll-comparison-track {
    position: relative;
    height: 28px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(180deg, #edf2ff, #e5eaf9);
    border: 1px solid rgba(58, 103, 255, 0.08);
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.06),
        0 10px 18px rgba(15, 23, 65, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poll-comparison-card:hover .poll-comparison-track {
    transform: translateY(-1px);
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.05),
        0 14px 24px rgba(58, 103, 255, 0.12);
}

.poll-comparison-card.empty .poll-comparison-track {
    background: linear-gradient(180deg, #eff3ff, #e9edf9);
    border-color: rgba(125, 135, 167, 0.14);
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.05),
        0 8px 16px rgba(15, 23, 65, 0.04);
}

.poll-comparison-card.empty .poll-comparison-side strong {
    color: #7d88a8;
}

.poll-comparison-card.empty .poll-comparison-fill,
.poll-comparison-card.empty .poll-comparison-divider,
.poll-comparison-card.empty .poll-comparison-percent {
    display: none;
}

.poll-comparison-card.empty .poll-comparison-track::after {
    content: "No votes yet";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d88a8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poll-comparison-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    animation: pollMeterGrow 0.85s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
    animation-delay: var(--fill-delay, 0s);
}

.poll-comparison-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.1));
    pointer-events: none;
}

.poll-comparison-fill.support {
    left: 0;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(90deg, #5abf65, #69cb6a);
    box-shadow: 0 10px 18px rgba(83, 185, 99, 0.2);
}

.poll-comparison-fill.oppose {
    right: 0;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #d65043, #e58c83);
    box-shadow: 0 10px 18px rgba(214, 80, 67, 0.16);
}

.poll-comparison-divider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
    z-index: 2;
}

.poll-comparison-percent {
    position: absolute;
    top: 50%;
    z-index: 3;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
}

.poll-comparison-percent.support {
    left: 8px;
    background: rgba(54, 149, 77, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.poll-comparison-percent.oppose {
    right: 8px;
    background: rgba(191, 73, 62, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.poll-comparison-foot {
    margin-top: 12px;
    color: #8490b2;
    font-size: 14px;
    line-height: 1.5;
}

.poll-card .poll-comparison-foot {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(89, 114, 255, 0.12);
}

.poll-close-date {
    color: #243261;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.poll-insight-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.poll-insight-card {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.poll-insight-card strong {
    display: block;
    margin-top: 10px;
    color: #1a2455;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 19px;
    line-height: 1.2;
}

.poll-insight-card p {
    margin: 8px 0 0;
    color: #6e789a;
    font-size: 14px;
    line-height: 1.55;
}

.poll-action-row {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.poll-action-row.single {
    grid-template-columns: 1fr;
}

.poll-action-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(58, 103, 255, 0.1);
    color: #223160;
    font-size: 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.poll-action-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-600);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 16px 28px rgba(58, 103, 255, 0.12);
}

.poll-action-button.primary {
    color: var(--white);
    background: linear-gradient(135deg, #2f47c4, #5b75ff);
    border-color: transparent;
    box-shadow: 0 20px 34px rgba(58, 103, 255, 0.2);
}

.poll-action-button.disabled {
    color: #8d96b6;
    background: rgba(228, 233, 248, 0.8);
    border-color: rgba(139, 149, 181, 0.14);
    box-shadow: none;
}

.poll-empty-state {
    padding: 28px 32px;
}

.poll-history-banner::before {
    background:
        radial-gradient(circle, rgba(48, 188, 132, 0.18), rgba(48, 188, 132, 0));
}

.poll-history-banner::after {
    background:
        radial-gradient(circle, rgba(90, 117, 255, 0.14), rgba(90, 117, 255, 0));
}

.poll-history-list {
    margin-top: 4px;
}

.poll-history-card .poll-card-body {
    gap: 18px;
}

.poll-history-outcome {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: rgba(98, 108, 149, 0.08);
    color: #606c8f;
    border: 1px solid rgba(125, 135, 167, 0.12);
}

.poll-history-outcome.support {
    background: rgba(76, 175, 106, 0.11);
    color: #2f8a54;
    border-color: rgba(76, 175, 106, 0.14);
}

.poll-history-outcome.oppose {
    background: rgba(223, 98, 87, 0.11);
    color: #c0584c;
    border-color: rgba(223, 98, 87, 0.14);
}

.poll-history-outcome.neutral,
.poll-user-choice.neutral {
    background: rgba(98, 108, 149, 0.08);
    color: #657193;
    border: 1px solid rgba(125, 135, 167, 0.12);
}

.poll-history-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.poll-history-meta-item {
    position: relative;
    padding: 0 0 0 16px;
    display: grid;
    gap: 8px;
}

.poll-history-card .poll-history-meta {
    margin-top: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(89, 114, 255, 0.1);
}

.poll-history-card .poll-history-meta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(90, 117, 255, 0.92), rgba(179, 191, 255, 0.8));
    box-shadow: 0 8px 16px rgba(90, 117, 255, 0.14);
}

.poll-history-meta-item span {
    color: #7a86a9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.poll-history-meta-item strong {
    color: #1c2758;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.representative-shell {
    gap: 28px;
}

.representative-hero-banner {
    align-items: center;
    gap: 34px;
}

.representative-hero-banner::before {
    background:
        radial-gradient(circle, rgba(79, 111, 255, 0.2), rgba(79, 111, 255, 0));
}

.representative-hero-banner::after {
    background:
        radial-gradient(circle, rgba(33, 189, 142, 0.16), rgba(33, 189, 142, 0));
}

.representative-hero-side {
    width: min(360px, 100%);
}

.representative-hero-metrics {
    display: grid;
    gap: 14px;
    width: 100%;
}

.representative-hero-metric {
    padding: 18px 20px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 255, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 16px 30px rgba(15, 23, 65, 0.08);
    display: grid;
    gap: 8px;
}

.representative-hero-metric.primary {
    background:
        linear-gradient(135deg, rgba(35, 55, 167, 0.95), rgba(79, 111, 255, 0.88));
    color: #ffffff;
    box-shadow: 0 24px 40px rgba(58, 103, 255, 0.22);
}

.representative-hero-metric span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7682a7;
}

.representative-hero-metric.primary span,
.representative-hero-metric.primary p,
.representative-hero-metric.primary strong {
    color: #ffffff;
}

.representative-hero-metric strong {
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #172050;
}

.representative-hero-metric p {
    margin: 0;
    color: #687496;
    font-size: 14px;
    line-height: 1.6;
}

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

.representative-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 22px;
    padding: 0;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 26px 52px rgba(15, 23, 65, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.representative-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(79, 111, 255, 0.09), transparent 28%),
        radial-gradient(circle at bottom left, rgba(33, 189, 142, 0.08), transparent 24%);
    pointer-events: none;
}

.representative-card:hover {
    transform: translateY(-8px);
    border-color: rgba(58, 103, 255, 0.2);
    box-shadow:
        0 36px 66px rgba(15, 23, 65, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

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

.representative-card-spotlight {
    padding: 28px 28px 22px;
    display: grid;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(248, 250, 255, 0.82), rgba(255, 255, 255, 0.5));
    border-bottom: 1px solid rgba(58, 103, 255, 0.08);
}

.representative-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.representative-avatar-shell {
    width: 82px;
    height: 82px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(58, 103, 255, 0.16), rgba(90, 117, 255, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 16px 28px rgba(58, 103, 255, 0.14);
    display: grid;
    place-items: center;
}

.representative-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.representative-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #3657ca;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.representative-head-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.representative-kicker {
    color: #7480a6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.representative-head-copy h2 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(26px, 2.2vw, 32px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.representative-head-copy p {
    margin: 0;
    color: #667190;
    font-size: 15px;
    line-height: 1.55;
}

.representative-badge-stack {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.representative-chip,
.representative-status {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.representative-chip {
    background: rgba(58, 103, 255, 0.08);
    color: #3557c8;
    border: 1px solid rgba(58, 103, 255, 0.12);
}

.representative-status.available {
    background: rgba(76, 175, 106, 0.11);
    color: #2f8a54;
    border: 1px solid rgba(76, 175, 106, 0.14);
}

.representative-status.limited {
    background: rgba(125, 135, 167, 0.1);
    color: #667190;
    border: 1px solid rgba(125, 135, 167, 0.14);
}

.representative-detail-grid {
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.representative-detail-item {
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 14px 24px rgba(15, 23, 65, 0.05);
    display: grid;
    align-content: start;
    gap: 8px;
}

.representative-detail-item span {
    color: #7a86a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.representative-detail-item strong {
    color: #1c2758;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.representative-detail-item p {
    margin: 0;
    color: #7480a4;
    font-size: 13px;
    line-height: 1.6;
}

.representative-card-footer {
    padding: 0 28px 28px;
    display: grid;
    gap: 18px;
}

.representative-presence {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(245, 248, 255, 0.9), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(58, 103, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 12px 20px rgba(15, 23, 65, 0.05);
}

.representative-presence-dot {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    border-radius: 50%;
    background: #93a0c4;
    box-shadow: 0 0 0 6px rgba(147, 160, 196, 0.12);
}

.representative-presence-dot.available {
    background: #3db86f;
    box-shadow: 0 0 0 6px rgba(61, 184, 111, 0.12);
}

.representative-presence-dot.limited {
    background: #8f9abc;
    box-shadow: 0 0 0 6px rgba(143, 154, 188, 0.12);
}

.representative-presence-copy {
    display: grid;
    gap: 6px;
}

.representative-presence-copy strong {
    color: #172050;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.representative-presence-copy p,
.representative-card-no-action {
    margin: 0;
    color: #687496;
    font-size: 14px;
    line-height: 1.65;
}

.representative-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.representative-action-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f47c4, #5b75ff);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 18px 30px rgba(58, 103, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.representative-action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(58, 103, 255, 0.22);
}

.representative-action-link.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #223160;
    border: 1px solid rgba(58, 103, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 16px 28px rgba(15, 23, 65, 0.08);
}

.representative-simple-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 4px 2px;
}

.representative-simple-hero-copy {
    max-width: 720px;
}

.representative-simple-hero-copy h1 {
    margin: 14px 0 10px;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.representative-simple-hero-copy p {
    margin: 0;
    color: #677399;
    font-size: 16px;
    line-height: 1.7;
}

.representative-simple-count {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(58, 103, 255, 0.08);
    border: 1px solid rgba(58, 103, 255, 0.12);
    color: #3557c8;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.representative-simple-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 20, 58, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 65, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.representative-simple-card:hover {
    transform: translateY(-2px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 24px 44px rgba(15, 23, 65, 0.12);
}

.representative-simple-profile {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
}

.representative-simple-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(58, 103, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    display: grid;
    place-items: center;
}

.representative-simple-avatar-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.representative-simple-avatar-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #3657ca;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.representative-simple-avatar-fallback.is-visible {
    opacity: 1;
}

.representative-simple-avatar-image.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.representative-simple-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.representative-simple-copy h2 {
    margin: 0;
    color: #173a86;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.representative-simple-role,
.representative-simple-meta {
    margin: 0;
    color: #5f6b8c;
    line-height: 1.45;
}

.representative-simple-role {
    font-size: 16px;
    font-weight: 500;
}

.representative-simple-meta {
    font-size: 15px;
}

.representative-simple-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.representative-simple-button,
.representative-simple-badge {
    min-width: 148px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
}

.representative-simple-button {
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, #244ea7, #2f6be0);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(47, 107, 224, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.representative-simple-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(47, 107, 224, 0.26);
}

.representative-simple-badge {
    background: rgba(125, 135, 167, 0.1);
    border: 1px solid rgba(125, 135, 167, 0.14);
    color: #667190;
}

body.representative-modal-open {
    overflow: hidden;
}

.representative-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(11, 18, 49, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.representative-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.representative-modal-dialog {
    position: relative;
    width: min(100%, 580px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 20, 58, 0.08);
    box-shadow: 0 28px 60px rgba(11, 18, 49, 0.2);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.representative-modal-backdrop.is-visible .representative-modal-dialog {
    transform: translateY(0) scale(1);
}

.representative-modal-head {
    padding: 18px 56px 16px 22px;
    border-bottom: 1px solid rgba(16, 20, 58, 0.08);
    text-align: center;
}

.representative-modal-head h2 {
    margin: 0;
    color: #173a86;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.representative-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #7d88a8;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.representative-modal-form {
    margin: 0;
}

.representative-modal-body {
    padding: 18px 20px 22px;
    display: grid;
    gap: 18px;
}

.representative-modal-body textarea {
    width: 100%;
    min-height: 136px;
    padding: 16px 16px;
    border-radius: 10px;
    border: 1px solid rgba(16, 20, 58, 0.12);
    background: #ffffff;
    color: #233160;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.representative-modal-body textarea:focus {
    border-color: rgba(47, 107, 224, 0.34);
    box-shadow: 0 0 0 4px rgba(47, 107, 224, 0.08);
}

.representative-file-input {
    display: none;
}

.representative-file-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #2b746a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.representative-file-trigger-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #9fd3b8, #63a58d);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

.representative-modal-actions {
    padding: 18px 20px 20px;
    border-top: 1px solid rgba(16, 20, 58, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.representative-modal-button {
    min-width: 160px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #244ea7, #2f6be0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(47, 107, 224, 0.18);
}

.representative-modal-button.secondary {
    background: linear-gradient(180deg, #f2f4fb, #dde3f2);
    color: #485171;
    box-shadow: none;
    border: 1px solid rgba(16, 20, 58, 0.08);
}

.event-shell {
    gap: 28px;
}

.event-hero-banner::before {
    background:
        radial-gradient(circle, rgba(255, 177, 88, 0.18), rgba(255, 177, 88, 0));
}

.event-hero-banner::after {
    background:
        radial-gradient(circle, rgba(70, 194, 145, 0.14), rgba(70, 194, 145, 0));
}

.event-card,
.event-history-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 24px 48px rgba(15, 23, 65, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
}

.event-card {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 30px;
}

.event-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.event-status-pill,
.event-response-pill {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.event-status-pill {
    background: rgba(255, 177, 88, 0.16);
    border: 1px solid rgba(255, 177, 88, 0.2);
    color: #b96d1d;
}

.event-response-pill {
    background: rgba(98, 108, 149, 0.08);
    border: 1px solid rgba(125, 135, 167, 0.12);
    color: #637093;
}

.event-response-pill.maybe {
    background: rgba(255, 177, 88, 0.14);
    border-color: rgba(255, 177, 88, 0.18);
    color: #bb731f;
}

.event-response-pill.accept {
    background: rgba(76, 175, 106, 0.12);
    border-color: rgba(76, 175, 106, 0.16);
    color: #2f8a54;
}

.event-response-pill.decline {
    background: rgba(223, 98, 87, 0.12);
    border-color: rgba(223, 98, 87, 0.16);
    color: #c0584c;
}

.event-card-body,
.event-copy {
    display: grid;
    gap: 16px;
}

.event-copy-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.event-copy-content {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.event-calendar-card {
    position: relative;
    overflow: hidden;
    width: 92px;
    min-width: 92px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 255, 0.92);
    box-shadow:
        0 18px 32px rgba(15, 23, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
}

.event-calendar-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, transparent 0%, transparent 48%, rgba(25, 32, 72, 0.22) 49%, rgba(25, 32, 72, 0.22) 100%);
}

.event-calendar-month,
.event-calendar-weekday {
    display: block;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.event-calendar-month {
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    background: linear-gradient(135deg, #5374ff, #6f86ff);
    color: #ffffff;
    font-size: 14px;
}

.event-calendar-day {
    display: block;
    padding: 12px 10px 8px;
    color: #111a45;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.event-calendar-weekday {
    position: relative;
    padding: 10px 10px 12px;
    color: #192048;
    font-size: 14px;
}

.event-calendar-weekday::before {
    content: "";
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto 8px;
    border-top: 1px dashed rgba(111, 126, 171, 0.36);
}

.event-copy h2,
.event-history-copy h3 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
}

.event-copy h2 {
    font-size: 28px;
    line-height: 1.12;
}

.event-history-copy h3 {
    font-size: 23px;
    line-height: 1.18;
}

.event-copy p,
.event-history-copy p {
    margin: 0;
    color: #677399;
    font-size: 15px;
    line-height: 1.7;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.event-meta-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-meta-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    display: grid;
    gap: 8px;
}

.event-meta-card span {
    color: #7a86a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-meta-card strong {
    color: #1c2758;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.event-meta-card-schedule {
    gap: 10px;
}

.event-meta-schedule {
    display: grid;
    gap: 10px;
}

.event-meta-schedule-row {
    display: grid;
    gap: 3px;
}

.event-meta-schedule-row + .event-meta-schedule-row {
    padding-top: 10px;
    border-top: 1px dashed rgba(125, 135, 167, 0.18);
}

.event-meta-schedule-row small {
    color: #7a86a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-meta-schedule-row strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.event-description {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(245, 248, 255, 0.82);
    border: 1px solid rgba(58, 103, 255, 0.08);
    color: #657193;
    font-size: 15px;
    line-height: 1.75;
}

.event-description > :first-child {
    margin-top: 0;
}

.event-description > :last-child {
    margin-bottom: 0;
}

.event-description p + p,
.event-description p + ul,
.event-description p + ol,
.event-description ul + p,
.event-description ol + p {
    margin-top: 12px;
}

.event-description ul,
.event-description ol {
    padding-left: 20px;
}

.event-description a {
    color: #3757c7;
    text-decoration: underline;
}

.event-response-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.event-response-actions form {
    margin: 0;
}

.event-card-actions {
    display: flex;
    justify-content: flex-end;
}

.event-detail-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(58, 103, 255, 0.12);
    color: #233160;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-detail-link:hover {
    transform: translateY(-1px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 14px 24px rgba(58, 103, 255, 0.12);
}

.event-detail-link.icon-only {
    width: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 0;
    border-radius: 18px;
}

.event-detail-link.icon-only svg {
    width: 24px;
    height: 24px;
}

.event-response-button {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.82);
    color: #21305f;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.event-response-button:hover {
    transform: translateY(-1px);
}

.event-response-button.locked {
    cursor: default;
    pointer-events: none;
    box-shadow: 0 16px 30px rgba(15, 23, 65, 0.12);
}

.event-response-button.locked:hover {
    transform: none;
}

.event-response-button.maybe {
    border-color: rgba(255, 177, 88, 0.18);
    color: #b86f1e;
    background: rgba(255, 177, 88, 0.08);
}

.event-response-button.accept {
    border-color: rgba(76, 175, 106, 0.16);
    color: #2f8a54;
    background: rgba(76, 175, 106, 0.08);
}

.event-response-button.decline {
    border-color: rgba(223, 98, 87, 0.16);
    color: #c0584c;
    background: rgba(223, 98, 87, 0.08);
}

.event-response-button.active {
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(15, 23, 65, 0.12);
}

.event-response-button.is-loading {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.event-response-button.maybe.active {
    background: linear-gradient(135deg, #d9a048, #f0b556);
}

.event-response-button.accept.active {
    background: linear-gradient(135deg, #43a55e, #5fc177);
}

.event-response-button.decline.active {
    background: linear-gradient(135deg, #d95d51, #ea7d72);
}

.event-history-card {
    padding: 22px 24px;
    border-radius: 26px;
}

.event-history-list {
    display: grid;
    gap: 0;
    padding: 28px 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(88, 122, 255, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(70, 194, 145, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 24px 48px rgba(15, 23, 65, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
}

.event-history-row {
    padding: 28px 0;
    border-bottom: 1px solid rgba(125, 135, 167, 0.16);
}

.event-history-row:first-child {
    padding-top: 0;
}

.event-history-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.event-history-main {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.event-history-overview {
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.event-history-copy {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.event-history-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-history-side {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(160px, 0.72fr) minmax(220px, 1fr);
    grid-template-areas:
        "venue schedule"
        ". action";
    gap: 24px;
    align-items: start;
}

.event-history-detail-venue {
    grid-area: venue;
}

.event-history-detail {
    padding: 0;
    display: grid;
    gap: 10px;
}

.event-history-detail span {
    color: #7a86a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-history-detail strong {
    color: #1c2758;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.event-history-detail-schedule {
    grid-area: schedule;
    min-width: 0;
}

.event-history-schedule {
    display: grid;
    gap: 10px;
}

.event-history-schedule-row {
    display: grid;
    gap: 3px;
}

.event-history-schedule-row + .event-history-schedule-row {
    padding-top: 10px;
    border-top: 1px dashed rgba(125, 135, 167, 0.18);
}

.event-history-schedule-row small {
    color: #7a86a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-history-schedule-row strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.event-history-actions {
    grid-area: action;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: end;
}

.event-hero-status {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    gap: 10px;
}

.event-detail-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    align-items: start;
    padding: 30px 32px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(255, 177, 88, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(70, 194, 145, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 28px 56px rgba(15, 23, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
}

.event-detail-hero-copy {
    display: grid;
    gap: 18px;
    min-width: 0;
    align-content: start;
}

.event-detail-hero-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.event-detail-hero-copy h1 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.event-detail-hero-copy p {
    margin: 0;
    max-width: 760px;
    color: #667190;
    font-size: 16px;
    line-height: 1.75;
}

.event-detail-hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
    justify-items: end;
}

.event-detail-hero-meta-card {
    width: min(100%, 340px);
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(125, 135, 167, 0.18);
    display: grid;
    gap: 6px;
    text-align: right;
}

.event-detail-hero-meta-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.event-detail-hero-meta-card > span {
    color: #7a86a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-detail-hero-meta-card strong {
    color: #1c2758;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.event-detail-hero-meta-card strong span {
    display: block;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

.event-status-pill.upcoming {
    background: rgba(88, 122, 255, 0.14);
    border-color: rgba(88, 122, 255, 0.18);
    color: #405bc5;
}

.event-status-pill.live {
    background: rgba(76, 175, 106, 0.12);
    border-color: rgba(76, 175, 106, 0.16);
    color: #2f8a54;
}

.event-status-pill.ended {
    background: rgba(125, 135, 167, 0.12);
    border-color: rgba(125, 135, 167, 0.16);
    color: #637093;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 24px;
}

.event-detail-card,
.event-detail-side {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 24px 48px rgba(15, 23, 65, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
}

.event-description-large {
    margin-top: 18px;
}

.event-detail-map {
    margin-top: 20px;
    display: grid;
    gap: 16px;
}

.event-detail-map-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.event-detail-map-head h3 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.event-map-link {
    min-height: 42px;
    padding: 0 16px;
}

.event-detail-map-frame {
    overflow: hidden;
    min-height: 320px;
    border-radius: 24px;
    border: 1px solid rgba(58, 103, 255, 0.1);
    box-shadow:
        0 18px 36px rgba(15, 23, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.event-detail-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.event-detail-panel {
    display: grid;
    gap: 18px;
}

.event-response-pill.large {
    min-height: 42px;
    width: fit-content;
    padding: 0 18px;
    font-size: 14px;
}

.event-detail-note {
    margin: 0;
    color: #6c789a;
    font-size: 15px;
    line-height: 1.65;
}

.event-detail-closed {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(245, 248, 255, 0.84);
    border: 1px solid rgba(58, 103, 255, 0.08);
}

.event-detail-closed {
    color: #1d2859;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.event-response-actions.detail {
    grid-template-columns: 1fr;
}

body.event-modal-open {
    overflow: hidden;
}

.event-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 82;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(11, 18, 49, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.event-confirm-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.event-confirm-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 30px 28px 26px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.93));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 28px 60px rgba(11, 18, 49, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.event-confirm-backdrop.is-visible .event-confirm-dialog {
    transform: translateY(0) scale(1);
}

.event-confirm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(89, 104, 156, 0.1);
    color: #586584;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.event-confirm-close:hover {
    transform: scale(1.04);
    background: rgba(89, 104, 156, 0.16);
}

.event-confirm-icon-shell {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #c28b2f;
    background: rgba(255, 177, 88, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.event-confirm-icon-shell.accept {
    color: #2f8f55;
    background: rgba(72, 187, 120, 0.12);
}

.event-confirm-icon-shell.decline {
    color: #c44b45;
    background: rgba(229, 62, 62, 0.12);
}

.event-confirm-icon-shell svg {
    width: 34px;
    height: 34px;
}

.event-confirm-kicker {
    display: inline-block;
    margin-top: 18px;
    color: #7a85a9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-confirm-dialog h3 {
    margin: 12px 0 10px;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.event-confirm-dialog p {
    margin: 0;
    color: #657193;
    font-size: 15px;
    line-height: 1.75;
}

.event-confirm-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.event-confirm-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #d9a048, #f0b556);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 18px 30px rgba(217, 160, 72, 0.2);
}

.event-confirm-button:hover {
    transform: translateY(-1px);
}

.event-confirm-button:disabled {
    cursor: wait;
    opacity: 0.76;
    transform: none;
}

.event-confirm-button.secondary {
    background: rgba(58, 103, 255, 0.08);
    color: #3557c8;
    box-shadow: none;
}

.event-confirm-button.accept {
    background: linear-gradient(135deg, #54bc66, #409f5b);
    box-shadow: 0 18px 30px rgba(64, 159, 91, 0.2);
}

.event-confirm-button.decline {
    background: linear-gradient(135deg, #dc5f52, #ce4a43);
    box-shadow: 0 18px 30px rgba(206, 74, 67, 0.2);
}

.poll-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 24px;
}

.poll-detail-content,
.poll-detail-side {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.82));
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 28px 52px rgba(15, 23, 65, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    animation: pollFadeLift 0.6s ease both;
}

.poll-detail-side {
    background:
        radial-gradient(circle at top right, rgba(90, 117, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(90, 117, 255, 0.06), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.92));
    border-color: rgba(255, 255, 255, 0.8);
}

.poll-content-section {
    display: grid;
    gap: 10px;
}

.poll-detail-copy {
    margin-top: 18px;
}

.poll-detail-meta,
.poll-result-grid,
.poll-vote-grid {
    display: grid;
    gap: 16px;
}

.poll-detail-meta {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.poll-result-grid {
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poll-detail-meta-card {
    position: relative;
    min-height: 0;
    padding: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(23, 32, 80, 0.08);
    box-shadow: none;
    transition: none;
}

.poll-detail-meta-card::before {
    content: none;
}

.poll-detail-meta-card:hover {
    transform: none;
    border-color: rgba(58, 103, 255, 0.12);
    box-shadow: none;
}

.poll-detail-meta-head,
.poll-detail-meta-card > * {
    position: relative;
    z-index: 1;
}

.poll-detail-meta-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poll-detail-meta-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #4966df;
    background: rgba(58, 103, 255, 0.1);
    box-shadow: none;
}

.poll-detail-meta-icon svg {
    width: 22px;
    height: 22px;
}

.poll-detail-meta-label,
.poll-result-card span {
    color: #677399;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.poll-detail-date-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.poll-detail-date-item {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.poll-detail-date-item:last-child {
    text-align: right;
}

.poll-detail-date-kicker {
    color: #8a94b5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poll-detail-date-value {
    display: block;
    color: #24305f;
    font-family: "Segoe UI", sans-serif;
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.poll-detail-date-separator {
    width: auto;
    height: auto;
    display: grid;
    place-items: center;
    color: #8a94b5;
    background: transparent;
    box-shadow: none;
}

.poll-detail-date-separator::before {
    content: "\2192";
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.poll-detail-meta-value.numeric {
    max-width: none;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
}

.poll-detail-meta-card p {
    margin: 0;
    color: #7480a4;
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
}

.poll-detail-meta-card-window .poll-detail-meta-icon {
    color: #4764dd;
    background: rgba(58, 103, 255, 0.1);
}

.poll-detail-meta-card-voting .poll-detail-meta-icon {
    color: #a96a1b;
    background: rgba(255, 184, 77, 0.16);
}

.poll-result-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.74);
    display: grid;
    gap: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.poll-result-card strong {
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.poll-section-block {
    margin-top: 26px;
}

.poll-section-block h3 {
    margin-bottom: 16px;
}

.poll-attachment-list {
    display: grid;
    gap: 14px;
}

.poll-attachment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.74);
    color: #21305f;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poll-attachment-card:hover {
    transform: translateY(-2px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 18px 30px rgba(58, 103, 255, 0.12);
}

.poll-attachment-card strong {
    color: var(--blue-600);
    font-size: 14px;
    white-space: nowrap;
}

.poll-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.poll-detail-side .poll-result-surface {
    margin-top: 22px;
    padding: 24px 0 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(89, 114, 255, 0.08);
    box-shadow: none;
    backdrop-filter: none;
}

.poll-detail-side .poll-result-summary {
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(89, 114, 255, 0.08);
}

.poll-detail-side .poll-comparison-card {
    margin-top: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: none;
}

.poll-detail-side .poll-comparison-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.poll-detail-side .poll-comparison-track {
    margin-top: 18px;
    background: linear-gradient(180deg, #eef2ff, #e7ecfb);
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.05),
        0 8px 16px rgba(15, 23, 65, 0.05);
}

.poll-detail-side .poll-comparison-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(89, 114, 255, 0.12);
}

.poll-detail-side .poll-comparison-card:hover .poll-comparison-track {
    transform: none;
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.06),
        0 10px 18px rgba(15, 23, 65, 0.06);
}

.poll-current-vote,
.poll-note,
.poll-closed-note {
    margin-top: 18px;
    color: #667190;
    font-size: 15px;
    line-height: 1.7;
}

.poll-current-vote strong {
    color: #172050;
}

.poll-vote-grid {
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.poll-vote-form {
    margin: 0;
}

.poll-vote-button {
    width: 100%;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poll-vote-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

body.poll-modal-open {
    overflow: hidden;
}

.poll-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(11, 18, 49, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.poll-confirm-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.poll-confirm-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 30px 28px 26px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 28px 60px rgba(11, 18, 49, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.poll-confirm-backdrop.is-visible .poll-confirm-dialog {
    transform: translateY(0) scale(1);
}

.poll-confirm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(89, 104, 156, 0.1);
    color: #586584;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.poll-confirm-close:hover {
    transform: scale(1.04);
    background: rgba(89, 104, 156, 0.16);
}

.poll-confirm-icon-shell {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #3558c9;
    background: rgba(58, 103, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.poll-confirm-icon-shell.support {
    color: #2f8f55;
    background: rgba(72, 187, 120, 0.12);
}

.poll-confirm-icon-shell.oppose {
    color: #c44b45;
    background: rgba(229, 62, 62, 0.12);
}

.poll-confirm-icon-shell svg {
    width: 34px;
    height: 34px;
}

.poll-confirm-kicker {
    display: inline-block;
    margin-top: 18px;
    color: #7a85a9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.poll-confirm-dialog h3 {
    margin: 12px 0 10px;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.poll-confirm-dialog p {
    margin: 0;
    color: #657193;
    font-size: 15px;
    line-height: 1.75;
}

.poll-confirm-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.poll-confirm-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2f47c4, #5b75ff);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 18px 30px rgba(58, 103, 255, 0.18);
}

.poll-confirm-button:hover {
    transform: translateY(-1px);
}

.poll-confirm-button.secondary {
    background: rgba(58, 103, 255, 0.08);
    color: #3557c8;
    box-shadow: none;
}

.poll-confirm-button.support {
    background: linear-gradient(135deg, #54bc66, #409f5b);
    box-shadow: 0 18px 30px rgba(64, 159, 91, 0.2);
}

.poll-confirm-button.oppose {
    background: linear-gradient(135deg, #dc5f52, #ce4a43);
    box-shadow: 0 18px 30px rgba(206, 74, 67, 0.2);
}

.poll-success-backdrop {
    position: fixed;
    inset: 0;
    z-index: 82;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(11, 18, 49, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.poll-success-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.poll-success-dialog {
    width: min(100%, 420px);
    padding: 28px 26px 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 30px 62px rgba(11, 18, 49, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.poll-success-backdrop.is-visible .poll-success-dialog {
    transform: translateY(0) scale(1);
}

.poll-success-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.poll-success-icon,
.poll-success-figure {
    width: 86px;
    height: 86px;
    border-radius: 26px;
    display: grid;
    place-items: center;
}

.poll-success-icon {
    background: linear-gradient(135deg, #58bf67, #3d9956);
    color: #ffffff;
    box-shadow: 0 22px 36px rgba(61, 153, 86, 0.24);
}

.poll-success-icon svg {
    width: 44px;
    height: 44px;
}

.poll-success-figure {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.85), transparent 22%),
        linear-gradient(135deg, #f6fbff, #dfeeff);
    border: 1px solid rgba(58, 103, 255, 0.12);
}

.poll-success-figure::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    top: 14px;
    left: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8c4e2e, #6d3620);
    box-shadow: 14px 10px 0 4px rgba(123, 64, 35, 0.95);
}

.poll-success-figure::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 12px;
    height: 34px;
    border-radius: 22px 22px 14px 14px;
    background: linear-gradient(135deg, #ff6e5a, #f24f43);
}

.poll-success-face {
    position: absolute;
    top: 30px;
    left: 28px;
    width: 28px;
    height: 30px;
    border-radius: 16px 16px 14px 14px;
    background: #ffd9ba;
    box-shadow:
        34px 16px 0 -8px #ffd9ba,
        38px 18px 0 -12px #ffd9ba;
}

.poll-success-dialog h3 {
    margin: 18px 0 10px;
    color: #2c5cc5;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.poll-success-dialog p {
    margin: 0;
    color: #4f5b7d;
    font-size: 16px;
    line-height: 1.75;
}

.poll-success-dialog p strong {
    color: #1f2957;
    font-weight: 800;
}

.poll-success-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.poll-success-button {
    min-width: 120px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2b67cc, #1f56aa);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 28px rgba(43, 103, 204, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poll-success-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 32px rgba(43, 103, 204, 0.28);
}

.poll-vote-button:hover {
    transform: translateY(-1px);
}

.poll-vote-button.support {
    background: rgba(72, 187, 120, 0.1);
    color: #2f8f55;
    border-color: rgba(72, 187, 120, 0.18);
}

.poll-vote-button.support.active {
    background: linear-gradient(135deg, #54bc66, #409f5b);
    color: #ffffff;
    box-shadow: 0 18px 28px rgba(64, 159, 91, 0.2);
}

.poll-vote-button.oppose {
    background: rgba(229, 62, 62, 0.1);
    color: #c44949;
    border-color: rgba(229, 62, 62, 0.18);
}

.poll-vote-button.oppose.active {
    background: linear-gradient(135deg, #dc5f52, #ce4a43);
    color: #ffffff;
    box-shadow: 0 18px 28px rgba(206, 74, 67, 0.2);
}

.dashboard-shell-redesign {
    position: relative;
    overflow: visible;
    padding: 0;
    gap: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dashboard-stage {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 20px;
}

.dashboard-stage::before {
    background:
        radial-gradient(circle, rgba(84, 113, 255, 0.22), rgba(84, 113, 255, 0));
}

.dashboard-stage::after {
    background:
        radial-gradient(circle, rgba(255, 153, 78, 0.18), rgba(255, 153, 78, 0));
}

.dashboard-stage-copy {
    max-width: 880px;
}

.dashboard-stage-side {
    width: min(420px, 100%);
    align-self: stretch;
}

.dashboard-stage-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 22px 38px rgba(15, 23, 65, 0.12);
}

.dashboard-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #243261;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.dashboard-chip.primary {
    background: linear-gradient(135deg, rgba(49, 82, 223, 0.14), rgba(106, 130, 255, 0.16));
    border-color: rgba(59, 96, 255, 0.16);
    color: #2440a0;
}

.dashboard-panel {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 22px 42px rgba(15, 23, 65, 0.08);
}

.dashboard-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.dashboard-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7380a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-panel-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a75ff, #98a8ff);
    box-shadow: 0 0 0 4px rgba(90, 117, 255, 0.12);
}

.dashboard-panel h2 {
    margin: 10px 0 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.dashboard-panel-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(58, 103, 255, 0.08);
    border: 1px solid rgba(58, 103, 255, 0.12);
    color: #3557c8;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-panel-link:hover {
    transform: translateY(-1px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 14px 24px rgba(58, 103, 255, 0.12);
}

.dashboard-news-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
    border: 1px solid rgba(208, 218, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 22px 42px rgba(15, 23, 65, 0.08);
}

.dashboard-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(21, 34, 78, 0.08);
    flex-wrap: wrap;
}

.dashboard-news-title-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.dashboard-news-title-row h2 {
    margin: 0;
    color: #111936;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.dashboard-feed-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f66e6, #6379f0);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(79, 102, 230, 0.2);
}

.dashboard-news-mark-all {
    margin: 0;
}

.dashboard-news-mark-all-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #4a63da;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.dashboard-news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.dashboard-news-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.dashboard-news-load-more {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(79, 102, 230, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: #3550cf;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.dashboard-news-load-more:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(79, 102, 230, 0.26);
    box-shadow: 0 12px 24px rgba(36, 56, 129, 0.12);
}

.dashboard-news-load-more:disabled {
    opacity: 0.72;
    cursor: wait;
}

.dashboard-news-item {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 28px 0 26px 26px;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(21, 34, 78, 0.08);
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dashboard-news-item.is-unread {
    background: linear-gradient(90deg, rgba(79, 102, 230, 0.05), rgba(79, 102, 230, 0));
}

.dashboard-news-item.is-unread::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #4f66e6, #5e76f0);
}

.dashboard-news-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-news-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dashboard-news-indicator {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f66e6, #6379f0);
    box-shadow: 0 0 0 5px rgba(79, 102, 230, 0.08);
}

.dashboard-news-date-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #8190b0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.dashboard-news-item h3 {
    margin: 0;
    color: #111936;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.dashboard-news-item p {
    margin: 0;
    max-width: 900px;
    color: #596785;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.75;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.dashboard-news-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dashboard-news-kind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #4a63da;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-news-kind::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f66e6, #6379f0);
    box-shadow: 0 0 0 4px rgba(79, 102, 230, 0.08);
}

.dashboard-news-link {
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: 8px;
    margin-left: auto;
    color: #2b47c5;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.dashboard-news-link::after {
    content: "\2192";
    font-size: 1em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.dashboard-news-link:hover {
    color: #2b47c5;
}

.dashboard-news-link:hover::after {
    transform: translateX(3px);
}

.dashboard-empty-state {
    margin-top: 22px;
}

.metric-card,
.detail-card,
.news-card,
.empty-state {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(16, 20, 58, 0.08);
    box-shadow: 0 12px 28px rgba(12, 19, 64, 0.06);
}

.metric-label {
    display: block;
}

.metric-value {
    display: block;
    margin-top: 8px;
    color: #152150;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.detail-card {
    display: grid;
    gap: 6px;
}

.detail-value strong {
    color: #152150;
    font-weight: 700;
}

.news-card h3 {
    margin: 10px 0 8px;
    color: #152150;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.news-card p + p {
    margin-top: 10px;
}

.news-state {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(58, 103, 255, 0.08);
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-news-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(58, 103, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #3a67ff;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-news-close:hover {
    transform: translateY(-1px);
    border-color: rgba(58, 103, 255, 0.28);
    box-shadow: 0 12px 24px rgba(36, 56, 129, 0.12);
}

.dashboard-news-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-modal-open {
    overflow: hidden;
}

.dashboard-news-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.dashboard-news-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 42, 0.5);
    backdrop-filter: blur(10px);
}

.dashboard-news-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 28px 60px rgba(10, 16, 42, 0.24);
}

.dashboard-news-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.dashboard-news-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 52px;
    flex-wrap: wrap;
}

.dashboard-news-dialog time {
    color: #7c87ab;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-news-dialog h3 {
    margin: 0;
    color: #152150;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.dashboard-news-dialog-copy {
    color: #5c688a;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-wrap;
}

.empty-state {
    color: var(--muted);
}

.portal-pagination {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-pagination-summary {
    color: #68749a;
    font-size: 14px;
    font-weight: 600;
}

.portal-pagination-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-pagination-link,
.portal-pagination-current {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.portal-pagination-link {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(58, 103, 255, 0.12);
    color: #21305f;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-pagination-link:hover {
    transform: translateY(-1px);
    border-color: rgba(58, 103, 255, 0.18);
    box-shadow: 0 14px 24px rgba(58, 103, 255, 0.12);
}

.portal-pagination-link.primary {
    background: linear-gradient(135deg, #5374ff, #6f86ff);
    border-color: transparent;
    color: #ffffff;
}

.portal-pagination-link.disabled {
    opacity: 0.52;
    pointer-events: none;
    box-shadow: none;
}

.portal-pagination-current {
    background: rgba(236, 240, 255, 0.72);
    border: 1px solid rgba(58, 103, 255, 0.12);
    color: #405bc5;
}

@media (max-width: 980px) {
    .representative-list,
    .event-detail-hero,
    .event-detail-hero-meta,
    .event-detail-grid,
    .poll-detail-grid,
    .poll-detail-meta,
    .event-meta-grid,
    .poll-result-grid,
    .poll-insight-grid,
    .poll-vote-grid,
    .dashboard-stage,
    .dashboard-news-list {
        grid-template-columns: 1fr;
    }

    .representative-hero-side {
        width: 100%;
    }

    .representative-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .representative-simple-card {
        padding: 18px;
    }

    .event-history-main {
        grid-template-columns: 1fr;
    }

    .event-history-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "venue schedule"
            ". action";
    }

    .event-history-list {
        padding: 26px;
    }

    .event-history-row {
        padding: 26px 0;
    }

    .event-hero-status {
        justify-items: stretch;
    }

    .portal-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-pagination-summary,
    .portal-pagination-actions {
        width: 100%;
    }

    .portal-pagination-actions {
        justify-content: space-between;
    }
}

@media (max-width: 760px) {
    .poll-hero-banner {
        padding: 24px;
        align-items: flex-start;
    }

    .poll-hero-side {
        width: 100%;
        margin-left: 0;
        justify-items: stretch;
    }

    .dashboard-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .dashboard-news-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .dashboard-news-item {
        padding: 22px 0 22px 20px;
    }

    .dashboard-news-header,
    .dashboard-news-item-head,
    .dashboard-news-item-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-news-dialog {
        padding: 22px;
        border-radius: 24px;
    }

    .dashboard-news-dialog h3 {
        font-size: 28px;
    }

    .dashboard-news-title-row {
        gap: 10px;
    }

    .dashboard-feed-count {
        width: 42px;
        height: 42px;
    }

    .dashboard-news-date-pill,
    .dashboard-news-kind {
        min-height: 0;
        padding-inline: 0;
    }

    .dashboard-news-item.is-unread::before {
        top: 24px;
        bottom: 24px;
        width: 3px;
    }

    .dashboard-news-item p {
        font-size: 15px;
        max-width: none;
    }

    .dashboard-news-load-more-wrap {
        margin-top: 20px;
    }

    .poll-card {
        padding: 22px;
    }

    .poll-result-summary {
        grid-template-columns: 1fr;
    }

    .poll-mini-chart {
        justify-self: start;
    }

    .poll-action-row {
        grid-template-columns: 1fr;
    }

    .poll-mini-chart.large {
        width: 100%;
        justify-content: flex-start;
    }

    .poll-detail-date-range {
        grid-template-columns: 1fr;
    }

    .poll-history-meta {
        grid-template-columns: 1fr;
    }

    .representative-card-head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .representative-card-spotlight,
    .representative-detail-grid,
    .representative-card-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .representative-card-spotlight {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .representative-status {
        white-space: normal;
    }

    .representative-badge-stack {
        width: 100%;
    }

    .representative-detail-grid {
        grid-template-columns: 1fr;
    }

    .representative-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .representative-action-link {
        width: 100%;
    }

    .representative-simple-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .representative-simple-count {
        width: 100%;
    }

    .representative-simple-card {
        flex-direction: column;
        align-items: stretch;
    }

    .representative-simple-actions > * {
        width: 100%;
    }

    .event-response-actions {
        grid-template-columns: 1fr;
    }

    .event-history-side {
        grid-template-columns: 1fr;
        grid-template-areas:
            "venue"
            "schedule"
            "action";
    }

    .event-history-overview {
        grid-template-columns: 1fr;
    }

    .event-history-list {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .event-history-row {
        padding: 22px 0;
    }

    .event-copy-head {
        grid-template-columns: 1fr;
    }

    .portal-pagination-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-pagination-link,
    .portal-pagination-current {
        width: 100%;
    }

    .event-detail-hero {
        padding: 24px;
    }

    .event-detail-hero-meta {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .event-detail-hero-meta-card {
        width: 100%;
        text-align: left;
    }

    .event-card-actions {
        justify-content: stretch;
    }

    .event-detail-link {
        width: 100%;
    }

    .event-detail-map-head {
        flex-direction: column;
        align-items: stretch;
    }

    .event-detail-map-frame,
    .event-detail-map-frame iframe {
        min-height: 280px;
    }

    .event-history-actions .event-detail-link.icon-only {
        width: 58px;
    }

    .representative-modal-head {
        text-align: left;
    }

    .representative-modal-actions {
        flex-direction: column;
    }

    .representative-modal-button {
        width: 100%;
    }

    .poll-detail-date-item:last-child {
        text-align: left;
    }

    .poll-detail-date-separator {
        display: none;
    }

    .poll-confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .event-confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .poll-confirm-button {
        width: 100%;
    }

    .event-confirm-button {
        width: 100%;
    }

    .portal-toast-stack {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }

    .portal-toast {
        width: 100%;
        grid-template-columns: 48px minmax(0, 1fr) 28px;
        gap: 12px;
        padding: 16px;
    }

    .portal-toast-icon {
        width: 48px;
        height: 48px;
    }

    .portal-toast-copy strong {
        font-size: 26px;
    }

    .portal-hero,
    .portal-card,
    .dashboard-shell {
        padding: 24px;
    }

    .portal-body .header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .event-detail-map-frame,
    .event-detail-map-frame iframe {
        min-height: 240px;
    }

    .portal-body .header-links {
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        gap: 12px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .portal-body .header-nav-links {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
        overflow: visible;
        transform: none;
        transition: none;
        padding: 0;
        max-width: none;
        min-height: 0;
        background: transparent;
        border: 0;
        border-left: 0;
        box-shadow: none;
        gap: 0;
    }

    .portal-body .header-submenu {
        width: 100%;
    }

    .portal-body .header-submenu-panel {
        position: static;
        min-width: 0;
        margin-top: 8px;
        padding: 0 0 0 14px;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
    }

    .portal-body .header-submenu-link {
        min-height: 44px;
        padding: 10px 18px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .portal-body .header-account {
        width: 100%;
    }

    .portal-body .header-inline-form {
        display: block;
    }

    .portal-body .header-link,
    .portal-body .header-link-button,
    .portal-body .btn {
        width: 100%;
    }

    .portal-body .header-link,
    .portal-body .header-link-button {
        justify-content: flex-start;
        padding-inline: 18px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.94);
    }

    .portal-body .header-account .auth-trigger {
        min-width: 0;
        min-height: 78px;
        border-radius: 26px;
        padding: 12px 18px;
    }

    .portal-body .header-account .auth-name {
        font-size: 18px;
    }

    .portal-body .header-account .auth-role {
        font-size: 13px;
    }

    .agreement-panel {
        padding: 18px;
    }

    .profile-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Website Inbox */
.representative-simple-button.secondary {
    text-decoration: none;
    background: #ffffff;
    color: #244ea7;
    border: 1px solid rgba(36, 78, 167, 0.16);
    box-shadow: none;
}

.representative-simple-button.secondary:hover {
    color: #1f4697;
    box-shadow: 0 14px 28px rgba(36, 78, 167, 0.12);
}

.inbox-shell,
.inbox-thread-shell {
    display: grid;
    gap: 28px;
}

.inbox-hero-banner,
.inbox-thread-hero {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96)),
        linear-gradient(135deg, rgba(36, 78, 167, 0.08), rgba(54, 110, 225, 0.02));
}

.inbox-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 28px;
    border: 1px solid rgba(34, 50, 84, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: 0 18px 42px rgba(19, 34, 74, 0.08);
}

.inbox-ticket-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.inbox-ticket-avatar,
.inbox-thread-avatar {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: linear-gradient(145deg, #244ea7, #4d7de1);
    color: #ffffff;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    box-shadow: 0 18px 34px rgba(36, 78, 167, 0.24);
}

.inbox-ticket-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.inbox-ticket-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.inbox-ticket-head h2,
.inbox-message-panel-head h2,
.inbox-side-card h2 {
    margin: 0;
    color: #172050;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.1;
}

.inbox-ticket-role {
    margin: 8px 0 0;
    color: #5e6a8d;
    font-size: 15px;
}

.inbox-ticket-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(36, 78, 167, 0.08);
    color: #244ea7;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.inbox-ticket-meta,
.inbox-ticket-foot,
.inbox-thread-summary-copy span,
.inbox-message-meta span,
.inbox-side-meta span {
    color: #6c7898;
    font-size: 14px;
}

.inbox-ticket-meta {
    margin-top: 10px;
}

.inbox-ticket-preview {
    margin: 16px 0 0;
    color: #2d3758;
    font-size: 15px;
    line-height: 1.75;
}

.inbox-ticket-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 16px;
}

.inbox-ticket-status {
    color: #1f5f99;
    font-weight: 700;
}

.inbox-ticket-side {
    flex: 0 0 auto;
}

.inbox-ticket-link,
.inbox-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
}

.inbox-ticket-link {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #244ea7, #2f6be0);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(47, 107, 224, 0.22);
}

.inbox-ticket-link:hover,
.inbox-ticket-link:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.inbox-ticket-link svg,
.inbox-back-link svg,
.inbox-attachment-link svg {
    width: 18px;
    height: 18px;
}

.inbox-empty-state {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
}

.inbox-thread-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.inbox-back-link {
    color: #244ea7;
}

.inbox-thread-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: min(100%, 320px);
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(36, 78, 167, 0.08);
}

.inbox-thread-summary-copy {
    display: grid;
    gap: 6px;
}

.inbox-thread-summary-copy strong,
.inbox-side-meta strong,
.inbox-message-meta strong {
    color: #172050;
}

.inbox-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 38px;
    margin-top: 26px;
    padding-top: 10px;
}

.inbox-hero-detail {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: min(100%, 320px);
    padding: 2px 0 4px 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.inbox-hero-detail::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: calc(100% - 8px);
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #244ea7, #7ea3f1);
    box-shadow: 0 8px 18px rgba(36, 78, 167, 0.18);
}

.inbox-hero-detail span {
    color: #7b86a5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.inbox-hero-detail strong,
.inbox-hero-detail a {
    color: #172050;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    word-break: break-word;
}

.inbox-hero-detail a:hover,
.inbox-hero-detail a:focus-visible {
    color: #244ea7;
    text-decoration: underline;
    text-decoration-color: rgba(36, 78, 167, 0.3);
    text-underline-offset: 4px;
}

.inbox-hero-description {
    margin-top: 22px !important;
}

.inbox-thread-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

.inbox-message-panel,
.inbox-side-card {
    border-radius: 28px;
    border: 1px solid rgba(34, 50, 84, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: 0 18px 42px rgba(19, 34, 74, 0.08);
}

.inbox-message-panel {
    padding: 28px;
}

.inbox-message-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.inbox-message-list {
    display: grid;
    gap: 18px;
}

.inbox-message-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.inbox-message-item.is-user {
    align-items: flex-end;
}

.inbox-message-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inbox-message-item.is-user .inbox-message-meta {
    justify-content: flex-end;
}

.inbox-message-bubble {
    width: min(100%, 740px);
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(29, 46, 82, 0.1);
    background: #ffffff;
    color: #2c3555;
}

.inbox-message-item.is-user .inbox-message-bubble {
    background: linear-gradient(135deg, #244ea7, #2f6be0);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(47, 107, 224, 0.2);
}

.inbox-message-bubble p {
    margin: 0;
    line-height: 1.8;
    white-space: normal;
}

.inbox-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}

.inbox-side-panel {
    display: grid;
    gap: 20px;
}

.inbox-side-card {
    padding: 24px;
}

.inbox-side-meta {
    display: grid;
    gap: 6px;
}

.inbox-side-meta + .inbox-side-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(34, 50, 84, 0.08);
}

.inbox-reply-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.inbox-reply-form textarea {
    min-height: 188px;
    resize: vertical;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(37, 53, 88, 0.12);
    background: rgba(255, 255, 255, 0.95);
    color: #233151;
    font-size: 15px;
    line-height: 1.75;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inbox-reply-form textarea:focus {
    border-color: rgba(47, 107, 224, 0.4);
    box-shadow: 0 0 0 4px rgba(47, 107, 224, 0.12);
}

.inbox-file-trigger {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(43, 116, 106, 0.28);
    background: rgba(234, 245, 240, 0.6);
}

@media (max-width: 991px) {
    .inbox-thread-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .inbox-ticket-card,
    .inbox-thread-topbar,
    .inbox-ticket-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .inbox-ticket-side,
    .inbox-ticket-link,
    .inbox-message-bubble,
    .inbox-thread-summary {
        width: 100%;
    }

    .inbox-message-panel,
    .inbox-side-card {
        padding: 22px;
    }

    .inbox-ticket-card {
        padding: 22px;
    }
}

/* Campaign Contact Page */
.campaign-body {
    --primary: #263c82;
    --secondary: #d53029;
    --light: #f5f7fb;
    --text: #1a2238;
    --muted: #6d7895;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(25, 45, 95, 0.14);
    --radius: 26px;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #eef3fb 0%, #ffffff 40%, #eef4ff 100%);
    line-height: 1.6;
}

.campaign-body header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(38,60,130,0.08);
}

.campaign-body .nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.campaign-body .btn-danger {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(213, 48, 41, 0.22);
}

.campaign-body .btn-danger:hover {
    transform: translateY(-2px);
}

.campaign-body .section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.campaign-body .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 14px;
}

.campaign-body h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
}

.campaign-body p.lead {
    margin-top: 0;
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
}

.campaign-body .card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(38,60,130,0.07);
}

.campaign-body .contact-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f5f8ff;
    border: 1px solid rgba(38,60,130,0.08);
}

.campaign-body .form-control {
    border: 1px solid rgba(38,60,130,0.12);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
    outline: none;
}

.campaign-body textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.campaign-body .contact-success-message {
    display: none;
    color: green;
    margin-top: 10px;
    font-weight: 600;
}

@media (max-width: 720px) {
    .campaign-body .nav {
        padding: 12px 0;
    }

    .campaign-body .section {
        padding: 72px 0;
    }

    .campaign-body .card {
        padding: 22px;
    }
}

