:root {
    --client-bg-0: #071015;
    --client-bg-1: #0c171d;
    --client-bg-2: #102028;
    --client-surface: rgba(12, 21, 27, 0.84);
    --client-surface-strong: rgba(16, 28, 35, 0.92);
    --client-surface-soft: rgba(19, 34, 42, 0.7);
    --client-line: rgba(125, 158, 170, 0.15);
    --client-line-strong: rgba(125, 158, 170, 0.24);
    --client-text: #eef6f4;
    --client-text-soft: #b4c5c1;
    --client-text-muted: #809491;
    --client-accent: #59d6c9;
    --client-accent-soft: rgba(89, 214, 201, 0.14);
    --client-warning: #f0c36b;
    --client-warning-soft: rgba(240, 195, 107, 0.14);
    --client-danger: #ff9e9e;
    --client-danger-soft: rgba(255, 158, 158, 0.14);
    --client-success: #76d39a;
    --client-success-soft: rgba(118, 211, 154, 0.14);
    --client-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

html,
body {
    min-height: 100%;
    overflow-x: clip;
}

html {
    background:
        radial-gradient(circle at top left, rgba(89, 214, 201, 0.09), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(89, 214, 201, 0.07), transparent 16%),
        radial-gradient(circle at bottom right, rgba(240, 195, 107, 0.06), transparent 15%),
        linear-gradient(180deg, var(--client-bg-0) 0%, var(--client-bg-1) 46%, var(--client-bg-2) 100%);
    background-color: var(--client-bg-0);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    color: var(--client-text);
    font: 15px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(89, 214, 201, 0.09), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(89, 214, 201, 0.07), transparent 16%),
        radial-gradient(circle at bottom right, rgba(240, 195, 107, 0.06), transparent 15%),
        linear-gradient(180deg, var(--client-bg-0) 0%, var(--client-bg-1) 46%, var(--client-bg-2) 100%);
}

body.page-is-loading {
    overflow: hidden;
}

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

a:hover {
    text-decoration: none;
}

.client-shell {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 22px 18px 40px;
    overflow-x: clip;
    width: min(100%, 1320px);
    box-sizing: border-box;
}

.client-page-loader {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(89, 214, 201, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(5, 10, 14, 0.96) 0%, rgba(7, 16, 21, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 1;
    visibility: visible;
    transition: opacity 420ms ease, visibility 0s linear 420ms;
}

body:not(.page-is-loading) .client-page-loader {
    opacity: 0;
    visibility: hidden;
}

.client-page-loader-mark {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0;
    transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.page-is-loading) .client-page-loader-mark {
    transform: translateY(-10px);
}

.client-page-loader-wordmark {
    z-index: 2;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--client-text);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.06em;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.985);
    transition: opacity 220ms ease, transform 260ms ease;
}

.client-page-loader-wordmark span {
    color: var(--client-accent);
}

body.page-fonts-ready .client-page-loader-wordmark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body:not(.page-is-loading) .client-page-loader-wordmark {
    transform: translate(-50%, -50%) scale(0.98);
}

.client-page-loader-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(188px, 22vw, 260px);
    aspect-ratio: 1;
    margin-bottom: 0;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.client-page-loader-orb-core,
.client-page-loader-orb-sheen {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.client-page-loader-orb-core {
    background:
        radial-gradient(circle at 70% 34%, rgba(96, 228, 220, 0.72) 0%, rgba(58, 155, 165, 0.34) 26%, rgba(13, 35, 42, 0.22) 58%, rgba(4, 8, 11, 0.08) 100%),
        linear-gradient(115deg, rgba(3, 7, 10, 0.98) 0%, rgba(7, 18, 24, 0.94) 34%, rgba(16, 63, 74, 0.78) 72%, rgba(74, 191, 199, 0.82) 100%);
    box-shadow:
        inset -34px -24px 44px rgba(0, 0, 0, 0.3),
        inset 16px 16px 28px rgba(255, 255, 255, 0.018),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    animation: loaderOrbPulse 2.8s ease-in-out infinite;
}

.client-page-loader-orb-sheen {
    inset: 10%;
    background:
        radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 18%, rgba(255, 255, 255, 0) 42%);
    mix-blend-mode: screen;
    opacity: 0.24;
    animation: loaderOrbGlow 2.8s ease-in-out infinite;
}

@keyframes loaderOrbPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            inset -34px -24px 44px rgba(0, 0, 0, 0.3),
            inset 16px 16px 28px rgba(255, 255, 255, 0.018),
            0 0 0 1px rgba(255, 255, 255, 0.02);
    }

    50% {
        transform: scale(1.03);
        box-shadow:
            inset -34px -24px 44px rgba(0, 0, 0, 0.34),
            inset 16px 16px 28px rgba(255, 255, 255, 0.024),
            0 0 0 1px rgba(255, 255, 255, 0.024);
    }
}

@keyframes loaderOrbGlow {

    0%,
    100% {
        opacity: 0.18;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.28;
        transform: scale(1.02);
    }
}

.client-header {
    position: relative;
    z-index: 2200;
    margin-bottom: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(10, 18, 23, 0.84) 0%, rgba(8, 14, 18, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        var(--client-shadow);
    backdrop-filter: blur(18px) saturate(122%);
    -webkit-backdrop-filter: blur(18px) saturate(122%);
}

.client-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.client-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.client-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-brand-logo {
    width: 176px;
    height: auto;
    display: block;
}

.client-brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    max-width: 550px;
}

.client-brand-subtitle {
    color: var(--client-text);
    font-size: 0.94rem;
    font-weight: 400;
}

.client-brand-caption {
    display: block;
    width: min(100%, 550px);
    overflow: hidden;
    white-space: nowrap;
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-brand-caption-track {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    gap: 42px;
    animation: clientCaptionMarquee 20s linear infinite;
    will-change: transform;
}

.client-brand-caption-track span {
    display: inline-block;
}

@keyframes clientCaptionMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 21px));
    }
}

.client-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 12px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(14, 24, 31, 0.82) 0%, rgba(10, 18, 23, 0.88) 100%);
    color: var(--client-text-soft);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.client-account-chip:hover {
    color: var(--client-text);
    border-color: rgba(89, 214, 201, 0.18);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.02) 100%),
        linear-gradient(180deg, rgba(14, 24, 31, 0.82) 0%, rgba(10, 18, 23, 0.88) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 16px 30px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

.client-account-name {
    color: var(--client-text);
    font-size: 0.84rem;
}

.client-account-avatar {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--client-line);
    font-size: 0.78rem;
}

.client-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.client-nav-group {
    position: relative;
}

.client-nav-group-toggle {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%);
    color: var(--client-text-soft);
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.client-nav-group-toggle::-webkit-details-marker {
    display: none;
}

.client-nav-group-toggle::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    align-self: center;
    background-color: currentColor;
    mask-image: url("../feather/chevron-down.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("../feather/chevron-down.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    transform: rotate(0deg);
    opacity: 0.68;
    transform-origin: 50% 50%;
    transition: transform 180ms ease, opacity 180ms ease;
}

