/* FundedProFX · Wave A. Shared with the static previews. No network imports. */
:root {
  color-scheme: dark;
  --fpd-bg:#090a0b; --fpd-surface:#111315; --fpd-raised:#191b1d;
  --fpd-line:#2b2d2f; --fpd-line-soft:#222426; --fpd-text:#f4f3ef;
  --fpd-muted:#b0b2b2; --fpd-dim:#929595; --fpd-gold:#e5c789;
  --fpd-gold-deep:#caa14e; --fpd-mint:#8bd6b7; --fpd-red:#ff9d9d;
  --fpd-amber:#f2ca82; --fpd-font:Montserrat,Arial,sans-serif;
  --fpd-radius:18px; --fpd-sidebar:232px; --fpd-focus:0 0 0 3px #e5c78955;
}
.fpd-app { margin:0!important; background:var(--fpd-bg)!important; color:var(--fpd-text)!important; font:400 1rem/1.6 var(--fpd-font)!important; text-align:left; }
.fpd-app *, .fpd-app *::before, .fpd-app *::after { box-sizing:border-box; }
.fpd-app [hidden] { display:none!important; }
.fpd-app h1,.fpd-app h2,.fpd-app h3,.fpd-app h4,.fpd-app h5,.fpd-app h6 { font-family:var(--fpd-font)!important; color:var(--fpd-text)!important; line-height:1.25; letter-spacing:-.035em; font-weight:600; margin:0; }
.fpd-app h1 { font-size:clamp(1.8rem,3vw,2.5rem); }
.fpd-app h2 { font-size:1.2rem; } .fpd-app h3 { font-size:1rem; }
.fpd-app p { color:var(--fpd-muted); margin:0; }
.fpd-app a { color:inherit; text-decoration:none; }
.fpd-app a:hover { color:var(--fpd-gold); }
.fpd-app button,.fpd-app input,.fpd-app select,.fpd-app textarea { font:inherit; }
.fpd-app button { cursor:pointer; } .fpd-app button:disabled { cursor:wait; opacity:.65; }
.fpd-app :is(a,button,input,select,textarea,summary):focus-visible { outline:2px solid var(--fpd-gold); outline-offset:4px; box-shadow:none; }
.fpd-app button,.fpd-app summary { -webkit-tap-highlight-color:transparent; }
.fpd-app :is(input,select,textarea) { min-width:0; }
.fpd-app ::selection { background:var(--fpd-gold); color:#111; }
.fpd-app .fpd-skip { position:fixed; top:12px; left:12px; z-index:10001; padding:12px 20px; background:var(--fpd-gold); color:#111; transform:translateY(-180%); }
.fpd-app .fpd-skip:focus { transform:translateY(0); }
.fpd-app .fpd-brand { display:flex; align-items:center; gap:10px; font-size:1.12rem; font-weight:700; letter-spacing:-.04em; color:var(--fpd-text); }
.fpd-brand svg { width:34px; height:34px; flex:none; } .fpd-brand small { display:block; font-size:.625rem; letter-spacing:.22em; font-weight:500; color:var(--fpd-gold); margin-top:-2px; }
.fpd-app .fpd-sidebar { display:none; }
.fpd-app .fpd-nav-list { list-style:none; margin:0; padding:0; display:block; }
.fpd-app .fpd-nav-item { list-style:none; margin:0; padding:0; }
.fpd-app .fpd-nav-link::after { display:none; }
.fpd-app .fpd-main.main-content { margin:0!important; padding:0!important; min-height:100dvh; width:auto!important; max-width:none!important; display:flex; flex-direction:column; position:relative; }
.fpd-topbar { min-height:76px; padding:16px 20px; border-bottom:1px solid var(--fpd-line-soft); display:flex; align-items:center; justify-content:space-between; gap:16px; background:var(--fpd-bg); }
.fpd-breadcrumb { display:none; align-items:center; gap:12px; font-size:.875rem; color:var(--fpd-dim); }
.fpd-breadcrumb strong { color:var(--fpd-text); font-weight:500; }
.fpd-top-actions { display:flex; align-items:center; gap:6px; }
.fpd-app .fpd-icon-button { width:44px; height:44px; padding:0; border:1px solid transparent; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; flex:none; font-size:1.25rem; color:var(--fpd-muted); background:transparent; }
.fpd-app .fpd-icon-button:hover { background:var(--fpd-raised); color:var(--fpd-gold); border-color:var(--fpd-line); }
.fpd-icon-button svg { width:20px; height:20px; }
.fpd-app .fpd-balance-shortcut { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; font-size:.875rem; font-weight:500; }
.fpd-balance-shortcut>span { display:none; }
.fpd-fullscreen-control { display:none!important; }
.fpd-profile-trigger>i { display:none; }
.fpd-balance-shortcut i { color:var(--fpd-gold); font-size:1.25rem; }
.fpd-disclosure { position:relative; }
.fpd-disclosure>summary { list-style:none; } .fpd-disclosure>summary::-webkit-details-marker { display:none; }
.fpd-profile-trigger { display:flex; align-items:center; gap:10px; cursor:pointer; border-radius:12px; min-height:44px; }
.fpd-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid var(--fpd-line); background:var(--fpd-raised); }
.fpd-profile-name { display:none; font-size:.875rem; font-weight:500; }
.fpd-popup { position:absolute; z-index:1000; right:0; top:calc(100% + 14px); width:280px; max-width:calc(100vw - 32px); padding:12px; background:#17191b; border:1px solid #3b3d3e; border-radius:16px; box-shadow:0 16px 48px #0008; }
.fpd-popup-head { padding:10px 12px 16px; border-bottom:1px solid var(--fpd-line); margin-bottom:8px; }
.fpd-popup-head strong,.fpd-popup-head small { display:block; } .fpd-popup-head small { color:var(--fpd-muted); font-size:.8125rem; margin-top:4px; }
.fpd-popup a { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; font-size:.875rem; min-height:44px; }
.fpd-popup a:hover { background:#ffffff08; }
.fpd-popup-empty { text-align:center; padding:24px 10px; } .fpd-popup-empty i { font-size:1.75rem; color:var(--fpd-dim); display:block; margin-bottom:8px; }
.fpd-popup-empty p { font-size:.875rem; }
.fpd-app .fpd-workspace { width:100%; max-width:1512px; margin:0 auto; padding:28px 20px 36px; flex:1; }
.fpd-page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:28px; }
.fpd-page-head h1 { margin:5px 0 10px; } .fpd-page-head p { max-width:620px; font-size:.9375rem; }
.fpd-page-head .fpd-eyebrow { color:var(--fpd-gold); }
.fpd-app .fpd-eyebrow { display:block; font-size:.75rem; font-weight:500; line-height:1.7; letter-spacing:.1em; text-transform:uppercase; color:var(--fpd-dim); }
.fpd-eyebrow span { margin:0 5px; color:#666; }
.fpd-date { display:none; font-size:.8125rem; color:var(--fpd-dim); align-items:center; gap:8px; padding-bottom:6px; }
.fpd-app .fpd-label { display:block; font-size:.875rem; color:var(--fpd-muted); }
.fpd-app .fpd-meta { font-size:.8125rem; line-height:1.6; color:var(--fpd-dim); }
.fpd-app .fpd-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:12px 20px; background:linear-gradient(105deg,#eeb762,#f3dbb2); border:1px solid #e5c789; border-radius:10px; color:#17130d!important; font-size:.875rem; font-weight:600; line-height:1.5; text-align:center; }
.fpd-app .fpd-button:hover { background:var(--fpd-gold); color:#17130d!important; }
.fpd-app .fpd-button--secondary { background:transparent; border-color:#44433c; color:var(--fpd-text)!important; }
.fpd-app .fpd-button--secondary:hover { border-color:var(--fpd-gold); color:var(--fpd-gold)!important; background:#e5c78908; }
.fpd-app .fpd-button--small { min-height:40px; padding:8px 14px; font-size:.8125rem; }
.fpd-app .fpd-link { color:var(--fpd-gold); font-size:.875rem; font-weight:500; text-underline-offset:4px; }
.fpd-app .fpd-link:hover { text-decoration:underline; }
.fpd-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.fpd-card { background:var(--fpd-surface); border:1px solid var(--fpd-line); border-radius:var(--fpd-radius); min-width:0; }
.fpd-card-head { padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-card-head h2 { margin-bottom:4px; } .fpd-card-head p { font-size:.8125rem; }
.fpd-card-body { padding:24px; }
.fpd-section { margin-top:28px; }
.fpd-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.fpd-section-heading h2 { font-size:1rem; } .fpd-section-heading h2 span { color:var(--fpd-dim); margin-left:8px; font-weight:400; }
.fpd-stack { display:grid; gap:20px; min-width:0; }
.fpd-overview-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start; }
.fpd-account-head { padding:22px 22px 0; display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.fpd-account-identity { display:flex; align-items:flex-start; gap:14px; min-width:0; }
.fpd-account-identity h2 { margin:4px 0; font-size:1.125rem; overflow-wrap:anywhere; }
.fpd-account-symbol { display:none; width:44px; height:44px; align-items:center; justify-content:center; border:1px solid #e5c78935; background:#e5c7890b; border-radius:12px; color:var(--fpd-gold); font-size:1.45rem; flex:none; }
.fpd-chip { display:inline-flex; align-items:center; justify-content:center; padding:4px 10px; border:1px solid #6c737a40; border-radius:6px; font-size:.75rem; line-height:1.7; font-weight:500; white-space:nowrap; color:#c3c7ca; background:#c3c7ca0b; }
.fpd-chip--success { color:var(--fpd-mint); border-color:#8bd6b735; background:#8bd6b70a; }
.fpd-chip--warning { color:var(--fpd-amber); border-color:#f2ca8235; background:#f2ca820a; }
.fpd-chip--danger { color:var(--fpd-red); border-color:#ff9d9d35; background:#ff9d9d0a; }
.fpd-account-body { padding:22px; }
.fpd-account-capital { display:grid; grid-template-columns:1fr; gap:12px; margin-bottom:24px; }
.fpd-balance { display:block; font-size:clamp(1.8rem,4vw,2.5rem); line-height:1.35; font-weight:500; letter-spacing:-.055em; color:var(--fpd-text); font-variant-numeric:tabular-nums; }
.fpd-equity { display:block; font-size:1.375rem; line-height:1.5; font-weight:500; letter-spacing:-.04em; color:#cecfcc; font-variant-numeric:tabular-nums; }
.fpd-account-capital>div+div { align-self:end; }
.fpd-target { padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-meter-label { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; margin-bottom:10px; font-size:.875rem; color:var(--fpd-muted); }
.fpd-meter-label strong { font-weight:500; color:var(--fpd-text); }
.fpd-target .fpd-meter-label strong { color:var(--fpd-gold); }
.fpd-bar { width:100%; height:6px; border-radius:3px; background:#2a2d2e; overflow:hidden; margin:9px 0; }
.fpd-bar>span { display:block; width:var(--fpd-fill,0); max-width:100%; height:100%; border-radius:inherit; background:var(--fpd-gold); }
.fpd-bar--mint>span { background:var(--fpd-mint); } .fpd-bar--danger>span { background:var(--fpd-red); }
.fpd-bar--target { height:8px; background:repeating-linear-gradient(to right,#2b2d2e 0,#2b2d2e calc(10% - 3px),transparent calc(10% - 3px),transparent 10%); }
.fpd-bar--target>span { background:linear-gradient(90deg,#caa14e,#e5c789); }
.fpd-meter--low .fpd-meter-label strong,.fpd-meter--low .fpd-meta { color:var(--fpd-red); }
.fpd-risk-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.fpd-risk-grid .fpd-meter-label { display:block; font-size:.8125rem; } .fpd-risk-grid .fpd-meter-label strong { display:block; font-size:1.125rem; margin-top:6px; }
.fpd-days { display:flex; align-items:center; gap:9px; margin-top:22px; padding:14px 0; border-top:1px solid var(--fpd-line-soft); font-size:.875rem; color:var(--fpd-muted); }
.fpd-days i { color:var(--fpd-gold); } .fpd-days strong { margin-left:auto; color:var(--fpd-text); font-weight:500; }
.fpd-badges { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.fpd-badge { display:inline-flex; align-items:center; gap:4px; padding:4px 9px; border:1px solid #e5c7892e; background:#e5c78908; border-radius:6px; font-size:.75rem; color:#dbc99e; }
.fpd-account-foot { padding:16px 22px; display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--fpd-line-soft); background:#ffffff02; border-radius:0 0 var(--fpd-radius) var(--fpd-radius); }
.fpd-guide { padding:24px; } .fpd-guide>.fpd-eyebrow { color:var(--fpd-gold); }
.fpd-guide h2 { font-size:1.5rem; margin:12px 0; max-width:230px; }
.fpd-guide>p { font-size:.875rem; margin-bottom:24px; }
.fpd-guide-list { padding:0; margin:0 0 24px; list-style:none; }
.fpd-guide-list li { display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-guide-list i { font-size:1.2rem; color:var(--fpd-gold); }
.fpd-guide-list strong { display:block; font-size:.875rem; font-weight:500; } .fpd-guide-list span { display:block; font-size:.8125rem; color:var(--fpd-dim); margin-top:2px; }
.fpd-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.fpd-summary-stat { padding:20px; } .fpd-summary-stat strong { display:block; font-size:1.75rem; font-weight:500; letter-spacing:-.04em; margin:4px 0; }
.fpd-app .fpd-summary-stat .fpd-label { font-size:.8125rem; }
.fpd-table-wrap { overflow-x:auto; }
.fpd-app .fpd-table { width:100%; margin:0; border-collapse:collapse; font-size:.875rem; color:var(--fpd-text); background:transparent; }
.fpd-app .fpd-table th { padding:16px 20px; text-align:left; background:#ffffff02; color:var(--fpd-dim); font-size:.75rem; font-weight:500; border-bottom:1px solid var(--fpd-line); white-space:nowrap; }
.fpd-app .fpd-table td { padding:18px 20px; border-bottom:1px solid var(--fpd-line-soft); vertical-align:middle; background:transparent; color:var(--fpd-text); }
.fpd-table tr:last-child td { border-bottom:0; }
.fpd-table td strong { font-weight:500; display:block; } .fpd-table td .fpd-meta { display:block; margin-top:3px; }
.fpd-table td .fpd-icon-button { width:36px; height:36px; }
.fpd-table caption { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.fpd-credential-value { display:flex; align-items:center; gap:6px; overflow-wrap:anywhere; }
.fpd-app .password-mask { font-family:var(--fpd-font); font-size:.875rem; overflow-wrap:anywhere; }
.fpd-collapsible { margin-top:24px; } .fpd-collapsible>summary { display:flex; align-items:center; justify-content:space-between; padding:22px 24px; cursor:pointer; list-style:none; font-weight:500; font-size:1rem; }
.fpd-collapsible>summary::-webkit-details-marker,.fpd-credentials>summary::-webkit-details-marker { display:none; }
.fpd-collapsible[open]>summary { border-bottom:1px solid var(--fpd-line-soft); } .fpd-collapsible[open]>summary>i { transform:rotate(180deg); }
.fpd-payout-summary { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:20px 24px; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-payout-summary>div { flex:1; } .fpd-payout-summary strong { font-size:1.125rem; font-weight:500; }
.fpd-mix { display:flex; gap:12px; align-items:center; color:var(--fpd-muted); font-size:.875rem; } .fpd-mix .fpd-bar { max-width:100px; }
.fpd-next { margin-top:28px; padding:24px; border-color:#e5c78944; background:linear-gradient(112deg,#1a1813,#111315 65%); }
.fpd-next-intro h2 { font-size:1.5rem; margin:6px 0 10px; } .fpd-next-intro>.fpd-eyebrow { color:var(--fpd-gold); } .fpd-next-intro p { font-size:.875rem; }
.fpd-next-offer { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin-top:24px; padding-top:22px; border-top:1px solid #e5c78920; }
.fpd-next-offer>div:first-child { flex:1; min-width:170px; } .fpd-next-offer>div>strong { font-weight:500; } .fpd-next-offer .fpd-button { width:100%; }
.fpd-price { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; } .fpd-price>strong { font-size:1.65rem; font-weight:500; letter-spacing:-.04em; color:var(--fpd-gold); }
.fpd-price>del { color:var(--fpd-dim); font-size:.875rem; } .fpd-price>.fpd-meta { flex-basis:100%; margin-top:-8px; }
.fpd-offers { display:grid; gap:16px; margin-top:24px; }
.fpd-entry { border-top:1px solid #e5c78930; padding-top:22px; } .fpd-entry h3 { font-size:1.125rem; margin:12px 0 6px; }
.fpd-entry-icon { color:var(--fpd-gold); font-size:1.5rem; } .fpd-entry .fpd-price { min-height:74px; padding:14px 0; } .fpd-entry .fpd-button { width:100%; }
.fpd-welcome { padding:32px 24px; background:linear-gradient(120deg,#1a1812,#111315 75%); border-color:#e5c78940; }
.fpd-welcome h2 { font-size:1.75rem; max-width:500px; margin:10px 0 16px; } .fpd-welcome p { max-width:620px; font-size:.9375rem; }
.fpd-toolbar { display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:24px; }
.fpd-tabs { display:flex; gap:4px; padding:4px; border:1px solid var(--fpd-line); border-radius:12px; background:var(--fpd-surface); }
.fpd-tab { min-height:40px; padding:8px 12px; border:0; background:transparent; color:var(--fpd-muted); font-size:.875rem; border-radius:8px; }
.fpd-tab[aria-pressed="true"] { color:var(--fpd-gold); background:#e5c78912; } .fpd-tab span { margin-left:5px; font-size:.75rem; color:var(--fpd-dim); }
.fpd-search { position:relative; flex:1; max-width:330px; min-width:200px; } .fpd-search>i { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--fpd-dim); }
.fpd-app .fpd-search>input { width:100%; background:var(--fpd-surface); border:1px solid var(--fpd-line); color:var(--fpd-text); height:48px; border-radius:10px; padding:10px 14px 10px 42px; font-size:.875rem; }
.fpd-search input::placeholder { color:var(--fpd-dim); } .fpd-search label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.fpd-account-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start; }
.fpd-credentials { margin-top:10px; padding-top:16px; border-top:1px solid var(--fpd-line-soft); }
.fpd-credentials>summary { display:flex; justify-content:space-between; align-items:center; list-style:none; color:var(--fpd-gold); font-size:.875rem; cursor:pointer; min-height:36px; }
.fpd-info { margin:0; } .fpd-info>div { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:14px 0; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-info>div:last-child { border:0; } .fpd-info dt { color:var(--fpd-muted); font-size:.875rem; font-weight:400; } .fpd-info dd { margin:0; color:var(--fpd-text); font-size:.875rem; text-align:right; max-width:65%; overflow-wrap:anywhere; }
.fpd-info [data-fpd-credential] { align-items:center; } .fpd-info [data-fpd-credential] dd { display:flex; gap:4px; align-items:center; }
.fpd-empty { padding:40px 24px; text-align:center; } .fpd-empty>i { display:block; font-size:2rem; color:var(--fpd-gold); margin-bottom:16px; }
.fpd-empty h2 { margin-bottom:10px; } .fpd-empty p { font-size:.9375rem; max-width:450px; margin:0 auto 20px; }
.fpd-result-count { margin-top:16px; font-size:.8125rem; color:var(--fpd-dim); }
.fpd-detail-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.fpd-objectives { display:grid; grid-template-columns:1fr; gap:16px; margin:24px 0; }
.fpd-objective { padding:22px; } .fpd-objective-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; color:var(--fpd-gold); }
.fpd-objective-head h2 { font-size:.875rem; font-weight:400; letter-spacing:0; color:var(--fpd-muted)!important; }
.fpd-objective>strong { display:block; font-size:1.625rem; font-weight:500; letter-spacing:-.04em; }
.fpd-objective>p { font-size:.8125rem; margin-top:4px; } .fpd-objective .fpd-bar { margin-top:18px; }
.fpd-chart { height:310px; width:100%; min-width:0; color:var(--fpd-dim); }
.fpd-chart .apexcharts-tooltip { color:#171717; }
.fpd-chart-empty { min-height:220px; display:grid; place-content:center; text-align:center; padding:24px; }
.fpd-chart-key { display:flex; align-items:center; gap:16px; font-size:.8125rem; color:var(--fpd-muted); }
.fpd-chart-key span::before { content:""; display:inline-block; width:10px; height:3px; background:var(--fpd-gold); margin-right:6px; vertical-align:middle; } .fpd-chart-key span+span::before { background:var(--fpd-mint); }
.fpd-addon-list { display:grid; gap:16px; margin:0; padding:0; list-style:none; } .fpd-addon-list li>p { margin-top:8px; font-size:.875rem; }
.fpd-notice { padding:16px 20px; border:1px solid #e5c78944; border-radius:12px; background:#e5c78908; display:flex; align-items:flex-start; gap:14px; font-size:.875rem; }
.fpd-notice>i { font-size:1.3rem; color:var(--fpd-gold); } .fpd-notice strong { display:block; font-weight:500; color:var(--fpd-text); margin-bottom:4px; }
.fpd-verification { margin:20px 20px 0; } .fpd-verification .fpd-button { margin-top:12px; }
.fpd-order-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.fpd-order-actions { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.fpd-pagination-hint { padding:16px 22px; border-top:1px solid var(--fpd-line-soft); font-size:.8125rem; color:var(--fpd-dim); }
.fpd-app .fpd-footer { display:flex; align-items:flex-start; flex-direction:column; justify-content:space-between; gap:14px; padding:24px 20px 110px; border-top:1px solid var(--fpd-line-soft); margin-top:auto; font-size:.75rem; background:var(--fpd-bg); }
.fpd-footer p { max-width:600px; } .fpd-footer-links { display:flex; align-items:center; gap:18px; color:var(--fpd-muted); font-size:.8125rem; }
.fpd-app .fpd-bottom-nav { position:fixed; z-index:1040; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:#111315; border-top:1px solid #343633; padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px)); box-shadow:0 -8px 30px #0005; }
.fpd-bottom-nav a,.fpd-bottom-nav button { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:2px; border:0; background:transparent; color:var(--fpd-dim); font-size:.6875rem; min-height:48px; padding:4px; border-radius:10px; }
.fpd-bottom-nav i { font-size:1.3rem; line-height:1.4; } .fpd-bottom-nav [aria-current="page"],.fpd-bottom-nav [aria-expanded="true"] { color:var(--fpd-gold); background:#e5c7890c; }
.fpd-app .fpd-sheet { margin:0; padding:0; inset:auto 0 0; width:100%; max-width:none; max-height:88dvh; color:var(--fpd-text); border:1px solid #4a4942; border-bottom:0; border-radius:22px 22px 0 0; background:#131517; }
.fpd-sheet::backdrop,.fpd-dialog::backdrop { background:#000a; }
.fpd-sheet-head { position:sticky; top:0; background:#131517; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--fpd-line); z-index:2; }
.fpd-sheet-head h2 { font-size:1.125rem; } .fpd-sheet-content { padding:8px 20px calc(24px + env(safe-area-inset-bottom,0px)); }
.fpd-app .fpd-sheet-links { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; padding:14px 0; list-style:none; margin:0; }
.fpd-sheet-links a { display:flex; align-items:center; gap:10px; padding:12px 8px; font-size:.875rem; border-radius:10px; min-height:48px; }
.fpd-sheet-links i { color:var(--fpd-gold); font-size:1.25rem; } .fpd-sheet-links a:hover,.fpd-sheet-links a[aria-current="page"] { background:#ffffff06; }
.fpd-sheet-group { font-size:.75rem; text-transform:uppercase; letter-spacing:.1em; color:var(--fpd-dim); padding-top:18px; border-top:1px solid var(--fpd-line); }
.fpd-app.fpd-scroll-locked { overflow:hidden!important; }
.fpd-app .fpd-toast-region { position:fixed; bottom:100px; right:20px; left:20px; z-index:1100; display:grid; justify-items:end; gap:10px; pointer-events:none; }
.fpd-toast { padding:14px 18px; max-width:360px; border:1px solid #e5c78966; border-radius:12px; background:#20211e; box-shadow:0 8px 24px #0006; color:var(--fpd-text); font-size:.875rem; animation:fpd-enter .16s ease-out; pointer-events:auto; }
.fpd-app .fpd-dialog { max-width:480px; width:calc(100% - 32px); padding:24px; border:1px solid var(--fpd-line); border-radius:18px; color:var(--fpd-text); background:var(--fpd-surface); }
.fpd-dialog h2 { margin-bottom:12px; } .fpd-dialog .fpd-actions { margin-top:24px; }
.fpd-skeleton { min-height:20px; background:#26282a; border-radius:6px; animation:fpd-pulse 1.2s ease-in-out 1; }
.fpd-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
/* Existing payout controls keep their original JS hooks and Bootstrap classes. */
.fpd-app .fpd-withdrawal-form { padding:24px; }
.fpd-app .fpd-withdrawal-form .form-label { font-size:.875rem; margin-bottom:8px; color:var(--fpd-text); display:block; }
.fpd-app .fpd-withdrawal-form :is(.form-control,.form-select),.fpd-app .select2-container--default .select2-selection--single { background:#191b1d!important; color:var(--fpd-text)!important; border:1px solid #454748!important; min-height:48px; border-radius:10px!important; padding:10px 12px; width:100%; font-size:1rem; box-shadow:none; }
.fpd-app .fpd-withdrawal-form .form-select { appearance:none; padding-right:38px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b0b2b2' stroke-width='1.5'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important; background-repeat:no-repeat!important; background-position:right 12px center!important; }
.fpd-app .fpd-withdrawal-form .form-control:focus { outline:2px solid var(--fpd-gold); outline-offset:2px; }
.fpd-app .select2-container--default .select2-selection__rendered { color:var(--fpd-text)!important; line-height:26px!important; padding:0!important; }
.fpd-app .select2-container--default .select2-selection__arrow { top:11px!important; right:10px!important; }
.fpd-app .select2-dropdown { background:#191b1d; color:var(--fpd-text); border-color:#454748; } .fpd-app .select2-search__field { background:#111315; color:var(--fpd-text); }
.fpd-app .select2-results__option--highlighted.select2-results__option--selectable { background:#e5c78922!important; color:var(--fpd-gold)!important; }
.fpd-app .fpd-withdrawal-form small { color:var(--fpd-muted)!important; font-size:.8125rem; }
.fpd-app .fpd-withdrawal-form .row { display:flex; flex-wrap:wrap; gap:16px; margin:0; }
.fpd-app .fpd-withdrawal-form .col-md-6 { padding:0; flex:1 1 260px; width:auto; }
.fpd-app .fpd-withdrawal-form .mb-3 { margin-bottom:20px!important; }
.fpd-app .wallet-warning,.fpd-app .warning-box { padding:16px; margin:16px 0; background:#e5c78909; border:1px solid #e5c7893a; border-radius:10px; color:var(--fpd-muted); font-size:.875rem; }
.fpd-app .warning-icon { margin-right:10px; color:var(--fpd-gold); }
.fpd-app .modal-content { background:#151719!important; border:1px solid #5d5542!important; border-radius:18px!important; color:var(--fpd-text); }
.fpd-app .modal-title { font-size:1.125rem; } .fpd-app .modal-header,.fpd-app .modal-footer { padding:20px; border-color:var(--fpd-line); }
.fpd-app .modal-body { padding:20px; } .fpd-app .modal.fade .modal-dialog { transition:transform .16s ease-out; }
.fpd-app .modal-backdrop.fade { transition:opacity .16s ease-out; }
.fpd-app .confirmation-details { border:1px solid var(--fpd-line); padding:16px; border-radius:12px; }
.fpd-app .detail-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-top:12px; font-size:.875rem; } .fpd-app .detail-value { max-width:65%; overflow-wrap:anywhere; text-align:right; font-size:.875rem!important; } .fpd-app .detail-label { color:var(--fpd-muted); }
.fpd-app .status-message { display:none; margin-top:16px; padding:16px; border-radius:10px; border:1px solid var(--fpd-line); font-size:.875rem; }
.fpd-app .status-success { border-color:#8bd6b744; color:var(--fpd-mint); } .fpd-app .status-error { border-color:#ff9d9d44; color:var(--fpd-red); }
.fpd-app .btn-confirm,.fpd-app .btn-withdrawal { background:linear-gradient(105deg,#eeb762,#f3dbb2)!important; color:#17130d!important; border:1px solid var(--fpd-gold)!important; border-radius:10px; padding:12px 18px; min-height:46px; font-weight:600; }
.fpd-app .btn-cancel { background:transparent!important; border:1px solid var(--fpd-line)!important; color:var(--fpd-text)!important; border-radius:10px; min-height:44px; padding:10px 16px; }
.fpd-app .loading-spinner { display:none; width:16px; height:16px; border:2px solid #0004; border-top-color:currentColor; border-radius:50%; animation:fpd-spin 1s linear infinite; }
.fpd-app .spinner-border { animation:none!important; } /* Retained resend hook, low GPU cost. */
.fpd-app .fpd-legacy-settings { display:none!important; }
/* The retained live-chat widget clears the mobile tabs without changing its loader. */
@media(max-width:1023px) { .fpd-app [class*="widget-visible"] { margin-bottom:78px!important; } }
@keyframes fpd-enter { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes fpd-pulse { 0%,100% { opacity:.45; } 50% { opacity:.8; } }
@keyframes fpd-spin { to { transform:rotate(360deg); } }
@media(min-width:390px) { .fpd-account-capital { grid-template-columns:1.2fr 1fr; gap:10px; } .fpd-account-capital .fpd-balance { font-size:1.875rem; } .fpd-account-capital .fpd-equity { font-size:1.125rem; } }
@media(min-width:600px) {
  .fpd-account-symbol { display:flex; } .fpd-account-capital .fpd-balance { font-size:2.5rem; } .fpd-account-capital .fpd-equity { font-size:1.5rem; }
  .fpd-objectives { grid-template-columns:1fr 1fr; } .fpd-offers { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
  .fpd-offers .fpd-entry+.fpd-entry { border-left:1px solid #e5c78920; padding-left:24px; } .fpd-date { display:flex; }
  .fpd-order-stats { grid-template-columns:repeat(4,minmax(0,1fr)); } .fpd-next-offer .fpd-button { width:auto; }
  .fpd-profile-name { display:block; } .fpd-topbar .fpd-brand { font-size:1.25rem; }
}
@media(min-width:768px) {
  .fpd-workspace { padding:32px!important; } .fpd-detail-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
  .fpd-summary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .fpd-topbar { padding:18px 32px; }
  .fpd-app .fpd-balance-shortcut { display:flex; width:auto; height:auto; gap:10px; margin-right:8px; border-right:1px solid var(--fpd-line); padding:6px 18px 6px 0; }
  .fpd-balance-shortcut>span { display:inline; } .fpd-fullscreen-control { display:inline-flex!important; } .fpd-profile-trigger>i { display:inline; }
  .fpd-account-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:1024px) {
  .fpd-app .fpd-sidebar { display:flex; flex-direction:column; width:var(--fpd-sidebar)!important; position:fixed; inset:0 auto 0 0; padding:26px 16px 20px; background:#0d0f10; border-right:1px solid var(--fpd-line-soft); z-index:1010; height:100dvh; transform:none!important; }
  .fpd-sidebar .fpd-brand { padding:0 10px 28px; }
  .fpd-nav { overflow-y:auto; scrollbar-width:thin; flex:1; }
  .fpd-nav-group { margin-bottom:20px; } .fpd-nav-label { display:block; font-size:.625rem; font-weight:500; letter-spacing:.16em; color:#8f9292; margin:10px 14px; text-transform:uppercase; }
  .fpd-nav a { display:flex; align-items:center; gap:12px; padding:11px 13px; margin:3px 0; border:1px solid transparent; border-radius:10px; font-size:.8125rem; color:var(--fpd-muted); min-height:44px; }
  .fpd-nav a i { font-size:1.2rem; } .fpd-nav a[aria-current="page"] { background:#e5c7890d; border-color:#e5c78920; color:var(--fpd-gold); }
  .fpd-nav a:hover { background:#ffffff05; color:var(--fpd-text); }
  .fpd-sidebar-end { padding:16px 12px 0; border-top:1px solid var(--fpd-line-soft); }
  .fpd-sidebar-end a { display:flex; align-items:center; gap:10px; font-size:.8125rem; color:var(--fpd-muted); padding:8px 0; }
  .fpd-sidebar-end small { display:block; font-size:.6875rem; letter-spacing:.08em; color:var(--fpd-dim); margin-top:12px; }
  .fpd-app .fpd-main.main-content { margin-left:var(--fpd-sidebar)!important; }
  .fpd-topbar>.fpd-brand { display:none; } .fpd-breadcrumb { display:flex; } .fpd-topbar { min-height:84px; }
  .fpd-app .fpd-bottom-nav { display:none; } .fpd-app .fpd-footer { padding:24px 32px; flex-direction:row; }
  .fpd-app .fpd-toast-region { left:auto; bottom:24px; right:32px; }
  .fpd-verification { margin:24px 32px 0; }
}
@media(min-width:1200px) { .fpd-overview-grid { grid-template-columns:minmax(0,1fr) 280px; gap:24px; } .fpd-objectives { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(min-width:1440px) { :root { --fpd-sidebar:248px; } .fpd-overview-grid { grid-template-columns:minmax(0,1fr) 320px; } .fpd-workspace { padding:36px 44px!important; } }
@media(max-width:767px) {
  .fpd-topbar>.fpd-brand { font-size:1rem; gap:8px; } .fpd-topbar>.fpd-brand small { font-size:.5rem; } .fpd-topbar { gap:10px; padding:16px; }
  .fpd-app .fpd-button--small { min-height:44px; } .fpd-app .fpd-table td .fpd-icon-button { width:44px; height:44px; }
  .fpd-table--cards,.fpd-table--cards tbody,.fpd-table--cards tr,.fpd-table--cards td { display:block; width:100%; }
  .fpd-table--cards thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .fpd-app .fpd-table--cards tr { border-bottom:1px solid var(--fpd-line); padding:16px 20px; }
  .fpd-app .fpd-table--cards tr:last-child { border:0; }
  .fpd-app .fpd-table--cards td { padding:8px 0; border:0; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; text-align:right; }
  .fpd-table--cards td::before { content:attr(data-label); color:var(--fpd-dim); text-align:left; font-size:.8125rem; flex:none; max-width:45%; }
  .fpd-table--cards td>* { max-width:70%; } .fpd-app .fpd-table--cards td.fpd-cell-full { display:block; text-align:left; }
  .fpd-table--cards td.fpd-cell-full::before { display:none; } .fpd-table--cards td.fpd-cell-full>* { max-width:100%; }
  .fpd-table--cards td.fpd-cell-action { justify-content:flex-end; } .fpd-table--cards .fpd-order-actions { align-items:flex-end; }
  .fpd-toolbar { align-items:stretch; } .fpd-search { max-width:none; width:100%; flex-basis:100%; }
  .fpd-tabs { width:100%; } .fpd-tab { flex:1; }
  .fpd-app .fpd-table td .fpd-badges { justify-content:flex-end; }
  .fpd-page-head .fpd-actions { width:100%; } .fpd-page-head .fpd-actions .fpd-button { flex:1; }
  .fpd-card-head,.fpd-card-body { padding:20px; } .fpd-risk-grid { gap:16px; }
}
@media(min-width:768px) and (max-width:1199px) { .fpd-account-grid .fpd-account-capital,.fpd-detail-grid .fpd-account-capital { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .fpd-app *,.fpd-app *::before,.fpd-app *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print { .fpd-sidebar,.fpd-bottom-nav,.fpd-topbar,.fpd-toast-region { display:none!important; } .fpd-app .fpd-main.main-content { margin:0!important; } }
