/* Item 04 — Member 360 drawer
   Intentionally isolated from app.css so the drawer has one predictable visual source of truth. */

.member-360-drawer {
    width: min(560px, 100vw);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f6f8f7;
    color: var(--ink);
    font-size: 15px;
}

.member-360-header {
    min-height: 72px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.member-360-kicker {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.member-360-header-title {
    margin-top: 4px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
}

.member-360-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dce5e1;
    border-radius: 12px;
    background: #fff;
    color: #68756f;
    font-size: 17px;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

    .member-360-close:hover {
        border-color: #bfcfc8;
        background: #f3f7f5;
        color: var(--brand);
    }

.member-360-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px;
}

.member-360-profile-card,
.member-360-panel,
.member-360-summary-card,
.member-360-tabs {
    border: 1px solid #dfe7e3;
    background: #fff;
    box-shadow: 0 6px 18px rgba(25, 59, 47, .035);
}

.member-360-profile-card {
    padding: 20px;
    border-radius: 18px;
}

.member-360-profile-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.member-360-avatar {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.member-360-profile-main {
    flex: 1 1 auto;
}

.member-360-profile-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .member-360-profile-title-row h2 {
        margin: 0;
        color: var(--ink);
        font-size: 22px;
        font-weight: 760;
        line-height: 1.2;
        letter-spacing: -.015em;
    }

.member-360-number {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.member-360-status {
    flex: 0 0 auto;
    margin-top: 1px;
    padding: 7px 10px;
    font-size: 14px;
}

.member-360-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf1ef;
}

.member-360-contact-wide {
    grid-column: 1 / -1;
}

.member-360-contact-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.member-360-contact-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 15px;
    line-height: 1;
}

    .member-360-contact-icon i {
        display: block;
        width: 1em;
        height: 1em;
        line-height: 1;
    }

.member-360-contact-label,
.member-360-contact-item strong {
    display: block;
}

.member-360-contact-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
}

.member-360-contact-item strong {
    margin-top: 2px;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.member-360-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.member-360-summary-card {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 15px;
}

.member-360-summary-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 16px;
    line-height: 1;
}

.member-360-summary-card span,
.member-360-summary-card strong {
    display: block;
}

.member-360-summary-card > div > span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
}

.member-360-summary-card strong {
    margin-top: 3px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 780;
    line-height: 1.2;
}

.member-360-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    margin-top: 14px;
    padding: 4px;
    overflow: hidden;
    border-radius: 14px;
}

.member-360-tab {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #627069;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

    .member-360-tab i {
        flex: 0 0 auto;
        font-size: 14px;
        line-height: 1;
    }

    .member-360-tab:hover {
        background: #f2f6f4;
        color: var(--brand);
    }

    .member-360-tab.active {
        background: var(--brand);
        color: #fff;
        box-shadow: 0 4px 10px rgba(23, 75, 59, .14);
    }

.member-360-tab-content {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.member-360-panel {
    padding: 18px;
    border-radius: 16px;
}

.member-360-tab-content > .member-360-panel + .member-360-panel {
    margin-top: 0;
}

.member-360-section-heading {
    margin-bottom: 14px;
}

.member-360-section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.member-360-section-heading > span,
.member-360-section-heading > div > span {
    display: block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.member-360-section-heading h3 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.member-360-count-pill {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 750;
}

.member-360-standing-list {
    border-top: 1px solid #edf1ef;
}

.member-360-standing-row {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 2px;
    border-bottom: 1px solid #edf1ef;
}

    .member-360-standing-row:last-child {
        border-bottom: 0;
    }

    .member-360-standing-row > div > span,
    .member-360-standing-row strong {
        display: block;
    }

    .member-360-standing-row > div > span {
        color: var(--muted);
        font-size: 14px;
    }

    .member-360-standing-row strong {
        margin-top: 2px;
        font-size: 15px;
        font-weight: 700;
    }

.member-360-state-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #9aa6a1;
    box-shadow: 0 0 0 4px rgba(154, 166, 161, .10);
}

    .member-360-state-dot.success {
        background: #27835d;
        box-shadow: 0 0 0 4px rgba(39, 131, 93, .10);
    }

    .member-360-state-dot.warning {
        background: #c38b22;
        box-shadow: 0 0 0 4px rgba(195, 139, 34, .10);
    }

    .member-360-state-dot.info {
        background: #4c7eaa;
        box-shadow: 0 0 0 4px rgba(76, 126, 170, .10);
    }

.member-360-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
    border-top: 1px solid #edf1ef;
}

    .member-360-detail-grid > div {
        min-width: 0;
        padding: 11px 0;
        border-bottom: 1px solid #edf1ef;
    }

    .member-360-detail-grid dt {
        color: var(--muted);
        font-size: 14px;
        font-weight: 650;
    }

    .member-360-detail-grid dd {
        margin: 3px 0 0;
        overflow-wrap: anywhere;
        color: var(--ink);
        font-size: 15px;
        font-weight: 650;
        line-height: 1.35;
    }

.member-360-beneficiary-list {
    display: grid;
    gap: 8px;
}

.member-360-beneficiary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e4ebe7;
    border-radius: 12px;
    background: #fafcfb;
}