.client-nav-group:hover .client-nav-group-toggle,
.client-nav-group-toggle:hover {
    color: var(--client-text);
    border-color: rgba(125, 158, 170, 0.18);
    transform: translateY(-1px);
}

.client-nav-group[open] .client-nav-group-toggle,
.client-nav-group.is-active .client-nav-group-toggle {
    color: var(--client-text);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.18) 0%, rgba(89, 214, 201, 0.08) 100%);
    border-color: rgba(89, 214, 201, 0.24);
}

.client-nav-group[open] .client-nav-group-toggle::after {
    transform: rotate(180deg);
    opacity: 0.9;
}

.client-nav-group-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    display: none;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(11, 19, 25, 0.94) 0%, rgba(7, 13, 18, 0.98) 100%);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px) saturate(122%);
    -webkit-backdrop-filter: blur(18px) saturate(122%);
    z-index: 2100;
}

.client-nav-group[open] .client-nav-group-menu {
    display: grid;
}

.client-nav-shell {
    position: static;
}

.client-nav-mobile-brand {
    display: none;
}

.client-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(5, 10, 14, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.client-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.client-nav-mobile-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(125, 158, 170, 0.16);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%);
    color: var(--client-text);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.client-nav-mobile-button:hover {
    border-color: rgba(89, 214, 201, 0.18);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.02) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.client-nav-mobile-icon {
    display: inline-grid;
    gap: 4px;
}

.client-nav-mobile-icon span {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--client-text);
    transition: transform 220ms ease, opacity 180ms ease, background 180ms ease;
}

.client-nav-mobile-button.is-open .client-nav-mobile-icon span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.client-nav-mobile-button.is-open .client-nav-mobile-icon span:nth-child(2) {
    opacity: 0;
}

.client-nav-mobile-button.is-open .client-nav-mobile-icon span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.client-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%);
    color: var(--client-text-soft);
    font-size: 0.88rem;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.client-nav-sublink {
    width: 100%;
    justify-content: flex-start;
}

.client-nav-link:hover {
    color: var(--client-text);
    border-color: rgba(125, 158, 170, 0.18);
    transform: translateY(-1px);
}

.client-nav-link.active {
    color: var(--client-text);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.18) 0%, rgba(89, 214, 201, 0.08) 100%);
    border-color: rgba(89, 214, 201, 0.24);
}

.client-nav-logout {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--client-text-soft);
    font-size: 0.86rem;
    padding: 8px 2px 8px 10px;
    transition: color 180ms ease, transform 180ms ease;
}

.client-nav-logout:hover {
    color: var(--client-text);
    transform: translateY(-1px);
}

.client-nav-logout-icon {
    width: 15px;
    height: 15px;
    display: block;
    opacity: 0.8;
    filter: brightness(0) saturate(100%) invert(74%) sepia(22%) saturate(562%) hue-rotate(125deg) brightness(100%) contrast(94%);
}

.client-main {
    display: grid;
    gap: 24px;
    align-content: start;
    padding-bottom: 26px;
}

.client-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(89, 214, 201, 0.09) 0%, rgba(89, 214, 201, 0.02) 26%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, rgba(13, 23, 29, 0.88) 0%, rgba(10, 18, 23, 0.92) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        var(--client-shadow);
    overflow: hidden;
}

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

.client-hero-orb-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.client-hero-orb {
    position: absolute;
    left: var(--orb-left);
    bottom: -18px;
    width: var(--orb-size);
    height: var(--orb-size);
    border-radius: 999px;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--orb-core) 70%, rgba(5, 13, 18, 0.3)) 0, color-mix(in srgb, var(--orb-core) 86%, rgba(8, 18, 24, 0.12)) 48%, var(--orb-edge) 78%, rgba(0, 0, 0, 0) 100%);
    box-shadow:
        0 0 calc(var(--orb-size) * 0.48) var(--orb-glow),
        0 0 calc(var(--orb-size) * 0.86) rgba(89, 214, 201, 0.035);
    filter: blur(var(--orb-blur));
    animation: clientHeroOrbFloat var(--orb-duration) linear infinite;
    animation-delay: var(--orb-delay);
    will-change: transform, opacity;
}

.client-hero-orb.is-deep {
    background:
        radial-gradient(circle at 52% 54%, color-mix(in srgb, var(--orb-core) 66%, rgba(4, 10, 16, 0.34)) 0, color-mix(in srgb, var(--orb-core) 84%, rgba(5, 13, 18, 0.18)) 52%, var(--orb-edge) 80%, rgba(0, 0, 0, 0) 100%);
    box-shadow:
        0 0 calc(var(--orb-size) * 0.38) rgba(45, 118, 132, 0.1),
        0 0 calc(var(--orb-size) * 0.72) rgba(28, 75, 88, 0.06);
}

.client-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    min-width: 0;
}

.client-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--client-accent);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.client-title {
    margin: 0;
    color: var(--client-text);
    font-size: clamp(2rem, 3vw, 35px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.client-title-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.client-subtitle {
    margin: 10px 0 0;
    max-width: 640px;
    color: var(--client-text-soft);
    font-size: 0.97rem;
}

.client-hero-note {
    position: relative;
    z-index: 1;
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%);
}

.client-hero-note-stack {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.client-hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.client-hero-note-label {
    display: block;
    margin-bottom: 4px;
    color: var(--client-text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-hero-note-value {
    color: var(--client-text);
    font-size: 1rem;
}

.client-summary-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-summary-grid-2 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.client-alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 44px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    transform-origin: top center;
    transition:
        opacity 360ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 260ms ease;
}

.client-alert-warning {
    background:
        linear-gradient(180deg, rgba(240, 195, 107, 0.12) 0%, rgba(240, 195, 107, 0.04) 100%),
        linear-gradient(180deg, rgba(13, 23, 29, 0.88) 0%, rgba(10, 18, 23, 0.92) 100%);
    border-color: rgba(240, 195, 107, 0.22);
}

.client-alert-success {
    background:
        linear-gradient(180deg, rgba(118, 211, 154, 0.12) 0%, rgba(118, 211, 154, 0.04) 100%),
        linear-gradient(180deg, rgba(13, 23, 29, 0.88) 0%, rgba(10, 18, 23, 0.92) 100%);
    border-color: rgba(118, 211, 154, 0.22);
}

.client-alert-info {
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.12) 0%, rgba(89, 214, 201, 0.04) 100%),
        linear-gradient(180deg, rgba(13, 23, 29, 0.88) 0%, rgba(10, 18, 23, 0.92) 100%);
    border-color: rgba(89, 214, 201, 0.22);
}

.client-alert-danger {
    background:
        linear-gradient(180deg, rgba(242, 125, 125, 0.13) 0%, rgba(242, 125, 125, 0.04) 100%),
        linear-gradient(180deg, rgba(13, 23, 29, 0.88) 0%, rgba(10, 18, 23, 0.92) 100%);
    border-color: rgba(242, 125, 125, 0.22);
}

.client-alert-compact {
    padding: 14px 16px;
}

.client-alert-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(240, 195, 107, 0.12);
    border: 1px solid rgba(240, 195, 107, 0.18);
}

