:root {
    color-scheme: dark;
    --ui-bg: #080d17;
    --ui-surface: #111a29;
    --ui-surface-raised: #162235;
    --ui-border: rgba(148, 163, 184, .15);
    --ui-border-strong: rgba(245, 158, 11, .42);
    --ui-text-muted: #a7b3c4;
    --ui-radius: 1.25rem;
    --ui-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

html {
    scroll-padding-top: 6rem;
}

body {
    background-color: var(--ui-bg);
}

.dashboard-updated-row {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 1rem;
}

.dashboard-updated-pill {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    gap: .45rem;
    margin: 0;
    padding: .35rem .7rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: #94a3b8;
    font-size: .62rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.dashboard-updated-pill i {
    color: #fbbf24;
    font-size: .7rem;
}

body > header:not(.global-site-header) {
    visibility: hidden;
}

.global-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    width: 100%;
    background: transparent;
    direction: rtl;
}

.global-site-header-inner {
    position: relative;
    display: flex;
    width: min(calc(100% - 2rem), 80rem);
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: .75rem auto 0;
    padding: .65rem 1.25rem;
    border: 1px solid var(--ui-border);
    border-radius: 1.5rem;
    background: rgba(12, 19, 31, .96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.global-site-brand-group,
.global-site-brand {
    display: inline-flex;
    align-items: center;
}

.global-site-brand-group {
    flex: 0 0 auto;
    gap: .65rem;
}

.global-site-login-button {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 0 1rem;
    border: 1px solid rgba(251, 191, 36, .42);
    border-radius: .9rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, .18), rgba(245, 158, 11, .08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 5px 16px rgba(245, 158, 11, .08);
    color: #fcd34d;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.global-site-header-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
}

.global-site-call {
    display: none;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 191, 36, .34);
    border-radius: .9rem;
    background: rgba(251, 191, 36, .1);
    color: #fcd34d;
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.global-site-call:hover,
.global-site-call:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, .7);
    background: rgba(251, 191, 36, .2);
}

.global-site-login-button:hover,
.global-site-login-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, .7);
    background: rgba(251, 191, 36, .2);
    color: #fde68a;
}

.global-site-menu-button {
    display: inline-flex;
    min-width: 5.2rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 0 .6rem;
    border: 1px solid rgba(251, 191, 36, .24);
    border-radius: .9rem;
    background: linear-gradient(145deg, rgba(251, 191, 36, .13), rgba(255, 255, 255, .035) 68%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 5px 15px rgba(0, 0, 0, .14);
    color: #f8fafc;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.global-site-menu-button i {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 191, 36, .2);
    border-radius: .55rem;
    background: rgba(251, 191, 36, .13);
    color: #fcd34d;
    font-size: .78rem;
}

.global-site-menu-button:hover,
.global-site-menu-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, .55);
    background: linear-gradient(145deg, rgba(251, 191, 36, .21), rgba(255, 255, 255, .06) 68%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 7px 20px rgba(245, 158, 11, .12);
}

.global-site-menu-button[aria-expanded="true"] {
    border-color: rgba(251, 191, 36, .56);
    background: rgba(251, 191, 36, .16);
    color: #fde68a;
}

.global-site-brand {
    gap: .65rem;
    color: #f8fafc;
    text-decoration: none;
}

.global-site-brand-mark {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, .3);
    border-radius: .85rem;
    background: rgba(251, 191, 36, .12);
    color: #fbbf24;
    font-size: 1.2rem;
}

.global-site-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global-site-brand-copy strong,
.global-site-brand-copy small {
    display: block;
    white-space: nowrap;
}

.global-site-brand-copy strong {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
}

.global-site-brand-copy small {
    margin-top: .15rem;
    color: #a16207;
    font-size: .58rem;
    font-weight: 600;
}

.global-site-menu {
    position: fixed;
    z-index: 62;
    top: 0;
    right: 0;
    display: flex;
    width: min(27rem, 90vw);
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid rgba(148, 163, 184, .16);
    background: #0c131f;
    box-shadow: -8px 0 20px rgba(0, 0, 0, .24);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.2, .75, .25, 1);
}

.global-site-menu.is-open {
    transform: translateX(0);
}

