.tenant-switcher {
    margin: -10px 0 20px;
}
.tenant-switcher label {
    display: grid;
    gap: 6px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tenant-switcher select {
    border-color: #293548;
    background: #111c2e;
    color: #f8fafc;
    padding: 9px 10px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}
.invite-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin: 18px 0;
    border-radius: 13px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(101,231,174,.14);
}
.invite-identity > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--lime);
    font-weight: 850;
}
.invite-identity strong,
.invite-identity small {
    display: block;
}
.invite-identity small,
.field-hint {
    color: var(--muted);
    font-size: 11px;
}
.field-hint {
    margin: -5px 0 0;
}
.customer-layout {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr);
    gap: 20px;
    margin-bottom: 20px;
}
.customer-list {
    display: grid;
    gap: 11px;
    max-height: 650px;
    overflow: auto;
    padding-right: 3px;
}
.customer-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8,13,19,.78);
    color: var(--ink);
}
.customer-card.selected {
    border-color: rgba(101,231,174,.38);
    background: linear-gradient(135deg,rgba(101,231,174,.10),rgba(99,207,255,.055));
}
.customer-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.customer-card-head strong,
.customer-card-head small {
    display: block;
}
.customer-card-head strong {
    color: var(--ink);
}
.customer-remove {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.customer-remove summary {
    width: max-content;
    color: var(--red);
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
}
.customer-remove form {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 110, 122, .34);
    border-radius: 12px;
    background: rgba(255, 110, 122, .06);
}
.customer-remove form small {
    color: #ffb3ba;
    line-height: 1.45;
}
.customer-card-head small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}
.customer-metrics {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 15px 0;
    color: var(--muted);
    font-size: 11px;
}
.customer-metrics strong {
    color: var(--ink);
    font-size: 14px;
}
.current-label {
    color: var(--lime);
    font-size: 11px;
    font-weight: 800;
}
.partner-summary {
    background: linear-gradient(145deg,#07110e,#102033);
    border-color: rgba(101,231,174,.18);
    color: #fff;
}
.partner-summary p:not(.kicker) {
    color: #b7c2d2;
    line-height: 1.6;
}
.partner-summary .kicker {
    color: var(--lime);
}
.summary-number {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 25px;
}
.summary-number strong {
    font-size: 46px;
    line-height: 1;
    color: var(--lime);
}
.summary-number span {
    max-width: 120px;
    color: #b7c2d2;
    font-size: 12px;
}
.activity-live-meta {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 154px;
    padding: 9px 13px;
    border: 1px solid rgba(101, 231, 174, .2);
    border-radius: 12px;
    background: rgba(101, 231, 174, .045);
}
.activity-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(101, 231, 174, .10), 0 0 14px rgba(101, 231, 174, .48);
}
.activity-live-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.activity-live-status {
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}
.activity-live-copy small {
    color: #93a1b5;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.activity-live-status.has-error {
    color: var(--red);
}
.activity-live-meta:has(.activity-live-status.has-error) .activity-live-dot {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 110, 122, .09);
}
@media (max-width: 980px) {
    .sidebar nav {
        grid-template-columns: repeat(3, 1fr);
    }
    .tenant-switcher {
        margin: 0 0 16px;
    }
    .customer-layout {
        grid-template-columns: 1fr;
    }
}