.client-alert-icon {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) saturate(100%) invert(78%) sepia(50%) saturate(664%) hue-rotate(348deg) brightness(96%) contrast(92%);
}

.client-alert-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.client-alert-kicker {
    display: block;
    margin-bottom: 0px;
    color: var(--client-warning);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-alert-title {
    margin: 0;
    color: var(--client-text);
    font-size: 1rem;
    font-weight: 400;
}

.client-alert-text {
    margin: 0px 0 0;
    color: var(--client-text-soft);
    font-size: 0.88rem;
}

.client-alert-side {
    flex: 0 0 auto;
}

.client-alert-linkable {
    color: inherit;
    text-decoration: none;
    transition:
        opacity 360ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 260ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.client-alert-linkable:hover,
.client-alert-linkable:focus-visible {
    filter: brightness(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 20px 48px rgba(0, 0, 0, 0.2);
}

.client-alert.is-dismissing {
    opacity: 0;
    transform: translateY(-10px);
}

.client-alert.is-dismissed {
    opacity: 0;
    transform: translateY(-14px);
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    pointer-events: none;
}

.client-summary-card {
    display: block;
    padding: 18px 18px 16px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(11, 20, 25, 0.84) 0%, rgba(9, 16, 21, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 44px rgba(0, 0, 0, 0.16);
}

.client-summary-card-link {
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.client-summary-card-link:hover {
    border-color: rgba(89, 214, 201, 0.2);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.02) 100%),
        linear-gradient(180deg, rgba(11, 20, 25, 0.84) 0%, rgba(9, 16, 21, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 22px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.client-summary-label {
    display: block;
    margin-bottom: 10px;
    color: var(--client-text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-summary-value {
    color: var(--client-text);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.client-summary-note {
    margin-top: 10px;
    color: var(--client-text-soft);
    font-size: 0.83rem;
    display: none;
}

.client-content-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.client-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 18px;
}

@keyframes clientHeroOrbFloat {
    0% {
        transform: translate3d(0, 10px, 0) scale(0.78);
        opacity: 0;
    }

    10% {
        opacity: var(--orb-opacity);
        transform: translate3d(0, -8px, 0) scale(0.94);
    }

    72% {
        opacity: calc(var(--orb-opacity) * 0.92);
        transform: translate3d(var(--orb-drift), calc(var(--orb-rise) * -0.76), 0) scale(1.03);
    }

    100% {
        transform: translate3d(calc(var(--orb-drift) * 1.18), calc(var(--orb-rise) * -1), 0) scale(1.08);
        opacity: 0;
    }
}

.client-panel {
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(11, 20, 25, 0.84) 0%, rgba(9, 16, 21, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 20px 52px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.client-panel-sub-view {
    height: 100%;
}

.client-panel-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(125, 158, 170, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.client-panel-heading {
    min-width: 0;
    flex: 1 1 240px;
}

.client-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--client-text);
    font-size: 1.02rem;
    font-weight: 400;
}

.client-inline-icon {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.88;
    filter: brightness(0) saturate(100%) invert(74%) sepia(22%) saturate(562%) hue-rotate(125deg) brightness(100%) contrast(94%);
}

.client-panel-subtitle {
    margin: 6px 0 0;
    color: var(--client-text-muted);
    font-size: 0.84rem;
}

.client-panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.client-panel-body {
    padding: 8px 0px 20px;
}

.client-panel-table-view .client-panel-body {
    padding-top: 0;
}

.client-panel-body-inner {
    padding: 0 20px;
}

.client-panel-body-stack {
    display: grid;
    gap: 18px;
    padding: 0 20px;
}

.client-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.client-filter-search-stack {
    display: grid;
    gap: 12px;
    width: 100%;
}

.client-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%);
    color: var(--client-text-soft);
    font-size: 0.82rem;
    white-space: nowrap;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.client-filter-pill:hover {
    color: var(--client-text);
    border-color: rgba(125, 158, 170, 0.18);
    transform: translateY(-1px);
}

.client-filter-pill.active {
    color: var(--client-text);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.18) 0%, rgba(89, 214, 201, 0.08) 100%);
    border-color: rgba(89, 214, 201, 0.24);
}

.client-panel-search {
    position: relative;
    width: 100%;
}

.client-panel-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    opacity: 0.7;
    filter: brightness(0) saturate(100%) invert(74%) sepia(22%) saturate(562%) hue-rotate(125deg) brightness(100%) contrast(94%);
    pointer-events: none;
}

.client-panel-search-input {
    width: 100%;
    min-height: 42px;
    padding: 0 52px 0 40px;
    border: 1px solid rgba(121, 155, 166, 0.14);
    border-radius: 999px;
    color: var(--client-text);
    font: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%),
        linear-gradient(180deg, rgba(15, 25, 31, 0.78) 0%, rgba(10, 17, 22, 0.84) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 10px 24px rgba(0, 0, 0, 0.12);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.client-panel-search-input::placeholder {
    color: var(--client-text-muted);
}

.client-panel-search-input:focus {
    outline: none;
    border-color: rgba(89, 214, 201, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 3px rgba(89, 214, 201, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.14);
}

.client-panel-search-submit {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.2) 0%, rgba(89, 214, 201, 0.08) 100%),
        linear-gradient(180deg, rgba(16, 28, 35, 0.9) 0%, rgba(11, 19, 25, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 8px 18px rgba(0, 0, 0, 0.14);
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.client-panel-search-submit img {
    width: 14px;
    height: 14px;
    display: block;
    filter: invert(95%) sepia(2%) saturate(668%) hue-rotate(161deg) brightness(112%) contrast(94%);
}

.client-panel-search-submit:hover,
.client-panel-search-submit:focus-visible {
    outline: none;
    transform: translateY(calc(-50% - 1px));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 22px rgba(0, 0, 0, 0.18);
}

.client-table-shell {
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.client-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: transparent;
    border: 0;
}

.client-table th,
.client-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(125, 158, 170, 0.08);
    white-space: nowrap;
    background: transparent;
}

.client-table th {
    color: var(--client-text-muted);
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-table td {
    color: var(--client-text-soft);
    font-size: 0.9rem;
}

.client-table thead tr,
.client-table tbody tr {
    background: transparent;
}

.client-table tbody tr:hover {
    background: transparent;
}

.client-table-row-link {
    cursor: pointer;
}

.client-table-row-link.is-expanded td {
    background: rgba(89, 214, 201, 0.06);
}

.client-table tbody tr:hover td {
    background: rgba(89, 214, 201, 0.04);
}

.client-table tbody tr:last-child td {
    border-bottom: 0;
}

.client-table-actions-cell {
    width: 1%;
    text-align: right;
}

.client-row-expand-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-row-expand-toggle img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(74%) sepia(22%) saturate(562%) hue-rotate(125deg) brightness(100%) contrast(94%);
    transition: transform 180ms ease, filter 180ms ease;
}

.client-row-expand-toggle:hover,
.client-row-expand-toggle.is-expanded {
    border-color: rgba(89, 214, 201, 0.18);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.02) 100%);
    transform: translateY(-1px);
}

.client-row-expand-toggle.is-expanded img {
    transform: rotate(180deg);
}

.client-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 10px;
    flex-wrap: wrap;
}

.client-pagination-summary {
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.client-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.92) 0%, rgba(9, 16, 21, 0.96) 100%);
    color: var(--client-text-muted);
    font-size: 0.82rem;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-pagination-link:hover,
.client-pagination-link:focus-visible,
.client-pagination-link.is-active {
    color: var(--client-text);
    border-color: rgba(89, 214, 201, 0.24);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.12) 0%, rgba(89, 214, 201, 0.04) 100%);
}

.client-list {
    display: grid;
}

.client-list-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(125, 158, 170, 0.08);
    transition: background 180ms ease, border-color 180ms ease;
}