.global-site-menu-backdrop {
    position: fixed;
    z-index: 61;
    inset: 0;
    visibility: hidden;
    border: 0;
    background: rgba(2, 6, 14, .48);
    opacity: 0;
    transition: opacity .28s ease, visibility .28s ease;
}

.global-site-menu-backdrop.is-open {
    visibility: visible;
    opacity: 1;
}

.global-site-menu-header {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
    background: #111a29;
}

.global-site-menu-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #f8fafc;
    text-decoration: none;
}

.global-site-menu-brand > span:last-child strong,
.global-site-menu-brand > span:last-child small {
    display: block;
}

.global-site-menu-brand strong {
    font-size: .95rem;
    font-weight: 900;
}

.global-site-menu-brand small {
    margin-top: .2rem;
    color: #94a3b8;
    font-size: .68rem;
}

.global-site-menu-close {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: .8rem;
    background: rgba(255, 255, 255, .04);
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1rem;
}

.global-site-menu-close:hover {
    border-color: rgba(251, 191, 36, .28);
    color: #fbbf24;
}

.global-site-menu-contact {
    display: flex;
    min-height: 4.25rem;
    flex: 0 0 auto;
    align-items: center;
    gap: .85rem;
    margin: .85rem 1rem .25rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(251, 191, 36, .48);
    border-radius: .9rem;
    background: linear-gradient(110deg, rgba(251, 191, 36, .2), rgba(251, 191, 36, .08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    color: #fcd34d;
    text-decoration: none;
}

.global-site-menu-contact > i {
    display: inline-flex;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    background: rgba(251, 191, 36, .16);
    font-size: 1rem;
}

.global-site-menu-contact strong,
.global-site-menu-contact small {
    display: block;
}

.global-site-menu-contact strong {
    font-size: .9rem;
    font-weight: 900;
}

.global-site-menu-contact small {
    margin-top: .2rem;
    color: #fde68a;
    font-size: .73rem;
    direction: ltr;
    text-align: right;
}

.global-site-menu-contact:hover,
.global-site-menu-contact:focus-visible {
    border-color: rgba(251, 191, 36, .8);
    background: rgba(251, 191, 36, .2);
}

.global-site-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: .75rem 1rem 1rem;
    overscroll-behavior: contain;
}

.global-site-menu-section {
    padding: .7rem 0 1rem;
}

.global-site-menu-section + .global-site-menu-section {
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.global-site-menu-section h2 {
    margin: 0 0 .65rem;
    color: #94a3b8;
    font-size: .73rem;
    font-weight: 800;
}

.global-site-menu-links {
    display: grid;
    gap: .4rem;
}

.global-site-menu-links a {
    display: flex;
    min-height: 3.1rem;
    align-items: center;
    gap: .85rem;
    padding: .7rem .85rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    background: rgba(255, 255, 255, .035);
    color: #cbd5e1;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.global-site-menu-links a i {
    width: 1.35rem;
    flex: 0 0 1.35rem;
    color: #fbbf24;
    text-align: center;
}

.global-site-menu-links a:hover,
.global-site-menu-links a:focus-visible {
    border-color: rgba(251, 191, 36, .18);
    background: rgba(251, 191, 36, .06);
    color: #fcd34d;
}

body.global-site-menu-open {
    overflow: hidden;
}

.liquid-blob,
main > .pointer-events-none[class*="blur-3xl"] {
    display: none;
}

header > nav,
header nav.glass,
header nav.liquid-glass {
    border: 1px solid var(--ui-border);
    border-radius: 1.25rem;
    background: rgba(12, 19, 31, .96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(10px);
}

.glass,
.liquid-glass {
    border-color: var(--ui-border);
    background-color: rgba(17, 26, 41, .88);
    box-shadow: var(--ui-shadow);
    backdrop-filter: none;
}

.liquid-glass-card,
.card,
.article-card,
.step-card {
    border-color: var(--ui-border);
    border-radius: var(--ui-radius);
    background-color: rgba(17, 26, 41, .82);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
}

.liquid-glass-card,
.card,
.article-card {
    transition: transform .2s ease, border-color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .liquid-glass-card:hover,
    .card:hover,
    .article-card:hover {
        transform: translateY(-3px);
        border-color: var(--ui-border-strong);
        background-color: rgba(17, 26, 41, .82);
    }
}

.card-image,
.article-card img {
    transform: none !important;
    transition: none !important;
}

.hero-actions-panel {
    border-color: var(--ui-border);
    border-radius: 1.5rem;
    background: rgba(13, 21, 34, .92);
    box-shadow: var(--ui-shadow);
}

.hero-action-card {
    border-radius: 1.25rem;
}

#calculator > .liquid-glass {
    border-radius: 1.75rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

#calculator .calculator-app-layout {
    max-width: none;
    gap: 1.5rem;
}

#calculator select,
#calculator input[type="range"] {
    accent-color: #f59e0b;
}

#calculator select,
.field {
    border-color: var(--ui-border);
    border-radius: .9rem;
}

.faq-item,
.faq-question {
    border-radius: 1rem;
}

.faq-question {
    min-height: 4rem;
}

.about-intro-card,
.about-more-content-inner {
    border-radius: 1.5rem;
}

.wizard-step,
.step-card {
    border-radius: 1.35rem;
}

.choice span {
    min-height: 3.75rem;
    border-color: var(--ui-border);
    border-radius: 1rem;
}

.choice input:checked + span {
    border-color: var(--ui-border-strong);
    background: rgba(245, 158, 11, .09);
}

.wizard-action {
    min-height: 3.5rem;
    border-radius: 1rem;
}

.wizard-action-primary {
    box-shadow: none;
}

.project-card > button {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.project-card > button > div:last-child {
    flex: 1;
}

.filter {
    min-height: 2.75rem;
    border-color: var(--ui-border);
    border-radius: .9rem;
    background-color: rgba(17, 26, 41, .82);
}

.article-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-radius: 1.25rem;
}

.article-card > div:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.article-card > div:last-child > span {
    margin-top: auto;
    padding-top: 1rem;
}

footer {
    border-color: var(--ui-border) !important;
    background-color: #070c15 !important;
}

.mobile-bottom-nav {
    position: fixed;
    z-index: 55;
    right: 12px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    height: 64px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 23, 42, .97), rgba(8, 14, 27, .97));
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.mobile-bottom-nav a {
    display: flex;
    min-width: 0;
    min-height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 500;
    font-synthesis: none;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav a:not(.mobile-bottom-nav-cta):hover,
.mobile-bottom-nav a:not(.mobile-bottom-nav-cta):active,
.mobile-bottom-nav a:not(.mobile-bottom-nav-cta):focus {
    color: #94a3b8;
    font-weight: 500;
    background: transparent;
    transform: none;
}

.mobile-bottom-nav a > span {
    font-weight: inherit;
}

.mobile-bottom-nav a:not(.mobile-bottom-nav-cta) > i {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    font-synthesis: none;
    transform: none;
    transition: none;
}

.mobile-bottom-nav a:focus-visible {
    border-radius: 12px;
    outline: 2px solid #fbbf24;
    outline-offset: 1px;
}

.mobile-bottom-nav .mobile-bottom-nav-cta {
    color: #fbbf24;
    font-weight: 700;
    transform: translateY(-12px);
}

.customer-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 68px;
    padding: 5px 8px;
    border-color: rgba(148, 163, 184, .14);
    border-radius: 22px;
    background: rgba(11, 18, 32, .97);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.customer-bottom-nav button {
    display: flex;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #8b98aa;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-tap-highlight-color: transparent;
}

.customer-bottom-nav button > i {
    font-size: 16px;
    transition: color .18s ease;
}

.customer-bottom-nav button.is-active {
    background: #172235;
    color: #fbbf24;
}

.customer-bottom-nav button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 1px;
}

