﻿@font-face {
    font-family: "MontserratAlternates";
    src: url("fonts/MontserratAlternates-Regular.woff") format("woff");
    font-display: swap
}

@font-face {
    font-family: "Cinzel Decorative Regular";
    src: url("fonts/CinzelDecorativeRegular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Genome Thin";
    src: url("fonts/GenomeThin.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap
}

:root {
    color-scheme: light dark;
    --green: #18863b;
    --accent: #18863b;
    --soft: #edf4ee;
    --ink: #292e30;
    --muted: #626b68;
    --surface: #fff;
    --canvas: #f3f4f2;
    --line: #d6dad7;
    --sidebar: #f8f9f7;
    --danger: #b42318;
    --shadow: 0 14px 40px rgb(38 47 42 / 10%)
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #eef1ef;
        --muted: #b5bdb9;
        --surface: #252a2c;
        --canvas: #191d1f;
        --line: #41484a;
        --sidebar: #202527;
        --soft: #27362b;
        --shadow: 0 18px 50px rgb(0 0 0 / 25%)
    }
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: "MontserratAlternates", "Segoe UI Variable", "Segoe UI", sans-serif;
    line-height: 1.5
}

a {
    color: inherit
}

.solvendo-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--accent);
    white-space: nowrap
}

.solvendo-brand svg {
    width: 36px;
    height: 36px
}

.solvendo-brand .brand-slogan {
    display: flex;
    flex-direction: column;
    font-family: "Cinzel Decorative Regular", sans-serif;
    font-size: 11px;
    line-height: .95
}

.solvendo-brand .brand-divider {
    width: 1px;
    height: 26px;
    background: currentColor;
    opacity: .55
}

.solvendo-brand .brand-name {
    font-family: "Genome Thin", sans-serif;
    font-size: 1.3rem
}

.brand-link {
    text-decoration: none
}

.button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 4px;
    font: 700 .88rem inherit;
    text-decoration: none;
    cursor: pointer
}

.button {
    background: var(--green);
    color: #fff
}

.button:hover {
    background: #096b2b
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink)
}

.large {
    min-height: 52px;
    padding-inline: 26px
}

.disabled {
    opacity: .55;
    pointer-events: none
}

.eyebrow {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase
}

.authenticated-layout {
    width: 100%;
    height: 100dvh !important;
    overflow: hidden
}

.app-header {
    height: 64px !important;
    flex: 0 0 64px !important;
    padding: 0 22px !important;
    border-bottom: 2px solid #f2c400 !important;
    background: #3a3f44 !important;
    color: #fff !important
}

.app-header .solvendo-brand {
    color: #fff
}

.app-header .solvendo-brand svg {
    color: #f2c400
}

.header-context {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 40px;
    color: #d0d4d2;
    font-size: .78rem
}

.environment-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f2c400
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px
}

.avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 800
}

.user-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .78rem
}

.user-menu form {
    margin: 0
}

.user-menu button {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .2078431373);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    cursor: pointer
}

.app-main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: calc(100dvh - 64px) !important;
    align-items: stretch !important;
    overflow: hidden
}

.app-sidebar {
    display: flex;
    flex: 0 0 250px;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: var(--sidebar);
    color: var(--ink)
}

.side-nav {
    padding: 14px 0
}

.side-nav fluent-nav-menu {
    --accent-fill-rest: var(--green);
    --accent-foreground-rest: var(--green);
    --neutral-fill-stealth-hover: color-mix(in srgb, var(--green) 8%, transparent);
    --neutral-foreground-rest: var(--ink)
}

.nav-label {
    padding: 18px 17px 6px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.support-card {
    display: grid;
    gap: 7px;
    margin: auto 13px 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-left: 3px solid #f2c400;
    border-radius: 4px;
    background: var(--surface)
}

.support-card span {
    color: var(--muted);
    font-size: .73rem
}

.support-card a {
    color: var(--green);
    font-size: .75rem
}

.app-content {
    align-self: stretch !important;
    min-width: 0;
    height: 100% !important;
    padding: 0 !important;
    overflow-y: auto !important;
    background: var(--canvas)
}

.app-content > main {
    padding: 38px clamp(20px, 4vw, 58px)
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px
}

.page-heading h1 {
    margin: 5px 0;
    font-size: 2rem;
    letter-spacing: -0.03em
}

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

.notice {
    display: flex;
    gap: 12px;
    margin: 0 0 25px;
    padding: 15px 18px;
    border-left: 4px solid #d4a834;
    border-radius: 4px;
    background: #fff5d8;
    color: #5f4b10
}

.notice.success {
    border-color: var(--accent);
    background: var(--soft);
    color: var(--ink)
}

.notice span {
    color: inherit
}

.dashboard-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px
}

.metric-card {
    display: grid !important;
    gap: 9px;
    padding: 22px !important;
    background: var(--surface) !important;
    box-shadow: none !important
}

.metric-card span, .metric-card small {
    color: var(--muted)
}

.metric-card strong {
    font-size: 2rem
}

.module-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px
}

.module-grid a {
    display: grid;
    gap: 8px;
    min-height: 170px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    text-decoration: none
}

.module-grid a:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow)
}

.module-grid span {
    color: var(--muted)
}

.module-grid em {
    align-self: end;
    color: var(--accent);
    font-style: normal;
    font-weight: 700
}

.empty-state {
    display: grid !important;
    justify-items: center;
    max-width: 700px;
    padding: 60px !important;
    text-align: center;
    background: var(--surface) !important
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    font-size: 2rem
}

.empty-state p {
    color: var(--muted)
}

.subscription-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px;
    max-width: 950px
}

.plan-card, .billing-card {
    display: block !important;
    padding: 30px !important;
    background: var(--surface) !important
}

.plan-card {
    border-top: 4px solid var(--green) !important
}

.plan-price {
    margin: 22px 0
}

.plan-price strong {
    font-size: 2.7rem
}

.plan-price small {
    color: var(--muted)
}

.plan-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none
}

.plan-card li:before {
    content: "✓";
    margin-right: 9px;
    color: var(--accent)
}

.trial-info {
    display: grid;
    gap: 5px;
    margin-top: 24px;
    padding: 15px;
    background: var(--soft)
}