.client-list-item:last-child {
    border-bottom: 0;
}

.client-list-item:hover {
    background: rgba(89, 214, 201, 0.035);
}

.client-list-item-linkable {
    cursor: pointer;
}

.client-list-item-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.client-list-main {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.client-list-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 4px;
    color: var(--client-text);
    font-size: 0.95rem;
}

.client-inline-title-action {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    color: var(--client-accent);
    transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.client-inline-title-action:hover,
.client-inline-title-action:focus-visible {
    background: rgba(89, 214, 201, 0.1);
    transform: translateY(-1px);
}

.client-inline-title-action-icon {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) saturate(100%) invert(74%) sepia(22%) saturate(562%) hue-rotate(125deg) brightness(100%) contrast(94%);
}

.client-list-meta {
    color: var(--client-text-muted);
    font-size: 0.84rem;
}

.client-mobile-subscription-status {
    display: none;
    margin-top: 8px;
}

.client-mobile-payment-item {
    display: none;
}

.client-mobile-subscription-days {
    display: none;
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-mobile-subscription-days.is-urgent {
    color: var(--client-danger);
}

.client-mobile-payment-title {
    color: var(--client-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.client-mobile-payment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-list-side {
    position: relative;
    z-index: 2;
    text-align: right;
    flex: 0 0 auto;
}

.client-request-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.client-request-side-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    width: 100%;
}

.client-request-side-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.client-request-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
}

.client-request-action-line {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.client-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.client-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.92) 0%, rgba(9, 16, 21, 0.96) 100%);
    color: var(--client-text-muted);
    font-size: 0.84rem;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.client-filter-chip:hover,
.client-filter-chip:focus-visible,
.client-filter-chip.is-active {
    color: var(--client-text);
    border-color: rgba(89, 214, 201, 0.24);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.12) 0%, rgba(89, 214, 201, 0.04) 100%);
    text-decoration: none;
}

.client-request-row.is-expandable {
    cursor: pointer;
}

.client-request-row:hover {
    background: rgba(89, 214, 201, 0.035);
}

.client-request-row.is-expanded {
    background: rgba(89, 214, 201, 0.04);
}

.client-request-row {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.client-request-detail-row {
    border-top: 1px solid rgba(125, 158, 170, 0.08);
}

.client-request-detail-row .client-detail-cell {
    padding: 0;
}

.client-detail-row .client-inline-detail,
.client-request-detail-row .client-inline-detail {
    padding: 0 20px;
    min-width: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding-top 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding-bottom 420ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 340ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-detail-row.is-open .client-inline-detail,
.client-request-detail-row.is-open .client-inline-detail {
    padding-top: 18px;
    padding-bottom: 18px;
    opacity: 1;
    transform: translateY(0);
}

.client-list-results {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.client-list-result {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(125, 158, 170, 0.1);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(14, 24, 31, 0.52), rgba(10, 18, 23, 0.68));
    min-width: 0;
}

.client-list-result-title {
    color: var(--client-text);
    font-size: 0.92rem;
    line-height: 1.4;
}

.client-list-result-file {
    min-width: 0;
}

.client-list-result-file .client-link-action {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.client-list-results .client-list-meta {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.client-link-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease;
}

.client-link-action:hover,
.client-link-action:focus-visible {
    text-decoration: none;
}

.client-link-action-primary {
    color: var(--client-accent);
}

.client-link-action-primary:hover,
.client-link-action-primary:focus-visible {
    color: #8de8de;
}

.client-list-value {
    color: var(--client-text);
    font-size: 0.92rem;
}

.client-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.client-addon-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.client-static-card {
    border: 1px solid rgba(150, 176, 198, 0.18);
    background: linear-gradient(180deg, rgba(15, 23, 35, 0.78), rgba(9, 14, 25, 0.9));
    border-radius: 14px;
    min-height: 52px;
    padding: 0.95rem 1rem;
    color: rgba(235, 244, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
}

.client-field-group {
    min-width: 0;
}

.client-field-group-full {
    grid-column: 1 / -1;
}

.client-field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--client-text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.client-field-label-row .client-field-label {
    margin-bottom: 0;
}

.client-field-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--client-accent);
    font-size: 0.82rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}

.client-field-link.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.client-field-link:hover {
    color: #8ceddf;
}

.client-field-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.96) 0%, rgba(9, 16, 21, 0.98) 100%);
    color: var(--client-text);
    font: inherit;
    box-sizing: border-box;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.client-field-input[type='number'] {
    padding-right: 14px;
    text-align: left;
    letter-spacing: 0.015em;
    font-variant-numeric: tabular-nums;
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.028) 0%, rgba(89, 214, 201, 0.008) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.96) 0%, rgba(9, 16, 21, 0.98) 100%);
}

.client-field-input[type='number']::-webkit-outer-spin-button,
.client-field-input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.client-field-input[type='number'] {
    -moz-appearance: textfield;
    appearance: textfield;
}

textarea.client-field-input {
    min-height: 120px;
    resize: vertical;
}

select.client-field-input {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.client-field-input:focus {
    outline: none;
    border-color: rgba(89, 214, 201, 0.28);
    box-shadow:
        0 0 0 4px rgba(89, 214, 201, 0.08),
        0 14px 34px rgba(0, 0, 0, 0.16);
}

.client-field-input.is-invalid {
    border-color: rgba(255, 158, 158, 0.34);
    box-shadow:
        0 0 0 4px rgba(255, 158, 158, 0.06),
        0 14px 34px rgba(0, 0, 0, 0.16);
}

.client-field-input.is-valid {
    border-color: rgba(118, 211, 154, 0.34);
    box-shadow:
        0 0 0 4px rgba(118, 211, 154, 0.05),
        0 14px 34px rgba(0, 0, 0, 0.16);
}

.client-field-input[type='number']:focus {
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.04) 0%, rgba(89, 214, 201, 0.012) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.96) 0%, rgba(9, 16, 21, 0.98) 100%);
}