.customer-portal-page .global-site-header {
    display: none;
}

.customer-portal-page main {
    padding-top: 1rem;
}

.mobile-bottom-nav-cta-subtitle {
    color: #94a3b8;
    font-size: 8px;
    font-weight: 400;
}

.mobile-bottom-nav-cta-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
    border: 3px solid #0b1220;
    border-radius: 50%;
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    box-shadow: 0 5px 18px rgba(245, 158, 11, .26), inset 0 1px 0 rgba(255, 255, 255, .35);
    color: #111827;
    font-size: 21px;
}

.customer-auth-backdrop {
    position: fixed;
    z-index: 89;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 15, .68);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.customer-auth-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.customer-auth-backdrop {
    bottom: var(--customer-auth-viewport-bottom, 0px);
}

.customer-auth-sheet {
    position: fixed;
    z-index: 90;
    inset: auto 50% var(--customer-auth-viewport-bottom, 0px);
    display: flex;
    width: min(calc(100% - 1rem), 34rem);
    max-height: min(calc(var(--customer-auth-viewport-height, 100dvh) - 1rem), 54rem);
    flex-direction: column;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: .75rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    border: 1px solid rgba(148, 163, 184, .16);
    border-bottom: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: #0b1220;
    color: #f8fafc;
    direction: rtl;
    transform: translate(50%, 105%);
    transition: transform .35s cubic-bezier(.22, .75, .18, 1), bottom .2s ease, max-height .2s ease;
    scroll-padding-block: 1rem;
    scroll-behavior: smooth;
    will-change: transform;
}

