:root {
    --color-body-bg: #f4f6fb;
    --color-body-text: #1f2933;
    --color-text-muted: #64748b;
    --color-muted-strong: #475569;
    --color-link: #1c7c54;
    --color-link-hover: #14583b;
    --color-surface: #ffffff;
    --color-surface-alt: #f8fafc;
    --color-surface-muted: rgba(15, 23, 42, 0.04);
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-strong: rgba(148, 163, 184, 0.35);
    --color-input-bg: #ffffff;
    --color-input-border: rgba(148, 163, 184, 0.5);
    --color-shadow-soft: rgba(15, 23, 42, 0.08);
    --color-shadow-strong: rgba(15, 23, 42, 0.12);
}

html.theme-dark {
    color-scheme: dark;
    --color-body-bg: #050c18;
    --color-body-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-muted-strong: #cbd5f5;
    --color-link: #4ade80;
    --color-link-hover: #22c55e;
    --color-surface: #0f172a;
    --color-surface-alt: #14223a;
    --color-surface-muted: rgba(148, 163, 184, 0.12);
    --color-border: rgba(148, 163, 184, 0.3);
    --color-border-strong: rgba(148, 163, 184, 0.45);
    --color-input-bg: rgba(15, 23, 42, 0.75);
    --color-input-border: rgba(148, 163, 184, 0.55);
    --color-shadow-soft: rgba(2, 6, 23, 0.45);
    --color-shadow-strong: rgba(2, 6, 23, 0.65);
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-body-text);
    background-color: var(--color-body-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-bottom: 70px;
}

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    color: var(--color-link-hover);
}

.text-muted,
small.text-muted {
    color: var(--color-text-muted);
}

.small {
    font-size: 0.85rem;
}

.navbar {
    background: var(--color-surface);
    border-bottom: 1px solid rgba(28, 124, 84, 0.12);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1c7c54;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.navbar-brand__logo {
    width: 34px;
    height: 34px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-muted-strong);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-badge {
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.nav-link:hover {
    color: #1c7c54;
}
.nav-link svg {
    width: 18px;
    height: 18px;
    display: block;
    color: inherit;
}
.nav-link svg path {
    fill: currentColor;
}
.navbar-brand-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0.75rem;
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    margin-left: auto;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar-toggle span + span {
    margin-top: 5px;
}
.navbar-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-item--theme {
    margin-left: 0.75rem;
}
.theme-toggle-form {
    margin: 0;
}
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #eef2ff;
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-toggle__icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-flex;
}
.theme-toggle__icon svg {
    position: absolute;
    inset: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-toggle__icon--moon {
    opacity: 0;
    transform: scale(0.85);
}
html.theme-dark .theme-toggle__icon--sun {
    opacity: 0;
    transform: scale(0.85);
}
html.theme-dark .theme-toggle__icon--moon {
    opacity: 1;
    transform: scale(1);
}
html.theme-dark .navbar {
    background: #0b1120;
    border-color: rgba(226, 232, 240, 0.08);
}
html.theme-dark .navbar-brand,
html.theme-dark .nav-link {
    color: #e2e8f0;
}
html.theme-dark .navbar-toggle {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(248, 250, 252, 0.12);
}
html.theme-dark .navbar-toggle span {
    background: #f8fafc;
}
html.theme-dark .theme-toggle {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(226, 232, 240, 0.2);
    color: #f8fafc;
}
html.theme-dark .navbar-nav {
    border-color: rgba(248, 250, 252, 0.08);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
.cookie-banner__content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}
.cookie-banner .btn {
    white-space: nowrap;
}

.ai-tokens-card,
.ai-orders-card {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    margin-bottom: 1.5rem;
}
.ai-tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}
.ai-tokens-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}
.ai-tokens-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}
.ai-tokens-value small {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.25rem;
    color: var(--color-text-muted);
}
.ai-tokens-meta {
    margin: 0.2rem 0;
    color: var(--color-text-muted);
}
.ai-orders-card table {
    width: 100%;
    border-collapse: collapse;
}
.ai-orders-card th,
.ai-orders-card td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
}
.ai-tokens-hero {
    background: radial-gradient(circle at top right, rgba(59,130,246,0.15), transparent),
        linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.ai-tokens-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: #64748b;
}
.ai-tokens-hero__lead {
    max-width: 520px;
    margin-bottom: 1rem;
    color: #475569;
}
.ai-tokens-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
.ai-chip {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}
.ai-chip--ghost {
    background: rgba(15, 23, 42, 0.04);
}
.ai-tokens-button {
    width: 91%;
    border: none;
    border-radius: 18px;
    padding: 1rem 1.4rem;
    background: linear-gradient(120deg, #16a34a, #22d3ee);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.35);
    cursor: pointer;
}
.ai-tokens-button small {
    font-size: 0.85rem;
    font-weight: 500;
}
.ai-tokens-hero__card {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 26px;
    padding: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.ai-tokens-hero__card hr {
    border: none;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
}
.ai-tokens-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.85);
}
.ai-tokens-benefits li::before {
    content: '✓';
    margin-right: 0.4rem;
    color: #4ade80;
}
.ai-tokens-form {
    max-width: 360px;
}