.client-field-input:-webkit-autofill,
.client-field-input:-webkit-autofill:hover,
.client-field-input:-webkit-autofill:focus,
.client-field-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--client-text);
    caret-color: var(--client-text);
    border-color: rgba(125, 158, 170, 0.16);
    box-shadow:
        0 0 0 1000px rgba(10, 17, 22, 0.97) inset,
        0 10px 22px rgba(0, 0, 0, 0.12);
    transition: background-color 9999s ease-out 0s;
}

.client-field-help {
    margin: 0;
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-field-status {
    display: none;
    margin: 8px 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
}

.client-field-status.is-visible {
    display: block;
}

.client-field-status.is-error {
    color: var(--client-danger);
}

.client-field-status.is-valid {
    color: var(--client-success);
}

.client-field-status.is-checking {
    color: var(--client-text-muted);
}

.client-security-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 86px;
    margin-bottom: 12px;
    border-radius: 18px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(13, 24, 31, 0.96) 0%, rgba(9, 16, 21, 0.98) 100%);
    overflow: hidden;
}

.client-security-card::before,
.client-security-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.client-security-card::before {
    background:
        radial-gradient(circle at 18% 20%, rgba(89, 214, 201, 0.08), transparent 20%),
        radial-gradient(circle at 82% 74%, rgba(89, 214, 201, 0.06), transparent 24%);
}

.client-security-card::after {
    background:
        linear-gradient(118deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.055) 39%, transparent 41%, transparent 100%),
        linear-gradient(72deg, transparent 0%, transparent 54%, rgba(89, 214, 201, 0.1) 55%, transparent 57%, transparent 100%);
    opacity: 0.5;
}

.client-security-code {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: var(--client-text);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    user-select: none;
}

.client-security-code span {
    display: inline-block;
    min-width: 0.92em;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.client-security-code::before,
.client-security-code::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1px;
    pointer-events: none;
}

.client-security-code::before {
    top: 32%;
    background: linear-gradient(90deg, transparent 0%, rgba(89, 214, 201, 0.36) 18%, rgba(255, 255, 255, 0.12) 50%, rgba(89, 214, 201, 0.28) 82%, transparent 100%);
}

.client-security-code::after {
    top: 62%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 20%, rgba(89, 214, 201, 0.32) 50%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
}

.client-enhanced-select-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.client-enhanced-select {
    position: relative;
}

.client-enhanced-select-toggle {
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 14px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.96) 0%, rgba(9, 16, 21, 0.98) 100%);
    color: var(--client-text);
    font: inherit;
    text-align: left;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.client-enhanced-select-toggle::before,
.client-enhanced-select-toggle::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid var(--client-text-muted);
    transition: transform 180ms ease, border-color 180ms ease;
}

.client-enhanced-select-toggle::before {
    transform: translateY(-60%) rotate(45deg);
}

.client-enhanced-select-toggle::after {
    right: 12px;
    transform: translateY(-60%) rotate(-45deg);
}

.client-enhanced-select.is-open .client-enhanced-select-toggle,
.client-enhanced-select-toggle:focus-visible {
    outline: none;
    border-color: rgba(89, 214, 201, 0.28);
    box-shadow:
        0 0 0 4px rgba(89, 214, 201, 0.08),
        0 14px 34px rgba(0, 0, 0, 0.16);
}

.client-enhanced-select.is-open .client-enhanced-select-toggle::before,
.client-enhanced-select.is-open .client-enhanced-select-toggle::after {
    border-color: var(--client-accent);
}

.client-enhanced-select.is-open .client-enhanced-select-toggle::before {
    transform: translateY(-30%) rotate(-45deg);
}

.client-enhanced-select.is-open .client-enhanced-select-toggle::after {
    transform: translateY(-30%) rotate(45deg);
}

.client-enhanced-select-placeholder {
    color: var(--client-text-muted);
}

.client-enhanced-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    display: grid;
    gap: 6px;
    padding: 10px;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid rgba(125, 158, 170, 0.14);
    border-radius: 16px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 30%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(16, 27, 34, 0.98) 0%, rgba(10, 17, 23, 0.99) 100%);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.client-enhanced-select-menu[hidden] {
    display: none !important;
}

.client-enhanced-select-option {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--client-text-soft);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.client-enhanced-select-option:hover,
.client-enhanced-select-option:focus-visible {
    outline: none;
    transform: translateY(-1px);
    color: var(--client-text);
    border-color: rgba(89, 214, 201, 0.16);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.12) 0%, rgba(89, 214, 201, 0.04) 100%);
}

.client-enhanced-select-option.is-selected {
    color: var(--client-text);
    border-color: rgba(89, 214, 201, 0.2);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.18) 0%, rgba(89, 214, 201, 0.06) 100%);
}

.client-selection-stack {
    display: grid;
    gap: 12px;
}

.client-selection-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.client-selection-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.client-selection-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(11, 20, 25, 0.9) 0%, rgba(8, 14, 19, 0.94) 100%);
    color: var(--client-text-soft);
}

.client-remove-addon {
    padding: 8px 12px;
    border: 1px solid rgba(240, 195, 107, 0.16);
    border-radius: 12px;
    background: rgba(240, 195, 107, 0.08);
    color: var(--client-warning);
    cursor: pointer;
    font: inherit;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-remove-addon:hover {
    border-color: rgba(240, 195, 107, 0.24);
    background: rgba(240, 195, 107, 0.14);
    transform: translateY(-1px);
}

.client-checkout-summary {
    display: grid;
    gap: 0;
    margin-bottom: 18px;
}

.client-checkout-summary [hidden] {
    display: none !important;
}

.client-checkout-row,
.client-checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(125, 158, 170, 0.08);
}

.client-checkout-row span,
.client-checkout-total span {
    color: var(--client-text-muted);
}

.client-checkout-row strong,
.client-checkout-total strong {
    color: var(--client-text);
    font-weight: 400;
}

.client-checkout-total {
    padding-top: 16px;
    border-bottom: 0;
    font-size: 1.02rem;
}