.customer-auth-sheet.is-open {
    transform: translate(50%, 0);
}

.customer-auth-sheet-handle {
    width: 2.5rem;
    height: .25rem;
    flex: 0 0 auto;
    margin: 0 auto 1rem;
    border-radius: 99px;
    background: #334155;
}

.customer-auth-sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.customer-auth-eyebrow {
    color: #fbbf24;
    font-size: .68rem;
    font-weight: 800;
}

.customer-auth-sheet-header h2 {
    margin: .4rem 0 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.customer-auth-sheet-header p {
    margin: .3rem 0 0;
    color: #94a3b8;
    font-size: .7rem;
    line-height: 1.8;
}

.customer-auth-close {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .8rem;
    background: #111a29;
    color: #cbd5e1;
}

.customer-auth-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
    margin: 1.1rem 0 .85rem;
    padding: .3rem;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: .9rem;
    background: #080d17;
}

.customer-auth-tabs::before {
    position: absolute;
    inset: .3rem auto .3rem .3rem;
    width: calc((100% - .9rem) / 2);
    border: 1px solid rgba(251, 191, 36, .12);
    border-radius: .65rem;
    background: linear-gradient(145deg, #1b2a40, #142034);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .04);
    content: "";
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

.customer-auth-tabs.is-signup::before {
    transform: translateX(0);
}

.customer-auth-tabs button {
    position: relative;
    z-index: 1;
    min-height: 2.65rem;
    border: 0;
    border-radius: .65rem;
    background: transparent;
    color: #94a3b8;
    font-size: .75rem;
    font-weight: 800;
    transition: color .24s ease, transform .2s ease;
}

.customer-auth-tabs button[aria-selected="true"] {
    color: #fbbf24;
}

.customer-auth-tabs button:active {
    transform: scale(.96);
}

.customer-auth-form {
    display: grid;
    align-content: start;
    gap: .75rem;
    transition: height .4s cubic-bezier(.22, .72, .18, 1), opacity .22s ease, transform .22s ease, filter .22s ease;
    will-change: height, opacity, transform;
}

.customer-auth-form.is-transitioning {
    overflow: hidden;
    opacity: 0;
    transform: translateY(7px);
    filter: blur(2px);
    transition: height .4s cubic-bezier(.22, .72, .18, 1), opacity .14s ease, transform .14s ease, filter .14s ease;
}

.customer-auth-form[hidden] {
    display: none;
}

.customer-auth-form [hidden] {
    display: none;
}

.customer-auth-tabs[hidden] {
    display: none;
}

.customer-auth-form label {
    display: grid;
    gap: .4rem;
    color: #cbd5e1;
    font-size: .7rem;
    font-weight: 700;
}

.customer-auth-form input {
    width: 100%;
    min-height: 2.9rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .8rem;
    outline: 0;
    background: #080d17;
    color: #f8fafc;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.customer-auth-form input:focus {
    border-color: rgba(251, 191, 36, .7);
    background: #0a1120;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, .1);
}

.customer-auth-form input::placeholder {
    color: #64748b;
}

.customer-auth-status {
    min-height: 1.1rem;
    margin: 0;
    color: #94a3b8;
    font-size: .68rem;
    line-height: 1.7;
    transition: color .2s ease, opacity .2s ease;
}

.customer-auth-privacy-note {
    margin: 0;
    color: #94a3b8;
    font-size: .62rem;
    line-height: 1.7;
}

.customer-auth-status.is-error {
    color: #fda4af;
}

.customer-auth-status.is-success {
    color: #86efac;
}

.customer-auth-status.is-pending {
    color: #fcd34d;
}

.customer-auth-status.is-error,
.customer-auth-status.is-success {
    animation: customer-auth-status-in .24s ease both;
}

@keyframes customer-auth-status-in {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customer-auth-submit {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 0;
    border-radius: .9rem;
    background: #fbbf24;
    color: #111827;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(245, 158, 11, .13), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, opacity .2s ease, background-color .2s ease;
}

.customer-auth-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(245, 158, 11, .2), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.customer-auth-submit:not(:disabled):active {
    transform: scale(.98);
}

.customer-auth-submit i {
    transition: transform .22s ease;
}

.customer-auth-submit:not(:disabled):hover i {
    transform: translateX(-3px);
}

.customer-auth-submit.is-loading i {
    transform: none;
}

.customer-auth-submit:disabled {
    cursor: wait;
    opacity: .78;
    box-shadow: none;
}

.customer-auth-method-link {
    justify-self: center;
    border: 0;
    padding: .25rem .5rem;
    background: transparent;
    color: #fbbf24;
    font-size: .72rem;
    font-weight: 800;
}

.customer-auth-method-link:disabled {
    cursor: wait;
    opacity: .6;
}

.customer-auth-phone-hint {
    margin: 0;
    color: #cbd5e1;
    font-size: .75rem;
    text-align: center;
}

.customer-auth-phone-hint b {
    direction: ltr;
    unicode-bidi: isolate;
    color: #fbbf24;
}

.customer-auth-secondary-actions {
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}

body.customer-auth-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .customer-auth-sheet,
    .customer-auth-backdrop,
    .customer-auth-tabs::before,
    .customer-auth-tabs button,
    .customer-auth-form,
    .customer-auth-form.is-transitioning,
    .customer-auth-form input,
    .customer-auth-status,
    .customer-auth-status.is-error,
    .customer-auth-status.is-success,
    .customer-auth-submit,
    .customer-auth-submit i {
        transition-duration: .01ms;
        animation-duration: .01ms;
    }

    .customer-auth-submit.is-loading i {
        animation: none;
    }
}

#specialistGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

#specialistGrid > .specialist-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 19rem;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1.15rem;
    background: linear-gradient(155deg, rgba(19, 29, 45, .88), rgba(10, 17, 29, .92));
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

#specialistGrid > .specialist-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, .3);
}

.specialist-card-avatar {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    width: 100%;
    height: 60%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(251, 191, 36, .16), transparent 36%),
        linear-gradient(145deg, #182337, #0d1523);
}

.specialist-card-avatar::before {
    position: absolute;
    width: 9.5rem;
    height: 9.5rem;
    border: 1px solid rgba(251, 191, 36, .12);
    border-radius: 50%;
    content: "";
}

.specialist-card-avatar::after {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: .7rem;
    height: .7rem;
    border: 2px solid #111827;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, .12);
    content: "";
}

.calculator-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 79;
    border: 0;
    background: rgba(2, 6, 15, .7);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}