.trial-info span, .billing-card p, .billing-card > small {
    color: var(--muted)
}

.billing-card > small {
    display: block;
    margin-top: 20px
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    background: #e7ecea;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800
}

.status-pill.active {
    background: var(--soft);
    color: var(--green)
}

.billing-card dl {
    display: grid;
    grid-template-columns:1fr 1fr
}

.billing-card dt {
    color: var(--muted)
}

.settings-form {
    display: grid;
    gap: 18px;
    max-width: 1000px
}

.settings-section {
    display: grid;
    grid-template-columns:260px 1fr;
    gap: 30px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface)
}

.settings-section header {
    display: flex;
    gap: 12px
}

.settings-section header > span {
    display: grid;
    place-items: center;
    flex: 0 0 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    font-weight: 800
}

.settings-section h2 {
    margin: 2px 0;
    font-size: 1.12rem
}

.settings-section p {
    margin: 4px 0;
    color: var(--muted);
    font-size: .78rem
}

.form-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px
}

.form-grid label, .settings-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700
}

.form-grid .wide {
    grid-column: 1/-1
}

.form-grid input, .form-grid select, .public-shell input, .app-content input {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--canvas);
    color: var(--ink);
    font: inherit
}

.form-actions {
    position: sticky;
    bottom: 10px;
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(8px)
}

.public-shell {
    min-height: 100dvh;
    background: radial-gradient(circle at 15% 20%, var(--soft), transparent 35%), var(--canvas)
}

.public-shell > header {
    display: flex;
    align-items: center;
    width: min(1120px, 100% - 40px);
    height: 72px;
    margin: auto
}

.public-shell > header nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto
}

.public-shell > header nav > a:not(.button) {
    font-weight: 700;
    text-decoration: none
}

.public-shell > main {
    min-height: calc(100dvh - 120px)
}

.public-shell > footer {
    padding: 25px;
    text-align: center;
    color: var(--muted);
    font-size: .75rem
}

.welcome {
    display: grid;
    grid-template-columns:1fr 430px;
    align-items: center;
    gap: 75px;
    width: min(1120px, 100% - 40px);
    min-height: 690px;
    margin: auto
}

.welcome h1 {
    margin: 14px 0 22px;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.055em;
    line-height: .98
}

.welcome h1 em {
    color: var(--green);
    font-style: normal
}

.welcome-copy > p {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.1rem
}

.welcome-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0 17px
}

.welcome-copy > small {
    color: var(--muted)
}

.welcome-card {
    padding: 40px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: 9px;
    background: var(--surface);
    box-shadow: var(--shadow)
}

.welcome-card h2 {
    margin: 30px 0 15px
}

.welcome-card ul {
    display: grid;
    gap: 15px;
    padding: 0;
    list-style: none
}

.welcome-card li {
    display: grid;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line)
}

.welcome-card li span {
    color: var(--muted);
    font-size: .82rem
}

.secure-note {
    margin-top: 25px;
    padding: 12px;
    background: var(--soft);
    color: var(--green);
    font-size: .78rem
}

.redirect-card {
    display: grid;
    justify-items: center;
    padding: 100px 20px;
    text-align: center
}

.public-shell main > h1, .public-shell main > h2, .public-shell main > form, .public-shell main > p, .public-shell main > div:not(.welcome):not(.redirect-card) {
    width: min(480px, 100% - 32px);
    margin-inline: auto
}

.public-shell main > h1 {
    padding-top: 48px
}

.public-shell main > form {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    box-shadow: var(--shadow)
}

.public-shell main form label {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700
}

.public-shell main form input:not([type=checkbox]) {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--canvas);
    color: var(--ink)
}

.public-shell main form button, .app-content > form button, .app-content main button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.validation-message, .validation-summary-errors {
    color: var(--danger)
}

.app-content > h1, .app-content > h2, .app-content > form, .app-content > p, .app-content > div.validation-summary-valid {
    max-width: 860px
}

.app-content > form {
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface)
}

@media (max-width: 900px) {
    .app-sidebar {
        flex-basis: 210px
    }

    .side-nav fluent-nav-menu {
        width: 210px !important
    }

    .support-card {
        display: none
    }

    .welcome {
        grid-template-columns:1fr;
        padding: 45px 0
    }

    .welcome-card {
        max-width: 520px
    }

    .subscription-grid {
        grid-template-columns:1fr
    }

    .settings-section {
        grid-template-columns:1fr
    }

    .dashboard-grid, .module-grid {
        grid-template-columns:1fr
    }

    .user-name, .header-context {
        display: none
    }
}

@media (max-width: 600px) {
    .app-header {
        padding: 0 12px !important
    }

    .app-header .solvendo-brand small {
        display: none
    }

    .app-main {
        flex-direction: column !important;
        overflow: auto
    }

    .app-sidebar {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        max-height: 280px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .side-nav {
        display: grid;
        grid-template-columns:1fr
    }

    .side-nav fluent-nav-menu {
        width: 100% !important
    }

    .app-content {
        height: auto !important;
        min-height: 0;
        overflow: visible !important
    }

    .app-content > main {
        padding: 25px 15px
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .welcome {
        width: calc(100% - 28px);
        gap: 35px
    }

    .welcome h1 {
        font-size: 2.8rem
    }

    .welcome-actions {
        flex-direction: column
    }

    .public-shell > header {
        width: calc(100% - 28px)
    }

    .public-shell > header nav > a:not(.button) {
        display: none
    }

    .settings-section {
        padding: 20px
    }

    .form-grid {
        grid-template-columns:1fr
    }

    .form-grid .wide {
        grid-column: auto
    }
}

:root {
    --elster-blue: #005a78;
    --green: #18863b;
    --accent: #18863b
}

[data-theme=light] {
    --ink: #292e30;
    --muted: #626b68;
    --surface: #fff;
    --canvas: #f3f4f2;
    --line: #d6dad7;
    --sidebar: #f8f9f7;
    --soft: #edf4ee;
    --shadow: 0 14px 40px rgb(38 47 42 / 10%)
}

[data-theme=dark] {
    --ink: #eef1ef;
    --muted: #b5bdb9;
    --surface: #252a2c;
    --canvas: #191d1f;
    --line: #41484a;
    --sidebar: #202527;
    --soft: #27362b;
    --shadow: 0 18px 50px rgb(0 0 0 / 25%)
}

.shared-header {
    height: 64px !important;
    padding: 0 22px !important;
    background: var(--elster-blue) !important;
    color: #fff !important;
    border-bottom: 2px solid var(--green) !important
}

.shared-header .solvendo-brand svg, .shared-header .brand-divider {
    color: #63c57c
}

.shared-header .brand-name, .shared-header .brand-slogan {
    color: #fff
}

.app-main {
    height: auto !important
}

.site-footer {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 5px 24px;
    background: #26343a;
    color: #dce4e6;
    border-top: 2px solid var(--green);
    font-size: .72rem
}

.site-footer nav {
    display: flex;
    gap: 11px
}

.site-footer a {
    text-decoration: none
}

.header-utilities {
    display: flex;
    align-items: center;
    gap: 6px
}

.language-toggle, .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 36px;
    min-width: 38px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, .2196078431);
    border-radius: 4px;
    background: #003f56;
    color: #fff;
    text-decoration: none;
    font: 700 .72rem inherit
}

