.header:has(.members-nav){height:auto;min-height:60px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.header .members-navigation{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0;white-space:normal}
.workspace-brand{display:flex;align-items:center;gap:16px;flex:0 1 auto;min-width:0;max-width:100%}
.workspace-brand>a{display:flex;flex:none;align-items:center}
.workspace-brand>a>img{display:block;max-width:100%;height:auto}
.member-brand-divider{width:1px;height:28px;flex:none;background:var(--border)}
.header .member-header-logo{display:block;width:auto;height:auto;max-width:160px;max-height:32px;object-fit:contain}
.workspace-brand [hidden]{display:none}
.member-profile-logo{grid-column:1/-1;min-width:0;border-top:1px solid var(--border);padding-top:18px}
.member-profile-logo .member-field input[type=file]{padding:8px;font-size:12px;min-height:40px;max-width:100%}
.member-profile-logo input::file-selector-button{font:inherit;color:var(--navy);background:#f5f9fc;border:1px solid var(--border);border-radius:4px;padding:6px 10px;margin-right:10px;cursor:pointer}
.member-logo-current{display:flex;align-items:center;gap:14px;margin-top:14px;min-height:48px;flex-wrap:wrap}
.member-logo-preview{display:block;max-width:min(220px,100%);max-height:64px;width:auto;height:auto;object-fit:contain}
.member-logo-preview[hidden],.member-logo-empty[hidden]{display:none}
.member-logo-empty{font-size:12px;color:var(--muted)}
.member-logo-current button{font-size:12px;padding:7px 9px}
.member-profile-logo .member-help{margin-bottom:0}
.members-nav{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
.header .members-nav button{border-radius:4px;white-space:nowrap;padding:7px 9px}
.header .members-nav button[aria-current=page]{background:#edf7fc;color:var(--navy);box-shadow:inset 0 -2px 0 var(--blue)}
.member-wallet{font-size:11px;font-weight:600;color:var(--navy);border:1px solid #d9e3ed;padding:7px 10px;border-radius:5px;white-space:nowrap;background:#f8fafd}
.member-identity{font-size:11px;color:var(--muted);max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-views{min-width:0}
.member-page{padding:26px;background:#fff;border:1px solid var(--border);border-radius:9px;min-width:0}
.member-page:focus{outline:none}
.member-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.member-page-heading h2{font-size:25px;font-weight:600;margin:0 0 9px}
.member-page-heading p{margin:0;font-size:13px;max-width:750px}
.member-page-heading .eyebrow{margin-bottom:8px}
.member-list-tools{display:flex;align-items:flex-end;gap:12px;margin:20px 0}
.member-list-tools>.member-field{flex:1;max-width:480px}
.member-field{display:block;font-size:12px;color:#566a88;min-width:0}
.member-field>span{display:block;font-weight:500;margin-bottom:7px}
.member-field input,.member-field select{display:block;width:100%;min-width:0;margin:0;padding:9px 11px;min-height:40px;font-size:14px}
.member-field input[readonly]{background:#f5f7fa;color:var(--muted)}
.member-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 16px}
.member-user-permissions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.member-user-logo{grid-column:1/-1;min-width:0}.member-user-logo .member-logo-current{margin-top:10px;gap:10px;min-height:32px}.member-user-logo .member-help{margin:8px 0 0}.member-user-logo .member-feedback{margin:8px 0 0}.member-user-logo input[type=file]{padding:8px;max-width:100%;font-size:12px}.member-user-logo input::file-selector-button{font:inherit;color:var(--navy);background:var(--surface-alt,#f4f8fc);border:1px solid var(--border);border-radius:4px;padding:6px 10px;margin-right:10px;cursor:pointer}.member-user-logo-filename{font-size:12px;color:var(--navy);overflow-wrap:anywhere}.member-user-logo [hidden]{display:none!important}
.member-service-fees{grid-column:1/-1;display:grid;gap:13px;min-width:0;margin:0;padding:17px 0 0;border:0;border-top:1px solid var(--border)}
.member-service-fees legend{font-size:12px;font-weight:600;color:var(--navy);padding:0 10px 0 0}
.member-service-fees>.member-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,180px);gap:16px;align-items:center}
.member-service-fees>.member-field>span{margin:0}
.member-user-fees{min-width:150px;font-variant-numeric:tabular-nums}
.member-form-grid>.member-field[for=memberCurrentPassword]{grid-column:1/-1}
.member-activation-password{grid-column:1}
.member-password-tools{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.member-password-tools button{font-size:12px;min-height:36px;padding:7px 10px}
.member-password-choice{grid-column:1/-1}
.member-check{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:var(--navy);min-width:0}
.member-check input{width:17px;height:17px;min-height:17px;margin:0;padding:0;flex:none;accent-color:var(--blue)}
.member-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:24px}
.member-feedback{margin:14px 0;padding:11px 14px;border:1px solid #cde5f2;border-radius:5px;background:#eef7fc;color:#315772;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.member-feedback.error{border-color:#eacaca;background:#fff1f1;color:#9a3232}
.member-feedback.warning{border-color:#ead9b4;background:#fff8e7;color:#78500d}
.member-help{font-size:11px;line-height:1.65;color:var(--muted);margin:16px 0 0;overflow-wrap:anywhere}
.member-request{font-family:ui-monospace,monospace;font-size:10px}
.member-dialog{width:min(730px,94vw)}
.member-dialog .dialog-head h2{font-size:24px}
.member-dialog .dialog-head button{font-size:24px;line-height:1;padding:4px 8px}
.member-dialog-context{font-size:13px;color:var(--muted);margin-bottom:20px}
.member-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:6px}
.member-table{min-width:900px;width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:normal}
.member-table th{font-size:11px;white-space:nowrap;color:var(--muted);padding:13px 14px;background:#f8fafd;text-align:left}
.member-table td{vertical-align:top;padding:14px;border-bottom:1px solid var(--border);max-width:260px;white-space:normal;text-align:left;overflow-wrap:anywhere;overflow:visible}
.member-table tr:last-child td{border-bottom:0}
.member-account-report{min-width:1600px}
.member-account-report td:first-child,.member-account-report td:nth-child(n+6):nth-child(-n+10){white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
.member-account-report td:nth-child(2){min-width:170px}
.member-table td strong{font-size:12px;font-weight:600;display:block}
.member-table td small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}
.member-row-actions{min-width:200px}
.member-row-actions button{font-size:10px;min-height:30px;padding:5px 8px;margin:0 5px 5px 0}
.member-state{display:inline-flex;font-size:10px;padding:4px 7px;border-radius:4px;background:#e9f7f0;color:#287c56}
.member-state.is-suspended{background:#fff1e1;color:#995c15}
.member-table .member-empty{text-align:center;max-width:none;padding:35px;color:var(--muted)}
.member-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}
.member-report-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;grid-column:1/-1;flex-wrap:wrap}
.member-report-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:20px 0}
.member-total-card{background:#f6f9fc;border:1px solid var(--border);border-radius:6px;padding:18px}
.member-total-card h3{font-size:14px;margin:0 0 13px}
.member-total-card p{font-size:13px;line-height:1.6;margin:6px 0}
.member-total-card small{font-size:11px;color:var(--muted);display:block;margin-top:12px}
.member-reason{min-width:180px}
.member-reference-cell:has(.member-report-location){min-width:220px;max-width:300px}
.member-report-location{display:grid;gap:8px;margin-top:9px;min-width:0}
.member-location-group{min-width:0}
.member-table .member-location-label{margin:0 0 2px;font-size:10px;line-height:1.4;color:var(--muted)}
.member-location-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px}
.member-location-value{font-size:11px;line-height:1.5;overflow-wrap:anywhere;user-select:text}
.member-location-coordinates{font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal}
.member-location-copy{font-size:10px;line-height:1.2;min-height:25px;padding:4px 6px;margin:0;white-space:nowrap}
.member-location-copy:disabled{cursor:wait;opacity:.55}
.member-location-copy:focus-visible,.member-location-manual:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.member-location-manual{display:block;width:100%;min-width:0;margin:6px 0 0;padding:6px 8px;resize:vertical;border:1px solid var(--border);border-radius:4px;background:#f8fafd;color:var(--navy);font:inherit;font-size:11px;line-height:1.5}
.member-table .member-location-copy-status{margin:4px 0 0;font-size:10px;line-height:1.4}
.member-location-manual[hidden],.member-location-copy-status[hidden]{display:none}
.member-table .member-location-unavailable{margin-top:8px}
.member-review-cell{min-width:130px}.member-review-cell button{font-size:11px;min-height:34px;padding:7px 10px}
#memberReconcileDialog .member-check{grid-column:1/-1}#memberReconcileDialog .member-help{margin-top:14px}
.member-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.member-card{padding:23px;border:1px solid var(--border);border-radius:7px;min-width:0}
.member-card h3{font-size:18px;font-weight:600;margin:0 0 22px}
.member-profile-summary{display:flex;margin:0 0 22px}
.member-profile-summary>div{background:#f5f9fc;padding:17px 22px;border:1px solid var(--border);border-radius:6px;min-width:220px}
.member-profile-summary span{display:block;font-size:11px;color:var(--muted)}
.member-profile-summary strong{font-size:25px;font-weight:500;display:block;margin-top:6px}
@media(max-width:1200px){.header:has(.members-nav){gap:15px}.header .members-navigation{flex:1;min-width:330px}.member-identity{display:none}.member-profile-grid{grid-template-columns:1fr}.member-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header .members-navigation{flex-basis:100%;min-width:0;justify-content:flex-start;margin:0;gap:8px}.members-nav{flex:1;gap:2px}.header .members-nav button{font-size:11px;padding:7px 8px}.member-wallet{font-size:10px;padding:6px 8px}.member-page{padding:19px}.member-page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px}.member-page-heading h2{font-size:23px}.member-form-grid{gap:15px}.member-report-filters{gap:14px}.member-dialog{padding:22px}.member-list-tools{align-items:stretch}.member-list-tools>button{align-self:flex-end}}
@media(max-width:480px){.member-page{padding:17px 13px}.member-form-grid,.member-report-filters{grid-template-columns:1fr}.member-check{min-height:28px}.member-form-actions{flex-wrap:wrap}.member-form-actions button{flex:1}.member-card{padding:18px}.member-dialog{padding:19px;width:95vw}.member-report-actions{justify-content:stretch}.member-report-actions button{flex:1}.member-report-totals{grid-template-columns:1fr}.member-page-heading>button{width:100%}.member-identity{display:none}.header .members-navigation{gap:5px}.member-wallet{margin-left:auto}.member-profile-summary>div{min-width:0;width:100%}}
@media(max-width:480px){.workspace-brand{gap:10px}.workspace-brand>a>img{width:145px}.header .member-header-logo{max-width:112px;max-height:28px}.member-brand-divider{height:24px}}
@media(max-width:620px){.member-user-permissions{grid-template-columns:1fr}.member-service-fees>.member-field{grid-template-columns:minmax(0,1fr) minmax(0,130px);gap:12px}}

.member-pdf-cell{min-width:240px;max-width:330px}.member-pdf-record strong{overflow-wrap:anywhere}.member-pdf-record small{overflow-wrap:anywhere}.member-pdf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:7px}.member-pdf-actions button{font-size:10px;padding:5px 8px}.member-pdf-actions small{margin:0!important}.member-pdf-earlier{margin-top:9px}.member-pdf-earlier summary{font-size:10px;color:var(--muted);cursor:pointer}.member-pdf-earlier .member-pdf-record{border-top:1px solid var(--border);padding-top:10px;margin-top:10px}.pdf-report-open{white-space:nowrap;font-size:11px;padding:7px 10px}

.member-default-financial-profile{grid-column:1/-1}.member-default-financial-profile select,#memberProfileFinancialProfile{min-width:0;width:100%}.member-default-financial-profile .member-help{margin-top:5px;line-height:1.4}