.calculator-sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.calculator-sheet {
    position: fixed;
    z-index: 80;
    inset: auto 50% 0;
    display: flex;
    width: min(calc(100% - 2rem), 68rem);
    max-height: min(90dvh, 58rem);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .12);
    border-bottom: 0;
    border-radius: 1.25rem 1.25rem 0 0;
    background: #0b1220;
    box-shadow: none;
    direction: rtl;
    transform: translate(50%, 105%);
    transition: transform .42s cubic-bezier(.22, .75, .18, 1);
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint;
}

.calculator-sheet.is-open {
    transform: translate(50%, 0);
}

.calculator-sheet-header {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
    background: #0b1220;
}

.calculator-sheet-header h2 {
    margin: .2rem 0 0;
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.5;
}

.calculator-sheet-eyebrow {
    display: none;
}

.calculator-sheet-close {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.15rem;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.calculator-sheet-close:hover,
.calculator-sheet-close:focus-visible {
    background: rgba(255, 255, 255, .06);
    color: #f8fafc;
}

.calculator-sheet-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .75rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    scrollbar-color: rgba(148, 163, 184, .35) transparent;
    scrollbar-width: thin;
}

.calculator-sheet-loading {
    margin: 0;
    padding: 2rem 1rem;
    color: #cbd5e1;
    font-size: .85rem;
    text-align: center;
}

