:root {
    --bg: #f1ede5;
    --text: #292b27;
    --muted: #63685f;
    --line: #3d3c351c;
    --line-strong: #3d3c3533;
    --primary: #e2a214;
    --primary-2: #d99a00;
    --primary-text: #855800;
    --surface: #fffdf9f5;
    --surface-2: #f3eee5;
    --surface-3: #e8e0d3;
    --surface-solid: #fffdfa;
    --shadow: 0 18px 48px #4e443214;
    --mint: #4bc98b;
    --mint-text: #377f5a;
    --amber: #d99a00;
    --amber-text: #8f6b0c;
    --danger: #e76f61;
    --danger-text: #ab594d;
    --cyan: #75a7e3;
    --cyan-text: #537395;
    --sidebar-rail-width: 78px;
    --sidebar-full-width: 284px;
    --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

html.dark {
    --bg: #111819;
    --text: #eef2ed;
    --muted: #9da9a2;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --surface: rgba(17, 26, 28, 0.94);
    --surface-2: #1b2628;
    --surface-3: #243033;
    --surface-solid: #172022;
    --primary-text: #f0c45f;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
}

button, input, select, textarea { font-family: inherit; }

a { color: var(--primary-text); }

.brand-mark {
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f5c84d, #d9980b);
    color: #3f2d05;
    box-shadow: 0 12px 30px rgba(207, 145, 17, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.brand-mark svg { width: 18px; height: 18px; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; }
.guest-logo { display: block; height: 68px; width: auto; max-width: min(280px, 100%); object-fit: contain; }

.brand-live {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 9px;
    height: 9px;
    border: 2px solid #fffdfa;
    border-radius: 50%;
    background: #45af80;
}

#sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: min(284px, calc(100vw - 28px));
    border-right: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
    transform: translateX(-105%);
    transition: transform 0.24s ease, width 0.24s ease;
}

#sidebar.is-open { transform: none; }

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.sidebar-backdrop.is-open { display: block; }

.sidebar-head {
    display: flex;
    height: 72px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 0 16px;
}

#sidebar-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

#sidebar-brand-copy { min-width: 0; }

#sidebar-brand-copy .brand-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

#sidebar-brand-copy .brand-kicker {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

#primary-navigation {
    display: grid;
    gap: 4px;
    min-height: 0;
    flex: 1;
    overflow: auto;
    padding: 12px 10px 18px;
}

.sidebar-domain-toggle {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 3px 5px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-domain-toggle:disabled { cursor: not-allowed; opacity: 0.62; }

.sidebar-domain-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--surface-solid), var(--surface-2));
    color: color-mix(in srgb, var(--muted) 70%, var(--primary));
    box-shadow: 0 8px 20px rgba(42, 50, 47, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sidebar-domain-icon svg { width: 19px; height: 19px; }

.sidebar-domain.is-active > .sidebar-domain-toggle .sidebar-domain-icon {
    color: #473205;
    border-color: color-mix(in srgb, var(--primary) 38%, var(--line));
    background: linear-gradient(145deg, #ffd866, #eaa914);
    box-shadow: 0 12px 30px rgba(202, 142, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.sidebar-domain-label { font-size: 14px; font-weight: 750; letter-spacing: -0.01em; }

.sidebar-domain-chevron { width: 14px; height: 14px; }

.sidebar-domain.is-open > .sidebar-domain-toggle .sidebar-domain-chevron { transform: rotate(180deg); }

.sidebar-domain-panel { display: none; gap: 2px; margin: 3px 3px 8px 4px; padding: 2px 0 4px; }

.sidebar-domain.is-open > .sidebar-domain-panel { display: grid; }

.sidebar-domain-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 9px 8px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.sidebar-domain-link svg { width: 15px; height: 15px; flex: none; }

.sidebar-domain-link:hover,
.sidebar-domain-link.active {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--text);
}

#app-main { min-height: 100vh; }

#app-main > header {
    position: sticky;
    top: 0;
    z-index: 40;
    overflow: visible;
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    height: 72px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding: 0 16px;
    background: color-mix(in srgb, #f8f7f1 84%, transparent);
    backdrop-filter: blur(22px);
}

html.dark .topbar { background: rgba(17, 25, 26, 0.9); }

.icon-button,
.topbar-utility {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
    color: var(--text);
    cursor: pointer;
}

.icon-button svg,
.topbar-utility svg { width: 18px; height: 18px; }

.icon-button:hover,
.topbar-utility:hover { transform: translateY(-1px); }

#command-trigger {
    display: flex;
    height: 40px;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 8px;
    max-width: 32rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 12px;
    background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

#command-trigger svg { width: 16px; height: 16px; flex: none; }

#command-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

#command-trigger kbd {
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 2px 6px;
    background: var(--surface-2);
    font-size: 11px;
    font-weight: 800;
}

.topbar-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.dropdown { position: relative; }

.dropdown-panel { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; }

.dropdown.is-open .dropdown-panel { display: block; }

.topbar-avatar {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #17130a;
    font-size: 11.5px;
    font-weight: 800;
}

.topbar-profile-trigger {
    display: flex;
    height: 44px;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--danger);
}

#main-content { padding: 18px 16px 40px; }

.page-head { margin: 0 auto 16px; max-width: 1784px; }

.page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.shell-flash {
    margin: 0 auto 14px;
    max-width: 1784px;
    border: 1px solid rgba(78, 180, 135, 0.28);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(238, 249, 243, 0.92);
    color: var(--mint-text);
    font-weight: 700;
}

.card {
    border: 1px solid rgba(222, 211, 187, 0.62) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 236, 0.78)) !important;
    box-shadow: 0 16px 42px rgba(87, 71, 42, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html.dark .card {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(145deg, rgba(27, 39, 40, 0.9), rgba(17, 27, 29, 0.78)) !important;
    color: var(--text);
}

.form-control,
.form-select {
    min-height: 44px;
    border-color: rgba(61, 60, 53, 0.16);
    border-radius: 12px;
    background: var(--surface-solid);
    color: var(--text);
}

.form-control:focus,
.form-select:focus {
    border-color: #e8a817;
    box-shadow: 0 0 0 0.2rem rgba(232, 168, 23, 0.18);
}

.btn-primary {
    border-color: #e4a113;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #c88406;
    background: #e8a817;
    color: #3f2d05;
}

.btn-primary:disabled { opacity: 0.55; }

.btn-outline-secondary,
.btn-outline-danger,
.btn-success,
.btn-outline-primary {
    border-radius: 12px;
    font-weight: 700;
}

.table { --bs-table-bg: transparent; color: inherit; }

.table thead th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.status-active { background: rgba(78, 180, 135, 0.12); color: #2f7448; }
.status-pending { background: rgba(232, 168, 23, 0.14); color: #8a6a1a; }
.status-suspended { background: rgba(99, 104, 95, 0.12); color: #4d524b; }
.status-deactivated { background: rgba(231, 111, 97, 0.12); color: #a13f37; }

.page-pagination { margin-top: 14px; }

.pagination {
    --bs-pagination-color: #855800;
    --bs-pagination-hover-color: #855800;
    --bs-pagination-active-bg: #e8a817;
    --bs-pagination-active-border-color: #e8a817;
    --bs-pagination-active-color: #3f2d05;
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(232, 168, 23, 0.18);
}

.cc25-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.cc25-flow-chart,
.cc25-spark svg { display: block; width: 100%; height: 100%; }

.cc25-delta b.flat,
.cc25-flow-summary em.flat,
.cc25-runtime-row em.flat { color: var(--gc-muted, var(--muted)); }

.cc25-mark {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    border-radius: 46px;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 36%),
        linear-gradient(160deg, #ffe7a3, #e8a817 58%, #c88406);
    color: #3f2d05;
    box-shadow: 0 28px 40px rgba(98, 70, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cc25-mark svg { width: 64px; height: 64px; }

.cc25-empty {
    margin: 8px 0 0;
    color: var(--gc-muted, var(--muted));
    font-size: 14px;
}

.command-palette {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 12px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.command-palette.is-open { display: flex; }

.command-panel {
    width: min(640px, 100%);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-solid);
    box-shadow: 0 24px 70px rgba(54, 50, 38, 0.18);
}

.command-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
}

.command-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

.command-list { max-height: 50vh; overflow: auto; padding: 8px; }

.command-label {
    padding: 8px 10px 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.command-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    padding: 12px;
    background: transparent;
    color: var(--text);
    text-align: left;
    text-decoration: none;
}

.command-item:hover,
.command-item.is-active { background: color-mix(in srgb, var(--primary) 10%, transparent); }

.command-empty { display: none; padding: 18px; color: var(--muted); }

.layout-settings-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.28);
}

.layout-settings-backdrop.is-open,
.layout-settings-panel.is-open { display: block; }

.layout-settings-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(380px, 100%);
    height: 100%;
    overflow: auto;
    border-left: 1px solid var(--line);
    background: var(--surface-solid);
    box-shadow: -18px 0 50px rgba(54, 50, 38, 0.12);
}

.layout-settings-head,
.layout-settings-body,
.layout-settings-footer { padding: 18px; }

.layout-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.layout-settings-head h2 { margin: 0; font-size: 18px; font-weight: 800; }

.layout-settings-head p,
.layout-settings-section p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.choice-grid { display: grid; gap: 8px; margin-top: 12px; }

.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.choice[aria-pressed="true"] {
    border-color: color-mix(in srgb, var(--primary) 50%, var(--line));
    background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.choice b { display: block; }
.choice small { color: var(--muted); }

.guest-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 214, 120, 0.35), transparent 28%),
        radial-gradient(circle at 80% 80%, rgba(120, 196, 160, 0.22), transparent 32%),
        linear-gradient(180deg, #f8f4ed 0%, #eee7dc 100%);
}

.auth-stage {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(340px, 0.95fr);
}

.auth-credit {
    margin: 0;
    padding: 8px 16px 18px;
    color: #8a7560;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 40px 32px;
    background:
        radial-gradient(circle at 70% 62%, rgba(255, 214, 120, 0.45), transparent 26%),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.7), transparent 24%),
        linear-gradient(165deg, #fffaf0 0%, #f3e7cf 48%, #efe4d2 100%);
}

.auth-aside-copy { position: relative; z-index: 1; max-width: 460px; }

.auth-aside-copy h2 {
    margin: 8px 0 10px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.auth-aside-copy p:last-child {
    margin: 0;
    max-width: 380px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.auth-orbit {
    position: relative;
    z-index: 1;
    height: 220px;
}

.auth-orbit-ring {
    position: absolute;
    left: 78px;
    bottom: 18px;
    width: 180px;
    height: 180px;
    border: 1px dashed rgba(232, 168, 23, 0.45);
    border-radius: 50%;
}

.auth-orbit-ring.ring-b {
    width: 250px;
    height: 250px;
    left: 43px;
    bottom: -16px;
    border-color: rgba(69, 175, 128, 0.28);
}

.auth-mark {
    position: absolute;
    left: 118px;
    bottom: 58px;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(160deg, #ffe7a3, #e8a817 58%, #c88406);
    color: #3f2d05;
    box-shadow: 0 22px 40px rgba(98, 70, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-mark svg { width: 40px; height: 40px; }

.guest-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}

.auth-panel {
    width: min(440px, 100%);
    border-radius: 24px !important;
}

.auth-panel .card-body { padding: 32px 28px; }

.auth-panel h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.auth-lead {
    margin: 8px 0 22px;
    color: var(--muted);
}

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

.auth-label-row a,
.auth-switch a { font-weight: 800; text-decoration: none; }

.auth-panel .form-label { font-size: 13px; font-weight: 800; }

.auth-panel .form-control {
    min-height: 48px;
    border-radius: 14px;
    background: #fffdfa;
}

.auth-remember .form-check-input { accent-color: #e8a817; }

.auth-submit {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffd866, #e8a817);
    color: #3f2d05;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(225, 160, 17, 0.22);
}

.auth-submit:hover,
.auth-submit:focus {
    background: linear-gradient(145deg, #ffe08a, #e2a214);
    color: #3f2d05;
}

.auth-switch {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.register-form .mb-3 {
    margin-bottom: 0.5rem !important;
}

.register-form .form-text {
    margin-top: 0.2rem;
    font-size: 12px;
}

@media (max-width: 860px) {
    .auth-stage { grid-template-columns: 1fr; }
    .auth-aside { min-height: 240px; padding: 24px 20px; }
    .auth-orbit { display: none; }
    .auth-aside-copy h2 { font-size: 28px; }
    .auth-main { align-items: flex-start; padding: 20px 16px 32px; }
    .auth-panel .card-body { padding: 24px 18px; }
}

.low-credit {
    margin-bottom: 14px;
    border: 1px solid rgba(232, 168, 23, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff8e8;
    color: #8a6a1a;
    font-weight: 700;
}

button.topbar-profile-link {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

@media (min-width: 1024px) {
    #sidebar { transform: none; }
    .sidebar-backdrop { display: none !important; }
    [data-open-sidebar],
    #sidebar [data-close-sidebar] { display: none; }
    .topbar { padding: 0 24px; }
    #main-content { padding: 18px 24px 46px; }
    #command-trigger kbd { display: inline; }
}

@media (max-width: 1023px) {
    #command-trigger kbd { display: none; }
    .layout-settings-panel { width: min(380px, 100%); }
}

#primary-navigation,
body[data-active-page="command-center"] #primary-navigation {
    gap: 4px !important;
    align-items: start !important;
    grid-auto-rows: min-content !important;
    padding: 12px 10px 18px !important;
}
.sidebar-domain { min-height: 0 !important; align-self: start !important; }
.sidebar-domain-toggle {
    grid-template-columns: 44px minmax(0, 1fr) 16px !important;
    min-height: 50px !important;
    height: auto !important;
    gap: 10px !important;
    padding: 3px 5px !important;
}
.sidebar-domain-icon { width: 44px !important; height: 44px !important; border-radius: 14px !important; }
.sidebar-domain-icon svg,
.sidebar-domain-icon > svg { width: 19px !important; height: 19px !important; }
.sidebar-domain-standalone { margin-bottom: 0 !important; }
.sidebar-domain-link { min-height: 42px !important; padding: 9px 8px !important; }

@media (max-width: 1023px) {
    .sidebar-domain-toggle { min-height: 50px !important; }
    .sidebar-domain-link { min-height: 42px !important; padding: 9px 8px !important; }
}

.customer-directory { display: grid; gap: 14px; }
.directory-intro, .directory-filters, .directory-card { max-width: 1784px; }
.directory-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.directory-kicker {
    margin: 0 0 4px;
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.directory-intro h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
}
.directory-intro p { margin: 6px 0 0; color: var(--muted); }
.directory-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.directory-filter {
    display: grid;
    min-height: 108px;
    align-content: center;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 18px 20px;
    text-decoration: none;
}
.directory-filter b { font-size: 36px; letter-spacing: -0.05em; line-height: 1; }
.directory-filter span { margin-top: 8px; font-size: 14px; font-weight: 800; }
.customer-directory .directory-filter { grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.customer-directory .directory-filter-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.72); }
.customer-directory .directory-filter-icon svg { width: 20px; height: 20px; }
.customer-directory .directory-filter b { margin: 0; }
.customer-directory .directory-filter-label { margin-top: 4px; }
.directory-filter.tone-all { background: linear-gradient(145deg, #fff4cc, #ffe08a); color: #6d4b00; }
.directory-filter.tone-pending { background: rgba(232, 168, 23, 0.2); color: #8a6a1a; }
.directory-filter.tone-active { background: rgba(78, 180, 135, 0.2); color: #2f7448; }
.directory-filter.tone-suspended { background: rgba(99, 104, 95, 0.16); color: #4d524b; }
.directory-filter.tone-deactivated { background: rgba(231, 111, 97, 0.18); color: #a13f37; }
.directory-filter.is-selected { box-shadow: inset 0 0 0 2px currentColor; }
.directory-card {
    border: 1px solid rgba(222, 211, 187, 0.7);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(248, 244, 235, 0.9));
    box-shadow: 0 16px 42px rgba(87, 71, 42, 0.07);
    overflow: hidden;
}
.directory-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}
.directory-search {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 0 12px;
    background: var(--surface-solid);
}
.directory-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.directory-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 11px 0;
    background: transparent;
    color: var(--text);
}
.directory-page-size { flex: none; }
.directory-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.directory-page-size select {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface-solid);
    color: var(--text);
    font-weight: 800;
    padding: 10px 12px;
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.data-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.data-table th a { color: inherit; text-decoration: none; }
.customer-index { width: 52px; color: var(--muted); font-weight: 800; }
.data-table th[aria-sort="ascending"] a, .data-table th[aria-sort="descending"] a { color: var(--primary-text); }
.data-table tbody tr:hover { background: rgba(226, 162, 20, 0.05); }
.customer-person, .customer-business { display: flex; min-width: 0; }
.customer-person { align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.customer-person b, .customer-business b { display: block; font-size: 14px; }
.customer-person small, .customer-business small { display: block; color: var(--muted); font-size: 12px; }
.customer-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-size: 12px;
    font-weight: 800;
}
.customer-business { flex-direction: column; }
.customer-action a {
    display: inline-flex;
    border-radius: 10px;
    padding: 7px 10px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.data-table-empty { padding: 28px 14px !important; color: var(--muted); text-align: center !important; }
.data-table-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
}
.data-table-foot p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.data-table-foot .pagination { margin: 0; }
@media (max-width: 760px) {
    .directory-intro, .data-table-foot { align-items: stretch; flex-direction: column; }
    .directory-toolbar { flex-wrap: wrap; }
    .directory-search { flex: 1 1 100%; }
    .directory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .directory-filter.tone-all { grid-column: 1 / -1; }
}

.account-sheet { display: grid; gap: 14px; max-width: 1784px; }
.account-back {
    width: fit-content;
    color: var(--primary-text);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.account-back::before { content: "← "; }
.account-hero, .account-layout { display: flex; gap: 16px; }
.account-hero {
    align-items: center;
    border-radius: 20px;
    padding: 22px;
}
.account-hero.tone-pending { background: rgba(232, 168, 23, 0.2); }
.account-hero.tone-active { background: rgba(78, 180, 135, 0.18); }
.account-hero.tone-suspended { background: rgba(99, 104, 95, 0.14); }
.account-hero.tone-deactivated { background: rgba(231, 111, 97, 0.16); }
.account-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    flex: none;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-size: 24px;
    font-weight: 800;
}
.account-identity { min-width: 0; flex: 1; }
.account-identity p {
    margin: 0 0 4px;
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.account-identity h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.045em; }
.account-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.account-joined { display: grid; margin: 0 0 0 auto; text-align: right; }
.account-joined strong { font-size: 18px; letter-spacing: -0.03em; }
.account-joined span { color: var(--muted); font-size: 12px; font-weight: 800; }
.account-layout { align-items: start; }
.account-details { flex: 1.4; padding: 18px; }
.account-status { flex: 0.8; padding: 22px; }
.account-details h2, .account-status h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.account-status p { margin: 8px 0 16px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
}
.detail-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 13px;
    background: linear-gradient(145deg, #fff6d8, #f3e2b0);
    color: #8a5d08;
}
.detail-icon svg { width: 18px; height: 18px; }
.detail-tile small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.detail-tile b { display: block; overflow-wrap: anywhere; font-size: 14px; }
.status-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.status-actions form { margin: 0; }
.status-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 0;
    border: 0;
    border-radius: 12px;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
}
.status-action b { font-size: 13px; }
.status-action-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
}
.status-action-icon svg { width: 14px; height: 14px; }
.status-action:disabled { opacity: 0.45; cursor: default; }
.status-action.tone-active { background: #2f7448; color: #fff; }
.status-action.tone-suspended { background: #4d524b; color: #fff; }
.status-action.tone-deactivated { background: #a13f37; color: #fff; }
.goblust-alert { width: 24rem !important; border-radius: 18px !important; padding: 1.15rem 1.15rem 1rem !important; font-family: Manrope, ui-sans-serif, system-ui, sans-serif !important; }
.goblust-alert-title { font-size: 1.2rem !important; font-weight: 800 !important; letter-spacing: -0.03em !important; color: #292b27 !important; }
.goblust-alert-text { color: #63685f !important; font-size: 0.92rem !important; }
.goblust-alert-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
    width: 100% !important;
    margin: 0.75rem auto 0 !important;
}
.goblust-alert-confirm, .goblust-alert-cancel {
    width: 100%;
    margin: 0 !important;
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}
.goblust-alert-confirm { color: #fff; }
.goblust-alert-confirm.tone-active { background: #2f7448; }
.goblust-alert-confirm.tone-suspended { background: #4d524b; }
.goblust-alert-confirm.tone-deactivated { background: #a13f37; }
.goblust-alert-confirm.tone-gold { background: linear-gradient(145deg, #ffd866, #e9a817); color: #3f2d05; }
.goblust-alert-actions.is-single { grid-template-columns: max-content; justify-content: center; }
.goblust-alert-actions.is-single .goblust-alert-confirm { width: auto; min-width: 8rem; }
.goblust-alert-text p { margin: 0 0 6px; }
.goblust-alert-text p:last-child { margin-bottom: 0; }
.goblust-alert-cancel { background: #f3eee5; color: #292b27; }
body[data-active-page="profile"] .shell-flash,
body[data-active-page="contacts"] .shell-flash,
body[data-active-page="sms"] .shell-flash,
body[data-active-page="purchases"] .shell-flash { display: none !important; }
.swal2-container.swal2-backdrop-hide { display: none !important; }
.profile-studio { display: grid; gap: 18px; max-width: 1784px; }
.profile-studio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.profile-studio-head p { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.profile-studio-head h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.045em; }
.profile-studio-actions { display: flex; align-items: center; gap: 8px; }
.profile-studio-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.profile-identity { padding: 32px 24px 22px; text-align: center; }
.profile-identity-avatar {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-size: 30px;
    font-weight: 800;
}
.profile-identity h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.profile-identity .who, .profile-identity .mail { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.profile-identity .mail { font-size: 12px; overflow-wrap: anywhere; }
.profile-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 4px; }
.profile-chip { border-radius: 999px; padding: 4px 8px; background: #fff4d4; color: #8a5d08; font-size: 11px; font-weight: 800; }
.profile-meta { display: grid; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.profile-meta div { display: flex; justify-content: space-between; gap: 12px; }
.profile-meta dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.profile-meta dd { margin: 0; font-size: 13px; font-weight: 800; text-align: right; }
.profile-editor { padding: 6px 6px 20px; }
.profile-tabbar { display: flex; align-items: center; gap: 4px; padding: 6px 12px 0; border-bottom: 1px solid var(--line); }
.profile-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 12px 12px 11px; color: var(--muted); font-weight: 800; cursor: pointer; }
.profile-tab.is-selected { color: var(--text); border-bottom-color: var(--primary); }
.profile-saved { margin-left: auto; color: var(--mint-text); font-size: 13px; font-weight: 800; }
.profile-pane { padding: 18px 16px 0; }
.profile-pane h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.profile-pane > p { margin: 6px 0 16px; color: var(--muted); font-size: 13px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.profile-control { display: grid; gap: 6px; min-width: 0; }
.profile-control.span-2 { grid-column: 1 / -1; }
.profile-control label { color: var(--text); font-size: 13px; font-weight: 800; }
.profile-control input {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 650;
}
.profile-control input:focus { outline: 0; border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: var(--surface-solid); }
.profile-control.is-invalid input { border-color: var(--danger); }
.profile-lock { position: relative; }
.profile-lock input { padding-right: 40px; color: var(--muted); cursor: not-allowed; }
.profile-lock svg { position: absolute; top: 50%; right: 14px; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.profile-hint, .profile-error { font-size: 12px; font-weight: 700; }
.profile-hint { color: var(--muted); }
.profile-error { color: var(--danger-text); }
.profile-save {
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-weight: 800;
    cursor: pointer;
}
.profile-save[hidden], .profile-pane[hidden] { display: none !important; }
@media (max-width: 860px) {
    .account-hero, .account-layout { flex-direction: column; }
    .account-joined { margin: 0; text-align: left; }
    .detail-grid { grid-template-columns: 1fr; }
    .profile-studio-head, .profile-tabbar { align-items: stretch; }
    .profile-studio-head, .profile-studio-grid, .profile-fields { display: grid; grid-template-columns: 1fr; }
    .profile-saved { margin: 8px 0; }
    .profile-save { width: 100%; }
}

@media (min-width: 1280px) {
    .topbar-profile-copy { display: block; min-width: 0; text-align: left; }
    .topbar-profile-copy b,
    .topbar-profile-copy small { display: block; white-space: nowrap; }
    .topbar-profile-copy b { font-size: 12.5px; font-weight: 800; line-height: 1.2; }
    .topbar-profile-copy small { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
}

.contacts-page { display: grid; gap: 14px; width: 100%; max-width: 100%; min-width: 0; }
.contacts-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contacts-stats .directory-filter { grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.contacts-stats .contacts-stat-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.62); }
.contacts-stats .contacts-stat-icon svg { width: 20px; height: 20px; }
.contacts-stats .directory-filter b { margin: 0; }
.contacts-stats .contacts-stat-label { margin-top: 4px; }
.contacts-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr); gap: 14px; align-items: stretch; min-width: 0; min-height: calc(100vh - 280px); }
.contacts-pane, .groups-pane { display: flex; flex-direction: column; min-width: 0; max-width: 100%; min-height: 640px; border: 1px solid #ece8e1; border-radius: 10px; background: #fff; overflow: hidden; }
.contacts-pane-head, .groups-pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; }
.contacts-pane-head h1, .groups-pane-head h1 { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.groups-pane-actions { display: grid; justify-items: end; gap: 8px; }
.contacts-pane-tools { display: flex; align-items: center; gap: 8px; }
.contacts-search { display: flex; align-items: center; gap: 8px; width: 230px; border: 1px solid #e4dfd6; border-radius: 8px; padding: 7px 12px; background: #fff; }
.contacts-search svg { width: 15px; height: 15px; color: #9aa097; }
.contacts-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.contacts-table-wrap { display: flex; flex: 1; flex-direction: column; width: 100%; max-width: 100%; min-width: 0; min-height: 0; }
.contacts-table-wrap.is-datatable .contacts-empty { display: none; }
.contacts-page {
    --dt-row-selected: 232, 168, 23;
    --dt-row-hover: 245, 165, 36;
    --dt-row-stripe: 255, 253, 249;
    --dt-column-ordering: 226, 162, 20;
}
.contacts-page .dt-container { width: 100%; max-width: 100%; min-width: 0; padding: 2px 16px 14px; color: var(--text); font-size: 14px; }
.contacts-page .dt-layout-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: space-between; width: 100%; max-width: 100%; min-width: 0; margin: 0; }
.contacts-page .dt-layout-row.dt-layout-table { display: block; overflow: visible; }
.contacts-page .dt-scroll,
.contacts-page .dt-scroll-body { width: 100%; max-width: 100%; overflow-x: auto; }
.contacts-page .dt-layout-row:first-child { margin-bottom: 12px; }
.contacts-page .dt-layout-row:last-child { margin-top: 2px; padding-top: 12px; border-top: 1px solid #f1eee8; }
.contacts-page .dt-layout-cell { min-width: 0; }
.contacts-page .dt-length,
.contacts-page .dt-search { display: flex; align-items: center; gap: 8px; margin: 0; color: #8d928a; font-size: 12px; font-weight: 800; }
.contacts-page .dt-length label,
.contacts-page .dt-search label { display: flex; align-items: center; gap: 8px; margin: 0; }
.contacts-page .dt-length select,
.contacts-page .dt-search input {
    height: 38px;
    border: 1px solid #e6dfd2;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}
.contacts-page .dt-length select { padding: 0 28px 0 12px; }
.contacts-page .dt-search input {
    width: min(240px, 100%);
    padding: 0 12px 0 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa097' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 11px 50%;
    background-size: 15px;
}
.contacts-page .dt-length select:focus,
.contacts-page .dt-search input:focus { outline: 0; border-color: #e8b23a; box-shadow: 0 0 0 3px rgba(232, 168, 23, 0.16); }
.contacts-page .dt-info { margin: 0; color: #8d928a; font-size: 12px; font-weight: 750; }
.contacts-page .dt-paging { display: flex; align-items: center; gap: 4px; }
.contacts-page .dt-paging .dt-paging-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #4d524b;
    font-weight: 800;
    box-shadow: none;
    cursor: pointer;
}
.contacts-page .dt-paging .dt-paging-button.current,
.contacts-page .dt-paging .dt-paging-button.current:hover {
    border-color: transparent;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
}
.contacts-page .dt-paging .dt-paging-button:hover:not(.current):not(.disabled) { background: #f6f4f0; color: #292b27; }
.contacts-page .dt-paging .dt-paging-button.disabled,
.contacts-page .dt-paging .dt-paging-button.disabled:hover { opacity: 0.38; background: transparent; color: #8d928a; cursor: default; }
.contacts-page .dt-container > .dt-layout-row:first-child:not(:has(.dt-search)):not(:has(.dt-length)) { display: none; }
.contacts-page .dt-search input,
.contacts-page .dt-length select { border-radius: 999px; background-color: #fff; }
.contacts-page .dt-search input { width: min(280px, 70vw); }
.contacts-page table.dataTable { width: 100% !important; max-width: 100%; margin: 0 !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 10px; }
.contacts-page table.dataTable > thead > tr > th,
.contacts-page table.dataTable > tbody > tr:not(.child) > td { white-space: nowrap; }
.contacts-page table.dataTable > tbody > tr.child td { white-space: normal; }
.contacts-page table.dataTable thead th,
.contacts-page table.dataTable thead td,
.contacts-page table.dataTable tbody td { border: 0 !important; box-shadow: none !important; }
.contacts-page table.dataTable thead th {
    padding: 4px 16px 2px;
    background: transparent;
    color: #8b909a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.contacts-page table.dataTable thead th.group-index,
.contacts-page table.dataTable thead th.group-actions-cell { width: 56px; }
.contacts-page table.dataTable thead > tr > th .dt-column-order:before,
.contacts-page table.dataTable thead > tr > th .dt-column-order:after { color: #c9c1b3; font-size: 8px; }
.contacts-page table.dataTable thead > tr > th.dt-ordering-asc .dt-column-order:before,
.contacts-page table.dataTable thead > tr > th.dt-ordering-desc .dt-column-order:after { color: #c4a15a; }
.contacts-page table.dataTable tbody td {
    padding: 14px 16px;
    background: #fffdf8;
    color: #3c403c;
    font-weight: 650;
    vertical-align: middle;
    border-top: 1px solid #f0e7d8 !important;
    border-bottom: 1px solid #f0e7d8 !important;
}
.contacts-page table.dataTable tbody td:first-child { border-left: 1px solid #f0e7d8 !important; border-radius: 18px 0 0 18px; }
.contacts-page table.dataTable tbody td:last-child { border-right: 1px solid #f0e7d8 !important; border-radius: 0 18px 18px 0; text-align: right; }
.contacts-page table.dataTable tbody tr:hover > * { background: #fff !important; border-color: #e6dccb !important; }
.contacts-page table.dataTable td.group-index { color: #a3a79f; font-size: 13px; font-weight: 800; }
.contacts-page table.dataTable td.dt-empty { padding: 28px 16px; color: #9aa097; font-weight: 700; text-align: center; border-radius: 18px !important; }
.contacts-page table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control { cursor: pointer; }
.contacts-page table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
.contacts-page table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before { border-left-color: #c4a15a; }
.contacts-page table.dataTable > tbody > tr.child > td { background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.contacts-page table.dataTable > tbody > tr.child ul.dtr-details { width: 100%; }
.contacts-page table.dataTable > tbody > tr.child span.dtr-title { min-width: 88px; color: #8b909a; font-size: 12px; font-weight: 800; }
.folio-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.folio-person > span:last-child { display: grid; min-width: 0; }
.folio-person b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.folio-person small { color: #8b909a; font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folio-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #f3ecdf; color: #6d6456; font-size: 11px; font-weight: 800; }
.folio-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; background: #e7f6ee; color: #1c7a46; font-size: 12px; font-weight: 800; }
.folio-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.folio-muted { color: #a3a79f; font-weight: 700; }
.folio-menu { position: relative; display: inline-block; }
.folio-menu summary { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 10px; list-style: none; color: #8b909a; cursor: pointer; }
.folio-menu summary::-webkit-details-marker { display: none; }
.folio-menu summary::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.folio-menu summary:hover { background: #f6f1e8; color: #3c403c; }
.folio-menu-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 8; display: grid; min-width: 148px; padding: 6px; border: 1px solid #efe6d6; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(70, 58, 30, 0.12); }
.folio-menu-item { width: 100%; border: 0; border-radius: 8px; background: transparent; padding: 8px 10px; color: #3c403c; font-weight: 750; text-align: left; cursor: pointer; }
.folio-menu-item:hover { background: #f7f4ee; }
.folio-menu-item.is-danger { color: #a13f37; }
.folio-menu form { margin: 0; }
@media (max-width: 760px) {
    .contacts-page .dt-layout-row:first-child,
    .contacts-page .dt-layout-row:last-child { align-items: stretch; }
    .contacts-page .dt-layout-cell,
    .contacts-page .dt-search,
    .contacts-page .dt-search label,
    .contacts-page .dt-search input,
    .contacts-page .dt-length,
    .contacts-page .dt-length select { width: 100%; }
}
.contacts-table { width: 100%; border-collapse: collapse; }
.contacts-table th { padding: 11px 18px; background: #f6f4f0; color: #8d928a; font-size: 13px; font-weight: 650; text-align: left; }
.contacts-table td { padding: 12px 18px; border-bottom: 1px solid #f1eee8; font-size: 14px; }
.contacts-empty { display: grid; flex: 1; place-items: center; align-content: center; justify-items: center; padding: 48px 20px 64px; text-align: center; }
.contacts-empty-art { width: 92px; height: 72px; border-radius: 16px; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#f3f1ec, #f3f1ec) border-box; border: 10px solid #f4f2ee; box-shadow: 0 10px 24px rgba(80, 70, 50, 0.06); position: relative; }
.contacts-empty-art::before, .contacts-empty-art::after { content: ""; position: absolute; left: 16px; right: 16px; height: 8px; border-radius: 99px; background: #e7e3dc; }
.contacts-empty-art::before { top: 16px; }
.contacts-empty-art::after { top: 32px; right: 28px; }
.contacts-empty h2 { margin: 18px 0 4px; font-size: 16px; font-weight: 800; }
.contacts-empty p { margin: 0 0 16px; color: #9aa097; font-size: 13px; }
.contacts-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.contacts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 6px; padding: 8px 14px; color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; }
.contacts-btn svg { width: 14px; height: 14px; }
.contacts-btn.is-orange { background: #f5a524; }
.contacts-btn.is-green { background: #1f8f3a; }
.contacts-btn.is-quiet { background: #f3eee5; color: var(--text); }
.contacts-dialog { width: min(440px, calc(100% - 32px)); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 24px 60px rgba(40, 32, 16, 0.2); }
.contacts-dialog::backdrop { background: rgba(41, 43, 39, 0.35); }
.contacts-dialog form { display: grid; gap: 12px; padding: 20px; }
.contacts-dialog h2 { margin: 0; font-size: 18px; font-weight: 800; }
.contacts-dialog label { display: grid; gap: 6px; color: var(--text); font-size: 13px; font-weight: 800; }
.contacts-dialog input, .contacts-dialog select { width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; background: var(--surface-2); color: var(--text); font-weight: 650; }
.contacts-dialog input:focus, .contacts-dialog select:focus { outline: 0; border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: var(--surface-solid); }
.contacts-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.groups-toolbar { display: flex; align-items: center; gap: 8px; padding: 0 14px 12px; }
.groups-toolbar .contacts-search { flex: 1; width: auto; min-width: 0; }
.groups-page-size { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.groups-page-size select { border: 1px solid #e4dfd6; border-radius: 8px; padding: 7px 8px; background: #fff; color: var(--text); }
.contacts-table th a { color: inherit; text-decoration: none; }
.contacts-table .group-index { width: 42px; color: var(--muted); }
.contacts-table th.group-actions-cell,
.contacts-table td.group-actions-cell {
    width: 1%;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}
.group-actions { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.group-actions form { margin: 0; }
.group-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}
.group-action svg { width: 18px; height: 18px; }
.group-action.is-edit { background: #fff4d4; color: #8a5d08; }
.group-action.is-delete { background: #fde8e4; color: #a13f37; }
.groups-empty-row { padding: 28px 18px; color: var(--muted); text-align: center; }
.groups-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 12px 14px; border-top: 1px solid #f1eee8; }
.groups-foot p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.groups-foot .pagination { margin: 0; flex-wrap: wrap; }
@media (max-width: 1200px) {
    .contacts-board { grid-template-columns: 1fr; }
    .contacts-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contacts-pane, .groups-pane { min-height: 480px; }
    .contacts-pane-head, .groups-pane-head { flex-direction: column; }
    .groups-pane-actions { justify-items: stretch; }
    .contacts-pane-tools { flex-direction: column; align-items: stretch; width: 100%; }
    .contacts-search, .groups-pane-actions .contacts-btn, .contacts-pane-tools .contacts-btn { width: 100%; }
}
@media (max-width: 560px) {
    .contacts-stats { grid-template-columns: 1fr; }
}
.import-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 0; border-radius: 12px; padding: 0; color: #344054; box-shadow: 0 24px 60px rgba(40, 32, 16, 0.18); }
.import-dialog::backdrop { background: rgba(41, 43, 39, 0.35); }
.import-dialog-head, .import-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.import-dialog-head { border-bottom: 1px solid #eceff3; }
.import-dialog-head h2 { margin: 0; color: #344054; font-size: 16px; font-weight: 700; }
.import-close { display: inline-flex; border: 0; background: transparent; color: #98a2b3; cursor: pointer; }
.import-close svg { width: 18px; height: 18px; }
.import-step[hidden] { display: none !important; }
.import-guide { padding: 28px 28px 8px; text-align: center; }
.import-excel { display: inline-flex; }
.import-excel svg { width: 54px; height: 54px; }
.import-guide h3 { margin: 12px 0 4px; color: #1d2939; font-size: 18px; font-weight: 800; }
.import-guide > p { margin: 0; color: #98a2b3; font-size: 14px; }
.import-note { margin: 22px 0 16px; border-left: 3px solid #f5a524; padding: 2px 0 2px 14px; text-align: left; }
.import-note-title { display: flex; align-items: center; gap: 8px; color: #ef8b16; font-size: 14px; font-weight: 800; }
.import-note-title svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.import-note p { margin: 8px 0; color: #475467; font-size: 14px; line-height: 1.45; }
.import-note b { color: #1d2939; font-size: 14px; }
.import-table-wrap { overflow-x: auto; border: 1px solid #e6ebf0; border-radius: 8px; }
.import-sample-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.import-sample-table th { padding: 9px 10px; background: #1f8f3a; color: #fff; font-weight: 700; text-align: left; }
.import-sample-table td { padding: 9px 10px; border-top: 1px solid #e6ebf0; color: #344054; text-align: left; }
.import-sample { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; border: 1px solid #e4e7ec; border-radius: 8px; padding: 8px 14px; background: #f8fafc; color: #475467; font-size: 13px; font-weight: 700; text-decoration: none; }
.import-sample svg { width: 15px; height: 15px; }
.import-limit { margin: 14px 0 8px !important; color: #667085 !important; font-size: 14px !important; font-weight: 650; }
.import-dialog-foot { justify-content: flex-end; border-top: 1px solid #eceff3; }
.import-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; min-height: 36px; padding: 8px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.import-btn svg { width: 14px; height: 14px; }
.import-btn.is-ghost { border-color: #d0d5dd; background: #fff; color: #344054; }
.import-btn.is-orange { border-color: #f5a524; background: #f5a524; color: #fff; }
.import-upload { display: grid; gap: 18px; padding: 18px 20px 8px; }
.import-upload-box { border-radius: 10px; padding: 20px; background: #f5f7fb; text-align: left; }
.import-upload-box h3 { margin: 0 0 14px; color: #1d2939; font-size: 16px; font-weight: 800; }
.import-file-row { display: flex; align-items: center; gap: 12px; }
.import-choose { cursor: pointer; }
.import-file-name { color: #98a2b3; font-size: 14px; }
.import-upload-box p { margin: 14px 0 0; color: #98a2b3; font-size: 13px; }
.import-file-error { color: #a13f37 !important; font-weight: 700; }
.import-group { display: grid; gap: 8px; color: #1d2939; font-size: 14px; font-weight: 700; text-align: left; }
.import-group select { width: 100%; border: 1px solid #e4e7ec; border-radius: 8px; padding: 12px 14px; background: #fff; color: #667085; font-size: 14px; font-weight: 650; }
.import-group select:focus { outline: 0; border-color: #f5a524; color: #1d2939; }
.sms-board { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; border: 1px solid #ece6da; border-radius: 16px; background: #fffdf9; box-shadow: 0 18px 44px rgba(78, 68, 50, 0.06); }
.sms-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid #f1ece4; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #fffdfa, #fbf7f1); }
.sms-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: 12px; background: #f3eee6; }
.sms-tab { border: 0; border-radius: 9px; padding: 8px 14px; background: transparent; color: #8b8376; font-size: 13px; font-weight: 750; cursor: pointer; }
.sms-tab:hover { color: #3c3832; }
.sms-tab.is-active { background: #f5a524; color: #fff; box-shadow: 0 8px 16px rgba(245, 165, 36, 0.28); }
.sms-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.sms-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 9px; padding: 9px 14px; background: #f5a524; color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: 0 8px 16px rgba(245, 165, 36, 0.22); }
.sms-action:hover { background: #e89812; }
.sms-action svg { width: 14px; height: 14px; }
.sms-table-card { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 380px; background: transparent; }
.sms-table { width: 100%; border-collapse: collapse; }
.sms-table th { padding: 12px 18px; background: #faf7f2; color: #8d8678; font-size: 12px; font-weight: 750; letter-spacing: 0.02em; text-align: left; border-bottom: 1px solid #f1ece4; }
.sms-table td { padding: 15px 18px; border-bottom: 1px solid #f4f0e8; color: #3d4450; font-size: 14px; vertical-align: middle; }
.sms-board table.dataTable > thead > tr > th.sms-index,
.sms-board table.dataTable > tbody > tr > td.sms-index { width: 56px; padding-left: 18px; color: #8d8678; font-weight: 750; text-align: left; }
.sms-board table.dataTable > thead > tr > th.sms-name,
.sms-board table.dataTable > tbody > tr > td.sms-name { color: #1d2939; font-weight: 800; }
.sms-board table.dataTable th,
.sms-board table.dataTable td { white-space: nowrap; }
.sms-content { max-width: 280px; overflow: hidden; color: #667085; text-overflow: ellipsis; white-space: nowrap; }
.sms-when { color: #98a2b3; font-size: 13px; white-space: nowrap; }
.sms-board table.dataTable > thead > tr > th.sms-actions-head,
.sms-board table.dataTable > thead > tr > th.sms-actions-cell,
.sms-board table.dataTable > tbody > tr > td.sms-actions-cell { width: 210px; text-align: right; white-space: nowrap; }
.sms-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.sms-row-actions form { margin: 0; }
.sms-row-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 8px; padding: 6px 10px; background: #f5a524; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.sms-row-btn svg { width: 13px; height: 13px; }
.sms-row-btn:hover { background: #e89812; }
.sms-row-btn.is-danger { background: #d14343; color: #fff; }
.sms-row-btn.is-danger:hover { background: #b42323; }
.sms-board table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control { cursor: pointer; }
.sms-board table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
.sms-board table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before { border-left-color: #c4a15a; }
.sms-board table.dataTable > tbody > tr.child ul.dtr-details { width: 100%; }
.sms-board table.dataTable > tbody > tr.child span.dtr-title { font-weight: 800; }
.sms-board .folio-menu summary:hover { background: #f6f1e8; }
.sms-type { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.sms-type.is-sms { color: #2f6bff; background: #eef3ff; }
.sms-type.is-birthday { color: #d14343; background: #fdecec; }
.sms-blank { padding: 72px 18px !important; text-align: center !important; }
.sms-blank strong { display: block; color: #344054; font-size: 15px; font-weight: 800; }
.sms-blank span { display: block; margin-top: 4px; color: #98a2b3; font-size: 13px; font-weight: 650; }
.sms-board .dt-container { width: 100%; max-width: 100%; min-width: 0; padding: 0 0 12px; color: var(--text); font-size: 14px; }
.sms-board .dt-layout-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: space-between; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 14px 16px 8px; }
.sms-board .dt-layout-cell { min-width: 0; max-width: 100%; }
.sms-board .dt-layout-row.dt-layout-table { display: block; width: 100%; max-width: 100%; padding: 0; overflow: visible; }
.sms-board .dt-scroll,
.sms-board .dt-scroll-body { width: 100%; max-width: 100%; overflow-x: auto; }
.sms-board .dt-layout-row:last-child { padding-top: 12px; border-top: 1px solid #f1ece4; }
.sms-board .dt-length, .sms-board .dt-search { display: flex; align-items: center; gap: 8px; margin: 0; color: #8d8678; font-size: 12px; font-weight: 800; }
.sms-board .dt-length label, .sms-board .dt-search label { display: flex; align-items: center; gap: 8px; margin: 0; }
.sms-board .dt-length select, .sms-board .dt-search input { height: 38px; border: 1px solid #e7e1d6; border-radius: 999px; background-color: #fff; color: var(--text); font: inherit; font-size: 13px; font-weight: 700; box-shadow: none; }
.sms-board .dt-length select { padding: 0 28px 0 12px; }
.sms-board .dt-search input { width: min(260px, 70vw); padding: 0 12px 0 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa097' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 11px 50%; background-size: 15px; }
.sms-board .dt-length select:focus, .sms-board .dt-search input:focus { outline: 0; border-color: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.16); }
.sms-board .dt-info { margin: 0; color: #8d8678; font-size: 12px; font-weight: 750; }
.sms-board .dt-paging { display: flex; align-items: center; gap: 4px; }
.sms-board .dt-paging .dt-paging-button { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; margin: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #4d524b; font-weight: 800; box-shadow: none; cursor: pointer; }
.sms-board .dt-paging .dt-paging-button.current, .sms-board .dt-paging .dt-paging-button.current:hover { border-color: transparent; background: linear-gradient(145deg, #ffd866, #e9a817); color: #3f2d05; }
.sms-board .dt-paging .dt-paging-button:hover:not(.current):not(.disabled) { background: #f6f4f0; color: #292b27; }
.sms-board .dt-paging .dt-paging-button.disabled, .sms-board .dt-paging .dt-paging-button.disabled:hover { opacity: 0.38; background: transparent; color: #8d928a; cursor: default; }
.sms-board table.dataTable { width: 100% !important; margin: 0 !important; border: 0; }
.sms-board table.dataTable thead th { background: #faf7f2; border-bottom: 1px solid #f1ece4; box-shadow: none; }
.sms-board table.dataTable tbody td { border-bottom: 1px solid #f4f0e8; box-shadow: none; background: transparent; }
.sms-board table.dataTable tbody tr:last-child td { border-bottom: 0; }
.sms-board table.dataTable tbody tr:hover td { background: #fffaf3; }
.sms-board table.dataTable td.dt-empty { padding: 72px 18px; color: #98a2b3; text-align: center; }
.sms-error { margin: -6px 0 0; color: #a13f37; font-size: 12px; font-weight: 700; }
.template-dialog { width: min(600px, calc(100% - 32px)); }
.template-dialog form { display: flex; flex-direction: column; gap: 0; padding: 0; }
.template-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px 16px; border-bottom: 1px solid #eceff3; }
.template-dialog-head h2 { margin: 0; color: #1d2939; font-size: 20px; font-weight: 800; }
.template-dialog-head p { margin: 4px 0 0; color: #98a2b3; font-size: 13px; font-weight: 600; }
.template-dialog-body { display: grid; gap: 16px; padding: 22px 28px 24px; }
.template-dialog-body > label { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 750; }
.template-field-label { display: block; margin-bottom: 8px; color: #344054; font-size: 13px; font-weight: 750; }
.template-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.template-label-row span { color: #98a2b3; font-size: 12px; font-weight: 700; }
.template-dialog input[type="text"], .template-dialog textarea { width: 100%; border: 1px solid #e4e7ec; border-radius: 10px; padding: 13px 14px; background: #fff; color: #1d2939; font: inherit; font-weight: 600; }
.template-dialog textarea { min-height: 168px; line-height: 1.5; resize: vertical; }
.template-dialog input[type="text"]:focus, .template-dialog textarea:focus { outline: 0; border-color: #f5a524; background: #fff; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.16); }
.template-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.template-dialog .template-type { position: relative; display: grid; gap: 2px; margin: 0; border: 1px solid #e4e7ec; border-radius: 12px; padding: 14px 16px; background: #fff; cursor: pointer; }
.template-dialog .template-type input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.template-dialog .template-type span { color: #1d2939; font-size: 14px; font-weight: 800; }
.template-dialog .template-type small { color: #98a2b3; font-size: 12px; font-weight: 600; }
.template-dialog .template-type:has(input:checked) { border-color: #f5a524; background: #fff8ee; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.14); }
.template-dialog-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 28px 20px; border-top: 1px solid #eceff3; }
.compose-question { margin: 0; color: #1d2939; font-size: 14px; font-weight: 750; }
.compose-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compose-choice { display: grid; gap: 4px; border: 1px solid #e4e7ec; border-radius: 12px; padding: 16px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.compose-choice b { color: #1d2939; font-size: 14px; }
.compose-choice small { color: #98a2b3; font-size: 12px; font-weight: 650; line-height: 1.4; }
.compose-choice:hover, .compose-choice.is-selected { border-color: #f5a524; background: #fff8ee; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.14); }
.compose-step[hidden] { display: none; }
.compose-templates { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.compose-template { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; border: 1px solid #e4e7ec; border-radius: 12px; padding: 12px 14px; background: #fff; cursor: pointer; }
.compose-template input { margin-top: 3px; }
.compose-template b { display: block; color: #1d2939; font-size: 14px; }
.compose-template small { display: block; margin-top: 2px; color: #667085; font-size: 12px; font-weight: 650; line-height: 1.45; }
.compose-template:has(input:checked) { border-color: #f5a524; background: #fff8ee; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.14); }
.compose-hint { margin: 0; color: #98a2b3; font-size: 12px; font-weight: 650; }
.compose-step label { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 750; }
.phone-chip-box { display: flex; flex-wrap: wrap; gap: 6px; }
.phone-chip-box:empty { display: none; }
.phone-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 8px 4px 10px; background: #fff4d4; color: #6d4b00; font-size: 13px; font-weight: 750; }
.phone-chip button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
#compose-dialog textarea, #compose-dialog select { width: 100%; border: 1px solid #e4e7ec; border-radius: 10px; padding: 13px 14px; background: #fff; color: #1d2939; font: inherit; font-weight: 600; }
#compose-dialog textarea { min-height: 168px; line-height: 1.5; resize: vertical; }
#compose-dialog textarea:focus, #compose-dialog select:focus { outline: 0; border-color: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.16); }
#compose-dialog #phone-entry { min-height: 88px; }
@media (max-width: 560px) { .compose-choices { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .template-types { grid-template-columns: 1fr; } }
.contacts-dialog textarea { width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 650; resize: vertical; }
.contacts-dialog textarea:focus { outline: 0; border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: var(--surface-solid); }
@media (max-width: 720px) {
    .sms-toolbar-actions, .sms-action { width: 100%; }
    .sms-board .dt-layout-row:first-child, .sms-board .dt-layout-row:last-child { align-items: stretch; }
    .sms-board .dt-search, .sms-board .dt-search input, .sms-board .dt-length, .sms-board .dt-length select { width: 100%; }
}
@media (min-width: 1024px) {
    html[data-sidebar-mode="icon"] #sidebar .brand-logo {
        width: 40px;
        height: 40px;
        object-fit: cover;
        object-position: left center;
    }
    html[data-sidebar-mode="icon"] #sidebar:hover .brand-logo,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .brand-logo {
        width: auto;
        height: 46px;
        max-width: 190px;
        object-fit: contain;
    }
    html[data-sidebar-mode="icon"] #sidebar,
    html[data-sidebar-mode="icon"] #sidebar-brand-copy,
    html[data-sidebar-mode="icon"] .sidebar-domain-label,
    html[data-sidebar-mode="icon"] .sidebar-domain-chevron {
        transition: none !important;
    }
    html[data-sidebar-mode="icon"] #sidebar:hover #sidebar-brand-copy,
    html[data-sidebar-mode="icon"] #sidebar:focus-within #sidebar-brand-copy {
        width: 205px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    html[data-sidebar-mode="icon"] #sidebar:hover .sidebar-domain-label,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .sidebar-domain-label,
    html[data-sidebar-mode="icon"] #sidebar:hover .sidebar-domain-chevron,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .sidebar-domain-chevron {
        opacity: 1 !important;
        visibility: visible !important;
    }
}
html[data-sidebar-tone="pearl"] #sidebar,
html[data-sidebar-tone="warm"] #sidebar {
    background:
        linear-gradient(180deg, #fff8ec 0%, #fffdf8 132px),
        #fffdf8 !important;
    border-right: 1px solid #efe4d0 !important;
    box-shadow: 14px 0 36px rgba(80, 58, 20, 0.06) !important;
}
html[data-sidebar-tone="pearl"] #sidebar .sidebar-head,
html[data-sidebar-tone="warm"] #sidebar .sidebar-head { border-bottom: 1px solid #f3e7d2 !important; }
html[data-sidebar-tone="pearl"] #sidebar-brand-copy .brand-name,
html[data-sidebar-tone="warm"] #sidebar-brand-copy .brand-name { color: #2b2418; }
html[data-sidebar-tone="pearl"] #sidebar-brand-copy .brand-kicker,
html[data-sidebar-tone="warm"] #sidebar-brand-copy .brand-kicker { color: #a89068; letter-spacing: 0.16em; }
.sidebar-caption {
    margin: 6px 10px 2px;
    color: #b09a74;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
html[data-sidebar-tone="pearl"] .sidebar-domain-toggle,
html[data-sidebar-tone="warm"] .sidebar-domain-toggle {
    border-radius: 14px !important;
    color: #6d6456 !important;
}
html[data-sidebar-tone="pearl"] .sidebar-domain-toggle:hover,
html[data-sidebar-tone="warm"] .sidebar-domain-toggle:hover {
    background: #fff4df !important;
    color: #3f2d05 !important;
}
html[data-sidebar-tone="pearl"] .sidebar-domain-toggle:hover .sidebar-domain-icon,
html[data-sidebar-tone="warm"] .sidebar-domain-toggle:hover .sidebar-domain-icon {
    background: #fff !important;
    border-color: #f0e4cf !important;
    color: #c48a12 !important;
    transform: none;
}
html[data-sidebar-tone="pearl"] .sidebar-domain-icon,
html[data-sidebar-tone="warm"] .sidebar-domain-icon {
    background: #fff !important;
    border: 1px solid #f0e4cf !important;
    color: #c48a12 !important;
    box-shadow: none !important;
}
html[data-sidebar-tone="pearl"] .sidebar-domain.is-active > .sidebar-domain-toggle,
html[data-sidebar-tone="warm"] .sidebar-domain.is-active > .sidebar-domain-toggle {
    background: linear-gradient(145deg, #ffe7a3, #f5a524) !important;
    color: #3f2d05 !important;
    box-shadow: 0 10px 22px rgba(245, 165, 36, 0.22);
}
html[data-sidebar-tone="pearl"] .sidebar-domain.is-active > .sidebar-domain-toggle:hover,
html[data-sidebar-tone="warm"] .sidebar-domain.is-active > .sidebar-domain-toggle:hover { background: linear-gradient(145deg, #ffe7a3, #f5a524) !important; }
html[data-sidebar-tone="pearl"] .sidebar-domain.is-active > .sidebar-domain-toggle .sidebar-domain-label,
html[data-sidebar-tone="warm"] .sidebar-domain.is-active > .sidebar-domain-toggle .sidebar-domain-label { color: #3f2d05 !important; }
html[data-sidebar-tone="pearl"] .sidebar-domain.is-active > .sidebar-domain-toggle .sidebar-domain-icon,
html[data-sidebar-tone="warm"] .sidebar-domain.is-active > .sidebar-domain-toggle .sidebar-domain-icon {
    background: rgba(255, 255, 255, 0.62) !important;
    border-color: transparent !important;
    color: #3f2d05 !important;
    box-shadow: none !important;
}
html[data-sidebar-tone="pearl"] .sidebar-domain-link,
html[data-sidebar-tone="warm"] .sidebar-domain-link { color: #6d6456 !important; border-radius: 12px !important; }
html[data-sidebar-tone="pearl"] .sidebar-domain-link:hover,
html[data-sidebar-tone="pearl"] .sidebar-domain-link.active,
html[data-sidebar-tone="warm"] .sidebar-domain-link:hover,
html[data-sidebar-tone="warm"] .sidebar-domain-link.active {
    background: #fff4df !important;
    color: #3f2d05 !important;
}
.sidebar-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 12px 16px;
    padding: 10px 12px;
    border: 1px solid #f3e4c8;
    border-radius: 16px;
    background: #fff6e8;
}
.sidebar-foot-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffd866, #e9a817);
    color: #3f2d05;
    font-size: 13px;
    font-weight: 800;
}
.sidebar-foot-copy { min-width: 0; }
.sidebar-foot-copy b,
.sidebar-foot-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot-copy b { color: #2b2418; font-size: 13px; font-weight: 800; }
.sidebar-foot-copy small { color: #a89068; font-size: 11px; font-weight: 750; }
@media (min-width: 1024px) {
    html[data-sidebar-mode="icon"] .sidebar-caption,
    html[data-sidebar-mode="icon"] .sidebar-foot-copy { display: none; }
    html[data-sidebar-mode="icon"] .sidebar-foot { justify-content: center; margin: 8px; padding: 8px; }
    html[data-sidebar-mode="icon"] #sidebar:hover .sidebar-caption,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .sidebar-caption,
    html[data-sidebar-mode="icon"] #sidebar:hover .sidebar-foot-copy,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .sidebar-foot-copy { display: block; }
    html[data-sidebar-mode="icon"] #sidebar:hover .sidebar-foot,
    html[data-sidebar-mode="icon"] #sidebar:focus-within .sidebar-foot { justify-content: flex-start; margin: 8px 12px 16px; padding: 10px 12px; }
}
.cc25-node.is-menu {
    border: 1px solid #f0e4cf !important;
    background: #fffdf8 !important;
    color: #6d6456 !important;
    box-shadow: 0 10px 24px rgba(80, 58, 20, 0.06) !important;
}
.cc25-node.is-menu i {
    width: 36px;
    height: 36px;
    border: 1px solid #f0e4cf;
    border-radius: 12px;
    background: #fff !important;
    color: #c48a12 !important;
    box-shadow: none !important;
}
.cc25-node.is-menu b { color: #2b2418; font-weight: 800; }
.cc25-node.is-menu:hover {
    border-color: #f0e4cf !important;
    background: #fff4df !important;
    color: #3f2d05 !important;
}
.cc25-node.is-menu.is-current,
.cc25-node.is-menu.is-current:hover {
    border-color: transparent !important;
    background: linear-gradient(145deg, #ffe7a3, #f5a524) !important;
    color: #3f2d05 !important;
    box-shadow: 0 10px 22px rgba(245, 165, 36, 0.22) !important;
}
.cc25-node.is-menu.is-current i {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.62) !important;
    color: #3f2d05 !important;
}
.cc25-node.is-menu.is-current b { color: #3f2d05; }
@media (min-width: 1024px) {
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] #sidebar {
        width: var(--sidebar-full-width) !important;
    }
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] #app-main {
        padding-inline-start: var(--sidebar-full-width) !important;
    }
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] #sidebar-brand-copy,
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] .sidebar-domain-label,
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] .sidebar-domain-chevron {
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    html[data-sidebar-mode="full"] body[data-active-page="command-center"] #sidebar-brand-copy {
        width: 205px !important;
    }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.campaign-row { cursor: pointer; }
.campaign-row a { color: inherit; font-weight: 800; text-decoration: none; }
.campaign-row:hover a { color: #8a5d08; }
.campaign-page { display: grid; gap: 16px; }
.campaign-back { display: inline-flex; align-items: center; gap: 8px; width: max-content; color: #344054; font-size: 14px; font-weight: 800; text-decoration: none; }
.campaign-back svg { width: 16px; height: 16px; }
.campaign-back span { color: #98a2b3; font-weight: 650; }
.campaign-summary { display: grid; grid-template-columns: 168px minmax(200px, 280px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 24px; border: 1px solid #ece6da; border-radius: 16px; background: #fff; }
.campaign-donut { position: relative; width: 148px; height: 148px; }
.campaign-donut svg { display: block; width: 100%; height: 100%; }
.campaign-donut-copy { position: absolute; inset: 34px; display: grid; align-content: center; justify-items: center; text-align: center; }
.campaign-donut-copy span { color: #98a2b3; font-size: 12px; font-weight: 700; line-height: 1.2; }
.campaign-donut-copy strong { color: #1d2939; font-size: 28px; font-weight: 800; line-height: 1.1; }
.campaign-legend { display: grid; gap: 12px; min-width: 0; }
.campaign-legend-row { display: grid; grid-template-columns: 10px auto auto 1fr; gap: 10px; align-items: center; color: #344054; font-size: 14px; font-weight: 700; }
.campaign-legend-row b { justify-self: end; color: #1d2939; font-size: 22px; font-weight: 800; }
.campaign-dot { width: 10px; height: 10px; border-radius: 50%; }
.campaign-legend-empty { margin: 0; color: #98a2b3; font-size: 14px; }
.campaign-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sms-cell-note, .campaign-fact small { display: block; margin-top: 3px; color: #98a2b3; font-size: 11px; font-weight: 700; }
.campaign-fact { min-width: 0; padding: 14px 16px; border: 1px solid #eceff3; border-radius: 12px; background: #fff; }
.campaign-fact span { display: block; color: #98a2b3; font-size: 13px; font-weight: 650; }
.campaign-fact strong { display: block; margin-top: 8px; color: #1d2939; font-size: 22px; font-weight: 800; line-height: 1; }
.campaign-fact.is-wide { grid-column: 1 / -1; }
.campaign-pill { display: inline-flex; margin-top: 8px; border-radius: 8px; padding: 4px 10px; background: #e8f1ff; color: #2f6bff; font-size: 13px; font-style: normal; font-weight: 800; }
.campaign-table-card { overflow: hidden; border: 1px solid #ece6da; border-radius: 16px; background: #fff; }
.campaign-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f1ece4; }
.campaign-tools-left, .campaign-tools-right { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.campaign-field { margin: 0; }
.campaign-select, .campaign-search { height: 40px; border: 1px solid #e7e1d6; border-radius: 10px; background: #fff; color: #344054; font: inherit; font-size: 13px; font-weight: 700; }
.campaign-select { min-width: 160px; padding: 0 32px 0 12px; }
.campaign-search { width: 180px; padding: 0 12px; }
.campaign-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; border: 0; border-radius: 10px; padding: 0 14px; background: #f5a524; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.campaign-btn:hover { background: #e89812; }
.campaign-btn svg { width: 16px; height: 16px; }
.campaign-btn.is-ghost { border: 1px solid #e7e1d6; background: #fff; color: #344054; }
.campaign-btn.is-ghost:hover { background: #fff8ec; }
.campaign-table-scroll { width: 100%; overflow-x: auto; }
.campaign-table th, .campaign-table td { white-space: nowrap; }
.campaign-message { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.campaign-status { display: inline-flex; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.campaign-status.is-delivered { color: #15803d; background: #e9f9ef; }
.campaign-status.is-accepted { color: #a16207; background: #fef9c3; }
.campaign-status.is-submitted { color: #175cd3; background: #e8f1ff; }
.campaign-status.is-not-delivered { color: #1d2939; background: #f2f4f7; }
.campaign-status.is-rejected { color: #7e22ce; background: #f6ebff; }
.campaign-status.is-expired { color: #c2410c; background: #ffedd5; }
.campaign-empty td, .campaign-none { padding: 28px 18px; color: #98a2b3; text-align: center; }
.campaign-none { margin: 0; }
@media (max-width: 980px) {
    .campaign-summary { grid-template-columns: 1fr; justify-items: start; }
    .campaign-facts { width: 100%; }
}
.status-info { width: min(760px, calc(100vw - 32px)); border: 0; border-radius: 20px; padding: 0; color: #1d2939; background: #fff; box-shadow: 0 30px 80px rgba(40, 32, 16, 0.22); }
.status-info::backdrop { background: rgba(41, 43, 39, 0.42); }
.status-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 6px; }
.status-info-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.status-info-close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f6f1e8; color: #667085; cursor: pointer; }
.status-info-close:hover { background: #efe6d6; color: #1d2939; }
.status-info-close svg { width: 16px; height: 16px; }
.status-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 22px 22px; }
.status-card { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 12px; align-items: start; margin: 0; padding: 14px 14px 16px; border-radius: 16px; background: #faf8f4; }
.status-card i { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8); }
.status-card b { font-size: 14px; font-weight: 800; }
.status-card p { grid-column: 2; margin: 4px 0 0; color: #667085; font-size: 13px; line-height: 1.5; }
.status-card.is-delivered { background: #f0fdf4; }
.status-card.is-delivered i { background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.status-card.is-accepted { background: #fffbeb; }
.status-card.is-accepted i { background: #eab308; box-shadow: 0 0 0 4px #fef3c7; }
.status-card.is-submitted { background: #eef4ff; }
.status-card.is-submitted i { background: #2f6bff; box-shadow: 0 0 0 4px #dbe7ff; }
.status-card.is-not-delivered { background: #f8fafc; }
.status-card.is-not-delivered i { background: #1d2939; box-shadow: 0 0 0 4px #e4e7ec; }
.status-card.is-rejected { background: #faf5ff; }
.status-card.is-rejected i { background: #a855f7; box-shadow: 0 0 0 4px #f3e8ff; }
.status-card.is-expired { background: #fff7ed; }
.status-card.is-expired i { background: #f97316; box-shadow: 0 0 0 4px #ffedd5; }
@media (max-width: 720px) {
    .status-info-grid { grid-template-columns: 1fr; }
}
.wallet-page { display: grid; gap: 16px; width: 100%; }
.wallet-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wallet-stat { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding: 18px 18px 18px 20px; border: 1px solid transparent; border-radius: 14px; background: #fff; }
.wallet-stat span { display: block; font-size: 13px; font-weight: 700; }
.wallet-stat strong { display: block; margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wallet-stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.wallet-stat-icon svg { width: 22px; height: 22px; }
.wallet-stat.is-sms { background: linear-gradient(145deg, #ffe7a3, #f5a524); box-shadow: 0 12px 24px rgba(245, 165, 36, 0.22); }
.wallet-stat.is-sms span { color: #7a5410; }
.wallet-stat.is-sms strong { color: #3f2d05; }
.wallet-stat.is-sms .wallet-stat-icon { background: rgba(255, 255, 255, 0.72); color: #c48a12; }
.wallet-stat.is-expiry { background: linear-gradient(145deg, #ffd0cb, #e76f61); box-shadow: 0 12px 24px rgba(231, 111, 97, 0.22); }
.wallet-stat.is-expiry span { color: #8a332c; }
.wallet-stat.is-expiry strong { color: #5c1d18; }
.wallet-stat.is-expiry .wallet-stat-icon { background: rgba(255, 255, 255, 0.72); color: #c4473c; }
.wallet-stat.is-cash { background: linear-gradient(145deg, #d9fbe8, #7ddea8); box-shadow: 0 12px 24px rgba(22, 163, 74, 0.16); }
.wallet-stat.is-cash span { color: #166534; }
.wallet-stat.is-cash strong { color: #14532d; }
.wallet-stat.is-cash .wallet-stat-icon { background: rgba(255, 255, 255, 0.72); color: #15803d; }
@media (max-width: 720px) {
    .wallet-stats { grid-template-columns: 1fr; }
}
.wallet-error { margin: 0; border-radius: 12px; padding: 12px 14px; background: #fdecec; color: #b42318; font-size: 14px; font-weight: 700; }
.wallet-shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(610px, 30%); gap: 16px; align-items: start; width: 100%; }
.wallet-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; width: 100%; }
.wallet-plans-head { grid-column: 1 / -1; }
.wallet-plans-head h2 { margin: 0; color: #1d2939; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.wallet-plans-head p { margin: 4px 0 0; color: #98a2b3; font-size: 13px; }
.wallet-available, .wallet-history { border: 1px solid #efe4d0; border-radius: 18px; background: #fff; }
.plan-card { display: flex; flex-direction: column; gap: 0; min-height: 100%; padding: 18px 18px 16px; border: 1px solid #ece7df; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.plan-card.is-soft { border-color: #ebe4f2; background: #fbf9fc; }
.plan-card.is-featured { border-color: #ead9a8; background: #fffdf8; }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-code { color: #98a2b3; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.plan-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.plan-pill.is-live { background: #e7f8ee; color: #17803d; }
.plan-pill.is-hot { background: #fff1d6; color: #b7791f; }
.plan-name { margin: 14px 0 0; color: #1d2939; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 0; color: #1d2939; font-size: 34px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan-price small { color: #98a2b3; font-size: 14px; font-weight: 650; letter-spacing: 0; }
.plan-sub { margin: 8px 0 0; color: #98a2b3; font-size: 13px; font-weight: 650; }
.plan-save { margin: 2px 0 0; color: #17803d; font-size: 13px; font-weight: 750; }
.plan-block { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1ece4; }
.plan-block h4 { margin: 0 0 8px; color: #98a2b3; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-row { display: flex; align-items: baseline; gap: 8px; padding: 8px 2px; color: #667085; font-size: 13px; font-weight: 650; }
.plan-row b { color: #1d2939; font-size: 13px; font-weight: 800; white-space: nowrap; }
.plan-dots { flex: 1; border-bottom: 1px dotted #e4ddd2; transform: translateY(-3px); }
.plan-row.is-highlight { margin-bottom: 2px; padding: 9px 10px; border-radius: 10px; background: #fbf6ea; }
.plan-row.is-highlight .plan-dots { border-bottom-color: transparent; }
.plan-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #f3fbf6; color: #166534; font-size: 13px; font-weight: 650; line-height: 1.4; }
.plan-tick { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; color: #17803d; flex: none; }
.plan-tick svg { width: 16px; height: 16px; }
.plan-card form { margin-top: auto; padding-top: 14px; }
.plan-buy { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 40px; border: 1px solid #e6e1d8; border-radius: 12px; background: #fff; color: #1d2939; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.plan-buy:hover { border-color: #f5a524; background: #fff8eb; color: #8a5d08; }
.plan-card.is-featured .plan-buy { border-color: #f0d7a2; background: #fff; }
.plan-choose { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; border: 0; border-radius: 12px; background: linear-gradient(145deg, #ffd36a, #f5a524); color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgba(245, 165, 36, 0.28); }
.plan-choose:hover { background: linear-gradient(145deg, #ffe08a, #e89812); }
.plan-choose svg { width: 16px; height: 16px; }
.plan-empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #efe4d0; border-radius: 18px; color: #98a2b3; text-align: center; }
.wallet-side { display: grid; gap: 14px; }
.wallet-available { display: grid; gap: 6px; padding: 18px; }
.wallet-available > strong { color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.wallet-available > span, .wallet-available > small { color: #98a2b3; font-size: 13px; font-weight: 700; }
.wallet-available .plan-choose { margin-top: 10px; }
.wallet-history { overflow: hidden; }
.wallet-history-tabs { display: flex; gap: 16px; padding: 14px 16px 0; border-bottom: 1px solid #f1ece4; }
.wallet-history-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 0 0 10px; background: transparent; color: #98a2b3; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.wallet-history-tabs button.is-selected { border-color: #f5a524; color: #1d2939; }
.wallet-history ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wallet-history li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f6f3ee; }
.wallet-history li:last-child { border-bottom: 0; }
.wallet-history li i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.wallet-history li i svg { width: 16px; height: 16px; }
.wallet-history li i.is-load { background: #e9f9ef; color: #15803d; }
.wallet-history li i.is-bundle { background: #fff4df; color: #c48a12; }
.wallet-history li b, .wallet-history li strong { color: #1d2939; font-size: 13px; font-weight: 800; }
.wallet-history li small { display: block; color: #98a2b3; font-size: 12px; }
.wallet-history-empty, .wallet-history-none { color: #98a2b3; font-size: 15px; }
.wallet-history-none { margin: 0; padding: 16px; text-align: center; }
.wallet-history.wallet-ledger { padding-bottom: 8px; }
.wallet-shop > .wallet-ledger { align-self: stretch; width: 100%; min-width: 0; overflow-x: auto; }
.wallet-shop > .wallet-ledger .wallet-ledger-head,
.wallet-shop > .wallet-history.wallet-ledger li {
    grid-template-columns: minmax(108px, 1.3fr) 146px max-content max-content max-content;
    gap: 8px 12px;
    white-space: nowrap;
}
.wallet-shop > .wallet-history.wallet-ledger li { padding: 12px 16px; }
.wallet-shop > .wallet-history.wallet-ledger li > div small { display: block; margin-top: 2px; white-space: nowrap; }
.wallet-shop > .wallet-history.wallet-ledger li > small { display: block; margin-top: 0; white-space: nowrap; }
.wallet-ledger-title { padding: 20px 22px 0; }
.wallet-ledger-title h2 { margin: 0; color: #1d2939; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.wallet-ledger-title p { margin: 4px 0 0; color: #98a2b3; font-size: 14px; }
.wallet-ledger-head,
.wallet-history.wallet-ledger li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(140px, 1fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr) 120px; gap: 16px; align-items: center; }
.wallet-ledger-head { padding: 16px 22px 8px; color: #98a2b3; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.wallet-history.wallet-ledger ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wallet-history.wallet-ledger li { padding: 18px 22px; border-top: 1px solid #f1ece4; border-bottom: 0; }
.wallet-history.wallet-ledger li b,
.wallet-history.wallet-ledger li strong { color: #1d2939; font-size: 16px; font-weight: 800; }
.wallet-history.wallet-ledger li small { display: block; margin-top: 3px; color: #667085; font-size: 13px; }
.wallet-history.wallet-ledger .wallet-history-empty { margin: 0; padding: 22px; }
.purchase-approve { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 0; border-radius: 10px; padding: 0 16px; background: #f5a524; color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.purchase-approve svg, .sender-reject svg { width: 15px; height: 15px; }
.purchase-approve:hover { background: #e89812; }
.status-approved { background: rgba(78, 180, 135, 0.12); color: #2f7448; }
.package-page .wallet-history.wallet-ledger li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(100px, 0.6fr) minmax(100px, 0.6fr) 110px auto; }
@media (max-width: 980px) {
    .wallet-ledger-head { display: none; }
    .wallet-history.wallet-ledger li,
    .package-page .wallet-history.wallet-ledger li { grid-template-columns: 1fr 1fr; }
    .wallet-shop > .wallet-ledger .wallet-ledger-head { display: grid; }
    .wallet-shop > .wallet-ledger .wallet-ledger-head,
    .wallet-shop > .wallet-history.wallet-ledger li {
        grid-template-columns: minmax(108px, 1.3fr) 146px max-content max-content max-content;
        white-space: nowrap;
    }
}
.directory-link { color: #8a5d08; font-size: 14px; font-weight: 800; text-decoration: none; }
.customer-action form { display: inline; margin-left: 8px; }
.customer-action button { border: 0; background: transparent; color: #b42318; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 1280px) {
    .wallet-shop, .wallet-plans { grid-template-columns: 1fr; }
}
.package-page { display: grid; gap: 16px; }
.package-head, .package-card header, .package-card footer, .package-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.package-head p { margin: 0 0 4px; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.package-head h1 { margin: 0; color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.package-head span { display: block; margin-top: 6px; color: #98a2b3; font-size: 14px; }
.package-summary, .package-grid { display: grid; gap: 14px; }
.package-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-summary article, .package-card, .package-empty { border: 1px solid #efe4d0; border-radius: 16px; background: #fffdf8; }
.package-summary article { padding: 16px 18px; }
.package-summary span { display: block; color: #98a2b3; font-size: 13px; font-weight: 700; }
.package-summary strong { display: block; margin-top: 6px; color: #1d2939; font-size: 26px; font-weight: 800; }
.package-summary .is-live { background: linear-gradient(145deg, #fff8ec, #ffe7a3); }
.purchase-stats article { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-color: transparent; background: linear-gradient(145deg, #ffe7a3, #f5a524); box-shadow: 0 12px 24px rgba(245, 165, 36, 0.18); }
.purchase-stats article span { color: #7a5410; }
.purchase-stats article strong { color: #3f2d05; }
.purchase-stat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); color: #c48a12; flex: none; }
.purchase-stat-icon svg { width: 22px; height: 22px; }
.purchase-stats .is-live { background: linear-gradient(145deg, #e8f1ff, #c9dbff); box-shadow: 0 12px 24px rgba(47, 107, 255, 0.12); }
.purchase-stats .is-live span { color: #3d5a99; }
.purchase-stats .is-live strong { color: #17357a; }
.purchase-stats .is-live .purchase-stat-icon { background: rgba(255, 255, 255, 0.78); color: #2f6bff; }
.purchase-stats .is-approved { background: linear-gradient(145deg, #d9fbe8, #7ddea8); box-shadow: 0 12px 24px rgba(22, 163, 74, 0.16); }
.purchase-stats .is-approved span { color: #166534; }
.purchase-stats .is-approved strong { color: #14532d; }
.purchase-stats .is-approved .purchase-stat-icon { background: rgba(255, 255, 255, 0.72); color: #15803d; }
.purchase-stats .is-hidden { background: linear-gradient(145deg, #e8f1ff, #c9dbff); box-shadow: 0 12px 24px rgba(47, 107, 255, 0.12); }
.purchase-stats .is-hidden span { color: #3d5a99; }
.purchase-stats .is-hidden strong { color: #17357a; }
.purchase-stats .is-hidden .purchase-stat-icon { background: rgba(255, 255, 255, 0.78); color: #2f6bff; }
.package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-card { display: grid; gap: 12px; padding: 18px; box-shadow: 0 12px 28px rgba(80, 58, 20, 0.05); }
.package-card header b { color: #1d2939; font-size: 16px; }
.package-card header p { margin: 4px 0 0; color: #98a2b3; font-size: 13px; line-height: 1.4; }
.package-card header span, .package-card.is-hidden header span { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.package-card header span { background: #e9f9ef; color: #15803d; }
.package-card.is-hidden header span { background: #f2f4f7; color: #667085; }
.package-card > strong { color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.package-card ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #475467; font-size: 13px; font-weight: 700; }
.package-card footer { align-items: center; }
.package-edit, .package-remove { display: inline-flex; align-items: center; gap: 6px; height: 36px; border: 0; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.package-edit { background: #fff4df; color: #8a5d08; }
.package-edit:hover { background: #ffe7a3; }
.package-remove { background: #fdecec; color: #b42318; }
.package-remove:hover { background: #f8d4d4; }
.package-edit svg, .package-remove svg { width: 15px; height: 15px; }
.package-empty { display: grid; justify-items: start; gap: 8px; padding: 28px; }
.package-empty strong { color: #1d2939; font-size: 16px; }
.package-empty span { color: #98a2b3; font-size: 14px; }
.package-dialog { width: min(560px, calc(100% - 32px)); }
.package-dialog form { gap: 14px; }
.package-dialog-head p { margin: 4px 0 0; color: #98a2b3; font-size: 13px; line-height: 1.4; }
.package-dialog-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.package-dialog .contacts-btn { background: #f6f1e8; color: #344054; }
.package-check input { width: auto; }
@media (max-width: 980px) {
    .package-summary, .package-grid, .package-dialog-split { grid-template-columns: 1fr; }
    .package-head { flex-direction: column; }
}
.birthday-page { display: grid; gap: 16px; width: 100%; }
.birthday-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.birthday-stat { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding: 18px 18px 18px 20px; border-radius: 16px; }
.birthday-stat span { display: block; font-size: 13px; font-weight: 750; }
.birthday-stat strong { display: block; margin-top: 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.birthday-stat i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); flex: none; }
.birthday-stat svg { width: 22px; height: 22px; }
.birthday-stat.is-today { background: linear-gradient(145deg, #ffe7a3, #f5a524); box-shadow: 0 12px 24px rgba(245, 165, 36, 0.22); }
.birthday-stat.is-today span { color: #7a5410; }
.birthday-stat.is-today strong { color: #3f2d05; }
.birthday-stat.is-today i { color: #c48a12; }
.birthday-stat.is-soon { background: linear-gradient(145deg, #ffd0cb, #e76f61); box-shadow: 0 12px 24px rgba(231, 111, 97, 0.2); }
.birthday-stat.is-soon span { color: #8a332c; }
.birthday-stat.is-soon strong { color: #5c1d18; }
.birthday-stat.is-soon i { color: #c4473c; }
.birthday-stat.is-sent { background: linear-gradient(145deg, #d9fbe8, #7ddea8); box-shadow: 0 12px 24px rgba(22, 163, 74, 0.16); }
.birthday-stat.is-sent span { color: #166534; }
.birthday-stat.is-sent strong { color: #14532d; }
.birthday-stat.is-sent i { color: #15803d; }
.birthday-stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 16px; align-items: start; }
.birthday-editor, .birthday-board { border: 1px solid #efe4d0; border-radius: 18px; background: #fff; }
.birthday-editor { display: grid; gap: 16px; padding: 22px; }
.birthday-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.birthday-editor-head p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.birthday-editor-head h1 { margin: 4px 0 0; color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.birthday-lead { margin: 0; color: #667085; font-size: 14px; line-height: 1.5; }
.birthday-guide { display: grid; gap: 8px; padding: 14px 16px; border: 1px dashed #ead9a8; border-radius: 14px; background: #fffdf8; }
.birthday-guide > p { margin: 0; color: #8a5d08; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.birthday-guide ol { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: #344054; font-size: 14px; font-weight: 650; line-height: 1.45; }
.birthday-guide b { color: #8a5d08; }
.birthday-guide small { color: #667085; font-size: 13px; font-weight: 650; line-height: 1.45; }
.birthday-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.birthday-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.birthday-switch span { position: relative; width: 46px; height: 28px; border-radius: 999px; background: #e7e1d6; transition: background 0.15s ease; }
.birthday-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(41, 43, 39, 0.16); transition: transform 0.15s ease; }
.birthday-switch input:checked + span { background: #f5a524; }
.birthday-switch input:checked + span::after { transform: translateX(18px); }
.birthday-switch input:focus-visible + span { outline: 2px solid #c48a12; outline-offset: 2px; }
.birthday-switch b { color: #1d2939; font-size: 14px; }
.birthday-message { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 800; }
.birthday-message textarea { width: 100%; min-height: 140px; border: 1px solid #e6e1d8; border-radius: 14px; padding: 14px 16px; background: #fffdf8; color: #1d2939; font: inherit; font-size: 16px; font-weight: 650; line-height: 1.45; resize: vertical; }
.birthday-message textarea:focus { border-color: #f5a524; outline: none; box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.16); }
.birthday-tokens { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.birthday-tokens button { border: 0; border-radius: 999px; padding: 6px 12px; background: #fff4df; color: #8a5d08; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.birthday-tokens button:hover { background: #ffe7a3; }
.birthday-tokens small { color: #98a2b3; font-size: 13px; font-weight: 700; }
.birthday-preview { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(145deg, #fff8ec, #fff1d6); }
.birthday-preview span { color: #b7791f; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.birthday-preview p { margin: 0; color: #3f2d05; font-size: 15px; font-weight: 700; line-height: 1.45; }
.birthday-error { margin: 0; color: #b42318; font-size: 14px; font-weight: 700; }
.birthday-save { justify-self: start; height: 44px; border: 0; border-radius: 12px; padding: 0 18px; background: linear-gradient(145deg, #ffd36a, #f5a524); color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgba(245, 165, 36, 0.28); }
.birthday-save:hover { background: linear-gradient(145deg, #ffe08a, #e89812); }
.birthday-board { display: grid; gap: 0; overflow: hidden; }
.birthday-board article { padding: 18px 18px 8px; }
.birthday-board article + article { border-top: 1px solid #f3eee5; }
.birthday-board header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.birthday-board h2 { margin: 0; color: #1d2939; font-size: 16px; font-weight: 800; }
.birthday-board header span { color: #98a2b3; font-size: 12px; font-weight: 800; }
.birthday-board ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.birthday-board li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.birthday-board li + li { border-top: 1px solid #f6f1e8; }
.birthday-board li i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff4df; color: #8a5d08; font-style: normal; font-size: 12px; font-weight: 800; flex: none; }
.birthday-board li i.is-sent { background: #e9f9ef; color: #15803d; }
.birthday-board li span { display: grid; gap: 2px; min-width: 0; }
.birthday-board li b { color: #1d2939; font-size: 14px; }
.birthday-board li small { color: #667085; font-size: 12px; font-weight: 700; }
.birthday-board li.is-empty { display: block; padding: 8px 0 14px; color: #98a2b3; font-size: 14px; font-weight: 650; }
@media (max-width: 980px) {
    .birthday-stats, .birthday-stage { grid-template-columns: 1fr; }
}
body[data-active-page="command-center"] .cc25-issues-panel .cc25-issue-list {
    display: grid;
    grid-template-rows: none;
    grid-auto-rows: auto;
    align-content: start;
    gap: 8px;
}
body[data-active-page="command-center"] .cc25-issues-panel .cc25-issue {
    min-height: 58px !important;
    height: auto;
}
body[data-active-page="command-center"] .cc25-issues-panel .cc25-issue b,
body[data-active-page="command-center"] .cc25-issues-panel .cc25-issue small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body[data-active-page="command-center"] .cc25-applications-panel .cc25-campaign-row {
    grid-template-columns: minmax(0, 1fr) !important;
    color: inherit;
    text-decoration: none;
}
body[data-active-page="command-center"] .cc25-applications-panel .cc25-campaign-row > span {
    min-width: 0;
}
body[data-active-page="command-center"] .cc25-applications-panel .cc25-campaign-row > span b,
body[data-active-page="command-center"] .cc25-applications-panel .cc25-campaign-row > span small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.status-rejected { background: rgba(231, 111, 97, 0.12); color: #a13f37; }
.status-disabled { background: #f2f4f7; color: #667085; }
.sender-page { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr); gap: 16px; align-items: start; width: 100%; }
.sender-editor, .sender-board { border: 1px solid #efe4d0; border-radius: 18px; background: #fff; }
.sender-editor { display: grid; gap: 14px; padding: 22px; }
.sender-editor header p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sender-editor h1 { margin: 4px 0 0; color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.sender-editor p { margin: 0; color: #667085; font-size: 14px; line-height: 1.5; }
.sender-editor label { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 800; }
.sender-editor input, .birthday-message select, .compose-sender select { width: 100%; border: 1px solid #e6e1d8; border-radius: 14px; padding: 14px 16px; background: #fffdf8; color: #1d2939; font: inherit; font-size: 16px; font-weight: 700; }
.sender-editor input:focus, .birthday-message select:focus, .compose-sender select:focus { border-color: #f5a524; outline: none; box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.16); }
.sender-editor button { justify-self: start; height: 44px; border: 0; border-radius: 12px; padding: 0 18px; background: linear-gradient(145deg, #ffd36a, #f5a524); color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgba(245, 165, 36, 0.28); }
.sender-error { margin: 0; color: #b42318; font-size: 14px; font-weight: 700; }
.sender-board { padding: 18px 18px 8px; }
.sender-board header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sender-board h2 { margin: 0; color: #1d2939; font-size: 16px; font-weight: 800; }
.sender-board header span { color: #98a2b3; font-size: 12px; font-weight: 800; }
.sender-board ul { display: grid; margin: 0; padding: 0; list-style: none; }
.sender-board li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.sender-board li + li { border-top: 1px solid #f6f1e8; }
.sender-board li b { color: #1d2939; font-size: 15px; letter-spacing: 0.04em; }
.sender-row-meta { display: flex; align-items: center; gap: 10px; }
.sender-row-meta form { margin: 0; }
.sender-delete { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #fdecec; color: #a13f37; cursor: pointer; }
.sender-delete svg { width: 16px; height: 16px; }
.sender-delete:hover { background: #e76f61; color: #fff; }
.sender-board li.is-empty { display: block; color: #98a2b3; font-size: 14px; font-weight: 650; }
.sender-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sender-balance { display: inline-flex; align-items: baseline; gap: 5px; min-width: 72px; justify-content: center; padding: 6px 12px; border-radius: 999px; background: linear-gradient(145deg, #fff6df, #ffe7a3); color: #8a5d08; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; box-shadow: inset 0 0 0 1px rgba(196, 138, 18, 0.18); }
.sender-balance b { color: #3f2d05; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.sender-balance.is-empty { background: #f2f4f7; color: #98a2b3; box-shadow: none; }
.sender-balance.is-empty b { color: #667085; }
.sender-actions form { margin: 0; }
.sender-reject { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px solid #f0d2ce; border-radius: 10px; padding: 0 16px; background: #fff; color: #a13f37; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.sender-reject:hover { background: #fdecec; }
.compose-sender { display: grid; gap: 8px; margin-bottom: 14px; color: #344054; font-size: 13px; font-weight: 750; }
body[data-active-page="sender-ids"] .shell-flash { display: none; }
.sender-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff4df; color: #8a5d08; font-size: 14px; font-weight: 700; }
.sender-note a { color: #8a5d08; }
@media (max-width: 980px) {
    .sender-page { grid-template-columns: 1fr; }
}
.account-create { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 16px; align-items: start; width: 100%; }
.account-create-form, .account-create-card { border: 1px solid #efe4d0; border-radius: 18px; background: #fff; }
.account-create-form { display: grid; gap: 18px; padding: 22px; }
.account-create-form header p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.account-create-form h1 { margin: 4px 0 0; color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.account-create-form .lead { margin: 8px 0 0; color: #667085; font-size: 14px; font-weight: 650; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.account-create-status { margin: 0; padding: 12px 14px; border-radius: 12px; background: #e9f9ef; color: #166534; font-size: 14px; font-weight: 750; }
.account-create-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.account-create-fields label { display: grid; gap: 8px; min-width: 0; color: #344054; font-size: 13px; font-weight: 800; }
.account-create-fields input { width: 100%; border: 1px solid #e6e1d8; border-radius: 14px; padding: 14px 16px; background: #fffdf8; color: #1d2939; font: inherit; font-size: 16px; font-weight: 700; }
.account-create-fields input::placeholder { color: #c4bbaa; font-weight: 650; }
.account-create-fields input:focus { border-color: #f5a524; outline: none; box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.16); }
.account-create-fields label.is-invalid input { border-color: #e76f61; }
.account-create-fields small { color: #98a2b3; font-size: 12px; font-weight: 700; }
.account-create-fields label.is-invalid small { color: #b42318; }
.account-create-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-create-actions button { height: 44px; border: 0; border-radius: 12px; padding: 0 18px; background: linear-gradient(145deg, #ffd36a, #f5a524); color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgba(245, 165, 36, 0.28); }
.account-create-actions button:hover { background: linear-gradient(145deg, #ffe08a, #e89812); }
.account-create-actions a { color: #8a5d08; font-size: 14px; font-weight: 800; text-decoration: none; }
.account-create-card { overflow: hidden; }
.account-create-hero { display: grid; justify-items: center; gap: 6px; padding: 28px 22px 22px; background: linear-gradient(145deg, #ffe7a3, #f5a524); text-align: center; }
.account-create-hero i { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 6px; border-radius: 22px; background: rgba(255, 255, 255, 0.72); color: #8a5d08; font-style: normal; font-size: 24px; font-weight: 800; }
.account-create-hero b { color: #3f2d05; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.account-create-hero span { color: #7a5410; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.account-create-hero em { margin-top: 6px; border-radius: 999px; padding: 4px 10px; background: rgba(255, 255, 255, 0.72); color: #8a5d08; font-size: 12px; font-style: normal; font-weight: 800; }
.account-create-card ul { display: grid; margin: 0; padding: 6px 18px 14px; list-style: none; }
.account-create-card li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; color: #344054; font-size: 14px; font-weight: 650; line-height: 1.4; }
.account-create-card li + li { border-top: 1px solid #f6f1e8; }
.account-create-card li svg { width: 18px; height: 18px; margin-top: 1px; color: #c48a12; flex: none; }
.account-create-list { grid-column: 1 / -1; border: 1px solid #efe4d0; border-radius: 18px; background: #fff; overflow: hidden; }
.account-create-list header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 22px 6px; }
.account-create-list header p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.account-create-list h2 { margin: 4px 0 0; color: #1d2939; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.account-create-list header span { color: #98a2b3; font-size: 13px; font-weight: 750; text-align: right; }
.account-create-list .data-table th:first-child, .account-create-list .data-table td:first-child { padding-left: 22px; }
.account-create-list .data-table th:last-child, .account-create-list .data-table td:last-child { padding-right: 22px; }
.customer-avatar.is-admin { background: linear-gradient(145deg, #ffe7a3, #f5a524); }
.account-role { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.account-role.is-admin { background: #fff4df; color: #8a5d08; }
.account-role.is-customer { background: #f2f4f7; color: #475467; }
.account-you { margin-left: 6px; border-radius: 999px; padding: 2px 7px; background: #fff4df; color: #8a5d08; font-size: 11px; font-style: normal; font-weight: 800; vertical-align: 1px; }
body[data-active-page="accounts"] .shell-flash { display: none; }
@media (max-width: 980px) {
    .account-create, .account-create-fields { grid-template-columns: 1fr; }
    .account-create-actions { flex-direction: column; align-items: stretch; }
    .account-create-actions button { width: 100%; }
    .account-create-actions a { text-align: center; }
    .account-create-list header { align-items: flex-start; flex-direction: column; }
.account-create-list header span { text-align: left; }
}
.reports-page { display: grid; gap: 16px; width: 100%; }
.reports-head p:first-child { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.reports-head h1 { margin: 4px 0 0; color: #1d2939; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.reports-head p:last-child { margin: 6px 0 0; color: #667085; font-size: 14px; font-weight: 650; }
.reports-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reports-stat.is-count { background: #fff; border-color: #efe4d0; }
.reports-stat.is-count span { color: #667085; }
.reports-stat.is-count strong { color: #1d2939; }
.reports-stat.is-count .wallet-stat-icon { background: #fff4df; color: #c48a12; }
.reports-graphs { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr); gap: 16px; align-items: start; }
.reports-card { border: 1px solid #efe4d0; border-radius: 18px; background: #fff; padding: 18px 18px 14px; }
.reports-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.reports-card header p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.reports-card h2 { margin: 4px 0 0; color: #1d2939; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.reports-card header span { color: #98a2b3; font-size: 13px; font-weight: 750; }
.reports-chart { display: block; width: 100%; height: auto; }
.reports-bars { display: grid; gap: 14px; }
.reports-bars > div { display: grid; grid-template-columns: minmax(72px, 120px) minmax(0, 1fr) max-content; gap: 12px; align-items: center; }
.reports-bars span { overflow: hidden; color: #667085; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.reports-bars i { position: relative; height: 12px; border-radius: 999px; background: rgba(126, 113, 80, 0.08); overflow: hidden; }
.reports-bars i b { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #e8a51b, #f2bf5d); }
.reports-bars em { color: #1d2939; font-style: normal; font-size: 13px; font-weight: 800; }
.reports-bars > div:nth-child(2) i b { background: linear-gradient(90deg, #4fb28b, #7ed0ae); }
.reports-bars > div:nth-child(3) i b { background: linear-gradient(90deg, #e76f61, #f3a79e); }
.reports-empty { margin: 0; color: #98a2b3; font-size: 14px; font-weight: 650; }
.reports-customers { grid-column: 1 / -1; }
@media (max-width: 1100px) {
    .reports-stats { grid-template-columns: 1fr 1fr; }
    .reports-graphs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .reports-stats { grid-template-columns: 1fr; }
    .reports-bars > div { grid-template-columns: 88px minmax(0, 1fr) max-content; }
}
.admin-message-page { display: grid; gap: 16px; width: 100%; }
.admin-message-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-message-stats article { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding: 18px 18px 18px 20px; border-radius: 16px; background: linear-gradient(145deg, #ffe7a3, #f5a524); box-shadow: 0 12px 24px rgba(245, 165, 36, 0.22); }
.admin-message-stats article span { display: block; color: #7a5410; font-size: 13px; font-weight: 750; }
.admin-message-stats article strong { display: block; margin-top: 8px; color: #3f2d05; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.admin-message-stats article i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); color: #c48a12; flex: none; }
.admin-message-stats article svg { width: 22px; height: 22px; }
.admin-message-stats .is-live { background: linear-gradient(145deg, #e8f1ff, #c9dbff); box-shadow: 0 12px 24px rgba(47, 107, 255, 0.12); }
.admin-message-stats .is-live span { color: #3d5a99; }
.admin-message-stats .is-live strong { color: #17357a; }
.admin-message-stats .is-live i { color: #2f6bff; }
.admin-message-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #a13f37; font-size: 14px; font-weight: 700; }
.admin-message-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.admin-message-card { display: grid; gap: 14px; padding: 22px; border: 1px solid #efe4d0; border-radius: 18px; background: #fff; }
.admin-message-card header p { margin: 0; color: #c48a12; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-message-card header h2 { margin: 4px 0 0; color: #1d2939; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.admin-message-lead { margin: 0; color: #667085; font-size: 14px; line-height: 1.5; }
.admin-message-field { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 800; }
.admin-message-field textarea,
.admin-message-field select { width: 100%; border: 1px solid #e6e1d8; border-radius: 14px; padding: 14px 16px; background: #fffdf8; color: #1d2939; font: inherit; font-size: 16px; font-weight: 650; line-height: 1.45; }
.admin-message-field textarea { min-height: 140px; resize: vertical; }
.admin-message-field textarea:focus,
.admin-message-field select:focus { border-color: #f5a524; outline: none; box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.16); }
.admin-message-tokens { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-message-tokens button { border: 0; border-radius: 999px; padding: 6px 12px; background: #fff4df; color: #8a5d08; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.admin-message-tokens button:hover:not(:disabled) { background: #ffe7a3; }
.admin-message-tokens button:disabled { opacity: 0.55; cursor: not-allowed; }
.admin-message-tokens small { color: #98a2b3; font-size: 13px; font-weight: 700; text-align: right; }
.admin-message-preview { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(145deg, #fff8ec, #fff1d6); }
.admin-message-preview span { color: #b7791f; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-message-preview p { margin: 0; color: #3f2d05; font-size: 15px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.admin-message-send { justify-self: start; height: 44px; border: 0; border-radius: 12px; padding: 0 18px; background: linear-gradient(145deg, #ffd36a, #f5a524); color: #3f2d05; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgba(245, 165, 36, 0.28); }
.admin-message-send:hover:not(:disabled) { background: linear-gradient(145deg, #ffe08a, #e89812); }
.admin-message-send:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
@media (max-width: 980px) {
    .admin-message-stats,
    .admin-message-stage { grid-template-columns: 1fr; }
}