.member-360-beneficiary-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.member-360-beneficiary-row strong,
.member-360-beneficiary-row span {
    display: block;
}

.member-360-beneficiary-row strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-360-beneficiary-row span {
    margin-top: 1px;
    color: var(--muted);
    font-size: 14px;
}

.member-360-list {
    border-top: 1px solid #edf1ef;
}

.member-360-list-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1ef;
}

    .member-360-list-row:last-child {
        border-bottom: 0;
    }

.member-360-list-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 15px;
}

.member-360-list-main {
    min-width: 0;
    flex: 1 1 auto;
}

.member-360-list-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .member-360-list-title-row > strong {
        color: var(--ink);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

.member-360-amount {
    flex: 0 0 auto;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.member-360-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

    .member-360-list-meta span {
        position: relative;
    }

        .member-360-list-meta span + span::before {
            content: "•";
            position: absolute;
            left: -8px;
            color: #bdc7c2;
        }

.member-360-file-size {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.member-360-loading {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--muted);
    font-size: 15px;
}

.member-360-timeline {
    position: relative;
    padding-top: 2px;
}

.member-360-timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    padding-bottom: 17px;
}

    .member-360-timeline-row::before {
        content: "";
        position: absolute;
        top: 36px;
        bottom: 0;
        left: 18px;
        width: 1px;
        background: #dce6e1;
    }

    .member-360-timeline-row:last-child {
        padding-bottom: 0;
    }

        .member-360-timeline-row:last-child::before {
            display: none;
        }

.member-360-timeline-marker {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.member-360-timeline-row strong,
.member-360-timeline-row span,
.member-360-timeline-row time {
    display: block;
}

.member-360-timeline-row strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.member-360-timeline-row span {
    margin-top: 2px;
    color: #52605a;
    font-size: 14px;
    line-height: 1.4;
}

.member-360-timeline-row time {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.member-360-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.member-360-primary-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
}

.member-360-panel .empty-state.compact {
    min-height: 155px;
    padding: 24px 16px;
}

.member-360-panel .empty-state h3 {
    font-size: 17px;
}

.member-360-panel .empty-state p {
    max-width: 360px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 576px) {
    .member-360-drawer {
        width: 100vw;
    }

    .member-360-header {
        padding-inline: 16px;
    }

    .member-360-scroll {
        padding: 16px;
    }

    .member-360-profile-card,
    .member-360-panel {
        padding: 16px;
    }

    .member-360-profile-title-row {
        display: block;
    }

    .member-360-status {
        display: inline-block;
        margin-top: 8px;
    }

    .member-360-contact-grid {
        grid-template-columns: 1fr;
    }

    .member-360-contact-wide {
        grid-column: auto;
    }

    .member-360-summary-grid {
        gap: 8px;
    }

    .member-360-summary-card {
        min-height: 76px;
        padding: 12px;
    }

    .member-360-summary-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .member-360-tab {
        min-height: 40px;
        gap: 0;
        padding-inline: 4px;
    }

        .member-360-tab span {
            display: none;
        }

        .member-360-tab i {
            font-size: 17px;
        }

    .member-360-detail-grid {
        grid-template-columns: 1fr;
    }

    .member-360-footer {
        padding: 12px 16px;
    }

    .member-360-primary-action {
        width: 100%;
    }
}

/* Icon centering fix
   app.css contains broader span rules with higher specificity. These selectors
   deliberately target the icon wrappers more specifically so their centering
   layout cannot be overridden by those legacy rules. */
.member-360-contact-item > .member-360-contact-icon,
.member-360-summary-card > .member-360-summary-icon {
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
}

.member-360-contact-icon > i,
.member-360-summary-icon > i {
    display: grid;
    width: 1em;
    height: 1em;
    place-items: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

    .member-360-contact-icon > i::before,
    .member-360-summary-icon > i::before {
        display: block;
        margin: 0;
        line-height: 1;
    }

/* Item 6 - beneficiary management */
.member-360-section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-360-inline-action {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #cfded8;
    border-radius: 9px;
    background: #fff;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
}

    .member-360-inline-action > i,
    .member-360-inline-action > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        line-height: 1;
    }

    .member-360-inline-action > i {
        font-size: 14px;
    }

        .member-360-inline-action > i::before {
            display: block;
            margin: 0;
            line-height: 1;
        }

    .member-360-inline-action:hover {
        border-color: #a8c2b8;
        background: var(--brand-soft);
    }

.member-360-loading-row {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.member-360-beneficiary-row.inactive {
    background: #f7f8f8;
    opacity: .78;
}

.member-360-beneficiary-main {
    flex: 1 1 auto;
}

.member-360-beneficiary-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

    .member-360-beneficiary-title-row > strong {
        flex: 0 1 auto;
        min-width: 0;
    }

.member-360-beneficiary-row .member-360-beneficiary-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
}

.member-360-beneficiary-status.active {
    color: #176244;
    background: #e8f4ee;
}

.member-360-beneficiary-status.inactive {
    color: #68736e;
    background: #ecefed;
}

.member-360-beneficiary-status.warning {
    color: #8a6200;
    background: #fff1c9;
}

.member-360-beneficiary-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 3px;
}

.member-360-beneficiary-row .member-360-beneficiary-meta > span {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.member-360-beneficiary-meta > span + span::before {
    content: "•";
    margin-right: 10px;
    color: #a3ada9;
}

.member-360-beneficiary-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .member-360-beneficiary-actions button {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #62726b;
        font-size: 15px;
    }

        .member-360-beneficiary-actions button:hover {
            background: var(--brand-soft);
            color: var(--brand);
        }

@media (max-width: 520px) {
    .member-360-section-heading-row {
        align-items: flex-start;
    }

    .member-360-section-actions {
        gap: 5px;
    }

    .member-360-count-pill {
        display: none;
    }

    .member-360-beneficiary-row {
        align-items: flex-start;
    }

    .member-360-beneficiary-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

.member-360-avatar.has-photo {
    overflow: hidden;
    background: #eef3f0;
}

    .member-360-avatar.has-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.member-media-file-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 5px;
    border: 1px solid #dbe3df;
    border-radius: 11px;
    background: #fff;
}

.member-media-file-button {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.member-media-file-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #66736d;
    font-size: 13px;
}

.member-id-media-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

    .member-id-media-preview img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        border: 1px solid #dfe7e3;
        border-radius: 12px;
        background: #fff;
    }

        .member-id-media-preview img.signature {
            width: 150px;
            object-fit: contain;
            padding: 8px;
        }

.tatap-qr-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12,28,22,.72);
}