.calculator-sheet-loading.is-error {
    color: #fda4af;
}

.calculator-sheet-retry {
    display: block;
    margin: 0 auto 1.5rem;
    padding: .65rem 1rem;
    border: 1px solid rgba(251, 191, 36, .35);
    border-radius: .75rem;
    background: rgba(251, 191, 36, .1);
    color: #fcd34d;
    font-weight: 700;
}

@media (max-width: 639px) {
    .calculator-sheet {
        border-radius: 1rem 1rem 0 0;
    }

    .calculator-sheet-header {
        padding: .6rem .85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calculator-sheet,
    .calculator-sheet-backdrop {
        transition-duration: .01ms;
    }
}

body.calculator-sheet-open {
    overflow: hidden;
}

.calculator-sheet #calculator {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.calculator-sheet #calculator > .liquid-glass {
    padding: .2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.calculator-sheet #calculator .calculator-app-layout {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
}

.calculator-sheet #calculator .calculator-app-layout > * + * {
    margin-top: 0;
}

.calculator-sheet #calculator .calculator-sheet-intro {
    display: none;
}

.calculator-sheet #calculator .calculator-app-layout > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.calculator-sheet #calculator .calculator-app-layout > .rounded-3xl.border {
    display: none;
}

.calculator-sheet #calculator .calculator-app-layout > .rounded-3xl.border > div:first-child {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.calculator-sheet #calculator #priceChartTitle {
    margin-top: 0;
    font-size: .85rem;
    line-height: 1.5;
}

.calculator-sheet #calculator #priceChartTitle + p {
    display: none;
}

.calculator-sheet #calculator #priceChartArea {
    margin-top: 0;
    font-size: .75rem;
}

.calculator-comparison {
    margin-top: .7rem;
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.calculator-comparison summary {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .5rem;
    color: #cbd5e1;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    list-style: none;
}

.calculator-comparison summary::-webkit-details-marker {
    display: none;
}

.calculator-comparison summary > :first-child {
    color: #fbbf24;
}

.calculator-comparison summary > :last-child {
    margin-right: auto;
    transition: transform .2s ease;
}

.calculator-comparison[open] summary > :last-child {
    transform: rotate(180deg);
}

.calculator-comparison-content {
    padding-top: .3rem;
}

.calculator-sheet #calculator #priceChart {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .35rem;
}

.calculator-sheet #calculator #priceChart > * + * {
    margin-top: 0;
}

.calculator-sheet #calculator .price-chart-row {
    min-width: 0;
    padding: .5rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .75rem;
    background: rgba(255, 255, 255, .025);
}

.calculator-sheet #calculator .price-chart-row > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    margin-bottom: .35rem;
}

.calculator-sheet #calculator .price-chart-row > div:first-child > div {
    flex-wrap: wrap;
    gap: .2rem;
}

.calculator-sheet #calculator .price-chart-row .price-chart-label,
.calculator-sheet #calculator .price-chart-row .price-chart-value {
    font-size: .65rem;
}

.calculator-sheet #calculator .price-chart-row .price-chart-value {
    overflow-wrap: anywhere;
}

.calculator-sheet #calculator .price-chart-track {
    height: .35rem;
}

.calculator-sheet #calculator .price-chart-row .price-chart-unit {
    margin-top: .2rem;
    font-size: 8px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.calculator-sheet #calculator .calculator-comparison-content > p {
    margin-top: .55rem;
    padding: .5rem .65rem;
    font-size: 9px;
    line-height: 1.6;
}

.calculator-sheet #calculator .calculator-app-layout > .bg-gradient-to-r {
    gap: .35rem;
    padding: .75rem;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    border-radius: .85rem !important;
    background: #111827 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.calculator-sheet #calculator .calculator-app-layout > .bg-gradient-to-r > * + * {
    margin-top: .4rem;
}

.calculator-sheet #calculator #totalResult {
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    line-height: 1.4;
}

.calculator-sheet #calculator #totalResult > span {
    font-size: .7rem;
}

.calculator-sheet #calculator #totalResult + .grid {
    display: block;
}

.calculator-sheet #calculator #totalResult + .grid > div {
    display: none;
}

.calculator-sheet #calculator #totalResult + .grid > div:last-child {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: .7rem;
}

.calculator-sheet #calculator #totalResult ~ div.flex {
    display: none;
}