.client-checkout-total strong {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.client-subscribe-submit {
    width: 100%;
    margin-top: 6px;
}

.client-inline-form {
    display: contents;
}

.client-inline-form-end {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px;
}

.client-inline-link-end {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px;
}

.client-inline-link-end-compact {
    margin-top: 6px;
}

.client-inline-copy {
    margin: 0;
    color: var(--client-text-muted);
    font-size: 0.88rem;
}

.client-payment-note {
    margin-bottom: 18px;
}

.client-payment-method-list {
    margin-bottom: 18px;
}

.client-payment-actions {
    margin-top: 18px;
}

.client-payment-action-row {
    gap: 16px;
}

.client-payment-reference-form {
    display: grid;
    gap: 12px;
}

.client-payment-secondary-link {
    display: flex;
    justify-content: flex-start;
    margin-top: 6px;
}

.client-payment-status-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-payment-status-card strong {
    color: var(--client-text);
    font-weight: 400;
}

.client-payment-status-card span {
    color: var(--client-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.client-detail-row[hidden] {
    display: none !important;
}

.client-detail-cell {
    padding: 0 !important;
    border-bottom: 1px solid rgba(125, 158, 170, 0.08);
}

.client-inline-detail {
    padding: 0 16px 18px;
}

.client-inline-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 14px;
}

.client-inline-detail-title {
    margin: 0 0 4px;
    color: var(--client-text);
    font-size: 0.96rem;
}

.client-inline-detail-subtitle {
    margin: 0;
    color: var(--client-text-muted);
    font-size: 0.84rem;
}

.client-inline-detail-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.client-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-badge.due-soon {
    background: var(--client-warning-soft);
    color: var(--client-warning);
}

.client-badge.expired {
    background: var(--client-danger-soft);
    color: var(--client-danger);
}

.client-badge.clear {
    background: var(--client-success-soft);
    color: var(--client-success);
}

.client-empty {
    padding: 26px 20px 8px;
    color: var(--client-text-muted);
}

.client-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 20px 4px;
}

.client-empty-state-centered {
    align-items: center;
    text-align: center;
    padding: 18px 0 8px;
}

.client-empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.client-empty-state-title {
    margin: 0;
    color: var(--client-text);
    font-size: 1rem;
    font-weight: 400;
}

.client-empty-state-text {
    margin: 0;
    max-width: 540px;
    color: var(--client-text-muted);
    line-height: 1.6;
}

.client-empty-state-centered .client-empty-state-text {
    max-width: 520px;
}

.client-text-link {
    color: var(--client-accent);
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.client-text-link:hover {
    color: var(--client-text);
}

.client-text-link-danger {
    color: var(--client-danger);
}

.client-text-link-danger:hover {
    color: #ffd0d0;
}

.client-text-link-soft-danger {
    color: #f2a8a8;
}

.client-text-link-soft-danger:hover {
    color: #ffd0d0;
}

.client-confirm-modal[hidden] {
    display: none !important;
}

.client-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 2800;
    display: grid;
    place-items: center;
    padding: 24px;
}

.client-confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 12, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-confirm-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    display: grid;
    gap: 14px;
    padding: 24px 24px 22px;
    border-radius: 24px;
    border: 1px solid rgba(125, 158, 170, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
        linear-gradient(180deg, rgba(12, 21, 27, 0.96) 0%, rgba(9, 15, 20, 0.98) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.client-confirm-kicker {
    color: var(--client-text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.client-confirm-title {
    margin: 0;
    color: var(--client-text);
    font-size: 1.38rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.client-confirm-message {
    margin: 0;
    color: var(--client-text-soft);
    line-height: 1.65;
}

.client-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.client-ticket-thread {
    display: grid;
    gap: 14px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 6px;
}

.client-ticket-message {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 158, 170, 0.12);
}

.client-ticket-message.is-client {
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.025) 100%),
        linear-gradient(180deg, rgba(17, 28, 35, 0.74) 0%, rgba(12, 20, 26, 0.78) 100%);
    border-color: rgba(89, 214, 201, 0.16);
}

.client-ticket-message.is-admin {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
        linear-gradient(180deg, rgba(15, 25, 32, 0.78) 0%, rgba(11, 19, 25, 0.82) 100%);
}

.client-ticket-message-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.client-ticket-message-name {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 400;
    color: var(--client-text);
}

.client-ticket-message-role,
.client-ticket-message-time {
    color: var(--client-text-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.client-ticket-message-body {
    margin-top: 10px;
    color: rgba(235, 244, 255, 0.86);
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.client-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
}

.client-action-stack {
    display: grid;
    gap: 10px;
}

.client-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
    color: var(--client-text);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-action-link:hover {
    border-color: rgba(89, 214, 201, 0.18);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.08) 0%, rgba(89, 214, 201, 0.02) 100%);
    transform: translateY(-1px);
}

.button.button-primary {
    padding: 12px 16px;
    border: 1px solid rgba(89, 214, 201, 0.26);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.24) 0%, rgba(89, 214, 201, 0.12) 100%);
    color: var(--client-text);
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 400;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 30px rgba(0, 0, 0, 0.18);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button.button-primary:hover {
    border-color: rgba(89, 214, 201, 0.34);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.3) 0%, rgba(89, 214, 201, 0.16) 100%);
    transform: translateY(-1px);
}

.client-footer {
    margin-top: auto;
    padding: 14px 16px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(10, 18, 23, 0.84) 0%, rgba(8, 14, 18, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 44px rgba(0, 0, 0, 0.16);
    color: var(--client-text-muted);
    font-size: 0.82rem;
}

.client-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.client-footer-logo {
    width: 132px;
    height: auto;
    display: block;
    opacity: 0.9;
}

.client-public-shell {
    max-width: 1360px;
}

.client-public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(10, 18, 23, 0.84) 0%, rgba(8, 14, 18, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        var(--client-shadow);
}

.client-public-brand {
    display: inline-flex;
    align-items: center;
}

.client-public-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.client-public-logo {
    width: 176px;
    height: auto;
    display: block;
}

.client-public-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-public-nav-button {
    color: var(--client-text);
}

.client-public-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--client-text-soft);
    font-size: 0.92rem;
    transition: color 180ms ease, transform 180ms ease;
}

.client-public-login:hover {
    color: var(--client-accent);
    transform: translateY(-1px);
}

.client-public-login-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(79%) sepia(39%) saturate(561%) hue-rotate(119deg) brightness(92%) contrast(91%);
    transition: filter 180ms ease, opacity 180ms ease;
}

.client-public-login:hover .client-public-login-icon {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(75%) sepia(53%) saturate(667%) hue-rotate(120deg) brightness(98%) contrast(92%);
}

.client-public-hero {
    margin-bottom: 22px;
}

.client-public-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-public-catalog {
    display: grid;
    gap: 16px;
}