.tatap-qr-dialog {
    width: min(520px,100%);
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.tatap-qr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .tatap-qr-head button {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 10px;
        background: #f1f4f2;
        font-size: 25px;
        line-height: 1;
    }

.tatap-qr-dialog video {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    background: #111;
}

.tatap-qr-dialog small {
    display: block;
    margin-top: 10px;
    color: #65716b;
}

.member-id-preview-grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

    .member-id-preview-grid.landscape {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .member-id-preview-grid.portrait {
        grid-template-columns: repeat(2,minmax(0,360px));
        justify-content: center;
    }

.member-id-preview-label {
    margin-bottom: 7px;
    color: #68756f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.member-id-card {
    position: relative;
    border: 1px solid #dbe5e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24,57,45,.07);
    overflow: hidden;
    padding: 22px;
    color: #17342b;
}

    .member-id-card.landscape {
        aspect-ratio: 85.6/53.98;
    }

    .member-id-card.portrait {
        aspect-ratio: 53.98/85.6;
        width: min(100%,360px);
        margin: 0 auto;
    }

.member-id-brand {
    color: var(--brand);
    font-weight: 800;
    letter-spacing: .05em;
}

.member-id-card-body {
    display: flex;
    gap: 18px;
    margin-top: 22px;
}

.member-id-card.portrait .member-id-card-body {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.member-id-photo {
    width: 120px;
    height: 150px;
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #9fb9af;
    border-radius: 10px;
    background: #fff;
    color: var(--brand);
    font-size: 28px;
    font-weight: 800;
}

    .member-id-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.member-id-details {
    min-width: 0;
    flex: 1;
}

.member-id-card.portrait .member-id-details {
    width: 100%;
    flex: 0 0 auto;
}

.member-id-details h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.15;
}

.member-id-card.portrait .member-id-details h3 {
    text-align: center;
    margin-bottom: 16px;
}

.member-id-details dl {
    margin: 0;
}

    .member-id-details dl div {
        margin-bottom: 10px;
    }

.member-id-details dt {
    color: #728079;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.member-id-details dd {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
}

.member-id-signature {
    width: 150px;
    margin-top: 18px;
    text-align: center;
}

.member-id-card.portrait .member-id-signature {
    margin-top: 22px;
}

.member-id-signature img {
    width: 100%;
    height: 38px;
    object-fit: contain;
    border-bottom: 1px solid #82908a;
}

.member-id-signature > span {
    display: block;
    padding-top: 4px;
    border-top: 1px solid #82908a;
    color: #6e7b75;
    font-size: 10px;
}

.member-id-signature img + span {
    border-top: 0;
}

.member-id-card-back {
    text-align: center;
}

.member-id-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.member-id-card.portrait .member-id-back-content {
    padding-top: 28px;
}

.member-id-qr {
    width: 128px;
    height: 128px;
}

.member-id-card.portrait .member-id-qr {
    width: 155px;
    height: 155px;
}

.member-id-back-content strong {
    margin-top: 7px;
}

.member-id-back-content p {
    max-width: 310px;
    margin: 7px auto;
    color: #6d7a74;
    font-size: 12px;
    line-height: 1.35;
}

.member-id-card.portrait .member-id-back-content p {
    max-width: 245px;
}

.member-id-back-content small {
    font-weight: 800;
    color: #50605a;
}

.member-id-layout-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #66736d;
    font-size: 13px;
}

    .member-id-layout-note i {
        color: var(--brand);
    }

@media (max-width: 900px) {
    .member-id-preview-grid.landscape, .member-id-preview-grid.portrait {
        grid-template-columns: 1fr;
    }
}

.member-avatar.has-photo {
    overflow: hidden;
    padding: 0;
}

    .member-avatar.has-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Member ID portrait alignment refinement */
.member-id-card.portrait .member-id-details dl {
    text-align: center;
}

.member-id-card.portrait .member-id-details dt,
.member-id-card.portrait .member-id-details dd {
    text-align: center;
}

.member-id-card.portrait .member-id-signature {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    margin: 0;
    text-align: center;
}

.member-id-card-back {
    position: relative;
}

.member-id-authorized-signature {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    width: 150px;
    text-align: center;
}

.member-id-authorized-signature-line {
    height: 38px;
    border-bottom: 1px solid #82908a;
}

.member-id-authorized-signature span {
    display: block;
    padding-top: 4px;
    color: #6e7b75;
    font-size: 10px;
}

/* Global Member 360 trigger */
.member-360-trigger {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: left;
    vertical-align: baseline;
    cursor: pointer;
}

    .member-360-trigger:hover {
        color: var(--brand);
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
    }

    .member-360-trigger:focus-visible {
        border-radius: 4px;
        outline: 2px solid rgba(31, 116, 84, .38);
        outline-offset: 3px;
    }

/* Member 360 compact quick-action layout */
.member-360-drawer {
    width: min(720px, 100vw);
}

.member-360-scroll {
    padding: 14px 16px 16px;
}

.member-360-profile-card-compact {
    padding: 16px 18px;
}

    .member-360-profile-card-compact .member-360-avatar {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 14px;
        font-size: 17px;
    }

    .member-360-profile-card-compact .member-360-profile-title-row h2 {
        font-size: 21px;
    }

    .member-360-profile-card-compact .member-360-number {
        margin-top: 2px;
        font-size: 13px;
    }

    .member-360-profile-card-compact .member-360-status {
        margin-top: 0;
        white-space: nowrap;
        font-size: 12.5px;
    }

.member-360-contact-strip {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(180px, 1.3fr) minmax(160px, 1fr);
    gap: 12px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #edf1ef;
}

    .member-360-contact-strip > span {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 7px;
        overflow: hidden;
        color: #4f5e57;
        font-size: 13px;
        font-weight: 650;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .member-360-contact-strip i {
        flex: 0 0 auto;
        color: var(--brand);
        font-size: 13px;
    }

.member-360-summary-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

    .member-360-summary-grid-compact .member-360-summary-card {
        min-height: 66px;
        gap: 9px;
        padding: 10px 11px;
        border-radius: 13px;
    }

    .member-360-summary-grid-compact .member-360-summary-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
        font-size: 14px;
    }

    .member-360-summary-grid-compact .member-360-summary-card > div > span {
        font-size: 12px;
    }

    .member-360-summary-grid-compact .member-360-summary-card strong {
        margin-top: 2px;
        font-size: 15px;
    }

.member-360-tabs-sticky {
    position: sticky;
    top: -1px;
    z-index: 12;
    margin-top: 9px;
    box-shadow: 0 8px 22px rgba(25, 59, 47, .08);
}

.member-360-tab-content {
    gap: 9px;
    margin-top: 9px;
}

.member-360-panel-compact {
    padding: 14px 16px;
    border-radius: 14px;
}

.member-360-section-heading.compact-heading {
    margin-bottom: 10px;
}

    .member-360-section-heading.compact-heading > span,
    .member-360-section-heading.compact-heading > div > span {
        font-size: 11.5px;
    }

    .member-360-section-heading.compact-heading h3 {
        margin-top: 2px;
        font-size: 16px;
    }

.member-360-standing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e7eeea;
    border-radius: 11px;
    background: #fbfcfc;
}

    .member-360-standing-grid > div,
    .member-360-standing-grid > button {
        position: relative;
        min-width: 0;
        padding: 10px 28px 10px 11px;
        border: 0;
        border-right: 1px solid #e7eeea;
        background: transparent;
        text-align: left;
    }

        .member-360-standing-grid > div:last-child,
        .member-360-standing-grid > button:last-child {
            border-right: 0;
        }