.calculator-sheet #calculator .calculator-app-layout > .text-center > .flex {
    flex-direction: row;
    gap: .5rem;
}

.calculator-sheet #calculator .calculator-app-layout > .text-center > .flex > a {
    flex: 1 1 0;
    padding: .7rem .5rem;
    font-size: .68rem;
}

.calculator-sheet #calculator .calculator-app-layout > .text-center > .flex > a:first-child {
    border: 0;
    border-radius: .75rem;
    background: #f59e0b;
    background-image: none;
    box-shadow: none;
    color: #111827;
}

.calculator-sheet #calculator .calculator-app-layout > .text-center > .flex > a:last-child {
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: .75rem;
    background: transparent;
    color: #cbd5e1;
}

.calculator-sheet #calculator .calculator-app-layout > .grid label {
    color: #cbd5e1;
    font-size: .72rem;
}

.calculator-sheet #calculator .calculator-app-layout > .grid select {
    border-color: #293241;
    border-radius: .65rem;
    background-color: #111827;
    box-shadow: none;
}

.calculator-sheet #calculator .calculator-app-layout > .grid select:focus {
    border-color: #64748b;
    outline-color: #64748b;
}

.calculator-sheet #calculator #areaValue {
    border: 0;
    background: transparent;
    color: #fbbf24;
    padding: 0;
}

.calculator-sheet #calculator .calculator-app-layout > div:nth-child(3) > div > label {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: .25rem 0;
    color: #cbd5e1;
}

.calculator-sheet #calculator .calculator-app-layout > div:nth-child(3) > div > label:hover {
    color: #f8fafc;
}

.calculator-sheet #calculator .calculator-app-layout > div:nth-child(3) > div > label input {
    accent-color: #f59e0b;
}

@media (min-width: 760px) {
    .calculator-sheet #calculator .calculator-app-layout {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, .75fr);
        align-items: start;
        column-gap: 1rem;
        row-gap: .7rem;
    }

    .calculator-sheet #calculator .calculator-app-layout > .calculator-sheet-intro {
        display: none;
    }

    .calculator-sheet #calculator .calculator-app-layout > .grid,
    .calculator-sheet #calculator .calculator-app-layout > .rounded-3xl.border,
    .calculator-sheet #calculator .calculator-app-layout > .text-center:not(.bg-gradient-to-r) {
        grid-column: 1;
    }

    .calculator-sheet #calculator .calculator-app-layout > .bg-gradient-to-r {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
    }

    .calculator-sheet #calculator .calculator-app-layout > .grid {
        grid-row: 1;
    }

    .calculator-sheet #calculator .calculator-app-layout > .rounded-3xl.border {
        grid-row: 2;
    }

    .calculator-sheet #calculator .calculator-app-layout > .text-center:not(.bg-gradient-to-r) {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (max-width: 639px) {
    .calculator-sheet {
        width: 100%;
        max-height: 94dvh;
    }

    .calculator-sheet-header {
        padding: .75rem 1rem .65rem;
    }

    .calculator-sheet-header h2 {
        font-size: 1rem;
    }

    .calculator-sheet-content {
        padding: .55rem .65rem calc(.7rem + env(safe-area-inset-bottom));
    }

    .calculator-sheet #calculator > .liquid-glass {
        padding: .25rem;
    }

}

.specialist-card-photo {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    border: 3px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: #111827;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, .38), 0 12px 28px rgba(0, 0, 0, .4);
    object-fit: cover;
    object-position: center;
}

.specialist-card-fallback {
    position: relative;
    display: flex;
    width: 8rem;
    height: 8rem;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: linear-gradient(145deg, #f8fafc, #cbd5e1);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, .38), 0 12px 28px rgba(0, 0, 0, .4);
    color: #fcd34d;
    font-size: 2rem;
}

.specialist-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    margin-top: auto;
    box-sizing: border-box;
    flex: 0 0 9rem;
    padding: .9rem .85rem 1rem;
    border-top: 1px solid rgba(251, 191, 36, .22);
    background: linear-gradient(145deg, rgba(25, 36, 54, .99), rgba(12, 20, 34, .99));
    box-shadow: 0 -12px 30px rgba(5, 10, 20, .25);
}