.language-toggle fluent-icon {
    color: #7bd08f
}

.theme-toggle {
    font-size: 1rem;
    cursor: pointer
}

.public-shell {
    display: grid;
    height: 100dvh;
    min-height: 0;
    grid-template-rows:64px minmax(0, 1fr) 44px;
    overflow: hidden
}

.public-shell > header {
    width: 100%;
    margin: 0;
    padding-inline: max(22px, (100% - 1120px) / 2) !important
}

.public-shell > header nav {
    gap: 12px
}

.public-shell > main {
    min-height: 0;
    overflow-y: auto
}

.authenticated-layout {
    display: flex !important;
    flex-direction: column
}

.account-page {
    display: grid;
    grid-template-columns:minmax(280px, 420px) minmax(360px, 480px);
    align-items: center;
    justify-content: center;
    gap: clamp(35px, 7vw, 90px);
    width: min(1080px, 100% - 32px);
    min-height: 100%;
    margin: auto;
    padding: 34px 0
}

.account-benefits h1 {
    margin: 9px 0 13px;
    font: 600 clamp(2rem, 4vw, 3.2rem)/1.05 "Segoe UI Variable Display", "Segoe UI", sans-serif;
    letter-spacing: -0.04em
}

.account-benefits p, .account-benefits small {
    color: var(--muted)
}

.account-benefits ul, .account-benefits ol {
    display: grid;
    gap: 9px;
    padding-left: 20px
}

.account-card {
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: var(--shadow)
}

.account-card h2 {
    margin: 0 0 2px;
    font-size: 1.55rem
}

.account-intro {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .8rem
}

.compact-form {
    display: grid;
    gap: 11px
}

.compact-form label {
    display: grid;
    gap: 4px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700
}

.compact-form input:not([type=checkbox]) {
    min-height: 38px;
    margin: 0 !important
}

.remember-me {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important
}

.remember-me input {
    width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    accent-color: var(--green)
}

.account-submit {
    width: 100%;
    min-height: 40px
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--muted);
    font-size: .7rem
}

.auth-divider:before, .auth-divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line)
}

.passkey-form {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important
}

.passkey-form button {
    width: 100%;
    background: var(--elster-blue) !important
}

.external-logins {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(115px, 1fr));
    gap: 8px;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important
}

.external-logins button {
    min-height: 39px !important;
    border: 1px solid var(--line) !important;
    background: var(--surface) !important;
    color: var(--ink) !important
}

.provider-icon {
    margin-right: 6px;
    color: var(--elster-blue);
    font-weight: 900
}

.account-switch, .account-secondary, .consent-note {
    text-align: center;
    color: var(--muted);
    font-size: .75rem
}

.name-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.legal-page {
    width: min(860px, 100% - 40px);
    margin: auto;
    padding: 50px 0 80px
}

.legal-page header {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.legal-page h1 {
    margin: 8px 0;
    font-size: clamp(2rem, 5vw, 3.2rem)
}

.legal-page h2 {
    margin: 30px 0 8px;
    font-size: 1.15rem
}

.legal-page p {
    color: var(--muted)
}

.legal-page a {
    color: var(--green)
}

@media (max-width: 760px) {
    .header-context, .user-name {
        display: none
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1px
    }

    .public-shell {
        grid-template-rows:64px minmax(0, 1fr) 56px
    }

    .account-page {
        grid-template-columns:1fr;
        align-items: start;
        padding: 24px 0
    }

    .account-benefits {
        display: none
    }

    .account-card {
        padding: 22px
    }

    .public-header .solvendo-brand .brand-slogan, .public-header .solvendo-brand .brand-divider {
        display: none
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--accent)
}

.invalid {
    outline: 1px solid var(--danger)
}

h1:focus {
    outline: none
}

.shared-header {
    background: #343a3d !important;
    border-bottom-color: #789d2d !important
}

.shared-header .solvendo-brand svg {
    color: #789d2d
}

.shared-header a, .shared-header button, .shared-header .header-context, .shared-header .user-name {
    color: #fff
}

.shared-header .brand-divider {
    color: #fff;
    opacity: .65
}

.shared-header .brand-slogan {
    color: #fff;
    font-family: "Cinzel Decorative Regular", sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-synthesis: none;
    line-height: .95
}

.shared-header .brand-name {
    color: #fff;
    font-family: "Genome Thin", sans-serif;
    font-size: 1.35rem;
    font-weight: normal;
    font-synthesis: none
}

.shared-header .button {
    background: #617f24;
    color: #fff
}

:root {
    --green: #789d2d;
    --accent: #789d2d;
    --elster-blue: #486b7b
}

.language-toggle, .theme-toggle {
    background: rgba(0, 0, 0, .28)
}

.language-toggle fluent-icon {
    color: #9abd58
}

.environment-dot {
    background: #789d2d
}

.support-card {
    border-left-color: #789d2d
}

.site-footer {
    background: #343a3d
}

[data-theme=dark] {
    --ink: #f4f7f5;
    --muted: #c6cfca;
    --surface: #252a2c;
    --canvas: #171b1d;
    --line: #50585a;
    --sidebar: #202527;
    --soft: #293529
}

[data-theme=dark] .notice {
    background: #3a321d;
    color: #fff0b8
}

[data-theme=dark] .notice.success {
    background: #293529;
    color: #e7f2df
}

[data-theme=dark] .status-pill {
    background: #343b3d;
    color: #e1e7e3
}

[data-theme=dark] .external-logins button {
    background: #2b3032 !important;
    color: #f4f7f5 !important
}

[data-theme=dark] .secure-note {
    color: #d9e9c4
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme=light]) .notice {
        background: #3a321d;
        color: #fff0b8
    }

    :root:not([data-theme=light]) .notice.success {
        background: #293529;
        color: #e7f2df
    }

    :root:not([data-theme=light]) .status-pill {
        background: #343b3d;
        color: #e1e7e3
    }

    :root:not([data-theme=light]) .external-logins button {
        background: #2b3032 !important;
        color: #f4f7f5 !important
    }

    :root:not([data-theme=light]) .secure-note {
        color: #d9e9c4
    }
}