@media (max-width: 992px) {
    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .navbar-brand-group {
        width: 100%;
    }
    .navbar-toggle {
        display: inline-flex;
    }
    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        display: none;
        padding-top: 1rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    .navbar-nav.is-open {
        display: flex;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        width: 100%;
        padding: 0.4rem 0;
        justify-content: flex-start;
    }
    .nav-item--theme {
        margin-left: 0;
    }
    .nav-item--theme .theme-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* Dark theme overrides */
html.theme-dark .dashboard-hero {
    background: linear-gradient(135deg, #0f172a, #1d2f4f);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.75);
}
html.theme-dark .dashboard-hero__stats li {
    background: rgba(15, 23, 42, 0.7);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.18);
}
html.theme-dark .category-card__image-wrapper {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.65));
}
html.theme-dark .recent-questions__item {
    border-color: rgba(148, 163, 184, 0.2);
}
html.theme-dark .legal-hero {
    background: linear-gradient(135deg, #0b1120, #152338);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.7);
    color: var(--color-body-text);
}
html.theme-dark .checkout-card--intro {
    background: linear-gradient(135deg, #0f172a, #1d2f4f);
    color: #f8fafc;
}
html.theme-dark .checkout-card--intro p,
html.theme-dark .checkout-card--intro span {
    color: inherit;
}
html.theme-dark .checkout-summary div {
    background: rgba(15, 23, 42, 0.65);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.15);
}
html.theme-dark .bank-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #f8fafc;
}
html.theme-dark .payment-result--pending {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #e0f2fe;
}
html.theme-dark .payment-result--success {
    background: linear-gradient(135deg, #064e3b, #052e24);
    color: #ccfbf1;
}
html.theme-dark .payment-result--success .payment-result__eyebrow {
    color: rgba(204, 251, 241, 0.8);
}
html.theme-dark .payment-result--success .payment-result__icon {
    background: rgba(204, 251, 241, 0.12);
    color: #34d399;
}
html.theme-dark .payment-result__icon {
    background: rgba(148, 163, 184, 0.2);
}
html.theme-dark .password-page__intro {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.65);
    color: #e2e8f0;
}
html.theme-dark .password-tips article {
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.55);
}
html.theme-dark .landing-feature__icon {
    background: rgba(59, 130, 246, 0.25);
}
html.theme-dark .landing-feature__icon svg {
    color: #f8fafc;
}
html.theme-dark .quiz-card {
    background: #0f172a;
    color: #fff;
}
html.theme-dark .quiz-card p {
    color: rgba(255, 255, 255, 0.75);
}
html.theme-dark .quiz-card__note {
    color: rgba(255, 255, 255, 0.85);
}
html.theme-dark .quiz-answer {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.25);
}
html.theme-dark .quiz-answer--selected {
    border-color: #2dd4bf;
    background: rgba(45, 212, 191, 0.08);
}
html.theme-dark .quiz-answer--correct {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.15);
}
html.theme-dark .quiz-answer--incorrect {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.container {
    width: min(1080px, 90vw);
    margin: 0 auto;
}
.container--page {
    margin-top: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--color-input-border);
    background: var(--color-input-bg);
    color: var(--color-body-text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--color-body-text);
}

.dashboard-hero {
    background: linear-gradient(135deg, #e0f2fe, #fef3c7);
    border-radius: 32px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.dashboard-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-body-text);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.dashboard-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
}

.dashboard-hero__cta {
    margin-top: 1rem;
}

