/* Profile account layout: one primary balance, optional connection details. */
body.profile-page main{max-width:1320px;margin:0 auto;padding:34px 28px 56px;box-sizing:border-box}
body.profile-page .profile-heading{max-width:none;margin:0 0 28px}
body.profile-page .profile-heading h1{font-size:38px;line-height:1.15;margin:8px 0 12px}
body.profile-page .profile-heading p{color:#939e9b;font-size:14px}
body.profile-page .profile-card{background:#0d1113;border:1px solid #283033;border-radius:12px;padding:24px;box-sizing:border-box}
.profile-account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:24px}
body.profile-page .profile-wallet{max-width:none;width:100%;margin:0;background:#101615}
.wallet-card-heading,.holdings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wallet-card-heading h2,.holdings-heading h2{margin:0;font-size:18px;font-weight:600;letter-spacing:-.3px}
.wallet-network{font-size:10px;letter-spacing:.08em;padding:5px 8px;border:1px solid #34403b;border-radius:5px;color:#aebeb4}
.wallet-balance-label{margin:28px 0 8px;color:#99a7a0;font-size:12px}
.profile-wallet #profile-balance{font-size:clamp(28px,3.2vw,42px);font-weight:600;letter-spacing:-1.3px;line-height:1.2;margin:0;font-variant-numeric:tabular-nums;color:#eef5ed;overflow-wrap:anywhere}
.profile-wallet .wallet-actions{display:flex;gap:10px;margin-top:24px}
.profile-wallet .wallet-actions button{flex:1;min-height:44px;border-radius:7px;font-size:13px;font-weight:600}
.profile-wallet #profile-deposit{background:#c1f67a;color:#11190a;border:1px solid #c1f67a}
.profile-wallet #profile-withdraw{background:#18211d;border:1px solid #38443c;color:#deeadc}
.profile-wallet button:disabled{opacity:.45;cursor:not-allowed}
#profile-wallet-status:empty{display:none}
#profile-wallet-status{font-size:12px;color:#aabbb0}
.profile-wallet-details{margin-top:24px;border-top:1px solid #2a3530}
.profile-wallet-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:17px 0 0;font-size:12px;color:#aebcb4;list-style:none}
.profile-wallet-details>summary::-webkit-details-marker{display:none}
.profile-wallet-details>summary:after{content:'+';font-size:18px;line-height:1}
.profile-wallet-details[open]>summary:after{content:'−'}
.wallet-detail-content{padding-top:20px}
.wallet-detail-label{font-size:11px;color:#84958a}
.profile-wallet #profile-account-address{font:12px/1.7 monospace;color:#c6d3ca;overflow-wrap:anywhere;margin:8px 0 16px}
.wallet-settings-actions{display:flex;flex-wrap:wrap;gap:8px}
.wallet-settings-actions button{padding:9px 12px;font-size:11px;background:#141c18;border:1px solid #354239;border-radius:6px;color:#d0dcd1}
.profile-wallet .source-wallet-summary{border:0;border-top:1px solid #2a3530;border-radius:0;padding:18px 0 0;margin:20px 0 0;background:transparent;font-size:12px;line-height:1.7}
.profile-wallet .source-wallet-summary strong{font-size:12px;color:#d8e5da}
.profile-wallet .source-wallet-summary [data-source-id]{color:#92a49a;font:12px/1.7 monospace}
.profile-wallet .source-wallet-summary [data-source-value]{color:#d8e5da}
.profile-wallet .source-wallet-summary p{color:#95a59b}
.wallet-recovery-link{display:block;margin-top:18px;color:#a6b89b;font-size:11px;line-height:1.6}
#profile-holdings-slot{min-width:0}
.profile-holdings .holdings-heading button{background:transparent;border:1px solid #303a3d;border-radius:6px;padding:7px 11px;font-size:11px;color:#b6c3bb}
.holdings-account{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#91a097;margin:20px 0 0}
.holdings-account[hidden]{display:none}
.holdings-account select{width:auto;max-width:65%;min-height:36px;background:#151d19;border:1px solid #354139;border-radius:6px;color:#d7e2d8;padding:8px 28px 8px 10px;font-size:12px}
.holdings-columns{display:flex;justify-content:space-between;border-bottom:1px solid #2b3430;padding:20px 0 11px;color:#81938a;font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.profile-holdings [data-tokens]{max-height:240px;overflow:auto;min-height:53px}
.holding-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #222b27;font-size:13px}
.holding-name{color:#d3e0d6;overflow-wrap:anywhere;min-width:0}
.holding-row strong{font-size:13px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}
.profile-holdings [data-note]{font-size:11px;line-height:1.6;color:#8d9e94;margin:14px 0 0}
body.profile-page .profile-positions-layout{gap:20px}
body.profile-page .profile-positions-layout>.profile-card{padding:24px;border-radius:12px}
body.profile-page .profile-positions-layout .portfolio-heading h2{font-size:23px}
body.profile-page #profile-autopilot,body.profile-page .account-activity{width:100%;max-width:none;margin:0 0 24px}
body.profile-page .profile-layout{width:100%;max-width:none;gap:20px}
body.profile-page .profile-card.identity-card{padding:0}
body.profile-page .portfolio-stats{background:#121b16;border-color:#2c3b2e;border-radius:6px}
.profile-wallet-details>summary:focus-visible,.profile-wallet button:focus-visible,.profile-holdings button:focus-visible{outline:2px solid #c1f67a;outline-offset:4px}
@media(max-width:760px){body.profile-page main{padding:24px 14px 40px}.profile-account-layout{grid-template-columns:minmax(0,1fr);gap:16px}.profile-account-layout .profile-card{padding:20px}.profile-wallet #profile-balance{font-size:36px}body.profile-page .profile-heading h1{font-size:32px}.holdings-account select{font-size:16px;max-width:70%}body.profile-page .profile-layout{grid-template-columns:minmax(0,1fr)}}

body.profile-page .identity-cover{height:72px}
