:root{--ink:#101828;--muted:#667085;--line:#e4e7ec;--paper:#fff;--canvas:#f7f8fc;--brand:#5b3ee4;--brand2:#8d28ec;--blue:#3374df;--green:#079669;--orange:#e57a1f;--shadow:0 8px 28px rgba(16,24,40,.08)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,Arial,sans-serif}.member-header{position:sticky;top:0;z-index:20;display:flex;min-height:72px;align-items:center;gap:30px;padding:0 max(24px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.member-brand{display:flex;align-items:center;gap:8px;color:#342173;font-size:20px;font-weight:800;text-decoration:none;white-space:nowrap}.member-brand>span:first-child{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-size:13px}.member-brand>span:last-child{color:var(--brand)}.desktop-nav{display:flex;align-self:stretch;margin:auto}.nav-link{padding:0 16px;border:0;border-bottom:3px solid transparent;background:none;color:#596273;font-size:14px;font-weight:700;cursor:pointer}.nav-link:hover,.nav-link.active{border-color:var(--brand);color:var(--brand)}.account-menu{display:flex;align-items:center;gap:12px}.avatar{display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:800;cursor:pointer}.logout{border:0;background:none;color:#667085;font-weight:700;cursor:pointer}.dashboard-shell{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:42px 0 80px}.dashboard-view{display:none}.dashboard-view.active{display:block}.dashboard-message{display:none;margin-bottom:18px;padding:14px 18px;border-radius:10px;font-weight:700}.dashboard-message.error{display:block;background:#fef3f2;color:#b42318}.dashboard-message.success{display:block;background:#ecfdf3;color:#027a48}.eyebrow{margin:0 0 8px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow.light{color:#ddd5ff}h1,h2,p{margin-top:0}h1{margin-bottom:10px;font-size:36px;letter-spacing:-.035em}h2{margin-bottom:8px;font-size:20px}.welcome-row,.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.welcome-row>div>p:last-child,.page-heading>div>p:last-child{max-width:690px;margin:0;color:var(--muted);line-height:1.55}.primary-action,.white-action,.outline-action{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:10px;padding:0 20px;border-radius:10px;font-weight:800;cursor:pointer}.primary-action{border:0;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff}.primary-action:hover{filter:brightness(.96)}.primary-action.small{min-height:40px}.white-action{border:0;background:#fff;color:#4a2cbb}.outline-action{border:1px solid #bcb2eb;background:#fff;color:#4d2bc5}.text-action{padding:4px;border:0;background:none;color:var(--brand);font-weight:800;cursor:pointer}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.metric{position:relative;overflow:hidden;min-height:170px;padding:24px;border:1px solid var(--line);border-left:4px solid;border-radius:14px;background:var(--paper);box-shadow:0 3px 10px rgba(16,24,40,.05)}.metric.blue{border-left-color:var(--blue)}.metric.violet{border-left-color:var(--brand2)}.metric.green{border-left-color:var(--green)}.metric.orange{border-left-color:var(--orange)}.metric-icon{position:absolute;right:20px;top:20px;display:grid;width:38px;height:38px;place-items:center;border-radius:9px;background:#f0edff;color:var(--brand)}.metric p{margin:4px 0 14px;color:var(--muted);font-size:13px;font-weight:700}.metric strong{display:block;margin-bottom:7px;font-size:30px}.metric small{color:var(--muted)}.callout{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 24px;padding:30px 34px;border-radius:16px;background:linear-gradient(120deg,#4b36d9,#9124e9);color:#fff;box-shadow:var(--shadow)}.callout h2{font-size:24px}.callout p:last-child{max-width:720px;margin-bottom:0;color:#e8e4ff;line-height:1.5}.overview-grid,.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{padding:26px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 3px 14px rgba(16,24,40,.045)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.panel-heading h2{margin:0}.status{display:inline-flex;padding:6px 10px;border-radius:999px;background:#ecfdf3;color:#027a48;font-size:12px;font-weight:800;text-transform:capitalize}.status.review{background:#fff7e8;color:#b54708}.status.draft{background:#f2f4f7;color:#475467}.trust-facts{display:grid;gap:12px}.trust-facts div{display:flex;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:1px solid #eef0f3}.trust-facts dt{color:var(--muted)}.trust-facts dd{margin:0;font-weight:700;text-align:right}.button-row{display:flex;gap:12px;margin-top:22px}.activity-list{display:flex;flex-direction:column}.activity-item{position:relative;padding:5px 0 20px 34px;border-left:2px solid #ebe7ff}.activity-item:last-child{padding-bottom:5px}.activity-dot{position:absolute;left:-7px;top:8px;width:12px;height:12px;border:3px solid #d8d0ff;border-radius:50%;background:var(--brand)}.activity-item strong{display:block;margin-bottom:5px;font-size:14px}.activity-item p{margin:0 0 5px;color:var(--muted);font-size:13px;line-height:1.4}.activity-item time{color:#98a2b3;font-size:12px}.empty-state{padding:38px 16px;text-align:center;color:var(--muted)}.dashboard-form{display:grid;gap:18px}.dashboard-form.two-column{grid-template-columns:1fr 1fr}.dashboard-form.two-column .primary-action,.dashboard-form.two-column .form-message{grid-column:1/-1}.dashboard-form label,.modal-card label{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:800}.dashboard-form input,.dashboard-form select,.modal-card input,.modal-card select,.modal-card textarea,.beneficiary-row input,.beneficiary-row select{width:100%;min-height:46px;padding:10px 13px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#101828;font:inherit}.dashboard-form input:focus,.dashboard-form select:focus,.modal-card input:focus,.modal-card select:focus,.modal-card textarea:focus,.beneficiary-row input:focus,.beneficiary-row select:focus{border-color:#8067e9;outline:3px solid #eeeaff}.dashboard-form input[readonly]{background:#f7f8fa;color:#667085}.form-message{display:none;margin:0;padding:12px;border-radius:8px}.form-message.error,.form-message.success{display:block}.form-message.error{background:#fef3f2;color:#b42318}.form-message.success{background:#ecfdf3;color:#027a48}.beneficiary-row{position:relative;display:grid;grid-template-columns:1.3fr 1fr .65fr 34px;gap:10px;margin-bottom:12px;padding:15px;border:1px solid #ded8ff;border-radius:11px;background:#faf9ff}.beneficiary-row .remove-record{align-self:center}.remove-record{width:34px;height:34px;border:0;border-radius:8px;background:#fff0f0;color:#b42318;font-size:18px;cursor:pointer}.allocation-bar{display:flex;justify-content:space-between;margin:18px 0;padding:14px 16px;border-radius:9px;background:#f5f3ff;color:#403078}.summary-strip{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:24px;padding:24px 28px;border-radius:14px;background:#162033;color:#fff}.summary-strip span{display:block;margin-bottom:7px;color:#cbd5e1;font-size:13px}.summary-strip strong{font-size:30px}.summary-strip p{max-width:500px;margin:0;color:#cbd5e1;font-size:13px}.record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.record-card{padding:22px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.04)}.record-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.record-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#f0edff;color:var(--brand);font-weight:800}.record-card h3{margin:18px 0 7px;font-size:17px}.record-card p{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.45}.record-card strong.value{font-size:22px}.record-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.security-note{display:flex;gap:15px;margin-bottom:24px;padding:18px 20px;border:1px solid #a6f4c5;border-radius:12px;background:#ecfdf3;color:#05603a}.security-note p{margin:5px 0 0;font-size:13px;line-height:1.5}.profile-panel{max-width:840px}.mobile-nav{display:none}dialog{width:min(520px,calc(100% - 30px));padding:0;border:0;border-radius:16px;box-shadow:0 24px 70px rgba(16,24,40,.24)}dialog::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.modal-card{display:grid;gap:18px;padding:28px}.modal-heading{display:flex;justify-content:space-between}.modal-heading h2{font-size:24px}.modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#f2f4f7;color:#475467;font-size:22px;cursor:pointer}.modal-warning{padding:12px 14px;border-radius:8px;background:#fff7e8;color:#93410a;font-size:13px}.modal-card textarea{resize:vertical}.modal-card .form-message{margin:0}@media(max-width:1000px){.desktop-nav{display:none}.metric-grid{grid-template-columns:1fr 1fr}.record-grid{grid-template-columns:1fr 1fr}.member-header{padding:0 24px}.account-menu{margin-left:auto}}@media(max-width:720px){body{padding-bottom:72px}.member-header{min-height:62px;padding:0 16px}.logout{display:none}.dashboard-shell{width:min(100% - 28px,620px);padding:26px 0 40px}h1{font-size:29px}.welcome-row,.page-heading{align-items:flex-start;flex-direction:column}.welcome-row>.primary-action,.page-heading>.primary-action{width:100%}.metric-grid,.overview-grid,.content-grid,.record-grid{grid-template-columns:1fr}.metric{min-height:142px}.callout{align-items:flex-start;flex-direction:column;padding:26px 22px}.panel{padding:20px}.dashboard-form.two-column{grid-template-columns:1fr}.beneficiary-row{grid-template-columns:1fr 1fr}.beneficiary-row .remove-record{position:absolute;right:10px;top:10px}.beneficiary-row input[name=fullName]{padding-right:45px}.summary-strip{align-items:flex-start;flex-direction:column}.mobile-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);height:66px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 20px rgba(16,24,40,.06)}.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:0;background:none;color:#667085;font-size:17px}.mobile-nav span{font-size:10px;font-weight:700}.mobile-nav button.active{color:var(--brand)}.button-row{flex-direction:column}.button-row button{width:100%}}
.crypto-holdings-panel{grid-column:1/-1}.crypto-holdings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.crypto-holding{min-width:0;padding:14px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e3e8ee;border-radius:10px}.crypto-holding img{width:42px;height:42px;border-radius:50%;object-fit:contain}.crypto-holding div{display:flex;flex-direction:column;gap:4px;min-width:0}.crypto-holding strong,.crypto-holding small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crypto-holding small{color:#687386}.crypto-holding b{white-space:nowrap;color:#245d8f}
/* (mobile viewport-overflow + fixed nav fixes live in dashboard-mobile-actions.css,
   which loads last so it wins the cascade for .dashboard-shell) */