.dashboard-hero__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.dashboard-hero__stats li {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.08);
}

.dashboard-hero__stats span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.dashboard-hero__stats strong {
    font-size: 1.8rem;
    display: block;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: left;
    }
    .dashboard-hero h1 {
        font-size: 2rem;
    }
    .dashboard-hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.dashboard-grid__header h2 {
    width: 100%;
    margin: 0;
    font-size: 1.4rem;
}

.dashboard-grid__header p {
    width: 100%;
    margin: 0;
    color: var(--color-text-muted);
}

.dashboard-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    border-radius: 999px;
    width: 98%;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--color-border-strong);
    box-shadow: 0 10px 25px var(--color-shadow-soft);
}

.dashboard-search svg {
    width: 18px;
    height: 18px;
    color: #0ea5e9;
}

.dashboard-search input {
    border: none;
    background: transparent;
    width: 100%;
}

.dashboard-search input:focus {
    outline: none;
}

.dashboard-suggestion {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    margin-bottom: 2.5rem;
}

.dashboard-suggestion__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.dashboard-suggestion__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0ea5e9;
    font-weight: 700;
    font-size: 0.8rem;
}

.dashboard-suggestion__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-suggestion__fields {
    display: grid;
    gap: 1rem;
}

.dashboard-suggestion__field label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.dashboard-suggestion__field input,
.dashboard-suggestion__field textarea {
    border-radius: 16px;
    border: 1px solid var(--color-input-border);
    padding: 0.85rem 1rem;
    width: 92%;
    background: var(--color-surface-alt);
}

.dashboard-suggestion__error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.dashboard-grid__content {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dashboard-category {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-category__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted-strong);
}

.dashboard-category__badge {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
}

.dashboard-category__body h3 {
    margin: 0 0 0.3rem;
}

.dashboard-category__body p {
    margin: 0;
    color: var(--color-text-muted);
}
.dashboard-category__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dashboard-category__button {
    display: inline-flex;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 16px;
    color: #15803d;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: auto;
    align-self: flex-start;
}

.dashboard-empty {
    background: var(--color-surface-muted);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--color-muted-strong);
}

.dashboard-recent {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
}

.dashboard-recent header p {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a5b4fc;
    margin-bottom: 0.3rem;
}

.dashboard-recent__list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-recent__item {
    border: 1px solid var(--color-border-strong);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    background: var(--color-surface-alt);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.dashboard-recent__item a {
    color: #2563eb;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.dashboard-recent__item a svg {
    width: 16px;
    height: 16px;
}

.dashboard-recent__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.page-header p {
    margin: 0;
    color: var(--color-text-muted);
}

.page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .page-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .page-actions .btn {
        width: 80%;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .page-header__primary,
    .page-header__text {
        width: 100%;
    }
    .page-header__primary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 2.2rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-success {
    background: #2f9d58;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(47, 157, 88, 0.3);
}

.btn-success:hover {
    background: #248649;
}

.btn-outline-success {
    background: transparent;
    border: 2px solid #2f9d58;
    color: #2f9d58;
}

.btn-outline-success:hover {
    background: #2f9d58;
    color: #fff;
}

.btn-outline-gray {
    background: transparent;
    border: 2px solid rgba(148, 163, 184, 0.6);
    color: var(--color-muted-strong);
}

.btn-outline-gray:hover {
    border-color: #2f9d58;
    color: #2f9d58;
}

.btn-outline-gray.is-active {
    background: #2f9d58;
    border-color: #2f9d58;
    color: #fff;
    box-shadow: 0 10px 20px rgba(47, 157, 88, 0.25);
}

@media (max-width: 640px) {
    .btn-outline-gray {
        width: 80%;
        justify-content: center;
    }
}

.btn-outline-sky {
    background: transparent;
    border: 2px solid rgba(56, 189, 248, 0.5);
    color: #0284c7;
}

.btn-outline-sky:hover {
    background: rgba(56, 189, 248, 0.08);
    color: #0369a1;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-link {
    background: transparent;
    color: #1c7c54;
    padding: 0;
    box-shadow: none;
    text-transform: none;
}

.btn-link:hover {
    color: #14583b;
}

.card {
    background: var(--color-surface);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 45px var(--color-shadow-soft);
}

.shadow-sm {
    box-shadow: 0 18px 36px var(--color-shadow-soft);
}

.border-0 {
    border: none;
}

.category-card {
    padding: 0 1rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.category-card__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem 0;
}

.category-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.category-card__content h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--color-body-text);
}