.client-public-catalog-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.client-public-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%),
        linear-gradient(180deg, rgba(11, 19, 25, 0.86) 0%, rgba(8, 14, 19, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        var(--client-shadow);
}

.client-public-tab {
    border: 0;
    padding: 10px 18px;
    border-radius: 16px;
    background: transparent;
    color: var(--client-text-soft);
    font: inherit;
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.client-public-tab:hover {
    color: var(--client-text);
    transform: translateY(-1px);
}

.client-public-tab.is-active {
    color: var(--client-text);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.14) 0%, rgba(89, 214, 201, 0.06) 100%),
        linear-gradient(180deg, rgba(15, 29, 37, 0.9) 0%, rgba(9, 17, 23, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.client-public-filter-wrap {
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease, transform 240ms ease;
}

.client-public-filter-wrap.is-active {
    opacity: 1;
    transform: translateY(0);
}

.client-public-filter-row {
    width: 100%;
}

.client-public-panel {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 260ms ease;
}

.client-public-panel.is-active {
    opacity: 1;
    transform: translateY(0);
}

.client-public-panel.is-filtering .client-product-card {
    opacity: 0.4;
    transform: translateY(6px) scale(0.988);
}

.client-product-card {
    display: grid;
    grid-template-rows: 220px auto;
    overflow: hidden;
    transition: opacity 220ms ease, transform 260ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.client-product-card:hover {
    border-color: rgba(89, 214, 201, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 36px rgba(2, 7, 10, 0.18);
}

.client-product-card.is-hidden {
    display: none;
}

.client-product-thumb {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 24%, rgba(89, 214, 201, 0.18), transparent 24%),
        radial-gradient(circle at 78% 72%, rgba(240, 195, 107, 0.08), transparent 20%),
        linear-gradient(180deg, rgba(18, 34, 43, 0.9) 0%, rgba(13, 24, 31, 0.94) 100%);
    border-bottom: 1px solid rgba(125, 158, 170, 0.08);
}

.client-subscribe-gallery {
    min-height: 260px;
    border-radius: 20px;
    border: 1px solid rgba(125, 158, 170, 0.1);
    border-bottom-color: rgba(125, 158, 170, 0.1);
}

.client-product-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 10, 13, 0.1) 0%, rgba(5, 10, 13, 0.12) 38%, rgba(5, 10, 13, 0.42) 100%);
    pointer-events: none;
}

.client-product-thumb.has-gallery:hover .client-product-gallery-nav,
.client-product-thumb.has-gallery:focus-within .client-product-gallery-nav {
    opacity: 1;
    transform: translateY(0);
}

.client-product-thumb span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 24px;
    background: rgba(89, 214, 201, 0.08);
    border: 1px solid rgba(89, 214, 201, 0.16);
    color: var(--client-text);
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}

.client-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
    filter: saturate(0.92) brightness(0.92);
}

.client-product-card:hover .client-product-thumb img {
    transform: scale(1.09);
    filter: saturate(1) brightness(0.98);
}

.client-product-thumb-request {
    background:
        radial-gradient(circle at 24% 24%, rgba(89, 214, 201, 0.16), transparent 26%),
        radial-gradient(circle at 78% 72%, rgba(240, 195, 107, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(17, 32, 41, 0.94) 0%, rgba(10, 18, 24, 0.98) 100%);
}

.client-product-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.client-product-gallery-slide {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    cursor: zoom-in;
}

.client-product-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.client-product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-product-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-50%) translateY(6px);
    opacity: 0;
    transition: opacity 180ms ease, transform 220ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-product-gallery-nav:hover {
    background: rgba(214, 214, 214, 0.96);
    border-color: rgba(214, 214, 214, 0.96);
    box-shadow: 0 8px 20px rgba(6, 16, 20, 0.18);
}

.client-product-gallery-nav img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(10%) sepia(17%) saturate(697%) hue-rotate(160deg) brightness(95%) contrast(93%);
}

.client-product-gallery-nav:hover img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(22%) saturate(735%) hue-rotate(159deg) brightness(94%) contrast(98%);
}

.client-product-gallery-nav.is-prev {
    left: 12px;
}

.client-product-gallery-nav.is-next {
    right: 12px;
}

.client-product-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.client-product-gallery-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(235, 241, 243, 0.3);
    transition: transform 180ms ease, background 180ms ease, width 180ms ease;
}

.client-product-gallery-dot.is-active {
    background: rgba(255, 255, 255, 0.7);
    width: 12px;
    border-radius: 999px;
    transform: none;
}

.client-product-thumb.has-gallery:hover .client-product-gallery-dots,
.client-product-thumb.has-gallery:focus-within .client-product-gallery-dots {
    opacity: 1;
}

.client-product-copy {
    display: grid;
    gap: 6px;
    padding-top: 6px;
    position: relative;
}

.client-product-copy::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 52px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(89, 214, 201, 0.7) 0%, rgba(89, 214, 201, 0.08) 100%);
}

.client-product-category {
    color: rgba(220, 230, 235, 0.74);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.client-product-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.718);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.08;
}

.client-product-price {
    margin: 0;
    color: var(--client-accent);
    font-size: 1rem;
}

.client-product-price span {
    color: rgba(202, 214, 220, 0.62);
    font-size: 0.86rem;
}

.client-product-description {
    margin: 0;
    color: rgba(203, 214, 219, 0.84);
}

.client-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    grid-template-columns: minmax(52px, 72px) minmax(0, 1fr) minmax(52px, 72px);
    align-items: center;
    gap: 18px;
    padding: 28px;
    background: rgba(4, 9, 12, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.client-gallery-lightbox[hidden] {
    display: none !important;
}

.client-gallery-lightbox-figure {
    margin: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.client-gallery-lightbox-image {
    max-width: min(100%, 1040px);
    max-height: min(76vh, 760px);
    border-radius: 24px;
    border: 1px solid rgba(125, 158, 170, 0.14);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
    object-fit: contain;
    background: rgba(6, 11, 14, 0.8);
}

.client-gallery-lightbox-caption {
    color: rgba(226, 235, 239, 0.84);
    text-align: center;
}

.client-gallery-lightbox-close,
.client-gallery-lightbox-nav {
    border: 1px solid rgba(240, 246, 248, 0.12);
    background: rgba(10, 18, 23, 0.76);
    color: var(--client-text);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.client-gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-gallery-lightbox-close img,
.client-gallery-lightbox-nav img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(91%) sepia(9%) saturate(220%) hue-rotate(154deg) brightness(95%) contrast(94%);
}

body.client-gallery-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.client-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.client-product-button {
    justify-content: center;
    text-align: center;
    display: inline-flex;
    align-items: center;
}

.client-action-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

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

.client-plan-card {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.006) 100%),
        linear-gradient(180deg, rgba(12, 21, 27, 0.84) 0%, rgba(9, 16, 21, 0.9) 100%);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-plan-card:hover {
    border-color: rgba(89, 214, 201, 0.2);
    transform: translateY(-1px);
}

.client-plan-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.client-plan-card.is-selected,
.client-plan-card:has(input:checked) {
    border-color: rgba(89, 214, 201, 0.28);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.16) 0%, rgba(89, 214, 201, 0.06) 100%),
        linear-gradient(180deg, rgba(12, 21, 27, 0.84) 0%, rgba(9, 16, 21, 0.9) 100%);
}

.client-plan-label {
    color: var(--client-text);
    font-size: 0.98rem;
}

.client-plan-price {
    color: var(--client-accent);
    font-size: 0.9rem;
}

