:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --line: #dfe6ee;
    --line-strong: #c9d5e4;
    --text: #0d1726;
    --muted: #677487;
    --muted-2: #8b98ab;
    --green: #12c05a;
    --green-deep: #0a5a43;
    --green-ink: #006f4e;
    --green-soft: #eaf9f0;
    --accent: #276ef1;
    --shadow: 0 24px 60px rgba(26, 43, 74, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --sidebar: #1f2432;
    --sidebar-2: #262d3e;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Manrope, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.billing-topbar {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(210, 221, 232, 0.88);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(20, 35, 64, 0.08);
    position: sticky;
    top: 18px;
    z-index: 20;
}

.billing-topbar-search,
.billing-topbar-actions,
.billing-search-shell,
.billing-org-trigger,
.billing-settings-title,
.billing-settings-search,
.billing-drawer-head,
.billing-profile-meta,
.billing-support-card {
    display: flex;
    align-items: center;
}

.billing-topbar-search {
    gap: 12px;
    min-width: 0;
}

.billing-search-shell {
    flex: 1;
    min-height: 46px;
    gap: 10px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #dbe4ee;
    background: #f9fbfd;
}

.billing-search-shell i,
.billing-settings-search i {
    color: #7f8ca2;
    font-size: 14px;
}

.billing-search-shell input,
.billing-settings-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.billing-topbar-actions {
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.billing-top-pill,
.billing-org-trigger {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #dde6f0;
    background: #fff;
    color: #445166;
    font-size: 13px;
}

.billing-org-trigger {
    gap: 10px;
    cursor: pointer;
}

.billing-topbar-icon,
.billing-avatar-chip,
.billing-drawer-close,
.billing-settings-close {
    border: 0;
    cursor: pointer;
}

.billing-topbar-icon,
.billing-avatar-chip {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dde6f0;
    color: #233246;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.billing-topbar-icon--accent {
    background: #f3f8ff;
    color: #2468f0;
}

.billing-avatar-chip {
    font-weight: 800;
    background: linear-gradient(180deg, #18c864, #09844d);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.billing-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 38, 0.42);
    z-index: 60;
}

.billing-org-drawer,
.billing-side-drawer {
    position: fixed;
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.billing-org-drawer {
    top: 112px;
    right: 300px;
    width: min(420px, calc(100vw - 32px));
    transform: translateY(-10px);
}

.billing-side-drawer {
    top: 0;
    right: 0;
    height: 100vh;
    width: min(440px, 100vw);
    transform: translateX(24px);
}

.billing-org-drawer.is-open,
.billing-side-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, 0);
}

.billing-org-panel,
.billing-drawer-panel {
    background: #fff;
    border-left: 1px solid #e2eaf3;
    box-shadow: -18px 0 44px rgba(18, 33, 58, 0.16);
}

.billing-org-panel {
    border-radius: 24px;
    border: 1px solid #e2eaf3;
    box-shadow: 0 20px 46px rgba(18, 33, 58, 0.18);
    padding: 20px;
}

.billing-drawer-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.billing-org-head,
.billing-drawer-head {
    justify-content: space-between;
    gap: 14px;
}

.billing-drawer-head {
    padding: 20px 22px;
    border-bottom: 1px solid #ecf1f6;
}

.billing-drawer-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a2436;
}

.billing-drawer-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #7f8ca2;
}

.billing-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f4f7fb;
    color: #314159;
}

.billing-org-manage {
    margin: 18px 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2468f0;
    font-weight: 700;
    text-decoration: none;
}

.billing-org-card,
.billing-notif-card,
.billing-profile-panel,
.billing-settings-card,
.billing-settings-subcard,
.billing-support-card {
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 10px 28px rgba(34, 49, 78, 0.06);
}

.billing-org-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
}

.billing-org-card.is-active {
    background: linear-gradient(180deg, #f8fbff, #f2fff7);
}

.billing-org-card-icon,
.billing-notif-icon,
.billing-profile-avatar,
.billing-support-icon,
.billing-settings-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.billing-org-card-icon,
.billing-notif-icon,
.billing-support-icon {
    background: #eef5ff;
    color: #266af0;
}

.billing-org-card-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.billing-org-card-copy span,
.billing-notif-card p,
.billing-profile-sub,
.billing-profile-panel p,
.billing-support-card p,
.billing-settings-title p,
.billing-settings-links a {
    color: #718096;
    line-height: 1.55;
}

.billing-drawer-body {
    padding: 22px;
    overflow-y: auto;
    display: grid;
    gap: 16px;
}

.billing-notif-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
}

.billing-notif-card strong,
.billing-profile-name {
    color: #1a2436;
    font-weight: 800;
}

.billing-apps-section {
    display: grid;
    gap: 14px;
}

.billing-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.billing-app-tile {
    min-height: 104px;
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px solid #e6edf5;
    background: #f9fbfd;
    display: grid;
    align-content: start;
    gap: 12px;
    font-weight: 700;
    color: #223147;
}

.billing-app-tile i {
    font-size: 18px;
    color: #2468f0;
}

.billing-app-tile.is-active {
    background: linear-gradient(180deg, #eef6ff, #f1fff5);
}

.billing-quick-links {
    display: grid;
    gap: 10px;
}

.billing-quick-links a,
.billing-profile-links a {
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    color: #2a3a54;
    font-weight: 700;
}

.billing-profile-links {
    display: grid;
    gap: 10px;
}

.billing-profile-links a.is-danger {
    color: #d83a52;
}

.billing-profile-meta {
    gap: 14px;
}

.billing-profile-avatar {
    background: linear-gradient(180deg, #18c864, #09844d);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.billing-profile-panel {
    border-radius: 18px;
    padding: 18px;
}

.billing-settings-page {
    margin: 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
    color: #223147;
}

.billing-settings-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 420px) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7edf5;
    backdrop-filter: blur(8px);
}

.billing-settings-title {
    gap: 14px;
}

.billing-settings-icon {
    background: #edf4ff;
    color: #2468f0;
}

.billing-settings-title h1 {
    margin: 0 0 4px;
    font-size: 20px;
}

.billing-settings-title p {
    margin: 0;
    font-size: 13px;
}

.billing-settings-search {
    min-height: 44px;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(36, 104, 240, 0.06);
}

.billing-settings-close {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f6f8fb;
    color: #48576c;
    text-decoration: none;
}

.billing-settings-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px;
}

.billing-settings-section {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #edf2f8;
    border-radius: 28px;
    padding: 26px 18px 22px;
    box-shadow: 0 14px 36px rgba(40, 58, 90, 0.06);
}

.billing-settings-section h2 {
    margin: 0 14px 22px;
    font-size: 18px;
}

.billing-settings-grid {
    display: grid;
    gap: 18px;
}

.billing-settings-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.billing-settings-grid--two,
.billing-settings-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billing-settings-lower,
.billing-settings-support {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.billing-settings-lower {
    grid-template-columns: 1fr 1fr;
}

.billing-settings-card,
.billing-settings-subcard {
    border-radius: 20px;
    overflow: hidden;
}

.billing-settings-card {
    min-height: 320px;
}

.billing-settings-card--short {
    min-height: 250px;
}

.billing-settings-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
}

.chip-green { background: #effcf5; color: #21945f; }
.chip-blue { background: #eef5ff; color: #4a78de; }
.chip-amber { background: #fff6eb; color: #e38b1f; }
.chip-mint { background: #effbf5; color: #279a7b; }
.chip-sky { background: #eef5ff; color: #3579ea; }
.chip-rose { background: #fff1f1; color: #da556b; }

.billing-settings-links {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.billing-settings-links a {
    text-decoration: none;
    font-weight: 600;
}

.billing-settings-subcard {
    margin: 0 18px 18px;
}

.billing-support-card {
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
}

.billing-support-card--primary {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.billing-support-card--secondary {
    background: linear-gradient(180deg, #fffdfa, #fff5e8);
}

.billing-support-card div {
    flex: 1;
}

.billing-support-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.billing-support-card p {
    margin: 0;
}

.billing-support-card a {
    text-decoration: none;
    color: #2468f0;
    font-weight: 800;
}

body.billing-drawer-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .billing-settings-grid--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .billing-topbar,
    .billing-settings-topbar,
    .billing-settings-lower,
    .billing-settings-support {
        grid-template-columns: 1fr;
    }

    .billing-topbar-actions {
        justify-content: flex-start;
    }

    .billing-org-drawer {
        right: 16px;
        top: 96px;
    }
}

@media (max-width: 720px) {
    .billing-topbar,
    .billing-settings-main,
    .billing-settings-topbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .billing-search-shell,
    .billing-settings-search {
        min-width: 0;
    }

    .billing-settings-grid--five,
    .billing-settings-grid--two,
    .billing-app-grid {
        grid-template-columns: 1fr;
    }

    .billing-side-drawer,
    .billing-org-drawer {
        width: calc(100vw - 12px);
        right: 6px;
    }

    .billing-side-drawer {
        top: 6px;
        height: calc(100vh - 12px);
    }

    .billing-drawer-panel,
    .billing-org-panel {
        border-radius: 24px;
    }
}

/* Billing clone layer */
.billing-topbar-shell {
    margin: -32px -32px 20px;
}

.billing-verify-strip {
    min-height: 38px;
    background: #f9f8d9;
    border-bottom: 1px solid #ece7b7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #c45e19;
    font-size: 13px;
}

.billing-verify-strip button {
    height: 28px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #27be62;
    color: #fff;
    font-weight: 700;
}

.billing-topbar-shell .billing-topbar {
    position: static;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 18px;
    background: #fff;
    border-bottom: 1px solid #e8edf4;
    grid-template-columns: minmax(280px, 1fr) auto;
}

.billing-refresh-btn,
.billing-topbar-plain,
.billing-avatar-trigger,
.billing-close-x,
.billing-icon-ghost,
.billing-notif-tabs button,
.billing-plus-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.billing-refresh-btn {
    width: 32px;
    height: 32px;
    color: #3b4558;
    font-size: 22px;
}

.billing-search-shell {
    max-width: 376px;
    min-height: 44px;
    border-radius: 12px;
    background: #f3f4fb;
    border-color: #d9dfeb;
    padding: 0 12px 0 0;
    gap: 0;
    overflow: hidden;
}

.billing-search-prelude {
    width: 50px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d8dfeb;
    color: #26344d;
}

.billing-search-shell input {
    padding: 0 12px;
    font-size: 16px;
}

.billing-topbar-actions {
    gap: 18px;
    flex-wrap: nowrap;
}

.billing-trial-copy,
.billing-subscribe-link,
.billing-org-trigger,
.billing-topbar-plain {
    font-size: 15px;
    color: #151e2f;
}

.billing-subscribe-link {
    text-decoration: none;
    color: #2468f0;
}

.billing-org-trigger {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #151e2f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.billing-plus-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #25c16f;
    color: #fff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.billing-topbar-plain {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.billing-avatar-trigger {
    padding: 0;
}

.billing-avatar-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f6f9, #dfe5ec);
    border: 1px solid #cfd6df;
    color: transparent;
    display: inline-flex;
}

.billing-drawer-overlay {
    background: rgba(17, 22, 34, 0.46);
}

.billing-org-drawer {
    top: 86px;
    right: 0;
    width: min(500px, 100vw);
    transform: translateX(24px);
}

.billing-side-drawer {
    width: min(500px, 100vw);
}

.billing-side-panel {
    height: 100%;
    background: #fff;
    box-shadow: -14px 0 32px rgba(30, 40, 60, 0.14);
    overflow-y: auto;
}

.billing-side-panel--org {
    min-height: calc(100vh - 86px);
}

.billing-side-panel--popover {
    position: fixed;
    top: 112px;
    left: 50%;
    transform: translateX(-34%);
    width: min(1040px, calc(100vw - 120px));
    height: auto;
    border-radius: 12px;
    box-shadow: 0 22px 40px rgba(33, 43, 67, 0.18);
    padding: 30px 28px;
    overflow: visible;
}

#createDrawer {
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    transform: none;
    pointer-events: none;
}

#createDrawer.is-open {
    pointer-events: auto;
}

#createDrawer .billing-side-panel {
    height: auto;
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

#createDrawer .billing-side-panel--popover {
    position: absolute;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100vw - 72px));
    max-height: calc(100vh - 132px);
    padding: 34px 36px;
    overflow: auto;
}

.billing-side-panel-head {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7edf4;
}

.billing-side-panel-head h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.billing-side-panel-head-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.billing-side-panel-head-actions a {
    color: #2468f0;
    text-decoration: none;
    font-size: 15px;
}

.billing-close-x,
.billing-icon-ghost {
    color: #ff4b4b;
    font-size: 18px;
}

.billing-icon-ghost {
    color: #677487;
}

.billing-side-panel-section-label {
    padding: 14px 24px;
    font-size: 18px;
    border-bottom: 1px solid #eef2f7;
}

.billing-org-list-card {
    margin: 22px 24px;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #dde4ef;
}

.billing-org-list-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #dbe6f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d6fe9;
}

.billing-org-list-copy strong,
.billing-app-list-item strong,
.billing-profile-person-name {
    display: block;
    font-size: 16px;
    color: #101827;
}

.billing-org-list-copy span,
.billing-app-list-item small,
.billing-profile-person-mail,
.billing-profile-ids {
    color: #637089;
    font-size: 13px;
}

.billing-org-list-check {
    color: #4584ef;
    font-size: 24px;
}

.billing-create-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 34px 42px;
    align-items: start;
}

.billing-create-col {
    display: grid;
    gap: 18px;
    align-content: start;
    min-width: 0;
}

.billing-create-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: #677487;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.billing-create-col a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    text-decoration: none;
    color: #394761;
    font-size: 16px;
    line-height: 1.35;
}

.billing-create-col a i {
    color: #a7adbe;
    font-size: 14px;
}

.billing-notif-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    border-bottom: 1px solid #e8edf4;
}

.billing-notif-tabs button {
    padding: 14px 0 12px;
    font-size: 15px;
    color: #334157;
}

.billing-notif-tabs button.is-active {
    color: #0f1930;
    box-shadow: inset 0 -3px 0 #4d87ef;
    font-weight: 700;
}