.category-card .card-body {
    padding: 2rem 3rem 2rem 0;
}

.category-card__image-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 255, 0.95));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin: 1.25rem;
}

.category-card__image {
    max-width: 180px;
    filter: drop-shadow(0 18px 32px rgba(200, 29, 119, 0.15));
}

.category-card__stat {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.category-card__stat span {
    font-weight: 700;
    color: var(--color-body-text);
}

.category-card__cta {
    background: #2f9d58;
    color: #fff;
    padding: 0.55rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    box-shadow: 0 10px 25px rgba(47, 157, 88, 0.25);
}

.category-card__cta:hover {
    background: #248649;
    color: #fff;
}

.recent-questions {
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px var(--color-shadow-soft);
    padding: 1.75rem 2rem;
}

.recent-questions h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-body-text);
}

.recent-questions__list {
    display: block;
    margin: 0;
    padding: 0;
}

.recent-questions__item {
    display: block;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    color: var(--color-body-text);
}

.recent-questions__item:last-child {
    border-bottom: none;
}

.recent-questions__item-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.recent-questions__item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.recent-questions__item time {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.recent-questions__item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.badge.bg-dark {
    background-color: #1f2937 !important;
}

.list-group-item input[type="checkbox"],
.list-group-item input[type="radio"] {
    flex-shrink: 0;
}

.alert-info {
    background: rgba(99, 179, 237, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #1e3a8a;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
}

.mt-5 {
    margin-top: 3rem;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dashboard-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.dashboard-alerts__icon {
    width: 20px;
    height: 20px;
    color: #15803d;
}
.dashboard-alert {
    border-radius: 18px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
}
.dashboard-alert--success {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.dashboard-alert--error {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-hero {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    box-shadow: 0 18px 45px var(--color-shadow-soft);
    margin-bottom: 2rem;
}
.profile-hero__info h1 {
    margin-bottom: 0.35rem;
}
.profile-membership {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 24px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-membership span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: #15803d;
}
.profile-membership strong {
    font-size: 1.4rem;
    color: #166534;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.profile-stats article {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.3rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.profile-stats strong {
    font-size: 2rem;
}
.profile-ai {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.profile-ai h2 {
    margin-bottom: 0.5rem;
}

.profile-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-bonus-card {
    background: #0f172a;
    color: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-bonus-card span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    opacity: 0.7;
}
.profile-bonus-card strong {
    font-size: 2rem;
}
.profile-bonus-card button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.profile-membership__notice {
    font-weight: 600;
    color: #b91c1c;
}
.profile-email {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.profile-email__pending {
    margin: 0.75rem 0;
    font-weight: 600;
    color: #b45309;
}
.profile-email__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-email__form input,
.profile-email__form select,
.profile-email__form textarea {
    width: 93%;
}
.profile-subscriptions {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    margin-top: 1.5rem;
}
.profile-subscriptions ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-subscriptions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.password-page {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.password-page__intro {
    background: linear-gradient(120deg, #fef9c3, #e0f2fe);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}
.password-page__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1c7c54;
    margin-bottom: 0.5rem;
}
.password-page__intro h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}
.password-card {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 40px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.password-card__fields {
    display: grid;
    gap: 1rem;
}
.password-card__field label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}
.password-card__field input,
.password-card__field select,
.password-card__field textarea {
    width: 96%;
}
.password-card__hint {
    display: block;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
}
.password-card__field--error input {
    border-color: #ef4444;
}
.form-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}
.password-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
.password-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.password-tips article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.password-tips h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.password-success {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.password-success__card {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2.5rem;
    text-align: center;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 60px var(--color-shadow-soft);
}
.password-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-success__icon svg {
    width: 32px;
    height: 32px;
}
.password-success__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.password-success__title h1 {
    margin: 0;
}
.password-success__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.question-attachment {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.question-attachment--compact {
    margin-top: 0.5rem;
}

.question-attachment__button {
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.question-attachment__button::before {
    content: '';
    width: 18px;
    height: 18px;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7 4h10l4 5v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Zm9 2H8l-2 3h12ZM5 18h14v-7H5Zm7-1a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z'/%3E%3C/svg%3E") center/contain no-repeat;
    background: currentColor;
}

.question-attachment__button[aria-expanded='true'] {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(21, 128, 61, 0.85);
    color: #14532d;
}

.question-attachment__panel {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--color-surface);
    padding: 0.85rem;
    box-shadow: 0 20px 40px var(--color-shadow-soft);
}

.question-attachment__panel img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
}

.ai-answer {
    border: 1px solid rgba(147, 51, 234, 0.35) !important;
    background: rgba(233, 213, 255, 0.25) !important;
}
.ai-answer .ai-badge {
    margin-top: -0.2rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b21a8;
    background: rgba(233, 213, 255, 0.9);
    border-radius: 999px;
    padding: 0.1rem 0.65rem;
    font-weight: 700;
}

html.theme-dark .ai-badge {
    color: #f3e8ff;
    background: rgba(147, 51, 234, 0.35);
}

html.theme-dark .question-attachment__button {
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.15);
    color: #e2fbe8;
}

html.theme-dark .question-attachment__button[aria-expanded='true'] {
    background: rgba(74, 222, 128, 0.28);
    color: #bbf7d0;
}

html.theme-dark .question-attachment__panel {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}

.quiz-hero {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 25px 55px var(--color-shadow-soft);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.quiz-hero .btn {
    align-self: flex-start;
}
.dashboard-search-inline {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-end;
}
.dashboard-search-inline .dashboard-search {
    width: min(360px, 100%);
}
.quiz-search-toolbar {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.quiz-search-toolbar .dashboard-search {
    width: min(360px, 100%);
}
.quiz-hero--compact {
    padding: 1.8rem 2.5rem;
}
.quiz-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.75rem;
}
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.quiz-card {
    background: linear-gradient(145deg, #f6f8ff, #e9f6ff);
    color: var(--color-body-text);
    border-radius: 28px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}
.quiz-card p {
    margin: 0;
    color: var(--color-text-muted);
}
.quiz-card__progress {
    font-weight: 600;
    color: #0f766e;
}
.quiz-card__mistakes {
    color: #b45309;
    font-weight: 600;
}
.quiz-card__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.quiz-card__actions .btn {
    flex: 1 1 0;
    min-width: 140px;
    text-align: center;
}
.quiz-card__note {
    display: inline-block;
    color: #047857;
    font-weight: 600;
}
.quiz-card > .btn,
.quiz-card > .quiz-card__note {
    align-self: flex-start;
    margin-top: auto;
}
.quiz-card > .quiz-card__note {
    padding-top: 0.5rem;
}
.quiz-setup {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.quiz-setup__intro h2 {
    margin-bottom: 0.35rem;
}
.quiz-setup__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 320px;
}
.quiz-setup__hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.quiz-progress {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.quiz-progress__bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
    overflow: hidden;
}
.quiz-progress__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #16a34a);
}
.quiz-empty {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
}
.quiz-stats-panel,
.quiz-history-panel,
.quiz-mistakes-panel {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
    margin-bottom: 1.5rem;
}
.quiz-stats-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.quiz-stats-panel span {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.quiz-stats-panel strong {
    font-size: 1.8rem;
}
.quiz-history-panel ul,
.quiz-mistakes-panel ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.quiz-history-panel li,
.quiz-mistakes-panel li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.08);
}
.quiz-mistakes-panel li > div p {
    margin-top: 0.2rem;
}
.quiz-question {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 30px 60px var(--color-shadow-strong);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.quiz-question header span {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.quiz-question header small {
    color: #0f766e;
    font-weight: 600;
}
.quiz-answer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}
.quiz-answer {
    border: 1px solid var(--color-border-strong);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    background: var(--color-surface-alt);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.quiz-answer label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.quiz-answer input {
    width: auto;
    margin-right: 0.45rem;
}
.quiz-answer span {
    font-weight: 600;
    color: var(--color-body-text);
    flex: 1;
}
.quiz-answer small {
    color: var(--color-text-muted);
}
.quiz-answer--selected {
    border-color: #0f766e;
    background: #ecfdf5;
}
.quiz-answer--correct {
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}
.quiz-answer--incorrect {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.15);
}
.quiz-answer--ai {
    border-color: rgba(147, 51, 234, 0.45);
    background: rgba(233, 213, 255, 0.25);
}
.quiz-submit {
    margin-top: 1rem;
}
.quiz-feedback {
    border-radius: 20px;
    padding: 0.9rem 1.25rem;
    font-weight: 600;
}
.quiz-feedback--success {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.quiz-feedback--error {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}
.quiz-feedback--info {
    background: rgba(14, 165, 233, 0.15);
    color: #0369a1;
}
.quiz-actions {
    display: flex;
    gap: 0.75rem;
}
.quiz-summary {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 50px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.quiz-summary__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}
.quiz-summary__stats div {
    background: var(--color-surface-alt);
    border-radius: 24px;
    padding: 1rem;
    text-align: center;
}
.quiz-summary__stats strong {
    font-size: 2rem;
    display: block;
    margin-top: 0.25rem;
}
.quiz-summary__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.quiz-actions--center {
    justify-content: center;
}

@media (max-width: 640px) {
    .quiz-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 2rem;
    }
    .quiz-hero .btn {
        width: 80%;
        text-align: center;
        justify-content: center;
    }
}

.legal-hero {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-radius: 32px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}
.legal-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.78rem;
}
.legal-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.legal-card article {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
    line-height: 1.65;
}
.legal-card h2 {
    margin-bottom: 0.75rem;
}
.legal-card ul {
    padding-left: 1.25rem;
}

.checkout-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.checkout-card {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 55px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.checkout-card--intro {
    background: linear-gradient(135deg, #e0f2fe, #fef3c7);
}
.checkout-card__header h1 {
    margin-top: 0.35rem;
}
.checkout-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: var(--color-muted-strong);
    font-weight: 700;
}
.checkout-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}
.checkout-summary div {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 0.9rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.08);
}
.checkout-summary span {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
}
.checkout-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkout-benefits li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--color-body-text);
}
.checkout-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #0ea5e9;
}
.checkout-card--form h2 {
    margin: 0;
}
.checkout-card__subtitle {
    color: var(--color-muted-strong);
}
.checkout-card--alt {
    background: #0f172a;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 35px rgba(15, 23, 42, 0.5);
}
.checkout-card--alt p,
.checkout-card--alt span {
    color: rgba(255, 255, 255, 0.8);
}
.bank-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin: 0.75rem 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.bank-box span {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    display: block;
}
.invoice-fields {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.invoice-fields label {
    font-weight: 600;
    color: var(--color-body-text);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.invoice-fields input,
.invoice-fields textarea,
.invoice-fields select {
    width: 90%;
    border-radius: 14px;
    border: 1px solid var(--color-input-border);
    padding: 0.65rem 0.9rem;
    background: var(--color-surface-alt);
}
.invoice-fields[hidden] {
    display: none !important;
}
.bank-box strong {
    font-size: 1.4rem;
}
.bank-box__em {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
}
.bank-note {
    font-weight: 600;
    margin: 0.5rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.copy-btn {
    border: none;
    background: none;
    color: var(--color-body-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    padding: 0;
}
.copy-btn svg {
    width: 16px;
    height: 16px;
}
.checkout-card--alt .copy-btn,
.checkout-card--alt .copy-btn span {
    color: rgba(255, 255, 255, 0.85);
}
.checkout-card--alt .copy-btn svg {
    fill: rgba(255, 255, 255, 0.85);
}
.copy-btn--inline {
    margin-left: auto;
}
.checkout-payu-logo {
    width: 120px;
    margin: 0.5rem auto 0;
    display: block;
    filter: invert(1);
}
html.theme-dark .checkout-payu-logo {
    filter: none;
}
.payment-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 32px;
    margin-bottom: 2rem;
    align-items: center;
}
.payment-result--success {
    background: linear-gradient(135deg, #ecfccb, #dcfce7);
    color: #14532d;
}
.payment-result--pending {
    background: linear-gradient(135deg, #e0f2fe, #f1f5f9);
    color: var(--color-body-text);
}
.payment-result__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.payment-result__icon svg {
    width: 40px;
    height: 40px;
}
.payment-result__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
    color: inherit;
}
.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.payment-summary div {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
}
.payment-summary span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}
.checkbox-pill {
    background: var(--color-surface-muted);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.checkbox-pill input {
    width: auto;
    transform: scale(1.2);
}

.auth-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}
.auth-page__intro {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}
.auth-page__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.7);
}
.auth-page__list {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.85);
}
.auth-card {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2.25rem;
    box-shadow: 0 25px 55px var(--color-shadow-strong);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.auth-card__fields {
    display: grid;
    gap: 1rem;
}
.auth-card__field label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}
.auth-card--reset input,
.auth-card--reset select,
.auth-card--reset textarea {
    width: 92%;
}
.auth-card__field input,
.auth-card__field select,
.auth-card__field textarea {
    width: 93%;
}
.auth-card__field small {
    display: block;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}
.auth-card__field--error input,
.auth-card__field--error select,
.auth-card__field--error textarea {
    border-color: #ef4444;
}
.auth-card__field--checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.auth-card__field--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.auth-card__footnote {
    text-align: center;
    margin: 0;
}
.auth-page--login {
    align-items: center;
}
.auth-page__intro--login {
    background: linear-gradient(145deg, #0f766e, #0f172a);
}
.landing-hero {
    background: linear-gradient(135deg, #052d1d, #0f766e);
    border-radius: 32px;
    padding: 2.75rem;
    color: #ecfdf5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    box-shadow: 0 30px 70px rgba(5, 45, 29, 0.35);
    margin-bottom: 2.5rem;
}
.landing-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.78rem;
    color: rgba(236, 253, 245, 0.7);
}
.landing-hero__intro h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
}
.landing-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .landing-hero__actions [data-hero-register] {
        display: block;
        width: 100%;
        text-align: center;
    }
}
.landing-hero__card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
    text-align: left;
}
.landing-hero__card strong {
    font-size: 1.8rem;
    display: block;
    color: #fef9c3;
}
.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.landing-features article {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px var(--color-shadow-soft);
}
.landing-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(20, 88, 59, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.landing-feature__icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-body-text);
}
.landing-highlight {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    box-shadow: 0 24px 50px var(--color-shadow-soft);
    margin-bottom: 2.5rem;
}
.landing-highlight ul {
    padding-left: 1.5rem;
    color: var(--color-muted-strong);
}
.landing-highlight__card {
    background: #0f172a;
    color: #fff;
    border-radius: 28px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.landing-highlight__card ol {
    padding-left: 1.25rem;
}
.activation-banner {
    margin: 0 auto 2rem;
    padding: 1.5rem 2rem;
    border-radius: 24px;
    background: linear-gradient(120deg, #0ea5e9, #22c55e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 18px 45px rgba(14, 165, 233, 0.35);
}
.activation-banner__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
}
.activation-banner h2 {
    margin: 0.4rem 0;
    font-size: 1.5rem;
}
.activation-banner p {
    margin: 0;
    font-size: 0.95rem;
}
.activation-banner__countdown {
    min-width: 180px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-weight: 600;
}
.activation-banner__countdown strong {
    font-size: 2.5rem;
    line-height: 1;
}
.activation-banner__countdown span:first-child {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}
.activation-banner__countdown span:last-child {
    font-size: 0.9rem;
    opacity: 0.85;
}

.report-card {
    background: var(--color-surface);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 55px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.report-card__header h1 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
}
.report-card__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}
.report-card__question {
    font-weight: 600;
    margin: 0;
}
.report-card__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.report-card__field label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}
.report-card__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.message-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.app-notice {
    border-radius: 24px;
    padding: 0.9rem 1.25rem;
    font-weight: 600;
    box-shadow: 0 12px 30px var(--color-shadow-soft);
}
.app-notice--success {
    background: rgba(34, 197, 94, 0.15);
    color: #0f5132;
}
.app-notice--error {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}
.app-notice--warning {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}
.app-notice--info {
    background: rgba(14, 165, 233, 0.15);
    color: #0369a1;
}