.member-360-standing-action {
    cursor: pointer;
    transition: background-color .15s ease;
}

    .member-360-standing-action:hover {
        background: #fff7f7;
    }

    .member-360-standing-action:focus-visible {
        z-index: 1;
        outline: 3px solid rgba(158, 61, 61, .16);
        outline-offset: -3px;
    }

.member-360-standing-grid span,
.member-360-standing-grid strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-360-standing-grid span {
    color: var(--muted);
    font-size: 11.5px;
}

.member-360-standing-grid strong {
    margin-top: 2px;
    font-size: 13.5px;
    font-weight: 750;
}

.member-360-standing-grid .member-360-state-dot {
    position: absolute;
    top: 50%;
    right: 11px;
    margin-top: -5px;
}

.member-360-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.member-360-detail-grid-compact {
    gap: 0 14px;
}

    .member-360-detail-grid-compact > div {
        padding: 8px 0;
    }

    .member-360-detail-grid-compact dt {
        font-size: 12px;
    }

    .member-360-detail-grid-compact dd {
        margin-top: 2px;
        font-size: 13.5px;
    }

.member-360-id-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 11px;
    border: 1px solid #e7eeea;
    border-radius: 11px;
    background: #fafcfb;
}

    .member-360-id-row > div {
        min-width: 0;
    }

    .member-360-id-row span,
    .member-360-id-row strong,
    .member-360-id-row small {
        display: block;
    }

    .member-360-id-row span {
        color: var(--brand);
        font-size: 11.5px;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .member-360-id-row strong {
        margin-top: 2px;
        color: var(--ink);
        font-size: 13.5px;
    }

    .member-360-id-row small {
        margin-top: 2px;
        overflow: hidden;
        color: var(--muted);
        font-size: 11.5px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .member-360-id-row small i {
            margin-right: 5px;
            color: var(--brand);
        }

.member-360-journey-list {
    overflow: hidden;
    border: 1px solid #e7eeea;
    border-radius: 11px;
    background: #fbfcfc;
}

.member-360-journey-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 9px;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid #e7eeea;
}

    .member-360-journey-row:last-child {
        border-bottom: 0;
    }

.member-360-journey-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand);
}