.specialist-card-name {
    overflow: hidden;
    color: #f8fafc;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.specialist-card-title {
    overflow: hidden;
    margin-top: .1rem;
    color: #94a3b8;
    font-size: .72rem;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.specialist-card-specialty {
    display: -webkit-box;
    overflow: hidden;
    margin: .35rem auto 0;
    color: #fcd34d;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.specialist-card-experience {
    margin-top: .25rem;
    color: #64748b;
    font-size: .68rem;
    line-height: 1.4;
}

.specialist-card-contact {
    position: absolute;
    z-index: 2;
    top: .75rem;
    left: .75rem;
    display: flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 191, 36, .15);
    border-radius: .65rem;
    background: rgba(251, 191, 36, .06);
    color: #fcd34d;
    font-size: .65rem;
}

@media (max-width: 767px) {
    .global-site-call {
        display: inline-flex;
    }

    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .customer-portal-page .customer-dashboard-nav {
        display: none;
    }
}

@media (max-width: 639px) {
    .global-site-header-inner {
        width: calc(100% - 1.5rem);
        min-height: 3.9rem;
        gap: .5rem;
        margin-top: .5rem;
        padding: .45rem .75rem;
        border-radius: 1.15rem;
    }

    .global-site-brand-group {
        gap: .45rem;
    }

    .global-site-brand-mark {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: .75rem;
    }

    .global-site-menu-button {
        min-width: 4.65rem;
        height: 2.35rem;
        gap: .4rem;
        padding: 0 .45rem;
        border-radius: .75rem;
        font-size: .72rem;
    }

    .global-site-menu-button i {
        width: 1.4rem;
        height: 1.4rem;
        border-radius: .45rem;
        font-size: .72rem;
    }

    .global-site-login-button {
        display: none;
    }

    .global-site-call {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: .75rem;
    }

    .global-site-brand {
        gap: .45rem;
    }

    .global-site-brand-copy strong {
        font-size: .9rem;
    }

    .global-site-brand-copy small {
        font-size: .52rem;
    }

    .global-site-menu {
        width: min(23rem, 88vw);
    }

    .global-site-menu-header {
        min-height: 4.75rem;
        padding: .8rem .9rem;
    }

    .global-site-menu-content {
        padding-inline: .8rem;
    }
}

@media (max-width: 639px) {
    #specialistGrid {
        gap: .45rem;
    }

    #specialistGrid > .specialist-card {
        min-height: 14rem;
    }

    .specialist-card-avatar {
        height: 48%;
    }

    .specialist-card-photo,
    .specialist-card-fallback {
        width: 4.25rem;
        height: 4.25rem;
    }

    .specialist-card-avatar::before {
        width: 5.25rem;
        height: 5.25rem;
    }

    .specialist-card-content {
        flex-basis: 7rem;
        padding: .45rem .3rem .5rem;
    }

    .specialist-card-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }

    .specialist-card-name {
        font-size: .66rem;
    }

    .specialist-card-title {
        font-size: .56rem;
    }

    .specialist-card-specialty {
        font-size: .6rem;
    }

    .specialist-card-experience {
        font-size: .54rem;
    }
}

@media (min-width: 640px) {
    #specialistGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }

    #specialistGrid > .specialist-card {
        min-height: 20rem;
    }

    .specialist-card-photo,
    .specialist-card-fallback {
        width: 9rem;
        height: 9rem;
    }

    .specialist-card-avatar::before {
        width: 10.5rem;
        height: 10.5rem;
    }
}

@media (min-width: 1024px) {
    #specialistGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #calculator .calculator-app-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
        align-items: start;
        column-gap: 1.5rem;
        row-gap: 1.5rem;
    }

    #calculator .calculator-app-layout > :first-child,
    #calculator .calculator-app-layout > :nth-child(2),
    #calculator .calculator-app-layout > :nth-child(3),
    #calculator .calculator-app-layout > :nth-child(6) {
        grid-column: 1 / -1;
    }

    #calculator .calculator-app-layout > :nth-child(4) {
        grid-column: 1;
        grid-row: 4 / span 2;
    }

    #calculator .calculator-app-layout > :nth-child(5) {
        grid-column: 2;
        grid-row: 4;
        align-self: stretch;
    }
}

@media (max-width: 639px) {
    header > nav,
    header nav.glass,
    header nav.liquid-glass {
        border-radius: 1rem;
    }

    #calculator > .liquid-glass {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