.billing-notif-filter {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.billing-notif-body {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #1d2435;
    text-align: center;
    font-size: 18px;
    padding: 30px;
}

.billing-notif-illustration {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f4f7fb;
    color: #f45959;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 74px;
}

.billing-app-drawer-section {
    padding: 24px;
    border-top: 1px solid #edf2f7;
}

.billing-app-drawer-title {
    margin-bottom: 18px;
    font-size: 16px;
    color: #62718b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.billing-app-list {
    display: grid;
    gap: 20px;
}

.billing-app-list-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #dfe6f1;
    border-radius: 16px;
    text-decoration: none;
}

.billing-app-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 19px;
}

.billing-app-logo.is-blue { background: #eef4ff; color: #2f6fe5; }
.billing-app-logo.is-red { background: #fff1ef; color: #ff4f4f; }
.billing-app-logo.is-green { background: #eefcf4; color: #16a34a; }
.billing-app-logo.is-amber { background: #fff7eb; color: #d97706; }

.billing-app-category {
    margin-top: 26px;
}

.billing-app-category h3 {
    margin: 0 0 16px;
    font-size: 14px;
    color: #62718b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.billing-app-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
}

.billing-app-icon-grid span {
    min-height: 72px;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    color: #213147;
    background: #fff;
}

.billing-profile-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 24px 14px;
}

.billing-profile-head-main {
    display: flex;
    gap: 14px;
}

.billing-profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f4f6f9, #dde4ec);
    color: transparent;
    display: inline-flex;
}

.billing-profile-person-mail {
    margin-top: 4px;
}

.billing-profile-ids {
    padding: 0 24px 18px;
    border-bottom: 1px solid #e7edf4;
}

.billing-profile-links-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #e7edf4;
}

.billing-profile-links-row a {
    text-decoration: none;
    color: #2468f0;
    font-size: 15px;
}

.billing-profile-links-row a.is-danger {
    color: #ff4b4b;
}

.billing-profile-trial {
    padding: 14px 24px 22px;
    color: #5b6880;
    font-size: 14px;
}

.billing-profile-trial a {
    color: #2468f0;
    text-decoration: none;
}

.billing-profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 24px 20px;
}

.billing-mini-card,
.billing-tip-card {
    min-height: 116px;
    border-radius: 14px;
    background: #fafbfd;
    border: 1px solid #edf2f7;
    text-decoration: none;
    color: #233045;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
}

.billing-accessibility-row {
    margin: 0 24px 22px;
    min-height: 52px;
    border-radius: 12px;
    border: 1px solid #dbe4ef;
    background: #fbfcfe;
    text-decoration: none;
    color: #2b374d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.billing-profile-help-block {
    padding: 0 24px 22px;
}

.billing-profile-help-block h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #2b364d;
}

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

.billing-mobile-app-card {
    margin: 0 24px 24px;
    padding: 18px;
    border-top: 1px solid #e7edf4;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: center;
}

.billing-mobile-app-card p {
    margin: 6px 0 0;
    color: #637089;
}

.billing-qr-box {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    border: 1px solid #d7e0ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.billing-settings-clone {
    background: #f6f8fd;
}

.billing-verify-strip--settings {
    position: sticky;
    top: 0;
    z-index: 15;
}

.billing-settings-topbar--clone {
    top: 38px;
    padding: 22px 32px 20px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(41, 55, 88, 0.06);
    grid-template-columns: 1fr minmax(360px, 440px) auto;
}

.billing-settings-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.billing-settings-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid #dbe6ef;
    color: #1ec06d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.billing-settings-brand-copy h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.billing-settings-brand-copy p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #5e6b84;
}

.billing-settings-search--clone {
    min-height: 52px;
    border-color: #6da2ff;
    box-shadow: 0 0 0 4px rgba(79, 132, 242, 0.08);
    border-radius: 16px;
}

.billing-settings-search--clone input {
    font-size: 18px;
}

.billing-settings-close--clone {
    min-height: 42px;
    padding: 0 16px;
    background: #f7f7fb;
}

.billing-settings-main--clone {
    max-width: 1700px;
    padding: 34px 112px 56px;
}

.billing-settings-section--clone {
    padding: 28px 18px 30px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.84);
    border-radius: 26px;
}

.billing-settings-section--clone h2 {
    margin: 0 20px 26px;
    font-size: 22px;
    font-weight: 600;
}

.billing-settings-card--clone,
.billing-settings-card--module {
    min-height: 480px;
    border-radius: 18px;
    box-shadow: none;
    border: 1px solid #e7edf5;
}

.billing-settings-card--module {
    min-height: 306px;
}

.billing-settings-chip.chip-amber-soft {
    background: #fff2ec;
    color: #fb7b34;
}

.billing-settings-links {
    gap: 22px;
}

.billing-settings-links a {
    font-size: 17px;
    color: #162237;
}

.billing-settings-subcard {
    box-shadow: none;
    border: 1px solid #e7edf5;
    margin-top: 8px;
}

@media (max-width: 1280px) {
    .billing-create-grid,
    .billing-settings-grid--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .billing-settings-main--clone {
        padding-left: 32px;
        padding-right: 32px;
    }

    .billing-side-panel--popover {
        left: 24px;
        right: 24px;
        width: auto;
        transform: none;
    }

    #createDrawer .billing-side-panel--popover {
        left: 24px;
        right: 24px;
        width: auto;
        transform: none;
        padding: 28px 26px;
    }
}

@media (max-width: 1080px) {
    .billing-create-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 32px;
    }
}

@media (max-width: 860px) {
    .billing-topbar-shell {
        margin-left: -16px;
        margin-right: -16px;
    }

    .billing-topbar-shell .billing-topbar,
    .billing-settings-topbar--clone {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .billing-topbar-actions,
    .billing-profile-cards-grid,
    .billing-profile-help-grid,
    .billing-app-icon-grid,
    .billing-settings-grid--two,
    .billing-settings-grid--five,
    .billing-create-grid {
        grid-template-columns: 1fr;
    }

    .billing-topbar-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .billing-side-panel--popover {
        top: 96px;
    }

    #createDrawer .billing-side-panel--popover {
        top: 84px;
        left: 12px;
        right: 12px;
        padding: 24px 20px;
        max-height: calc(100vh - 104px);
    }

    .billing-settings-main--clone {
        padding: 24px 16px 40px;
    }
}

/* Customer flow clone */
.sidebar-inline-plus {
    margin-left: auto;
    font-size: 14px;
}

.customer-shell .dashboard-main {
    background: #fff;
}

.customer-layout,
.customer-form-page,
.customer-import-page {
    padding: 0;
    background: #fff;
}

.customer-empty-screen,
.customer-split-view,
.customer-form-card,
.customer-import-card {
    border-top: 1px solid #e7edf4;
}

.customer-empty-header,
.customer-list-head,
.customer-detail-top,
.customer-form-header {
    min-height: 78px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7edf4;
}

.customer-empty-header h1,
.customer-list-head h1,
.customer-detail-top h2,
.customer-form-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.customer-empty-actions,
.customer-list-actions,
.customer-detail-actions,
.customer-empty-cta,
.customer-form-footer,
.customer-inline-grid,
.customer-radio-row,
.customer-empty-benefits-grid,
.customer-benefits-grid {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-btn,
.customer-icon-btn,
.contact-add-btn,
.upload-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #d6deea;
    background: #fff;
    color: #111b2d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.customer-btn--green,
.customer-icon-btn--green {
    background: #29ba69;
    border-color: #29ba69;
    color: #fff;
}

.customer-btn--danger {
    background: #fff5f6;
    border-color: #f4c9cf;
    color: #cc3348;
}

.customer-detail-actions form {
    margin: 0;
}

.customer-icon-btn {
    width: 40px;
    padding: 0;
}

.customer-empty-body {
    min-height: 680px;
    padding: 70px 24px;
    text-align: center;
}

.customer-empty-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f0f4fb;
    color: #7e8dad;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.customer-empty-body h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.customer-empty-body p,
.customer-tab-panel--empty p,
.customer-empty-copy {
    color: #5f6e88;
    line-height: 1.7;
}

.customer-benefits {
    width: min(880px, 100%);
    margin: 56px auto 0;
    padding: 26px 36px;
    border: 1px solid #dfe6f1;
    border-radius: 20px;
    background: #fbfcff;
    text-align: left;
}

.customer-benefits h3 {
    margin: 0 0 18px;
}

.customer-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}

.customer-benefits-grid span::before {
    content: "\2713";
    color: #1fa45c;
    margin-right: 10px;
}

.customer-split-view {
    display: grid;
    grid-template-columns: 450px 1fr;
    min-height: calc(100vh - 160px);
}

.customer-list-panel {
    border-right: 1px solid #dfe6f1;
    background: #fff;
}

.customer-list-body {
    display: grid;
}

.customer-row {
    padding: 18px 18px 18px 52px;
    border-bottom: 1px solid #e9eef5;
    text-decoration: none;
    color: #172235;
    position: relative;
    background: #fff;
}

.customer-row::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid #c9d5e4;
    border-radius: 3px;
    position: absolute;
    left: 18px;
    top: 24px;
    background: #fff;
}

.customer-row.is-active {
    background: #f1f3ff;
}

.customer-row-name {
    font-size: 18px;
    margin-bottom: 8px;
}

.customer-row-amount {
    color: #495977;
}

.customer-detail-panel {
    background: #fff;
}

.customer-detail-panel.is-hidden {
    display: none;
}

.customer-detail-tabs,
.customer-tab-bar {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 18px;
    border-bottom: 1px solid #e6edf5;
}

.customer-detail-tabs a,
.customer-tab-bar button {
    padding: 18px 0 14px;
    text-decoration: none;
    background: transparent;
    border: 0;
    color: #2d3a53;
    font-size: 16px;
    cursor: pointer;
}

.customer-detail-tabs a.is-active,
.customer-tab-bar button.is-active {
    color: #111b2d;
    box-shadow: inset 0 -3px 0 #4d87ef;
    font-weight: 700;
}

.customer-detail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
}

.customer-detail-tab-panel {
    display: none;
}

.customer-detail-tab-panel.is-active {
    display: block;
}

.customer-detail-left {
    border-right: 1px solid #e7edf4;
    padding: 0 24px 28px;
}

.customer-contact-card {
    margin: 4px 0 18px;
    padding: 18px;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    background: #f8f9ff;
}

.customer-contact-card-top {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    align-items: start;
}

.customer-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #d9dde6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.customer-contact-summary {
    min-width: 0;
}

.customer-contact-gear {
    border: 0;
    background: transparent;
    color: #2a3448;
    cursor: pointer;
}

.customer-contact-card p {
    color: #6a7690;
    text-align: center;
}

.customer-contact-card a {
    color: #2468f0;
    text-decoration: none;
}

.customer-contact-name {
    font-weight: 700;
    font-size: 16px;
}

.customer-contact-mail,
.customer-contact-phone {
    margin-top: 4px;
    color: #26344d;
}

.customer-info-block {
    padding: 18px 0;
    border-top: 1px solid #e8eef6;
}

.customer-info-block h3,
.customer-receivable-block h3,
.customer-chart-block h3 {
    margin: 0 0 18px;
    font-size: 16px;
}

.customer-info-block h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.customer-info-block h3 button,
.customer-block-actions button {
    border: 0;
    background: transparent;
    color: #397ef0;
    cursor: pointer;
    padding: 0;
}

.customer-block-actions a {
    color: #397ef0;
    text-decoration: none;
}

.customer-block-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.customer-info-block.is-collapsed [data-customer-collapse-toggle] i {
    transform: rotate(-90deg);
}

.customer-info-block [data-customer-collapse-toggle] i {
    transition: transform 0.2s ease;
}

.customer-address-group + .customer-address-group {
    margin-top: 14px;
}

.customer-address-label {
    font-size: 16px;
    margin-bottom: 6px;
}

.customer-address-value {
    color: #637089;
    line-height: 1.6;
}

.customer-address-value a {
    color: #2468f0;
    text-decoration: none;
}

.customer-info-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 8px 0;
}

.customer-info-row span {
    color: #677487;
}

.customer-info-row strong.is-danger {
    color: #ef4444;
}

.customer-portal-card {
    margin: 18px 0;
    padding: 24px;
    border: 1px solid #cfe9c9;
    background: #effdea;
    text-align: center;
}

.customer-detail-right {
    padding: 26px 26px 40px;
}

.customer-receivable-block table {
    width: 100%;
    border-collapse: collapse;
}

.customer-receivable-block th,
.customer-receivable-block td {
    padding: 14px 18px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
}

.customer-receivable-block th {
    color: #66748d;
    font-size: 13px;
}

.customer-subscription-empty {
    margin: 24px 0;
    min-height: 250px;
    border: 1px dashed #d5dde8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #5f6e88;
}

.customer-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.customer-chart-head span {
    color: #2468f0;
}

.customer-chart-grid {
    height: 180px;
    margin: 18px 0 14px;
    background:
        linear-gradient(#edf2f7 1px, transparent 1px),
        linear-gradient(90deg, transparent calc(100% / 6 - 1px), #edf2f7 calc(100% / 6 - 1px), #edf2f7 calc(100% / 6), transparent calc(100% / 6));
    background-size: 100% 26px, calc(100% / 6) 100%;
}

.customer-chart-total {
    font-size: 17px;
    font-weight: 600;
}

.customer-timeline {
    margin-top: 34px;
    display: grid;
    gap: 18px;
}

.customer-timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: start;
}

.customer-timeline-time {
    color: #1f2b3d;
    line-height: 1.6;
}

.customer-timeline-card {
    padding: 20px 26px;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    min-height: 104px;
    position: relative;
}

.customer-timeline-card::before {
    content: "";
    position: absolute;
    left: -52px;
    top: 28px;
    width: 1px;
    height: 120px;
    background: #4d87ef;
}

.customer-timeline-card::after {
    content: "";
    position: absolute;
    left: -60px;
    top: 22px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #5a90ef;
    background: #fff;
}

.customer-timeline-card strong,
.customer-timeline-card span {
    display: block;
}

.customer-timeline-card span {
    margin-top: 14px;
    color: #52617c;
}

.customer-close-mark {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 22px;
    cursor: pointer;
}

.customer-pop-menu,
.customer-pop-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(30, 44, 74, 0.14);
    padding: 10px 0;
    z-index: 10;
}