.task-hero {
    background: var(--color-surface);
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 25px 45px var(--color-shadow-soft);
}
.task-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.task-form-card,
.task-detail-card,
.task-box {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px var(--color-shadow-soft);
    margin-bottom: 1.5rem;
}
.task-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.task-card {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid var(--color-border);
}
.task-card header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.task-card__category,
.task-detail__category {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0.25rem 0;
}
.task-bank-details {
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed var(--color-border);
}
.task-status {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.07);
}
.task-status--quoted,
.task-status--ready_for_payment {
    background: rgba(245, 158, 11, 0.2);
    color: #92400e;
}
.task-status--paid {
    background: rgba(34, 197, 94, 0.2);
    color: #065f46;
}
.task-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.task-actions__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.task-actions__decline {
    display: none;
}
.task-actions__buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.task-actions__buttons .btn {
    min-width: 160px;
}
.task-admin-table .table {
    width: 100%;
    background: var(--color-surface);
    border-radius: 16px;
    overflow: hidden;
}
.task-admin-table th,
.task-admin-table td {
    padding: 0.75rem 1rem;
}
.task-admin-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.task-payment-pills {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.task-payment-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(28, 124, 84, 0.05);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.task-payment-pill input[type='radio'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.task-payment-pill__content {
    width: 100%;
    padding: 0.4rem 0.2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.task-payment-pill input[type='radio']:checked + .task-payment-pill__content {
    background: rgba(28, 124, 84, 0.12);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(28, 124, 84, 0.35);
    transform: translateY(-2px);
}
.task-payment-pill:focus-within {
    outline: 2px solid #1c7c54;
    outline-offset: 2px;
}
.task-payment-pill__name {
    font-weight: 600;
    color: var(--color-body-text);
    display: block;
}
.task-payment-pill small {
    display: block;
    margin-top: 0.1rem;
    color: var(--color-text-muted);
}
.task-form-card input,
.task-form-card select,
.task-form-card textarea {
    width: 97%;
}
.announcement-banner {
    background: linear-gradient(120deg, #0f9d58, #1c7c54);
    color: #fff;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.announcement-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.announcement-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.announcement-banner__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    margin: 0;
    opacity: 0.8;
}
.announcement-banner__title {
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}
.announcement-banner__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.announcement-banner__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.announcement-banner__link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}
.announcement-banner__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.announcement-banner__close:hover {
    background: rgba(255, 255, 255, 0.15);
}
html.theme-dark .announcement-banner {
    background: linear-gradient(120deg, #14532d, #0f172a);
    border-bottom-color: rgba(148, 163, 184, 0.3);
}

.release-hero {
    width: min(1100px, calc(100% - 2rem));
    margin: 2rem auto 0;
    padding: 2.5rem;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(28, 124, 84, 0.18), transparent 55%), var(--color-surface);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    box-shadow: 0 30px 60px var(--color-shadow-soft);
}
.release-hero__copy h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3rem);
}
.release-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}
.release-hero__copy p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--color-muted-strong);
}
.release-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.release-hero__tags span {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(28, 124, 84, 0.12);
    color: #0f5132;
    font-weight: 600;
    font-size: 0.85rem;
}
.release-hero__panel {
    display: grid;
    gap: 1rem;
}
.release-metric {
    border-radius: 20px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--color-surface-alt);
}
.release-metric__label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}
.release-metric__value {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0;
    font-weight: 700;
}
.release-metric__hint {
    margin: 0.35rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.release-overview {
    width: min(1100px, calc(100% - 2rem));
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.release-overview article {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px var(--color-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.release-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(28, 124, 84, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1c7c54;
}
.release-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}
.release-overview h2 {
    margin: 0;
    font-size: 1.25rem;
}
.release-overview p,
.release-overview ul {
    margin: 0;
    color: var(--color-muted-strong);
}
.release-overview ul {
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.release-grid {
    width: min(1100px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem auto;
}
.release-card {
    display: flex;
    gap: 1rem;
    background: var(--color-surface);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 35px var(--color-shadow-soft);
}
.release-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}
.release-card__icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}
.release-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}
.release-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-muted-strong);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.release-cta {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto 4rem;
    padding: 2rem 2.5rem;
    border-radius: 30px;
    background: linear-gradient(120deg, #1c7c54, #0b4d35);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 35px 60px rgba(28, 124, 84, 0.3);
}
.release-cta__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    opacity: 0.8;
}
.release-cta h2 {
    margin: 0.2rem 0 0.35rem;
    font-size: 2rem;
}
.release-cta p {
    margin: 0;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.85);
}
.release-cta .btn {
    white-space: nowrap;
}
html.theme-dark .release-hero {
    background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.15), transparent 55%), var(--color-surface);
}
html.theme-dark .release-metric {
    border-color: rgba(148, 163, 184, 0.25);
}
html.theme-dark .release-overview article,
html.theme-dark .release-card {
    background: var(--color-surface-alt);
    border-color: rgba(148, 163, 184, 0.2);
}
html.theme-dark .release-card__icon {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5f5;
}
@media (max-width: 640px) {
    .release-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
