/*@pf start style id=pf-styles part=2 */

  :root {
    --bg: #eef1f4; --card: #fff; --text: #111418; --muted: #6b7178; --line: #e3e7eb;
    --green: rgb(0, 200, 5); --red: rgb(255, 80, 0); --teal: #2fbfa5; --pill: #eef1f3;
    --surface: #fff; --raise: #fff; --text2: #555; --text3: #666; --muted2: #69717a; --line2: #cfd5db;
    --teal-ink: #1f9f89; --teal-bg: #f3fbf9; --grid: #e8ecef; --axis: #8a9097; --cross: #9aa1a8; --dot: #b9bfc6;
    --lead: #c8cdd2; --tip-bg: #111418; --warn-fg: #a56a00; --warn-bg: #fdf1c4; color-scheme: light;
  }
  :root[data-theme="dark"] {
    --bg: #0d1013; --card: #161a1f; --text: #e8ecef; --muted: #8f979f; --line: #272d34; --pill: #232930;
    --green: rgb(0, 200, 5); --red: rgb(255, 80, 0);
    --surface: #1d2329; --raise: #343c45; --text2: #b3bac1; --text3: #9aa2aa; --muted2: #8a929a; --line2: #3a424b;
    --teal-ink: #4fd8bf; --teal-bg: #12302b; --grid: #262c33; --axis: #7d858d; --cross: #5f676f; --dot: #4a5159;
    --lead: #3a4148; --tip-bg: #343c45; --warn-fg: #f0c564; --warn-bg: #3a3012; color-scheme: dark;
  }
  :root[data-theme="dark"] .menu { box-shadow: none; }
  :root[data-theme="dark"] .modal-box { box-shadow: none; }
  :root[data-theme="dark"] .pv-range { box-shadow: none; }
  body, .card, .chip, .menu { transition: background-color .2s, color .2s, border-color .2s; }
  .chip.icon { width: 48px; padding: 0; justify-content: center; }
  .chip.icon svg { width: 22px; height: 22px; }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body {
    background: var(--bg); color: var(--text);
    font-family: "Capsule Sans Text", "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; padding: 32px 20px 60px;
  }
  button { font-family: inherit; }
  .wrap { max-width: 1110px; margin: 0 auto; }

  .tabs { display: flex; gap: 20px; align-self: stretch; }
  .tab { display: flex; align-items: center; gap: 6px; font-size: 20px; color: var(--muted); position: relative; cursor: pointer; background: none; border: 0; padding: 0; }
  .tab.active { color: var(--text); }
  .tab.active::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 26px; background: var(--teal); }
  .top-actions { display: flex; gap: 16px; align-items: center; }
  .dd { position: relative; }
  .chip { background: var(--surface); border: var(--hair) solid var(--line); border-radius: 999px; height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--text); cursor: pointer; }
  .chip svg.chev { width: 18px; height: 18px; }
  .flag { width: 20px; height: 14px; border-radius: 2px; display: block; flex: none; }

  .menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border-radius: 12px; min-width: 190px; box-shadow: none; padding: 6px; display: none; z-index: 20; }
  .menu.open { display: block; }
  .menu button { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; font-size: 16px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); text-align: left; }

  .menu button.sel { font-weight: 700; }

  .below { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
  .card { background: var(--card); border-radius: 18px; box-shadow: none; }
  .seg { transition: opacity .15s; cursor: pointer; }
  .dim .seg:not(.on) { opacity: .35; }

  .lab { position: absolute; display: flex; align-items: center; height: 34px; background: var(--pill); border-radius: 999px; padding: 0 12px 0 3px; gap: 6px; font-size: 15px; color: var(--text2); white-space: nowrap; transition: opacity .15s; cursor: default; }
  .lab.r { transform: translate(0, -50%); }
  .lab.l { transform: translate(-100%, -50%); }
  .lab .logo { width: 28px; height: 28px; }
  .dim .lab:not(.on) { opacity: .4; }

  .pos { color: var(--green-ink); } .neg { color: var(--red-ink); }
  .act { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 25%; background: none; border: 0; cursor: pointer; color: var(--text2); font-size: 15px; text-align: center; line-height: 1.3; }
  .act .ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
  .act .ic svg { width: 28px; height: 28px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .h-head { display: flex; justify-content: space-between; align-items: center; margin: 56px 0 28px; gap: 16px; }
  .h-head h2 { margin: 0; font-size: 26px; font-weight: 700; }
  .h-right { display: flex; align-items: center; gap: 22px; }
  .status { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
  .dot.live { background: var(--green); box-shadow: 0 0 0 3px rgba(0,200,5,.18); }
  .dot.err { background: var(--red); }
  .sortbtn { background: none; border: 0; font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 10px; }
  .sortbtn .m { color: var(--text2); }
  .sortbtn svg { width: 16px; height: 16px; }

  .table-card { overflow-x: auto; }
  .table { min-width: 1040px; }
  .row { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) 150px 140px 200px 180px 190px; border-top: var(--hair) solid var(--line); min-height: 109px; }
  .row.head { border-top: 0; min-height: 58px; color: var(--text2); font-size: 16px; }
  .col-r { text-align: right; padding-right: 20px; }
  .asset { display: flex; align-items: center; gap: 15px; padding: 14px 10px 14px 20px; min-width: 0; }
  .asset .logo { width: 48px; height: 48px; flex: none; }
  .asset .tx { min-width: 0; }
  .asset .tk { font-size: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .asset .nm { font-size: 17px; color: var(--text3); margin-top: 4px; line-height: 1.35; max-width: 260px; }
  .pct { font-size: 20px; font-weight: 500; }
  .posn .usd { font-size: 20px; font-weight: 500; white-space: nowrap; }
  .posn .sh { display: inline-block; margin-top: 8px; background: var(--pill); color: var(--text3); border-radius: 8px; padding: 5px 10px; font-size: 16px; }
  .ret .amt { font-size: 20px; font-weight: 500; white-space: nowrap; }
  .ret .p { font-size: 17px; margin-top: 8px; }
  .prow { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) 150px 190px 170px 56px; border-top: var(--hair) solid var(--line); min-height: 76px; }
  .prow.phead { border-top: 0; min-height: 52px; color: var(--text2); font-size: 16px; }
  .pin { height: 42px; width: 130px; border: var(--hair) solid var(--line); border-radius: 10px; padding: 0 12px; font-family: inherit; font-size: 16px; color: var(--text); background: var(--surface); text-align: right; }
  .pin:focus { outline: 2px solid rgba(47,191,165,.45); border-color: var(--teal); }
  .avg { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; }
  .avg .pin { width: 140px; }
  .pv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
  .pv-v { font-size: 34px; font-weight: 600; margin-top: 4px; white-space: nowrap; }
  .pv-ch { font-size: 16px; margin-top: 4px; }
  .pv-ch .muted { color: var(--muted); margin-left: 8px; }
  .pv-tabs { display: flex; gap: 4px; background: var(--pill); border-radius: 999px; padding: 4px; }
  .pv-tab { border: 0; background: none; border-radius: 999px; padding: 8px 15px; font-size: 15px; font-weight: 600; color: var(--text2); cursor: pointer; }
  #pvChart { position: relative; margin-top: 14px; height: 280px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }

  #pvChart, #pvChart * { user-select: none !important; -webkit-user-select: none !important; -webkit-touch-callout: none !important; }
  #pvChart svg { display: block; position: absolute; left: 0; top: 0; }
  .pv-tip { position: absolute; pointer-events: none; background: var(--tip-bg); color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 14px; line-height: 1.35; white-space: nowrap; transform: translate(-50%, -110%); display: none; z-index: 2; }
  .pv-range { position: absolute; top: 2px; left: 0; background: var(--raise); border-radius: 12px; padding: 7px 12px; box-shadow: none; font-size: 15px; font-weight: 600; line-height: 1.35; white-space: nowrap; pointer-events: none; display: none; z-index: 3; transform: translateX(-50%); }
  .pv-range .d { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 1px; }
  .pv-hint { color: var(--muted); font-size: 14px; }
  .pv-tip small { color: #b9c0c7; font-size: 14px; }
  .pv-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; padding: 0 28px; line-height: 1.5; }
  .pv-foot { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-top: 4px; gap: 12px; flex-wrap: wrap; }
  .pv-foot .linkbtn { font-size: 14px; color: var(--muted); }
  @media (max-width: 560px) {
    .pv-v { font-size: 28px; }
    .pv-ch { font-size: 14px; }
    .pv-tabs { width: 100%; justify-content: space-between; }
    .pv-tab { flex: 1; padding: 8px 0; }
    #pvChart { height: 220px; }
  }
  .logo-btn { position: relative; flex: none; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
  .logo-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
  .edit-badge { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--raise); border: var(--hair) solid var(--line); color: var(--text2); font-size: 11px; display: grid; place-items: center; box-shadow: none; }

  .modal { position: fixed; inset: 0; background: rgba(17,20,24,.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
  .modal[hidden] { display: none; }
  .modal-box { background: var(--card); border-radius: 20px; width: min(420px, 100%); padding: 22px; box-shadow: none; max-height: 92vh; overflow-y: auto; }
  .return-info { display:inline-grid !important; place-items:center; flex:0 0 19px; width:19px; min-width:19px; height:19px; padding:0; margin:0 0 0 5px; vertical-align:middle; border:1.7px solid var(--muted); border-radius:50%; background:transparent; color:var(--muted); font:600 12px/1 Inter, sans-serif; cursor:pointer; pointer-events:auto !important; position:relative; z-index:5; }
   .return-info:focus-visible { color:var(--text); border-color:var(--text); outline:2px solid color-mix(in srgb, var(--muted) 30%, transparent); }
  #centerVal .chg { pointer-events:auto !important; overflow:visible !important; }
  #centerVal .chg .rl { display:inline !important; }
  #centerVal .chg .return-info { vertical-align:middle; }
  #returnBreakdownModal .modal-box { width:min(620px,100%); padding:28px 30px; border-radius:8px; }
  #returnBreakdownModal .modal-head { margin-bottom:24px; }
  #returnBreakdownModal .modal-head h3 { font-size:22px; font-weight:650; letter-spacing:-.3px; }
  .return-breakdown-rows { display:grid; gap:0; }
  .return-breakdown-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 0; font-size:17px; color:var(--text); }
  .return-breakdown-row b { font-weight:500; text-align:right; font-variant-numeric:tabular-nums; }
  .return-breakdown-row.total { border-top:1px solid var(--line2); margin-top:8px; padding-top:23px; font-weight:700; }
  .return-breakdown-row.total b { font-weight:750; }
  @media(max-width:560px){ #returnBreakdownModal .modal-box{padding:22px 20px;} #returnBreakdownModal .modal-head h3{font-size:19px;} .return-breakdown-row{font-size:15px;padding:15px 0;} }
  .modal-head { display: flex; justify-content: space-between; align-items: center; }
  .modal-head h3 { margin: 0; font-size: 20px; }
  .lm-preview { display: flex; justify-content: center; margin: 18px 0 14px; }
  .lm-preview .logo { width: 112px; height: 112px; box-shadow: none; }
  .lm-drop { display: block; text-align: center; border: 2px dashed var(--line2); border-radius: 14px; padding: 14px; color: var(--text2); font-size: 15px; cursor: pointer; }
   .lm-drop.over { border-color: var(--teal); background: var(--teal-bg); }
  .lm-opts { display: grid; gap: 12px; margin-top: 16px; font-size: 15px; color: var(--text2); }
  .lm-opts label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .lm-opts select { height: 38px; border: var(--hair) solid var(--line); border-radius: 10px; padding: 0 10px; font-family: inherit; font-size: 15px; background: var(--surface); color: var(--text); }
  .lm-opts input[type=color] { width: 44px; height: 34px; border: var(--hair) solid var(--line); border-radius: 8px; padding: 2px; background: var(--surface); cursor: pointer; }
  .lm-sw { display: flex; gap: 8px; align-items: center; }
  .lm-sw button { width: 26px; height: 26px; border-radius: 50%; border: var(--hair) solid var(--line2); cursor: pointer; padding: 0; }
  .lm-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }
  .lm-msg { min-height: 18px; font-size: 14px; color: var(--red-ink); margin-top: 8px; }
  .nolive { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--warn-fg); background: var(--warn-bg); border-radius: 8px; padding: 3px 8px; }
  .pinv { font-size: 18px; font-weight: 500; }
  .linkbtn { background: none; border: 0; color: var(--teal-ink); font-size: 15px; cursor: pointer; padding: 6px 4px; }

  .pmsg { flex-basis: 100%; font-size: 14px; min-height: 18px; color: var(--muted); }
 .pmsg.ok { color: var(--teal-ink); }
  .div-card { overflow: hidden; }
  .div-form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; padding: 22px 20px; }
  .fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); min-width: 150px; }
  .fld.grow { flex: 1 1 260px; }
  .fld select, .fld input { height: 46px; border: var(--hair) solid var(--line); border-radius: 12px; padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--text); background: var(--surface); width: 100%; }
  .fld select:focus, .fld input:focus { outline: 2px solid rgba(47,191,165,.45); border-color: var(--teal); }
  .addbtn { height: 46px; border: 0; border-radius: 12px; background: var(--teal); color: #fff; font-size: 16px; font-weight: 600; padding: 0 24px; cursor: pointer; }

  .d-row { display: grid; grid-template-columns: minmax(0,1fr) auto 44px; align-items: center; gap: 12px; border-top: var(--hair) solid var(--line); padding: 14px 20px; }
  .d-row .asset { padding: 0; }
  .d-row .asset .logo { width: 40px; height: 40px; }
  .d-amt { font-size: 18px; font-weight: 500; text-align: right; white-space: nowrap; }
  .d-amt small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; font-weight: 400; }
  .d-del { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--muted2); font-size: 22px; cursor: pointer; line-height: 1; }

  .d-empty { border-top: var(--hair) solid var(--line); padding: 24px 20px; color: var(--muted); font-size: 16px; }
  .logo { border-radius: 50%; display: block; overflow: hidden; }
  .lgbg { display: block; width: 100%; height: 100%; border-radius: 50%; }
  .logo img.lg { width: 100%; height: 100%; object-fit: contain; padding: 17%; display: block; }
  .logo img.lg.fill { padding: 0; }
  .logo svg { display: block; width: 100%; height: 100%; }

  @media (max-width: 960px) {
    .below { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .chip .pre { display: none; }
    .top-actions { gap: 10px; }
     .act { font-size: 14px; } .act .ic { width: 48px; height: 48px; }
    .status { display: none; }
  }

    .h-head { margin: 36px 0 16px; flex-wrap: wrap; }
    .h-head h2 { font-size: 22px; }
    .h-right { gap: 12px; flex-wrap: wrap; }
    .status { font-size: 14px; }
    .status.hint { display: none; }
    .sortbtn { font-size: 16px; padding: 4px 6px; }

    .table { min-width: 0; }
    .row.head, .prow.phead { display: none; }
    .table-card { overflow: visible; }

    .row { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "asset asset posn" "pct today all" "trend trend trend"; gap: 12px 8px; padding: 14px 16px; min-height: 0; }
    .row > :nth-child(1) { grid-area: asset; }
    .row > :nth-child(2) { grid-area: pct; }
    .row > :nth-child(3) { grid-area: trend; }
    .row > :nth-child(4) { grid-area: posn; }
    .row > :nth-child(5) { grid-area: today; }
    .row > :nth-child(6) { grid-area: all; }
    .row .asset { padding: 0; gap: 12px; }
    .row .asset .logo { width: 42px; height: 42px; }
    .row .asset .nm { font-size: 14px; max-width: none; }
    .row .asset .tk { font-size: 16px; }
    .row .col-r { padding-right: 0; text-align: left; align-self: start; }
    .row .posn { text-align: right; }
    .row .posn .usd { font-size: 17px; }
    .row .posn .sh { font-size: 14px; margin-top: 4px; padding: 3px 8px; }
    .row .pct, .row .ret .amt { font-size: 16px; }
    .row .ret .p { font-size: 14px; margin-top: 2px; }
    .row [data-l]::before { content: attr(data-l); display: block; font-size: 14px; line-height: 16px; color: var(--muted); margin-bottom: 2px; font-weight: 400; }
    .row .pct { line-height: 1.25; }

    .prow { gap: 12px 10px; padding: 14px 16px; min-height: 0; }
    .prow > :nth-child(1) { grid-area: asset; }
    .prow > :nth-child(2) { grid-area: q; }
    .prow > :nth-child(3) { grid-area: avg; }
    .prow .asset { padding: 0; gap: 12px; }
    .prow .asset .logo { width: 42px; height: 42px; }
    .prow .asset .nm { font-size: 14px; max-width: none; }
    .prow [data-l]::before { content: attr(data-l); display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
    .avg { display: block; }
    .avg > span { display: none; }
    .pin, .avg .pin { width: 100%; text-align: left; padding: 0 10px; }
    .prow .col-r { text-align: left; padding-right: 0; }
    .pinv { font-size: 16px; }

    .div-form { gap: 12px; padding: 16px; }
    .fld { min-width: 0 !important; flex: 1 1 130px; }
    .fld.grow { flex: 1 1 100%; }
    .addbtn { width: 100%; }
    .d-row { padding: 12px 16px; }

  @media (max-width: 560px) {
    body { padding: 14px 12px 40px; }
    .chip { height: 40px; padding: 0 14px; font-size: 15px; }
    .below { gap: 12px; margin-top: 14px; }
  }

  .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .chip.icon { position: relative; }
  .chip.icon.on { background: var(--teal-bg); color: var(--teal-ink); }

  .mkt-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .mkt-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border-radius: 999px; padding: 9px 16px 9px 13px; font-size: 15px; color: var(--text2); box-shadow: none; max-width: 100%; }
  .mkt-pill b { color: var(--text); font-weight: 600; }
  .mkt-pill .flag { width: 20px; height: 14px; border-radius: 2px; flex: none; }
  .mkt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; }
  .mkt-pill.open .mkt-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(0,200,5,.2); }
  .mkt-pill.open .st { color: var(--green-ink); font-weight: 600; }
  :root[data-theme="dark"] .mkt-pill { box-shadow: 0 0 0 1px #20262c; }

  .spark { display: block; color: var(--muted2); }
  .spark.up { color: var(--green-ink); } .spark.dn { color: var(--red-ink); }

  .seg { display: flex; gap: 4px; background: var(--pill); border-radius: 999px; padding: 4px; }
  .seg button { border: 0; background: none; border-radius: 999px; height: 34px; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; }

  .seg button.on { background: var(--raise); color: var(--text); box-shadow: none; }

    .perf { padding: 18px 16px 6px; }

  .hide-bal .pin { filter: blur(6px); }
  .hide-bal .pin:focus { filter: none; }

  #toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 10px; z-index: 80; width: min(380px, calc(100vw - 32px)); }
  .toast { background: var(--tip-bg); color: #fff; border-radius: 14px; padding: 14px 14px 14px 16px; font-size: 15px; line-height: 1.4; box-shadow: none; display: flex; gap: 12px; align-items: flex-start; }
  .toast .tx { flex: 1; }
  .toast .tx small { display: block; color: #b9c0c7; font-size: 14px; margin-top: 2px; }
  .toast button { background: none; border: 0; color: #b9c0c7; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }

  .bk-card { padding: 20px 24px; }
  .bk-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn2 { display: inline-flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; border: var(--hair) solid var(--line2); background: var(--surface); color: var(--text); padding: 0 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

  .bk-note { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.5; }
  .bk-preview { margin-top: 16px; border: var(--hair) solid var(--line2); border-radius: 14px; padding: 16px 18px; font-size: 15px; color: var(--text2); line-height: 1.55; }
  .bk-preview b { color: var(--text); }
  .bk-preview .bk-act { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
  .bk-preview.err { border-color: var(--red); color: var(--red-ink); }
  @media (max-width: 560px) { .bk-card { padding: 16px 14px; } .btn2 { flex: 1 1 100%; } .mkt-pill { font-size: 14px; padding: 8px 13px 8px 11px; } }

  :root { --bg: #fff; --card: #fff; --text: #1b1e22; --muted: #6a7078; --line: #e4e7eb; --green: rgb(0, 200, 5); --red: rgb(255, 80, 0); --pill: #eceff2;
          --blue: #1c6ea4; --blue-ink: #217fb0; --chart: #34509a; }
  :root[data-theme="dark"] { --bg: #0e1217; --card: #151a21; --line: #262d36; --green: rgb(0, 200, 5); --red: rgb(255, 80, 0); --pill: #222a33; --blue: #2b86bf; --blue-ink: #5aaee0; --chart: #7ea2f0; }
  body { background: var(--bg); }
  .card { box-shadow: none; border: var(--hair) solid var(--line); border-radius: 18px; }
  :root[data-theme="dark"] .card { box-shadow: none; }
  .m1 { max-width: 1400px; margin: 0 auto; padding: 0 40px 40px; }
  .m1-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
  .m1-tabs { display: flex; gap: 44px; overflow-x: auto; scrollbar-width: none; }
  .m1-tabs::-webkit-scrollbar { display: none; }
  .m1-tab { background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: 19px; color: var(--text2); padding: 16px 4px 14px; cursor: pointer; white-space: nowrap; }

  .m1-tab.on { color: var(--text); font-weight: 600; border-bottom-color: var(--text); }
  .m1-util { padding-bottom: 8px; }
  .m1-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 0 28px; border-bottom: var(--hair) solid var(--line); margin-top: 6px; }
  .m1-head[hidden] { display: none !important; }
  .m1-title { font: inherit; font-size: 44px; font-weight: 300; letter-spacing: -.5px; color: var(--text); border: 0; background: none; outline: none; padding: 0; min-width: 0; flex: 1 1 280px; max-width: 560px; border-radius: 8px; }
  .m1-title:focus { box-shadow: 0 0 0 2px var(--blue-ink); padding-left: 8px; }
  .m1-stats { display: flex; align-items: center; flex-wrap: wrap; row-gap: 14px; }
  .m1-stat { padding: 2px 30px; border-left: var(--hair) solid var(--line); }
  .m1-stat .k { font-size: 17px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
  .m1-stat .v { font-size: 28px; font-weight: 600; margin-top: 4px; white-space: nowrap; }
  .m1-stat .v.link { color: var(--blue-ink); cursor: pointer; }
  .i { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--blue-ink); color: var(--blue-ink); font-size: 11px; font-weight: 700; font-style: normal; cursor: help; flex: none; }
  .btn-primary { background: var(--blue); color: #fff; border: 0; border-radius: 999px; height: 58px; padding: 0 32px; font: inherit; font-size: 20px; font-weight: 600; cursor: pointer; margin-left: 12px; }

  .m1-panel[hidden] { display: none; }
  .m1-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding-top: 30px; align-items: start; }
  .m1-narrow { max-width: 860px; margin: 0 auto; }
  .m1-panel .h-head { margin: 34px 0 18px !important; }
  .m1-panel .h-head h2 { font-weight: 400; font-size: 30px; }

  .m1-donut { position: relative; width: min(440px, 100%); margin: 24px auto 0; filter: drop-shadow(0 14px 26px rgba(52,80,154,.2)); }
  :root[data-theme="dark"] .m1-donut { filter: drop-shadow(0 10px 22px rgba(0,0,0,.5)); }
  .m1-donut svg { display: block; width: 100%; height: auto; overflow: visible; }
  .m1-donut { margin-top: 48px; margin-bottom: 24px; }
  .m1-donut .seg { cursor: pointer; transition: opacity .15s; }
  .m1-donut.dim .seg { opacity: .45; }
  .m1-donut.dim .seg.on { opacity: 1; }
  .m1-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72%; text-align: center; pointer-events: none; }
  .m1-center .amt { display: block; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: clamp(14px, 4vw, 25px) !important; font-weight: 600; letter-spacing: -.4px; white-space: nowrap; }
  .m1-center .chg { font-size: 19px; margin-top: 6px; line-height: 1.35; }
  .m1-center .nm { font-size: 14px; color: var(--muted); margin-top: 4px; }
  .m1-acts { display: flex; justify-content: space-between; gap: 4px; margin: 44px 0 40px; padding: 0 4px; }
  .m1-act { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; font: inherit; font-size: 17px; font-weight: 500; color: var(--text); cursor: pointer; padding: 0; }
  .m1-act i { width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .12s, filter .12s; }
  .m1-act i svg { width: 26px; height: 26px; }

  .m1-card { border: var(--hair) solid var(--line); border-radius: 24px; padding: 30px 32px 18px; margin-bottom: 26px; background: var(--card); }
  .m1-card h3 { margin: 0 0 10px; font-size: 32px; font-weight: 300; }
  .m1-sub { color: var(--text2); font-size: 18px; margin-bottom: 8px; }
  .m1-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-top: var(--hair) solid var(--line); font-size: 19px; }
  .m1-row[data-go] { cursor: pointer; }
  .m1-row .i { margin-left: 8px; }
  .pill-g { background: var(--pill); border-radius: 999px; padding: 7px 16px; font-size: 16px; color: var(--text2); white-space: nowrap; }
  .m1-card .mkt-strip { flex-direction: column; gap: 0; margin: 0; }
  .m1-card .mkt-pill { box-shadow: none !important; background: none; border-radius: 0; border-top: var(--hair) solid var(--line); padding: 18px 0; font-size: 19px; width: 100%; }
  .sw { position: relative; width: 62px; height: 34px; border-radius: 17px; border: 0; background: var(--line2); cursor: pointer; transition: background .2s; flex: none; }
  .sw::before { content: ''; position: absolute; inset: -8px; border-radius: 22px; }
  .sw:not(.on) { background: #737c85; }
  :root[data-theme="dark"] .sw:not(.on) { background: #68727c; }
  .sw::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: none; transition: left .2s; }
  .sw.on { background: var(--blue); }
  .sw.on::after { left: 32px; }

  .m1-chartcard { margin-top: 8px; }
  .m1-chartcard .pv-top { align-items: center; }
  .m1-chartcard .pv-ch { font-size: 16px; margin: 0; }
  .m1-chartcard .pv-tabs { background: none; border-radius: 0; padding: 0; gap: 22px; align-items: center; margin-left: auto; flex-wrap: wrap; }
  .m1-chartcard .pv-tab { background: none !important; box-shadow: none !important; border-radius: 0; padding: 6px 2px; font-size: 18px; font-weight: 400; color: var(--text2); border-bottom: 2px solid transparent; }
  .m1-chartcard .pv-tab.on { color: var(--blue-ink); border-bottom-color: var(--blue-ink); font-weight: 600; }
  #pvCard .pv-tabs .dd { display: none !important; }
  .pv-more { background: none; border: 0; font-size: 22px; letter-spacing: 1px; color: var(--text2); cursor: pointer; padding: 0 4px; line-height: 1; }
  .m1-chartcard .menu .linkbtn { padding: 10px 14px; white-space: nowrap; }
  .m1-chartcard #pvChart { height: 380px; margin-top: 18px; }
  .m1-sec { margin-top: 48px; }
  .m1-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
  .m1-sechead h2 { margin: 0; font-size: 34px; font-weight: 300; }
  .m1-link { color: var(--blue-ink); font-size: 16px; font-weight: 500; text-decoration: none; }

  .pf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
  .pr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 17px 0; border-top: var(--hair) solid var(--line); font-size: 19px; color: var(--text2); }
  .pr b { color: var(--text); font-weight: 500; white-space: nowrap; }
  .pr b.pos { color: var(--green-ink); } .pr b.neg { color: var(--red-ink); }
  .pr b small { font-size: 15px; font-weight: 400; }
  .pr.big { border-top: 0; font-size: 22px; color: var(--text); }
  .pr.big b { font-size: 28px; font-weight: 600; }
  .pr a { color: var(--blue-ink); text-decoration: none; }

  .perf { margin-top: 48px; padding: 24px 28px 10px; }

  .sl-head, .sl-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px 92px 22px; align-items: center; gap: 8px; }
  .sl-head { color: var(--text2); font-size: 17px; padding: 8px 0 12px; }
  .sl-head [data-sort] { cursor: pointer; }
  .sl-head .r, .sl-row .r { text-align: right; }
  .sl-row { position: relative; border-top: var(--hair) solid var(--line); padding: 14px 8px 14px 16px; cursor: pointer; }
  .sl-row::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--c, var(--chart)); }

  .sl-name { display: flex; align-items: center; gap: 9px; min-width: 0; }
  .sl-name .logo { width: 42px; height: 42px; flex: none; }
  .sl-tk { font-size: 17px; color: var(--text); }
  .sl-nm { font-size: 18px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
  .sl-val { text-align: right; font-size: 19px; }
  .sl-gain { text-align: right; font-size: 18px; line-height: 1.35; }
  .sl-gain.pos { color: var(--green-ink); } .sl-gain.neg { color: var(--red-ink); }
  .sl-at { text-align: right; font-size: 17px; line-height: 1.4; }
  .sl-at b { display: block; font-weight: 600; }
  .sl-go { color: var(--text2); font-size: 26px; text-align: right; }

  .m-note { color: var(--text2); font-size: 15px; line-height: 1.5; margin: 12px 0 8px; }
  .modal-box.wide { width: min(620px, 100%); }
  .tg-list { max-height: 46vh; overflow-y: auto; margin: 8px 0; border-top: var(--hair) solid var(--line); }
  .tg-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 110px; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: var(--hair) solid var(--line); }
  .tg-row .logo { width: 38px; height: 38px; }
  .tg-row .nm { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tg-row input { width: 100%; height: 40px; border: var(--hair) solid var(--line2); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 16px; text-align: right; background: var(--surface); color: var(--text); }
  .tg-foot { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 4px; font-size: 16px; font-weight: 600; gap: 12px; flex-wrap: wrap; }
  .tg-foot.bad #tgTotal { color: var(--red-ink); } .tg-foot.ok #tgTotal { color: var(--green-ink); }
  .rb-sum { font-size: 17px; margin: 12px 0 6px; line-height: 1.5; }
  .rb-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: var(--hair) solid var(--line); }
  .rb-row .logo { width: 38px; height: 38px; }
  .rb-row small { display: block; color: var(--muted); font-size: 14px; }
  .rb-act { text-align: right; font-weight: 600; white-space: nowrap; }
  .rb-act.buy { color: var(--green-ink); } .rb-act.sell { color: var(--red-ink); } .rb-act.ok { color: var(--muted); font-weight: 400; }

  @media (max-width: 1100px) { .m1-grid { grid-template-columns: 1fr; gap: 20px; } .m1-left { max-width: 620px; margin: 0 auto; width: 100%; } }

    .m1 { padding: 0 14px 30px; }
 .m1-tab { font-size: 16px; }
 .m1-title { font-size: 32px; flex-basis: 100%; }
    .m1-stats { width: 100%; justify-content: space-between; } .m1-stat { padding: 2px 10px; flex: 1; } .m1-stat:first-child { border-left: 0; padding-left: 0; }
    .m1-stat .k { font-size: 14px; } .m1-stat .v { font-size: 19px; }
    .btn-primary { width: 100%; margin: 6px 0 0; height: 52px; font-size: 18px; }
    .m1-acts { gap: 2px; margin: 30px 0 28px; padding: 0; } .m1-act { font-size: 14px; gap: 8px; } .m1-act i { width: 48px; height: 48px; }
    .m1-card { padding: 22px 18px 10px; } .m1-card h3 { font-size: 26px; } .m1-row, .m1-card .mkt-pill { font-size: 17px; }
    .m1-chartcard .pv-tabs { gap: 14px; width: 100%; justify-content: space-between; } .m1-chartcard .pv-tab { font-size: 16px; }
    .m1-chartcard #pvChart { height: 260px; }
    .m1-sechead h2 { font-size: 26px; }
    .pf-cols { grid-template-columns: 1fr; gap: 0; }  .pr { font-size: 17px; } .pr.big b { font-size: 24px; }
    .sl-head { grid-template-columns: minmax(0,1fr) 110px 120px; } .sl-head > :nth-child(4), .sl-head > :nth-child(5) { display: none; }
    .sl-row { grid-template-columns: minmax(0,1fr) 110px 120px; padding-left: 4px; } .sl-row .sl-at, .sl-row .sl-go { display: none; }
    .sl-nm { max-width: 150px; font-size: 15px; } .sl-val, .sl-gain { font-size: 16px; }

  .m1-top { position: sticky; top: 0; z-index: 30; background: var(--bg); margin: 0 -40px; padding: 0 40px; transition: box-shadow .2s; }
  .m1-top.scrolled { box-shadow: none; }
  :root[data-theme="dark"] .m1-top.scrolled { box-shadow: none; }
  .m1-nav { padding-top: 8px; }
  .m1-tab { padding: 12px 4px 10px; }
  .m1-head { padding: 16px 0 16px; margin-top: 0; }
  .m1-title { font-size: 36px; }
  .m1-stat .v { font-size: 24px; margin-top: 2px; }
  .m1-stat .k { font-size: 15px; }
  .btn-primary { height: 48px; font-size: 17px; padding: 0 26px; }
  html { scroll-padding-top: calc(var(--top-h, 150px) + 16px); }
  .m1-grid { padding-top: 26px; }

  .m1-card.compact { padding: 18px 22px 4px; margin-bottom: 20px; border-radius: 18px; }
  .m1-card.compact h3 { font-size: 22px; margin: 0 0 4px; }
  .m1-card.compact .m1-row, .m1-card.compact .mkt-pill { padding: 10px 0; font-size: 15px; gap: 10px; }
  .m1-card.compact .pill-g { padding: 3px 11px; font-size: 14px; }
  .m1-card.compact .mkt-pill .flag { width: 18px; height: 12px; }

  .m1-sec.perf-sec { margin-top: 36px; }
  .m1-sec.perf-sec .m1-sechead h2 { font-size: 42px; }
  .m1-sec.perf-sec .m1-sechead { margin-bottom: 26px; }
  .m1-sec.perf-sec .pf-cols { gap: 0 56px; }
  .m1-sec.perf-sec .pr { padding: 22px 0; font-size: 21px; }
  .m1-sec.perf-sec .pr.big { font-size: 25px; padding-top: 4px; padding-bottom: 24px; }
  .m1-sec.perf-sec .pr.big b { font-size: 34px; }
  .m1-sec.perf-sec .pr.big span { white-space: nowrap; }
  .m1-sec.perf-sec .pr b small { font-size: 16px; }
  .m1-sec.perf-sec .pr .i { margin-left: 8px; }

  @media (max-width: 1100px) { .m1-top { margin: 0 -40px; } }

    .m1-top, .m1-nav { display: contents; }
    .m1-tabs { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: var(--hair) solid var(--line); margin: 0 -14px; padding: 0 14px; }
    .m1-head { padding: 14px 0 16px; }
    .m1-title { font-size: 30px; }
    .m1-card.compact { padding: 16px 16px 2px; }
    .m1-card.compact h3 { font-size: 21px; }
    .m1-card.compact .m1-row, .m1-card.compact .mkt-pill { font-size: 15px; }
    .m1-sec.perf-sec .m1-sechead h2 { font-size: 30px; }
    .m1-sec.perf-sec .pr { padding: 17px 0; font-size: 18px; }
    .m1-sec.perf-sec .pr.big { font-size: 20px; } .m1-sec.perf-sec .pr.big b { font-size: 30px; }

  #pvCh { display: none !important; }
  .pv-foot { display: none !important; }

  .logo svg .lr { display: none; }
  .sl-name .logo { border-radius: 9px; }
  .sl-name .logo .lgbg { border-radius: 0; }
  .sl-name .logo svg .lc { display: none; }
  .sl-name .logo svg .lr { display: block; }
  .sl-name .logo img.lg { padding: 13%; }
  .sl-name .logo img.lg.fill { padding: 0; }

  .act-wrap { margin-top: 36px; }
  .act-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
  .act-bar h2 { margin: 0; font-size: 26px; font-weight: 300; }
  .act-tools { display: flex; align-items: center; gap: 22px; }
  .act-filter select { appearance: none; -webkit-appearance: none; border: 0; background: var(--pill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23222'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--text); font: inherit; font-size: 15px; font-weight: 500; padding: 10px 38px 10px 18px; border-radius: 999px; cursor: pointer; }
  .act-dl { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

  .act-head, .act-row { display: grid; grid-template-columns: 170px 150px minmax(0, 1fr) 170px 30px; align-items: center; gap: 12px; }
  .act-head { font-size: 14px; color: var(--text2); padding: 10px 0 12px; border-bottom: var(--hair) solid var(--line2); }
  .act-head .r, .act-row .v { text-align: right; }
  .act-item { border-bottom: var(--hair) solid var(--line2); }
  .act-row { padding: 22px 0; font-size: 15px; cursor: pointer; }

  .act-row .v.pos { color: var(--green-ink); }
  .act-row .go { font-size: 22px; color: var(--text2); text-align: center; transition: transform .15s; }
  .act-item.open .go { transform: rotate(90deg); }
  .act-more { display: none; padding: 0 0 18px; font-size: 14px; color: var(--text2); }
  .act-item.open .act-more { display: flex; align-items: center; gap: 18px; }
  .act-more button { background: none; border: 0; font: inherit; color: var(--red-ink); cursor: pointer; padding: 0; }

  .act-empty { padding: 36px 0; color: var(--text2); font-size: 15px; }

    .act-head, .act-row { grid-template-columns: 86px 74px minmax(0, 1fr) auto 18px; gap: 8px; font-size: 14px; }
    .act-row { padding: 16px 0; }

  #panel-activity .m1-narrow { max-width: none; }
  #panel-activity .m1-narrow .h-head { margin: 56px 0 16px !important; }
  #panel-activity .m1-narrow .h-head h2 { font-size: 26px; font-weight: 300; }
  #panel-activity .status, #panel-activity .m1-narrow .h-head .linkbtn { font-size: 14px; color: var(--text2); }
  #panel-activity .m1-narrow .h-head .linkbtn { color: var(--blue); font-weight: 500; }
  #panel-activity .div-card { border: var(--hair) solid var(--line); border-radius: 24px; box-shadow: none; background: var(--card); overflow: hidden; }
  #panel-activity .div-form { padding: 26px 30px; gap: 16px; align-items: flex-end; }
  #panel-activity .fld { font-size: 14px; color: var(--text2); gap: 8px; letter-spacing: .1px; }
  #panel-activity .fld select, #panel-activity .fld input { height: 44px; border: 1px solid transparent; border-radius: 999px; background-color: var(--pill); padding: 0 20px; font-size: 15px; color: var(--text); transition: border-color .12s, background-color .12s; }
  #panel-activity .fld select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23555'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
  #panel-activity .fld select:focus, #panel-activity .fld input:focus { outline: none; border-color: var(--blue); background-color: var(--card); }
  #panel-activity .fld input::placeholder { color: var(--muted2); }
  #panel-activity .addbtn { height: 44px; border-radius: 999px; background: var(--blue); padding: 0 28px; font-size: 15px; font-weight: 600; }

  #panel-activity .pmsg { font-size: 14px; min-height: 0; }
  #panel-activity .pmsg.ok { color: var(--green-ink); }
  #panel-activity .d-row { border-top: var(--hair) solid var(--line2); padding: 18px 30px; }
  #panel-activity .asset .tk { font-size: 15px; font-weight: 500; }
  #panel-activity .d-empty { border-top: var(--hair) solid var(--line2); padding: 22px 30px; font-size: 15px; color: var(--text2); }
  #panel-activity .d-del { color: var(--text2); }
  #panel-activity .asset .logo { width: 36px; height: 36px; border-radius: 9px; }
  #panel-activity .asset .logo .lgbg { border-radius: 0; }
  #panel-activity .asset .logo svg .lc { display: none; }
  #panel-activity .asset .logo svg .lr { display: block; }

    #panel-activity .div-form { padding: 18px; }
    #panel-activity .d-row { padding: 14px 18px; }
    #panel-activity .addbtn { width: 100%; }

  #panel-holdings .m1-hh h2 { font-size: 26px; font-weight: 300; }
  #panel-holdings .sortbtn { background: var(--pill); border-radius: 999px; font-size: 14.5px; font-weight: 500; padding: 9px 16px; gap: 10px; }
  #panel-holdings .sortbtn .m { color: var(--text); }
  #panel-holdings .sortbtn svg { width: 14px; height: 14px; }
  #panel-holdings .table-card { border: var(--hair) solid var(--line); border-radius: 24px; box-shadow: none; }
  #panel-holdings .row { grid-template-columns: minmax(0, 1fr) 120px 110px 190px 150px 170px; min-height: 80px; }
  #panel-holdings .shr { font-size: 15px; font-weight: 400; }

  #panel-holdings .row.head { min-height: 52px; font-size: 14px; }
  #panel-holdings .row.head > div:first-child { padding-left: 22px !important; }
  #panel-holdings .row .asset { padding: 12px 10px 12px 22px; gap: 12px; }
  #panel-holdings .row .asset .logo { width: 38px; height: 38px; border-radius: 9px; }
  #panel-holdings .row .asset .logo .lgbg { border-radius: 0; }
  #panel-holdings .row .asset .logo svg .lc { display: none; }
  #panel-holdings .row .asset .logo svg .lr { display: block; }
  #panel-holdings .row .asset .logo img.lg { padding: 13%; }
  #panel-holdings .row .asset .logo img.lg.fill { padding: 0; }
  #panel-holdings .asset .tk { font-size: 15px; }
  #panel-holdings .asset .nm { font-size: 14px; margin-top: 2px; max-width: none; }
  #panel-holdings .pct { font-size: 15px; }
  #panel-holdings .posn .usd { font-size: 16px; font-weight: 400; }
  #panel-holdings .posn .sh { font-size: 14px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; }
  #panel-holdings .ret .amt { font-size: 15px; }
  #panel-holdings .ret .p { font-size: 14px; margin-top: 4px; }
  #panel-holdings .col-r:last-child { padding-right: 30px; }

    #panel-holdings .row { grid-template-columns: repeat(4, 1fr); grid-template-areas: "asset asset asset posn" "pct shr today all"; }
    #panel-holdings .row > :nth-child(1) { grid-area: asset; }
    #panel-holdings .row > :nth-child(2) { grid-area: pct; }
    #panel-holdings .row > :nth-child(3) { grid-area: shr; }
    #panel-holdings .row > :nth-child(4) { grid-area: posn; }
    #panel-holdings .row > :nth-child(5) { grid-area: today; }
    #panel-holdings .row > :nth-child(6) { grid-area: all; }
    #panel-holdings .row .asset { padding: 0; }
    #panel-holdings .col-r:last-child { padding-right: 0; }

  .m1-util { display: none !important; }
  #moveBtn { display: none !important; }
  .pf-pick { display: flex; align-items: center; gap: 4px; flex: 1 1 280px; max-width: 560px; min-width: 0; position: relative; }
  .pf-pick .m1-title { flex: 0 1 auto; width: auto; max-width: 100%; cursor: text; }
  .pf-pick .m1-title[readonly] { cursor: pointer; }
   .pf-pick { flex-basis: 100%; }
  .pf-caret { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--pill); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-left: 8px; }
  .pf-caret svg { width: 15px; height: 15px; }

  .pf-pick .menu { left: 0; right: auto; top: calc(100% + 8px); min-width: 240px; }
  .pf-pick .menu button { font-size: 15px; }
  .m1-stat.tot { display: flex; align-items: flex-end; gap: 12px; }
  .cur-pill { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--pill); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; padding: 7px 12px 7px 10px; border-radius: 999px; cursor: pointer; }
  .cur-pill svg { width: 12px; height: 12px; }
  .cur-pill > span:first-child svg { width: 18px; height: 18px; }
  .cur-row { display: flex; align-items: center; gap: 10px; }
  .cur-row .pf-caret { margin-left: 0; width: 22px; height: 22px; }
  .cur-row .pf-caret svg { width: 11px; height: 11px; }
  .cur-row .menu { min-width: 170px; }
  .cur-row .v { white-space: nowrap; }

  .pv-tip { background: var(--raise); color: var(--text); border-radius: 14px; padding: 14px 20px; box-shadow: none; transform: translate(-50%, calc(-100% - 18px)); }
  .pv-tip .td { font-size: 16px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
  :root[data-theme="dark"] .pv-tip { box-shadow: none; }

  .m1 { min-height: 100vh; display: flex; flex-direction: column; }

  #panel-funding .m1-narrow .h-head { margin: 56px 0 16px !important; }
  #panel-funding .m1-narrow > .h-head:first-child { margin-top: 44px !important; }
  #panel-funding .m1-narrow .h-head h2 { font-size: 26px; font-weight: 300; }
  #panel-funding .status { font-size: 14px; color: var(--text2); }
  #panel-funding .div-card, #panel-funding .bk-card { border: var(--hair) solid var(--line); border-radius: 24px; box-shadow: none; background: var(--card); }
  #panel-funding .div-form { padding: 26px 30px; gap: 16px; align-items: flex-end; }
  #panel-funding .fld { font-size: 14px; color: var(--text2); gap: 8px; letter-spacing: .1px; }
  #panel-funding .fld select, #panel-funding .fld input { height: 44px; border: 1px solid transparent; border-radius: 999px; background-color: var(--pill); padding: 0 20px; font-size: 15px; color: var(--text); transition: border-color .12s, background-color .12s; }
  #panel-funding .fld select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23555'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
  #panel-funding .fld select:focus, #panel-funding .fld input:focus { outline: none; border-color: var(--blue); background-color: var(--card); }
  #panel-funding .fld input::placeholder { color: var(--muted2); }
  #panel-funding .pmsg { font-size: 14px; min-height: 0; }
  #panel-funding .pmsg.ok { color: var(--green-ink); }
  #panel-funding .bk-card { padding: 26px 30px; }
  #panel-funding .btn2 { height: 40px; border-radius: 999px; border: var(--hair) solid var(--line2); background: var(--card); padding: 0 20px; font-size: 14.5px; font-weight: 500; transition: border-color .12s, background-color .12s; }

  #panel-funding .bk-preview { border-radius: 16px; font-size: 14px; }

    #panel-funding .div-form { padding: 18px; }
    #panel-funding .bk-card { padding: 18px; }
    #panel-funding .addbtn { width: 100%; }

  .hp-wrap { margin-top: 30px; }
  .hp-back { background: none; border: 0; color: var(--text); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; padding: 0; margin-bottom: 24px; }

  .hp-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .hp-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
  .hp-id .logo { width: 54px; height: 54px; border-radius: 13px; flex: none; }
  .hp-id .logo .lgbg { border-radius: 0; }
  .hp-id .logo svg .lc { display: none; }
  .hp-id .logo svg .lr { display: block; }
  .hp-id .logo img.lg { padding: 13%; }
  .hp-id .logo img.lg.fill { padding: 0; }
  .hp-name { font-size: 28px; font-weight: 300; line-height: 1.15; letter-spacing: -.2px; }
  .hp-sub { font-size: 14px; color: var(--text2); margin-top: 4px; }
  .hp-px { text-align: right; }
  .hp-px .big { font-size: 34px; font-weight: 500; letter-spacing: -.3px; line-height: 1.1; }
  .hp-px .chg { font-size: 15px; margin-top: 4px; }
  .hp-ranges { display: flex; justify-content: flex-end; gap: 28px; margin-top: 26px; }
  .hp-r { background: none; border: 0; font: inherit; font-size: 15px; color: var(--text2); cursor: pointer; padding: 4px 2px; }

  .hp-r.on { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
  .hp-rangechg { font-size: 15px; min-height: 22px; margin-top: 6px; }
  .hp-rangechg .muted { color: var(--muted); margin-left: 8px; }
  .hp-chart { position: relative; height: 480px; margin-top: 26px; touch-action: pan-y; user-select: none; }
  .hp-chart svg { display: block; position: absolute; left: 0; top: 0; }
  .hp-quick-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
  .hp-stat-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 24px 26px; background: var(--card); }
  .hp-stat-card h2 { margin: 0 0 22px; font-size: 23px; line-height: 1.2; font-weight: 600; letter-spacing: -.35px; }
  .hp-stat-main { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 0 17px; }
  .hp-stat-main span { color: var(--text2); font-size: 15px; }
  .hp-stat-main strong { font-size: 25px; font-weight: 500; text-align: right; }
  .hp-stat-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 15px 0; font-size: 14.5px; }
  .hp-stat-row:last-child { padding-bottom: 0; }
  .hp-stat-row span { color: var(--text2); }
  .hp-stat-row strong { text-align: right; font-weight: 500; }
  .hp-stat-row strong.hp-div { display: inline-flex; align-items: center; gap: 9px; }
  .hp-ring { flex: none; display: block; }
  .hp-stat-row .pos, .hp-stat-main .pos { color: var(--green, #00c805); }
  .hp-stat-row .neg, .hp-stat-main .neg { color: var(--red, #ff5000); }
  .hp-sec { margin-top: 44px; }
  .hp-sec h2 { margin: 0 0 14px; font-size: 26px; font-weight: 300; }
  .hp-actions { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
  .hp-actions button { height: 44px; border: 0; border-radius: 999px; padding: 0 28px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: filter .12s, transform .14s; }
  .hp-actions .hp-buy, .hp-actions .hp-edit { background: var(--blue); color: #fff; }
  .hp-actions .hp-sell { background: var(--red-bg, rgba(220, 53, 69, .12)); color: var(--red, #d7354f); }

  .hp-actions button:active { transform: scale(.97); }

    .hp-name { font-size: 22px; } .hp-px .big { font-size: 26px; } .hp-px { text-align: left; }
    .hp-chart { height: 300px; } .hp-ranges { gap: 16px; justify-content: space-between; }
    .hp-quick-stats { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
    .hp-stat-card { padding: 20px; }
    .hp-stat-card h2 { font-size: 21px; margin-bottom: 18px; }
    .hp-stat-main strong { font-size: 22px; }
    .hp-stat-main span, .hp-stat-row { font-size: 14px; }

  #panel-holding { --hp-rh-green:#00c805; --hp-rh-orange:#ff5000; }
  .hp-market-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:30px; align-items:start; margin-top:18px; }
  .hp-main-column { min-width:0; }
  .hp-market-layout .hp-back { margin-bottom:26px; }
  .hp-market-layout .hp-head { display:block; }
  .hp-market-layout .hp-id { align-items:flex-start; }
  .hp-market-layout .hp-id .logo { display:none; }
  .hp-market-layout .hp-name { font-size:34px; font-weight:500; letter-spacing:-.5px; }
  .hp-market-layout .hp-sub { margin-top:5px; }
  .hp-market-layout .hp-px { text-align:left; margin-top:8px; }
  .hp-market-layout .hp-px .big { font-size:38px; font-weight:500; }
  .hp-market-layout .hp-px .chg { font-size:15px; }
  .hp-chart-tools { display:flex; justify-content:flex-end; margin-top:-72px; min-height:54px; pointer-events:none; }
  .hp-chart-tools-left { display:flex; align-items:center; gap:10px; pointer-events:auto; }
  .hp-chart-tools button { height:44px; min-width:48px; padding:0 16px; border:1px solid #262626; border-radius:999px; color:#f7f7f7; background:transparent; font:inherit; font-size:14px; cursor:pointer; }

  .hp-market-layout .hp-ranges { justify-content:flex-start; gap:26px; margin-top:20px; border-bottom:1px solid #262626; position:relative; }
  .hp-market-layout .hp-r { padding:8px 0 13px; font-size:14px; color:#f5f5f5; text-decoration:none; }
  .hp-market-layout .hp-r.on { color:var(--hp-rh-green); }
  .hp-market-layout .hp-r.on::after { content:""; position:absolute; height:3px; background:var(--hp-rh-green); bottom:-1px; left:var(--hp-range-left,0); width:var(--hp-range-width,24px); }
  .hp-market-layout .hp-rangechg { margin-top:10px; min-height:24px; font-size:14px; }
  .hp-market-layout .hp-ranges,
  .hp-market-layout .hp-rangechg { display:none !important; }
  .hp-market-layout .hp-chart { height:clamp(350px, calc(100vh - 400px), 560px); margin-top:8px; }
  .hp-market-layout .hp-chart svg { overflow:visible; }
  .hp-market-layout .hp-chart svg path[fill^="url"] { opacity:.02; }
  .hp-market-layout .hp-quick-stats { margin-top:20px; gap:14px; }
  .hp-market-layout .hp-stat-card { border-color:#262626; background:#000000; border-radius:6px; padding:22px 24px; }
  .hp-market-layout .hp-stat-card h2 { font-size:18px; margin-bottom:18px; }
  .hp-market-layout .hp-stat-main { display:block; padding-bottom:14px; }
  .hp-market-layout .hp-stat-main span { display:block; font-size:14px; }
  .hp-market-layout .hp-stat-main strong { display:block; text-align:left; font-size:27px; margin-top:4px; }
  .hp-market-layout .hp-stat-row { border-top:1px solid #262626; font-size:14px; padding:13px 0; }
  .hp-order-ticket { margin-top:56px; background:#202326; border:1px solid #45494e; border-radius:5px; overflow:hidden; color:#f7f7f7; position:sticky; top:22px; }
  .hp-order-tabs { display:flex; gap:18px; padding:18px 20px 0; border-bottom:1px solid #45494e; }
  .hp-order-tabs button { position:relative; padding:0 0 16px; border:0; background:none; color:#f5f5f5; font:inherit; font-weight:600; cursor:pointer; }
  .hp-order-tabs button.on { color:var(--hp-rh-green); }
  .hp-order-tabs button.on::after { content:""; position:absolute; height:3px; background:var(--hp-rh-green); left:0; right:0; bottom:-1px; }
  .hp-order-fields { padding:18px 20px 20px; }
  .hp-order-field { display:grid; grid-template-columns:90px minmax(0,1fr); align-items:center; gap:12px; margin-bottom:14px; font-size:14px; }
  .hp-order-field span small { display:block; color:#a9b0b8; margin-top:4px; }
  .hp-order-field select,.hp-order-field input { min-width:0; width:100%; height:44px; border:1px solid #454b51; border-radius:5px; background:#222629; color:#f7f7f7; padding:0 12px; font:inherit; }
  .hp-order-field input { text-align:right; }
  .hp-order-estimate { border-top:1px solid #45494e; padding:16px 0 22px; display:flex; justify-content:space-between; gap:10px; font-size:14px; font-weight:600; }
  .hp-review-order { width:100%; height:52px; border:0; border-radius:999px; background:var(--hp-rh-green); color:#002500; font:inherit; font-weight:600; cursor:pointer; }

  .hp-order-buying { display:flex; justify-content:center; align-items:center; gap:8px; padding:18px 12px; border-top:1px solid #45494e; color:var(--hp-rh-green); font-size:14px; }
  .hp-order-buying span { font-size:15px; }
  .hp-order-account { padding:17px 12px; border-top:1px solid #45494e; text-align:center; font-size:14px; }
  .hp-order-account span { color:#a9b0b8; }
  .hp-order-account b { margin-left:8px; }
  .hp-order-message { padding:12px 18px; border-top:1px solid #45494e; color:#d3d7da; font-size:14px; line-height:1.4; }
  @media(max-width:1050px) { .hp-market-layout { grid-template-columns:minmax(0,1fr) 290px; gap:18px; } .hp-order-field { grid-template-columns:76px minmax(0,1fr); } .hp-chart-tools { margin-top:-58px; } }
   .hp-market-layout { display:flex; flex-direction:column; gap:22px; } .hp-main-column,.hp-order-ticket { width:100%; } .hp-order-ticket { position:static; margin-top:0; order:2; } .hp-market-layout .hp-name { font-size:26px; } .hp-market-layout .hp-px .big { font-size:30px; } .hp-market-layout .hp-chart { height:320px; } .hp-chart-tools { margin-top:12px; justify-content:flex-start; min-height:0; } .hp-market-layout .hp-ranges { gap:0; justify-content:space-between; margin-top:12px; } .hp-market-layout .hp-r { font-size:14px; } .hp-market-layout .hp-quick-stats { grid-template-columns:1fr; }

  .hp-chart.hp-chart-expanded { position:fixed; z-index:9999; inset:70px 3vw 4vh; height:auto!important; margin:0!important; background:#000000; border:1px solid #262626; border-radius:8px; box-shadow:0 0 0 100vmax rgba(0,0,0,.78); }
  .hp-chart.hp-chart-expanded::after { content:"Click expand again or press Escape to close"; position:absolute; right:12px; top:10px; color:#9aa0a6; font-size:14px; }

  .dv-top { display: flex; align-items: flex-end; gap: 36px; flex-wrap: wrap; margin-top: 28px; position: relative; }
  .dv-chart { position: relative; height: 360px; margin-top: 30px; user-select: none; }
  .dv-chart svg { display: block; position: absolute; left: 0; top: 0; }
    .dv-note { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 820px; line-height: 1.5; }
  .dv-more { background: none; border: 0; color: var(--blue); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; padding: 14px 2px 0; }

  .dv-x { background: none; border: 0; color: var(--text2); cursor: pointer; font-size: 18px; padding: 0; }

  .dv-empty { padding: 26px 22px; color: var(--text2); font-size: 14.5px; border-top: var(--hair) solid var(--line); }
  @media (max-width: 900px) {
        .dv-chart { height: 280px; }
  }

  #hvOverview .h-head:not(.m1-hh) { margin: 64px 0 16px !important; }
  #hvOverview .h-head:not(.m1-hh) .hint { font-size: 14px; color: var(--text2); }
  #hvOverview .h-head:not(.m1-hh) .linkbtn { color: var(--blue); font-size: 14.5px; font-weight: 500; }

  #hvOverview .prow { border-top: var(--hair) solid var(--line); transition: background-color .12s; }
  #hvOverview .prow .asset { padding: 12px 10px 12px 30px; gap: 14px; }
  #hvOverview .prow .asset .logo { width: 40px; height: 40px; border-radius: 10px; }
  #hvOverview .prow .asset .logo .lgbg { border-radius: 0; }
  #hvOverview .prow .asset .logo svg .lc { display: none; }
  #hvOverview .prow .asset .logo svg .lr { display: block; }
  #hvOverview .prow .asset .logo img.lg { padding: 13%; }
  #hvOverview .prow .asset .logo img.lg.fill { padding: 0; }
  #hvOverview .logo-btn { border-radius: 10px; }
  #hvOverview .logo-btn:focus-visible { outline-color: var(--blue); }
  #hvOverview .edit-badge { width: 18px; height: 18px; font-size: 10px; right: -5px; bottom: -5px; }

  #hvOverview .prow .nm { font-size: 14px; color: var(--text2); margin-top: 2px; max-width: none; }
  #hvOverview .pin { height: 40px; width: 112px; border: 1px solid transparent; border-radius: 999px; background: var(--pill); padding: 0 16px; font-size: 15px; transition: border-color .12s, background-color .12s; }
  #hvOverview .avg .pin { width: 120px; }
  #hvOverview .pin:focus { outline: none; border-color: var(--blue); background: var(--card); }
  #hvOverview .avg > span { color: var(--text2); font-size: 14px; margin-right: 6px; }
  #hvOverview .prow .d-del { color: var(--text2); font-size: 20px; }

  #hvOverview #posForm { padding: 26px 30px; gap: 16px; align-items: flex-end; border-top: var(--hair) solid var(--line) !important; }
  #hvOverview #posForm .fld { font-size: 14px; color: var(--text2); gap: 8px; }
  #hvOverview #posForm .fld select, #hvOverview #posForm .fld input { height: 44px; border: 1px solid transparent; border-radius: 999px; background-color: var(--pill); padding: 0 20px; font-size: 15px; color: var(--text); transition: border-color .12s, background-color .12s; }
  #hvOverview #posForm .fld select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23555'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
  #hvOverview #posForm .fld select:focus, #hvOverview #posForm .fld input:focus { outline: none; border-color: var(--blue); background-color: var(--card); }
  #hvOverview #posForm .fld input::placeholder { color: var(--muted2); }
  #hvOverview #posForm .addbtn { height: 44px; border-radius: 999px; background: var(--blue); padding: 0 28px; font-size: 15px; font-weight: 600; }

  #hvOverview #posForm .pmsg { font-size: 14px; min-height: 0; }
  #hvOverview .table-card { border: var(--hair) solid var(--line); border-radius: 24px; box-shadow: none; }

    #hvOverview .pin, #hvOverview .avg .pin { width: 100%; }
    #hvOverview #posForm { padding: 18px; } #hvOverview #posForm .addbtn { width: 100%; }
    #hvOverview .prow .asset { padding: 0; }

  .prow { grid-template-columns: minmax(0,1fr) 130px 180px 170px 150px 56px; }
  .pin.pdate { width: 150px; text-align: left; padding: 0 10px; font-size: 14.5px; }
  .hide-bal .pin.pdate { filter: none; }
  .act-date { display: inline-flex; align-items: center; gap: 8px; color: var(--text2); font-size: 14px; }
  .act-date input { height: 34px; border: 1px solid transparent; border-radius: 999px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--pill); color: var(--text); }
  .act-date input:focus { outline: none; border-color: var(--blue); }
  .act-currency { display: inline-flex; align-items: center; gap: 8px; color: var(--text2); font-size: 14px; }
  .act-currency select { height: 34px; border: 1px solid transparent; border-radius: 999px; padding: 0 12px; font: inherit; background: var(--pill); color: var(--text); }
  .act-currency input { width: 96px; height: 34px; border: 1px solid transparent; border-radius: 999px; padding: 0 10px; font: inherit; background: var(--pill); color: var(--text); }
  .act-currency select:focus { outline: none; border-color: var(--blue); }
  .act-item.open .act-more { gap: 22px; flex-wrap: wrap; }
  .fld input[type="date"] { min-width: 150px; }

    .prow { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "asset asset del" "q avg inv" "pd pd pd"; }
    .prow > :nth-child(4) { grid-area: pd; }
    .prow > :nth-child(5) { grid-area: inv; align-self: end; }
    .prow > :nth-child(6) { grid-area: del; justify-self: end; }
    .pin.pdate { width: 100%; }

  .pv-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }

  :root { --hair: 1px; }
  @media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
    html { text-rendering: optimizeLegibility; font-synthesis: none; }
    svg text { text-rendering: geometricPrecision; }
  }

  @media (color-gamut: p3) {
    @supports (color: color(display-p3 1 0 0)) {
      :root { --green: rgb(0, 200, 5); --red: rgb(255, 80, 0); --chart: color(display-p3 0.204 0.297 0.638); }
      :root[data-theme="dark"] { --green: rgb(0, 200, 5); --red: rgb(255, 80, 0); --chart: color(display-p3 0.504 0.627 0.958); }
    }
  }

  .side-logo, .side-ic { display: none; }

  .rv { opacity: 0; transform: translateY(18px); transition: opacity .4s cubic-bezier(.22,.7,.2,1), transform .4s cubic-bezier(.22,.7,.2,1); transition-delay: var(--rvd, 0ms); }
  .rv.in { opacity: 1; transform: none; }
  .m1-panel:not([hidden]) { animation: panelIn .22s cubic-bezier(.22,.7,.2,1); }
  @keyframes panelIn { from { opacity: 0; } to { opacity: 1; } }
  .addbtn, .hp-edit, .btn-primary, .btn2, .chip, .pf-caret, .cur-pill, .m1-act i { transition: transform .14s cubic-bezier(.22,.7,.2,1), filter .12s, background-color .12s; }
  .addbtn:active, .hp-edit:active, .btn-primary:active, .btn2:active, .chip:active, .pf-caret:active, .cur-pill:active { transform: scale(.96); }
  .m1-act:active i { transform: scale(.92); }
  @media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .m1-panel:not([hidden]) { animation: none; } }

  html, body, * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .act-date input[type=number] { width: 112px; }

  .hold-sub { color: var(--muted); font-size: 15px; margin: -6px 0 16px; }
  .hold-head, .hold-row { display: grid; grid-template-columns: 1.1fr .7fr .9fr 1.6fr; gap: 16px; align-items: baseline; }
  .hold-head { padding: 0 0 12px; font-size: 15px; color: var(--muted); }
  .hold-row { padding: 18px 0; border-top: var(--hair) solid var(--line); font-size: 18px; color: var(--text); }
  .hold-row small { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
  .hold-row .lt { color: var(--green-ink); } .hold-row .wait { color: var(--text2); }
   .hold-head, .hold-row { grid-template-columns: 1fr 1fr; gap: 6px 12px; } .hold-head span:nth-child(n+3) { display: none; } .hold-row { font-size: 16px; }

  body .m1-title, body #pfPickMenu button, body h1, body h2 { font-family: "Capsule Sans Text", "Inter", sans-serif; font-style: italic; font-optical-sizing: auto; font-size-adjust: 0.5; letter-spacing: -.005em; }
  body .m1-title { font-size-adjust: none; letter-spacing: -.5px; }
  body #pfPickMenu button { font-size-adjust: none; }
  body #pfPickMenu small { font-family: "Capsule Sans Text", Inter, sans-serif; font-style: normal; }

  html body #pvCard .pv-top { justify-content: flex-start !important; }
  html body #pvCard .pv-tabs { margin-left: 0 !important; justify-content: flex-start !important; }

html, body, body *, body *::before, body *::after { font-family: "Capsule Sans Text", "Inter", sans-serif !important; }

  #donutCard svg#ring { display: none !important; }
  #donutCard { filter: none !important; width: auto !important; margin: 0 !important; }
  #donutCard .m1-center { position: static !important; transform: none !important; width: auto !important; text-align: left !important; pointer-events: auto; }
  #donutCard .m1-center .amt { font-size: 44px !important; font-weight: 500; letter-spacing: -1px; overflow: visible; }
  #donutCard .m1-center .chg { font-size: 16px !important; margin-top: 6px; font-weight: 500; }
  #donutCard .m1-center .chg br { display: none; }
  #donutCard .m1-center .nm, #donutCard .m1-center .lbl { display: none; }
  #panel-portfolio .m1-grid { grid-template-columns: minmax(0, 1fr) 380px !important; grid-template-areas: "hd side" "main side"; gap: 24px 56px !important; align-items: start; }
  #panel-portfolio .m1-left { display: contents !important; position: static !important; }
  #panel-portfolio #donutCard { grid-area: hd; }
  #panel-portfolio .m1-right { grid-area: main; min-width: 0; }
  #panel-portfolio .rh-side { grid-area: side; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
  @media (max-width: 1100px) { #panel-portfolio .m1-grid { grid-template-columns: 1fr !important; grid-template-areas: "hd" "main" "side"; } #panel-portfolio .rh-side { grid-row: auto; position: static; } }
  .rh-side .m1-card { background: transparent; border: 1px solid var(--line); border-radius: 4px; box-shadow: none; }
  .m1-tab, .m1-tab.on { font-weight: 700; }
  .m1-tab.on { border-bottom-color: var(--green); }
  :root[data-theme="dark"] { --bg: #000; --card: #000; --surface: #0a0a0a; --line: #1e2124; --pill: #1a1c1e; --text: #fff; --muted: #8f979f; }
  :root[data-theme="dark"] body, :root[data-theme="dark"] .m1-card, :root[data-theme="dark"] .m1-chartcard { background: #000000; }

  #portfolioHeader, #pvNote, .pv-foot, #pvEnd { display: none !important; }
  .rh-title { display: flex; justify-content: space-between; align-items: center; font-size: 34px; font-weight: 500; margin-bottom: 10px; }
  .m1-donut .rh-title svg, #donutCard .rh-title svg { display: inline-block !important; width: 22px !important; height: 22px !important; vertical-align: middle; margin-left: 4px; overflow: visible; }
  #donutCard .rh-title { line-height: 1.2; }
  #donutCard .m1-center .amt { font-size: 40px !important; font-weight: 400; }
  #donutCard .m1-center .chg .rl { color: var(--text); font-weight: 500; margin-left: 2px; }
  .m1-chartcard { display: flex; flex-direction: column; }
  .m1-chartcard .pv-top { order: 2; margin-top: 14px; padding-top: 10px; border-top: 0 !important; }
  .m1-chartcard #pvChart { order: 1; margin-top: 0; }
  .pv-tab.on { color: var(--green-ink); background: transparent; box-shadow: none; }

  html body #donutCard .rh-title, html body #donutCard .m1-center .amt, html body .rh-inv-title, html body .rh-big, html body .rh-sec h3 { font-family: "Capsule Sans Display", "Capsule Sans Text", sans-serif !important; }
  html body #donutCard .rh-title { font-size: 40px !important; font-weight: 500 !important; letter-spacing: -0.025em !important; line-height: 1.15 !important; margin-bottom: 6px !important; }
  html body #donutCard .m1-center .amt { font-size: 40px !important; font-weight: 500 !important; letter-spacing: -0.025em !important; line-height: 1.15 !important; }
  html body #donutCard .m1-center .chg { font-size: 16px !important; font-weight: 500 !important; letter-spacing: -0.005em !important; line-height: 1.4 !important; margin-top: 8px !important; }
  html body .m1-chartcard .pv-tab { font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0.01em; color: var(--text2); border-radius: 0; padding: 10px 14px; border-bottom: 2px solid transparent; }
  html body .m1-chartcard .pv-tab.on { color: #ff5a1f !important; background: transparent !important; border-bottom: 2px solid #ff5a1f !important; box-shadow: none !important; }
  html body .m1-tab { font-size: 17px !important; font-weight: 700 !important; letter-spacing: -0.005em; }
  #pvTip { display: none !important; }

#centerVal .amt, #centerVal .chg { display: flex !important; align-items: center; }
  #centerVal .chg { gap: .3em; }
  .rh-roll { display: inline-flex; align-items: flex-start; height: 1.2em; font-variant-numeric: tabular-nums; white-space: pre; }
  .rh-c { display: inline-block; height: 1.2em; line-height: 1.2em; white-space: pre; }
  .rh-d { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; text-align: center; }
  .rh-s { display: block; will-change: transform; }
  .rh-s i { display: block; height: 1.2em; line-height: 1.2em; font-style: normal; }
  @media (prefers-reduced-motion: reduce) { .rh-s { transition: none; } }

#panel-portfolio .rh-side > .m1-acts, #panel-portfolio .rh-side > .m1-card { display: none !important; }
  #panel-portfolio .m1-grid { grid-template-columns: minmax(0, 1fr) 300px !important; gap: 24px 40px !important; }
  html body .m1-chartcard #pvChart { height: clamp(400px, 56vh, 600px) !important; }
  .rh-stocks { border: 1px solid var(--line); border-radius: 4px; max-height: calc(100vh - 48px); overflow: auto; }
  .rh-sh { font-size: 17px; font-weight: 700; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .rh-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px auto; align-items: center; gap: 10px; padding: 13px 20px; cursor: pointer; position: relative; z-index: 1; -webkit-tap-highlight-color: transparent; }

  .rh-row:focus-visible { outline: 2px solid var(--chart); outline-offset: -2px; border-radius: 8px; }
  .rh-row + .rh-row { border-top: 0; }
  .rh-row .tk { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rh-row .sh { font-size: 14px; color: var(--text2); margin-top: 3px; white-space: nowrap; }
  .rh-row .spark { width: 84px; height: 28px; overflow: visible; }
  .rh-row .px { text-align: right; font-size: 15px; font-weight: 500; white-space: nowrap; }
  .rh-row .pc { text-align: right; font-size: 14px; font-weight: 500; margin-top: 3px; }
  .rh-row .pc.pos { color: var(--green-ink); } .rh-row .pc.neg { color: var(--red-ink); }
  .rh-empty { padding: 18px 20px; color: var(--muted); font-size: 14px; }

  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-card {
    background: var(--card) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-card h2,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-main strong,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-row strong {
    color: var(--text);
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-main span,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-row span {
    color: var(--text2);
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-stat-row {
    border-top-color: var(--line) !important;
  }
  :root[data-theme="dark"] .hp-market-layout .hp-stat-card {
    background: #000000 !important;
    border-color: #262626 !important;
    color: #f7f7f7;
  }

.hp-about { grid-column: 1 / -1; margin-top: 18px; padding-top: 6px; }
  .hp-about h2 { margin: 0 0 14px; padding-bottom: 14px; font-size: 26px; font-weight: 500; letter-spacing: -.4px; border-bottom: 1px solid var(--line); }
  .hp-about-d { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 1000px; }
  .hp-about-d.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hp-about-more { background: none; border: 0; padding: 6px 0 0; color: var(--green-ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
  .hp-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px 28px; margin-top: 26px; padding-bottom: 8px; }
  .hp-about-grid .k { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
  .hp-about-grid .v { font-size: 15px; color: var(--text); }
  @media (max-width: 720px) { .hp-about h2 { font-size: 22px; } .hp-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  #hvOverview .m1-hh, #hvOverview .card.table-card:has(#rows) { display: none !important; }
  .rh-inv-title { font-size: 40px; font-weight: 500; letter-spacing: -.025em; margin: 4px 0 26px; }
  .rh-lbl { font-size: 15px; font-weight: 500; }
  .rh-big { font-size: 44px; font-weight: 500; letter-spacing: -.025em; margin: 8px 0 26px; }
  .rh-sec { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; margin-bottom: 56px; }
  .rh-sec h3 { font-size: 30px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 26px; }
  .rh-sum-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 150px; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }
  .rh-sum-row:last-child { border-bottom: 1px solid var(--line); }
  .rh-sum-row span:nth-child(2) { color: var(--muted); font-weight: 500; text-align: right; }
  .rh-sum-row span:nth-child(3) { font-weight: 500; text-align: right; }
  .rh-ring { position: relative; width: 300px; height: 300px; margin: 0 auto; }
  .rh-ring svg { width: 100%; height: 100%; display: block; }
  .rh-ring .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 17px; font-weight: 500; gap: 3px; }
  .rh-tbl { overflow-x: auto; }
  .rh-tr { display: grid; grid-template-columns: minmax(160px, 2.2fr) 90px 80px 110px 120px 150px 130px; gap: 12px; align-items: center; min-width: 880px; padding: 26px 0; border-top: 1px solid var(--line); font-size: 15px; cursor: pointer; }

  .rh-tr .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rh-tr.rh-th { cursor: default; padding: 0; border-top: 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }

  .rh-th span { padding: 14px 0 16px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .rh-th span.on { color: var(--green-ink); border-bottom-color: var(--green); }
  .rh-tr .pos { color: var(--green-ink); } .rh-tr .neg { color: var(--red-ink); }
  .rh-ring .cd { display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .rh-ring .ch { display: none; flex-direction: column; align-items: center; gap: 4px; }
  .rh-ring.hov .cd { display: none; } .rh-ring.hov .ch { display: flex; }
  .rh-ring .ch b { font-size: 19px; font-weight: 700; } .rh-ring .ch span { font-size: 24px; font-weight: 500; } .rh-ring .ch em { font-style: normal; font-size: 15px; color: var(--muted); }
  .rh-ring .rs { transition: opacity .16s ease; }
  .rh-ring.hov .rs { opacity: .22; } .rh-ring.hov .rs.on { opacity: 1; }
  .rh-tbl { margin: 0 -22px; padding: 0 22px; }
  .rh-tr:not(.rh-th) { margin: 0 -22px; padding-left: 22px; padding-right: 22px; }

  .rh-sum-row { margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
  @media (max-width: 1000px) { .rh-sec { grid-template-columns: 1fr; } .rh-ring { width: 240px; height: 240px; } }

#pfGate{display:none;position:fixed;inset:0;z-index:2147483000;background:#000000;color:#fff;grid-template-columns:1fr 1fr}
html.pf-locked #pfGate{display:grid}
html.pf-locked,html.pf-locked body{overflow:hidden}
html.pf-locked body>*:not(#pfGate){visibility:hidden}
.pfg-art{position:relative;border-right:1px solid #1e2124;overflow:hidden}.pfg-art canvas{position:absolute;inset:0;width:100%;height:100%}
.pfg-main{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(28px,6vw,96px);overflow:auto}
.pfg-form{width:100%;max-width:560px}
.pfg-h{font-size:clamp(26px,2.4vw,36px);font-weight:500;letter-spacing:-.6px;margin:0 0 36px}
.pfg-sub{margin:-24px 0 36px;color:#8f979f;font-size:16px}.pfg-sub:empty{display:none}
.pfg-lbl{display:block;font-size:16px;margin:0 0 12px}.pfg-c{display:none;margin-top:24px}#pfGate[data-mode=setup] .pfg-c{display:block}
.pfg-fld{position:relative}
.pfg-fld input{width:100%;height:60px;border:1px solid #262626;border-radius:8px;background:#2B271C;color:#fff;padding:0 56px 0 18px;font:inherit;font-size:17px}
.pfg-fld input:focus{outline:none;border-color:#fff}
.pfg-eye{position:absolute;right:6px;top:6px;width:48px;height:48px;border:0;border-radius:8px;background:none;color:#fff;display:grid;place-items:center;cursor:pointer}
.pfg-eye svg{width:24px;height:24px}.pfg-eye .sl{display:none}.pfg-eye[aria-pressed=true] .sl{display:block}
.pfg-eye:focus-visible,.pfg-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.pfg-keep{display:flex;align-items:center;gap:14px;margin-top:28px;font-size:16px;cursor:pointer}
.pfg-keep input{-webkit-appearance:none;appearance:none;margin:0;width:26px;height:26px;flex:none;border:1px solid #6b7178;border-radius:4px;background:transparent;display:grid;place-items:center;cursor:pointer}
.pfg-keep input:checked{background:#fff;border-color:#fff}
.pfg-keep input:checked::after{content:"";width:6px;height:12px;border:solid #000;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.pfg-keep input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.pfg-bio{width:100%;height:60px;margin-top:14px;border:1.5px solid #6b7178;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:17px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.pfg-bio[hidden]{display:none}.pfg-bio:disabled{opacity:.6;cursor:default}.pfg-bio:focus-visible{outline:2px solid #fff;outline-offset:3px}
#pfHello{position:fixed;inset:0;z-index:2147483000;background:#000000;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;transition:opacity .45s ease;cursor:pointer;-webkit-tap-highlight-color:transparent}
#pfHello.out{opacity:0;pointer-events:none}
#pfHello .hl{width:64px;height:82px;background:rgb(0,200,5);-webkit-mask:var(--hello-mask) center/contain no-repeat;mask:var(--hello-mask) center/contain no-repeat;animation:pfHelloIn .7s cubic-bezier(.2,.8,.2,1) both}
#pfHello .ht{font-size:34px;font-weight:500;letter-spacing:-.025em;animation:pfHelloIn .7s .12s cubic-bezier(.2,.8,.2,1) both}
@keyframes pfHelloIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#pfHello,#pfHello .hl,#pfHello .ht{animation:none;transition:none}}
.pfg-err{min-height:22px;margin-top:16px;color:var(--red-ink);font-size:15px}
.pfg-btn{width:100%;height:60px;margin-top:10px;border:0;border-radius:999px;background:#fff;color:#000;font:inherit;font-size:17px;font-weight:700;cursor:pointer}
.pfg-btn:disabled{opacity:.6;cursor:default}
.pfg-form.shake{animation:pfgShake .35s}
@keyframes pfgShake{20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}
@media(prefers-reduced-motion:reduce){.pfg-form.shake{animation:none}}
@media(max-width:860px){#pfGate{grid-template-columns:1fr}.pfg-art{display:none}.pfg-main{justify-content:flex-start;padding-top:14vh}}

.allocation-insights{--ai-accent:#C75EE2; margin:8px 0 30px; padding:26px 0 0; border-top:1px solid var(--line); color:var(--text);}
.allocation-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;}
.allocation-head h2{font-size:clamp(17px,2vw,22px);font-weight:650;letter-spacing:-.035em;margin:0;}
.allocation-head h2 span{font-size:.82em;color:var(--muted);font-weight:500;margin-left:5px;}
.allocation-modes{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--pill);flex-shrink:0;}
.allocation-modes button{display:grid;place-items:center;width:38px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;}
.allocation-modes button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.allocation-modes button[data-allocation-mode="bars"] svg{fill:currentColor;stroke:none;}
.allocation-modes button.active{background:var(--card, var(--bg));color:var(--text);box-shadow:none;}
.allocation-visual{position:relative;width:min(100%,560px);max-width:100%;min-width:0;margin:0 auto 20px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;contain:layout paint;}
#allocationRing{display:block;width:100%;height:100%;max-width:100%;overflow:visible;transform:none;}
#allocationRing .allocation-segment{stroke:var(--bg);stroke-width:2;cursor:pointer;outline:none;}
#allocationRing .allocation-segment:focus-visible{stroke:var(--text);}

.allocation-center{position:absolute;inset:28%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;pointer-events:none;}
.allocation-center{color:var(--text);inset:29%;}
.allocation-center .allocation-name{font-size:clamp(12px,1.35vw,14px);font-weight:500;letter-spacing:-.015em;color:var(--text);line-height:1.25;}
.allocation-center .allocation-tickers{font-size:14px;line-height:1.4;color:#9299a1;max-width:190px;}
@media(max-width:600px){.allocation-insights{margin-top:26px;padding-top:22px;overflow:hidden;}.allocation-head{align-items:flex-start;}.allocation-head h2{max-width:58%;line-height:1.35;}.allocation-modes button{width:33px;height:33px;}.allocation-visual{width:min(100%,360px);margin-top:5px;margin-bottom:16px;}.allocation-center{inset:29%;}.allocation-center .allocation-tickers{font-size:14px;}}

.rh-inv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 26px;}
.rh-inv-head .rh-inv-title{margin:0;}
.allocation-modes button[data-inv-view="bars"] svg{fill:currentColor;stroke:none;}
.allocation-insights .allocation-head{display:none;}
.inv-donut-slot .allocation-insights{margin:0 0 10px;padding:0;border-top:0;}

  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
  ::selection { background: rgba(0, 200, 5, .22); }
  :root[data-theme="dark"] ::selection { background: rgba(0, 200, 5, .35); }
  .pos, .neg, .amt, .chg, .pv-v, .hp-px, .hp-r, .rh-big, .rh-d, .rh-c, .m1-stat { font-variant-numeric: tabular-nums; }
  :where(button, a, input, select, [tabindex]):focus-visible { outline: 2px solid rgb(0, 200, 5); outline-offset: 2px; }
  :where(input, select, textarea):focus { border-color: rgb(0, 200, 5); }
  :where(input, select, textarea) { accent-color: rgb(0, 200, 5); caret-color: rgb(0, 200, 5); }
  :where(.rh-lime, .btn-primary, .btn2, .hp-buy, .hp-sell, .pfg-btn, .m1-act, .act):active:not(:disabled) { transform: scale(.97); }
  :where(.rh-lime, .btn-primary, .btn2, .hp-buy, .hp-sell, .pfg-btn, .m1-act, .act) { transition: transform .08s ease, filter .12s ease, background-color .12s ease; }

  :where(.rh-row, .hold-row, .m1-row, .rh-tr) { transition: background-color .12s ease; }
  .menu { border-radius: 12px; border: 1px solid var(--line); }

  .modal-box { border-radius: 16px; }
  .m1-tab { transition: color .12s ease, border-color .12s ease; }
  .pv-tab, .hp-r { transition: color .12s ease, background-color .12s ease; }

  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

  .pv-pulse { transform-box: fill-box; transform-origin: center; pointer-events: none; vector-effect: non-scaling-stroke; animation: pvPulse 1.8s ease-out infinite; }
  @keyframes pvPulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
  .rh-d { transition: none; }
  html body .rh-roll .rh-d.rh-up { color: var(--green) !important; }
  html body .rh-roll .rh-d.rh-dn { color: var(--red) !important; }
  @media (prefers-reduced-motion: reduce) { .pv-pulse { animation: none; display: none; } }

  html body #rhStockRows .rh-row .pc { justify-self: end; white-space: nowrap; cursor: pointer; }
  html body #rhStockRows[data-mode="last"] .rh-row, html body #rhStockRows[data-mode="equity"] .rh-row, html body #rhStockRows[data-mode="today"] .rh-row, html body #rhStockRows[data-mode="ret"] .rh-row { grid-template-columns: minmax(0, 1fr) 84px 122px !important; }
  html body #rhStockRows[data-mode="last"] .rh-row .pc, html body #rhStockRows[data-mode="equity"] .rh-row .pc, html body #rhStockRows[data-mode="today"] .rh-row .pc, html body #rhStockRows[data-mode="ret"] .rh-row .pc { width: 122px !important; min-width: 122px !important; }
  #rhDisp { position: fixed; inset: 0; z-index: 9999; }
  #rhDisp[hidden] { display: none; }
  .rhd-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s ease; }
  .rhd-box { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: var(--card, #fff); color: var(--text); border-radius: 16px 16px 0 0; padding: 4px 0 calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
  #rhDisp.on .rhd-bg { opacity: 1; }
  #rhDisp.on .rhd-box { transform: none; }
  .rhd-h { text-align: center; font-size: 24px; font-weight: 500; padding: 22px 24px 12px; }
  .rhd-o { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 24px; background: none; border: 0; color: inherit; font: inherit; font-size: 17px; text-align: left; cursor: pointer; }

  .rhd-o svg { width: 22px; height: 22px; flex: none; }

  html body .cards-row { gap: 10px; }
  html body .card-i { flex: 0 0 min(300px, 82%); padding: 14px 38px 14px 16px; border-radius: 12px; }
  html body .card-l { font-size: 14px; margin-bottom: 5px; }
  html body .card-t { font-size: 16.5px; line-height: 1.25; letter-spacing: -.01em; }
  html body .card-s { margin-top: 5px; font-size: 14px; }
  html body .card-x { top: 8px; right: 8px; width: 24px; height: 24px; font-size: 17px; }

  html body .m1-sec.perf-sec .pr.big b { font-size: clamp(17px, 5vw, 24px) !important; letter-spacing: -.01em; }

  html body .digest-head { margin-bottom: 22px; }

  html body #rhInv .rh-tbl .rh-tr { grid-template-columns: minmax(0, 1fr) 112px 102px !important; gap: 8px !important; }
  html body #rhInv .rh-tbl .rh-tr:not(.rh-th) > :nth-child(n+6) { font-size: 14px; white-space: nowrap; letter-spacing: -.01em; }

    html body #panel-activity .act-wrap { margin-top: 16px; }
    html body #panel-activity .act-bar h2 { font-size: 24px; }
    html body #panel-activity .act-filter select { height: 36px; padding: 0 38px 0 16px; font-size: 14px; background-position: right 14px center; }
    html body #panel-activity .act-datef { font-size: 14px; gap: 6px; }
    html body #panel-activity .act-datef input { height: 36px; padding: 0 12px; font-size: 14px; }
    html body #panel-activity .act-dl, html body #panel-activity .act-clear { font-size: 14px; }
    html body #panel-activity .act-dl svg { width: 16px; height: 16px; }
    html body #actRows .act-month { font-size: 17px; padding: 22px 0 10px; }
    html body #actRows .act-row { padding: 13px 8px; gap: 10px; }
    html body #actRows .act-main b, html body #actRows .act-row .v { font-size: 14.5px; }
    html body #actRows .act-main small, html body #actRows .act-row .v small { font-size: 14px; margin-top: 3px; }
    html body #actRows .act-row .go { font-size: 18px; }
    html body #actRows .act-more { font-size: 14px; }

    html body #panel-activity .act-bar { gap: 12px; margin-bottom: 4px; }
    html body #panel-activity .act-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1 1 100%; width: 100%; align-items: end; }
    html body #panel-activity .act-tools > :nth-child(1) { grid-column: 1; grid-row: 1; }
    html body #panel-activity .act-tools > :nth-child(5) { grid-column: 2; grid-row: 1; }
    html body #panel-activity .act-tools > :nth-child(2) { grid-column: 1; grid-row: 2; }
    html body #panel-activity .act-tools > :nth-child(3) { grid-column: 2; grid-row: 2; }
    html body #panel-activity .act-tools > :nth-child(6) { grid-column: 1; grid-row: 3; justify-self: start; }
    html body #panel-activity .act-tools > :nth-child(4) { grid-column: 2; grid-row: 3; justify-self: end; }
    html body #panel-activity .act-filter { display: block; min-width: 0; }
    html body #panel-activity .act-filter select { width: 100%; min-width: 0; text-overflow: ellipsis; }
    html body #panel-activity .act-datef { display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; }
    html body #panel-activity .act-datef span { font-size: 14px; padding-left: 4px; }
    html body #panel-activity .act-datef input { width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; }
    html body #panel-activity .act-dl { padding: 6px 0; }

  html body .ovr span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  html body #panel-holding #hpQuickStats#hpQuickStats::before { font-size: 21px; margin: 22px 0 12px; }
  html body #panel-holding #hpQuickStats .hp-stat-card h2 { font-size: 14px !important; line-height: 18px !important; margin: 0 0 2px !important; }
  html body #panel-holding #hpQuickStats .hp-stat-card .hp-stat-main { margin: 0 0 14px !important; }
  html body #panel-holding #hpQuickStats .hp-stat-card .hp-stat-main strong { font-size: 19px !important; line-height: 26px !important; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(2) > .hp-stat-row > span:first-child { font-size: 14px !important; line-height: 18px; margin-bottom: 2px; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(2) > .hp-stat-row > strong { font-size: 19px; line-height: 26px; gap: 8px; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(2) > .hp-stat-row .hp-ring { width: 18px; height: 18px; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(1) > .hp-stat-row { padding: 8px 0 !important; font-size: 15.5px; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(1) > .hp-stat-row > span:first-child { font-size: 15.5px !important; }
  html body #panel-holding #hpQuickStats .hp-stat-card:nth-of-type(1) > .hp-stat-row > strong { font-size: 15.5px; }

@media (max-width: 760px) { .rh-s { will-change: transform; backface-visibility: hidden; } }

#pvCard .pv-mk { cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
  #pvCard .pv-mk.on { box-shadow: inset 0 -2px 0 currentColor; }

.m1-chartcard .buying-power { order: 3; width: 100%; border-bottom: 1px solid var(--line); margin-top: 0; color: var(--text); }
  .buying-power-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .buying-power-label { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
  .buying-power-info { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1.5px solid var(--muted); border-radius: 50%; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1; }
  .buying-power-right { display: inline-flex; align-items: center; justify-content: flex-end; gap: 22px; }
  .buying-power-right strong { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .buying-power-chevron { display: inline-block; color: var(--text2); font-size: 24px; line-height: 1; transition: transform .18s ease; }
  .buying-power-summary[aria-expanded="true"] .buying-power-chevron { transform: rotate(180deg); }
  .buying-power-details { padding: 0 0 20px; max-width: 520px; }
  .buying-power-details label { display: block; margin-bottom: 8px; color: var(--text2); font-size: 14px; }
  .buying-power-details small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
  @media (max-width: 600px) { .buying-power-summary { padding: 18px 0; } .buying-power-label, .buying-power-right strong { font-size: 15px; } .buying-power-right { gap: 12px; } }

  #panel-holding .hp-chart-tools { display:none !important; }
  #panel-holding #hpChartTab { display:flex; flex-direction:column; }
  #panel-holding #hpChart { order:1; height:clamp(420px, calc(100vh - 300px), 680px); margin-top:8px; }
  #panel-holding #hpRanges { display:flex !important; order:2; justify-content:flex-start; align-items:center; gap:28px; margin-top:18px; border-bottom:1px solid #262626; position:relative; }
  #panel-holding #hpRanges .hp-r { padding:8px 0 13px; font-size:15px; color:#f5f5f5; text-decoration:none; }
  #panel-holding #hpRanges .hp-r.on { color:var(--green-ink); }
  #panel-holding #hpRanges .hp-r.on::after { content:""; position:absolute; height:3px; background:#00c805; bottom:-1px; left:var(--hp-range-left,0); width:var(--hp-range-width,24px); }
  #panel-holding #hpQuickStats { order:3; }
  #panel-holding #hpRangeChg { display:none !important; }
  #panel-holding .hp-chart svg path[fill^="url"] { display:none !important; }

    #panel-holding #hpChart { height:340px; }
    #panel-holding #hpRanges { justify-content:space-between; gap:8px; margin-top:14px; }
    #panel-holding #hpRanges .hp-r { font-size:14px; }

#dvDetail { max-width: none; width: 100%; padding-top: 6px; }
  #dvDetail .hp-back { margin: 24px 0 18px; }
  .dvd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
  .dvd-t { margin: 0; font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
  .dvd-sh { margin-top: 12px; font-size: 17px; color: var(--muted); }
  .dvd-view { border: 1.5px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer; }

  .dvd-rows { margin-top: 28px; }
  .dvd-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 17px; }
  .dvd-row span { font-weight: 500; } .dvd-row b { font-weight: 500; white-space: nowrap; }
  .dvd-h { margin: 44px 0 6px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
  .dvd-hrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .dvd-hrow small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; } .dvd-hrow b { font-weight: 500; } .dvd-hrow b.proj { color: var(--muted); }
  .dvd-empty { padding: 18px 0; color: var(--muted); border-top: 1px solid var(--line); }
   .dvd-t { font-size: 34px; } .dvd-row { padding: 20px 0; font-size: 16px; }

  #panel-dividends { padding-top: 18px; }
  .dv-wrap { max-width: none; width: 100%; }
  .dvt-title { margin: 28px 0 0; font-size: 34px; font-weight: 500; letter-spacing: -.025em; }

  .dvt { margin-top: 26px; }
  .dvt-years {
    position: relative; isolation: isolate; display: flex; max-width: none; padding: 4px; border-radius: 999px;
    background: linear-gradient(180deg, rgba(46,48,51,.22), rgba(22,24,26,.28));
    border: 1px solid rgba(255,255,255,.075);
    -webkit-backdrop-filter: blur(10px) saturate(1.05); backdrop-filter: blur(10px) saturate(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.18);
  }
  .dvt-years::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,0) 58%); }
  .dvt-years::after {
    content: ""; position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: var(--dvt-pill-width, calc(100% - 8px)); transform: translateX(var(--dvt-pill-shift, 0px));
    border-radius: 999px; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.58));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), inset 0 -1px 1px rgba(0,0,0,.32);
    transition: transform .42s cubic-bezier(.3,1.25,.4,1), width .3s ease;
  }
  :root:not([data-theme="dark"]) .dvt-years::after { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.48)); box-shadow: inset 0 1px 0 rgba(255,255,255,.76), inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.1); }
  .dvt-y { position: relative; z-index: 2; flex: 1 1 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 500; padding: 11px 6px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
  .dvt-y.on { background: transparent; box-shadow: none; color: var(--text); font-weight: 600; }
  :root:not([data-theme="dark"]) .dvt-y.on { color: #111; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .dvt-years { background: rgba(27,29,31,.96); }
    :root:not([data-theme="dark"]) .dvt-years { background: rgba(246,247,248,.97); }
  }
  @media (prefers-reduced-transparency: reduce) {
    .dvt-years { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .dvt-years::before { display: none; }
    :root[data-theme="dark"] .dvt-years::after { background: #2e3236; box-shadow: none; }
    :root:not([data-theme="dark"]) .dvt-years::after { background: #fff; box-shadow: none; }
  }
  @media (prefers-reduced-motion: reduce) { .dvt-years::after { transition: none; } }
  .dvt-hero { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 46px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
  .dvt-i { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.8px solid var(--muted); border-radius: 50%; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; cursor: help; }
  .dvt-sub { margin-top: 10px; font-size: 17px; color: var(--text); } .dvt-sub b { font-weight: 600; } .dvt-sub.g { color: var(--green-ink); }
  .dvt-legend { display: flex; justify-content: flex-end; gap: 28px; margin-top: 6px; font-size: 15px; color: var(--text2); }
  .dvt-legend span { display: inline-flex; align-items: center; gap: 10px; } .dvt-legend i { width: 26px; height: 4px; border-radius: 2px; background: var(--green); } .dvt-legend i.p { background: #8b949c; }
  .dv-chart { margin-top: 10px; }
  .dvt-pos { margin-top: 30px; padding-top: 30px; }
  .dvt-poshead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
  .dvt-poshead h2 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
  .dvt-count { margin-top: 8px; color: var(--muted); font-size: 16px; }
  .dvt-sort { position: relative; }
  .dvt-sort > button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }

  .dvt-menu { position: absolute; right: 0; top: 54px; z-index: 20; min-width: 200px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); box-shadow: none; }
  .dvt-menu[hidden] { display: none; }
  .dvt-menu-t { padding: 6px 10px 8px; font-size: 14px; color: var(--muted); }
  .dvt-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; padding: 10px; border-radius: 8px; cursor: pointer; }

  #dvHoldings { margin-top: 14px; }
  .dvt-prow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); cursor: pointer; }
  #dvHoldings .dvt-prow:first-child { border-top: 0; }

  .dvt-pt { font-size: 19px; font-weight: 400; } .dvt-pt.proj { color: var(--muted); } .dvt-ps { margin-top: 8px; font-size: 16px; color: var(--muted); } .dvt-pr { text-align: right; }
   .dvt-hero { font-size: 38px; } .dvt-y { font-size: 14px; padding: 10px 2px; } .dvt-poshead h2 { font-size: 26px; }

  #panel-dividends .dvt { margin-top: 22px; }
  #panel-dividends .dvt-hero { margin-top: 0; }
  #panel-dividends #dvYears { margin-top: 18px; }

  #panel-dividends .dv-up h2 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
  #panel-dividends .dv-up .dvt-count { margin-top: 8px; }
   #panel-dividends .dv-up h2 { font-size: 26px; }
  #panel-dividends .dv-table { border: 0; border-radius: 0; overflow: visible; margin-top: 14px; }
  #dvTable .dvt-prow, #dvEarned .dvt-prow { cursor: default; }
  #dvTable .dvt-prow:first-child, #dvEarned .dvt-prow:first-child { border-top: 0; }

  #panel-dividends .dv-x { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

  #panel-dividends .dv-empty { border-top: 0; padding: 14px 0; color: var(--muted); }
  #panel-dividends .dv-more { padding: 16px 0 0; color: var(--text); font-weight: 600; text-decoration: underline; }

  #panel-dividends .dvt-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-top: 20px; }
  #panel-dividends .dvt-y { font-size: 14px; font-weight: 600; padding: 9px 4px; }
  #panel-dividends .dvt-hero { font-size: 34px; font-weight: 500; letter-spacing: -.02em; gap: 10px; }
  #panel-dividends .dvt-i { width: 28px; height: 28px; font-size: 14px; border-width: 1.5px; flex: none; }
  #panel-dividends .dvt-sub { font-size: 16px; margin-top: 8px; }
  #panel-dividends .dvt-legend { font-size: 14px; gap: 22px; }
  #panel-dividends .dvt-legend i { width: 20px; height: 3px; }
  #panel-dividends .dvt-poshead h2, #panel-dividends .dv-up h2 { font-size: 22px; font-weight: 500; letter-spacing: -.4px; }
  #panel-dividends .dvt-count { font-size: 14px; margin-top: 4px; }
  #panel-dividends .dvt-sort > button { width: 40px; height: 40px; }
  #panel-dividends .dvt-pos { margin-top: 24px; padding-top: 24px; }
  #panel-dividends #dvHoldings, #panel-dividends .dv-table { margin-top: 8px; }
  #panel-dividends .dvt-prow { padding: 14px 0; gap: 12px; }
  #panel-dividends .dvt-pt { font-size: 16px; font-weight: 500; }
  #panel-dividends .dvt-ps { font-size: 14px; margin-top: 4px; }
  #panel-dividends .dv-note { font-size: 14px; line-height: 1.5; margin-top: 8px; }
  #panel-dividends .dv-up { margin-top: 32px; }
  #panel-dividends .dv-empty, #panel-dividends .dv-more { font-size: 14px; }
  #panel-dividends .dv-chart { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  #panel-dividends .dv-chart svg, #panel-dividends .dv-chart svg text { -webkit-user-select: none; user-select: none; pointer-events: none; }

    #panel-dividends .dvt-hero { font-size: 34px; }
    #panel-dividends .dvt-y { font-size: 14px; padding: 9px 2px; }
    #panel-dividends .dvt-poshead h2, #panel-dividends .dv-up h2 { font-size: 22px; }

#panel-activity .act-tools { flex-wrap: wrap; gap: 14px; }
  .act-datef { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
  .act-datef input { height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--pill); color: var(--text); font: inherit; font-size: 15px; }
  :root[data-theme="dark"] .act-datef input { color-scheme: dark; }
  .act-clear { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: underline; cursor: pointer; }
  .act-clear[hidden] { display: none; }

  #panel-funding .m1-narrow { max-width: none; width: 100%; }
  #panel-funding .fd-title { margin: 28px 0 8px; font-size: 34px; font-weight: 500; letter-spacing: -.025em; }
  #panel-funding .h-head { margin: 40px 0 6px !important; align-items: baseline; }
  #panel-funding .h-head h2 { font-size: 24px; font-weight: 500; letter-spacing: -.015em; }
  #panel-funding .h-head .status { font-size: 15px; color: var(--muted); }
  html body #panel-funding .card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; padding: 26px 0 8px; }
  #panel-funding .div-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
  #panel-funding .fld span { display: block; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
  #panel-funding .fld input, #panel-funding .fld select { height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: inherit; font-size: 17px; }
  #panel-funding .fld input:focus, #panel-funding .fld select:focus { outline: none; border-color: var(--text); }
  #panel-funding .addbtn { height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: rgb(0, 200, 5); color: #002500; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }

  #panel-funding .pmsg { flex-basis: 100%; font-size: 14px; color: var(--muted); }
  #panel-funding .bk-row { display: flex; flex-wrap: wrap; gap: 12px; }
  #panel-funding .btn2 { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1.5px solid var(--line); border-radius: 999px; background: none; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

  #panel-funding .bk-note { margin-top: 18px; max-width: 760px; font-size: 15px; line-height: 1.55; color: var(--muted); }
  .bp-edit { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
  #buyingPowerDetails small { display: block; }

.cards-sec { margin: 30px 0 12px; }
  .cards-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 6px; scrollbar-width: none; }
  .cards-row::-webkit-scrollbar { display: none; }
  .card-i { position: relative; flex: 0 0 min(460px, 90%); scroll-snap-align: start; padding: 26px 56px 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }

  .card-l { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
  .card-t { font-size: 23px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
  .card-s { margin-top: 12px; font-size: 15px; color: var(--muted); }
  .card-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }

.hp-tx-card { position: absolute; z-index: 6; width: 252px; box-sizing: border-box; padding: 14px 16px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: none; user-select: text; font-size: 14px; }
  .hp-tx-title { font-size: 17px; font-weight: 500; padding-right: 22px; }
  .hp-tx-date { color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
  .hp-tx-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
  .hp-tx-row span { color: var(--muted); white-space: nowrap; } .hp-tx-row strong { font-weight: 500; text-align: right; white-space: nowrap; }
  .hp-tx-row strong.pos { color: var(--green-ink); } .hp-tx-row strong.neg { color: var(--red, #ff5000); }
  .hp-tx-note { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.4; }
  .hp-tx-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }

  .hp-tx-dot:focus { outline: none; } .hp-tx-dot:focus-visible circle:last-child { stroke-width: 3.5; }

.digest-sec .mv-sub { color: var(--muted); font-size: 15px; }
  .digest-head { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
  .digest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .dg-tile { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-align: left; background: none; color: var(--text); font: inherit; min-width: 0; display: block; }
  button.dg-tile { cursor: pointer; }
  .dg-tile small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
  .dg-tile b { display: block; font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dg-tile span { display: block; font-size: 14px; margin-top: 3px; color: var(--muted); }
  .dg-tile span.pos { color: var(--green-ink); } .dg-tile span.neg { color: var(--red, #ff5000); }
  .digest-foot { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
   .digest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .digest-head { font-size: 19px; }

.why-box { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }

.recent-sec .ra-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
  .recent-sec .ra-main b, .recent-sec .ra-v { display: block; font-size: 16px; font-weight: 500; }
  .recent-sec .ra-main { min-width: 0; } .recent-sec .ra-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .recent-sec .ra-main small, .recent-sec .ra-v small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
  .recent-sec .ra-v { text-align: right; white-space: nowrap; }
  .recent-sec .ra-empty { padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
  .recent-sec .m1-link { color: var(--text); }

  html body #donutCard .rh-title { margin-bottom: 14px !important; }
  html body #donutCard .m1-center .chg { font-size: 18px !important; font-weight: 600 !important; margin-top: 2px !important; line-height: 1.3 !important; }
  html body #donutCard .m1-center .chg .rl { font-weight: 400 !important; margin-left: 4px; }

  html body .m1-tabs .m1-tab[data-tab="portfolio"] { display: none !important; }

  html body .m1-nav, html body .m1-tabs, html body .m1-top { border-bottom: 0 !important; box-shadow: none !important; }

  html body .side-logo { position: relative; background: transparent !important; color: #000; transition: color .3s ease; }
  :root[data-theme="dark"] body .side-logo { color: #fff; }
   html body .side-logo:focus-visible, :root[data-theme="dark"] body .side-logo:focus-visible { color: var(--green-ink); transition: color .12s ease; }
  html body .side-logo[data-mask] img { opacity: 0; }
  html body .side-logo[data-mask]::before { content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 31px; background: currentColor;
    -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat; pointer-events: none; }
   html body .side-logo[data-mask]::before { width: 20px; height: 26px; }

.rh-sec.nr { grid-template-columns: minmax(0, 1fr); }
  .ov { --ov-edge: rgba(0,0,0,.42); }
  .ov-svg { filter: drop-shadow(0 8px 8px rgba(0,0,0,.13)); display: block; width: 100%; height: auto; overflow: visible; margin: 4px 0 10px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .ov.focus .ov-svg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .ov .blk { cursor: pointer; transition: transform .6s cubic-bezier(.22,.8,.24,1), filter .25s ease; }
  .ov .blk .solid { transition: opacity .45s ease, transform .25s ease; }
  .ovr { transition: opacity .2s ease, background .15s ease; }
  .ovr .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 10px; vertical-align: 1px; }
  .ov .blk .solid, .ov .blk .wire { transition: opacity .45s ease; }
  .ov .blk .wire { opacity: 0; }
  .ov.focus .blk:not(.sel) .solid { opacity: 0; }
  .ov.focus .blk:not(.sel) .wire { opacity: 1; }
  .ovr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; padding: 22px 0 20px; cursor: pointer; font-size: 18px; animation: ovin .35s ease both; border-radius: 8px; outline: none; }
   .ovr:focus-visible { background: var(--pill, rgba(127,127,127,.1)); }
  .ovr > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .ovr > div:nth-child(2) { align-items: flex-end; text-align: right; }
  .ovr b { font-weight: 700; }
  .ovr span { color: var(--muted); font-size: 16px; }
  .ovr span.t { color: var(--text); font-size: 18px; font-weight: 500; }
  .ovr .bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .ovr .bar u { display: block; height: 100%; border-radius: 2px; transition: width .5s ease; }
  .ovr.head { padding-bottom: 14px; }
  .ovr.sub.head { padding-bottom: 14px; }
  @keyframes ovin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .ov .blk, .ov .blk .solid, .ov .blk .wire, .ovr { transition: none; animation: none; } }

  .ov-glow .gk { opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.22,.8,.24,1); }
  .ov-glow ellipse { filter: url(#ov-blur); }
  :root[data-theme="dark"] .ov-glow .gk { opacity: .5; mix-blend-mode: screen; }
  :root[data-theme="dark"] .ov.focus .ov-glow .gk:not(.sel) { opacity: .07; }
  :root[data-theme="dark"] .ov.focus .ov-glow .gk.sel { opacity: .8; }
  :root[data-theme="dark"] .ov-svg { filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)) drop-shadow(0 2px 5px rgba(0,0,0,.4)); }
  #invDonutSlot, .ov { animation: ovin .4s ease both; }

  #rhInv .rh-big { position: relative; }
  :root[data-theme="dark"] #rhInv .rh-big::before { content: ""; position: absolute; left: -8%; right: 40%; top: -40%; bottom: -30%; background: radial-gradient(ellipse 60% 70% at 30% 55%, rgba(168,85,247,.16), transparent 72%); filter: blur(24px); z-index: -1; pointer-events: none; }

  #rhInv .inv-view-modes { transition: box-shadow .3s ease, background .3s ease; }
  #rhInv .inv-view-modes button { transition: background .3s ease, box-shadow .3s ease, color .3s ease, transform .18s ease; }
  #rhInv .inv-view-modes button.active { box-shadow: inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi), 0 0 10px -2px rgba(168,85,247,.5) !important; }
  :root[data-theme="dark"] #rhInv .inv-view-modes button.active { box-shadow: inset 0 0 0 1px rgba(168,85,247,.45), inset 0 1px 0 var(--lg-hi), 0 0 14px -2px rgba(168,85,247,.6) !important; }

  .trade-done { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 26px clamp(24px, 8vw, 140px) 40px; color: #000; overflow-y: auto; animation: tdin .35s ease both; }
  .trade-done.buy { background: #CCFF00; }
  .trade-done.sell { background: rgb(255, 80, 0); }
  .trade-done.out { animation: tdout .22s ease both; }
  .td-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .td-logo { height: 40px; width: auto; display: block; }
  .td-x { background: rgba(0,0,0,.14); border: 0; color: #000; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
  .td-body { width: min(760px, 100%); text-align: left; margin: auto 0; }
  .td-body h2 { font-size: clamp(38px, 6vw, 58px); letter-spacing: -.035em; margin: 0 0 6px; }
  .td-body p { margin: 0 0 30px; opacity: .9; font-size: 18px; }
  .td-card { text-align: left; }
  .td-row { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; font-size: clamp(18px, 2vw, 22px); border-bottom: 1px solid rgba(0,0,0,.28); }
  .td-row:first-child { border-top: 1px solid rgba(0,0,0,.28); }
  .td-row span { opacity: .7; } .td-row b { font-weight: 600; text-align: right; }
  .td-done { width: 180px; max-width: 100%; height: 44px; border: 0; border-radius: 22px; background: #fff; color: #000; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 30px; }
  @keyframes tdin { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
  @keyframes tdout { to { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .trade-done { animation: none; } }

.allocation-center.can-open { pointer-events: auto; cursor: pointer; }

  .dv-up { margin-top: 60px; }
  .dv-up h2 { margin: 0 0 24px; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
  .dv-table { border: 0; border-radius: 0; overflow: visible; }
    .dv-table .dv-empty { padding: 26px 0; font-size: 16px; border-top: 1px solid var(--line); }
  .dv-more { color: var(--green-ink); font-size: 16px; font-weight: 700; padding: 22px 0 0; }
  @media (max-width: 900px) {  .dv-up h2 { font-size: 26px; } }

  .logo, .logo-btn, #hpLogo { display: none !important; }
  .tg-row { grid-template-columns: minmax(0, 1fr) 110px; }
  .rb-row { grid-template-columns: minmax(0, 1fr) auto; }
  .asset { padding-left: 4px; }

  #hvOverview .h-head:not(.m1-hh) h2 { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
  #hvOverview .h-head .status.hint { font-size: 14px; color: var(--muted); }
  #hvOverview .linkbtn { color: var(--green-ink); font-weight: 700; }
  #hvOverview .table-card:has(#posRows) { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  #hvOverview .table-card:has(#posRows) .table { overflow: visible; }
  #hvOverview .prow { margin: 0 -22px; padding: 0 22px; border-top: 1px solid var(--line); min-height: 88px; }

  #hvOverview .prow.phead { min-height: 0; padding-top: 0; padding-bottom: 14px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
  #hvOverview .prow.phead + #posRows .prow:first-child { border-top: 0; }
  #hvOverview .prow.phead > div:first-child { padding-left: 0 !important; }
  #hvOverview .prow .asset { padding: 16px 10px 16px 0; }
  #hvOverview .prow .tk { font-size: 16px; font-weight: 700; }
  #hvOverview .prow .nm { font-size: 14px; color: var(--muted); margin-top: 4px; }
  #hvOverview .pin { height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; padding: 0 14px; font-size: 15px; font-variant-numeric: tabular-nums; }

  #hvOverview .pin:focus { border-color: var(--green); background: transparent; }
  #hvOverview .pinv { font-size: 16px; font-weight: 700; padding-right: 0; font-variant-numeric: tabular-nums; }
  #hvOverview .prow .d-del { font-size: 22px; }

  #hvOverview #posForm { padding: 28px 0 8px; border-top: 1px solid var(--line) !important; }
  #hvOverview #posForm .fld select, #hvOverview #posForm .fld input { border: 1px solid var(--line); border-radius: 8px; background-color: transparent; }

  #hvOverview #posForm .fld select:focus, #hvOverview #posForm .fld input:focus { border-color: var(--green); background-color: transparent; }
  #hvOverview #posForm .addbtn { background: var(--green); color: #000; font-weight: 700; }
   #hvOverview .prow { margin: 0 -8px; padding: 14px 8px; }

.how { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; margin-left:4px; border:1px solid var(--muted); border-radius:50%; font:600 10px/1 inherit; color:var(--muted); cursor:pointer; vertical-align:middle; user-select:none; }
   .how:focus-visible { color:var(--text); border-color:var(--text); outline:none; }
  .how-pop { position:fixed; z-index:9999; max-width:300px; padding:12px 14px; border-radius:12px; background:var(--surface); color:var(--text); border:1px solid var(--line); box-shadow:none; font-size:14px; line-height:1.45; font-weight:400; }
  #pvCard .pv-mk .pv-mk-next { font-size:.9em; font-weight:500; opacity:.85; }
  @media (max-width:520px) { #pvCard .pv-mk .pv-mk-next { display:none; } }
  .ovr-note { padding:2px 0 14px; font-size:14px; color:var(--muted); }
  .hold-chips { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
  .hchip { display:inline-flex; align-items:center; gap:8px; height:34px; padding:0 14px; border:0; border-radius:999px; background:var(--pill, var(--surface)); color:var(--text); font:500 14px inherit; cursor:pointer; }
  .hchip span { color:var(--muted); font-size:14px; }
  .hchip.on { background:var(--text); color:var(--bg); }
  .hchip.on span { color:inherit; opacity:.7; }
  .row-empty { padding:28px 20px; color:var(--muted); text-align:center; }

.ai-box { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
  .ai-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
  .ai-bar .ai-t { font-weight:600; margin-right:6px; }
  .ai-seg, .ai-go, .ai-set { height:32px; padding:0 14px; border:0; border-radius:999px; background:var(--pill, var(--surface)); color:var(--text); font:500 13.5px inherit; cursor:pointer; }
  .ai-seg.on, .ai-go { background:var(--text); color:var(--bg); }
  .ai-go[disabled] { opacity:.55; cursor:default; }
  .ai-set { margin-left:auto; color:var(--muted); }
  .ai-out { margin-top:14px; font-size:15px; line-height:1.55; }
  .ai-out p { margin:0 0 10px; }
  .ai-out .ai-busy { display:flex; align-items:center; gap:10px; }
  .ai-out .ai-busy .ai-hint { margin:0; }
  .ai-out .ai-orb { display:inline-flex; width:20px; height:20px; flex:none; }
  .ai-out .ai-hint, .ai-out .ai-fine { color:var(--muted); font-size:14px; }
  .ai-out .ai-err { color:var(--red, #ff5000); }

  .ai-listen { display:inline-flex; align-items:center; gap:8px; height:32px; padding:0 14px 0 11px; border:0; border-radius:999px; background:var(--pill, var(--surface)); color:var(--text); font-family:inherit; font-size:14px; font-weight:500; cursor:pointer; transition:background-color .15s, color .15s, opacity .15s, transform .12s; }

  .ai-listen:active:not([disabled]) { transform:scale(.97); }
  .ai-listen[disabled] { opacity:.55; cursor:default; }
  .ai-listen:focus-visible, .av button:focus-visible, .av-bar:focus-visible { outline:2px solid var(--green); outline-offset:2px; }
  .ai-listen .av-ic { flex:none; color:var(--green-ink); }
  .ai-listen.on { background:rgba(0,200,5,.14); color:var(--green-ink); }

  .av-ic rect { transform-box:fill-box; transform-origin:50% 50%; }
  .is-playing .av-ic rect, .av[data-s="playing"]:not(.buf) .av-eq rect { animation:avEq 1.05s ease-in-out infinite; }
  .is-playing .av-ic rect:nth-child(2), .av[data-s="playing"] .av-eq rect:nth-child(2) { animation-delay:-.35s; }
  .is-playing .av-ic rect:nth-child(3), .av[data-s="playing"] .av-eq rect:nth-child(3) { animation-delay:-.7s; }
  .is-playing .av-ic rect:nth-child(4), .av[data-s="playing"] .av-eq rect:nth-child(4) { animation-delay:-.15s; }
  @keyframes avEq { 0%,100% { transform:scaleY(.55); } 50% { transform:scaleY(1.5); } }

  .av { position:fixed; z-index:88; left:14px; right:14px; bottom:calc(max(8px, env(safe-area-inset-bottom) - 20px) + 76px); padding:12px 14px 10px 12px; border-radius:24px; color:var(--text); background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 60%), rgba(24,27,31,.86); -webkit-backdrop-filter:blur(22px) saturate(1.6); backdrop-filter:blur(22px) saturate(1.6); box-shadow:0 10px 34px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.07); opacity:0; transform:translateY(10px) scale(.985); transition:opacity .22s ease, transform .22s ease; --av-trk:rgba(255,255,255,.14); }
  .av.in { opacity:1; transform:none; }
  .av[hidden] { display:none !important; }
  :root:not([data-theme="dark"]) .av { background:linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.4)), rgba(246,247,248,.92); box-shadow:0 10px 34px rgba(0,0,0,.2), inset 0 0 0 1px rgba(0,0,0,.06); --av-trk:rgba(0,0,0,.1); }

  html body:has(#phTrade.show) .av { bottom:calc(max(8px, env(safe-area-inset-bottom) - 20px) + 156px); }

  html body:has(.modal:not([hidden])) .av { display:none !important; }

  .av-top { display:flex; align-items:center; gap:10px; }
  .av-play { position:relative; flex:none; width:44px; height:44px; border:0; border-radius:50%; background:var(--green); color:#000; display:grid; place-items:center; cursor:pointer; transition:transform .12s, filter .15s, opacity .15s; }

  .av-play:active:not([disabled]) { transform:scale(.94); }
  .av-play[disabled] { cursor:default; }
  .av-play svg { width:20px; height:20px; display:block; }
  .av .i-pause, .av .i-replay, .av .i-spin { display:none; }
  .av[data-s="playing"] .i-play, .av[data-s="loading"] .i-play, .av[data-s="ended"] .i-play, .av[data-s="error"] .i-play { display:none; }
  .av[data-s="playing"] .i-pause { display:block; }
  .av[data-s="ended"] .i-replay, .av[data-s="error"] .i-replay { display:block; }
  .av[data-s="loading"] .i-spin { display:block; }
  .av .i-spin, .av.buf .av-play::after { width:20px; height:20px; box-sizing:border-box; border-radius:50%; border:2.5px solid rgba(0,0,0,.22); border-top-color:#000; animation:avSpin .8s linear infinite; }
  .av.buf .av-play::after { content:""; position:absolute; inset:11px; width:auto; height:auto; background:var(--green); }
  @keyframes avSpin { to { transform:rotate(360deg); } }

  .av-meta { flex:1; min-width:0; }
  .av-t { display:flex; align-items:center; gap:7px; font-size:14px; font-weight:600; line-height:1.2; }
  .av-t .av-eq { flex:none; color:var(--green-ink); }
  .av-s { margin-top:3px; font-size:14px; line-height:1.3; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .av[data-s="error"] .av-s { color:var(--red-ink); white-space:normal; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
  .av[data-s="error"] .av-eq { color:var(--red-ink); }

  .av-spd { flex:none; display:flex; padding:2px; border-radius:999px; background:var(--pill); }
  .av-spd button { height:26px; padding:0 8px; border:0; border-radius:999px; background:none; color:var(--muted); font-family:inherit; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; cursor:pointer; transition:background-color .15s, color .15s; }
  .av-spd button[aria-pressed="true"] { background:var(--text); color:var(--bg); }
  .av-stop { flex:none; width:32px; height:32px; margin-right:-4px; border:0; border-radius:50%; background:none; color:var(--muted); display:grid; place-items:center; cursor:pointer; transition:background-color .15s, color .15s; }
  .av-stop svg { width:18px; height:18px; }

  .av-bot { display:flex; align-items:center; gap:10px; margin-top:6px; font-size:14px; color:var(--muted); font-variant-numeric:tabular-nums; }
  .av-cur, .av-rem { flex:none; min-width:34px; }
  .av-rem { text-align:right; }
  .av-bar { position:relative; flex:1; height:24px; cursor:pointer; touch-action:none; outline:none; -webkit-tap-highlight-color:transparent; }
  .av-trk { position:absolute; left:0; right:0; top:50%; height:4px; margin-top:-2px; border-radius:2px; background:var(--av-trk); overflow:hidden; }
  .av-fill { display:block; height:100%; width:0; border-radius:2px; background:linear-gradient(90deg, rgb(0,200,5), rgb(84,232,90)); transition:width .25s linear; }
  .av.drag .av-fill { transition:none; }
  .av[data-s="loading"] .av-fill { width:35% !important; animation:avInd 1.15s ease-in-out infinite; }
  @keyframes avInd { 0% { transform:translateX(-100%); } 100% { transform:translateX(300%); } }
  .av-thumb { position:absolute; top:50%; left:0; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:var(--text); box-shadow:none; opacity:0; transition:opacity .15s; pointer-events:none; }
  .av-bar:hover .av-thumb, .av-bar:focus-visible .av-thumb, .av.drag .av-thumb { opacity:1; }

  .av[data-s="loading"] .av-thumb, .av[data-s="error"] .av-thumb { opacity:0 !important; }
  @media (max-width:400px) { .av-spd button { padding:0 6px; font-size:14px; } .av-top { gap:8px; } }
  @media (prefers-reduced-motion:reduce) {
    .av, .av-fill, .av-thumb { transition:none; }
    .is-playing .av-ic rect, .av[data-s="playing"] .av-eq rect, .av .i-spin, .av.buf .av-play::after, .av[data-s="loading"] .av-fill { animation:none; }
  }

html body .rv { transform: translateY(6px); transition-duration: .16s !important; transition-delay: 0ms !important; }
html body .rv.in { transform: none; }
html body .m1-panel:not([hidden]) { animation-duration: .08s !important; }
html body, html body .card, html body .chip, html body .menu { transition-duration: .08s !important; }
html body .m1-tabs .m1-tab, html body .rh-lime, html body .pv-tab, html body .hp-r { transition-duration: .08s !important; }
html body .addbtn, html body .btn2, html body .btn-primary, html body .pf-caret, html body .m1-act i { transition-duration: .08s !important; }
button, a, select, input, label, [role="button"], .rh-row, .sl-row, .rh-tr, .prow { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.cls-btn{font:inherit;font-size:14px;height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--line,#ddd);background:var(--card,#fff);color:var(--text,#111);cursor:pointer;text-align:left;white-space:nowrap}

.cls-tag{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;border:1px solid var(--line,#ddd);background:none;color:var(--text2,#777);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}

.cls-pop{position:absolute;z-index:9999;background:var(--card,#fff);color:var(--text,#111);border:1px solid var(--line,#ddd);border-radius:14px;padding:14px;box-shadow:none}
.cls-h{font-size:14px;font-weight:700;margin:2px 0 8px;color:var(--text2,#666)}.cls-h small{font-weight:400}
.cls-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.cls-row.dis{opacity:.55}
.cls-chip{font:inherit;font-size:14px;padding:6px 11px;border-radius:999px;border:1px solid var(--line,#ddd);background:none;color:var(--text,#111);cursor:pointer}
.cls-chip.on{background:var(--text,#111);color:var(--card,#fff);border-color:var(--text,#111)}
.cls-act{display:flex;justify-content:space-between;gap:8px;margin-top:2px}
.cls-auto,.cls-ok{font:inherit;font-size:14px;padding:7px 14px;border-radius:10px;cursor:pointer;border:1px solid var(--line,#ddd);background:none;color:var(--text,#111)}
.cls-ok{background:var(--text,#111);color:var(--card,#fff);border-color:var(--text,#111)}

#actRows .act-viewmore { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 0 8px; }
#actRows .act-viewmore button { height: 44px; padding: 0 32px; border: 1px solid var(--rh-field-border, var(--line2)); border-radius: 36px; background: transparent; color: var(--text); font-family: var(--rh-font-label, inherit) !important; font-size: 16px; font-weight: 400; cursor: pointer; transition: background-color .08s, transform .08s; }

#actRows .act-viewmore button:active { transform: scale(.97); }
#actRows .act-viewmore button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
#actRows .act-viewmore small { font-size: 14px; color: var(--muted); }

html body #pvCard[data-dir="down"] .pv-tabs .pv-tab.on { color: var(--red-ink) !important; border-bottom-color: var(--red) !important; }
html body #pvCard[data-dir="up"] .pv-tabs .pv-tab.on { color: var(--green-ink) !important; border-bottom-color: var(--green) !important; }

#centerVal .chg { cursor: pointer; }
#pvWhy { position: absolute; z-index: 600; width: min(760px, calc(100vw - 24px)); box-sizing: border-box; background: var(--card); padding: 14px 16px; border: 1px solid var(--rh-field-border, var(--line)); border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--text2); overflow-x: auto; }
#pvWhy .why-t { font-weight: 500; color: var(--text); margin-bottom: 8px; }
#pvWhy table { border-collapse: collapse; width: 100%; min-width: 560px; }
#pvWhy th, #pvWhy td { text-align: right; padding: 5px 10px 5px 0; white-space: nowrap; }
#pvWhy th:first-child, #pvWhy td:first-child { text-align: left; }
#pvWhy th { font-weight: 400; color: var(--muted); }
#pvWhy .why-s { margin-top: 10px; }

#phMore, #phQuick, #phTrade, #phOrderScrim { display: none; }
html body #m1Tabs .m1-tab.ph-more { display: none !important; }

  html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; overflow-x: clip; }
  html body { background: var(--bg); padding: 0 !important; margin: 0 !important; }
  html body .m1 { padding: calc(env(safe-area-inset-top) + 14px) 20px calc(118px + env(safe-area-inset-bottom)) !important; max-width: 100vw; width: 100%; box-sizing: border-box; }
  html body #panel-portfolio .m1-grid > *, html body #panel-portfolio .m1-right > * { min-width: 0 !important; max-width: 100%; }
  html body #panel-portfolio #pvCard { max-width: none; }

  html body #panel-portfolio .m1-grid { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "hd" "main" "side" !important; gap: 0 !important; padding-top: 6px !important; }
  html body #panel-portfolio .rh-side { grid-row: auto !important; position: static !important; margin-top: 26px; }

  html body .m1-top { display: block !important; position: static !important; margin: 0 !important; padding: 0 !important; background: transparent; }
  html body .m1-nav { display: block !important; padding: 0 !important; }
  html body .m1-util { display: none !important; }
  html body #sideLogo { display: none !important; }

  html body #m1Tabs { position: fixed !important; left: 14px !important; right: 14px !important; top: auto !important; bottom: max(8px, calc(env(safe-area-inset-bottom) - 20px)) !important; width: auto !important; height: 66px !important; margin: 0 !important; padding: 6px !important; gap: 4px !important; z-index: 90; display: flex !important; flex-direction: row !important; align-items: stretch !important; justify-content: space-between !important; overflow: visible !important; border: 0 !important; border-radius: 999px !important; }
  html body #m1Tabs .m1-tab { display: none !important; flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; height: auto !important; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 999px !important; align-items: center; justify-content: center !important; color: var(--muted) !important; background: transparent !important; position: relative; }
  html body #m1Tabs .m1-tab[data-tab="portfolio"], html body #m1Tabs .m1-tab[data-tab="digests"], html body #m1Tabs .m1-tab[data-tab="funding"], html body #m1Tabs .m1-tab.ph-more { display: flex !important; }
  html body #m1Tabs .m1-tab .side-ic { display: block !important; width: 26px !important; height: 26px !important; stroke-width: 1.9; }
  html body #m1Tabs .m1-tab .lbl { display: none !important; }
  html body #m1Tabs .m1-tab.on, html body #m1Tabs .m1-tab.ph-on { color: var(--text) !important; border: 0 !important; }
  html body #m1Tabs .m1-tab::after { display: none !important; }

  html body #m1Tabs .m1-tab[data-tab="portfolio"] { order: 1; } html body #m1Tabs .m1-tab[data-tab="digests"] { order: 2; }  html body #m1Tabs .m1-tab[data-tab="funding"] { order: 4; } html body #m1Tabs .m1-tab.ph-more { order: 5; }

  html body #panel-portfolio .m1-grid { display: flex !important; flex-direction: column; align-items: stretch !important; }
  html body #panel-portfolio .m1-right { display: contents !important; }
  html body #panel-portfolio .m1-right > * { order: 5; }
  html body #panel-portfolio #donutCard { order: 0; }
  html body #panel-portfolio #pvCard { order: 1; }
  html body #panel-portfolio #cardsSection { order: 2; }
  html body #panel-portfolio .rh-side { order: 3; margin-top: 8px; }

  html body #donutCard { padding: 10px 0 0 !important; }
  html body #donutCard .rh-title { font-size: 18px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; margin: 0 0 14px !important; justify-content: flex-start !important; gap: 10px; flex-wrap: nowrap; }
  html body #donutCard .rh-title .rh-pick { font-size: inherit; white-space: nowrap; width: auto !important; height: auto !important; }
  html body #donutCard .rh-title svg { width: 18px !important; height: 18px !important; }
  html body #donutCard .m1-center .amt { font-size: 34px !important; line-height: 1.1 !important; letter-spacing: -0.03em !important; }
  html body #donutCard .m1-center .chg { font-size: 14px !important; margin-top: 6px !important; }

  html body #pvCard { position: relative; margin: 10px -20px 0 !important; padding: 0 !important; border: 0 !important; }
  html body #pvCard #pvChart { height: 270px !important; min-height: 0 !important; margin: 0 !important; }
  html body #pvCard .pv-top { margin: 14px 0 0 !important; padding: 0 20px !important; display: block; }
  html body #pvCard .chart-currency { position: absolute; top: 0; right: 16px; z-index: 3; }
  html body #pvCard .chart-currency-btn { padding: 5px 10px !important; font-size: 14px !important; }
  html body #pvCard #pvTabs { display: flex !important; justify-content: space-between; align-items: center; gap: 0 !important; width: 100% !important; overflow-x: auto; scrollbar-width: none; padding: 0 !important; border: 0 !important; }
  html body #pvCard #pvTabs::-webkit-scrollbar { display: none; }
  html body #pvCard #pvTabs .pv-tab { font-size: 14px !important; font-weight: 700 !important; padding: 6px 10px !important; border: 0 !important; border-radius: 10px !important; color: var(--green-ink) !important; background: transparent !important; flex: none; }
  html body #pvCard #pvTabs .pv-tab.on { color: #000 !important; -webkit-text-fill-color: #000 !important; background: var(--green) !important; border: 0 !important; }
  html body #pvCard #pvTabs .pv-tab { border: 0 !important; }
  html body #pvCard[data-dir="down"] #pvTabs .pv-tab { color: var(--red-ink) !important; }
  html body #pvCard[data-dir="down"] #pvTabs .pv-tab.on { color: #000 !important; background: var(--red) !important; }
  html body #pvCard #pvMk { margin-right: 18px !important; font-size: 14px !important; flex: none; }
  html body .buying-power-chevron, html body #buyingPowerToggle svg.chev { display: none !important; }
  html body .buying-power-label, html body .buying-power-right strong { font-size: 17px !important; font-weight: 500 !important; }
  html body #buyingPowerSection { width: auto !important; max-width: none !important; box-sizing: border-box; margin: 6px 20px 0 !important; border-top: 1px solid var(--line); }
  html body .buying-power-summary { padding: 18px 0 !important; font-size: 17px !important; }

  html body .rh-stocks { border: 0 !important; border-radius: 0 !important; max-height: none !important; overflow: visible !important; background: transparent !important; }
  html body .rh-sh { font-size: 24px !important; font-weight: 600 !important; letter-spacing: -0.01em; padding: 14px 0 6px !important; border: 0 !important; }
  html body .rh-row { grid-template-columns: minmax(0, 1fr) 84px 84px !important; gap: 14px !important; padding: 14px 0 !important; border-bottom: 1px solid var(--line); }
  html body .rh-row:last-child { border-bottom: 0; }
  html body .rh-row .tk { font-size: 16px !important; font-weight: 500 !important; }
  html body .rh-row .sh { font-size: 14px !important; margin-top: 4px !important; color: var(--muted) !important; }
  html body .rh-row .px { display: none !important; }
  html body .rh-row .pc { margin: 0 !important; width: 84px; min-width: 84px; height: 32px; line-height: 32px; box-sizing: border-box; padding: 0 !important; border-radius: 7px; text-align: center !important; font-size: 15px !important; font-weight: 500 !important; color: #000 !important; background: var(--pill); }
  html body .rh-row .pc.pos { background: var(--green) !important; }
  html body .rh-row .pc.neg { background: var(--red) !important; }
  html body .rh-row .pc:not(.pos):not(.neg) { color: var(--muted) !important; }

  html body #panel-holding .hp-wrap { display: block !important; }
  html body #panel-holding .hp-back { font-size: 17px; padding: 4px 0 10px; }
  html body #panel-holding .hp-px .big { font-size: 40px !important; letter-spacing: -0.03em; }
  html body #panel-holding #hpChart { margin: 0 -20px !important; }
  html body #panel-holding .hp-ranges { display: flex; justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; border: 0 !important; }
  html body #panel-holding .hp-r { font-size: 15px !important; font-weight: 700 !important; padding: 7px 11px !important; border: 0 !important; border-radius: 10px !important; color: var(--green-ink) !important; background: transparent !important; }
  html body #panel-holding #hpRanges .hp-r.on::after, html body #panel-holding .hp-r.on::after { display: none !important; }
  html body #panel-holding .hp-order-ticket { margin-top: 28px; scroll-margin-top: 20px; }
  html body #panel-holding .hp-main-column { padding-bottom: 8px; }

  html body #rhInv .rh-tbl { margin: 0 !important; padding: 0 !important; overflow: visible; }
  html body #rhInv .rh-tr { grid-template-columns: minmax(0, 1fr) 92px 96px !important; min-width: 0 !important; gap: 10px !important; padding: 18px 0 !important; margin: 0 !important; font-size: 16px; }
  html body #rhInv .rh-tr.rh-th { padding: 0 !important; font-size: 14px; }
  html body #rhInv .rh-tr > :nth-child(n+2):nth-child(-n+5) { display: none !important; }
  html body #rhInv .rh-tr > :nth-child(n+6) { text-align: right; justify-self: end; }

  html body .modal .modal-box { max-height: calc(100dvh - 28px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

  #phQuick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
  html body #panel-portfolio #phQuick { order: 2; }
  #phQuick .ph-q { border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px 15px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
  #phQuick .ph-q .l { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; white-space: nowrap; }
  #phQuick .ph-q .r { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 700; }
  #phQuick .ph-q .r b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  #phQuick .ph-q .r i { font-style: normal; white-space: nowrap; }
  #phQuick .pos { color: var(--green-ink); } #phQuick .neg { color: var(--red-ink); }

  html body #panel-holding #hpQuickStats { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 0; align-items: start; padding: 0 !important; margin-top: 8px; }
  html body #panel-holding #hpQuickStats::before { content: "Your position"; grid-column: 1 / -1; grid-row: 1; font-size: 24px; font-weight: 400; letter-spacing: -0.01em; color: var(--text); margin: 34px 0 22px; }
  html body #panel-holding #hpQuickStats > :not(.hp-stat-card) { grid-column: 1 / -1; }
  html body #panel-holding #hpQuickStats > .hp-stat-card { display: contents !important; }
  html body #panel-holding .hp-stat-card h2 { font-size: 15px !important; line-height: 20px !important; font-weight: 400 !important; font-style: normal !important; color: var(--muted) !important; margin: 0 0 6px !important; letter-spacing: 0 !important; }
  html body #panel-holding .hp-stat-card h2 .hp-yr { display: none; }
  html body #panel-holding .hp-stat-card h2::first-letter { text-transform: uppercase; }
  html body #panel-holding .hp-stat-card .hp-stat-main { margin: 0 0 24px !important; }
  html body #panel-holding .hp-stat-card .hp-stat-main strong { font-size: 22px !important; line-height: 30px !important; font-weight: 400 !important; color: var(--text) !important; }

  html body #panel-holding .hp-stat-card:nth-of-type(1) > h2 { grid-column: 2; grid-row: 2; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-main { grid-column: 2; grid-row: 3; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > h2 { grid-column: 1; grid-row: 4; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-main { grid-column: 1; grid-row: 5; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-row:nth-of-type(2) { grid-column: 1; grid-row: 2 / span 2; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-row:nth-of-type(3) { grid-column: 2; grid-row: 4 / span 2; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row:nth-of-type(2) { grid-column: 1 / -1; grid-row: 6; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row:nth-of-type(3) { grid-column: 1 / -1; grid-row: 7; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row:nth-of-type(4) { grid-column: 1 / -1; grid-row: 8; }
  html body #panel-holding .hp-stat-card .hp-stat-row { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }

  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-row { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 0; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-row > span:first-child { font-size: 15px !important; line-height: 20px; margin-bottom: 6px; color: var(--muted) !important; }
  html body #panel-holding .hp-stat-card:nth-of-type(2) > .hp-stat-row > strong { font-size: 22px; line-height: 30px; font-weight: 400; color: var(--text) !important; display: flex; align-items: center; gap: 10px; }

  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row { display: flex !important; justify-content: space-between; align-items: baseline; padding: 14px 0 !important; font-size: 17px; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row > span:first-child { color: var(--muted) !important; font-size: 17px !important; }
  html body #panel-holding .hp-stat-card:nth-of-type(1) > .hp-stat-row > strong { color: var(--text) !important; font-weight: 700; font-size: 17px; }
  html body #panel-holding .hp-stat-card .hp-pct { font-weight: 400; }

  html body #panel-holding { padding-bottom: 96px; }
  html body #panel-holding .hp-order-ticket { display: none !important; }
  html body #panel-holding .hp-order-ticket.ph-open { display: block !important; position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: 100% !important; max-height: 90dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0 !important; z-index: 130; border-radius: 22px 22px 0 0 !important; padding-bottom: env(safe-area-inset-bottom); box-shadow: none; box-sizing: border-box; }
  #phOrderScrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 125; display: none; }
  #phOrderScrim.show { display: block; }
  html.ph-lock, html.ph-lock body { overflow: hidden; }
  .ph-t-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(127,127,127,.2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
  #phTrade { position: fixed; left: 14px; right: 14px; bottom: calc(max(8px, env(safe-area-inset-bottom) - 20px) + 76px); z-index: 85; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; }
  #phTrade.show { display: flex; }
  #phTrade .ph-t-l { flex: 1; min-width: 0; line-height: 1.3; }
  #phTrade .ph-t-l small { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
  #phTrade .ph-t-l b { display: block; font-size: 17px; font-weight: 400; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
  #phTrade button { flex: none; height: 52px; padding: 0 46px; border: 0; border-radius: 999px; background: var(--green); color: #000; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
  html body:has(.modal:not([hidden])) #m1Tabs, html body:has(.modal:not([hidden])) #phTrade { display: none !important; }

  #phMore { position: fixed; inset: 0; z-index: 120; display: none; }
  #phMore.open { display: block; }
  #phMore .ph-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
  #phMore .ph-sheet { position: absolute; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom) + 90px); background: var(--surface, #0a0a0a); border-radius: 26px; padding: 10px; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0,0,0,.6); }
  #phMore .ph-item { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 16px; border: 0; border-radius: 16px; background: transparent; color: var(--text); font: inherit; font-size: 17px; font-weight: 600; text-align: left; cursor: pointer; }
  #phMore .ph-item:active { background: var(--pill); }
  #phMore .ph-item svg { width: 24px; height: 24px; flex: none; color: var(--muted); }
  #phMore .ph-rule { height: 1px; background: var(--line); margin: 6px 12px; }

    html body #donutCard { position: relative; }

.fh-note{font-size:14px;color:var(--muted);margin-top:5px}.fh-metric{background:var(--pill);border-radius:11px;padding:11px 12px;min-width:0}.fh-metric span{display:block;color:var(--muted);font-size:14px}.fh-metric b{display:block;font-size:15px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fh-error{color:var(--red-ink);font-size:14px;padding:12px 0}.fh-loading{color:var(--muted);padding:18px 0}.fh-stock-section h2{margin-bottom:12px}.fh-stock-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:14px;color:var(--muted)}.fh-stock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.fh-stock-grid .fh-metric{padding:10px 12px}.fh-stock-grid .fh-metric b{font-size:15px}@media(max-width:650px){.fh-stock-summary{font-size:14px}}.fh-stock-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:8px 0 18px}.fh-metric{display:flex;align-items:center;justify-content:space-between;gap:10px;background:transparent;border-radius:0;border-bottom:1px solid var(--line);padding:13px 0;min-height:52px}.fh-metric span{font-size:14px;color:var(--muted);line-height:1.3}.fh-metric b{font-size:14px;text-align:right;white-space:nowrap}.fh-stock-section .fh-stock-data{padding-top:2px}.fh-stock-section .fh-stock-summary{font-size:15px}@media(max-width:650px){.fh-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.fh-metric{min-height:48px;padding:11px 0}.fh-metric span{font-size:14px}.fh-metric b{font-size:14px}.fh-stock-section .fh-stock-summary{align-items:flex-start;flex-direction:column;gap:5px}}

.fh-stock-section{margin-top:40px}
.fh-stock-section h2,.fh-stock-section .rh-news-h{font-size:22px;font-weight:600;letter-spacing:-.3px;line-height:1.2;margin:0;padding-bottom:18px;border-bottom:1px solid var(--line);color:var(--text)}
.fh-stock-section .rh-name{margin-top:22px;font-size:16px;color:var(--muted);line-height:1.3}
.fh-stock-section .rh-price{margin-top:12px;font-size:17px;color:var(--muted);line-height:1.3}
.fh-stock-section .rh-price b{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
.fh-stock-section .rh-range{position:relative;height:6px;margin:24px 0 20px;border-radius:6px;background:var(--line2)}
.fh-stock-section .rh-range i{position:absolute;top:50%;width:14px;height:14px;border-radius:50%;background:var(--teal);transform:translate(-50%,-50%)}
.fh-stock-section .rh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin:0}
.fh-stock-section .rh-cell{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:14px 12px;border-bottom:1px solid var(--line)}
.fh-stock-section .rh-cell span{min-width:0;font-size:14px;line-height:1.3;color:var(--muted)}
.fh-stock-section .rh-cell b{flex:none;font-size:16px;font-weight:600;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
.fh-stock-section .rh-news-h{margin-top:44px}
.fh-stock-section .rh-news{display:block}
.fh-stock-section .rh-story{display:block;padding:20px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}
.fh-stock-section .rh-story:last-child{border-bottom:0}
.fh-stock-section .rh-story-h{display:block;font-size:17px;line-height:1.35;font-weight:400;color:var(--text)}
.fh-stock-section .rh-story-m{display:block;margin-top:8px;font-size:14px;color:var(--muted)}
.fh-stock-section .rh-story:hover .rh-story-h{color:var(--teal)}

.pmsg.err{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--red-ink)}
.pmsg.err:empty{display:none}
.pmsg.err::before{content:"";flex:0 0 16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v-2h2v2zm0-4h-2V9h2v4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v-2h2v2zm0-4h-2V9h2v4z'/%3E%3C/svg%3E") center/contain no-repeat}
input.rh-invalid,select.rh-invalid{border-color:var(--red)!important;box-shadow:0 0 0 1px var(--red)}

html body .addbtn,html body #panel-activity .addbtn,html body .cls-ok{background:var(--text);color:var(--bg);border:0;border-radius:999px;font-weight:600}
html body .cls-auto{background:transparent;color:var(--text);border:1.5px solid var(--text);border-radius:999px;font-weight:600}

.card-i.card-win{background:#daff6e;border-color:transparent;color:#0b0b0b}
.card-i.card-win .card-l{color:rgba(0,0,0,.72);font-weight:600}
.card-i.card-win .card-s,.card-i.card-win .card-x{color:rgba(0,0,0,.65)}
@keyframes rhUp{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
.how-pop .how-h,.how-pop .how-g{display:none}

@media (max-width:720px){
  .modal{align-items:flex-end;padding:0}
  .modal-box,#returnBreakdownModal .modal-box,.modal-box.wide{width:100%!important;max-width:none;border-radius:24px 24px 0 0!important;padding:26px 20px calc(24px + env(safe-area-inset-bottom,0px))!important;max-height:88vh;animation:rhUp .26s cubic-bezier(.2,.8,.2,1)}
  .modal-box::before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--line);margin:-12px auto 16px}
  .how-pop{left:0!important;right:0!important;top:auto!important;bottom:0!important;max-width:none!important;border-radius:24px 24px 0 0!important;border:0!important;padding:22px 20px calc(24px + env(safe-area-inset-bottom,0px))!important;font-size:15px!important;box-shadow:0 0 0 100vmax rgba(17,20,24,.45)!important;animation:rhUp .26s cubic-bezier(.2,.8,.2,1)}
  .how-pop .how-h{display:block;font-size:18px;font-weight:600;margin-bottom:8px}
  .how-pop .how-g{display:block;width:100%;height:48px;margin-top:18px;border:0;border-radius:999px;background:var(--text);color:var(--bg);font:600 15px inherit;cursor:pointer}
}

#txFlow { position: fixed; left: 0; top: var(--txtop, 0px); width: 100%; height: var(--txh, 100dvh); z-index: 200; background: var(--txbg); color: var(--txfg); display: none; overflow: hidden; font-family: inherit; -webkit-user-select: none; user-select: none; --txg: #14c100; --txgd: #0a7a00; --txbg: #fff; --txfg: #0b0b0b; --txmut: #5c6168; --txline: #e8eaec; --txph: #a8adb3; --txsw: #f3f5f6; --txsheet: #fff; --txglassfg: #0a9c00; }
:root[data-theme="dark"] #txFlow { --txbg: #000; --txfg: #fff; --txmut: #8f979f; --txline: #1e2124; --txph: #5b636b; --txsw: #14181c; --txsheet: #0b0d0f; --txg: #1fd10a; --txgd: #3fe02a; --txglassfg: #2ee016; color-scheme: dark; }
#txFlow.show { display: block; animation: txin .22s ease both; }
#txFlow input, #txFlow select { -webkit-user-select: text; user-select: text; }
@keyframes txin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#txFlow .tx-st { position: absolute; inset: 0; display: none; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; left: 0; right: 0; padding: max(14px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom)); box-sizing: border-box; }
#txFlow .tx-st.on { display: flex; }
#txFlow .tx-bar { display: flex; align-items: center; justify-content: space-between; height: 48px; flex: none; }
#txFlow .tx-bar b { font-size: 17px; font-weight: 500; }
#txFlow .tx-x, #txFlow .tx-edit { background: none; border: 0; color: var(--txg); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; padding: 8px 4px; min-width: 44px; min-height: 44px; display: flex; align-items: center; }
#txFlow .tx-unit { appearance: none; -webkit-appearance: none; border: 0; background: none; color: var(--txg); font: inherit; font-size: 17px; font-weight: 700; padding: 8px 2px 8px 8px; cursor: pointer; text-align: right; }
#txFlow h1 { margin: 22px 0 0; font-size: 38px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
#txFlow .tx-sub { margin-top: 8px; font-size: 18px; color: var(--txmut); }
#txFlow .tx-rows { margin-top: 34px; }
#txFlow .tx-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--txline); font-size: 19px; }
#txFlow .tx-row > span { flex: none; }
#txFlow .tx-row b { font-weight: 600; }
#txFlow .tx-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font: inherit; font-size: 22px; font-weight: 600; color: var(--txfg); caret-color: var(--txg); padding: 8px 0; }
#txFlow .tx-row input::placeholder { color: var(--txph); font-weight: 500; }
#txFlow .tx-row input[type=date] { font-size: 18px; }
#txFlow .tx-err { min-height: 22px; margin-top: 14px; color: #d63a00; font-size: 15px; }
#txFlow .tx-foot { margin-top: auto; position: relative; padding-top: 12px; }
#txFlow .tx-glow { position: absolute; left: -10px; right: -10px; bottom: -14px; height: 120px; pointer-events: none; filter: blur(22px); opacity: .85; background: radial-gradient(60px 46px at 22% 60%, rgba(20,193,0,.55), transparent 70%), radial-gradient(80px 50px at 70% 45%, rgba(120,235,60,.5), transparent 70%); }
#txFlow .tx-glass { position: relative; width: 100%; height: 60px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 18px; font-weight: 700; color: var(--txglassfg); letter-spacing: .01em; border: 1px solid rgba(255,255,255,.85); background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.2) 100%); -webkit-backdrop-filter: blur(14px) saturate(1.7); backdrop-filter: blur(14px) saturate(1.7); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1.5px 0 rgba(0,110,0,.18), 0 10px 26px rgba(0,0,0,.12); transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; }
#txFlow .tx-glass:active { transform: scale(.97); filter: brightness(1.06); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,110,0,.18), 0 0 0 .5px rgba(20,150,0,.35), 0 4px 14px rgba(10,150,0,.25); }

#txFlow button:focus-visible, #txFlow select:focus-visible { outline: 2px solid var(--txg); outline-offset: 2px; border-radius: 12px; }

#txFlow .tx-big { margin-top: 18vh; text-align: center; font-size: 96px; line-height: 1; font-weight: 400; letter-spacing: -.03em; }
#txFlow .tx-big sup { font-size: 40px; vertical-align: top; position: relative; top: 8px; margin-right: 4px; font-weight: 400; }
#txFlow .tx-bsub { margin-top: 18px; text-align: center; font-size: 20px; color: var(--txmut); }
#txFlow .tx-note { margin: 18px auto 0; max-width: 360px; text-align: center; font-size: 14px; color: #d63a00; }
#txFlow .tx-sum { margin-top: auto; position: relative; z-index: 2; }
#txFlow .tx-sumh { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
#txFlow .tx-sum .tx-row { min-height: 52px; font-size: 16px; }
#txFlow .tx-swipe { margin-top: 14px; height: 76px; border-radius: 22px; touch-action: none; cursor: grab; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--txsw); color: var(--txgd); font-weight: 700; font-size: 16px; position: relative; z-index: 2; }
#txFlow .tx-swipe svg { animation: txbob 1.3s ease-in-out infinite; }
#txFlow .tx-swipe.hint { animation: txhint .5s ease; }
@keyframes txbob { 0%,100% { transform: translateY(2px); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes txhint { 0%,100% { transform: none; } 30% { transform: translateY(-14px); } 60% { transform: translateY(-4px); } }
#txFlow .tx-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, #21d90a, #14b800); border-radius: 28px 28px 0 0; z-index: 1; pointer-events: none; }
#txFlow .tx-fill.go { transition: height .38s cubic-bezier(.2,.8,.2,1), border-radius .38s; border-radius: 0; }
#txFlow .tx-fill.back { transition: height .25s ease; }

#txFlow .tx-green { background: linear-gradient(160deg, #22dc0c, #16b200); align-items: center; justify-content: center; max-width: none; }
#txFlow .tx-spin { width: 140px; height: 140px; position: relative; display: grid; place-items: center; }
#txFlow .tx-spin svg.r { position: absolute; inset: 0; animation: txrot 1.1s linear infinite; }
@keyframes txrot { to { transform: rotate(360deg); } }
#txFlow .tx-sending { position: absolute; left: 0; right: 0; bottom: max(70px, 9vh); text-align: center; color: #fff; font-size: 34px; font-weight: 500; }
#txFlow .tx-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--txsheet); border-radius: 28px 28px 0 0; padding: 30px 22px max(22px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; box-sizing: border-box; animation: txsheet .42s cubic-bezier(.2,.8,.2,1) both; color: var(--txfg); }
@keyframes txsheet { from { transform: translateY(100%); } to { transform: none; } }
#txFlow .tx-sheet h2 { margin: 0; font-size: 34px; line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
#txFlow .tx-sheet p { margin: 10px 0 0; font-size: 18px; line-height: 1.35; }
#txFlow .tx-sheet small { display: block; margin-top: 10px; font-size: 14px; color: var(--txmut); }
#txFlow .tx-sheet .tx-rows { margin-top: 18px; }
#txFlow .tx-sheet .tx-row { min-height: 62px; }
#txFlow .tx-done { width: 100%; height: 60px; margin-top: 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #1fd607, #12b300); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
#txFlow .tx-done:active { transform: scale(.98); }
@media (max-width: 420px) { #txFlow h1 { font-size: 32px; } #txFlow .tx-big { font-size: 78px; margin-top: 14vh; } #txFlow .tx-row { min-height: 66px; } }
@media (max-height: 640px) { #txFlow .tx-big { margin-top: 8vh; } #txFlow .tx-row { min-height: 56px; } }
@media (prefers-reduced-motion: reduce) { #txFlow *, #txFlow.show { animation: none !important; transition: none !important; } }

:root[data-theme="dark"] #txFlow .tx-glass { border-color: rgba(255,255,255,.3); background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.02) 50%, rgba(255,255,255,.08) 100%); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.4), inset 0 -1.5px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.5); }
:root[data-theme="dark"] #txFlow .tx-glow { opacity: .5; }
:root[data-theme="dark"] #txFlow .tx-row input[type=date] { color-scheme: dark; }

:where(button, a, input, select, textarea, [role="switch"], [tabindex]):focus-visible {
    outline: 2px solid #00c805 !important;
    outline-offset: 3px !important;
  }
  :root[data-theme="dark"] :where(button, a, input, select, textarea, [role="switch"], [tabindex]):focus-visible {
    outline-color: #7dff7f !important;
  }

html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  body { margin: 0 auto !important; padding: 0 !important; }
  html body .m1 { width: 100%; max-width: 430px; margin: 0 auto !important; box-sizing: border-box; }
  html body #m1Tabs { left: max(14px, calc((100vw - 430px) / 2 + 14px)) !important; right: max(14px, calc((100vw - 430px) / 2 + 14px)) !important; }
  @supports (height: 100dvh) { html body .m1 { min-height: 100dvh; } }

    .m1 { padding-top: 0 !important; }
    .m1-top { display: block !important; position: sticky; top: 0; z-index: 100; margin: 0 -14px !important; padding: 0 14px !important; background: var(--bg); }
    .m1-nav { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 8px !important; padding: 10px 0 8px !important; }
    .m1-tabs { position: static !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 6px !important; width: 100% !important; margin: 0 !important; padding: 0 0 4px !important; overflow-x: auto !important; background: transparent !important; border: 0 !important; }
    .side-logo { display: grid !important; flex: 0 0 38px !important; width: 38px !important; height: 38px !important; margin: 0 4px 0 0 !important; padding: 6px !important; border-radius: 11px !important; background: #0b0b0d !important; }
    .side-logo img { width: 20px !important; height: 26px !important; object-fit: contain; }
    .m1-tabs .m1-tab { display: inline-flex !important; flex: 0 0 auto !important; width: auto !important; height: 38px !important; padding: 0 11px !important; border-radius: 10px !important; font-size: 14px !important; }
    .m1-tabs .side-ic { display: none !important; }
    .m1-tabs .lbl { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; white-space: nowrap; }
    .m1-util { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; padding-top: 0 !important; overflow-x: auto; }
    .m1-head { position: static !important; padding-top: 18px !important; }
    html { scroll-padding-top: 120px !important; }

.m1-chartcard .pv-top { gap: 14px; }
  .chart-currency { position: relative; flex: 0 0 auto; }
  .chart-currency-btn { display: inline-flex; align-items: center; gap: 12px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
  .chart-currency-btn .chev { width: 13px; height: 13px; color: var(--muted); }
  #chartCurMenu { width: max-content; min-width: 230px; max-width: calc(100vw - 24px); right: 0; left: auto; z-index: 300; box-sizing: border-box; }
  #chartCurMenu button { display: flex; align-items: center; width: 100%; min-width: 0; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; text-align: left; }
  #chartCurMenu button.sel { font-weight: 650; }
  .chart-currency { z-index: 301; }
  @media (max-width: 420px) { #chartCurMenu { min-width: min(230px, calc(100vw - 24px)); right: 0; } #chartCurMenu button { font-size: 14px; padding-left: 12px; padding-right: 12px; } }
   .chart-currency-btn { padding: 7px 10px; font-size: 14px; } .m1-chartcard .pv-top { flex-wrap: wrap; }

  .m1-chartcard .pv-tabs { position: relative; border-bottom: 1px solid var(--line); }
  .m1-chartcard .pv-tab { position: relative; z-index: 1; border-bottom: 2px solid transparent !important; }
  .m1-chartcard .pv-tab.on { color: var(--green-ink) !important; border-bottom-color: var(--green) !important; }

  .m1-chartcard .pv-tabs {
    border-top: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
  }
  .m1-chartcard .pv-tab {
    border-top: 0 !important;
  }
  .m1-chartcard .pv-tab.on {
    border-bottom-color: var(--green) !important;
  }

html body #pvCard .pv-tabs { flex-wrap: nowrap !important; }
#pvCard .pv-mk { flex: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: normal; padding: 14px 0 13px; margin: 0 0 -1px; border-bottom: 2px solid transparent; cursor: default; user-select: none; }
#pvCard .pv-mk[hidden] { display: none !important; }
#pvCard .pv-mk::after { content: none !important; display: none !important; }
#pvCard .pv-mk.live { color: var(--green-ink); }
#pvCard .pv-mk.live::after { box-shadow: 0 0 0 3px rgba(0,200,5,.2); }
#pvCard .pv-mk.closed { color: var(--muted); }
#pvCard .pv-mk.closed::after { display: none; }

  #pvCard .pv-mk { font-size: 14px; padding: 8px 0; margin: 0; gap: 6px; }
  html body #pvCard .pv-tabs { gap: 8px !important; }
  html body #pvCard .pv-tabs .pv-tab { font-size: 14px; min-width: 0; }

@media (max-width: 400px) { #pvCard .pv-mk, html body #pvCard .pv-tabs .pv-tab { font-size: 14px; } #pvCard .pv-mk::after { width: 6px; height: 6px; } }

  #panel-activity .act-wrap { margin-top: 28px; }
  #panel-activity .act-bar { margin-bottom: 6px; }
  #panel-activity .act-bar h2 { font-size: 34px; font-weight: 500; letter-spacing: -.025em; }
  #panel-activity .act-head { display: none; }
  #panel-activity .act-filter select { height: 40px; padding: 0 44px 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; }
  :root[data-theme="dark"] #panel-activity .act-filter select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23e6e8ea'/%3E%3C/svg%3E"); }
  #panel-activity .act-dl { color: var(--text); font-weight: 500; }
  #actRows .act-month { font-size: 20px; font-weight: 500; letter-spacing: -.01em; padding: 30px 0 12px; border-bottom: var(--hair) solid var(--line2); }
  #actRows .act-item { border-bottom: 0; }
  #actRows .act-row { grid-template-columns: minmax(0, 1fr) auto 22px; gap: 16px; padding: 16px 8px; margin: 0 -8px; border-radius: 10px; }

  #actRows .act-main { min-width: 0; }
  #actRows .act-main b, #actRows .act-row .v { display: block; font-size: 16px; font-weight: 500; }
  #actRows .act-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #actRows .act-main small, #actRows .act-row .v small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
  #actRows .act-row .v { text-align: right; white-space: nowrap; }
  #actRows .act-row .go { color: var(--muted); }
  #actRows .act-more { padding: 0 8px 16px; }
   #actRows .act-row { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 12px; } #panel-activity .act-bar h2 { font-size: 28px; }

  html body .hp-market-layout .hp-stat-card { padding: 26px 28px 14px; }
  html body .hp-market-layout .hp-stat-card h2 { font-size: 15px; font-weight: 400; letter-spacing: 0; margin: 0 0 8px; }
  html body .hp-market-layout .hp-stat-main { padding: 0 0 20px; }
  html body .hp-market-layout .hp-stat-main strong { font-size: 25px; font-weight: 500; letter-spacing: -.02em; margin-top: 0; }
  html body .hp-market-layout .hp-stat-row { padding: 16px 0; font-size: 15px; }
  html body .hp-market-layout .hp-stat-main + .hp-stat-row { border-top: 0; padding-top: 6px; }
  html body .hp-market-layout .hp-stat-row span { color: var(--text) !important; }
  html body .hp-market-layout .hp-stat-row strong { font-weight: 400; }

  html body .hp-stat-card .pos, html body .hp-stat-card .neg, html body .hp-stat-card strong { color: var(--text) !important; }
  .hp-activity { margin-top: 0; grid-column: 1 / -1; align-self: start; min-width: 0; border: 1px solid #262626; border-radius: 6px; padding: 22px 24px 8px; background: #000000; }
  :root:not([data-theme="dark"]) .hp-activity { background: var(--card); border-color: var(--line); }
  .hp-activity h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
  .hp-act-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 15px 0; border-top: 1px solid #262626; }
  :root:not([data-theme="dark"]) .hp-act-row { border-top-color: var(--line); }
  .hp-activity h2 + .hp-act-row { border-top: 0; }
  .hp-act-t { font-size: 15px; font-weight: 500; color: var(--text); }
  .hp-act-s { font-size: 14px; color: var(--muted); margin-top: 4px; }
  .hp-act-r { text-align: right; }
  .hp-act-empty { padding: 14px 0 18px; color: var(--muted); font-size: 14px; }
  .hp-act-more { display: block; width: 100%; border: 0; border-top: 1px solid #262626; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; padding: 15px 0; cursor: pointer; }
  :root:not([data-theme="dark"]) .hp-act-more { border-top-color: var(--line); }

  html body .hp-activity { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; margin-top: 18px; }
  html body .hp-activity h2 { margin: 0 0 4px; padding-bottom: 14px; font-size: 26px; font-weight: 500; letter-spacing: -.4px; border-bottom: 1px solid var(--line); }
  html body .hp-activity .hp-act-row { border-top: 1px solid var(--line) !important; padding: 16px 0; }
  html body .hp-activity h2 + .hp-act-row { border-top: 0 !important; padding-top: 18px; }
  html body .hp-activity .hp-act-more { border-top: 1px solid var(--line); padding: 16px 0 6px; text-align: left; color: var(--green-ink); font-weight: 600; }
  html body .hp-activity .hp-act-empty { padding: 18px 0 6px; }
  @media (max-width: 720px) { html body .hp-activity h2 { font-size: 22px; } }

  html body #hpOrderTicket[data-side="sell"] .hp-order-tabs button.on { color: var(--red-ink) !important; }
  html body #hpOrderTicket[data-side="sell"] .hp-order-tabs button.on::after { background: #ff5000; }
  html body #hpOrderTicket[data-side="sell"] .hp-review-order { background: #ff5000; color: #2b0b00; }
  .hp-order-field input::placeholder { color: #8a929a; }

  #hpTip { display: none !important; }
  #hpPx, #hpChg { display: flex; align-items: center; }
  #hpPx { min-height: 1.2em; }
  #hpChg { gap: .35em; }

  #hpPx .rh-d, #hpChg .rh-d, #centerVal .rh-d { overflow: visible; clip-path: inset(0 -0.25em); }
  #hpChg .hp-cc { display: inline-flex; align-items: center; }
  #hpChg .hp-lbl { font-weight: 500; }

.rh-pick { display: inline-block; position: relative; }
  .rh-titlebtn { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-align: left; }
  .rh-titlebtn:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 6px; }

  :root:not([data-theme="dark"]) .hp-market-layout .hp-ranges {
    border-bottom-color: #d8dde3 !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-ranges .hp-r {
    color: #626a73 !important;
    opacity: 1 !important;
  }

  :root:not([data-theme="dark"]) .hp-market-layout .hp-ranges .hp-r.on {
    color: #00b915 !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-ranges .hp-r.on::after {
    background: #00c805 !important;
  }

  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-ticket {
    background: #fff !important;
    color: #20252b !important;
    border-color: #d9dee4 !important;
    box-shadow: none;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-tabs,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-estimate,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-buying,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-account,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-message {
    border-color: #d9dee4 !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-tabs button {
    color: #30363d !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-tabs button.on {
    color: #00b915 !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-field,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-estimate,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-account {
    color: #20252b !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-field span small,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-account span {
    color: #68717b !important;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-field select,
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-field input {
    background: #fff !important;
    color: #20252b !important;
    border-color: #cbd2da !important;
    color-scheme: light;
  }
  :root:not([data-theme="dark"]) .hp-market-layout .hp-order-message {
    color: #4d5660 !important;
  }
  :root[data-theme="dark"] .hp-market-layout .hp-ranges .hp-r {
    color: #a9b0b8 !important;
    opacity: 1 !important;
  }
  :root[data-theme="dark"] .hp-market-layout .hp-ranges .hp-r.on {
    color: var(--green-ink) !important;
  }


/*@pf end */
/*@pf start style id=pf-styles part=4 */


  :root {
    --rh-primary: #ccff00; --rh-primary-90: #b8e600; --rh-primary-80: #a3cc00;
    --rh-secondary: #ffffff; --rh-tertiary: #D4D0C9; --rh-neutral: #1C180D;
    --rh-surface: #000000; --rh-border: #262626; --rh-muted: #1a1a1a;
    --rh-radius-md: 8px; --rh-radius-lg: 36px;
    --rh-space-xs: 8px; --rh-space-sm: 16px;
    --rh-control-h: 44px;
    --rh-font-label: "Phonic", "Capsule Sans Text", "Inter", sans-serif;

    --rh-nav-link: var(--text2); --rh-nav-link-on: var(--text); --rh-nav-accent: var(--text);
    --rh-field-bg: transparent; --rh-field-border: var(--line2, var(--line));
  }
  :root[data-theme="dark"] {
    --rh-nav-link: var(--rh-tertiary); --rh-nav-link-on: var(--rh-secondary); --rh-nav-accent: var(--rh-primary);
    --rh-field-bg: var(--rh-neutral); --rh-field-border: var(--rh-border);
  }

.rh-lime { display: none !important; }
  html body .m1-tabs .m1-tab { color: var(--rh-nav-link) !important; font-family: var(--rh-font-label) !important; font-weight: 400 !important; border-radius: 0 !important; background: none !important; border-bottom: 2px solid transparent !important; }
  html body .m1-tabs .m1-tab.on { color: var(--rh-nav-link-on) !important; border-bottom-color: var(--rh-nav-accent) !important; }

  #panel-holdings { padding-top: 18px; }

  html body .pr b a[data-go="activity"], html body .pr b a[data-go="activity"]:visited { color: var(--text) !important; }

    html body #panel-holding #hpBack { display: block; position: relative; width: 44px; height: 44px; padding: 0 !important; margin: 0 0 26px !important; border-radius: 50%; background: var(--pill, rgba(127,127,127,.16)); font-size: 0 !important; line-height: 0; text-decoration: none; -webkit-tap-highlight-color: transparent; }
    html body #panel-holding #hpBack::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-left: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text); border-radius: 1px; transform: translate(-32%, -50%) rotate(45deg); }
    html body #panel-holding .hp-name { font-size: 36px !important; font-weight: 500 !important; letter-spacing: -0.03em !important; line-height: 1.1 !important; }
    html body #panel-holding .hp-px { margin-top: 6px; }
    html body #panel-holding #hpChg { font-size: 17px; font-weight: 600; margin-top: 8px; }
    html body #panel-holding #hpChg > span:not([class]), html body #panel-holding #hpChg [style*="muted"] { color: var(--text) !important; font-weight: 400; }
    html body #panel-holding .hp-r { color: var(--hp-acc, var(--green)) !important; }
    html body #panel-holding .hp-r.on { color: #000 !important; background: var(--hp-acc, var(--green)) !important; }

.pv-spy { color: #4da3ff; font-size: 16px; font-weight: 600; margin-top: 6px; }
  #pvSpyRow[hidden] { display: none; }
  .pv-spy .pv-spy-a { font-size: .8em; margin-right: 2px; }
  .pv-spy.pv-spy-msg { color: var(--text2); font-weight: 400; font-size: 14px; }
  .pv-spy-opt { justify-content: space-between; }
  .pv-sw { flex: none; width: 42px; height: 26px; border-radius: 999px; background: rgba(127,127,127,.35); position: relative; transition: background .15s ease; }
  .pv-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease; box-shadow: none; }
  .pv-spy-opt.on .pv-sw { background: var(--swc, #4da3ff); }
  .pv-spy-opt.on .pv-sw::after { transform: translateX(16px); }

    html body #pvCard .pv-more { color: var(--green-ink) !important; }
    html body #pvCard[data-dir="down"] .pv-more { color: var(--red-ink) !important; }
    html body > #pvMenu { display: none !important; position: fixed; left: auto; min-width: 262px; z-index: 400; background: var(--raise, var(--surface)); border: 1px solid var(--line); }
    html body > #pvMenu.open { display: block !important; }
    html body > #pvMenu button { font-size: 16px; }
    html body #pvCard .pv-spy { font-size: 17px; }
    html body #pvCard .pv-spy.pv-spy-msg { font-size: 14px; }

html body #pvCard .pv-tabs > .dd { display: flex !important; align-items: center; align-self: center; flex: none; }
    html body #pvCard .pv-more { display: flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0 !important; margin: 0; line-height: 0; }
    html body #pvCard .pv-more svg { width: 28px; height: 28px; display: block; }

    html body #pvCard #pvTabs .pv-tab { padding: 4px 7px !important; line-height: 1.15 !important; border-radius: 9px !important; }
    html body #pvCard #pvTabs .pv-mk { margin-right: 4px !important; font-size: 14px !important; white-space: nowrap; }
    html body #pvCard .pv-more { width: 30px !important; }

  @media (max-width: 370px) {
    html body #pvCard #pvTabs .pv-tab { padding: 4px 4px !important; }
    html body #pvCard #pvTabs .pv-mk { font-size: 14px !important; margin-right: 2px !important; }
  }

  .pv-tab, .hp-r, .pf-caret { position: relative; }
  .pv-tab::after, .hp-r::after, .pf-caret::after, .card-x::after { content: ""; position: absolute; inset: -8px -4px; }
  .pf-caret::after { inset: -8px; }
  .card-x::after { inset: -8px; }

  #dvChart, #pvChart, #hpChart { touch-action: pan-y; }

  :where(button, input, select, textarea, td, th, .card-t, .dg-tile b) { font-variant-numeric: tabular-nums; }

html, body { overscroll-behavior-y: contain; }
  #ptr { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 8px); width: 38px; height: 38px; margin-left: -19px; z-index: 140; display: grid; place-items: center; border-radius: 50%; background: var(--card, #1b1b1d); border: 1px solid var(--line, #333); color: var(--text); opacity: 0; transform: translateY(-60px); pointer-events: none; will-change: transform, opacity; }
  #ptr.anim { transition: transform .22s ease, opacity .22s ease; }
  #ptr svg { width: 20px; height: 20px; display: block; transition: transform .1s linear; }
  #ptr.spin svg { animation: ptrSpin .8s linear infinite; }
  @keyframes ptrSpin { to { transform: rotate(360deg); } }

html body #panel-portfolio #phQuick { display: flex; gap: 12px; overflow-x: auto; margin: 18px -20px 8px; padding: 0 20px; scroll-snap-type: x proximity; scroll-padding-left: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    html body #panel-portfolio #phQuick::-webkit-scrollbar { display: none; }
    html body #panel-portfolio #phQuick .ph-q { flex: 0 0 auto; width: 212px; scroll-snap-align: start; }

    html body .m1-sec.perf-sec .pr { padding: 17px 0 !important; font-size: 16px !important; border-top: 1px solid var(--line) !important; align-items: center; }
    html body .m1-sec.perf-sec .pr span { color: var(--muted); }
    html body .m1-sec.perf-sec .pr b { font-size: 16px !important; font-weight: 500; }
    html body .m1-sec.perf-sec .pf-cols > div:first-child > .pr.big { border-top: 0 !important; padding: 4px 0 22px !important; }
    html body .m1-sec.perf-sec .pf-cols > div:first-child > .pr.big span { color: var(--text2); font-size: 16px; }
    html body .m1-sec.perf-sec .pf-cols > div:first-child > .pr.big b { font-size: 30px !important; font-weight: 600; letter-spacing: -.02em; }
    html body .m1-sec.perf-sec .pf-cols > div + div > .pr.big { border-top: 1px solid var(--line2) !important; padding: 20px 0 !important; }
    html body .m1-sec.perf-sec .pf-cols > div + div > .pr.big span { color: var(--text); font-size: 17px; font-weight: 600; }
    html body .m1-sec.perf-sec .pf-cols > div + div > .pr.big b { font-size: 20px !important; font-weight: 600; }
    html body .m1-sec.perf-sec .pr .buying-power-info, html body .m1-sec.perf-sec .pr .i { margin-left: 8px; vertical-align: middle; }

:root { --lg-bg: rgba(255,255,255,.07); --lg-ring: rgba(255,255,255,.2); --lg-hi: rgba(255,255,255,.38); --lg-shadow: rgba(0,0,0,.5); --lg-pill: rgba(255,255,255,.16); }
  :root[data-theme="light"] { --lg-bg: rgba(255,255,255,.38); --lg-ring: rgba(255,255,255,.75); --lg-hi: #fff; --lg-shadow: rgba(0,0,0,.18); --lg-pill: rgba(255,255,255,.7); }
  html body .cur-pill { background: var(--lg-bg) !important; -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8); box-shadow: inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi), 0 6px 16px var(--lg-shadow); }
  html.lg-svg body .cur-pill { -webkit-backdrop-filter: url(#lg-frosted) saturate(1.5); backdrop-filter: url(#lg-frosted) saturate(1.5); }

    html body #ptr { background: var(--lg-bg) !important; -webkit-backdrop-filter: blur(16px) saturate(1.8) !important; backdrop-filter: blur(16px) saturate(1.8) !important; }
    html body #ptr { border: 0; box-shadow: 0 8px 20px var(--lg-shadow), inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi); }
    html.lg-svg body #ptr { -webkit-backdrop-filter: url(#lg-frosted) saturate(1.5) !important; backdrop-filter: url(#lg-frosted) saturate(1.5) !important; }

  html body #panel-holding #hpBack { background: var(--lg-bg) !important; -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8); box-shadow: 0 6px 16px var(--lg-shadow), inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi); }
  html.lg-svg body #panel-holding #hpBack { -webkit-backdrop-filter: url(#lg-frosted) saturate(1.5); backdrop-filter: url(#lg-frosted) saturate(1.5); }
  html body .inv-view-modes { background: var(--lg-bg) !important; border: 0 !important; -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8); box-shadow: 0 6px 16px var(--lg-shadow), inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi) !important; }
  html body .inv-view-modes button.active { background: var(--lg-pill) !important; box-shadow: inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi) !important; }
  html.lg-svg body .inv-view-modes { -webkit-backdrop-filter: url(#lg-frosted) saturate(1.5); backdrop-filter: url(#lg-frosted) saturate(1.5); }
  @media (prefers-reduced-transparency: reduce) {
    html body #ptr, html body .cur-pill, html body #panel-holding #hpBack, html body .inv-view-modes { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  }

    html body #phTrade {
      background: linear-gradient(180deg, rgba(46,48,51,.22), rgba(22,24,26,.28)) !important;
      -webkit-backdrop-filter: blur(10px) saturate(1.05) !important;
      backdrop-filter: blur(10px) saturate(1.05) !important;
      border: 0 !important;
      box-shadow: 0 8px 28px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.105), inset 0 1px 0 rgba(255,255,255,.085) !important;
    }
    html:not([data-theme="dark"]) body #phTrade {
      background: linear-gradient(180deg, rgba(248,249,250,.30), rgba(224,227,230,.34)) !important;
      box-shadow: 0 8px 26px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.52), inset 0 1px 0 rgba(255,255,255,.58) !important;
    }
    html body #phTrade button { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.2), 0 4px 14px rgba(0,0,0,.22); }
    html body #panel-holding .hp-order-ticket.ph-open { background: rgba(28,30,32,.6) !important; -webkit-backdrop-filter: blur(28px) saturate(1.8) !important; backdrop-filter: blur(28px) saturate(1.8) !important; border: 0 !important; box-shadow: 0 -10px 40px rgba(0,0,0,.45), inset 0 0 0 1px var(--lg-ring), inset 0 1.5px 0 var(--lg-hi) !important; }
    html:not([data-theme="dark"]) body #panel-holding .hp-order-ticket.ph-open { background: rgba(245,246,247,.7) !important; box-shadow: 0 -10px 40px rgba(0,0,0,.18), inset 0 0 0 1px var(--lg-ring), inset 0 1.5px 0 var(--lg-hi) !important; }
    html body #panel-holding .hp-order-ticket.ph-open .hp-order-field input, html body #panel-holding .hp-order-ticket.ph-open .hp-order-field select { background: rgba(127,127,127,.16) !important; border-color: var(--lg-ring) !important; }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html body #phTrade { background: rgba(24,25,28,.97) !important; }
    html:not([data-theme="dark"]) body #phTrade { background: rgba(246,247,248,.97) !important; }
  }
  @media (prefers-reduced-transparency: reduce) {
    html body #phTrade, html body #panel-holding .hp-order-ticket.ph-open { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  }

:root { --lg-goo-o: .16; }
  :root[data-theme="light"] { --lg-goo-o: .7; }

    .lg-pill { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease; will-change: transform; }
    .lg-pill.show { opacity: 1; }
    .lg-pill i { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--lg-pill); box-shadow: inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi); transition: opacity .16s ease, transform .22s cubic-bezier(.3, 1.4, .5, 1), box-shadow .22s ease; }
    .lg-pill.goo-on i { opacity: 0; transition: none; }
    .lg-pill.press i { transform: scale(1.14); box-shadow: inset 1px -1px 2px rgba(255,255,255,.5), inset 0 -1px 2px rgba(255,255,255,.5), inset 1px 1px 2px rgba(128,128,128,.5), 3px 6px 16px -6px rgba(0,0,0,.5); }

    .lg-goo { display: none; }
    .lg-goo.on { opacity: var(--lg-goo-o); }
    .lg-goo b { position: absolute; left: 0; top: 0; border-radius: 999px; background: #fff; will-change: transform; }
    html body #m1Tabs.lg-has-pill .m1-tab { z-index: 1; }
    html body #m1Tabs { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
    .lg-pill.press i { transform: scale(1.18); }
    #m1Tabs.lg-drag .lg-pill i { transition: none; }
    html body #m1Tabs.lg-drag .m1-tab.on:not(.lg-hover), html body #m1Tabs.lg-drag .m1-tab.ph-on:not(.lg-hover) { color: var(--muted) !important; }
    html body #m1Tabs .m1-tab.lg-hover { color: var(--text) !important; }
    html body #m1Tabs.lg-has-pill .m1-tab.on, html body #m1Tabs.lg-has-pill .m1-tab.ph-on { background: transparent !important; box-shadow: none !important; }

.chart-currency{display:none !important}
.st-seg{display:flex;gap:4px;padding:3px;border-radius:999px;background:var(--pill);flex:none}
.st-seg button{border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;padding:7px 16px;cursor:pointer}
.st-seg button.on{background:var(--text);color:var(--card)}

#panel-settings { padding-bottom: 150px; }
  .st-wrap { max-width: 640px; margin: 0 auto; }
  .st-title { margin: 6px 0 22px; font-size: 40px; font-weight: 400; letter-spacing: -.02em; color: var(--text); }
  .st-sec { margin: 26px 0 4px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .st-row { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 18px; font-weight: 600; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .st-row:last-child { border-bottom: 0; }
  .st-row:active { opacity: .6; }
  .st-ic { width: 24px; height: 24px; flex: none; color: var(--muted); display: grid; place-items: center; }
  .st-ic svg { width: 24px; height: 24px; display: block; }
  .st-l { flex: 1; min-width: 0; }
  .st-v { color: var(--muted); font-weight: 500; font-size: 16px; }
  .st-chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
  .st-sw { position: relative; width: 50px; height: 30px; border-radius: 999px; background: rgba(127,127,127,.35); flex: none; transition: background .2s ease; }
  .st-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: none; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
  .st-sw.on { background: var(--green); }
  .st-sw.on::after { transform: translateX(20px); }

.pg-back { display: none; }

    html body .pg-back { display: block; position: relative; width: 44px; height: 44px; padding: 0; margin: 0 0 22px; border: 0; border-radius: 50%; font-size: 0; line-height: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
      background: var(--lg-bg, rgba(255,255,255,.07)); -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
      box-shadow: 0 6px 16px var(--lg-shadow, rgba(0,0,0,.5)), inset 0 0 0 1px var(--lg-ring, rgba(255,255,255,.2)), inset 0 1px 0 var(--lg-hi, rgba(255,255,255,.38)); }
    html.lg-svg body .pg-back { -webkit-backdrop-filter: url(#lg-frosted) saturate(1.5); backdrop-filter: url(#lg-frosted) saturate(1.5); }
    html body .pg-back::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); border-radius: 1px; transform: translate(-32%, -50%) rotate(45deg); }
    html body .pg-back:active { transform: scale(.94); }
    html body #panel-dividends .dv-wrap > .pg-back { margin-top: 4px; }
    html body #panel-dividends #dvTracker { margin-top: 44px !important; }

  @media (prefers-reduced-transparency: reduce) { html body .pg-back { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }

    html body #pvCard #pvTabs { justify-content: flex-start !important; gap: 6px !important; padding: 0 20px !important; overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-left: 20px; -webkit-overflow-scrolling: touch; }
    html body #pvCard #pvTabs > * { flex: none !important; }
    html body #pvCard #pvTabs .pv-tab { padding: 8px 16px !important; scroll-snap-align: start; }
    html body #panel-holding .hp-ranges { justify-content: flex-start !important; gap: 6px !important; padding: 0 20px !important; margin-left: -20px; margin-right: -20px; overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
    html body #panel-holding .hp-ranges::-webkit-scrollbar { display: none; }
    html body #panel-holding .hp-r { flex: none !important; padding: 8px 16px !important; scroll-snap-align: start; }

  html body #panel-holding #hpBack::before { border-left-color: var(--text) !important; border-bottom-color: var(--text) !important; }

  .hp-adv { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 14px; border: 1.5px solid var(--hp-acc, var(--green)); border-radius: 10px; background: transparent; color: var(--hp-acc, var(--green)); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
  .hp-adv.on { background: var(--hp-acc, var(--green)); color: #000; }
  #hpChart.hp-candle-mode #hpEnd { display: none !important; }

  .hp-cortex { margin: 26px 0 0; padding: 18px 18px 16px; border-radius: 20px; background: var(--pill, rgba(127,127,127,.12)); box-shadow: inset 0 0 0 1px var(--line); }
  .hp-cortex h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--text); }
  .hp-cortex h2 svg { width: 18px; height: 18px; color: var(--hp-acc, var(--green)); }
  .hp-cortex p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
  .hp-cortex ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  .hp-cortex li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.45; color: var(--text2); }
  .hp-cortex li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--hp-acc, var(--green)); }
  .hp-cortex small { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }

  #rhStocks > .rh-sh { display: none !important; }
  #rhStockRows .rh-grp:not(:first-child) { margin-top: 18px; }

  #panel-holding .hp-main-column { position: relative; }
  .rhp-tools { position: absolute; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 999px; background: var(--pill, rgba(127,127,127,.16)); }
  .rhp-tools button, .rhp-tools .rhp-chk { width: 40px; height: 40px; border: 0; background: none; color: var(--green-ink); display: grid; place-items: center; border-radius: 50%; cursor: pointer; padding: 0; }
  .rhp-tools svg { width: 22px; height: 22px; }
  .rhp-tools .rhp-chk { cursor: default; }
  .rhp-tools .rhp-chk i { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--bg, #000); display: grid; place-items: center; }
  .rhp-tools .rhp-chk svg { width: 18px; height: 18px; }
  .hp-chart-tools-left #hpExpandBtn { display: none !important; }

  #hpPx { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
  #hpPx::after { content: ""; flex: none; width: 24px; height: 24px; background: currentColor; opacity: .92; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12h8M12 8l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12h8M12 8l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; }

  .rhp-sec { grid-column: 1 / -1; margin-top: 18px; padding-top: 6px; }
  .rhp-sec h2 { margin: 0 0 14px; padding-bottom: 14px; font-size: 26px; font-weight: 500; letter-spacing: -.4px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
  .rhp-sec h2.rhp-h2 { padding: 0; }
  .rhp-sec h2.rhp-h2 > .rhp-h { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding-bottom: 14px; cursor: pointer; }
  .rhp-chev { width: 20px; height: 20px; color: var(--muted); flex: none; }
  .rhp-sub { color: var(--muted); font-size: 15px; margin: -4px 0 6px; }
  .rhp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .rhp-row:last-child { border-bottom: 0; }
  .rhp-row:has(+ .rhp-row.sub) { border-bottom: 0; padding-bottom: 6px; }
  .rhp-row.sub { padding: 0 0 16px; color: var(--muted); font-size: 14px; }
  .rhp-row .pos { color: var(--green-ink); } .rhp-row .neg { color: var(--red-ink); }
  .rhp-i { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 0; border: 0; border-radius: 50%; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: var(--muted); font-style: normal; vertical-align: middle; cursor: pointer; user-select: none; }
  .rhp-i::before { content: ""; position: absolute; inset: 6px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
  .rhp-i:focus-visible { color: var(--text); outline: 2px solid var(--text); outline-offset: 1px; }
  .rhp-cta { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; color: var(--green-ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }

  .rhp-book { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
  .rhp-book .s b { display: block; font-size: 20px; font-weight: 600; } .rhp-book .s span { color: var(--muted); font-size: 14px; }
  .rhp-book .a { text-align: right; }
  .rhp-boxes { display: flex; gap: 6px; align-items: center; }
  .rhp-boxes i { transition: width .6s ease, height .6s ease; }
  .rhp-news-data { display: flex; flex-direction: column; }
  .rhp-story { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
  .rhp-story:first-child { padding-top: 6px; }
  .rhp-story .t { flex: 1; min-width: 0; }
  .rhp-story .m { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
  .rhp-story .h { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; }
  .rhp-story .sm { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .rhp-book.bk-stale .s b { opacity: .6; }
  .rhp-boxes i { display: block; width: 56px; height: 28px; border: 1px solid; border-radius: 2px; }
  .rhp-boxes i:first-child { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); height: 40px; }
  .rhp-boxes i:last-child { border-color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); width: 46px; }
  .rhp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .rhp-grid div span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
  .rhp-grid div b { font-size: 16px; font-weight: 500; }
  .rhp-l2 { margin-top: 24px; }
  .rhp-note { margin-top: 10px; color: var(--muted); font-size: 14px; }

    .rhp-real .rhp-sub { margin: 0 0 4px; }

  #rhStockRows .rh-grp { display: flex; align-items: center; gap: 6px; cursor: pointer; }
  #rhStockRows .rh-grp .rhp-chev { width: 16px; height: 16px; }
  @media (max-width: 720px) { .rhp-sec h2 { font-size: 22px; } .rhp-boxes i { width: 44px; } }

  #panel-holding #hpCortex { order: 3; margin-top: 22px; }
  .hp-cortex h2 { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
  .hp-cortex h2 .rhp-cx { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; transform: rotate(90deg); }
  .hp-cortex.min h2 { margin-bottom: 0; }
  .hp-cortex.min h2 .rhp-cx { transform: rotate(-90deg); }
  .hp-cortex.min > :not(h2) { display: none; }
  .hp-cortex.min { padding-bottom: 18px; }

  .hp-chart.hp-chart-expanded::after { content: ""; }
   html body #m1Tabs .m1-tab .side-ic { stroke-width: 2.4; }

  #digestSection { display: none !important; }
  #rhpChartBack { position: fixed; z-index: 10000; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pill, rgba(127,127,127,.22)); color: var(--green-ink); display: none; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 0 0 1px var(--line); }
  #rhpChartBack svg { width: 24px; height: 24px; }
  body.rhp-chart-open #rhpChartBack { display: grid; }

  .m1-sec:has(> #perfBlock) > .m1-sechead h2 { font-size: 28px !important; font-weight: 400 !important; letter-spacing: -.02em; }
  #perfBlock .pf-cols { display: block !important; gap: 0 !important; }
  #perfBlock .pf-cols > div + div { margin-top: 0 !important; }
  #perfBlock .pr { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px; padding: 16px 0 !important; border-top: 1px solid var(--line) !important; font-size: 16px !important; color: var(--muted) !important; }
  #perfBlock .pr span { color: var(--muted) !important; font-size: 16px !important; }
  #perfBlock .pr b { font-size: 16px !important; font-weight: 500 !important; color: var(--text) !important; letter-spacing: 0 !important; }
  #perfBlock .pr b.pos { color: var(--green-ink) !important; }
  #perfBlock .pr b.neg { color: var(--red-ink) !important; }
  #perfBlock .pr a { color: var(--text) !important; text-decoration: none; }
  #perfBlock .pr.big { border-top: 0 !important; padding: 2px 0 22px !important; }
  #perfBlock .pr.big span { color: var(--text2) !important; font-size: 17px !important; }
  #perfBlock .pr.big b { font-size: 26px !important; font-weight: 600 !important; letter-spacing: -.01em !important; }

  #perfBlock .pf-cols > div + div > .pr.big { border-top: 1px solid var(--line2) !important; padding: 20px 0 22px !important; margin-top: 8px; }
  #perfBlock .pf-cols > div + div > .pr.big span { color: var(--text) !important; font-weight: 600 !important; font-size: 17px !important; }
  #perfBlock .pf-cols > div + div > .pr.big b { font-size: 22px !important; font-weight: 600 !important; }
  #perfBlock .pinfo { display: inline-flex; align-items: center; margin-left: 6px; vertical-align: middle; color: var(--muted) !important; cursor: help; }
  #perfBlock .pinfo svg { width: 16px; height: 16px; display: block; }

html body #pvCard #pvTabs { scroll-snap-type: none !important; }
    html body #pvCard #pvTabs .pv-tab { scroll-snap-align: none !important; }

#panel-digests .dp-wrap { max-width: 640px; margin: 0 auto; padding-bottom: 150px; }
  #panel-digests .dp-back { border: 0; background: none; color: var(--text); font: inherit; font-size: 17px; font-weight: 500; padding: 0; margin: 4px 0 18px; cursor: pointer; }
  #panel-digests .dp-period { margin: -10px 0 18px; font-size: 15px; color: var(--muted); }
  #panel-digests .dp-head { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: var(--text); margin: 0 0 22px; }
  #panel-digests .dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  #panel-digests .dp-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--text); font: inherit; cursor: default; }
  #panel-digests .dp-tile b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #panel-digests .dp-sh { margin: 30px 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--text); }
  #panel-digests .dp-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; }
  #panel-digests button.dp-row { cursor: pointer; }
  #panel-digests .dp-row b { font-size: 16px; font-weight: 600; }
  #panel-digests .dp-row small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
  #panel-digests .dp-row .pc { font-size: 15px; font-weight: 600; min-width: 74px; text-align: right; }
  #panel-digests .dp-row .gn { font-size: 14px; color: var(--muted); min-width: 92px; text-align: right; }
  #panel-digests .dp-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line2); overflow: hidden; margin-top: -4px; }
  #panel-digests .dp-bar i { display: block; height: 100%; border-radius: 4px; }
  #panel-digests .pos { color: var(--green-ink); } #panel-digests .neg { color: var(--red-ink); }
  #panel-digests .dp-foot { margin: 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
  #panel-digests .dp-empty { padding: 40px 0; color: var(--muted); font-size: 16px; }
  #panel-digests .ai-box { margin-top: 30px; }

  html body #hpCortex, html body .rhp-tools {
    background: var(--lg-bg) !important; border: 0 !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
    box-shadow: 0 6px 16px var(--lg-shadow), inset 0 0 0 1px var(--lg-ring), inset 0 1px 0 var(--lg-hi) !important;
  }
  html body .rhp-tools button:active, html body .dvt-y:active, html body .st-seg button:active { transform: scale(.96); transition: transform .12s ease; }
  @media (prefers-reduced-transparency: reduce) {
    html body #hpCortex, html body .rhp-tools { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  }

  @supports (-webkit-touch-callout: none) { input, select, textarea { font-size: 16px !important; } }

  #phTradeMenu, #phTradeMenuScrim { display: none; }
  #phTradeMenuScrim.show { display: block; position: fixed; inset: 0; z-index: 88; background: rgba(0,0,0,.45); animation: tmfade .16s ease both; }
  #phTradeMenu.show { display: flex; flex-direction: column; gap: 8px; position: fixed; right: 14px; z-index: 89; width: min(176px, calc(100vw - 28px)); bottom: calc(max(8px, env(safe-area-inset-bottom) - 20px) + 76px + 82px); animation: tmrise .18s ease both; }
  #phTradeMenu button { height: 40px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid var(--green); }
  #phTradeMenu .tm-buy, #phTradeMenu .tm-sell, #phTradeMenu .tm-div { background: var(--green); color: #000; box-shadow: none; }
  #phTradeMenu .tm-x { background: transparent; color: var(--green-ink); height: 36px; font-size: 22px; font-weight: 500; }
  #phTradeMenu button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
  @keyframes tmfade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tmrise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { #phTradeMenu.show, #phTradeMenuScrim.show { animation: none; } }

  .hp-div-link { display: block; width: calc(100% - 32px); margin: 0 16px 14px; height: 44px; border-radius: 999px; border: 1.5px solid var(--green); background: rgba(0,200,5,.12); color: var(--green-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
   .hp-div-link { display: none; }

.hp-order-preview { font-size: 14px; line-height: 1.5; opacity: .8; margin: -4px 0 12px; }
  .hp-order-preview:empty { display: none; }
  html body #panel-holding .hp-order-field input[type="date"] { text-align: right; }

    html body #pvCard #pvTabs #pvMk { margin-left: -12px !important; margin-right: 12px !important; }

  .m1-sec:has(> #perfBlock) { display: none !important; }

html body #panel-holding #hpCortex { background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; padding: 18px 0 4px !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; margin-top: 18px !important; }
  html body #panel-holding #hpCortex.min { padding-bottom: 4px !important; }
  html body #panel-holding #hpCortex h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; color: var(--hp-day, var(--green)); cursor: pointer; }
  html body #panel-holding #hpCortex h2 .rhp-cx { width: 18px; height: 18px; margin-left: 2px; color: var(--hp-day, var(--green)); transform: none !important; }
  html body #panel-holding #hpCortex p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text); }
  html body #panel-holding #hpCortex small { display: block; margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }
  html body #panel-holding #hpCortex ul { display: none; }
  @keyframes cxTextIn { from { opacity: 0; } to { opacity: 1; } }
  html body #panel-holding #hpCortex.cx-fade p { animation: cxTextIn 1.6s ease-out both; }
  @media (prefers-reduced-motion: reduce) { html body #panel-holding #hpCortex.cx-fade p { animation: none; } }

  #panel-digests .dp-grid { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  #panel-digests .dp-tile { border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 16px 0 18px !important; gap: 6px; }
  #panel-digests .dp-tile small { font-size: 15px; color: var(--muted); }
  #panel-digests .dp-tile b { font-size: 18px; font-weight: 600; color: var(--text); }
  #panel-digests .dp-tile span { font-size: 17px; font-weight: 600; }
  #panel-digests .dp-tile span.pos { color: var(--green-ink); }
  #panel-digests .dp-tile span.neg { color: var(--red-ink); }
  #panel-digests .dp-tile em { font-size: 14px; color: var(--muted); font-style: normal; }
  @media (max-width: 380px) { #panel-digests .dp-grid { gap: 0 18px; } #panel-digests .dp-tile b { font-size: 16px; } }

#aiBox .ai-setup { display: grid; gap: 10px; margin-top: 12px; }
  #aiBox .ai-setup input { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
  #aiBox .ai-save { padding: 14px; border: 0; border-radius: 999px; background: var(--green); color: #000; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
  #aiBox .ai-cancel { justify-self: center; padding: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }

#panel-digests #aiOut ul.ai-bullets { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
  #panel-digests #aiOut ul.ai-bullets li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.5; color: var(--text); }
  #panel-digests #aiOut ul.ai-bullets li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

  #panel-digests #aiOut .ai-pend { display: none !important; }
  #panel-digests #aiOut ul.ai-bullets li { scroll-margin-bottom: 240px; transition: opacity .35s ease; }
  #panel-digests #aiOut ul.ai-bullets li.ai-new { animation: aiLineIn .45s cubic-bezier(.2,.7,.2,1) backwards; }
  #panel-digests #aiOut ul.ai-bullets li.ai-past { opacity: .5; }
  @keyframes aiLineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { #panel-digests #aiOut ul.ai-bullets li.ai-new { animation: none; } }

#allocationRing .allocation-label { font-size: 14px; font-weight: 500; fill: #9aa0a6; pointer-events: none; }
  #allocationRing .allocation-label.on { fill: var(--text); }
  .allocation-center .allocation-name { font-size: 20px; font-weight: 600; color: var(--text); }
  .allocation-center .allocation-tickers { font-size: 16px; color: var(--muted); }

  .allocation-visual{width:min(100%,560px);}

  .allocation-center .allocation-holding{display:flex;justify-content:space-between;gap:18px;min-width:160px;font-size:15px;color:var(--muted);}
  .allocation-center .allocation-holding span:first-child{color:var(--text);}
  .allocation-center .allocation-percent-inline{font-weight:600;color:var(--text);}

  .allocation-semi{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;}
  .allocation-semi[hidden]{display:none;}
  .allocation-semi .semi-sector{font-size:16px;color:var(--muted);}
  .allocation-semi .semi-main{font-size:30px;font-weight:700;color:var(--text);letter-spacing:-.01em;}
  .allocation-semi .semi-main span{color:#b06ee0;}
  .allocation-semi .semi-sub{font-size:15px;color:var(--muted);margin-bottom:6px;}
  .allocation-semi .semi-svg{width:min(340px,88%);height:auto;overflow:visible;}
  .allocation-semi .semi-tick{stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;opacity:.55;}
  .allocation-semi .semi-back{margin-top:8px;background:none;border:0;color:var(--muted);font:inherit;font-size:16px;cursor:pointer;padding:6px 10px;}

  #allocationCenter { max-width: 44%; }
  #allocationCenter .allocation-name { font-size: 15px !important; line-height: 1.25; }
  #allocationCenter .allocation-percent-inline { font-size: 15px !important; }
  #allocationCenter .allocation-holding { font-size: 14px !important; min-width: 0 !important; width: 100%; gap: 10px; margin-top: 3px; }

  #allocationCenter .allocation-holding { display: block; width: auto; min-width: 0 !important; justify-content: center; text-align: center; font-size: 14px !important; color: var(--text); }
  #allocationCenter .allocation-holding span { color: var(--text) !important; }
  #allocationCenter .allocation-tickers { font-size: 14px !important; text-align: center; }

    html body .m1-sec.perf-sec .m1-sechead h2 { font-size: 22px; font-weight: 500; letter-spacing: -.35px; line-height: 1.2; }
    html body .m1-sec.perf-sec .m1-sechead { margin-bottom: 16px; }
    html body .rhp-row { padding-top: 12px; padding-bottom: 12px; }

    html body #m1Tabs, html.lg-svg body #m1Tabs {
      isolation: isolate;
      background: linear-gradient(180deg, rgba(62,64,66,.12) 0%, rgba(35,37,39,.18) 100%) !important;
      -webkit-backdrop-filter: blur(10px) saturate(.8) !important;
      backdrop-filter: blur(10px) saturate(.8) !important;
      border: 0 !important; outline: 0 !important;
      box-shadow: 0 14px 32px -10px rgba(0,0,0,.58), 0 3px 9px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.075), inset 0 -1px 1px rgba(0,0,0,.22) !important;
    }
    html:not([data-theme="dark"]) body #m1Tabs, html.lg-svg:not([data-theme="dark"]) body #m1Tabs {
      background: linear-gradient(180deg, rgba(247,248,249,.48) 0%, rgba(229,232,235,.38) 100%) !important;
      -webkit-backdrop-filter: blur(14px) saturate(1.25) !important; backdrop-filter: blur(14px) saturate(1.25) !important;
      box-shadow: 0 14px 30px -10px rgba(0,0,0,.2), 0 3px 8px rgba(0,0,0,.07), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 1px rgba(0,0,0,.06) !important;
    }
    html body #m1Tabs::before {
      content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
      background: radial-gradient(80% 95% at 18% -10%, rgba(255,255,255,.11), transparent 66%), linear-gradient(180deg, rgba(255,255,255,.065), transparent 46%);
    }
    html:not([data-theme="dark"]) body #m1Tabs::before { background: radial-gradient(80% 95% at 18% -10%, rgba(255,255,255,.62), transparent 66%), linear-gradient(180deg, rgba(255,255,255,.34), transparent 46%); }
    @supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
      html body #m1Tabs::after {
        content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 45%, rgba(255,255,255,.04));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
      }
      html:not([data-theme="dark"]) body #m1Tabs::after { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(0,0,0,.035) 48%, rgba(0,0,0,.055)); }
    }

    .lg-pill, .lg-pill.show { display: block !important; }
    .lg-pill i { transform: scaleX(1.18); background: linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.58)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045), inset 0 -1px 1px rgba(0,0,0,.32); }
    html:not([data-theme="dark"]) .lg-pill i { background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34)); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 1px rgba(0,0,0,.05); }
    .lg-pill.press i { transform: scaleX(1.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.045), inset 0 -1px 1px rgba(0,0,0,.32); }
    .lg-pill.goo-on i { opacity: 1 !important; }
    .lg-goo, .lg-goo.on { display: none !important; }
    html body #m1Tabs .m1-tab.on, html body #m1Tabs .m1-tab.ph-on { background: rgba(0,0,0,.34) !important; box-shadow: none !important; }
    html body #m1Tabs.lg-has-pill .m1-tab.on, html body #m1Tabs.lg-has-pill .m1-tab.ph-on { background: transparent !important; }
    html body #m1Tabs .m1-tab { color: var(--muted) !important; }
    html body #m1Tabs .m1-tab.on, html body #m1Tabs .m1-tab.ph-on, html body #m1Tabs .m1-tab.lg-hover { color: #fff !important; }
    html:not([data-theme="dark"]) body #m1Tabs .m1-tab.on, html:not([data-theme="dark"]) body #m1Tabs .m1-tab.ph-on, html:not([data-theme="dark"]) body #m1Tabs .m1-tab.lg-hover { color: var(--text) !important; }
    html body #m1Tabs.lg-drag .m1-tab.on:not(.lg-hover), html body #m1Tabs.lg-drag .m1-tab.ph-on:not(.lg-hover) { color: var(--muted) !important; }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      html body #m1Tabs, html.lg-svg body #m1Tabs { background: rgba(24,25,28,.97) !important; }
      html:not([data-theme="dark"]) body #m1Tabs { background: rgba(246,247,248,.97) !important; }
    }
    @media (prefers-reduced-transparency: reduce) {
      html body #m1Tabs, html.lg-svg body #m1Tabs { background: #18191c !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
      html:not([data-theme="dark"]) body #m1Tabs { background: #f6f7f8 !important; }
      html body #m1Tabs::before, html body #m1Tabs::after { display: none; }
    }
    @media (prefers-reduced-motion: reduce) { .lg-pill, .lg-pill i { transition: none !important; } }

    html body .rh-row, html body #rhStockRows[data-mode="last"] .rh-row, html body #rhStockRows[data-mode="equity"] .rh-row, html body #rhStockRows[data-mode="today"] .rh-row, html body #rhStockRows[data-mode="ret"] .rh-row { grid-template-columns: minmax(96px, 1fr) 84px minmax(78px, 1fr) !important; }
    html body .rh-row > .spark, html body .rh-row > svg { justify-self: center; }
    html body .rh-row > :first-child { min-width: 0; }
    html body .rh-row > :last-child { justify-self: end; }
    html body .rh-row .tk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    html body .rh-row .pc { width: max-content; min-width: 78px; height: 35px; line-height: 35px; border-radius: 8px; padding: 0 5px !important; justify-self: end; }

:root { --green-ink: #00761c; --red-ink: #c43000; --focus-ring: #0f7a68; }
:root[data-theme="dark"] { --green-ink: rgb(0, 200, 5); --red-ink: rgb(255, 80, 0); --focus-ring: #4fd8bf; }
html { scroll-padding-bottom: 112px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html body :focus-visible { outline: 2px solid var(--focus-ring) !important; outline-offset: 2px; }
html body :focus:not(:focus-visible) { outline: 0; }

html body .pv-tab, html body .hchip, html body html body .dvt-y, html body #dvSortBtn,
html body #actDl, html body #actTicker, html body #actFrom, html body #actTo, html body #actType { min-height: 44px; }
html body .pv-tab, html body #dvSortBtn { min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
html body :not(#pfGate) > label:has(> input[type="checkbox"]), html body :not(#pfGate) > label:has(> input[type="radio"]) { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
html body .pv-more, html body a.m1-link, html body #resetPos, html body .cls-btn, html body .d-del, html body .st-seg button,
html body .inv-view-modes button { min-height: 44px; }
html body .pv-more, html body .d-del, html body .st-seg button, html body .inv-view-modes button { min-width: 44px; }
html body a.m1-link { display: inline-flex; align-items: center; }

html body .rhp-i, html body .return-info, html body .buying-power-info, html body .dvt-i, html body .cls-tag { position: relative; }
html body .rhp-i::after, html body .return-info::after, html body .buying-power-info::after, html body .dvt-i::after { content: ""; position: absolute; inset: -8px; }
html body .cls-tag::after { content: ""; position: absolute; inset: -8px -6px; }
html body .rhp-i, html body .buying-power-info, html body .dvt-i { font-size: 14px; }
html body .hchip { font-family: inherit; font-size: 14px; font-weight: 500; }

#txFlow { isolation: isolate; background: var(--txbg) !important; }
#txFlow .tx-st[data-st="entry"] { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#txFlow .tx-row input:focus { outline: 0 !important; box-shadow: none !important; border: 0 !important; }
#txFlow .tx-row input:focus-visible { outline: 0 !important; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--txg) 46%, transparent) !important; }
#txFlow .tx-row input { border-radius: 3px; transition: box-shadow .16s ease; }
#txFlow button:focus-visible, #txFlow select:focus-visible { outline: 2px solid color-mix(in srgb, var(--txg) 42%, transparent) !important; outline-offset: 2px; }
#txFlow.tx-keyboard .tx-st[data-st="entry"] { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
#txFlow.tx-keyboard h1 { margin-top: 8px; font-size: clamp(27px, 7vw, 34px); }
#txFlow.tx-keyboard .tx-sub { margin-top: 4px; font-size: 15px; }
#txFlow.tx-keyboard .tx-rows { margin-top: 10px; }
#txFlow.tx-keyboard .tx-row { min-height: 52px; gap: 10px; font-size: 16px; }
#txFlow.tx-keyboard .tx-row input { font-size: 19px; }
#txFlow.tx-keyboard .tx-err { min-height: 0; margin-top: 6px; }
#txFlow.tx-keyboard .tx-foot { flex: none; margin-top: 6px; padding-top: 4px; background: var(--txbg); }
#txFlow.tx-keyboard .tx-glow { display: none; }
#txFlow.tx-keyboard .tx-glass { height: 48px; background: var(--txg); border: 0; color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
#pvCard #pvTabs .pv-tab { flex: none !important; min-height: 30px; padding: 5px 9px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--green-ink) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.15; box-shadow: none !important; }
#pvCard #pvTabs .pv-tab.on { color: var(--green-ink) !important; -webkit-text-fill-color: currentColor !important; background: color-mix(in srgb, var(--green) 12%, transparent) !important; }
#pvCard[data-dir="down"] #pvTabs .pv-tab { color: var(--red-ink) !important; }
#pvCard[data-dir="down"] #pvTabs .pv-tab.on { background: color-mix(in srgb, var(--red) 12%, transparent) !important; color: var(--red-ink) !important; }

#panel-holding .hp-about { margin-top: 30px; padding-top: 0; }
#panel-holding .hp-about h2 { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line2, var(--line)); font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -.35px; }
#panel-holding .hp-about-d { max-width: none; margin: 22px 0 0; font-size: 17px; line-height: 1.48; }
#panel-holding .hp-about-more { padding: 4px 0 0; font-size: 16px; }
#panel-holding .hp-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 30px; padding-bottom: 0; }
#panel-holding .hp-about-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line2, var(--line)); }
#panel-holding .hp-about-grid > div:nth-child(-n+2) { grid-column: 1 / -1; }
#panel-holding .hp-about-grid .k { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.3; font-weight: 400; }
#panel-holding .hp-about-grid .v { min-width: 0; color: var(--text); font-size: 16px; line-height: 1.3; text-align: right; overflow-wrap: anywhere; }
#panel-holding .rhp-stats { margin-top: 38px; }
#panel-holding .rhp-stats > h2 { margin-bottom: 18px; font-size: 26px; }
#panel-holding .rhp-stats .rhp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; }
#panel-holding .rhp-stats .rhp-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; min-height: 56px; padding: 13px 0; border-bottom: 1px solid var(--line2, var(--line)); }
#panel-holding .rhp-stats .rhp-grid > div span { min-width: 0; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.3; }
#panel-holding .rhp-stats .rhp-grid > div b { flex: none; color: var(--text); font-size: 16px; line-height: 1.3; font-weight: 400; text-align: right; }
#panel-holding .rhp-stats .rhp-book { padding: 4px 0 16px; margin-bottom: 12px; }
#panel-holding .rhp-stats .rhp-book .s b { font-size: 18px; font-weight: 400; }
#panel-holding .rhp-stats .rhp-note { font-size: 14px; }
@media (max-width: 430px) {
  #panel-holding .hp-about { margin-top: 26px; }
  #panel-holding .hp-about h2, #panel-holding .rhp-stats > h2 { font-size: 24px; }
  #panel-holding .hp-about-d { font-size: 16px; line-height: 1.5; }
  #panel-holding .hp-about-grid, #panel-holding .rhp-stats .rhp-grid { column-gap: 14px; }
  #panel-holding .hp-about-grid > div:nth-child(-n+2) { grid-column: 1 / -1; }
  #panel-holding .hp-about-grid .k, #panel-holding .rhp-stats .rhp-grid > div span { font-size: 13px; }
  #panel-holding .hp-about-grid .v, #panel-holding .rhp-stats .rhp-grid > div b { font-size: 14px; }
}

:root {
  --g-bg: linear-gradient(180deg, rgba(118,122,128,.16) 0%, rgba(66,69,74,.12) 100%);
  --g-bg-flat: rgba(110,114,120,.14);
  --g-fx: blur(3px) saturate(1.45) brightness(1.06);
  --g-rim: inset 0 0 0 1px rgba(255,255,255,.085), inset 0 1px 0 rgba(255,255,255,.15), inset 0 -1px 1px rgba(0,0,0,.2);
  --g-drop: 0 10px 26px -10px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.18);
}
html:not([data-theme="dark"]) {
  --g-bg: linear-gradient(180deg, rgba(255,255,255,.46) 0%, rgba(236,239,242,.34) 100%);
  --g-bg-flat: rgba(255,255,255,.42);
  --g-fx: blur(6px) saturate(1.5);
  --g-rim: inset 0 0 0 1px rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 1px rgba(0,0,0,.05);
  --g-drop: 0 10px 24px -10px rgba(0,0,0,.2), 0 2px 6px rgba(0,0,0,.06);
}
html body #m1Tabs, html.lg-svg body #m1Tabs, html body #phTrade, html.lg-svg body #phTrade, html body #ptr, html.lg-svg body #ptr, html body .cur-pill, html.lg-svg body .cur-pill, html body #panel-holding #hpBack, html.lg-svg body #panel-holding #hpBack, html body .inv-view-modes, html.lg-svg body .inv-view-modes, html body .pg-back, html.lg-svg body .pg-back, html body #hpCortex, html.lg-svg body #hpCortex, html body .rhp-tools, html.lg-svg body .rhp-tools {
  background: var(--g-bg) !important;
  -webkit-backdrop-filter: var(--g-fx) !important; backdrop-filter: var(--g-fx) !important;
  border: 0 !important; outline: 0 !important;
  box-shadow: var(--g-rim), var(--g-drop) !important;
}

html body .inv-view-modes button.active { background: rgba(255,255,255,.14) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.18) !important; }
html:not([data-theme="dark"]) body .inv-view-modes button.active { background: rgba(255,255,255,.7) !important; }

html body #phTrade button { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.14), 0 3px 10px rgba(0,0,0,.2); }

html body #panel-holding .hp-order-ticket.ph-open, html body .av {
  background: linear-gradient(180deg, rgba(118,122,128,.2), rgba(52,55,60,.34)) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.5) !important; backdrop-filter: blur(14px) saturate(1.5) !important;
  box-shadow: var(--g-rim), 0 -10px 36px rgba(0,0,0,.4) !important; border: 0 !important;
}
html:not([data-theme="dark"]) body #panel-holding .hp-order-ticket.ph-open, html:not([data-theme="dark"]) body .av { background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(240,242,244,.56)) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body #m1Tabs, html.lg-svg body #m1Tabs, html body #phTrade, html.lg-svg body #phTrade, html body #ptr, html.lg-svg body #ptr, html body .cur-pill, html.lg-svg body .cur-pill, html body #panel-holding #hpBack, html.lg-svg body #panel-holding #hpBack, html body .inv-view-modes, html.lg-svg body .inv-view-modes, html body .pg-back, html.lg-svg body .pg-back, html body #hpCortex, html.lg-svg body #hpCortex, html body .rhp-tools, html.lg-svg body .rhp-tools, html body #panel-holding .hp-order-ticket.ph-open, html body .av { background: var(--card) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  html body #m1Tabs, html.lg-svg body #m1Tabs, html body #phTrade, html.lg-svg body #phTrade, html body #ptr, html.lg-svg body #ptr, html body .cur-pill, html.lg-svg body .cur-pill, html body #panel-holding #hpBack, html.lg-svg body #panel-holding #hpBack, html body .inv-view-modes, html.lg-svg body .inv-view-modes, html body .pg-back, html.lg-svg body .pg-back, html body #hpCortex, html.lg-svg body #hpCortex, html body .rhp-tools, html.lg-svg body .rhp-tools, html body #panel-holding .hp-order-ticket.ph-open, html body .av { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

html body #rhInv .inv-view-modes button.active, html:root[data-theme="dark"] body #rhInv .inv-view-modes button.active, :root[data-theme="dark"] body #rhInv .inv-view-modes button.active {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.1)) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.4); backdrop-filter: blur(3px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.26), inset 0 -1px 1px rgba(0,0,0,.18), 0 3px 10px rgba(0,0,0,.28) !important;
}
html:not([data-theme="dark"]) body #rhInv .inv-view-modes button.active { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.6)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), inset 0 1px 0 #fff, 0 3px 10px rgba(0,0,0,.12) !important; }

html body .dvt-years {
  background: var(--g-bg) !important; border: 0 !important;
  -webkit-backdrop-filter: var(--g-fx) !important; backdrop-filter: var(--g-fx) !important;
  box-shadow: var(--g-rim), var(--g-drop) !important;
}
html body .dvt-years::after {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.09)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 1px rgba(0,0,0,.16), 0 3px 10px rgba(0,0,0,.25) !important;
}
html:not([data-theme="dark"]) body .dvt-years::after { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), inset 0 1px 0 #fff, 0 3px 10px rgba(0,0,0,.12) !important; }

html body .st-seg {
  gap: 2px; padding: 3px; background: var(--g-bg) !important;
  -webkit-backdrop-filter: var(--g-fx); backdrop-filter: var(--g-fx);
  box-shadow: var(--g-rim), 0 6px 16px -8px rgba(0,0,0,.5) !important;
}
html body .st-seg button { color: var(--muted); background: transparent !important; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .12s ease; }
html body .st-seg button.on {
  color: var(--text) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.1)) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.4); backdrop-filter: blur(3px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 1px rgba(0,0,0,.16), 0 3px 10px rgba(0,0,0,.28) !important;
}
html:not([data-theme="dark"]) body .st-seg button.on { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.65)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), inset 0 1px 0 #fff, 0 3px 10px rgba(0,0,0,.12) !important; }

html body .st-sw {
  background: var(--g-bg-flat) !important;
  -webkit-backdrop-filter: var(--g-fx); backdrop-filter: var(--g-fx);
  box-shadow: var(--g-rim) !important; transition: background .25s ease, box-shadow .25s ease;
}
html body .st-sw.on {
  background: linear-gradient(180deg, rgba(60,214,70,.78), rgba(0,190,10,.62)) !important;
  box-shadow: inset 0 0 0 1px rgba(160,255,165,.35), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 1px rgba(0,80,0,.25) !important;
}
html body .st-sw::after {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(232,236,238,.84)) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.35) !important;
}
@media (prefers-reduced-transparency: reduce) {
  html body .dvt-years, html body .st-seg, html body .st-sw { background: var(--card) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

html body #rhInv .rh-big::before, :root[data-theme="dark"] #rhInv .rh-big::before { content: none !important; display: none !important; background: none !important; }

html body #txFlow .tx-row input:focus, html body #txFlow .tx-row input:focus-visible, html body #txFlow .tx-row input:focus:not(:focus-visible) { box-shadow: none !important; outline: 0 !important; border: 0 !important; }
html body #panel-activity select:focus, html body #panel-activity select:focus-visible, html body #panel-activity input:focus, html body #panel-activity input:focus-visible,
html body #panel-activity .act-filter select:focus, html body #panel-activity .act-filter select:focus-visible { outline: 0 !important; outline-offset: 0 !important; box-shadow: none !important; border-color: transparent !important; }

.contrib-sec .ct-body { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contrib-sec .ct-left { flex: 1 1 auto; min-width: 0; }
.contrib-sec .ct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 16px 0; border: 0; background: none; font: inherit; font-size: 17px; color: var(--text2); text-align: left; }
.contrib-sec .ct-row b { font-weight: 500; font-size: 18px; color: var(--text); white-space: nowrap; }
.contrib-sec .ct-row + .ct-row { border-top: 1px solid var(--line2); }
.contrib-sec .ct-limit { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.contrib-sec .ct-limit b.unset { color: var(--green-ink); font-weight: 600; }
.contrib-sec .ct-limit:active { opacity: .7; }
.contrib-sec .ct-limit input { width: 9.5em; max-width: 100%; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; text-align: right; font: inherit; font-size: 17px; font-weight: 500; color: var(--text); background: var(--g-bg-flat, rgba(127,127,127,.16)); -webkit-backdrop-filter: var(--g-fx); backdrop-filter: var(--g-fx); box-shadow: var(--g-rim); outline: 0; }
.contrib-sec .ct-limit input:focus, .contrib-sec .ct-limit input:focus-visible, .contrib-sec .ct-limit:focus-visible { outline: 0 !important; }
.contrib-sec .ct-sub { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); min-height: 1em; }
.contrib-sec .ct-ring { flex: none; width: 168px; height: 168px; }
.contrib-sec .ct-ring .trk { fill: none; stroke: color-mix(in srgb, var(--text) 16%, transparent); stroke-width: 22; }
.contrib-sec .ct-ring .fil { fill: none; stroke: var(--green); stroke-width: 22; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 105px 105px; transition: stroke-dasharray .5s ease; }
.contrib-sec .ct-lbl { display: inline-flex; align-items: center; gap: 10px; }
.contrib-sec .ct-dot { display: none; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.contrib-sec.split .ct-dot { display: inline-block; }
.contrib-sec .ct-dot.cur { background: var(--green); }
.contrib-sec .ct-dot.old { background: rgb(204,255,0); }
.contrib-sec .ct-ring .ysl { fill: none; stroke-width: 40; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 105px 105px; }
@media (max-width: 420px) { .contrib-sec .ct-ring { width: 132px; height: 132px; } .contrib-sec .ct-row { font-size: 16px; padding: 14px 0; } .contrib-sec .ct-row b { font-size: 17px; } .contrib-sec .ct-limit input { width: 7.5em; } }

.contrib-sec .ct-head { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.contrib-sec .ct-head h2 { margin: 0; }
.contrib-sec .ct-head svg { color: var(--muted); flex: none; margin-top: 3px; }
.contrib-sec .ct-head:active { opacity: .7; }
.contrib-sec .ct-head:focus-visible, .contrib-sec .ct-limit:focus-visible { outline: 0 !important; }
#ctPage { position: fixed; inset: 0; z-index: 400; display: none; flex-direction: column; background: var(--bg); color: var(--text); padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); font-family: inherit; -webkit-user-select: none; user-select: none; touch-action: manipulation; overscroll-behavior: contain; }
#ctPage.show { display: flex; animation: ctin .28s cubic-bezier(.2,.8,.2,1); }
@keyframes ctin { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
#ctPage .cp-bar { flex: none; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 52px; padding: 0 8px; }
#ctPage .cp-x { width: 44px; height: 44px; border: 0; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
#ctPage .cp-x:active { background: var(--g-bg-flat, rgba(127,127,127,.18)); }
#ctPage .cp-title { text-align: center; font-size: 16px; font-weight: 500; line-height: 1.2; }
#ctPage .cp-title small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 1px; }
#ctPage .cp-dial { flex: 1 1 0; min-height: 0; position: relative; margin: 4px 16px 0; display: grid; place-items: center; }
#ctPage .cp-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#ctPage .cp-ring { fill: none; stroke: color-mix(in srgb, var(--text) 22%, transparent); stroke-width: .7; }
#ctPage .cp-tk { stroke: color-mix(in srgb, var(--text) 34%, transparent); stroke-width: 1; }
#ctPage .cp-tk.mj { stroke-width: 1.8; stroke: color-mix(in srgb, var(--text) 55%, transparent); }
#ctPage .cp-tk.on, #ctPage .cp-tk.mj.on { stroke: rgba(0, 0, 0, .78); }
#ctPage .cp-seg { stroke-width: .5; stroke-linejoin: round; }
#ctPage .cp-lb { fill: var(--muted); font-size: 9px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
#ctPage .cp-mid { position: relative; z-index: 2; text-align: center; }
#ctPage .cp-amt { font-weight: 500; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ctPage .cp-pill[hidden] { display: none; }
#ctPage .cp-pill { display: inline-block; margin-top: 10px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); background: var(--g-bg-flat, rgba(127,127,127,.16)); -webkit-backdrop-filter: var(--g-fx); backdrop-filter: var(--g-fx); box-shadow: var(--g-rim); }
#ctPage .cp-pill.over { color: var(--green-ink); }
#ctPage .cp-until { flex: none; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 10px 20px 0; font-size: 15px; color: var(--text2, var(--muted)); min-height: 24px; }
#ctPage .cp-info { width: 22px; height: 22px; border: 0; padding: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
#ctPage .cp-note { flex: none; margin: 4px 24px 0; text-align: center; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
#ctPage .cp-note[hidden] { display: none; }
#ctPage .cp-chips { flex: none; display: flex; gap: 10px; margin: 12px 16px 0; }
#ctPage .cp-chip, #ctPage .cp-save { border: 0; font: inherit; cursor: pointer; color: var(--text); -webkit-tap-highlight-color: transparent; background: var(--g-bg) !important; -webkit-backdrop-filter: var(--g-fx); backdrop-filter: var(--g-fx); box-shadow: var(--g-rim), var(--g-drop); transition: transform .12s ease; }
#ctPage .cp-chip { flex: 1 1 0; height: 46px; border-radius: 999px; font-size: 16px; font-weight: 600; min-width: 0; }
#ctPage .cp-chip:active, #ctPage .cp-save:active { transform: scale(.97); }
#ctPage .cp-pad { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 12px 0; }
#ctPage .cp-k { height: clamp(44px, 7.4vh, 62px); border: 0; background: none; color: var(--text); font: inherit; font-size: 30px; font-weight: 400; display: grid; place-items: center; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
#ctPage .cp-k:active { background: var(--g-bg-flat, rgba(127,127,127,.18)); }
#ctPage .cp-save { flex: none; height: 54px; margin: 6px 16px 12px; border-radius: 999px; font-size: 17px; font-weight: 700; color: var(--green-ink); }
#ctPage .cp-save:disabled { opacity: .4; cursor: default; }
#ctPage button:focus-visible { outline: 0 !important; }
@media (max-height: 700px) { #ctPage .cp-chips { margin-top: 8px; } #ctPage .cp-chip { height: 40px; } #ctPage .cp-save { height: 48px; margin-bottom: 8px; } #ctPage .cp-pill { margin-top: 6px; padding: 5px 12px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { #ctPage.show { animation: none; } }

#ctHistory { position: fixed; inset: 0; z-index: 399; display: none; flex-direction: column; overflow: auto; background: var(--bg); color: var(--text); padding: env(safe-area-inset-top, 0px) 20px calc(112px + env(safe-area-inset-bottom, 0px)); font-family: inherit; overscroll-behavior: contain; }
#ctHistory.show { display: flex; animation: ctin .24s ease-out; }
body.ct-history-open #m1Tabs { z-index: 410 !important; }
#ctHistory .ch-close { position: sticky; top: 0; align-self: flex-start; width: 42px; height: 42px; margin: 4px 0 6px -8px; border: 0; border-radius: 50%; color: var(--text); background: var(--bg); font-size: 28px; line-height: 1; cursor: pointer; }
#ctHistory h2 { margin: 4px 0 8px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
#ctHistory .ch-total { font-size: 36px; font-weight: 500; font-variant-numeric: tabular-nums; }
#ctHistory .ch-limit { margin: 3px 0 12px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
#ctHistory .ch-ring-wrap { display: grid; place-items: center; margin: 4px auto 10px; width: min(78vw, 330px); aspect-ratio: 1; position: relative; }
#ctHistory .ch-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#ctHistory .ch-ring .ch-track { fill: none; stroke: color-mix(in srgb, var(--text) 20%, transparent); stroke-width: 25; }
#ctHistory .ch-ring .ch-guide { fill: none; stroke: color-mix(in srgb, var(--text) 24%, transparent); stroke-width: .7; }
#ctHistory .ch-ring .ch-seg { stroke-width: .5; stroke-linejoin: round; }
#ctHistory .ch-ring .ch-tk { stroke: color-mix(in srgb, var(--text) 48%, transparent); stroke-width: 1; }
#ctHistory .ch-ring .ch-tk.mj { stroke-width: 1.8; stroke: color-mix(in srgb, var(--text) 68%, transparent); }
#ctHistory .ch-ring .ch-tk.on, #ctHistory .ch-ring .ch-tk.mj.on { stroke: rgba(0,0,0,.78); }
#ctHistory .ch-ring .ch-lb { fill: var(--muted); font-size: 9px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
#ctHistory .ch-ring-label { position: absolute; text-align: center; font-size: 13px; color: var(--muted); }
#ctHistory .ch-ring-label b { display: block; margin-bottom: 4px; color: var(--text); font-size: clamp(18px, 5.5vw, 27px); font-weight: 500; font-variant-numeric: tabular-nums; }
#ctHistory .ch-years { display: flex; justify-content: center; gap: 14px; margin: 6px 0 30px; }
#ctHistory .ch-year { border: 0; padding: 8px 16px; border-radius: 999px; color: var(--text2); background: transparent; font: inherit; font-size: 15px; cursor: pointer; }
#ctHistory .ch-year.active { color: var(--bg); background: var(--text); font-weight: 600; }
#ctHistory .ch-contribute { flex: none; width: 100%; min-height: 56px; margin: -10px 0 30px; border: 0; border-radius: 999px; color: var(--bg); background: var(--text); font: inherit; font-size: 17px; font-weight: 650; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#ctHistory .ch-contribute:active { opacity: .78; transform: scale(.99); }
#ctHistory h3 { margin: 0 0 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line2); font-size: 23px; font-weight: 500; }
#ctHistory .ch-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
#ctHistory .ch-desc { min-width: 0; }
#ctHistory .ch-desc b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }
#ctHistory .ch-desc small, #ctHistory .ch-value small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
#ctHistory .ch-value { flex: none; text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
#ctHistory .ch-empty { padding: 20px 0; color: var(--muted); }

.contrib-sec #ctSub { display: none !important; }
@media (max-width: 720px) {
    top: 0 !important;
    padding: calc(env(safe-area-inset-top, 0px) + 4px) 20px 6px !important;
    background: var(--bg) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

.st-feed { pointer-events: none; padding-bottom: 4px; }
.st-feed-t { white-space: pre-line; padding: 0 0 14px 44px; font-size: 13px; line-height: 1.4; color: var(--muted); word-break: break-word; }
.st-feed-t.bad { color: var(--red); }

html body .rh-row .pc { background: transparent !important; box-shadow: inset 0 0 0 1.5px currentColor; }
html body .rh-row .pc.pos { background: transparent !important; color: var(--green-ink) !important; }
html body .rh-row .pc.neg { background: transparent !important; color: var(--red-ink) !important; }
:root[data-theme="dark"] body .rh-row .pc.pos { color: var(--green) !important; }
:root[data-theme="dark"] body .rh-row .pc.neg { color: var(--red) !important; }

html body #rhStockRows[data-mode="port"] .rh-row .pc { color: var(--text) !important; }
:root[data-theme="dark"] body #rhStockRows[data-mode="port"] .rh-row .pc { color: #fff !important; }

html body #rhInv .ov-card { margin-top: 28px; padding: 20px 0 6px; background: transparent; }
html body #rhInv .ov-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
html body #rhInv .ov-card-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.01em; color: var(--text); }
html body #rhInv .ov-card-h h2 svg { display: block; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
html body #rhInv .ov-unit { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--text) 10%, transparent); }
html body #rhInv .ov-unit button { min-width: 38px; height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
html body #rhInv .ov-unit button.active { background: color-mix(in srgb, var(--text) 16%, transparent); color: var(--text); }
html body #rhInv .ov-card .ovr { padding: 16px 0; gap: 4px 16px; font-size: 16px; align-items: center; border-radius: 0; border-bottom: 1px solid var(--line); animation: none; }
html body #rhInv .ov-card .ovr:last-child { border-bottom: 0; }
html body #rhInv .ov-card .ovr > div { gap: 3px; }
html body #rhInv .ov-card .ovr > div:nth-child(2) { flex-direction: row; align-items: center; gap: 10px; }
html body #rhInv .ov-card .ovr b, html body #rhInv .ov-card .ovr span.t { font-weight: 400; font-size: 16px; color: var(--text); }
html body #rhInv .ov-card .ovr span { font-size: 13px; color: var(--muted); }
html body #rhInv .ov-card .ovr .chev { flex: none; width: 7px; height: 7px; margin-right: 2px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
html body #rhInv .ov-card .ovr.open .chev { transform: rotate(135deg); }
html body #rhInv .ov-card .ovr-note { padding: 10px 0; }

#ovPage { position: fixed; inset: 0; z-index: 399; display: none; flex-direction: column; overflow: auto; background: var(--bg); color: var(--text); padding: env(safe-area-inset-top, 0px) 20px calc(112px + env(safe-area-inset-bottom, 0px)); font-family: inherit; overscroll-behavior: contain; }
:root[data-theme="dark"] #ovPage { background: #000000; }
#ovPage.show { display: flex; animation: ctin .24s ease-out; }
body.ov-page-open #m1Tabs { z-index: 410 !important; }
#ovPage h2 { margin: 4px 0 22px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
#ovPage .op-head, #ovPage .op-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 104px; gap: 10px; align-items: center; }
#ovPage .op-head { padding: 0 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
#ovPage .op-row { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-variant-numeric: tabular-nums; cursor: pointer; outline: none; }
#ovPage .op-row:focus-visible { background: color-mix(in srgb, var(--text) 8%, transparent); }
#ovPage .op-n { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#ovPage .op-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; }
#ovPage .op-n span { font-size: 15px; }

html body .op-back, html body #ctHistory .ch-close, html body #panel-digests .dp-back, html body .hp-back[data-dvd="back"] {
  display: block; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0 !important; border-radius: 50%;
  font-size: 0 !important; line-height: 0; color: transparent !important; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: var(--g-bg) !important; -webkit-backdrop-filter: var(--g-fx) !important; backdrop-filter: var(--g-fx) !important;
  box-shadow: var(--g-rim), var(--g-drop) !important;
}
html body .op-back::before, html body #ctHistory .ch-close::before, html body #panel-digests .dp-back::before, html body .hp-back[data-dvd="back"]::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); border-radius: 1px; transform: translate(-32%, -50%) rotate(45deg);
}
html body .op-back:active, html body #ctHistory .ch-close:active, html body #panel-digests .dp-back:active, html body .hp-back[data-dvd="back"]:active { transform: scale(.94); }
html body .op-back, html body #ctHistory .ch-close { position: sticky; top: 8px; z-index: 2; align-self: flex-start; margin: 8px 0 16px; }

/*@pf end */
/*@pf start style id=il-css */


.il{display:block;width:100%;height:100%;overflow:hidden}
.il-sp{display:block;width:132px;height:132px;margin:0 auto 10px;flex:none;border-radius:18px;overflow:hidden}
.il-es{display:flex;flex-direction:column;align-items:center;text-align:center}
.il-hero{width:150px;height:150px;margin:4px auto 14px;border-radius:20px;overflow:hidden}.il-hero-gate{width:132px;height:132px;margin:0 0 28px}
@media(min-width:861px){.il-hero-gate{display:none}}


/*@pf end */
/*@pf start style id=pc-css */

.pc-sec{margin:0 0 20px}
html body #panel-portfolio #pcSec{order:1;margin:12px 0 20px}
.pc-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:20px}
.pc-row::-webkit-scrollbar{display:none}
.pc-row:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.pc-c{position:relative;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;display:flex;min-height:184px;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--text);overflow:hidden;box-shadow:none}
:root[data-theme="dark"] .pc-c{box-shadow:none}
.pc-art{flex:0 0 34%;min-width:112px;max-width:140px;overflow:hidden}
.pc-art .il{width:100%;height:100%}
.pc-b{flex:1;min-width:0;display:flex;flex-direction:column;padding:16px 16px 6px 18px}
.pc-kr{display:flex;align-items:center;justify-content:space-between;height:16px}
.pc-k{font-size:13px;font-weight:500;color:var(--muted)}
.pc-x{flex:none;width:44px;height:44px;margin:-14px -10px -14px 0;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:22px;line-height:44px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pc-t{font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.01em;margin:10px 0 6px;overflow-wrap:anywhere}
.pc-s{font-size:14px;line-height:1.4;color:var(--muted)}
.pc-f{margin-top:auto;padding-top:6px}
.pc-cta{min-height:44px;padding:0;border:0;background:none;font:inherit;font-size:16px;font-weight:600;color:var(--green-ink,#00a000);text-decoration:underline;text-underline-offset:6px;cursor:pointer}

.v-band{flex-direction:row-reverse}
.v-stat .pc-art{position:absolute;right:14px;bottom:14px;width:76px;height:76px;min-width:0;max-width:none;border-radius:16px}
.v-stat .pc-t{font-size:18px;margin-top:4px}
.v-stat .pc-t,.v-stat .pc-s,.v-stat .pc-f{padding-right:90px}
.pc-big{font-size:40px;line-height:1.05;font-weight:500;letter-spacing:-.02em;margin:12px 0 0;font-variant-numeric:tabular-nums}
.pc-big.up{color:var(--green-ink,#00761c)}.pc-big.dn{color:var(--red-ink,#c43000)}
.pc-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}.pc-dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}.pc-dots i.on{background:var(--text)}
#pcSheet{position:fixed;inset:0;z-index:9500;display:none}#pcSheet.on{display:block}
#pcSheet .bg{position:absolute;inset:0;background:rgba(0,0,0,.5)}
#pcSheet .box{position:absolute;left:0;right:0;bottom:0;max-width:480px;margin:0 auto;max-height:85%;overflow:auto;box-sizing:border-box;padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));background:var(--card);color:var(--text);border-radius:20px 20px 0 0;border:1px solid var(--line)}
#pcSheet .il-sp{width:120px;height:120px;margin:0 0 8px}
#pcSheet h3{margin:0 0 10px;font-size:22px;font-weight:500}
#pcSheet p{margin:0 0 12px;font-size:16px;line-height:1.5}
#pcSheet .fine{font-size:13px;color:var(--muted)}
#pcSheet button{width:100%;min-height:52px;margin-top:8px;border:0;border-radius:26px;background:var(--text);color:var(--card);font:inherit;font-size:17px;font-weight:600;cursor:pointer}

/*@pf end */
