.account-control {
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: auto;
    flex: 0 0 44px;
}

.account-control-fallback,
.account-clerk-mount {
    position: absolute;
    inset: 0;
    width: 44px;
    height: 44px;
}

.account-control-fallback {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: rgba(5, 17, 29, 0.58);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
    transition: background-color 150ms ease, border-color 150ms ease;
}

.account-control-fallback:hover {
    border-color: #ffffff;
    background: rgba(13, 45, 70, 0.86);
}

.account-control-fallback:focus-visible {
    outline: 3px solid #8fd5ff;
    outline-offset: 3px;
}

.account-person-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.account-clerk-mount {
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.account-clerk-mount[data-clerk-mounted="true"] {
    pointer-events: none;
}

.account-clerk-mount[hidden],
.account-tier-badge[hidden] {
    display: none;
}

.account-initials {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 760;
    letter-spacing: 0.055em;
    line-height: 1;
    text-indent: 0.055em;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

.account-initials--loading {
    color: transparent;
}

.account-tier-badge {
    position: absolute;
    right: -7px;
    bottom: -5px;
    z-index: 3;
    min-width: 29px;
    padding: 2px 5px;
    border: 2px solid #0b1725;
    border-radius: 999px;
    background: #62b7e8;
    color: #07131e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.release-upcoming-card--locked {
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--forecast-data, #238b62) 36%, var(--border-default, #d9e4f0));
}

.release-outlook-meter-locked {
    height: 10px;
    border: 1px solid var(--border-subtle, #d9e4f0);
    border-radius: 999px;
    background: repeating-linear-gradient(
        135deg,
        var(--surface-3, #edf2f6) 0 8px,
        color-mix(in srgb, var(--forecast-data, #238b62) 18%, var(--surface-3, #edf2f6)) 8px 16px
    );
    filter: blur(2px);
}

.release-outlook-value--locked,
.release-index-locked {
    color: var(--text-muted-ui, #637384);
}

.release-index-locked {
    font-size: 13px;
    font-weight: 700;
}

.release-locked-summary h3 {
    max-width: 720px;
    margin: 0;
    color: var(--text-primary, #152433);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.release-locked-preview {
    display: grid;
    max-width: 620px;
    margin-top: 22px;
    gap: 9px;
    filter: blur(5px);
    opacity: 0.62;
    user-select: none;
}

.release-locked-ghost {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--surface-3, #edf2f6), color-mix(in srgb, var(--forecast-data, #238b62) 20%, var(--surface-3, #edf2f6)));
}

.release-locked-ghost--value {
    width: 168px;
    height: 30px;
}

.release-locked-ghost--line {
    width: min(100%, 420px);
    height: 11px;
}

.release-locked-ghost--line-short {
    width: min(72%, 310px);
    height: 11px;
}

.release-locked-ghost-bars {
    display: grid;
    height: 46px;
    margin-top: 5px;
    align-items: end;
    grid-template-columns: repeat(4, minmax(30px, 1fr));
    gap: 7px;
}

.release-locked-ghost-bars span {
    display: block;
    height: 52%;
    border-radius: 5px 5px 2px 2px;
    background: var(--surface-3, #edf2f6);
}

.release-locked-ghost-bars span:nth-child(2) {
    height: 82%;
}

.release-locked-ghost-bars span:nth-child(3) {
    height: 65%;
}

.release-locked-ghost-bars span:nth-child(4) {
    height: 92%;
}

.release-lock-message {
    display: grid;
    margin-top: 22px;
    padding-top: 18px;
    align-items: start;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    border-top: 1px solid var(--border-subtle, #d9e4f0);
}

.release-lock-icon {
    width: 34px;
    height: 34px;
    padding: 6px;
    border: 1px solid var(--border-default, #d9e4f0);
    border-radius: 50%;
    background: var(--surface-2, #f7f9fb);
    color: var(--forecast-data, #238b62);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.release-lock-message p {
    margin: 0 0 12px;
    color: var(--text-primary, #152433);
    font-size: 15px;
    font-weight: 620;
    line-height: 1.5;
}

.pro-account-page,
.pro-auth-page {
    display: grid;
    width: min(100%, 920px);
    margin-inline: auto;
    gap: var(--space-5, 20px);
}

.pro-settings-shell {
    overflow: hidden;
    border: 1px solid var(--border-default, #d9e4f0);
    border-radius: 18px;
    background: var(--surface-1, #ffffff);
    box-shadow: var(--panel-shadow, 0 8px 24px rgba(29, 48, 68, 0.08));
}

.pro-settings-tabs {
    display: flex;
    overflow-x: auto;
    padding: 0 18px;
    border-bottom: 1px solid var(--border-default, #d9e4f0);
    background: var(--surface-2, #f7f9fb);
    scrollbar-width: thin;
}

.pro-settings-tab {
    position: relative;
    min-width: max-content;
    min-height: 54px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--text-secondary, #516172);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.pro-settings-tab::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 2px;
    background: transparent;
}

.pro-settings-tab:hover {
    color: var(--text-primary, #152433);
}

.pro-settings-tab[aria-selected="true"] {
    color: var(--brand-dark, #0f628e);
}

.pro-settings-tab[aria-selected="true"]::after {
    background: var(--brand-dark, #0f628e);
}

.pro-settings-tab:focus-visible {
    z-index: 1;
    outline: 3px solid var(--focus-ring, #1686bd);
    outline-offset: -4px;
}

.pro-settings-content {
    min-height: 650px;
}

.pro-settings-panel {
    min-height: 650px;
    padding: clamp(28px, 6vw, 52px);
    outline: none;
}

.pro-settings-panel--account {
    padding: clamp(28px, 5vw, 40px);
}

.pro-settings-shell[data-profile-tabs-ready] .pro-settings-panel[hidden] {
    display: none;
}

.pro-settings-shell:not([data-profile-tabs-ready]) .pro-settings-panel + .pro-settings-panel {
    border-top: 1px solid var(--border-default, #d9e4f0);
}

.pro-settings-panel-heading {
    max-width: 620px;
}

.pro-settings-panel-heading .eyebrow {
    margin: 0 0 7px;
}

.pro-settings-panel-heading h2 {
    margin: 0;
    color: var(--text-primary, #152433);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.pro-settings-panel-heading > p:last-child {
    margin: 10px 0 0;
    color: var(--text-secondary, #516172);
    font-size: 15px;
    line-height: 1.6;
}

.pro-settings-panel > .pro-action {
    margin-top: 24px;
}

.pro-settings-policy-links,
.pro-plan-policy-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.pro-settings-policy-links {
    margin: 26px 0 0;
}

.pro-settings-policy-links a,
.pro-plan-policy-links a {
    color: var(--brand-dark, #0f628e);
    font-size: 12px;
    font-weight: 650;
    text-underline-offset: 3px;
}

.pro-settings-panel--sign-out {
    display: flex;
    align-items: flex-start;
}

.pro-auth-page {
    width: min(100%, 620px);
}

body[data-page="sign-in"],
body[data-page="sign-up"] {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(3, 13, 25, 0.94), rgba(8, 34, 54, 0.76)),
        url("../images/colorado-river-site-banner-v1.webp") center 58% / cover fixed;
}

body[data-page="sign-in"] .site-nav,
body[data-page="sign-up"] .site-nav,
body[data-page="sign-in"] .breadcrumb-wrap,
body[data-page="sign-up"] .breadcrumb-wrap,
body[data-page="sign-in"] .site-footer,
body[data-page="sign-up"] .site-footer,
body[data-page="sign-in"] .ad-zone,
body[data-page="sign-up"] .ad-zone {
    display: none;
}

body[data-page="sign-in"] .main-content-shell,
body[data-page="sign-up"] .main-content-shell {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 88px);
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
}

body[data-page="sign-in"] .main-content-container,
body[data-page="sign-up"] .main-content-container {
    width: 100%;
    max-width: none;
}

body[data-page="sign-in"] .main-content,
body[data-page="sign-up"] .main-content {
    display: grid;
    min-height: calc(100vh - 88px);
    padding: clamp(24px, 6vw, 72px);
    place-items: center;
}

.pro-auth-page--gateway {
    width: min(100%, 460px);
}

.pro-auth-gateway {
    padding: clamp(24px, 6vw, 40px);
    color: #ffffff;
    text-align: center;
}

.pro-auth-mark {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    place-items: center;
    border: 1px solid rgba(183, 224, 250, 0.46);
    border-radius: 50%;
    background: rgba(20, 95, 139, 0.34);
    color: #d9f1ff;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.035);
}

.pro-auth-mark svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.pro-auth-gateway h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    letter-spacing: -0.045em;
    line-height: 1;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.48);
}

.pro-auth-gateway-copy {
    margin: 12px auto 0;
    color: #c9d8e4;
    font-size: 14px;
}

.pro-auth-gateway-actions {
    display: flex;
    margin-top: 26px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pro-auth-gateway .pro-text-link {
    margin: 0;
    color: #d9f1ff;
}

.cl-modalContent:focus-visible {
    outline: none;
}

.pro-page-heading {
    padding: clamp(18px, 4vw, 30px) 2px 4px;
}

.pro-page-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pro-page-heading .eyebrow {
    margin: 0 0 6px;
}

.pro-page-heading h1 {
    margin: 0;
    color: var(--text-primary, #152433);
    font-size: var(--type-page-title, clamp(2rem, 3.5vw, 2.75rem));
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.pro-page-heading > p:last-child {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--text-secondary, #516172);
    font-size: 16px;
}

.pro-account-session {
    display: flex;
    padding: 18px 2px 4px;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid var(--border-default, #d9e4f0);
    gap: 16px;
}

.pro-sign-out-control {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 8px;
}

.pro-sign-out-status {
    max-width: 260px;
    margin: 0;
    color: var(--text-secondary, #516172);
    font-size: 13px;
    text-align: right;
}

.pro-account-panel,
.pro-auth-panel {
    padding: clamp(20px, 4vw, 30px);
}

.pro-account-panel h2 {
    margin: 8px 0 0;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    line-height: 1.15;
}

.pro-account-panel > p {
    max-width: 700px;
    margin: 12px 0 0;
    color: var(--text-secondary, #516172);
}

.pro-upgrade-plan {
    padding: clamp(30px, 6vw, 52px);
    border: 1px solid color-mix(in srgb, var(--brand-dark, #0f628e) 36%, var(--border-default, #d9e4f0));
    border-radius: 28px;
    background: var(--surface-1, #ffffff);
}

.pro-upgrade-plan--current {
    border-color: #5eb6f2;
    background: linear-gradient(145deg, #285778 0%, #1b354b 100%);
    box-shadow: inset 0 0 0 1px rgba(116, 199, 255, 0.18);
}

.pro-upgrade-plan h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 690;
    letter-spacing: -0.045em;
}

.pro-upgrade-plan .pro-plan-price {
    display: flex;
    max-width: none;
    margin-top: clamp(32px, 6vw, 48px);
    align-items: baseline;
    color: var(--text-primary, #152433);
    line-height: 1;
}

.pro-plan-included {
    max-width: none;
    margin: clamp(32px, 6vw, 48px) 0 0;
    color: var(--text-secondary, #516172);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 650;
    line-height: 1.35;
}

.pro-billing-included {
    margin: 0;
    color: var(--text-secondary, #516172);
}

.pro-plan-currency {
    align-self: flex-start;
    margin: 7px 3px 0 0;
    color: var(--text-muted-ui, #637384);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.pro-plan-amount {
    font-size: clamp(4rem, 10vw, 5.5rem);
    font-weight: 670;
    letter-spacing: -0.045em;
}

.pro-plan-cadence {
    margin-left: 10px;
    color: var(--text-secondary, #516172);
    font-size: clamp(0.9rem, 2.4vw, 1.15rem);
    font-weight: 540;
    letter-spacing: 0.01em;
}

.pro-upgrade-plan .pro-upgrade-summary {
    max-width: 720px;
    margin-top: clamp(28px, 5vw, 42px);
    color: var(--text-primary, #152433);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 560;
    line-height: 1.35;
}

.pro-upgrade-plan .pro-current-plan-label {
    display: flex;
    max-width: none;
    min-height: 58px;
    margin-top: clamp(28px, 5vw, 40px);
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(231, 241, 249, 0.38);
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    font-weight: 730;
    text-align: center;
}

.pro-upgrade-plan .pro-upgrade-form {
    display: block;
    margin-top: clamp(28px, 5vw, 40px);
}

.pro-terms-consent {
    display: grid;
    margin: 0 0 18px;
    align-items: start;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    color: var(--text-secondary, #516172);
    font-size: 13px;
    line-height: 1.5;
}

.pro-terms-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--brand-dark, #0f628e);
}

.pro-terms-consent input:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-dark, #0f628e) 30%, transparent);
    outline-offset: 2px;
}

.pro-terms-consent a {
    color: var(--brand-dark, #0f628e);
    font-weight: 700;
    text-underline-offset: 3px;
}

.pro-action.pro-upgrade-action {
    width: 100%;
    min-height: 58px;
    border-color: color-mix(in srgb, var(--brand-dark, #0f628e) 52%, var(--border-strong, #9aabbc));
    border-radius: 999px !important;
    background: transparent;
    color: var(--brand-dark, #0f628e);
    font-size: 17px;
}

.pro-action.pro-upgrade-action:hover {
    border-color: var(--brand-dark, #0f628e);
    background: color-mix(in srgb, var(--brand-dark, #0f628e) 9%, var(--surface-1, #ffffff));
    color: var(--brand-dark, #0f628e);
}

.pro-plan-benefits {
    display: grid;
    margin: clamp(34px, 6vw, 48px) 0 0;
    padding: 0;
    gap: 22px;
    list-style: none;
}

.pro-plan-benefits li {
    display: grid;
    align-items: center;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    color: var(--text-primary, #152433);
    font-size: clamp(1rem, 2.5vw, 1.18rem);
    line-height: 1.35;
}

.pro-plan-benefit-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--brand-dark, #0f628e) 34%, var(--border-default, #d9e4f0));
    border-radius: 50%;
    color: var(--brand-dark, #0f628e);
}

.pro-plan-benefit-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.pro-upgrade-plan .pro-plan-note {
    margin-top: clamp(36px, 7vw, 58px);
    color: var(--text-muted-ui, #637384);
    font-size: 13px;
}

.pro-upgrade-plan--current h2,
.pro-upgrade-plan--current .pro-plan-amount,
.pro-upgrade-plan--current .pro-plan-included,
.pro-upgrade-plan--current .pro-upgrade-summary,
.pro-upgrade-plan--current .pro-plan-benefits li {
    color: #ffffff;
}

.pro-upgrade-plan--current .pro-plan-currency,
.pro-upgrade-plan--current .pro-plan-cadence,
.pro-upgrade-plan--current .pro-plan-note {
    color: rgba(231, 241, 249, 0.76);
}

.pro-upgrade-plan--current .pro-plan-benefit-icon {
    border-color: rgba(222, 242, 255, 0.48);
    color: #ffffff;
}

.pro-plan-policy-links {
    margin: 16px 0 0;
}

.pro-upgrade-plan--current .pro-plan-policy-links a {
    color: rgba(231, 241, 249, 0.84);
}

.pro-manage-billing-form {
    max-width: 320px;
    margin-top: 24px;
}

.pro-manage-billing-form .pro-action {
    width: 100%;
    min-height: 52px;
}

.pro-status-chip {
    display: inline-flex;
    min-height: 26px;
    padding: 4px 9px;
    align-items: center;
    border: 1px solid var(--border-default, #d9e4f0);
    border-radius: 999px;
    background: var(--surface-2, #f7f9fb);
    color: var(--text-secondary, #516172);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.pro-status-chip--pro {
    border-color: color-mix(in srgb, #2f9fd6 52%, var(--border-default, #d9e4f0));
    background: color-mix(in srgb, #4aa7d8 22%, var(--surface-1, #ffffff));
    color: color-mix(in srgb, #0d6593 88%, var(--text-primary, #152433));
}

.pro-action-row,
.pro-billing-form {
    display: flex;
    margin: 20px 0 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pro-action {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong, #9aabbc);
    border-radius: 7px;
    background: var(--surface-1, #ffffff);
    color: var(--text-primary, #152433);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.pro-action:hover {
    border-color: var(--focus-ring, #1686bd);
    background: var(--surface-hover, #f2f6f9);
    color: var(--text-primary, #152433);
}

.pro-action:focus-visible,
.pro-text-link:focus-visible,
.clerk-component-fallback a:focus-visible,
.clerk-auth-fallback a:focus-visible {
    outline: 3px solid var(--focus-ring, #1686bd);
    outline-offset: 3px;
}

.pro-action--primary {
    border-color: #176b9a;
    background: #176b9a;
    color: #ffffff;
}

.pro-action--primary:hover {
    border-color: #0f567e;
    background: #0f567e;
    color: #ffffff;
}

.pro-action:disabled {
    cursor: wait;
    opacity: 0.72;
}

.pro-billing-status {
    margin: 10px 0 0;
    color: var(--text-secondary, #516172);
    font-size: 13px;
}

.pro-billing-status:not([hidden]) {
    display: block;
}

.pro-action--compact {
    min-height: 40px;
    padding: 8px 13px;
}

.pro-text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--brand-dark, #0f628e);
    font-weight: 650;
}

.pro-account-notice {
    padding: 12px 15px;
    border: 1px solid color-mix(in srgb, var(--warning, #a87317) 38%, var(--border-default, #d9e4f0));
    border-radius: 8px;
    background: color-mix(in srgb, var(--warning, #a87317) 9%, var(--surface-1, #ffffff));
}

.pro-account-notice p {
    margin: 0;
    color: var(--text-primary, #152433);
    font-size: 14px;
}

.pro-profile-section {
    min-width: 0;
    max-width: 740px;
    margin-inline: auto;
}

.clerk-profile-frame {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.clerk-component-shell {
    min-width: 0;
}

.clerk-component-fallback,
.clerk-auth-fallback {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--border-subtle, #d9e4f0);
    border-radius: 8px;
    background: var(--surface-2, #f7f9fb);
    color: var(--text-secondary, #516172);
    font-size: 14px;
}

.clerk-component-fallback[hidden],
.clerk-auth-fallback[hidden] {
    display: none;
}

.clerk-auth-fallback p {
    margin: 0;
}

.clerk-auth-fallback p + p {
    margin-top: 8px;
}

.clerk-auth-fallback a,
.clerk-component-fallback a {
    color: var(--brand-dark, #0f628e);
    font-weight: 650;
}

.clerk-auth-mount,
.clerk-profile-mount {
    width: 100%;
    min-width: 0;
}

.clerk-auth-mount[data-clerk-mounted="true"] {
    min-height: 420px;
}

.clerk-profile-frame:has([data-clerk-mounted="true"]) {
    min-height: 620px;
}

@media (min-width: 901px) {
    .pro-account-page {
        width: min(100%, 820px);
        gap: 16px;
    }

    .pro-page-heading {
        padding-top: 16px;
    }

    .pro-page-heading h1 {
        font-size: 2.35rem;
    }

    .pro-settings-shell {
        border-radius: 14px;
    }

    .pro-settings-tabs {
        padding-inline: 12px;
    }

    .pro-settings-tab {
        min-height: 48px;
        padding-inline: 15px;
        font-size: 13px;
    }

    .pro-settings-tab::after {
        right: 15px;
        left: 15px;
    }

    .pro-settings-content {
        min-height: 0;
    }

    .pro-settings-panel {
        min-height: 320px;
    }

    .pro-settings-panel--sign-out {
        min-height: 180px;
    }

    .pro-settings-panel--account {
        padding: 36px 40px;
    }

    .clerk-profile-frame:has([data-clerk-mounted="true"]) {
        min-height: 0;
    }

    .clerk-profile-frame .cl-cardBox {
        align-items: stretch;
        border: 1px solid var(--border-default, #d9e4f0) !important;
        border-radius: 12px !important;
        flex-direction: row !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .clerk-profile-frame .cl-navbar {
        align-self: stretch;
        border-inline-end: 1px solid var(--border-default, #d9e4f0);
        height: auto;
        margin-inline-end: 0 !important;
    }

    .clerk-profile-frame .cl-scrollBox {
        align-self: flex-start;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        height: auto !important;
        margin: 0 !important;
        min-width: 0;
    }

    .clerk-profile-frame .cl-pageScrollBox {
        flex: 0 1 auto !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .pro-settings-panel:not(.pro-settings-panel--account) {
        padding: 36px 40px;
    }

    .pro-settings-panel-heading {
        max-width: 560px;
    }

    .pro-settings-panel-heading h2 {
        font-size: 1.75rem;
    }

    .pro-settings-panel-heading > p:last-child {
        font-size: 14px;
        line-height: 1.55;
    }

    .pro-settings-panel > .pro-action,
    .pro-manage-billing-form {
        margin-top: 20px;
    }

    .pro-settings-policy-links {
        margin-top: 22px;
    }

    .pro-upgrade-plan {
        width: min(100%, 620px);
        margin-inline: auto;
        padding: 36px 40px;
        border-radius: 22px;
    }

    .pro-upgrade-plan h2 {
        font-size: 2.25rem;
    }

    .pro-upgrade-plan .pro-plan-price,
    .pro-plan-included {
        margin-top: 24px;
    }

    .pro-plan-included {
        font-size: 1.15rem;
    }

    .pro-plan-currency {
        margin-top: 5px;
        font-size: 1.35rem;
    }

    .pro-plan-amount {
        font-size: 4rem;
    }

    .pro-plan-cadence {
        font-size: 0.95rem;
    }

    .pro-upgrade-plan .pro-upgrade-summary {
        margin-top: 24px;
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .pro-upgrade-plan .pro-current-plan-label,
    .pro-upgrade-plan .pro-upgrade-form {
        margin-top: 24px;
    }

    .pro-upgrade-plan .pro-current-plan-label,
    .pro-action.pro-upgrade-action {
        min-height: 50px;
        font-size: 15px;
    }

    .pro-plan-benefits {
        margin-top: 30px;
        gap: 16px;
    }

    .pro-plan-benefits li {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 11px;
        font-size: 1rem;
    }

    .pro-plan-benefit-icon {
        width: 30px;
        height: 30px;
    }

    .pro-plan-benefit-icon svg {
        width: 17px;
        height: 17px;
    }

    .pro-upgrade-plan .pro-plan-note {
        margin-top: 30px;
    }
}

@media (max-width: 48em) {
    .clerk-profile-frame .cl-cardBox {
        border: 1px solid var(--border-default, #d9e4f0) !important;
        border-radius: 12px !important;
    }

    .clerk-profile-frame .cl-navbarMobileMenuRow {
        border-block-end: 1px solid var(--border-default, #d9e4f0);
        margin-block-end: 0 !important;
    }

    .clerk-profile-frame .cl-scrollBox {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
}

@media (prefers-color-scheme: dark) {
    .account-control-fallback {
        background: rgba(5, 17, 29, 0.76);
    }

    .release-upcoming-card--locked {
        border-color: color-mix(in srgb, var(--forecast-data, #238b62) 45%, var(--border-default, #3d3d3d));
    }

    .pro-status-chip--pro {
        background: color-mix(in srgb, #2f9fd6 34%, var(--surface-1, #252525));
        color: #9bdcff;
    }

    .pro-action--primary {
        border-color: #53a8d5;
        background: #1c719f;
    }

    .pro-action--primary:hover {
        border-color: #85c9ed;
        background: #245f80;
    }

    .pro-settings-shell {
        box-shadow: var(--panel-shadow, 0 8px 24px rgba(0, 0, 0, 0.14));
    }
}

@media (max-width: 600px) {
    .site-title-band {
        gap: 10px;
    }

    .site-brand {
        min-width: 0;
    }

    .release-locked-preview {
        margin-top: 17px;
    }

    .release-lock-message {
        margin-top: 17px;
        padding-top: 15px;
    }

    .pro-page-heading {
        padding: 14px 2px 0;
    }

    .pro-settings-tabs {
        padding: 0 4px;
    }

    .pro-settings-tab {
        min-height: 50px;
        padding: 0 11px;
        font-size: 12px;
    }

    .pro-settings-tab::after {
        right: 11px;
        left: 11px;
    }

    .pro-settings-content,
    .pro-settings-panel {
        min-height: 0;
    }

    .pro-settings-panel:not(.pro-settings-panel--account) {
        padding: 24px 18px;
    }

    .pro-upgrade-plan {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .pro-account-session {
        align-items: stretch;
        flex-direction: column;
    }

    .pro-sign-out-control {
        justify-items: stretch;
    }

    .pro-sign-out-status {
        max-width: none;
        text-align: left;
    }

    body[data-page="sign-in"] .main-content-shell,
    body[data-page="sign-up"] .main-content-shell,
    body[data-page="sign-in"] .main-content,
    body[data-page="sign-up"] .main-content {
        min-height: calc(100vh - 62px);
    }

    body[data-page="sign-in"] .main-content,
    body[data-page="sign-up"] .main-content {
        padding: 18px 14px;
    }

    .pro-auth-gateway {
        padding: 24px 20px;
    }

    .pro-auth-gateway-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pro-auth-gateway-actions .pro-action {
        width: 100%;
    }

    .pro-account-panel,
    .pro-auth-panel {
        padding: 18px 16px;
    }

    .pro-action-row,
    .pro-billing-form {
        align-items: stretch;
        flex-direction: column;
    }

    .pro-action-row .pro-action,
    .pro-billing-form .pro-action {
        width: 100%;
    }

    .clerk-auth-mount[data-clerk-mounted="true"],
    .clerk-profile-frame:has([data-clerk-mounted="true"]) {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-control-fallback,
    .pro-action {
        transition: none;
    }
}

@media (forced-colors: active) {
    .account-control-fallback,
    .account-control-fallback:hover,
    .account-tier-badge,
    .release-lock-icon,
    .pro-action,
    .pro-settings-tab,
    .pro-action--primary,
    .pro-action:hover,
    .pro-action--primary:hover,
    .pro-status-chip,
    .pro-settings-shell,
    .clerk-component-fallback,
    .clerk-auth-fallback {
        border: 2px solid CanvasText;
        background: Canvas;
        color: CanvasText;
        forced-color-adjust: none;
    }

    .pro-auth-mark {
        border: 2px solid CanvasText;
        background: Canvas;
        color: CanvasText;
        forced-color-adjust: none;
    }

    .pro-auth-gateway {
        color: CanvasText;
        forced-color-adjust: none;
    }

    .release-locked-ghost,
    .release-locked-ghost-bars span {
        background: GrayText;
    }

    .account-control-fallback:focus-visible,
    .pro-action:focus-visible,
    .pro-text-link:focus-visible,
    .clerk-component-fallback a:focus-visible,
    .clerk-auth-fallback a:focus-visible {
        outline-color: Highlight;
    }
}