.app-navigation-toggle, .mobile-menu-toggle, .mobile-navigation-heading, .navigation-backdrop {
    display: none
}

.shared-header .header-control, .shared-header .language-toggle, .shared-header .theme-toggle, .public-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    text-decoration: none
}

.public-account-link {
    height: 36px;
    padding-inline: .75rem;
    font-size: .72rem;
    font-weight: 700
}

.shared-header .header-control:hover, .shared-header .language-toggle:hover, .shared-header .theme-toggle:hover, .public-account-link:hover {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .09)
}

.header-utilities {
    gap: 5px
}

.language-toggle, .theme-toggle {
    background: rgba(0, 0, 0, 0)
}

.user-account {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    height: 42px;
    margin-left: 6px;
    padding: 3px 9px 3px 4px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 5px;
    text-decoration: none
}

.user-account:hover {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .18)
}

.user-copy {
    display: grid;
    min-width: 0;
    line-height: 1.15
}

.user-copy b, .user-copy small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-copy b {
    color: #fff;
    font-size: .72rem;
    font-weight: 650
}

.user-copy small {
    color: rgba(255, 255, 255, .65);
    font-size: .61rem
}

.avatar {
    flex: 0 0 32px;
    background: #789d2d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24)
}

.logout-form {
    margin: 0
}

.logout-button {
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    cursor: pointer;
    font: 700 .7rem inherit
}

.app-sidebar {
    overflow: hidden;
    scrollbar-width: none
}

.app-sidebar::-webkit-scrollbar {
    display: none
}

.side-nav {
    min-height: 0;
    overflow: hidden
}

.side-nav fluent-nav-menu {
    width: 100% !important
}

.provider-icon {
    display: inline-block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-right: 7px;
    object-fit: contain
}

[data-theme=light] .button {
    background: #789d2d;
    color: #fff
}

[data-theme=light] .secondary-button {
    background: #fff;
    color: #292e30
}

[data-theme=light] .app-content button:not(.logout-button):not(.theme-toggle) {
    color: #fff
}

[data-theme=dark] .button {
    background: #89aa42;
    color: #111713
}

[data-theme=dark] .button:hover {
    background: #9aba50
}

[data-theme=dark] .secondary-button {
    border-color: #687174;
    background: #2b3032;
    color: #f4f7f5
}

[data-theme=dark] .app-content button:not(.logout-button):not(.theme-toggle) {
    background: #89aa42;
    color: #111713
}

[data-theme=dark] .form-actions {
    background: rgba(37, 42, 44, .92)
}

[data-theme=dark] .settings-section input, [data-theme=dark] .settings-section select {
    border-color: #5b6466;
    background: #1d2224;
    color: #f4f7f5
}

@media (max-width: 1050px) {
    .header-context, .user-copy small {
        display: none
    }

    .user-copy b {
        max-width: 125px
    }
}

@media (max-width: 820px) {
    .authenticated-layout {
        position: relative
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 38px;
        width: 38px;
        padding: 0;
        cursor: pointer
    }

    .app-header .brand-slogan, .app-header .brand-divider {
        display: none
    }

    .app-header {
        padding-inline: 10px !important
    }

    .app-main {
        position: relative;
        flex-direction: row !important;
        overflow: hidden !important
    }

    .app-sidebar {
        position: fixed;
        z-index: 1001;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(310px, 88vw);
        height: 100dvh;
        max-height: none;
        border: 0;
        border-right: 1px solid var(--line);
        box-shadow: 12px 0 34px rgba(0, 0, 0, .28);
        transform: translateX(-105%);
        transition: transform 160ms ease-out
    }

    .mobile-navigation-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 58px;
        padding: 0 15px 0 19px;
        border-bottom: 1px solid var(--line)
    }

    .mobile-navigation-heading label {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        cursor: pointer
    }

    .navigation-backdrop {
        position: fixed;
        z-index: 1000;
        inset: 0;
        background: rgba(0, 0, 0, .55)
    }

    .app-navigation-toggle:checked ~ .app-main .app-sidebar {
        transform: translateX(0)
    }

    .app-navigation-toggle:checked ~ .app-main .navigation-backdrop {
        display: block
    }

    .app-content {
        width: 100%;
        height: 100% !important;
        overflow-y: auto !important
    }

    .support-card {
        display: grid
    }

    .site-footer {
        padding-inline: 14px
    }
}

@media (max-width: 620px) {
    .user-copy, .logout-button span {
        display: none
    }

    .user-account {
        padding-right: 4px
    }

    .logout-button {
        width: 38px;
        padding: 0
    }

    .public-header .public-account-link {
        padding-inline: .55rem
    }

    .public-header nav {
        gap: 5px
    }

    .settings-section {
        padding: 18px
    }

    .form-actions {
        position: static
    }

    .public-shell {
        overflow-x: hidden
    }

    .account-page {
        width: calc(100% - 24px);
        min-width: 0
    }

    .account-card {
        width: 100%;
        min-width: 0;
        padding: 20px;
        overflow: hidden
    }

    .name-row, .external-logins {
        grid-template-columns:1fr
    }

    .consent-note {
        overflow-wrap: anywhere
    }
}