.member-360-journey-row small,
.member-360-journey-row strong,
.member-360-journey-row > div > span {
    display: block;
}

.member-360-journey-row small {
    color: var(--muted);
    font-size: 11px;
}

.member-360-journey-row strong {
    margin-top: 1px;
    color: var(--ink);
    font-size: 13.5px;
}

.member-360-journey-row > div > span {
    margin-top: 1px;
    overflow: hidden;
    color: #68756f;
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-360-journey-row > button {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #d8e4df;
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
}

    .member-360-journey-row > button:hover {
        background: var(--brand-soft);
    }

.member-360-beneficiary-list-compact {
    gap: 6px;
}

    .member-360-beneficiary-list-compact .member-360-beneficiary-row {
        min-height: 48px;
        padding: 7px 9px;
    }

    .member-360-beneficiary-list-compact .member-360-beneficiary-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 12px;
    }

    .member-360-beneficiary-list-compact .member-360-beneficiary-row strong {
        font-size: 13.5px;
    }

.member-360-list-compact .member-360-list-row {
    gap: 9px;
    padding: 9px 0;
}

.member-360-list-compact .member-360-list-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 13px;
}

.member-360-list-compact .member-360-list-title-row > strong {
    font-size: 13.5px;
}

.member-360-list-compact .member-360-amount {
    font-size: 14px !important;
}