.customer-menu-wrap {
    position: relative;
}

.customer-pop-submenu {
    left: calc(100% + 6px);
    top: 0;
}

.menu-item {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    color: #344157;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.menu-item:hover {
    background: #4285f4;
    color: #fff;
}

.menu-item span {
    flex: 1;
    text-align: left;
}

.customer-flash {
    margin: 14px 24px 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ecfff4;
    border: 1px solid #bfe8cf;
    color: #0c7a43;
}

.customer-list-body.is-filter-empty::after {
    content: "No customers match your search.";
    padding: 24px;
    color: #6b7280;
}

.customer-detail-placeholder {
    padding: 34px 28px;
    min-height: 340px;
}

.customer-detail-placeholder h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.customer-detail-placeholder p {
    color: #5f6e88;
}

.customer-runtime-note {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    padding: 12px 16px;
    border-radius: 12px;
    background: #111b2d;
    color: #fff;
    box-shadow: 0 14px 30px rgba(17, 27, 45, 0.2);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.customer-runtime-note.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.customer-attachment-modal {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 23, 42, 0.08);
}

.customer-attachment-card {
    position: absolute;
    top: 132px;
    right: 220px;
    width: 390px;
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(17, 27, 45, 0.16);
    overflow: hidden;
}

.customer-attachment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid #edf2f7;
}

.customer-attachment-head h3 {
    margin: 0;
    font-size: 16px;
}

.customer-attachment-head button {
    border: 0;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
}

.customer-attachment-empty {
    padding: 22px 16px;
    text-align: center;
    color: #4b5563;
    border-bottom: 1px solid #edf2f7;
}

.customer-attachment-upload {
    padding: 14px 18px 18px;
}

.customer-attachment-upload-btn {
    width: 100%;
    min-height: 74px;
    border: 1px dashed #d5deea;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.customer-attachment-copy {
    margin-top: 10px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.customer-attachment-options {
    margin-top: 8px;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(17, 27, 45, 0.12);
    overflow: hidden;
    background: #fff;
}

.customer-attachment-options button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    background: #fff;
    text-align: left;
    font: inherit;
    color: #374151;
    cursor: pointer;
}

.customer-attachment-options button.is-active,
.customer-attachment-options button:hover {
    background: #4285f4;
    color: #fff;
}

.customer-attachment-clouds {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 16px 18px;
    color: #2563eb;
    font-size: 22px;
}

.customer-form-card {
    background: #fff;
}

.customer-prefill-bar {
    min-height: 52px;
    padding: 0 18px;
    background: #eaf3ff;
    color: #19304c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-prefill-bar a {
    color: #2468f0;
    text-decoration: none;
}

.customer-error-banner {
    margin: 20px 26px 0;
    min-height: 60px;
    padding: 0 18px;
    border-radius: 12px;
    background: #fdeeee;
    color: #1f2430;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: 200px minmax(320px, 1fr);
    gap: 16px 24px;
    padding: 22px 26px 0;
    max-width: 1040px;
    align-items: center;
}

.customer-form-grid label {
    font-size: 16px;
}

.customer-label-hint {
    margin-left: 6px;
    font-size: 15px;
    color: #6f7d95;
}

.customer-form-grid label.is-required {
    color: #d32f2f;
}

.customer-form-grid input,
.customer-form-grid select,
.customer-form-grid textarea,
.contact-person-row select,
.contact-person-row input,
.remarks-box {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cfd7e6;
    border-radius: 10px;
    padding: 0 14px;
    font: inherit;
    color: #2d3a53;
    background: #fff;
}

.customer-form-grid textarea,
.remarks-box {
    min-height: 84px;
    padding: 12px 14px;
    resize: vertical;
}

.customer-inline-grid--three {
    display: grid;
    grid-template-columns: 174px 1fr 1fr;
}

.customer-inline-grid--phone {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.customer-inline-grid {
    gap: 12px;
}

.customer-radio-row {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 44px;
}

.customer-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.phone-field {
    display: grid;
    grid-template-columns: 86px 1fr;
}

.phone-field span {
    min-height: 44px;
    border: 1px solid #cfd7e6;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.phone-field input {
    border-radius: 0 10px 10px 0;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.customer-prefix-field {
    display: grid;
    grid-template-columns: 42px 1fr;
}

.customer-prefix-field span {
    min-height: 44px;
    border: 1px solid #cfd7e6;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #35507e;
    font-weight: 700;
}

.customer-prefix-field input {
    border-radius: 0 10px 10px 0;
}

.field-error {
    color: #ff3b3b;
    margin-top: 8px;
    font-size: 14px;
}

.customer-form-grid input.is-invalid,
.customer-form-grid select.is-invalid,
.customer-form-grid textarea.is-invalid {
    border-color: #ff5b5b;
}

.customer-form-grid input.is-invalid:focus,
.customer-form-grid select.is-invalid:focus,
.customer-form-grid textarea.is-invalid:focus {
    outline: none;
    border-color: #ff5b5b;
    box-shadow: 0 0 0 3px rgba(255, 91, 91, 0.12);
}

/* Prevent browser default red text on invalid inputs */
.customer-form-grid input:invalid,
.customer-form-grid select:invalid,
.customer-form-grid textarea:invalid {
    color: inherit;
}

.customer-form-grid input:invalid:focus,
.customer-form-grid select:invalid:focus,
.customer-form-grid textarea:invalid:focus {
    color: inherit;
}

/* Soften required labels */
.customer-form-grid label.is-required {
    color: #d32f2f;
}


.helper-text {
    margin-top: 8px;
    color: #74829a;
}

.customer-more-fields[hidden] {
    display: none;
}

.customer-form-grid--sub {
    padding-top: 0;
}

.customer-tab-panel {
    display: none;
    padding-bottom: 22px;
}

.customer-tab-panel.is-active {
    display: block;
}

.customer-tab-panel--empty {
    min-height: 320px;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 44px 26px;
}

.customer-tab-panel--empty.is-active {
    display: flex;
}

.customer-tab-panel--empty p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

.customer-add-more {
    display: inline-block;
    margin: 20px 26px 0;
    color: #2468f0;
    text-decoration: none;
    font-size: 16px;
}

.address-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 28px 26px 0;
}

.address-dual-grid h3 {
    margin: 0 0 18px;
    font-size: 20px;
}

.address-dual-grid h3 a {
    color: #2468f0;
    text-decoration: none;
    font-size: 14px;
}

.customer-note-box {
    margin: 26px;
    padding: 0 0 0 18px;
    border-left: 3px solid #f59e0b;
}

.customer-note-box p {
    margin: 8px 0;
}

.customer-note-box ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.customer-note-box li + li {
    margin-top: 8px;
}

.contact-person-table {
    padding: 26px;
}

.contact-person-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.contact-person-head,
.contact-person-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
}

.contact-person-head {
    border-bottom: 1px solid #dfe6f1;
    color: #65748e;
    font-size: 13px;
}

.contact-person-head span {
    padding: 14px 16px;
}

.contact-person-row input {
    border-radius: 0;
    border-right: 0;
}

.contact-person-row select,
.contact-person-row .phone-field {
    border-right: 0;
}

.contact-person-row select {
    border-radius: 0;
}

.contact-person-row .phone-field span,
.contact-person-row .phone-field input {
    border-radius: 0;
}

.contact-person-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 14px;
}

.contact-person-actions button {
    border: 0;
    background: transparent;
    color: #5d6981;
    cursor: pointer;
    font-size: 18px;
}

.contact-person-row input:last-child {
    border-right: 1px solid #cfd7e6;
}

.contact-add-btn {
    margin-top: 24px;
    background: #eef1fb;
    color: #3f4f73;
}

.upload-btn i:last-child {
    margin-left: 10px;
    font-size: 12px;
}

.remarks-label {
    display: block;
    margin: 26px 26px 12px;
    font-size: 16px;
}

.remarks-label span {
    color: #77849b;
}

.remarks-box {
    margin: 0 26px;
    width: calc(100% - 52px);
}

.customer-form-footer {
    position: sticky;
    bottom: 0;
    padding: 18px 26px;
    background: #fff;
    border-top: 1px solid #e7edf4;
}

.customer-import-card {
    padding: 24px 26px 80px;
}

.customer-import-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

.customer-import-steps {
    display: flex;
    justify-content: center;
    gap: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e7edf4;
}

.customer-import-steps span {
    color: #cad0dd;
    font-size: 18px;
}

.customer-import-steps span.is-active {
    color: #111b2d;
}

.customer-upload-dropzone {
    width: min(800px, 100%);
    margin: 36px auto 24px;
    min-height: 324px;
    border: 1px dashed #d6deea;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #fafcff;
}

.customer-upload-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(30, 44, 74, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a86a3;
    font-size: 30px;
}

.customer-upload-dropzone h2 {
    margin: 0;
    font-size: 22px;
}

.customer-upload-dropzone p,
.customer-import-help {
    color: #62708a;
    text-align: center;
}

.customer-duplicate-block {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    width: min(900px, 100%);
    margin: 26px auto 0;
}

.customer-duplicate-options {
    display: grid;
    gap: 16px;
}

.customer-duplicate-options p {
    margin: -8px 0 8px 28px;
    color: #6b7892;
}

.customer-import-alert,
.customer-import-notes,
.customer-import-results {
    width: min(900px, 100%);
    margin: 24px auto 0;
    border-radius: 16px;
    border: 1px solid #dfe7f2;
    background: #fff;
}

.customer-import-alert {
    padding: 16px 18px;
    color: #203049;
}

.customer-import-alert--error {
    border-color: #f3c6cb;
    background: #fff5f6;
    color: #b22b3b;
}

.customer-import-alert--success {
    border-color: #ccebd8;
    background: #effbf3;
    color: #17663e;
}

.customer-import-help--left {
    text-align: left;
}

.customer-choice-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #dfe6f1;
    border-radius: 14px;
    background: #fff;
}

.customer-choice-card input {
    margin-top: 4px;
}

.customer-choice-card span {
    display: grid;
    gap: 6px;
}

.customer-choice-card small {
    color: #697892;
    line-height: 1.6;
}

.customer-import-notes {
    padding: 22px 24px;
    background: #fbfcff;
}

.customer-import-notes h3,
.customer-import-results h3,
.customer-duplicate-block h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.customer-import-notes p {
    margin: 0 0 10px;
    color: #607089;
    line-height: 1.7;
}

.customer-import-notes a {
    color: #2468f0;
    font-weight: 700;
    text-decoration: none;
}

.customer-import-results {
    padding: 22px 24px;
}

.customer-import-table {
    width: 100%;
    border-collapse: collapse;
}

.customer-import-table th,
.customer-import-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e8eef5;
    text-align: left;
}

.customer-import-table th {
    color: #607089;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.customer-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.customer-status-pill--created,
.customer-status-pill--updated {
    background: #effbf3;
    border-color: #ccebd8;
    color: #17663e;
}

.customer-status-pill--skipped,
.customer-status-pill--ignored {
    background: #f4f7fb;
    border-color: #dfe7f2;
    color: #56657f;
}

.customer-status-pill--failed {
    background: #fff5f6;
    border-color: #f3c6cb;
    color: #b22b3b;
}

.customer-import-results-link {
    margin-top: 16px;
}

.customer-import-results-link a {
    color: #2468f0;
    font-weight: 700;
    text-decoration: none;
}

.customer-import-page {
    min-height: calc(100vh - 160px);
    background: #fff;
}

.customer-import-wizard {
    border-top: 1px solid #e7edf4;
}

.customer-import-wizard-head {
    min-height: 96px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.customer-import-wizard-head h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.customer-import-close {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: #fb5b64;
    text-decoration: none;
    font-size: 26px;
}

.customer-import-steps--wizard {
    gap: 28px;
    padding: 0 24px 24px;
}

.customer-import-steps--wizard span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #cad0dd;
    font-size: 16px;
    font-weight: 700;
}

.customer-import-steps--wizard span i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dce5f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-style: normal;
    background: #fff;
}

.customer-import-steps--wizard span.is-active,
.customer-import-steps--wizard span.is-done {
    color: #111b2d;
}

.customer-import-steps--wizard span.is-active i {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.customer-import-steps--wizard span.is-done i {
    background: #17a460;
    border-color: #17a460;
    color: #fff;
}

.customer-import-stage {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 44px;
}

.customer-upload-dropzone--wizard {
    min-height: 0;
    margin-top: 8px;
    padding: 0;
    background: #fff;
}

.customer-upload-area {
    width: 100%;
    min-height: 324px;
    padding: 32px 24px;
    border: 1px dashed #d6deea;
    border-radius: 18px;
    background: #fafcff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    cursor: pointer;
}

.customer-upload-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-upload-area p {
    margin: 0;
    color: #66748d;
}

.customer-upload-area p span {
    padding: 0 6px;
}

.customer-import-sample-copy {
    width: min(800px, 100%);
    margin: 20px auto 0;
    color: #45536a;
    text-align: left;
    line-height: 1.7;
}

.customer-import-sample-copy a {
    color: #2468f0;
    text-decoration: none;
    font-weight: 700;
}

.customer-import-config-grid {
    width: min(1000px, 100%);
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px 36px;
    align-items: start;
}

.customer-import-config-grid > label {
    color: #111b2d;
    font-size: 16px;
    padding-top: 8px;
}

.customer-import-config-grid > label span {
    color: #ef4444;
}

.customer-import-choice-list {
    display: grid;
    gap: 22px;
}

.customer-import-radio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.customer-import-radio span {
    display: grid;
    gap: 8px;
}

.customer-import-radio small {
    color: #6a7891;
    line-height: 1.6;
}

.customer-import-select,
.customer-map-row select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d6deea;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    color: #111b2d;
}

.customer-import-tips {
    width: min(800px, 100%);
    margin: 28px auto 0;
    padding: 24px 28px;
    border-radius: 18px;
    background: #f5f7fb;
}