@media (max-width: 460px) {
    .app-header .brand-name {
        font-size: 1.05rem
    }

    .app-header .user-account {
        display: none
    }

    .header-utilities .language-toggle {
        min-width: 36px;
        padding-inline: 5px
    }

    .public-header .solvendo-brand .brand-name {
        font-size: 1.05rem
    }

    .public-header .public-account-link {
        display: none
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-sidebar {
        transition: none
    }
}

.shared-header {
    flex: 0 0 64px !important;
    height: 64px !important;
    padding: 0 .75rem !important;
    background: #343a3d !important;
    border-bottom: 1px solid #789d2d !important
}

.shared-header .solvendo-brand {
    gap: .65rem
}

.shared-header .solvendo-brand svg {
    width: 39px;
    height: 39px;
    color: #789d2d
}

.shared-header .brand-slogan {
    font-size: 14px;
    font-weight: normal;
    line-height: .95
}

.shared-header .brand-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .65)
}

.shared-header .brand-name {
    font-size: 1.35rem;
    font-weight: normal
}

.shared-header .header-utilities, .public-header nav {
    gap: 5px
}

.shared-header .header-control, .shared-header .public-account-link, .shared-header .language-toggle, .shared-header .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 36px;
    min-height: 36px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    font: 700 .72rem "MontserratAlternates", sans-serif;
    text-decoration: none
}

.shared-header .theme-toggle {
    width: 38px;
    min-width: 38px;
    padding: 0;
    font-size: 1rem
}

.shared-header .header-control:hover, .shared-header .public-account-link:hover, .shared-header .language-toggle:hover, .shared-header .theme-toggle:hover {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .09)
}

.shared-header .language-toggle fluent-icon {
    color: #9abd58
}

.public-shell > .public-header, .authenticated-layout > .shared-header {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: .75rem !important
}

.custom-fluent-footer {
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    flex: 0 0 45px !important;
    width: 100% !important;
    min-height: 45px !important;
    max-height: 45px !important;
    background-color: #1e212a !important;
    border-top: 1px solid #789d2d !important;
    margin: 0;
    height: 45px !important;
    padding: 5px !important;
    color: #fff !important;
    font-family: "MontserratAlternates", "Segoe UI Variable", "Segoe UI", sans-serif;
    font-size: 1rem !important;
    line-height: 1;
    text-align: initial !important
}

.custom-fluent-footer a {
    color: #fff !important;
    line-height: 1;
    text-decoration: none
}

.footer-content {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 17px;
    min-height: 17px;
    background: #1e212a;
    line-height: 1;
    white-space: nowrap
}

.footer-legal nav {
    display: flex;
    align-items: center;
    gap: 5px
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100% !important;
    height: 17px;
    min-height: 17px;
    padding: 0 5px;
    line-height: 1;
    white-space: nowrap
}

.footer-spacer {
    flex: 1 1 auto
}

.cinzel {
    margin: 0;
    color: #fff;
    font-family: "Cinzel Decorative Regular", sans-serif;
    font-size: .7rem !important;
    font-weight: normal;
    font-synthesis: none;
    line-height: 1
}

.genome {
    margin: 0;
    color: #fff;
    font-family: "Genome Thin", sans-serif;
    font-size: .7rem !important;
    font-weight: normal;
    font-synthesis: none;
    line-height: 1
}

.public-shell {
    grid-template-rows:64px minmax(0, 1fr) 45px
}

.external-logins button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    padding: 0 10px !important;
    line-height: 1 !important;
    text-align: center
}

.external-logins .provider-icon {
    flex: 0 0 17px;
    margin: 0;
    vertical-align: middle
}

[data-theme=light] .app-sidebar {
    border-color: #d6dad7;
    background: #f8f9f7;
    color: #292e30
}

[data-theme=light] .side-nav fluent-nav-menu {
    --neutral-layer-1: #f8f9f7;
    --neutral-foreground-rest: #292e30;
    --neutral-foreground-hover: #17201a;
    --neutral-fill-stealth-hover: #e9efe5
}

[data-theme=dark] .app-sidebar {
    border-color: #50585a;
    background: #202527;
    color: #f4f7f5
}

[data-theme=dark] .side-nav fluent-nav-menu {
    --neutral-layer-1: #202527;
    --neutral-layer-2: #292f31;
    --neutral-foreground-rest: #f4f7f5;
    --neutral-foreground-hover: #fff;
    --neutral-fill-stealth-rest: transparent;
    --neutral-fill-stealth-hover: #343b3d;
    --neutral-fill-stealth-active: #3c4446;
    --accent-foreground-rest: #9abd58
}

[data-theme=dark] .side-nav fluent-nav-link::part(control) {
    color: #f4f7f5;
    background: rgba(0, 0, 0, 0)
}

[data-theme=dark] .side-nav fluent-nav-link:hover::part(control) {
    background: #343b3d
}

[data-theme=dark] .nav-label {
    color: #bfc8c3
}

[data-theme=dark] .support-card {
    border-color: #50585a;
    border-left-color: #789d2d;
    background: #292f31;
    color: #f4f7f5
}

@media (max-width: 700px) {
    .footer-meta .genome:nth-child(2) {
        display: none
    }
}

html[data-theme=light] {
    color-scheme: light;
    --ink: #252b2d;
    --muted: #5f6965;
    --surface: #fff;
    --surface-raised: #fff;
    --canvas: #f3f5f2;
    --line: #d4dad5;
    --sidebar: #f8faf7;
    --soft: #edf3e8;
    --control: #fff;
    --control-hover: #f0f4ed;
    --control-text: #252b2d;
    --shadow: 0 12px 34px rgb(31 42 35 / 9%)
}

html[data-theme=dark] {
    color-scheme: dark;
    --ink: #f4f7f5;
    --muted: #bec8c2;
    --surface: #252b2d;
    --surface-raised: #2b3234;
    --canvas: #171c1e;
    --line: #4c5759;
    --sidebar: #202628;
    --soft: #2d3929;
    --control: #303739;
    --control-hover: #3a4345;
    --control-text: #f4f7f5;
    --shadow: 0 16px 42px rgb(0 0 0 / 28%)
}