.member-360-list-compact .member-360-list-meta {
    margin-top: 2px;
    font-size: 12px;
}

.member-360-ledger-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid #e7eeea;
    border-radius: 11px;
    background: #e7eeea;
}

    .member-360-ledger-summary-strip > div {
        min-width: 0;
        padding: 9px 10px;
        background: #fbfcfc;
    }

    .member-360-ledger-summary-strip span,
    .member-360-ledger-summary-strip strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .member-360-ledger-summary-strip span {
        color: var(--muted);
        font-size: 11.5px;
    }

    .member-360-ledger-summary-strip strong {
        margin-top: 2px;
        font-size: 13.5px;
    }

.member-360-view-all {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid #d8e4df;
    border-radius: 11px;
    background: #f8fbf9;
    color: var(--brand);
    text-align: left;
}

    .member-360-view-all > span,
    .member-360-view-all > small {
        display: block;
        grid-column: 1;
    }

    .member-360-view-all > span {
        font-size: 13.5px;
        font-weight: 800;
    }

    .member-360-view-all > small {
        margin-top: 1px;
        color: #69766f;
        font-size: 11.5px;
    }

    .member-360-view-all > i {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .member-360-view-all:hover {
        border-color: #aec8bd;
        background: var(--brand-soft);
    }

.member-360-document-readiness {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
    padding: 8px 0 10px;
    border-bottom: 1px solid #edf1ef;
}

    .member-360-document-readiness > div {
        min-width: 0;
        flex: 1 1 auto;
    }

    .member-360-document-readiness small,
    .member-360-document-readiness strong {
        display: block;
    }

    .member-360-document-readiness small {
        color: var(--muted);
        font-size: 11.5px;
    }

    .member-360-document-readiness strong {
        margin-top: 1px;
        font-size: 13.5px;
    }

.member-360-timeline-compact .member-360-timeline-row {
    grid-template-columns: 32px 1fr;
    gap: 9px;
    padding-bottom: 11px;
}

    .member-360-timeline-compact .member-360-timeline-row::before {
        top: 32px;
        left: 16px;
    }

.member-360-timeline-compact .member-360-timeline-marker {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.member-360-timeline-compact .member-360-timeline-row strong {
    font-size: 13.5px;
}

.member-360-timeline-compact .member-360-timeline-row span,
.member-360-timeline-compact .member-360-timeline-row time {
    font-size: 11.5px;
}

.member-360-footer {
    padding: 10px 16px;
}

.member-360-primary-action {
    min-height: 38px;
    padding-block: 7px;
    font-size: 14px;
}

/* Full member financial ledger and activity pages */
.member-ledger-loading {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .member-ledger-loading strong {
        margin-top: 5px;
        font-size: 18px;
    }

    .member-ledger-loading span {
        color: var(--muted);
    }

.member-statement-intro {
    margin-bottom: 16px;
}

.member-statement-toolbar {
    margin-bottom: 16px;
}

.member-statement-toolbar-main {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) minmax(180px, 220px) minmax(145px, 170px) minmax(145px, 170px) auto;
    gap: 8px;
    align-items: center;
}

.member-statement-search {
    min-width: 0;
}

.member-statement-type-filter,
.member-statement-date-filter {
    min-width: 0;
}

    .member-statement-type-filter .app-form-select,
    .member-statement-date-filter .app-date-picker {
        width: 100%;
    }

.member-statement-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.member-activity-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.member-statement-summary-card {
    min-height: 104px;
    padding: 16px 18px;
}

    .member-statement-summary-card > span,
    .member-statement-summary-card > strong,
    .member-statement-summary-card > small {
        display: block;
    }

    .member-statement-summary-card > span {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .member-statement-summary-card > strong {
        margin-top: 5px;
        color: var(--ink);
        font-size: 24px;
        font-weight: 800;
    }

    .member-statement-summary-card > small {
        margin-top: 3px;
        color: var(--muted);
        font-size: 12.5px;
    }

    .member-statement-summary-card .member-statement-period-value {
        font-size: 17px;
        line-height: 1.3;
    }

.member-statement-breakdown {
    margin-bottom: 16px;
    padding: 18px;
}

.member-statement-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

    .member-statement-section-title span {
        display: block;
        color: var(--brand);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .member-statement-section-title h3 {
        margin: 3px 0 0;
        font-size: 18px;
        font-weight: 800;
    }

    .member-statement-section-title > strong {
        color: var(--muted);
        font-size: 13px;
    }

.member-statement-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

    .member-statement-breakdown-grid > div {
        min-width: 0;
        padding: 10px 12px;
        border: 1px solid #e5ece8;
        border-radius: 11px;
        background: #fafcfb;
    }

    .member-statement-breakdown-grid span,
    .member-statement-breakdown-grid strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .member-statement-breakdown-grid span {
        color: var(--muted);
        font-size: 12px;
    }

    .member-statement-breakdown-grid strong {
        margin-top: 3px;
        font-size: 15px;
    }

.member-statement-table-card,
.member-activity-full-card {
    padding: 18px;
}

.member-statement-table th {
    color: #66736d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.member-statement-table td {
    vertical-align: middle;
}

    .member-statement-table td strong,
    .member-statement-table td small {
        display: block;
    }

    .member-statement-table td small {
        margin-top: 2px;
        color: var(--muted);
        font-size: 12px;
    }

.member-statement-amount,
.member-statement-total {
    font-weight: 800;
}

    .member-statement-amount.negative {
        color: #a13b35;
    }

.member-statement-table tfoot td {
    padding-top: 14px;
    border-top: 2px solid #dbe5e0;
    font-weight: 800;
}

.member-statement-print-header,
.print-only {
    display: none;
}

.member-activity-full-card {
    overflow: hidden;
}

.member-activity-full-timeline {
    border-top: 1px solid #e7eeea;
}

.member-activity-full-row {
    display: grid;
    grid-template-columns: 120px 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e7eeea;
}

    .member-activity-full-row:last-child {
        border-bottom: 0;
    }

.member-activity-full-date strong,
.member-activity-full-date span {
    display: block;
}

.member-activity-full-date strong {
    font-size: 13px;
}

.member-activity-full-date span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.member-activity-full-marker {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
}

.member-activity-full-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .member-activity-full-heading strong {
        font-size: 14px;
    }

    .member-activity-full-heading span {
        flex: 0 0 auto;
        padding: 3px 7px;
        border-radius: 999px;
        background: #eef4f1;
        color: var(--brand);
        font-size: 11px;
        font-weight: 750;
    }

.member-activity-full-copy p {
    margin: 3px 0 0;
    color: #5d6963;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .member-statement-toolbar-main {
        grid-template-columns: auto minmax(220px, 1fr) minmax(180px, 220px) auto;
    }

    .member-statement-date-filter {
        display: none;
    }

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

@media (max-width: 760px) {
    .member-360-overview-grid,
    .member-360-standing-grid,
    .member-360-summary-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .member-360-standing-grid > :nth-child(2) {
            border-right: 0;
        }

        .member-360-standing-grid > :nth-child(-n + 2) {
            border-bottom: 1px solid #e7eeea;
        }

    .member-360-contact-strip {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .member-statement-toolbar-main {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .member-statement-type-filter {
        grid-column: 2 / -1;
    }

    .member-statement-summary-grid,
    .member-activity-summary-grid,
    .member-statement-breakdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-activity-full-row {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .member-activity-full-date {
        grid-column: 2;
        grid-row: 2;
        margin-top: 3px;
    }

    .member-activity-full-marker {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .member-activity-full-copy {
        grid-column: 2;
        grid-row: 1;
    }
}

@media print {
    .sidebar,
    .topbar,
    .no-print,
    .member-statement-toolbar {
        display: none !important;
    }

    .app-shell,
    .main-content,
    .content-wrap {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .print-only,
    .member-statement-print-header {
        display: flex !important;
    }

    .member-statement-intro,
    .member-statement-summary-grid,
    .member-statement-breakdown,
    .member-statement-table-card {
        box-shadow: none !important;
    }

    .member-statement-intro {
        display: none !important;
    }

    .member-statement-print-header {
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 2px solid #1a4f3d;
    }

        .member-statement-print-header span,
        .member-statement-print-header p,
        .member-statement-print-header strong {
            display: block;
        }

        .member-statement-print-header > div:last-child {
            text-align: right;
        }

        .member-statement-print-header h1 {
            margin: 3px 0;
            font-size: 24px;
        }

    .member-statement-summary-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .member-statement-table-card,
    .member-statement-breakdown {
        border: 0 !important;
        padding-inline: 0 !important;
    }

    .member-statement-table {
        font-size: 11px;
    }
}

/* Keep every statement filter available; the toolbar wraps rather than hiding controls. */
.member-statement-toolbar-main {
    display: flex;
    flex-wrap: wrap;
}

.member-statement-search {
    flex: 1 1 300px;
}

.member-statement-type-filter {
    flex: 0 1 220px;
}

.member-statement-date-filter {
    flex: 0 1 170px;
}

@media (max-width: 1180px) {
    .member-statement-date-filter {
        display: block;
    }
}

@media (max-width: 760px) {
    .member-statement-toolbar-main {
        display: flex;
    }

    .member-statement-search,
    .member-statement-type-filter,
    .member-statement-date-filter {
        flex: 1 1 calc(50% - 8px);
    }

    .member-statement-search {
        flex-basis: calc(100% - 96px);
    }
}

/* Member 360 operational navigation */
.member-360-tab-badge {
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #f6cf70;
    color: #624700;
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1;
}

.member-360-tab.active .member-360-tab-badge {
    background: #fff3cf;
    color: #6f5100;
}

.member-360-clickable-row {
    width: 100%;
    margin: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

button.member-360-list-row.member-360-clickable-row {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
}

    button.member-360-list-row.member-360-clickable-row:hover {
        background: #f7faf8;
    }

button.member-360-beneficiary-row.member-360-clickable-row {
    appearance: none;
}

    button.member-360-beneficiary-row.member-360-clickable-row:hover {
        border-color: #b9cec5;
        background: #f4f9f6;
        box-shadow: 0 2px 8px rgba(23, 75, 59, .05);
    }


.member-360-row-status {
    flex: 0 0 112px;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

    .member-360-row-status .badge-status {
        margin: 0;
        white-space: nowrap;
    }

.member-360-row-chevron {
    flex: 0 0 auto;
    align-self: center;
    color: #8b9892;
    font-size: 12px;
}

.member-statement-row-clickable {
    cursor: pointer;
}

    .member-statement-row-clickable:hover > td {
        background: #f7faf8;
    }

.member-ledger-receipt-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    font: inherit;
    font-weight: 750;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: rgba(23, 117, 91, .32);
    text-underline-offset: 3px;
}

    .member-ledger-receipt-link:hover {
        text-decoration-color: currentColor;
    }

@media (max-width: 575.98px) {
    .member-360-row-status {
        flex-basis: auto;
        justify-content: flex-end;
    }
}

/* Member 360 drawer refinement — wider workspace, compact tabs, single page scroll */
html:has(.member-360-drawer),
body:has(.member-360-drawer) {
    overflow: hidden;
    overscroll-behavior: none;
}

.member-360-drawer {
    width: min(940px, calc(100vw - 40px));
}

.member-360-scroll {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #aebdb6 transparent;
}

    .member-360-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .member-360-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .member-360-scroll::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 999px;
        background: #aebdb6;
        background-clip: padding-box;
    }

.member-360-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    padding: 3px;
}

.member-360-tab {
    flex: 0 0 auto;
    min-height: 38px;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 13px;
}

    .member-360-tab i {
        font-size: 13px;
    }

@media (max-width: 960px) {
    .member-360-drawer {
        width: min(860px, calc(100vw - 20px));
    }
}

@media (max-width: 760px) {
    .member-360-drawer {
        width: 100vw;
    }

    .member-360-tabs {
        gap: 2px;
    }

    .member-360-tab {
        min-height: 36px;
        padding: 6px 9px;
        font-size: 12.5px;
    }
}
