/* Approved account and strategy sheets; scoped to these two dialogs. */
#profileDialog,#copyDialog{color:#eee!important;background:#090909!important;border:1px solid #333!important;box-shadow:0 24px 90px #0009;border-radius:24px;max-height:calc(100dvh - 40px)}
#profileDialog .rf-profile-head{background:transparent;border:0;padding:25px 24px 12px;align-items:flex-start}
#profileDialog .rf-eyebrow,#copyDialog .demo-badge{color:#aaa;font-size:10px;font-weight:600;letter-spacing:.08em}
#profileDialog .rf-profile-head h2,#copyDialog h2{font-size:28px;font-weight:700;letter-spacing:-.045em;line-height:1.15;margin:8px 0 0}
#profileDialog .rf-profile-head>button,#copyDialog .close{border:0;background:transparent;color:#eee;font-size:28px;width:32px;height:32px;min-height:32px;border-radius:50%}
#profileDialog .rf-profile-body{padding:14px 24px 12px}
#profileDialog .rf-identity{gap:16px;margin-bottom:22px;align-items:center}
.sheet-avatar-wrap{position:relative;flex-shrink:0}
#profileDialog .rf-avatar{width:66px;height:66px;border:1px solid #555;border-radius:50%;background:linear-gradient(140deg,#393939,#242424);color:#eee;font-size:25px;box-shadow:none}
#profileDialog .rf-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.sheet-photo-button{position:absolute;right:-3px;bottom:-2px;width:27px;height:27px;min-height:27px;padding:6px;background:#087eff;border:2px solid #090909;border-radius:50%;color:#fff;display:grid;place-items:center}.sheet-photo-button svg{width:14px;height:14px}
#profileDialog .rf-identity strong{font-size:20px;letter-spacing:-.03em;margin-bottom:7px}
#profileDialog .rf-profile-badge{border:1px solid #777;border-radius:20px;background:transparent;color:#ddd;padding:3px 9px;font-size:10px;letter-spacing:0;text-transform:none}
#profileDialog .rf-profile-stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
#profileDialog .rf-profile-stats>div{background:#111;border:1px solid #4a4a4a;padding:14px 12px;border-radius:12px}
#profileDialog .rf-profile-stats small{color:#bbb;font-size:11px;margin-bottom:8px}
#profileDialog .rf-profile-stats strong{font-size:20px;font-weight:650;letter-spacing:-.04em}
#profileDialog .rf-profile-details{border:0;border-radius:0;margin-bottom:16px}
#profileDialog .rf-profile-row{padding:14px 0;gap:12px;border-bottom:1px solid #3b3b3b;background:transparent}
#profileDialog .rf-row-icon{width:22px;height:22px;min-width:22px;border:0;background:none;color:#eee}
#profileDialog .rf-profile-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0}
#profileDialog .rf-profile-row small{font-size:12px;color:#ccc;flex-shrink:0;margin:0}
#profileDialog .rf-profile-row strong{font-size:12px;font-weight:400;color:#eee;text-align:right;overflow-wrap:anywhere;line-height:1.5}
#profileDialog .rf-session-info{background:#161616;border:1px solid #484848;border-radius:12px;padding:13px;gap:12px;margin:0}
#profileDialog .rf-session-info strong{font-size:12px;color:#eee}
#profileDialog .rf-session-info p{font-size:11px;color:#aaa;line-height:1.6;margin:5px 0 0}
#profileDialog .rf-profile-actions{background:#090909;border:0;padding:8px 24px 20px;gap:10px}
#profileDialog .rf-logout{background:transparent;border:1px solid #ef5966;color:#ff6873;min-height:44px;font-size:13px;border-radius:10px}
#profileDialog .rf-logout svg{display:none}
#profileDialog .rf-admin-link{padding:4px;min-height:25px;color:#aaa;font-size:11px;text-decoration:underline}
#profileDialog .rf-admin-link small{display:none}
#copyDialog{padding:28px 24px;width:min(520px,calc(100vw - 40px))}
#copyDialog .demo-badge{background:transparent;border:0;padding:0}
#copyDialog h2{margin:10px 35px 22px 0}
#copyDialogDescription[hidden]{display:none!important}
.sheet-copy-identity{display:flex;align-items:center;gap:12px;margin-bottom:22px}
#sheetTraderAvatar{width:52px;height:52px;display:grid;place-items:center;border:1px solid #555;border-radius:50%;background:linear-gradient(145deg,#393939,#222);font-size:20px;font-weight:600;flex-shrink:0}
.sheet-copy-identity>div{min-width:0;flex:1}.sheet-copy-identity strong{display:block;font-size:15px;margin-bottom:5px}.sheet-copy-identity small{display:block;font-size:11px;color:#aaa;line-height:1.5}.sheet-fictional{font-size:9px;border:1px solid #666;border-radius:20px;padding:4px 7px;color:#bbb;white-space:nowrap}
#copyDialog .form-grid{gap:12px;grid-template-columns:1fr 1fr}
#copyDialog .form-grid label{background:#111;border:1px solid #555;border-radius:12px;padding:12px 10px;gap:7px;font-size:10px;color:#bbb;min-width:0}
#copyDialog .form-grid input,#copyDialog .form-grid select{border:0;background:transparent;padding:0;min-height:27px;height:27px;font-size:18px;font-weight:600;border-radius:2px}
.sheet-exposure{padding:15px;margin-top:20px;border:1px solid #555;background:#141414;border-radius:12px}.sheet-exposure>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#bbb}.sheet-exposure strong{font-size:12px;color:#eee;overflow-wrap:anywhere;text-align:right}.sheet-exposure-track{height:9px;border-radius:8px;background:#363636;overflow:hidden;margin:15px 0 7px}.sheet-exposure-track i{height:100%;display:block;background:#087eff;border-radius:8px}.sheet-exposure small{font-size:10px;color:#999}
#copyDialog .dialog-note{border:0;background:none;padding:0;margin:15px 0 0;font-size:11px;line-height:1.7;color:#999}
#copyDialog .dialog-actions{border:0;gap:12px;margin-top:24px;padding-top:0}
#copyDialog .dialog-actions button{flex:1;border:1px solid #777;border-radius:10px;font-size:13px;min-height:46px;background:transparent}
#copyDialog .dialog-actions .primary{background:#087eff;border-color:#087eff;color:#fff}
@media(max-width:720px){#profileDialog,#copyDialog{border-radius:24px 24px 0 0!important;max-height:94dvh!important;inset:auto 0 0!important}#profileDialog .rf-sheet-handle{margin:12px auto 0;background:#666;width:34px}#profileDialog .rf-profile-head{padding-top:18px}#profileDialog .rf-profile-actions{padding-bottom:calc(16px + env(safe-area-inset-bottom))}#copyDialog{padding:27px 22px calc(20px + env(safe-area-inset-bottom))}#copyDialog::before{margin:-14px auto 20px;background:#666}#profileDialog .rf-profile-head h2,#copyDialog h2{font-size:26px}#copyDialog .dialog-actions{padding-bottom:0;background:#090909}}
@media(max-width:360px){#profileDialog .rf-profile-body{padding-inline:18px}#profileDialog .rf-profile-head{padding-inline:18px}#profileDialog .rf-profile-stats strong{font-size:18px}.sheet-copy-identity{gap:9px}.sheet-fictional{font-size:8px;padding:3px 5px}#sheetTraderAvatar{width:44px;height:44px}#copyDialog{padding-inline:18px}}
@media(prefers-reduced-motion:no-preference){.sheet-exposure-track i{transition:width .2s ease}}
#sheetTraderAvatar{background-repeat:no-repeat;overflow:hidden}.trader-avatar{background-repeat:no-repeat}