@media (max-width: 980px) {

    .client-summary-grid,
    .client-content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .client-public-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {

    .client-public-header {
        padding: 14px 16px;
        border-radius: 20px;
        align-items: flex-start;
    }

    .client-public-logo {
        width: 152px;
    }

    .client-public-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .client-public-tabs {
        width: 100%;
    }

    .client-public-tab {
        flex: 1 1 0;
        text-align: center;
    }

    .client-hero,
    .client-alert,
    .client-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .no-hero-mobile {
        display: none;
    }

    .client-inline-form-end {

        justify-content: flex-start;
    }

    .client-alert-title {
        padding: 2px 0px;
    }

    .client-alert-side {
        justify-content: space-between;
        display: flex;
        width: 100%;
    }

    .client-hero-actions {
        display: none;
    }

    .client-title {
        font-size: 1.28rem;
    }

    .client-header {
        position: sticky;
        top: 0;
        top: env(safe-area-inset-top, 0);
        z-index: 2100;
    }

    .client-header-top {
        margin-bottom: 0;
    }

    .client-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .client-brand {
        display: none;
    }

    .client-nav-mobile-button {
        display: inline-flex;
        position: relative;
        z-index: 2150;
    }

    .client-nav-shell {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2150;
        width: min(88vw, 360px);
        height: 100dvh;
        padding: 20px 14px 18px;
        border-left: 1px solid rgba(125, 158, 170, 0.14);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
            linear-gradient(180deg, rgba(11, 19, 25, 0.94) 0%, rgba(7, 13, 18, 0.98) 100%);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(20px) saturate(124%);
        -webkit-backdrop-filter: blur(20px) saturate(124%);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
    }

    .client-nav-shell.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .client-content-grid {
        grid-template-columns: 1fr;
    }

    .client-panel-header {
        align-items: flex-start;
    }

    .client-nav-mobile-brand {
        display: block;
        padding: 2px 2px 16px;
    }

    .client-nav-mobile-logo {
        width: 156px;
        height: auto;
        display: block;
    }

    .client-form-grid,
    .client-addon-field-grid,
    .client-selection-row {
        grid-template-columns: 1fr;
    }

    .client-nav {
        display: grid;
        gap: 10px;
        width: 100%;
    }

    .client-nav-group {
        width: 100%;
    }

    .client-nav-group-toggle {
        width: 100%;
        justify-content: space-between;
        transform: none;
    }

    .client-nav-group:hover .client-nav-group-toggle,
    .client-nav-group-toggle:hover {
        transform: none;
    }

    .client-nav-group-menu {
        position: static;
        min-width: 0;
        margin-top: 8px;
        padding: 8px 0 0 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .client-nav-link,
    .client-nav-group-toggle,
    .client-nav-logout {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .client-nav-logout {
        padding: 10px 6px 10px 2px;
    }

    .client-filter-row {
        width: 100%;
    }

    .client-filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .client-filter-row::-webkit-scrollbar {
        display: none;
    }

    .client-panel-search {
        width: 100%;
    }

    .client-form-grid,
    .client-addon-field-grid,
    .client-selection-row {
        grid-template-columns: 1fr;
    }

    .client-payment-action-row {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {

    .client-public-grid,
    .client-plan-grid,
    .client-product-actions {
        grid-template-columns: 1fr;
    }

    .client-public-filter-row {
        display: inline-flex;
        width: max-content;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .client-public-filter-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .client-public-filter-wrap::-webkit-scrollbar {
        display: none;
    }

    .client-product-card {
        grid-template-rows: 152px auto;
    }

    .client-subscribe-gallery {
        min-height: 220px;
    }

    .client-gallery-lightbox {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 20px 14px;
    }

    .client-gallery-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .client-gallery-lightbox-image {
        max-height: 68vh;
    }

    .client-payment-action-row {
        justify-content: space-between;
    }

    .no-hero-mobile {
        display: none;
    }

    .client-inline-form-end {

        justify-content: flex-start;
    }

    .client-alert-title {
        padding: 2px 0px;
    }

    .client-alert-side {
        justify-content: space-between;
        display: flex;
        width: 100%;
    }

    .client-shell {
        padding:
            calc(16px + env(safe-area-inset-top, 0)) calc(14px + env(safe-area-inset-right, 0)) calc(30px + env(safe-area-inset-bottom, 0)) calc(14px + env(safe-area-inset-left, 0));
    }

    .client-footer {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0));
    }

    .client-header,
    .client-hero,
    .client-panel {
        border-radius: 20px;
    }

    .client-header {
        padding: 16px;
    }

    .client-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-summary-value {
        font-size: 1.0rem;
    }

    .client-alert-icon-wrap {
        display: none;
    }

    .client-table {
        min-width: 0;
    }

    .client-table thead {
        display: none;
    }

    .client-table th:nth-child(2),
    .client-table td:nth-child(2),
    .client-table th:nth-child(3),
    .client-table td:nth-child(3),
    .client-table th:nth-child(4),
    .client-table td:nth-child(4),
    .client-table th:nth-child(5),
    .client-table td:nth-child(5),
    .client-table th:nth-child(6),
    .client-table td:nth-child(6),
    .client-table th:nth-child(7),
    .client-table td:nth-child(7),
    .client-table th:nth-child(9),
    .client-table td:nth-child(9) {
        display: none;
    }

    .client-table th:nth-child(8),
    .client-table td:nth-child(8) {
        display: none;
    }

    .client-table th:nth-child(1),
    .client-table td:nth-child(1) {
        white-space: normal;
    }

    .client-table td:nth-child(1) {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .client-mobile-payment-item {
        display: block;
    }

    .client-desktop-payment-type {
        display: none;
    }

    .client-mobile-subscription-status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .client-mobile-subscription-days {
        display: inline;
        margin-left: auto;
        text-align: right;
        float: right;
    }

    .client-mobile-subscription-status {
        display: block;
        text-align: left;
    }

    .client-inline-detail-actions {
        display: flex;
        width: 100%;
    }

    .client-list-meta,
    .client-text-link {
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .client-list-item {
        flex-wrap: wrap;
    }

    .client-list-side {
        width: 100%;
        text-align: left;
    }

    .client-inline-form-end,
    .client-inline-link-end {
        justify-content: flex-start;
    }

    .client-request-row {
        gap: 12px;
    }

    .client-request-side {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .client-request-side-head {
        justify-content: space-between;
    }

    .client-request-side-copy {
        align-items: flex-start;
    }

    .client-request-actions {
        align-items: flex-start;
        justify-content: flex-start;
        margin-left: 0;
        flex-shrink: 0;
    }

    .client-request-action-line {
        justify-content: flex-start;
    }

    .client-request-detail-row .client-inline-detail {
        padding: 16px 20px;
    }

    .client-request-detail-row {
        overflow: hidden;
    }

    .client-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .client-brand-logo {
        width: 164px;
    }

    .client-hero {
        padding: 20px;
    }

    .client-inline-detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-selection-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}