html[data-theme] body, html[data-theme] .public-shell, html[data-theme] .app-content {
    background: var(--canvas);
    color: var(--ink)
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden
}

.authenticated-layout {
    display: flex !important;
    flex-direction: column;
    height: 100dvh !important
}

.authenticated-layout > .shared-header {
    box-sizing: border-box
}

.app-main {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important
}

.app-content {
    min-width: 0;
    height: 100% !important;
    overflow: auto !important
}

.app-content > main {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
    padding: clamp(24px, 3.5vw, 50px)
}

.mobile-menu-toggle {
    display: none !important
}

.authenticated-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 14px
}

.authenticated-header-actions .header-utilities {
    gap: 6px
}

.authenticated-header-actions .language-toggle, .authenticated-header-actions .theme-toggle, .authenticated-header-actions .logout-button {
    box-sizing: border-box;
    height: 36px;
    min-height: 36px;
    border-radius: 4px
}

.authenticated-header-actions .theme-toggle {
    width: 38px;
    min-width: 38px
}

.authenticated-header-actions .logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0
}

.user-account {
    order: 3;
    margin: 0;
    padding: 3px 8px 3px 4px
}

.user-copy .user-display-name {
    max-width: 190px;
    overflow: hidden;
    color: #fff;
    font-size: .72rem;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-copy small {
    font-weight: 400
}

.app-sidebar {
    flex: 0 0 250px;
    height: 100%;
    overflow: hidden;
    border-color: var(--line);
    background: var(--sidebar);
    color: var(--ink)
}

.side-nav {
    flex: 0 1 auto;
    min-height: 0;
    padding: 12px 8px;
    overflow: hidden
}

.side-nav fluent-nav-menu {
    width: 100% !important;
    --neutral-layer-1: var(--sidebar);
    --neutral-layer-2: var(--control-hover);
    --neutral-foreground-rest: var(--ink);
    --neutral-foreground-hover: var(--ink);
    --neutral-fill-stealth-rest: transparent;
    --neutral-fill-stealth-hover: var(--control-hover);
    --neutral-fill-stealth-active: var(--soft);
    --accent-foreground-rest: #789d2d
}

.side-nav fluent-nav-link::part(control) {
    color: var(--ink);
    background: rgba(0, 0, 0, 0);
    border-radius: 4px
}

.side-nav fluent-nav-link:hover::part(control) {
    background: var(--control-hover)
}

.nav-label {
    color: var(--muted)
}

.support-card {
    border-color: var(--line);
    border-left-color: #789d2d;
    background: var(--surface-raised);
    color: var(--ink)
}

.support-card span {
    color: var(--muted)
}

html[data-theme] fluent-card, html[data-theme] .metric-card, html[data-theme] .plan-card, html[data-theme] .billing-card, html[data-theme] .account-card, html[data-theme] .welcome-card, html[data-theme] .settings-section, html[data-theme] .workspace-panel {
    border-color: var(--line) !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    box-shadow: var(--shadow)
}

html[data-theme] input:not([type=checkbox]), html[data-theme] select, html[data-theme] textarea {
    border-color: var(--line) !important;
    background: var(--control) !important;
    color: var(--control-text) !important
}

html[data-theme] input::placeholder, html[data-theme] textarea::placeholder {
    color: var(--muted)
}

.button, .account-submit, .panel-actions button, .billing-card button {
    min-height: 42px;
    border: 1px solid #789d2d !important;
    border-radius: 4px;
    background: #789d2d !important;
    color: #fff !important
}

.button:hover, .account-submit:hover, .panel-actions button:hover, .billing-card button:hover {
    border-color: #89aa42 !important;
    background: #89aa42 !important
}

.secondary-button, .manage-passkeys {
    border: 1px solid var(--line) !important;
    background: var(--control) !important;
    color: var(--control-text) !important
}

.secondary-button:hover, .manage-passkeys:hover {
    background: var(--control-hover) !important
}

.external-logins {
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 8px
}

.external-logins button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px !important;
    gap: 8px;
    padding: 0 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    background: var(--control) !important;
    color: var(--control-text) !important;
    font: 700 .78rem "MontserratAlternates", sans-serif;
    line-height: 1 !important
}

.external-logins button:hover {
    border-color: #789d2d !important;
    background: var(--control-hover) !important
}

.external-logins .provider-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0
}

.account-settings-grid {
    display: grid;
    gap: 18px;
    max-width: 1050px
}

.workspace-panel {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--line);
    border-radius: 6px
}

.workspace-panel > header {
    display: grid;
    grid-template-columns:minmax(210px, 0.55fr) 1fr;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.workspace-panel > header > div {
    display: flex;
    align-items: center;
    gap: 12px
}

.workspace-panel h2 {
    margin: 0;
    font-size: 1.15rem
}

.workspace-panel header p {
    margin: 0;
    color: var(--muted);
    font-size: .8rem
}

.panel-kicker {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--soft);
    color: #789d2d;
    font-size: .7rem;
    font-weight: 800
}

.workspace-form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(0, 0, 0, 0) !important;
    box-shadow: none !important
}

.panel-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px
}

.manage-passkeys {
    margin-bottom: 15px
}

.linked-providers {
    color: var(--muted);
    font-size: .8rem
}

.link-providers {
    max-width: 660px;
    margin-top: 15px !important
}

.danger-panel {
    border-left: 3px solid #b42318
}

.danger-button {
    border-color: #b42318 !important;
    background: rgba(0, 0, 0, 0) !important;
    color: #b42318 !important
}

.danger-button:hover {
    background: #b42318 !important;
    color: #fff !important
}

.passkey-panel {
    max-width: 1050px;
    margin-bottom: 18px
}

.empty-inline {
    display: grid;
    gap: 4px;
    padding: 22px;
    border-radius: 4px;
    background: var(--soft)
}

.empty-inline span {
    color: var(--muted);
    font-size: .8rem
}

.passkey-list {
    display: grid;
    gap: 10px
}