.customer-import-tips h3 {
    margin: 0 0 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-import-tips h3 i {
    color: #f5b301;
}

.customer-import-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #223148;
    line-height: 1.8;
}

.customer-import-actions {
    width: min(800px, 100%);
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #e7edf4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.customer-import-actions form {
    margin: 0;
}

.customer-import-file-meta {
    margin-bottom: 18px;
    color: #243248;
    font-size: 17px;
}

.customer-import-info-bar {
    margin-bottom: 28px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #eaf3ff;
    color: #20426d;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-map-section h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.customer-map-table {
    border-top: 1px solid #e7edf4;
}

.customer-map-head,
.customer-map-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr);
    gap: 20px;
    align-items: center;
}

.customer-map-head {
    padding: 14px 0;
    color: #697892;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.customer-map-row {
    padding: 10px 0;
    border-top: 1px solid #eef2f7;
}

.customer-map-row span {
    color: #111b2d;
}

.customer-import-preview-card {
    border: 1px solid #e5ecf5;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.customer-views-page,
.customer-custom-view-page {
    padding: 0 0 28px;
}

.customer-views-card,
.customer-custom-view-card {
    background: #fff;
    border-top: 1px solid #e7edf4;
    min-height: calc(100vh - 140px);
}

.customer-views-head,
.customer-custom-view-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 26px;
}

.customer-view-picker,
.customer-menu-wrap--table {
    position: relative;
}

.customer-view-trigger {
    border: 0;
    background: transparent;
    padding: 0;
    color: #111b2d;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.customer-view-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-btn--icon {
    width: 40px;
    justify-content: center;
    padding: 0;
}

.customer-view-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 370px;
    background: #fff;
    border: 1px solid #e2e8f2;
    border-radius: 12px;
    box-shadow: 0 20px 34px rgba(28, 43, 69, 0.14);
    z-index: 20;
    overflow: hidden;
}

.customer-view-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #e8edf4;
}

.customer-view-search input,
.customer-columns-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d3dced;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
}

.customer-view-list {
    max-height: 420px;
    overflow: auto;
}

.customer-view-option,
.customer-view-new-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    color: #394761;
    text-decoration: none;
}

.customer-view-option:hover,
.customer-view-new-link:hover {
    background: #f6f9fe;
}

.customer-view-new-link {
    border-top: 1px solid #e8edf4;
    justify-content: flex-start;
    color: #2468f0;
    font-weight: 700;
}

.customer-pop-menu--table {
    right: 0;
    left: auto;
    min-width: 222px;
}

.customer-table-wrap {
    overflow: auto;
}

.customer-table-view {
    width: 100%;
    border-collapse: collapse;
}

.customer-table-view thead th {
    padding: 14px 16px;
    color: #65748e;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    border-top: 1px solid #e7edf4;
    border-bottom: 1px solid #e7edf4;
    white-space: nowrap;
}

.customer-table-view tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid #e8eef5;
    color: #1f2c42;
    vertical-align: middle;
}

.customer-table-view tbody tr:hover {
    background: #f7f9fc;
}

.customer-table-filter-col,
.customer-table-icon-col {
    width: 58px;
}

.customer-table-filter-btn {
    border: 0;
    background: transparent;
    color: #2468f0;
    font-size: 16px;
    cursor: pointer;
}

.customer-table-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.customer-name-link {
    color: #2468f0;
    text-decoration: none;
    font-weight: 700;
}

.customer-table-empty {
    padding: 84px 20px !important;
    text-align: center;
    color: #6f7d96 !important;
    font-size: 18px;
}

.customer-status-dot {
    color: #22b46a;
    font-size: 24px;
}

.customer-custom-view-head {
    border-bottom: 1px solid #e7edf4;
}

.customer-custom-view-head h1 {
    margin: 0;
    font-size: 28px;
}

.customer-close-link {
    color: #7b8599;
    font-size: 24px;
    text-decoration: none;
}

.customer-custom-view-card form {
    padding-bottom: 24px;
}

.customer-custom-view-section {
    padding: 26px;
}

.customer-custom-view-section--header {
    display: grid;
    grid-template-columns: minmax(320px, 480px) auto;
    gap: 26px;
    align-items: end;
    background: #fafcff;
    border-bottom: 1px solid #edf2f8;
}

.customer-custom-view-section label > span {
    display: block;
    margin-bottom: 10px;
    color: #ef4444;
    font-size: 14px;
}

.customer-custom-view-section input[type="text"],
.customer-custom-view-section select {
    min-height: 42px;
    border: 1px solid #d3dced;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
}

.customer-favorite-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    color: #111b2d;
}

.customer-favorite-toggle input {
    display: none;
}

.customer-custom-view-section h2 {
    margin: 0 0 18px;
    font-size: 18px;
}

.customer-criteria-list {
    display: grid;
    gap: 16px;
}

.customer-criterion-row {
    display: grid;
    grid-template-columns: 56px minmax(200px, 240px) minmax(200px, 220px) minmax(220px, 1fr) 38px 38px;
    gap: 12px;
    align-items: center;
}

.customer-criterion-number {
    min-height: 42px;
    border: 1px solid #d3dced;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #394761;
}

.customer-criterion-add,
.customer-criterion-remove {
    border: 0;
    background: transparent;
    color: #6d7991;
    font-size: 24px;
    cursor: pointer;
}

.customer-criteria-logic-row select {
    min-width: 82px;
}

.customer-add-criterion-link {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #2468f0;
    font-size: 16px;
    cursor: pointer;
}

.customer-criteria-pattern {
    margin-top: 24px;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.customer-criteria-pattern span {
    color: #677487;
}

.customer-criteria-pattern strong {
    flex: 1;
    font-weight: 700;
}

.customer-criteria-pattern button {
    border: 0;
    background: transparent;
    color: #2468f0;
    cursor: pointer;
    font-size: 20px;
}

.customer-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.customer-columns-box {
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.customer-columns-title {
    padding: 16px 18px 10px;
    color: #55647e;
    font-size: 13px;
    font-weight: 800;
}

.customer-columns-title--selected {
    color: #24685c;
}

.customer-columns-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px 12px;
}

.customer-columns-list {
    max-height: 430px;
    overflow: auto;
    padding: 0 0 12px;
}

.customer-column-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: #1f2c42;
}

.customer-column-chip i {
    color: #7d889c;
}

.customer-visibility-card {
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.customer-visibility-title {
    width: 100%;
    color: #394761;
    font-weight: 700;
}

.customer-visibility-card label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d3dced;
    border-radius: 12px;
}

@media (max-width: 1280px) {
    .customer-split-view,
    .customer-detail-grid,
    .address-dual-grid,
    .customer-duplicate-block,
    .customer-import-config-grid,
    .customer-map-head,
    .customer-map-row {
        grid-template-columns: 1fr;
    }

    .customer-criterion-row,
    .customer-columns-grid,
    .customer-custom-view-section--header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .customer-form-grid,
    .customer-inline-grid--three,
    .customer-inline-grid--phone,
    .contact-person-head,
    .contact-person-row {
        grid-template-columns: 1fr;
    }

    .customer-detail-tabs,
    .customer-tab-bar {
        gap: 18px;
        overflow-x: auto;
    }

    .customer-empty-cta,
    .customer-detail-actions,
    .customer-form-footer,
    .customer-empty-actions,
    .customer-list-actions,
    .customer-import-actions,
    .customer-import-steps--wizard {
        flex-wrap: wrap;
    }

    .customer-import-stage {
        width: calc(100% - 24px);
    }

    .customer-import-actions {
        justify-content: flex-start;
    }
}

body.billing-auth-body {
    background:
        radial-gradient(circle at top left, rgba(18, 192, 90, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(39, 110, 241, 0.08), transparent 22%),
        #fbfcfe;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.billing-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 22px;
}

.billing-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, #20d36b, #08874f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.billing-logo-copy small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-shell {
    width: min(1420px, calc(100vw - 48px));
    margin: 28px auto;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 26px;
    align-items: stretch;
}

.auth-showcase,
.auth-panel {
    background: var(--surface);
    border-radius: 28px;
    box-shadow: var(--shadow);
    min-height: 880px;
    position: relative;
    overflow: hidden;
}