.passkey-row {
    display: grid;
    grid-template-columns:minmax(220px, 1fr) auto;
    align-items: end;
    gap: 15px;
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid var(--line) !important;
    border-radius: 5px;
    background: var(--surface-raised) !important
}

.passkey-row label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700
}

.passkey-actions {
    display: flex;
    gap: 8px
}

.passkey-actions button {
    min-height: 42px;
    padding-inline: 15px;
    border-radius: 4px
}

.passkey-panel > .workspace-form button {
    min-height: 42px;
    border: 1px solid #789d2d !important;
    border-radius: 4px;
    background: #789d2d !important;
    color: #fff !important
}

.notice {
    border-color: #c99b2d;
    background: color-mix(in srgb, #c99b2d 18%, var(--surface));
    color: var(--ink)
}

.notice.success {
    border-color: #789d2d;
    background: var(--soft);
    color: var(--ink)
}

.status-pill {
    background: var(--control-hover);
    color: var(--ink)
}

.secure-note {
    background: var(--soft);
    color: color-mix(in srgb, #789d2d 75%, var(--ink))
}

.module-grid a {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink)
}

.module-grid a:hover {
    background: var(--surface-raised)
}

@media (max-width: 1050px) {
    .app-header .user-copy small, .header-context {
        display: none
    }

    .user-copy .user-display-name {
        max-width: 125px
    }
}

@media (max-width: 820px) {
    .mobile-menu-toggle {
        display: inline-flex !important;
        order: 4;
        flex: 0 0 38px;
        width: 38px;
        margin-left: 8px;
        padding: 0;
        cursor: pointer
    }

    .app-header {
        padding-inline: 10px !important
    }

    .app-header .brand-slogan, .app-header .brand-divider {
        display: none
    }

    .app-header .solvendo-brand {
        gap: .45rem
    }

    .app-header .solvendo-brand svg {
        width: 32px;
        height: 32px
    }

    .app-header .solvendo-brand .brand-name {
        font-size: 1rem
    }

    .authenticated-header-actions {
        margin-right: 8px
    }

    .app-main {
        position: relative;
        flex-direction: row !important;
        overflow: hidden !important
    }

    .app-sidebar {
        position: fixed;
        z-index: 1001;
        inset: 0 auto 0 0;
        width: min(310px, 88vw);
        height: 100dvh;
        max-height: none;
        border: 0;
        border-right: 1px solid var(--line);
        box-shadow: 12px 0 34px rgba(0, 0, 0, .32);
        transform: translateX(-105%);
        transition: transform 160ms ease-out
    }

    .mobile-navigation-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 58px;
        padding: 0 15px 0 19px;
        border-bottom: 1px solid var(--line)
    }

    .mobile-navigation-heading label {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        cursor: pointer
    }

    .navigation-backdrop {
        position: fixed;
        z-index: 1000;
        inset: 0;
        background: rgba(0, 0, 0, .58)
    }

    .app-navigation-toggle:checked ~ .app-main .app-sidebar {
        transform: translateX(0)
    }

    .app-navigation-toggle:checked ~ .app-main .navigation-backdrop {
        display: block
    }

    .workspace-panel > header {
        grid-template-columns:1fr;
        gap: 8px
    }

    .public-header .public-account-link {
        display: none
    }

    .public-header {
        padding-inline: 12px !important
    }

    .public-header nav {
        min-width: 0
    }

    .welcome {
        grid-template-columns:minmax(0, 1fr);
        gap: 30px;
        width: 100%;
        min-height: 0;
        padding: 34px 14px;
        overflow: hidden
    }

    .welcome-copy, .welcome-card {
        width: 100%;
        min-width: 0
    }

    .welcome h1 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
        overflow-wrap: anywhere
    }
}

@media (max-width: 620px) {
    .app-header .user-copy, .logout-button span {
        display: none
    }

    .app-header .solvendo-brand svg {
        width: 28px;
        height: 28px
    }

    .app-header .solvendo-brand .brand-name {
        font-size: .9rem
    }

    .authenticated-header-actions, .authenticated-header-actions .header-utilities {
        gap: 5px
    }

    .authenticated-header-actions {
        margin-right: 3px
    }

    .authenticated-header-actions .language-toggle {
        width: 42px;
        min-width: 42px;
        padding-inline: 4px
    }

    .authenticated-header-actions .logout-button {
        width: 38px;
        min-width: 38px;
        padding: 0
    }

    .user-account {
        width: 38px;
        min-width: 38px;
        padding: 3px
    }

    .mobile-menu-toggle {
        margin-left: 5px
    }

    .app-content > main {
        padding: 22px 14px
    }

    .account-card {
        padding: 20px
    }

    .name-row, .form-grid, .external-logins {
        grid-template-columns:1fr
    }

    .form-grid .wide {
        grid-column: auto
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .passkey-row {
        grid-template-columns:1fr
    }

    .passkey-actions {
        flex-wrap: wrap
    }

    .public-header .brand-slogan, .public-header .brand-divider {
        display: none
    }

    .welcome-actions {
        flex-direction: column
    }

    .welcome-card {
        padding: 24px 20px
    }
}

.shared-header .header-control, .shared-header .public-account-link, .shared-header .language-toggle, .shared-header .theme-toggle {
    font-family: "MontserratAlternates", "Segoe UI Variable", "Segoe UI", sans-serif;
    font-size: .78rem;
    font-weight: normal;
    font-synthesis: none;
    line-height: 1
}

.shared-header .theme-toggle {
    font-size: 1rem
}

.side-nav .fluent-nav-item .positioning-region, .side-nav .fluent-nav-link, .side-nav .content-region, .side-nav .fluent-nav-text {
    align-items: center
}

.side-nav .fluent-nav-item .positioning-region {
    min-height: 42px
}

.side-nav .fluent-nav-text {
    display: inline-flex;
    min-height: 40px;
    line-height: 1.2
}

html[data-theme=dark] .side-nav .fluent-nav-item .positioning-region {
    background: rgba(0, 0, 0, 0) !important;
    color: var(--ink) !important
}

html[data-theme=dark] .side-nav .fluent-nav-item:not(.disabled) .positioning-region:hover {
    background: var(--control-hover) !important
}

html[data-theme=dark] .side-nav .fluent-nav-item .active .positioning-region {
    background: color-mix(in srgb, #789d2d 18%, var(--sidebar)) !important
}

@media (max-width: 820px) {
    .authenticated-layout > .shared-header, .public-shell > .public-header {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-inline: .5rem !important
    }

    .shared-header > .brand-link {
        margin-left: 0
    }

    .public-header > nav {
        margin-left: auto
    }

    .mobile-menu-toggle {
        margin-right: 0
    }
}

.authenticated-layout > .shared-header, .public-shell > .public-header {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important
}

.authenticated-layout > .shared-header .header-gutters {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important
}

.user-account .avatar fluent-icon {
    color: #fff
}

.embedded-checkout-shell {
    width: min(100%, 820px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 4px solid #789d2d;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow)
}

.embedded-checkout-shell--compact {
    max-width: 720px
}

.embedded-checkout-assurance {
    display: grid;
    grid-template-columns:auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    min-height: 72px;
    padding: 14px clamp(16px, 3vw, 26px);
    border-bottom: 1px solid #e1e5e2;
    background: #f8f9f7;
    color: #292e30
}

.embedded-checkout-assurance > div {
    display: grid;
    gap: 1px
}

.embedded-checkout-assurance strong {
    font-size: .86rem
}

.embedded-checkout-assurance span {
    color: #626b68;
    font-size: .72rem
}

.checkout-security-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #edf3e2
}

.checkout-security-icon svg {
    width: 21px;
    height: 21px;
    fill: #6b8d28
}

.embedded-checkout-assurance .checkout-provider {
    padding: 4px 9px;
    border: 1px solid #d6dad7;
    border-radius: 999px;
    color: #4d5652;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em
}

.embedded-checkout-card {
    min-height: 420px;
    padding: clamp(.75rem, 2.5vw, 1.5rem);
    background: #fff;
    color-scheme: light
}

.embedded-checkout-card > form {
    display: none
}

.stripe-checkout-mount {
    width: 100%
}

.embedded-checkout-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 300px;
    color: #626b68
}

.checkout-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: checkout-spin .8s linear infinite
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg)
    }
}