.auth-showcase {
    background:
        radial-gradient(circle at 18% 44%, rgba(81, 229, 152, 0.28), transparent 7%),
        radial-gradient(circle at 66% 88%, rgba(130, 219, 164, 0.2), transparent 9%),
        linear-gradient(180deg, #edfff1 0%, #eefcf5 100%);
    padding: 48px 54px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-showcase::before,
.auth-showcase::after {
    content: "";
    position: absolute;
    left: 64px;
    right: 64px;
    height: 1px;
    background: rgba(27, 117, 80, 0.18);
}

.auth-showcase::before {
    top: 126px;
}

.auth-showcase::after {
    bottom: 126px;
}

.showcase-copy {
    padding-top: 116px;
    text-align: center;
}

.showcase-copy h1,
.showcase-copy h2 {
    margin: 0 auto 20px;
    max-width: 620px;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.showcase-copy .accent {
    color: #08af61;
}

.showcase-copy p {
    margin: 0 auto;
    max-width: 540px;
    font-size: 20px;
    line-height: 1.7;
    color: #23413a;
}

.showcase-features,
.showcase-testimonial,
.showcase-proof {
    position: relative;
    z-index: 1;
}

.showcase-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0 20px;
}

.feature-pill {
    text-align: center;
}

.feature-pill .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d9c96;
}

.feature-pill h3,
.feature-pill p {
    margin: 0;
}

.feature-pill h3 {
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.showcase-dots,
.showcase-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 28px;
}

.showcase-dots span,
.showcase-testimonial-dots span {
    display: block;
    border-radius: 999px;
    background: rgba(23, 88, 61, 0.16);
}

.showcase-dots span {
    width: 28px;
    height: 5px;
}

.showcase-dots span.is-active,
.showcase-testimonial-dots span.is-active {
    background: #15b35b;
}

.showcase-proof {
    text-align: center;
}

.showcase-proof h4 {
    margin: 0 0 20px;
    color: #0a9152;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-logos {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    color: #344158;
    font-weight: 700;
}

.showcase-testimonial {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.showcase-testimonial blockquote {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.34;
    letter-spacing: -0.03em;
}

.showcase-testimonial-author {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.showcase-testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e0f0e5, #b8e6c8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #0c6542;
}

.showcase-testimonial-author strong,
.showcase-testimonial-author span {
    display: block;
    text-align: left;
}

.auth-panel {
    padding: 44px 56px 34px;
}

.auth-form-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.auth-title {
    margin: 30px 0 12px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.auth-subtitle {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 17px;
}

.field-list {
    display: grid;
    gap: 22px;
}

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

.field-group {
    position: relative;
}

.field-group label {
    position: absolute;
    top: -10px;
    left: 18px;
    padding: 0 8px;
    background: var(--surface);
    font-size: 14px;
    color: #111827;
    z-index: 1;
}

.field-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-shell:focus-within,
.field-shell.is-active {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.04);
}

.field-shell i {
    color: #6b7280;
}

.field-shell input,
.field-shell select {
    border: 0;
    outline: 0;
    width: 100%;
    min-height: 48px;
    color: var(--text);
    background: transparent;
}

.field-shell select {
    appearance: none;
}

.field-shell .select-caret {
    color: #6b7280;
}

.phone-split {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.phone-code {
    width: 82px;
    color: #4b5563;
    font-weight: 700;
}

.help-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

.help-note a {
    color: #0f172a;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #1f2937;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--green);
}

.checkbox-row a {
    color: #0d9c54;
    text-decoration: underline;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.tour-btn {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
}

.primary-btn {
    width: 100%;
    min-height: 62px;
    background: linear-gradient(180deg, #12e667 0%, #07d85c 100%);
    color: #072b17;
    font-size: 19px;
    box-shadow: 0 18px 28px rgba(18, 192, 90, 0.18);
}

.primary-btn.deep {
    background: #064c3b;
    color: #fff;
    box-shadow: none;
}

.secondary-btn,
.ghost-btn {
    min-height: 48px;
    padding: 0 20px;
    background: #eef3ff;
    color: #2351c7;
}

.ghost-btn {
    background: transparent;
    color: var(--muted);
}

.divider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 22px;
    color: var(--muted);
}

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

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.social-btn {
    min-height: 62px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: #3b4552;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.auth-footer {
    margin-top: 24px;
    font-size: 16px;
    color: var(--muted);
}

.auth-footer a {
    color: #2563eb;
    text-decoration: underline;
}

.error-banner,
.success-banner,
.info-banner {
    margin-bottom: 22px;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 15px;
}

.error-banner {
    background: #fff1f2;
    color: #b91c1c;
    border: 1px solid #fecdd3;
}

.success-banner {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.info-banner {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.field-error {
    margin-top: 8px;
    color: #cc2d38;
    font-size: 13px;
}

.otp-overlay-page {
    min-height: 100vh;
    padding: 22px;
    position: relative;
}

.otp-overlay-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(22, 30, 44, 0.58);
    backdrop-filter: blur(4px);
}

.otp-layout {
    position: relative;
}

.otp-modal {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 40px));
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 36px 80px rgba(16, 24, 40, 0.26);
    padding: 38px 44px;
    text-align: center;
    z-index: 3;
}

.otp-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eef4ff, #f5f7fb);
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.otp-modal h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.otp-modal p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.65;
}

.otp-inline-edit {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.otp-input {
    width: 100%;
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 18px;
    text-align: center;
    letter-spacing: 0.26em;
    font-size: 24px;
    outline: 0;
}

.otp-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.otp-timer {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted-2);
}

.setup-shell {
    min-height: 100vh;
    background: #fff;
    display: grid;
    grid-template-columns: minmax(780px, 1fr) 472px;
}

.setup-main {
    padding: 34px 52px 40px;
}

.setup-brand {
    margin-bottom: 44px;
}

.setup-progress {
    display: flex;
    gap: 6px;
    max-width: 800px;
    margin-bottom: 34px;
}

.setup-progress span {
    height: 6px;
    flex: 1;
    border-radius: 999px;
    background: #e8edf2;
}

.setup-progress span.is-active {
    background: #10a850;
}

.setup-card {
    max-width: 760px;
}

.setup-eyebrow {
    color: #374151;
    font-size: 18px;
    margin-bottom: 8px;
}

.setup-title {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.setup-subtitle {
    max-width: 720px;
    margin: 0 0 36px;
    color: #404f62;
    font-size: 17px;
    line-height: 1.75;
}

.setup-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.setup-field {
    margin-bottom: 26px;
}

.setup-field label {
    display: block;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 700;
}

.setup-field .required::after {
    content: "*";
    color: #ef4444;
    margin-left: 2px;
}

.setup-input,
.setup-select {
    width: 100%;
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 18px;
    background: #fff;
    color: #0f172a;
    outline: 0;
}

.setup-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.setup-switch {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 18px;
    font-size: 17px;
}

.setup-switch input {
    appearance: none;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.setup-switch input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.setup-switch input:checked {
    background: #16a34a;
}

.setup-switch input:checked::after {
    transform: translateX(18px);
}

.mode-cards {
    display: grid;
    gap: 14px;
}

.mode-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 22px 22px 54px;
    position: relative;
    background: #fff;
}

.mode-card input {
    position: absolute;
    opacity: 0;
}

.mode-card i.mode-icon {
    position: absolute;
    left: 22px;
    top: 24px;
    color: #2f79ff;
}

.mode-card.is-selected,
.mode-card:has(input:checked) {
    border-color: #16a34a;
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.15) inset;
}

.mode-card .mode-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.mode-card .mode-text {
    display: block;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

.setup-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
}

.setup-back {
    color: #0f172a;
    text-decoration: underline;
    font-weight: 700;
}

.setup-side {
    background:
        radial-gradient(circle at 72% 18%, rgba(199, 247, 219, 0.85), transparent 22%),
        linear-gradient(180deg, #14944f 0%, #0b5c45 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 36px;
}

.setup-side-art {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.art-card,
.art-note,
.art-mini {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(4, 22, 18, 0.18);
}

.art-card {
    padding: 26px 26px 22px;
}

.art-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.art-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.art-stat {
    min-height: 128px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfcff, #f1f5fb);
    padding: 18px;
}

.art-stat .line {
    height: 6px;
    border-radius: 999px;
    background: #dfe7f1;
    margin-bottom: 14px;
}

.art-stat .line.short {
    width: 48%;
}

.art-stat .metric {
    font-size: 18px;
    font-weight: 800;
    color: #344055;
}

.art-chart {
    margin-top: 18px;
    height: 82px;
    border-radius: 18px;
    background:
        linear-gradient(transparent 85%, rgba(17, 24, 39, 0.05) 85%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px),
        #fbfdff;
    background-size: 100% 20px, 42px 100%, auto;
    position: relative;
}

.art-chart::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 24px;
    height: 34px;
    border-left: 3px solid transparent;
    border-bottom: 3px solid #4fd0ae;
    border-right: 3px solid #32ba7b;
    transform: skewX(-28deg);
    opacity: 0.86;
}

.art-note {
    position: absolute;
    top: -34px;
    right: -18px;
    padding: 16px 18px;
    min-width: 142px;
}

.art-note strong,
.art-note span {
    display: block;
}

.art-note strong {
    font-size: 14px;
    color: #6f7d90;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.art-note span {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 800;
}

.art-mini {
    position: absolute;
    bottom: -28px;
    left: -32px;
    padding: 16px;
    width: 180px;
}

.art-mini .mini-value {
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0 8px;
}

.art-mini .mini-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e7f8ee;
    color: #12914e;
    font-weight: 700;
    font-size: 13px;
}

.dashboard-shell {
    min-height: 100vh;
    background: #e8edf4;
    display: grid;
    grid-template-columns: 274px 1fr;
}

.sidebar {
    background: var(--sidebar);
    color: #d8e0ee;
    display: flex;
    flex-direction: column;
    padding: 16px 12px 20px;
    position: sticky;
    top: 0;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    align-self: start;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 22px;
    font-size: 22px;
    font-weight: 800;
}

.billing-logo-mark--sidebar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 14px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.sidebar-link,
.sidebar-dropdown-trigger,
.sidebar-sublink {
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
}

.sidebar-link,
.sidebar-dropdown-trigger {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    color: #aab8ca;
}

.sidebar-dropdown-trigger {
    position: relative;
}

.sidebar-dropdown-caret {
    font-size: 12px;
    opacity: 0.72;
    transition: transform 0.18s ease;
}

.sidebar-dropdown.is-open .sidebar-dropdown-caret {
    transform: rotate(90deg);
}

.sidebar-link-caret {
    margin-left: auto;
    font-size: 12px;
}

.sidebar-link.is-active,
.sidebar-dropdown.is-active > .sidebar-dropdown-trigger {
    background: linear-gradient(180deg, #28cf77, #1fbf6a);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.sidebar-dropdown.is-open > .sidebar-dropdown-trigger {
    background: rgba(255, 255, 255, 0.04);
    color: #d8e0ee;
}

.sidebar-dropdown {
    overflow: hidden;
    border-radius: 18px;
}

.sidebar-dropdown-menu {
    display: none;
    gap: 6px;
    padding: 10px 0 8px;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-dropdown.is-open .sidebar-dropdown-menu {
    display: grid;
}

.sidebar-sublink {
    color: #d3dceb;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 42px;
    margin-right: 0;
    padding: 0 14px 0 18px;
    border-radius: 14px;
}

.sidebar-sublink.is-active {
    background: linear-gradient(180deg, #28cf77, #1fbf6a);
    color: #fff;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sidebar-sublink span {
    min-width: 0;
    flex: 1;
}

.sidebar-link:hover,
.sidebar-dropdown-trigger:hover,
.sidebar-sublink:hover {
    color: #fff;
}

.sidebar-link--muted {
    background: rgba(255, 255, 255, 0.04);
    color: #d8e0ee;
}

.sidebar-apps {
    margin-top: auto;
    padding: 12px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-apps span {
    display: block;
    padding: 0 10px 10px;
    color: #738198;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.dashboard-main {
    background: #edf2f8;
    position: relative;
    overflow: hidden;
}

.verify-bar {
    min-height: 50px;
    background: #f8f7d9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    font-size: 16px;
    color: #915e23;
}

.verify-bar button {
    min-height: 30px;
    padding: 0 14px;
    border-radius: 8px;
    border: 0;
    background: #1ea55d;
    color: #fff;
    font-weight: 700;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    background: #f4f6fb;
    border-bottom: 1px solid #dde4ee;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(520px, 44vw);
    min-height: 46px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #f8fbff;
    padding: 0 14px;
    color: #64748b;
}

.search-shell input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: 0;
}

.top-pill {
    color: #404f62;
    font-size: 15px;
}

.top-pill strong {
    color: #0f172a;
}

.top-pill--dropdown::after {
    content: " \25BE";
    font-size: 11px;
}

.icon-btn,
.avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #d8e2ee;
    background: #fff;
    color: #42526b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-btn {
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f8fb, #e5edf7);
}

.icon-btn--ghost {
    background: #f4f6fb;
}

.icon-btn--green {
    background: #1ea55d;
    border-color: #1ea55d;
    color: #fff;
}

.dashboard-content {
    padding: 22px 18px 40px;
}

.hello-card {
    background:
        radial-gradient(circle at 30% 24%, rgba(24, 130, 255, 0.05), transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(29, 185, 84, 0.05), transparent 18%),
        #f9fbfe;
    border: 1px solid #dee6f1;
    border-radius: 22px;
    padding: 26px;
}

.hello-card-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.hello-user {
    display: flex;
    gap: 14px;
}

.hello-avatar {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f4f8fe, #ecf2f9);
    border: 1px solid #dce4ee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #77859a;
}

.hello-copy h1 {
    margin: 0 0 6px;
    font-size: 24px;
}

.hello-copy p {
    margin: 0;
    color: var(--muted);
}

.hello-support {
    text-align: right;
    color: #556376;
    font-size: 14px;
    line-height: 1.6;
}

.hello-support strong,
.hello-support span {
    display: block;
}

.hello-links {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid #dde6ef;
}

.hello-links a {
    padding-bottom: 14px;
    text-decoration: none;
    font-size: 18px;
    color: #4b5b6f;
}

.hello-links a.is-active {
    color: #0f172a;
    border-bottom: 4px solid #3b82f6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    margin-top: 22px;
}

.promo-banner {
    margin-top: 22px;
    background: #dfe9f7;
    border: 1px solid #d4e0f0;
    border-radius: 20px;
    padding: 26px;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 24px;
    align-items: center;
}

.promo-art {
    width: 180px;
    height: 120px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, #e68a2e, #f1d56f 45%, #4a6eb5 46%, #8bb4ff);
    position: relative;
    overflow: hidden;
}

.promo-art-disc {
    position: absolute;
    inset: 18px 50px 18px 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 6px solid rgba(16, 30, 55, 0.12);
}

.promo-copy h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.promo-copy p {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.promo-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: #1d4b9c;
    font-weight: 700;
}

.promo-cities span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promo-cta {
    display: flex;
    justify-content: center;
}

.promo-cta button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #1ea55d;
    color: #fff;
    font-weight: 800;
}

.dashboard-filters {
    margin-top: 18px;
}

.split-select {
    width: 328px;
    display: flex;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.split-select span {
    min-width: 112px;
    padding: 13px 14px;
    border-right: 1px solid #d8e2ee;
    color: #334155;
}

.split-select select,
.metric-panel-header select {
    border: 0;
    outline: 0;
    background: transparent;
    color: #475569;
}

.split-select select {
    flex: 1;
    padding: 0 14px;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 22px;
}

.metric-grid--wide {
    margin-top: 26px;
}

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

.metric-panel {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.metric-panel--mini {
    min-height: 230px;
}

.metric-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #e7eef7;
}

.metric-panel-header h3 {
    margin: 0;
    font-size: 17px;
}

.metric-empty,
.metric-copy {
    padding: 24px;
}

.metric-message {
    max-width: 560px;
    margin: 12px auto 18px;
    padding: 18px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    color: #24344a;
    line-height: 1.55;
    text-align: center;
}

.metric-copy strong {
    display: block;
    margin-top: 22px;
    font-size: 32px;
    color: #0f172a;
}

.fake-line-chart,
.fake-bar-chart,
.fake-income-chart,
.fake-multi-line-chart {
    position: relative;
    height: 280px;
    border-radius: 18px;
    background:
        linear-gradient(transparent 87%, rgba(148, 163, 184, 0.13) 87%),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(247, 250, 255, 0.95), rgba(243, 247, 252, 0.9));
    background-size: 100% 42px, 84px 100%, auto;
    overflow: hidden;
}

.fake-line-chart span {
    position: absolute;
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #bbcdf8;
    transform-origin: left center;
}

.fake-line-chart .p1 { left: 8%; top: 67%; width: 12%; transform: rotate(22deg); }
.fake-line-chart .p2 { left: 18%; top: 57%; width: 10%; transform: rotate(-18deg); }
.fake-line-chart .p3 { left: 27%; top: 60%; width: 11%; transform: rotate(9deg); }
.fake-line-chart .p4 { left: 37%; top: 53%; width: 10%; transform: rotate(-13deg); }
.fake-line-chart .p5 { left: 46%; top: 56%; width: 10%; transform: rotate(12deg); }
.fake-line-chart .p6 { left: 55%; top: 48%; width: 10%; transform: rotate(-24deg); }
.fake-line-chart .p7 { left: 64%; top: 54%; width: 10%; transform: rotate(26deg); }
.fake-line-chart .p8 { left: 73%; top: 39%; width: 10%; transform: rotate(-12deg); }
.fake-line-chart .p9 { left: 82%; top: 42%; width: 9%; transform: rotate(-45deg); }

.fake-bar-chart {
    display: flex;
    align-items: end;
    justify-content: space-evenly;
    padding: 28px 28px 24px;
}

.fake-bar-chart span,
.fake-income-chart span {
    display: block;
    width: 32px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(197, 210, 245, 0.78), rgba(221, 228, 246, 0.26));
}

.fake-income-chart {
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 20px;
}

.fake-multi-line-chart::before,
.fake-multi-line-chart::after,
.fake-multi-line-chart .line-a,
.fake-multi-line-chart .line-b,
.fake-multi-line-chart .line-c,
.fake-multi-line-chart .line-d {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 999px;
}

.fake-multi-line-chart::before { top: 30%; background: linear-gradient(90deg, transparent, #d5dcf1 10%, #d5dcf1 80%, transparent); transform: skewY(-7deg); }
.fake-multi-line-chart::after { top: 48%; background: linear-gradient(90deg, transparent, #ced8f8 10%, #ced8f8 80%, transparent); transform: skewY(4deg); }
.fake-multi-line-chart .line-a { top: 60%; background: linear-gradient(90deg, transparent, #e1e7f7 8%, #e1e7f7 80%, transparent); transform: skewY(-2deg); }
.fake-multi-line-chart .line-b { top: 72%; background: linear-gradient(90deg, transparent, #d8dff0 8%, #d8dff0 80%, transparent); transform: skewY(3deg); }

.fake-donut-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    padding: 18px 12px 6px;
}

.donut-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#c5d2f8 0 24%, #e7edfb 24% 44%, #d8e2fb 44% 66%, #eef2fb 66% 86%, #cfdaf9 86% 100%);
    position: relative;
}

.donut-ring::after {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    background: #fff;
}

.fake-donut-chart ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #7c8aa3;
    display: grid;
    gap: 18px;
}

.project-progress-list {
    padding: 16px 20px 22px;
    display: grid;
    gap: 22px;
}

.project-progress-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
}

.progress-dot {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 55%, transparent 56%), conic-gradient(#c4d4fb 0 70%, #eef2fb 70% 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-weight: 800;
}

.progress-line {
    height: 12px;
    border-radius: 999px;
    background: #eef2fb;
    overflow: hidden;
}

.progress-line em {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #bcccf8, #e2e9fb);
}

.dashboard-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.95fr;
    gap: 0;
    margin-top: 28px;
    background: #fff;
    border-top: 1px solid #dce5ef;
}

.footer-panel {
    min-height: 360px;
    padding: 34px;
    border-right: 1px solid #e8edf5;
    background: #fbfcfe;
}

.footer-panel:last-child {
    border-right: 0;
}

.footer-panel h3,
.footer-panel h4 {
    margin: 0 0 18px;
}

.footer-panel p {
    color: #475569;
    line-height: 1.6;
}

.footer-panel a {
    display: block;
    margin-bottom: 14px;
    color: #66758a;
    text-decoration: none;
}

.mobile-promo {
    display: flex;
    align-items: end;
    gap: 26px;
    margin-top: 26px;
}

.mobile-phone {
    width: 150px;
    height: 250px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, #101722, #202b3b 18%, #f7fafc 18%, #f7fafc),
        linear-gradient(180deg, #ffffff, #edf3fb);
    border: 8px solid #0f172a;
}

.mobile-qr {
    text-align: center;
}

.mobile-qr-box {
    width: 118px;
    height: 118px;
    background:
        linear-gradient(90deg, #111 10%, transparent 10%, transparent 20%, #111 20%, #111 30%, transparent 30%, transparent 40%, #111 40%, #111 50%, transparent 50%, transparent 60%, #111 60%, #111 70%, transparent 70%, transparent 80%, #111 80%),
        linear-gradient(#111 10%, transparent 10%, transparent 20%, #111 20%, #111 30%, transparent 30%, transparent 40%, #111 40%, #111 50%, transparent 50%, transparent 60%, #111 60%, #111 70%, transparent 70%, transparent 80%, #111 80%);
    margin: 0 auto 10px;
}

.footer-helpline {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6ecf4;
}

.footer-helpline strong,
.footer-helpline span {
    display: block;
}

.footer-helpline span {
    margin-top: 8px;
    color: #0f172a;
    font-weight: 800;
}

.starter-shell,
.starter-feature-panel,
.starter-resources-grid,
.updates-layout {
    margin-top: 22px;
}

.starter-shell,
.starter-feature-panel,
.resource-box,
.updates-side-card {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.starter-shell {
    padding: 0 0 18px;
    overflow: hidden;
}

.starter-head {
    padding: 34px 30px 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.starter-head h2 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.3;
}

.starter-head p {
    margin: 0;
    color: #56637b;
    font-size: 16px;
}

.starter-list {
    display: grid;
    gap: 0;
}

.starter-item {
    border-top: 1px solid #e7edf6;
    padding: 0 18px;
    background: #fff;
}

.starter-item--open {
    position: relative;
}

.starter-item--open::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 26%;
    height: 3px;
    background: #18aa62;
}

.starter-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 78px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
}

.starter-item summary::-webkit-details-marker {
    display: none;
}

.starter-item summary i:last-child {
    margin-left: auto;
    color: #919aad;
    font-size: 14px;
}

.starter-index {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d8e2ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-weight: 600;
    background: #fff;
}

.starter-tasks {
    padding: 0 0 14px 50px;
}

.starter-task {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid #edf2f8;
}

.starter-task span {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #111827;
    font-size: 16px;
}

.starter-task a {
    color: #2563eb;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.starter-task .done {
    color: #18a558;
}

.starter-task .pending {
    color: #d1d7e2;
    font-size: 13px;
}

.starter-feature-panel {
    padding: 24px 26px 22px;
}

.starter-feature-copy h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.starter-feature-copy p {
    margin: 0;
    color: #5f6c80;
}

.starter-feature-grid,
.starter-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.starter-feature-card {
    border: 1px solid #e4ebf5;
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    font-weight: 600;
    min-height: 70px;
}

.starter-feature-card i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fdf1f1;
    color: #ef5a79;
}

.starter-feature-card:nth-child(2) i {
    background: #eefbf5;
    color: #0f9d61;
}

.starter-feature-card:nth-child(3) i {
    background: #f6f0ff;
    color: #8257e6;
}

.starter-resources-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.resource-box {
    padding: 0;
    overflow: hidden;
}

.resource-box h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.resource-box p {
    color: #5f6c80;
    line-height: 1.6;
}

.starter-resources-title {
    margin: 56px 0 18px;
    font-size: 20px;
    color: #0f172a;
}

.resource-box--video {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 190px;
}

.resource-video-copy {
    padding: 28px 26px;
}

.resource-video-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.resource-video-art {
    position: relative;
    background: linear-gradient(180deg, #efffea 0%, #ffffff 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.resource-video-blob {
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 35% 20%, rgba(117, 233, 133, 0.28), transparent 40%), radial-gradient(circle at 70% 30%, rgba(173, 243, 194, 0.42), transparent 42%);
}

.resource-video-figure {
    position: relative;
    width: 180px;
    height: 160px;
    margin-bottom: -6px;
}

.resource-figure-head,
.resource-figure-body,
.resource-figure-laptop {
    position: absolute;
    display: block;
}

.resource-figure-head {
    top: 22px;
    left: 86px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #111827;
    background: #f8fafc;
}

.resource-figure-body {
    left: 60px;
    bottom: 16px;
    width: 88px;
    height: 96px;
    border: 2px solid #111827;
    border-radius: 28px 28px 12px 12px;
    border-bottom-width: 0;
    background: linear-gradient(180deg, #2bc36d 0%, #1c9d57 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 24%);
}

.resource-figure-laptop {
    left: 22px;
    bottom: 0;
    width: 110px;
    height: 54px;
    border-radius: 12px 12px 8px 8px;
    border: 2px solid #111827;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.resource-box--help {
    padding: 28px 26px;
}

.resource-links {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.resource-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
    font-size: 16px;
}

.resource-links a i:last-child {
    color: #2563eb;
    font-size: 14px;
}

.resource-links a i:first-child {
    width: 18px;
    color: #67748b;
}

.updates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}

.updates-timeline {
    position: relative;
    padding-left: 96px;
}

.updates-timeline::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5ebf4;
}

.update-item {
    position: relative;
    margin-bottom: 52px;
}

.update-marker {
    position: absolute;
    left: -60px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #4b9dff;
    box-shadow: 0 0 0 6px #edf4ff;
}

.update-date {
    color: #5d6a7f;
    font-size: 16px;
}

.update-copy h2 {
    margin: 14px 0 18px;
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.update-copy p {
    margin: 0;
    max-width: 740px;
    color: #2e3d52;
    font-size: 17px;
    line-height: 1.7;
}

.update-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #f2b24b;
    color: #de8f17;
    font-size: 14px;
    vertical-align: middle;
}

.updates-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 18px;
}

.updates-side-card {
    padding: 0 0 24px;
    overflow: hidden;
}

.updates-side-card--soft {
    padding: 24px;
    background: #fff7f7;
}

.updates-side-hero {
    height: 170px;
    background:
        linear-gradient(135deg, #dbe7fb, #f5f8ff),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.7), transparent 20%);
}

.updates-side-label {
    display: inline-block;
    margin: 20px 24px 10px;
    color: #2f67c7;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.updates-side-label--red {
    margin: 0 0 10px;
    color: #d1495b;
}

.updates-side-card h3 {
    margin: 0 24px 12px;
    font-size: 18px;
    line-height: 1.5;
}

.updates-side-card p {
    margin: 0 24px;
    color: #4f5f75;
    line-height: 1.7;
}

.updates-side-actions {
    display: flex;
    gap: 14px;
    margin: 22px 24px 0;
}

.updates-side-actions a {
    text-decoration: none;
}

.updates-side-actions a:first-child {
    padding: 12px 16px;
    border-radius: 10px;
    background: #1ea55d;
    color: #fff;
    font-weight: 800;
}

.updates-side-actions a:last-child {
    align-self: center;
    color: #2563eb;
    font-weight: 700;
}

.panel {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.panel-header {
    padding: 24px 26px 0;
}

.panel-header h2,
.panel-header h3 {
    margin: 0;
    font-size: 20px;
}

.panel-subtitle {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.7;
}

.summary-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 22px 26px 26px;
}

.summary-card {
    border-radius: 18px;
    background: #f7faff;
    border: 1px solid #e5edf6;
    padding: 20px;
}

.summary-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: 28px;
}

.summary-card small {
    display: block;
    margin-top: 8px;
    color: #2f9460;
    font-weight: 700;
}

.checklist-wrap {
    padding: 0 26px 24px;
}

.checklist-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.checklist-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.checklist-item {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 18px 16px;
    background: #fff;
}

.checklist-item.is-open {
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.checklist-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.checklist-item summary::-webkit-details-marker {
    display: none;
}

.task-list {
    margin-top: 16px;
    border-top: 1px solid #e8eef5;
}

.task-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eef3f8;
}

.task-row:last-child {
    border-bottom: 0;
}

.task-row span:first-child {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.task-row i.complete {
    color: #18a558;
}

.task-row a {
    color: #2563eb;
    text-decoration: none;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px 26px 26px;
}

.resource-card {
    min-height: 220px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    padding: 24px;
}

.resource-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.resource-card p,
.resource-card li {
    color: var(--muted);
    line-height: 1.7;
}

.resource-card ul {
    padding-left: 18px;
    margin: 0;
}

.tour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 27, 39, 0.52);
    z-index: 40;
    display: none;
}

.tour-overlay.is-visible {
    display: block;
}

.tour-card {
    position: fixed;
    z-index: 42;
    width: 420px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 28px 76px rgba(15, 23, 42, 0.34);
    padding: 18px 18px 20px;
    display: none;
}

.tour-card.is-visible {
    display: block;
}

.tour-step {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #eef8ff, #fff8e7);
    font-weight: 800;
    margin-bottom: 10px;
}

.tour-illustration {
    height: 150px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5fbff, #fff7ec);
    border: 1px solid #e6edf5;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.tour-illustration::before,
.tour-illustration::after {
    content: "";
    position: absolute;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.tour-illustration::before {
    left: 18px;
    right: 18px;
    top: 20px;
    bottom: 20px;
}

.tour-illustration::after {
    width: 92px;
    height: 92px;
    right: 22px;
    top: 28px;
}

.tour-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.tour-card p {
    margin: 0 0 18px;
    color: #4f5f75;
    line-height: 1.65;
}

.tour-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.tour-actions-right {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.tour-btn {
    min-height: 46px;
    padding: 0 18px;
    background: #215ad6;
    color: #fff;
}

.tour-btn.secondary {
    background: #edf2ff;
    color: #2249a8;
}

.tour-btn.skip {
    background: #f4f5f7;
    color: #56637b;
}

.tour-highlight {
    position: relative;
    z-index: 41 !important;
    box-shadow: 0 0 0 4px #27d073, 0 0 0 8px rgba(39, 208, 115, 0.18) !important;
    border-radius: 16px !important;
}

.tour-mode .sidebar-link.is-active,
.tour-mode .sidebar-dropdown.is-active > .sidebar-dropdown-trigger {
    background: transparent;
    box-shadow: none;
    color: #aab8ca;
}

@media (max-width: 1200px) {
    .auth-shell,
    .setup-shell,
    .dashboard-shell,
    .content-grid,
    .summary-panels,
    .resources-grid,
    .metric-grid,
    .updates-layout,
    .dashboard-footer-grid {
        grid-template-columns: 1fr;
    }

    .setup-side,
    .auth-showcase {
        min-height: auto;
    }

    .sidebar {
        position: relative;
        height: auto;
    }

    .search-shell {
        width: 100%;
    }

    .mini-metric-grid,
    .starter-feature-grid,
    .starter-resources-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-banner {
        grid-template-columns: 1fr;
    }

    .promo-art {
        width: 100%;
        max-width: 220px;
    }

    .updates-sidebar {
        position: static;
    }
}

@media (max-width: 860px) {
    .auth-shell {
        width: min(100vw - 24px, 680px);
        margin: 12px auto 28px;
    }

    .auth-showcase,
    .auth-panel {
        min-height: auto;
        padding: 28px 24px;
    }

    .showcase-copy {
        padding-top: 36px;
    }

    .showcase-features,
    .field-row,
    .setup-grid-two,
    .social-grid,
    .mini-metric-grid,
    .starter-feature-grid,
    .starter-resources-grid {
        grid-template-columns: 1fr;
    }

    .auth-panel,
    .setup-main {
        padding: 28px 20px;
    }

    .setup-shell {
        grid-template-columns: 1fr;
    }

    .tour-card {
        width: calc(100vw - 30px);
        left: 15px !important;
        top: auto !important;
        bottom: 18px;
    }

    .topbar,
    .hello-card-top,
    .starter-head,
    .dashboard-footer-grid,
    .fake-donut-chart,
    .mobile-promo {
        grid-template-columns: 1fr;
        display: grid;
    }

    .topbar-left,
    .topbar-right,
    .promo-cities {
        flex-wrap: wrap;
    }

    .hello-support,
    .promo-cta {
        text-align: left;
        justify-content: flex-start;
    }

    .hello-links {
        overflow-x: auto;
    }

    .split-select {
        width: 100%;
    }

    .updates-timeline {
        padding-left: 62px;
    }

    .updates-timeline::before {
        left: 26px;
    }

    .update-marker {
        left: -42px;
    }

    .update-copy h2 {
        font-size: 24px;
    }

    .starter-task,
    .updates-side-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

.catalog-page {
    display: grid;
    gap: 20px;
}

.catalog-split-card,
.catalog-form-card,
.catalog-modal-card,
.catalog-widget-card {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.catalog-split-card {
    display: grid;
    grid-template-columns: minmax(420px, 0.7fr) minmax(0, 1fr);
    overflow: hidden;
}

.catalog-split-card--list-only {
    grid-template-columns: minmax(0, 1fr);
}

.catalog-list-pane {
    border-right: 1px solid #e7edf5;
    min-width: 0;
}

.catalog-list-pane--empty {
    border-right: 0;
}

.catalog-list-head,
.catalog-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.catalog-view-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.catalog-view-links a,
.catalog-tab-nav a {
    text-decoration: none;
    color: #556579;
    font-weight: 700;
}

.catalog-view-links a.is-active,
.catalog-tab-nav a.is-active {
    color: #111827;
}

.catalog-detail-pane {
    min-width: 0;
}

.catalog-detail-head h1,
.catalog-empty-state h2 {
    margin: 0;
}

.catalog-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-badge {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}

.billing-maintenance-strip {
    margin-top: 18px;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid #b7e4c7;
    border-radius: 16px;
    background: #e9f9ef;
    color: #23403a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 14px;
}

.billing-maintenance-strip a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.promo-banner--live {
    position: relative;
    grid-template-columns: 190px 1fr 180px;
    align-items: center;
}

.promo-banner-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
}

.promo-art {
    position: relative;
}

.promo-art-tag {
    position: absolute;
    width: 34px;
    height: 52px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.promo-art-tag--orange {
    left: 10px;
    top: 12px;
    background: linear-gradient(180deg, #f97316, #fdba74);
    transform: rotate(-18deg);
}

.promo-art-tag--blue {
    right: 18px;
    top: 6px;
    background: linear-gradient(180deg, #2563eb, #93c5fd);
    transform: rotate(18deg);
}

.promo-art-tag--green {
    left: 26px;
    bottom: 10px;
    background: linear-gradient(180deg, #22c55e, #86efac);
    transform: rotate(14deg);
}

.dashboard-filters--zoho {
    margin-top: 18px;
}

.zoho-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.zoho-dashboard-grid--top {
    margin-top: 26px;
}

.metric-panel--zoho {
    border-radius: 20px;
    box-shadow: none;
}

.metric-panel--feature {
    min-height: 540px;
}

.metric-panel--full {
    grid-column: 1 / -1;
}

.zoho-metric-body {
    padding: 22px 26px 26px;
}

.zoho-metric-summary strong,
.zoho-mini-stat-copy strong,
.zoho-income-head strong,
.zoho-projects-metric strong,
.zoho-summary-totals strong,
.zoho-donut-center strong {
    display: block;
    margin-top: 6px;
    font-size: 28px;
    line-height: 1.2;
    color: #0f172a;
}

.zoho-yoy-row {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.zoho-yoy-pill {
    min-width: 42px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    text-align: center;
    font-weight: 800;
}

.zoho-yoy-pill.is-positive {
    background: #ebfaf2;
    color: #15803d;
}

.dashboard-chart {
    position: relative;
    min-height: 260px;
    margin-top: 24px;
}

.dashboard-chart--tall {
    min-height: 330px;
    margin: 0 22px 24px;
}

.dashboard-chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    z-index: 2;
}

.dashboard-chart-shell {
    position: relative;
    min-height: inherit;
    border-left: 1px solid #dbe5f1;
    border-bottom: 1px solid #dbe5f1;
}

.dashboard-chart-grid {
    position: absolute;
    inset: 0 0 30px 0;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
}

.dashboard-chart-grid span {
    border-top: 1px dashed #d9e3ef;
}

.dashboard-chart-svg {
    position: absolute;
    inset: 0 0 30px 0;
    width: 100%;
    height: calc(100% - 30px);
    overflow: visible;
}

.dashboard-chart-labels {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.dashboard-chart-labels span {
    text-align: center;
}

.dashboard-bar-groups {
    position: absolute;
    inset: 0 0 30px 0;
    display: grid;
    align-items: end;
    gap: 18px;
    padding: 10px 18px 0;
}

.dashboard-bar-group {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
    height: 100%;
}

.dashboard-bar {
    width: 28px;
    min-height: 2px;
    border-radius: 8px 8px 0 0;
}

.zoho-receivable-head,
.zoho-income-head,
.zoho-projects-head,
.zoho-summary-totals {
    display: grid;
    gap: 16px;
}

.zoho-receivable-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.zoho-receivable-head span,
.zoho-income-head span,
.zoho-projects-metric span,
.zoho-summary-totals span,
.zoho-donut-center span {
    color: #64748b;
    font-size: 14px;
}

.zoho-receivable-legend,
.zoho-summary-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    color: #475569;
    font-size: 14px;
}

.zoho-receivable-legend span,
.zoho-summary-legend span,
.zoho-income-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zoho-receivable-legend i,
.zoho-summary-legend i,
.zoho-income-head i,
.zoho-donut-item i {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    display: inline-block;
}

.zoho-metrics-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.zoho-mini-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.metric-panel--mini-stat {
    min-height: 256px;
}

.zoho-mini-stat-copy {
    padding: 24px;
}

.zoho-mini-stat-copy p {
    margin: 18px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.zoho-summary-legend {
    padding: 20px 24px 0;
}

.zoho-summary-totals {
    grid-template-columns: repeat(4, 1fr);
    padding: 18px 24px 0;
}

.zoho-income-head {
    grid-template-columns: repeat(3, 1fr);
}

.zoho-donut-wrap {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 26px;
}

.zoho-donut-chart {
    width: 214px;
    height: 214px;
    margin: 0 auto;
    border-radius: 50%;
    position: relative;
}

.zoho-donut-chart::after {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e5edf7;
}

.zoho-donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.zoho-donut-list {
    display: grid;
    gap: 18px;
}

.zoho-donut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #334155;
}

.zoho-donut-item span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.zoho-donut-list p {
    margin: 0;
    color: #64748b;
}

.zoho-projects-head {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
}

.zoho-projects-metric {
    min-height: 110px;
    border-top: 3px solid #3b82f6;
    border-right: 1px solid #e7eef7;
    border-bottom: 1px solid #e7eef7;
    border-left: 1px solid #e7eef7;
    border-radius: 0 0 16px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoho-projects-metric:last-child {
    border-top-color: transparent;
}

.zoho-projects-list {
    padding: 18px 24px 10px;
    display: grid;
    gap: 12px;
}

.zoho-project-row {
    display: grid;
    grid-template-columns: 86px minmax(180px, 0.8fr) minmax(220px, 1fr) 80px;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
}

.zoho-project-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 56%, transparent 57%), conic-gradient(#e5e7eb 0 100%);
    box-shadow: inset 0 0 0 6px #eceff3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.zoho-project-copy strong {
    display: block;
    font-size: 20px;
}

.zoho-project-copy span,
.zoho-project-track span,
.zoho-project-empty,
.mobile-qr small {
    color: #64748b;
}

.zoho-project-track {
    display: grid;
    gap: 10px;
}

.zoho-project-track em {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d7dde7, #cbd5e1);
}

.zoho-project-time {
    text-align: right;
    font-weight: 800;
    color: #0f172a;
}

.zoho-project-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.zoho-projects-foot {
    padding: 16px 24px 20px;
    border-top: 1px solid #edf2f8;
}

.zoho-projects-foot a {
    color: #0f172a;
    font-size: 15px;
    text-decoration: none;
}

.dashboard-footer-grid--zoho {
    border: 1px solid #dce5ef;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
}

.footer-panel--promo .mobile-qr span {
    display: block;
    margin-top: 6px;
}

.footer-panel--promo .mobile-qr small {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

@media (max-width: 1200px) {
    .zoho-dashboard-grid,
    .zoho-metrics-stack,
    .zoho-mini-card-grid,
    .zoho-donut-wrap,
    .zoho-income-head,
    .zoho-summary-totals,
    .zoho-projects-head {
        grid-template-columns: 1fr;
    }

    .zoho-project-row {
        grid-template-columns: 80px 1fr;
    }

    .zoho-project-track,
    .zoho-project-time {
        grid-column: 1 / -1;
    }

    .zoho-project-time {
        text-align: left;
    }
}

@media (max-width: 860px) {
    .billing-maintenance-strip,
    .zoho-receivable-head {
        display: grid;
        justify-content: stretch;
        text-align: left;
    }

    .promo-banner--live,
    .zoho-donut-wrap {
        grid-template-columns: 1fr;
    }

    .zoho-summary-totals {
        grid-template-columns: 1fr 1fr;
    }

    .zoho-project-row {
        grid-template-columns: 1fr;
    }

    .zoho-project-ring {
        margin: 0 auto;
    }

    .zoho-project-copy,
    .zoho-project-track,
    .zoho-project-time {
        text-align: center;
    }
}

.catalog-tab-nav {
    display: flex;
    gap: 28px;
    padding: 0 22px 12px;
    border-bottom: 1px solid #e7edf5;
}

.catalog-tab-nav a.is-active {
    border-bottom: 3px solid #4b87ef;
    padding-bottom: 12px;
}

.catalog-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    padding: 24px 22px 30px;
}

.catalog-definition-list {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
}

.catalog-definition-list div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
}

.catalog-definition-list dt {
    color: #66758a;
}

.catalog-definition-list dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.catalog-image-box {
    border: 1px dashed #cfe0f8;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f9ff 100%);
    min-height: 250px;
    padding: 22px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.catalog-image-box--form {
    min-height: 260px;
}

.catalog-image-placeholder {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background: linear-gradient(180deg, #eff6ff 0%, #e6f6ef 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b6587;
    font-size: 26px;
}

.catalog-image-box a,
.catalog-image-box strong {
    color: #2563eb;
    text-decoration: none;
}

.catalog-image-box span {
    color: #334155;
    font-weight: 600;
    line-height: 1.6;
}

.catalog-image-box small {
    color: #7a8798;
    font-size: 12px;
}

.catalog-muted-copy {
    color: #66758a;
    line-height: 1.65;
}

.catalog-empty-state {
    min-height: 420px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    text-align: center;
    padding: 32px;
}

.catalog-empty-state i {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #eef4fb;
    color: #4b87ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.catalog-empty-state--wide {
    min-height: 360px;
}

.catalog-empty-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.catalog-empty-promo,
.catalog-empty-panel,
.catalog-empty-section-note {
    margin: 0 32px 26px;
}

.catalog-empty-promo {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffefb, #f8fbff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.catalog-empty-promo-art {
    min-height: 180px;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(33, 197, 94, 0.22) 0 18%, transparent 18%),
        repeating-radial-gradient(circle at center, rgba(203, 213, 225, 0.32) 0 8px, transparent 8px 18px);
    display: grid;
    place-items: center;
}

.catalog-empty-promo-art span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #4ade80;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.3);
}

.catalog-empty-promo-copy strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.catalog-empty-promo-copy p {
    margin: 0;
    color: #334155;
    line-height: 1.55;
}

.catalog-empty-panel {
    text-align: center;
}

.catalog-empty-panel h3 {
    margin: 0 0 22px;
    font-size: 18px;
    color: #0f172a;
}

.catalog-empty-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.catalog-empty-diagram span {
    min-width: 116px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #93c5fd;
    border-radius: 12px;
    color: #475569;
    background: #f8fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.catalog-empty-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 28px 32px 26px;
}

.catalog-empty-feature-card {
    text-align: center;
    padding: 10px 12px;
}

.catalog-empty-feature-card i {
    font-size: 28px;
    margin-bottom: 14px;
}

.catalog-empty-feature-card:nth-child(1) i { color: #4ade80; }
.catalog-empty-feature-card:nth-child(2) i { color: #f59e0b; }
.catalog-empty-feature-card:nth-child(3) i { color: #6366f1; }

.catalog-empty-feature-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.catalog-empty-feature-card p {
    margin: 0 0 10px;
    color: #64748b;
    line-height: 1.6;
}

.catalog-empty-feature-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.catalog-empty-section-note {
    color: #64748b;
    line-height: 1.6;
}

.catalog-empty-section-note em {
    font-style: italic;
    color: #475569;
}

.sales-form-card {
    gap: 24px;
}

.sales-form-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px 24px;
    align-items: start;
}

.sales-form-grid > label {
    color: #334155;
    font-weight: 700;
    padding-top: 12px;
}

.sales-form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    color: #0f172a;
}

textarea.sales-form-control {
    min-height: 104px;
    resize: vertical;
}

.sales-items-card,
.sales-detail-card,
.sales-summary-card {
    border: 1px solid #e5edf7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.sales-items-card {
    padding: 22px;
}

.sales-items-head,
.sales-detail-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sales-items-head h2,
.sales-detail-card h3 {
    margin: 0 0 18px;
}

.sales-items-table td {
    vertical-align: top;
}

.sales-bottom-grid,
.sales-detail-grid,
.sales-address-columns,
.sales-inline-grid,
.sales-option-grid {
    display: grid;
    gap: 22px;
}

.sales-bottom-grid,
.sales-detail-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
}

.sales-summary-card {
    padding: 22px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.sales-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8eef7;
    color: #0f172a;
}

.sales-summary-line strong {
    font-size: 16px;
}

.sales-detail-card {
    padding: 22px;
}

.sales-address-columns,
.sales-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sales-address-columns p,
.sales-customer-name {
    margin: 6px 0 0;
}

.sales-customer-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

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

.sales-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9e2ef;
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    color: #0f172a;
    font-weight: 600;
}

.sales-checkbox-card input {
    width: 18px;
    height: 18px;
}

.sales-option-field {
    display: grid;
    gap: 8px;
}

.sales-option-field label {
    font-weight: 700;
    color: #334155;
}

@media (max-width: 1080px) {
    .sales-form-grid,
    .sales-bottom-grid,
    .sales-detail-grid,
    .sales-address-columns,
    .sales-inline-grid,
    .sales-option-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sales-form-grid > label {
        padding-top: 0;
    }
}

.catalog-row-active td {
    background: #f4f8ff;
}

.catalog-transaction-panel {
    padding: 22px;
    display: grid;
    gap: 22px;
}

.catalog-transaction-group h3,
.catalog-section h2 {
    margin: 0 0 14px;
}

.catalog-form-page {
    display: grid;
}

.catalog-form-card {
    padding: 0 0 26px;
    overflow: hidden;
}

.catalog-item-grid,
.catalog-plan-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 26px;
}

.catalog-item-main,
.catalog-form-grid,
.catalog-section {
    display: grid;
    gap: 12px;
}

.catalog-item-main {
    gap: 22px;
}

.catalog-item-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.catalog-item-row--top {
    align-items: start;
}

.catalog-item-label {
    display: grid;
    gap: 6px;
}

.catalog-item-label label {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.catalog-item-label label.is-required {
    color: #d13f52;
}

.catalog-item-control {
    display: grid;
    gap: 8px;
}

.catalog-form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7e2ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: #0f172a;
    font: inherit;
    padding: 11px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea.catalog-form-control {
    min-height: 110px;
    resize: vertical;
}

.catalog-form-control:focus {
    outline: none;
    border-color: #4c8dff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(76, 141, 255, 0.12);
}

.catalog-form-control::placeholder {
    color: #98a5b8;
}

.catalog-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-radio-group label {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #d7e2ee;
    border-radius: 999px;
    background: #f8fbff;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.catalog-radio-group input {
    margin: 0;
    accent-color: #23b26b;
}

.catalog-form-grid {
    padding: 0 26px;
}

.catalog-form-grid label {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.catalog-form-grid input,
.catalog-form-grid select,
.catalog-form-grid textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6dfeb;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    padding: 10px 14px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-form-grid textarea {
    min-height: 104px;
    resize: vertical;
}

.catalog-form-grid input:focus,
.catalog-form-grid select:focus,
.catalog-form-grid textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.catalog-form-grid input::placeholder,
.catalog-form-grid textarea::placeholder {
    color: #94a3b8;
}

.catalog-section {
    padding: 24px 26px 0;
}

.catalog-section--lined {
    border-top: 1px solid #e8eef6;
}

.catalog-section-head {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.catalog-section-head p {
    margin: 0;
    color: #6b7a90;
    line-height: 1.6;
}

.catalog-item-stack {
    display: grid;
    gap: 18px;
}

.catalog-plan-top--zoho {
    align-items: start;
}

.catalog-plan-main {
    min-width: 0;
}

.catalog-plan-grid,
.catalog-plan-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 44px;
}

.catalog-plan-field {
    display: grid;
    gap: 10px;
    align-content: start;
}

.catalog-plan-field--wide {
    max-width: 325px;
}

.catalog-plan-field label,
.catalog-plan-option-label {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.catalog-plan-field label.is-required {
    color: #ff3b30;
}

.catalog-plan-field input,
.catalog-plan-field select,
.catalog-plan-field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cfd8e6;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    padding: 9px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-plan-field textarea {
    min-height: 66px;
    resize: vertical;
}

.catalog-plan-field input:focus,
.catalog-plan-field select:focus,
.catalog-plan-field textarea:focus {
    outline: none;
    border-color: #4c8dff;
    box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.12);
}

.catalog-plan-field-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 8px;
    align-items: center;
}

.catalog-plan-info,
.catalog-plan-inline-info {
    color: #7b86a0;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-plan-split {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
}

.catalog-plan-split-count {
    text-align: center;
}

.catalog-plan-tabs {
    display: flex;
    gap: 0;
    padding: 0 26px;
    border-top: 1px solid #e8eef6;
    border-bottom: 1px solid #dfe7f1;
}

.catalog-plan-tabs button {
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: -1px;
}

.catalog-plan-tabs button.is-active {
    background: #fff;
    border-color: #dfe7f1;
    box-shadow: inset 0 3px 0 #23b26b;
}

.catalog-plan-panel {
    padding: 26px;
}

.catalog-plan-composite {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 120px;
    align-items: stretch;
}

.catalog-plan-composite span,
.catalog-plan-composite small {
    min-height: 42px;
    border: 1px solid #cfd8e6;
    background: #fff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
}

.catalog-plan-composite span {
    border-right: 0;
    border-radius: 10px 0 0 10px;
    color: #233d69;
}

.catalog-plan-composite input {
    border-radius: 0;
}

.catalog-plan-composite small {
    border-left: 0;
    border-radius: 0 10px 10px 0;
    white-space: nowrap;
}

.catalog-plan-composite--short {
    grid-template-columns: minmax(0, 1fr) 64px;
}

.catalog-plan-composite--short input {
    border-radius: 10px 0 0 10px;
}

.catalog-plan-composite--short small {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

.catalog-plan-option-list {
    display: grid;
    gap: 18px;
    max-width: 920px;
}

.catalog-plan-option-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.catalog-plan-option-label {
    padding-top: 2px;
}

.catalog-plan-option-row .checkbox-row {
    margin: 0;
}

.customer-prefix-field--catalog {
    grid-template-columns: 64px minmax(0, 1fr);
}

.customer-prefix-field--catalog span {
    min-height: 48px;
    border-color: #d7e2ee;
    border-radius: 14px 0 0 14px;
    background: #f4f8ff;
    color: #35507e;
}

.customer-prefix-field--catalog .catalog-form-control {
    border-radius: 0 14px 14px 0;
}

.catalog-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.catalog-two-col--compact {
    padding: 0 26px 18px;
}

.catalog-inline-fields {
    display: flex;
    gap: 12px;
    align-items: center;
}

.catalog-inline-fields input,
.catalog-inline-fields select {
    flex: 1;
}

@media (max-width: 900px) {
    .catalog-inline-fields {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.catalog-inline-suffix {
    color: #66758a;
    font-weight: 700;
}

.catalog-warning-box {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
    padding: 30px;
}

.catalog-warning-box i {
    color: #d97706;
    font-size: 26px;
    margin-top: 4px;
}

.catalog-warning-box p {
    margin: 0;
    line-height: 1.7;
}

.catalog-warning-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.catalog-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.44);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 80;
}

.catalog-modal-card {
    width: min(640px, calc(100vw - 32px));
    overflow: hidden;
}

@media (max-width: 1100px) {
    .catalog-split-card,
    .catalog-item-grid,
    .catalog-plan-top,
    .catalog-overview-grid,
    .catalog-two-col {
        grid-template-columns: 1fr;
    }

    .catalog-list-pane {
        border-right: 0;
        border-bottom: 1px solid #e7edf5;
    }

    .catalog-empty-feature-grid,
    .catalog-empty-promo {
        grid-template-columns: 1fr;
    }

    .catalog-item-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .catalog-plan-grid,
    .catalog-plan-section-grid,
    .catalog-plan-option-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-plan-field--wide {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .catalog-plan-tabs {
        overflow-x: auto;
        padding-bottom: 0;
    }

    .catalog-plan-tabs button {
        white-space: nowrap;
    }

    .catalog-plan-split,
    .catalog-plan-composite {
        grid-template-columns: 1fr;
    }

    .catalog-plan-composite span,
    .catalog-plan-composite small,
    .catalog-plan-composite input,
    .catalog-plan-composite--short input,
    .catalog-plan-composite--short small {
        border-radius: 10px;
        border-left: 1px solid #cfd8e6;
        border-right: 1px solid #cfd8e6;
    }
}

/* Keep the richer visual treatment on the dashboard only. */
body:not(.billing-dashboard-page) {
    background: #f7f9fc;
}

body:not(.billing-dashboard-page) .dashboard-shell {
    background: #fff;
}

body:not(.billing-dashboard-page) .sidebar {
    background: #fff;
    color: #314159;
    border-right: 1px solid #e5ebf2;
    box-shadow: none;
}

body:not(.billing-dashboard-page) .sidebar-brand,
body:not(.billing-dashboard-page) .sidebar-link,
body:not(.billing-dashboard-page) .sidebar-dropdown-trigger,
body:not(.billing-dashboard-page) .sidebar-sublink {
    color: #4f5f74;
}

body:not(.billing-dashboard-page) .sidebar-apps {
    border-top-color: #e5ebf2;
}

body:not(.billing-dashboard-page) .sidebar-apps span {
    color: #7c8a9d;
}

body:not(.billing-dashboard-page) .sidebar-link--muted,
body:not(.billing-dashboard-page) .sidebar-dropdown.is-open > .sidebar-dropdown-trigger,
body:not(.billing-dashboard-page) .sidebar-dropdown-menu {
    background: #f7f9fc;
    color: #314159;
}

body:not(.billing-dashboard-page) .sidebar-link.is-active,
body:not(.billing-dashboard-page) .sidebar-dropdown.is-active > .sidebar-dropdown-trigger,
body:not(.billing-dashboard-page) .sidebar-sublink.is-active {
    background: #e8f1ff;
    color: #1f5fbf;
    box-shadow: inset 0 0 0 1px #cfe0fb;
}

body:not(.billing-dashboard-page) .sidebar-link:hover,
body:not(.billing-dashboard-page) .sidebar-dropdown-trigger:hover,
body:not(.billing-dashboard-page) .sidebar-sublink:hover {
    color: #1b2a3c;
}

body:not(.billing-dashboard-page) .dashboard-main {
    background: #fff;
    overflow: visible;
}

body:not(.billing-dashboard-page) .billing-topbar {
    position: static;
    top: auto;
    margin-bottom: 0;
    border-radius: 0;
    border-width: 0 0 1px;
    box-shadow: none;
    background: #fff;
    padding: 14px 20px;
}

body:not(.billing-dashboard-page) .billing-verify-strip {
    background: #fff8da;
}

body:not(.billing-dashboard-page) .dashboard-content {
    background: #fff;
}

.billing-app-page {
    padding: 0;
    background: #f7f8fc;
}

.billing-events-page .billing-verify-strip,
.billing-reports-page .billing-verify-strip,
.billing-documents-page .billing-verify-strip {
    display: none;
}

.billing-events-page .billing-topbar,
.billing-reports-page .billing-topbar,
.billing-documents-page .billing-topbar {
    border-bottom: 1px solid #e5eaf1;
    margin-bottom: 0;
}

.app-screen {
    min-height: calc(100vh - 120px);
}

.app-page-heading {
    min-height: 90px;
    padding: 20px 26px;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.app-page-heading h1,
.app-title-row h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #152238;
}

.app-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-title-caret,
.app-table-search,
.app-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #d9e2ee;
    background: #fff;
    color: #495a70;
}

.app-data-card,
.app-report-list-card,
.app-report-sidebar {
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(38, 53, 79, 0.05);
}

.app-table-tools {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px 0;
}

.app-table-wrap {
    overflow: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table thead th {
    padding: 16px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    color: #6e7d94;
    border-bottom: 1px solid #e6ebf2;
    white-space: nowrap;
}

.app-table tbody td {
    padding: 18px;
    border-bottom: 1px solid #eef2f6;
    color: #19283e;
    background: #fff;
}

.app-table tbody tr:hover td {
    background: #f8faff;
}

.app-table-empty {
    padding: 36px 18px;
    text-align: center;
    color: #718198;
}

.billing-events-page .app-screen,
.billing-reports-page .app-screen {
    padding: 0;
}

.billing-events-page .app-data-card {
    margin: 0 16px 16px;
    border-radius: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
}

.billing-events-page .app-table tbody td,
.billing-events-page .app-table thead th {
    padding-top: 15px;
    padding-bottom: 15px;
}

.app-reports-hero {
    padding: 20px 26px;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    display: grid;
    grid-template-columns: 1fr minmax(260px, 380px) auto;
    align-items: center;
    gap: 18px;
}

.app-report-search {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    background: #f3f5fb;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f6e88;
}

.app-report-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #25344b;
    font-size: 15px;
}

.app-report-actions,
.app-doc-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-primary-btn,
.app-soft-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #d7e2ed;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.app-primary-btn {
    background: #27b36a;
    border-color: #27b36a;
    color: #fff;
}

.app-soft-btn {
    background: #eef5ff;
    color: #3872d9;
}

.app-primary-btn--split {
    border-radius: 8px;
}

.app-reports-surface {
    padding: 18px 26px 24px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 18px;
    background:
        radial-gradient(circle at 20px 20px, rgba(89, 109, 198, 0.08) 0 2px, transparent 2px),
        linear-gradient(180deg, #f8f9fe, #f5f7fc);
}

.app-report-sidebar {
    padding: 18px 14px;
    max-height: calc(100vh - 220px);
    overflow: auto;
}

.app-report-home-nav,
.app-report-category-list {
    display: grid;
    gap: 8px;
}

.app-report-nav-item,
.app-report-category {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 0 14px;
    background: transparent;
    color: #20314a;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.app-report-nav-item.is-active,
.app-report-category.is-active {
    background: #edf2ff;
    color: #1d5ae8;
    font-weight: 700;
}

.app-report-side-title {
    margin: 28px 10px 12px;
    font-size: 13px;
    font-weight: 800;
    color: #6a7a90;
}

.app-report-list-card {
    overflow: hidden;
}

.app-report-list-head {
    padding: 18px 18px 10px;
    border-bottom: 1px solid #eef2f6;
}

.app-report-list-head h2 {
    margin: 0;
    font-size: 18px;
}

.app-report-list-head span {
    display: inline-flex;
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eaf1ff;
    color: #3570dc;
    font-size: 14px;
    margin-left: 8px;
}

.app-report-link {
    color: #1b63ea;
    text-decoration: none;
    font-weight: 700;
}

.app-screen--documents {
    display: grid;
    grid-template-columns: 274px minmax(0, 1fr);
    min-height: calc(100vh - 120px);
}

.app-doc-sidebar {
    background: #252b40;
    color: #fff;
    padding: 24px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-doc-sidebar h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.app-doc-back,
.app-doc-trash {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-doc-nav,
.app-doc-folders {
    display: grid;
    gap: 10px;
}

.app-doc-nav-link,
.app-doc-folder-item {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-doc-nav-link strong {
    margin-left: auto;
}

.app-doc-nav-link.is-active {
    background: #2bb274;
}

.app-doc-folders-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.44);
}

.app-doc-folders-head button {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
}

.app-doc-trash {
    margin-top: auto;
}

.app-doc-content {
    background: #fff;
}

.app-page-heading--docs {
    padding-left: 24px;
    padding-right: 24px;
}

.app-doc-filterbar {
    min-height: 56px;
    padding: 0 24px;
    border-bottom: 1px solid #e6ebf2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.app-doc-filterbar button {
    border: 0;
    background: transparent;
    color: #40506a;
    font-size: 15px;
}

.billing-documents-page .app-data-card {
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.app-file-name {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-file-badge {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 8px;
    background: #e7f6eb;
    color: #2e8e4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .app-reports-hero {
        grid-template-columns: 1fr;
    }

    .app-reports-surface,
    .app-screen--documents {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .app-page-heading,
    .app-reports-hero,
    .app-doc-filterbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-report-actions,
    .app-doc-actions {
        flex-wrap: wrap;
    }
}