.embedded-checkout-loading[hidden], .embedded-checkout-error[hidden] {
    display: none
}

.embedded-checkout-error {
    margin-top: 1rem
}

.embedded-checkout-footnote {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    padding: 0 18px 18px;
    background: #fff;
    color: #6a726f;
    font-size: .68rem;
    text-align: center
}

.billing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center
}

.billing-actions form {
    margin: 0
}

.invoice-panel {
    display: grid;
    gap: 1.25rem;
    max-width: 950px;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface)
}

.invoice-panel h2 {
    margin: .25rem 0
}

.invoice-panel p {
    margin: 0;
    color: var(--muted)
}

.invoice-list {
    display: grid
}

.invoice-row {
    display: grid;
    grid-template-columns:minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    border-top: 1px solid var(--line)
}

.invoice-row > div {
    display: grid
}

.invoice-row span {
    color: var(--muted);
    font-size: .78rem
}

@media (max-width: 600px) {
    .embedded-checkout-shell {
        width: calc(100% + 24px);
        margin-inline: -12px;
        border-inline: 0;
        border-radius: 0
    }

    .embedded-checkout-assurance {
        grid-template-columns:auto minmax(0, 1fr)
    }

    .embedded-checkout-assurance .checkout-provider {
        display: none
    }

    .embedded-checkout-card {
        padding: .5rem 0
    }

    .embedded-checkout-footnote > span[aria-hidden=true] {
        display: none
    }

    .invoice-row {
        grid-template-columns:minmax(0, 1fr) auto
    }

    .invoice-row .secondary-button {
        grid-column: 1/-1
    }
}

.marketing-header, .shared-header {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 64px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    padding-block: 0 !important;
    border-bottom: 1px solid #789d2d !important
}

.marketing-header > .header-navigation {
    box-sizing: border-box !important;
    align-items: center !important;
    height: 63px !important;
    min-height: 63px !important;
    max-height: 63px !important;
    margin-block: 0 !important
}

.marketing-header .brand-link, .shared-header .brand-link {
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    height: 39px !important;
    margin-block: 0 !important;
    padding-block: 0 !important;
    line-height: 1 !important
}

.solvendo-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10.4px !important;
    min-width: 0;
    color: #789d2d;
    line-height: 1 !important;
    white-space: nowrap
}

.solvendo-brand > svg {
    display: block !important;
    flex: 0 0 39px !important;
    width: 39px !important;
    height: 39px !important;
    color: #789d2d !important
}

.solvendo-brand > .brand-slogan {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    color: #fff !important;
    font-family: "Cinzel Decorative Regular", sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-synthesis: none !important;
    letter-spacing: normal !important;
    line-height: .95 !important
}

.solvendo-brand > .brand-slogan > span {
    display: block
}

.solvendo-brand > .brand-divider {
    display: block !important;
    flex: 0 0 1px !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 28px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, .65) !important;
    opacity: 1 !important
}

.solvendo-brand > .brand-name {
    display: block !important;
    color: #fff !important;
    font-family: "Genome Thin", sans-serif !important;
    font-size: 21.6px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-synthesis: none !important;
    letter-spacing: normal !important;
    line-height: 1 !important
}

@media (max-width: 700px) {
    .solvendo-brand > .brand-slogan, .solvendo-brand > .brand-divider {
        display: none !important
    }

    .solvendo-brand > svg {
        flex-basis: 32px !important;
        width: 32px !important;
        height: 32px !important
    }

    .solvendo-brand > .brand-name {
        font-size: 16px !important
    }

    .marketing-header .brand-link, .shared-header .brand-link {
        height: 32px !important
    }
}

@media (max-width: 620px) {
    .solvendo-brand {
        gap: 7.2px !important
    }

    .solvendo-brand > svg {
        flex-basis: 28px !important;
        width: 28px !important;
        height: 28px !important
    }

    .solvendo-brand > .brand-name {
        font-size: 14.4px !important
    }

    .marketing-header .brand-link, .shared-header .brand-link {
        height: 28px !important
    }
}
