
:root{
  color-scheme:dark;
  --bg:#03070b;--surface:#08131a;--surface-strong:#0d1b25;--surface-soft:#132732;
  --line:rgba(155,218,230,.085);--line-strong:rgba(170,232,242,.17);
  --text:#f5fbfd;--muted:#8196a1;--muted-strong:#bfd0d7;
  --accent:#86e9ff;--accent-soft:rgba(134,233,255,.095);--up:#39e58c;--up-soft:rgba(57,229,140,.15);--down:#ff5f70;--down-soft:rgba(255,95,112,.15);
  --page-gradient:radial-gradient(ellipse at 9% -9%,rgba(50,111,255,.19),transparent 34rem),radial-gradient(ellipse at 91% 1%,rgba(96,255,202,.115),transparent 31rem),radial-gradient(ellipse at 68% 112%,rgba(157,100,255,.10),transparent 38rem),linear-gradient(151deg,#07121b 0%,#03070b 49%,#0a0b18 100%);
  --header-glow-a:rgba(96,255,202,.13);--header-glow-b:rgba(122,111,255,.09);--header-edge:rgba(134,233,255,.10);--theme-browser:#07121b;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:root[data-theme="black"]{--bg:#030405;--surface:#090c11;--surface-strong:#10151d;--surface-soft:#181f2a;--line:rgba(255,255,255,.09);--line-strong:rgba(255,255,255,.17);--text:#f7f9fc;--muted:#7f8997;--muted-strong:#b7bfca;--accent:#dfe8ef;--accent-soft:rgba(223,232,239,.075);--page-gradient:radial-gradient(circle at 50% -18%,rgba(60,72,82,.17),transparent 35rem),linear-gradient(145deg,#090b0e 0%,#030405 58%,#08090b 100%);--header-glow-a:rgba(255,255,255,.055);--header-glow-b:rgba(112,131,146,.055);--header-edge:rgba(255,255,255,.075);--theme-browser:#090b0e}
:root[data-theme="light"]{color-scheme:light;--bg:#eef5ff;--surface:#fff;--surface-strong:#f5f9ff;--surface-soft:#e8f1fb;--line:rgba(17,53,91,.10);--line-strong:rgba(17,53,91,.20);--text:#10233b;--muted:#657991;--muted-strong:#41566f;--accent:#007da5;--accent-soft:rgba(0,125,165,.10);--up:#087d4c;--up-soft:rgba(8,125,76,.12);--down:#d33d50;--down-soft:rgba(211,61,80,.11);--page-gradient:radial-gradient(circle at 12% -8%,rgba(64,161,255,.20),transparent 34rem),radial-gradient(circle at 88% 2%,rgba(0,193,226,.12),transparent 30rem),linear-gradient(145deg,#f8fbff 0%,#edf5ff 52%,#f5faff 100%);--header-glow-a:rgba(0,169,211,.12);--header-glow-b:rgba(76,117,255,.07);--header-edge:rgba(0,125,165,.10);--theme-browser:#f8fbff}
:root[data-theme="amber"]{--bg:#05080d;--surface:#0b1118;--surface-strong:#111923;--surface-soft:#18222d;--line:rgba(220,200,178,.085);--line-strong:rgba(226,198,168,.16);--text:#f5f6f7;--muted:#87919c;--muted-strong:#c7cdd2;--accent:#d6b28e;--accent-soft:rgba(214,178,142,.085);--page-gradient:radial-gradient(ellipse at 8% -10%,rgba(54,83,121,.16),transparent 35rem),radial-gradient(ellipse at 94% 3%,rgba(199,139,88,.05),transparent 30rem),radial-gradient(ellipse at 69% 114%,rgba(104,74,120,.045),transparent 38rem),linear-gradient(151deg,#0a111a 0%,#05080d 51%,#0c0d12 100%);--header-glow-a:rgba(214,178,142,.095);--header-glow-b:rgba(74,103,143,.08);--header-edge:rgba(214,178,142,.085);--theme-browser:#0a111a}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--theme-browser,var(--bg))}
body{margin:0;min-width:320px;min-height:100vh;background:var(--page-gradient),var(--bg);background-attachment:fixed;color:var(--text);font-size:16px;line-height:1.5;overflow-x:hidden}
a{-webkit-tap-highlight-color:transparent}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.treasury-shell{position:relative;width:min(1180px,calc(100% - 24px));min-height:100vh;margin:0 auto;padding:max(12px,env(safe-area-inset-top)) 0 max(16px,env(safe-area-inset-bottom));display:grid;grid-template-rows:auto 1fr;gap:18px}
.treasury-header{position:sticky;top:0;z-index:30;isolation:isolate;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:5px 2px 13px;background:transparent}
.treasury-header::before{content:"";position:absolute;z-index:-2;left:-24px;right:-24px;top:calc(-1 * max(12px,env(safe-area-inset-top)));height:calc(100% + max(18px,env(safe-area-inset-top)));pointer-events:none;background:radial-gradient(ellipse at 9% 6%,var(--header-glow-a),transparent 43%),radial-gradient(ellipse at 92% 10%,var(--header-glow-b),transparent 42%),linear-gradient(180deg,color-mix(in srgb,var(--bg) 58%,transparent) 0%,color-mix(in srgb,var(--bg) 18%,transparent) 62%,transparent 100%);opacity:.96;backdrop-filter:blur(9px) saturate(1.06);-webkit-backdrop-filter:blur(9px) saturate(1.06);mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.72) 78%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.72) 78%,transparent 100%)}
.treasury-header::after{content:"";position:absolute;z-index:-1;left:8%;right:8%;bottom:4px;height:1px;background:linear-gradient(90deg,transparent,var(--header-edge),transparent);opacity:.72}
.treasury-close{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 80%,var(--accent-soft) 20%);color:var(--text);text-decoration:none;transition:transform .16s ease,border-color .16s ease}
.treasury-close:active{transform:scale(.96)}.treasury-close:hover{border-color:var(--line-strong)}.treasury-close svg{width:20px;height:20px}
.treasury-title{min-width:0;display:grid;gap:1px}.treasury-title>span{color:var(--accent);font-size:.52rem;font-weight:950;letter-spacing:.18em}.treasury-title>strong{font-size:clamp(1.08rem,2vw,1.55rem);font-weight:950;letter-spacing:-.025em}
.treasury-market-reference{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}.treasury-market-reference>strong{font-size:.78rem;font-weight:950;letter-spacing:-.02em;white-space:nowrap;font-variant-numeric:tabular-nums}
.treasury-live{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--up) 24%,var(--line));border-radius:999px;color:var(--muted-strong);font-size:.5rem;font-weight:950;letter-spacing:.11em}.treasury-live i{width:6px;height:6px;border-radius:50%;background:var(--up);box-shadow:0 0 12px color-mix(in srgb,var(--up) 72%,transparent);animation:livePulse 2s ease-in-out infinite}.treasury-live.sync{opacity:.6}.treasury-live.error{border-color:color-mix(in srgb,var(--down) 30%,var(--line));color:var(--down)}.treasury-live.error i{background:var(--down);box-shadow:0 0 12px color-mix(in srgb,var(--down) 60%,transparent)}
@keyframes livePulse{0%,100%{opacity:.65;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}

.treasury-main{display:grid;gap:14px;align-content:start;padding-bottom:18px}
.treasury-hero{position:relative;min-height:244px;display:grid;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--line));border-radius:30px;background:linear-gradient(150deg,color-mix(in srgb,var(--accent) 7%,var(--surface)),color-mix(in srgb,var(--surface) 97%,transparent));box-shadow:0 22px 70px color-mix(in srgb,#000 18%,transparent)}
.treasury-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,color-mix(in srgb,var(--accent) 5%,transparent) 50%,transparent 78%);transform:translateX(-100%);animation:treasurySweep 7s ease-in-out infinite;pointer-events:none}@keyframes treasurySweep{0%,68%{transform:translateX(-100%)}88%,100%{transform:translateX(100%)}}
.treasury-hero-copy{position:relative;z-index:2;width:100%;display:grid;justify-items:center;text-align:center}.treasury-kicker{color:var(--muted);font-size:.57rem;font-weight:950;letter-spacing:.2em}
.treasury-hero-orbit{position:absolute;width:min(64vw,580px);aspect-ratio:1;border:1px solid color-mix(in srgb,var(--accent) 9%,transparent);border-radius:50%;opacity:.8}.treasury-hero-orbit::before,.treasury-hero-orbit::after{content:"";position:absolute;inset:14%;border:1px solid color-mix(in srgb,var(--accent) 8%,transparent);border-radius:50%}.treasury-hero-orbit::after{inset:29%}.treasury-hero-orbit i{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 18px color-mix(in srgb,var(--accent) 70%,transparent)}.treasury-hero-orbit i:nth-child(1){top:10%;left:27%}.treasury-hero-orbit i:nth-child(2){right:8%;top:52%}.treasury-hero-orbit i:nth-child(3){bottom:18%;left:13%;opacity:.5}
.treasury-total-display{display:flex;align-items:baseline;justify-content:center;gap:0;width:100%;margin-top:7px;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1}
.treasury-total-major{display:inline-block;font-size:clamp(3rem,7.1vw,4.7rem)!important;line-height:.92!important;font-weight:950!important;letter-spacing:-.055em!important;color:var(--text)}
.treasury-total-decimals{display:inline-block;margin-left:.04em;font-size:clamp(1.55rem,3.35vw,2.25rem)!important;line-height:1!important;font-weight:900!important;letter-spacing:-.035em!important;color:color-mix(in srgb,var(--text) 84%,var(--muted))}
.treasury-total-display>small{margin-left:9px;font-size:.68rem;font-weight:950;letter-spacing:.16em;color:var(--accent);transform:translateY(-.08em)}
.treasury-hero-worth{margin-top:10px;color:var(--muted-strong);font-size:clamp(.98rem,2vw,1.35rem);font-weight:850;font-variant-numeric:tabular-nums}.treasury-hero-pnl{display:inline-grid;grid-template-columns:auto auto auto;align-items:baseline;gap:7px;margin-top:11px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:999px;background:color-mix(in srgb,var(--bg) 30%,transparent);font-variant-numeric:tabular-nums;transition:border-color .25s ease,background .25s ease}.treasury-hero-pnl>span{color:var(--muted);font-size:.48rem;font-weight:950;letter-spacing:.13em}.treasury-hero-pnl>strong{color:var(--text);font-size:.78rem;font-weight:950;letter-spacing:-.015em}.treasury-hero-pnl>small{color:var(--muted-strong);font-size:.57rem;font-weight:900}.treasury-hero-pnl.positive{border-color:color-mix(in srgb,var(--up) 28%,var(--line));background:color-mix(in srgb,var(--up) 5%,transparent)}.treasury-hero-pnl.positive>strong,.treasury-hero-pnl.positive>small{color:var(--up)}.treasury-hero-pnl.negative{border-color:color-mix(in srgb,var(--down) 30%,var(--line));background:color-mix(in srgb,var(--down) 5%,transparent)}.treasury-hero-pnl.negative>strong,.treasury-hero-pnl.negative>small{color:var(--down)}.treasury-status-line{display:flex;justify-content:center;margin-top:10px;color:var(--muted);font-size:.47rem;font-weight:850;letter-spacing:.09em}

.treasury-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface) 96%,transparent);overflow:hidden}.treasury-metric{position:relative;min-width:0;padding:16px 18px;display:grid;gap:4px}.treasury-metric:not(:last-child)::after{content:"";position:absolute;right:0;top:22%;bottom:22%;width:1px;background:var(--line)}.treasury-metric>span{color:var(--muted);font-size:.49rem;font-weight:950;letter-spacing:.12em}.treasury-metric>strong{font-size:clamp(1rem,1.75vw,1.38rem);line-height:1.08;font-weight:950;letter-spacing:-.035em;white-space:nowrap}.treasury-metric>small{color:var(--muted-strong);font-size:.56rem;font-weight:720}.treasury-metric-reward>strong{color:var(--up)}
.treasury-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.treasury-panel{min-width:0;padding:17px;border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface) 96%,transparent)}.treasury-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.treasury-panel>header>div{display:grid;gap:3px}.treasury-panel>header span{color:var(--muted);font-size:.5rem;font-weight:950;letter-spacing:.13em}.treasury-panel>header strong{font-size:.91rem;font-weight:900}.treasury-panel>header>small{color:var(--accent);font-size:.53rem;font-weight:900;white-space:nowrap}
.treasury-allocation-bar{height:13px;display:flex;overflow:hidden;margin:24px 0 14px;border-radius:999px;background:color-mix(in srgb,var(--line) 65%,transparent)}.treasury-allocation-bar i{display:block;min-width:0;transition:width .5s ease}.treasury-allocation-bar #treasuryStakedBar{background:var(--accent)}.treasury-allocation-bar #treasuryAvailableBar{background:var(--up)}.treasury-allocation-bar #treasuryRewardsBar{background:var(--muted-strong)}.treasury-legend{display:flex;flex-wrap:wrap;gap:12px 18px}.treasury-legend span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.58rem;font-weight:750}.treasury-legend i{width:7px;height:7px;border-radius:50%}.treasury-legend i.staked{background:var(--accent)}.treasury-legend i.available{background:var(--up)}.treasury-legend i.rewards{background:var(--muted-strong)}.treasury-legend b{color:var(--text);font-weight:900}
.treasury-velocity-panel>header{margin-bottom:14px}.treasury-velocity-panel>header strong{font-size:1.02rem!important;line-height:1.08}.treasury-velocity-panel>header>small{font-size:.62rem!important;font-weight:850}.treasury-velocity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.treasury-velocity-grid>div{padding:15px 14px;gap:5px;min-height:96px;display:flex;flex-direction:column;justify-content:center;border:1px solid color-mix(in srgb,var(--line) 75%,transparent);border-radius:14px;background:color-mix(in srgb,var(--bg) 20%,transparent)}.treasury-velocity-grid>div>span{font-size:.58rem;font-weight:850;letter-spacing:.13em;color:var(--muted-strong)}.treasury-velocity-grid strong{font-size:1.05rem;line-height:1.08;font-weight:950;letter-spacing:-.025em;white-space:nowrap}.treasury-velocity-grid>div>small{color:var(--muted-strong);font-size:.66rem;font-weight:800;line-height:1.15;margin-top:2px}
.treasury-progress{height:10px;margin:24px 0 11px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--line) 72%,transparent)}.treasury-progress i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--up));box-shadow:0 0 16px color-mix(in srgb,var(--accent) 32%,transparent);transition:width .55s ease}.treasury-milestone-panel footer,.treasury-session-panel footer,.treasury-networth-panel footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.54rem;font-weight:750}.treasury-milestone-panel footer span:last-child{color:var(--text);font-weight:850}

.treasury-session-panel,.treasury-networth-panel{overflow:hidden;grid-column:1/-1}.treasury-spark-stage{position:relative;width:100%;min-height:122px;margin-top:10px;border-radius:14px;outline:none;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:crosshair}.treasury-spark-stage:focus-visible{box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 58%,transparent)}.treasury-spark-stage.dragging{cursor:grabbing}.treasury-sparkline{display:block;width:100%;height:112px;margin:0;overflow:visible;pointer-events:none}.treasury-sparkline path.treasury-growth-area{fill:color-mix(in srgb,var(--up) 8%,transparent);stroke:none}.treasury-sparkline path.treasury-growth-line{fill:none;stroke:var(--up);stroke-width:2;vector-effect:non-scaling-stroke}.treasury-sparkline circle{fill:var(--up);stroke:var(--surface);stroke-width:2;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--up) 60%,transparent))}.treasury-spark-cursor{position:absolute;z-index:4;top:3px;bottom:7px;width:1px;background:color-mix(in srgb,var(--text) 24%,transparent);pointer-events:none;transform:translateX(-.5px)}.treasury-spark-cursor i{position:absolute;left:50%;width:10px;height:10px;border:2px solid var(--surface);border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 32%,transparent),0 0 14px color-mix(in srgb,var(--accent) 58%,transparent);transform:translate(-50%,-50%)}.treasury-spark-tooltip{position:absolute;z-index:6;display:grid;gap:2px;min-width:max-content;padding:8px 10px;border:1px solid color-mix(in srgb,var(--accent) 34%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 10px 24px rgba(0,0,0,.18);pointer-events:none;transform:translate(-12%,-112%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.treasury-spark-tooltip.flip{transform:translate(-88%,-112%)}.treasury-spark-tooltip.below{transform:translate(-12%,16%)}.treasury-spark-tooltip.flip.below{transform:translate(-88%,16%)}.treasury-spark-tooltip strong{font-size:.68rem;font-weight:950;color:var(--text);letter-spacing:-.015em}.treasury-spark-tooltip small{font-size:.5rem;font-weight:760;color:var(--muted-strong)}.treasury-spark-stage.inspecting .treasury-growth-live-dot{opacity:.48}
.treasury-networth-current{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--line) 72%,transparent);border-radius:12px;background:color-mix(in srgb,var(--bg) 18%,transparent)}.treasury-networth-current>span{color:var(--muted);font-size:.48rem;font-weight:900;letter-spacing:.12em}.treasury-networth-current>strong{font-size:1.04rem;font-weight:950;letter-spacing:-.025em}.treasury-worth-stage{margin-top:6px}.treasury-worth-sparkline path.treasury-worth-area{fill:color-mix(in srgb,var(--accent) 9%,transparent);stroke:none}.treasury-worth-sparkline path.treasury-worth-line{fill:none;stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}.treasury-worth-sparkline circle{fill:var(--accent);stroke:var(--surface);stroke-width:2;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--accent) 62%,transparent))}.treasury-worth-stage.inspecting .treasury-worth-live-dot{opacity:.48}


.number-roll-host,.number-roll-text{white-space:nowrap;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1}.number-roll-text{display:inline;font:inherit;font-size:1em;font-weight:inherit;letter-spacing:inherit;line-height:inherit;vertical-align:baseline}.number-roll-static-digit,.number-roll-digit{width:1ch;min-width:1ch;max-width:1ch;box-sizing:border-box;vertical-align:baseline;line-height:inherit;white-space:nowrap;text-align:center}.number-roll-static-digit{display:inline-block}.number-roll-digit{display:inline-grid;grid-template-columns:1fr;grid-template-rows:1fr;overflow:hidden;isolation:isolate}.number-roll-digit-layer{grid-column:1;grid-row:1;width:1ch;min-width:1ch;max-width:1ch;font:inherit;font-size:1em;line-height:inherit;text-align:center;white-space:nowrap;will-change:transform,opacity}.number-roll-up .number-roll-old{animation:numberRollOldUp .46s cubic-bezier(.22,.72,.18,1) both}.number-roll-up .number-roll-new{animation:numberRollNewUp .46s cubic-bezier(.22,.72,.18,1) both}.number-roll-down .number-roll-old{animation:numberRollOldDown .46s cubic-bezier(.22,.72,.18,1) both}.number-roll-down .number-roll-new{animation:numberRollNewDown .46s cubic-bezier(.22,.72,.18,1) both}@keyframes numberRollOldUp{from{transform:translate3d(0,0,0);opacity:1}to{transform:translate3d(0,-115%,0);opacity:.18}}@keyframes numberRollNewUp{from{transform:translate3d(0,115%,0);opacity:.18}to{transform:translate3d(0,0,0);opacity:1}}@keyframes numberRollOldDown{from{transform:translate3d(0,0,0);opacity:1}to{transform:translate3d(0,115%,0);opacity:.18}}@keyframes numberRollNewDown{from{transform:translate3d(0,-115%,0);opacity:.18}to{transform:translate3d(0,0,0);opacity:1}}
.value-change-up{animation:valueUp 1.1s ease-out}.value-change-down{animation:valueDown 1.1s ease-out}@keyframes valueUp{0%,100%{color:inherit;transform:scale(1)}20%{color:var(--up);transform:scale(1.045)}}@keyframes valueDown{0%,100%{color:inherit;transform:scale(1)}20%{color:var(--down);transform:scale(1.045)}}

@media(max-width:760px){.treasury-shell{width:calc(100% - 16px);gap:10px;padding:max(9px,env(safe-area-inset-top)) 0 max(10px,env(safe-area-inset-bottom))}.treasury-header{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}.treasury-close{width:40px;height:40px;border-radius:13px}.treasury-title>strong{font-size:1.02rem}.treasury-market-reference{gap:6px}.treasury-market-reference>strong{font-size:.68rem}.treasury-live{padding:5px 7px;font-size:.42rem}.treasury-hero{min-height:205px;border-radius:22px}.treasury-total-major{font-size:clamp(2.7rem,11.1vw,3.45rem)!important}.treasury-total-decimals{font-size:clamp(1.32rem,5.2vw,1.72rem)!important}.treasury-total-display>small{margin-left:7px;font-size:.58rem}.treasury-hero-worth{font-size:1rem}.treasury-hero-pnl{gap:6px;margin-top:9px;padding:6px 9px}.treasury-hero-pnl>span{font-size:.44rem}.treasury-hero-pnl>strong{font-size:.72rem}.treasury-hero-pnl>small{font-size:.53rem}.treasury-status-line{margin-top:9px}.treasury-metrics{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:18px}.treasury-metric{padding:14px 13px}.treasury-metric:nth-child(2)::after{display:none}.treasury-metric:nth-child(n+3){border-top:1px solid var(--line)}.treasury-metric>strong{font-size:.98rem}.treasury-grid{grid-template-columns:1fr}.treasury-panel{padding:14px;border-radius:18px}.treasury-panel>header strong{font-size:.88rem}.treasury-velocity-panel>header strong{font-size:.98rem!important}.treasury-velocity-panel>header>small{font-size:.58rem!important}.treasury-velocity-grid{gap:9px}.treasury-velocity-grid>div{padding:13px 12px;min-height:90px}.treasury-velocity-grid>div>span{font-size:.54rem}.treasury-velocity-grid strong{font-size:.96rem}.treasury-velocity-grid>div>small{font-size:.61rem}.treasury-spark-stage{min-height:116px}.treasury-sparkline{height:106px}.treasury-spark-tooltip{padding:7px 9px}.treasury-spark-tooltip strong{font-size:.64rem}.treasury-spark-tooltip small{font-size:.47rem}.treasury-networth-current{padding:9px 10px}.treasury-networth-current>strong{font-size:.98rem}}
@media(max-width:430px){.treasury-market-reference>strong{font-size:.64rem}.treasury-live{padding:5px 6px}.treasury-hero-orbit{width:92vw}.treasury-total-major{font-size:clamp(2.35rem,10.6vw,3rem)!important}.treasury-total-decimals{font-size:clamp(1.12rem,4.8vw,1.48rem)!important}.treasury-total-display>small{margin-left:6px;font-size:.54rem}.treasury-metric>strong{font-size:.94rem}.treasury-velocity-grid>div{padding:12px 10px;min-height:86px}.treasury-velocity-grid strong{font-size:.91rem}.treasury-velocity-grid>div>small{font-size:.58rem}}
@media(prefers-reduced-motion:reduce){.treasury-hero::after,.treasury-live i,.number-roll-digit-layer,.value-change-up,.value-change-down{animation:none!important}.treasury-progress i,.treasury-allocation-bar i{transition:none!important}}

@media(max-width:760px){.treasury-header::before{left:-16px;right:-16px;top:calc(-1 * max(9px,env(safe-area-inset-top)));height:calc(100% + max(16px,env(safe-area-inset-top)))}.treasury-header::after{left:11%;right:11%}}


/* v15.99.43 · Total Managed split layout */
.treasury-hero{min-height:230px}
.treasury-hero-copy{position:relative;z-index:2;width:100%;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr);grid-template-areas:"kicker ." "total pnl" "worth pnl" ". status";align-items:center;column-gap:28px;row-gap:4px;padding:0 clamp(22px,4vw,44px);justify-items:stretch;text-align:left}
.treasury-kicker{grid-area:kicker;align-self:end;font-size:.54rem;letter-spacing:.19em}
.treasury-total-display{grid-area:total;justify-content:flex-start;margin-top:2px;max-width:100%}
.treasury-total-major{font-size:clamp(2.9rem,6vw,4.2rem)!important;line-height:.93!important;letter-spacing:-.06em!important}
.treasury-total-decimals{margin-left:.035em;font-size:clamp(1.32rem,2.45vw,1.9rem)!important;color:color-mix(in srgb,var(--text) 76%,var(--muted));letter-spacing:-.04em!important}
.treasury-total-display>small{margin-left:8px;font-size:.61rem;letter-spacing:.15em;transform:translateY(-.06em)}
.treasury-hero-worth{grid-area:worth;margin-top:4px;color:color-mix(in srgb,var(--text) 78%,var(--muted));font-size:clamp(.9rem,1.5vw,1.12rem);font-weight:780;letter-spacing:-.015em;text-align:left}
.treasury-hero-pnl{grid-area:pnl;display:grid;justify-items:center;align-self:center;gap:4px;margin-top:0;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;font-variant-numeric:tabular-nums;transition:none;text-align:center}
.treasury-hero-pnl>span{color:var(--muted);font-size:.5rem;font-weight:900;letter-spacing:.14em}
.treasury-hero-pnl>strong{font-size:clamp(1.05rem,1.8vw,1.38rem);font-weight:940;letter-spacing:-.02em;line-height:1}
.treasury-hero-pnl>small{font-size:clamp(.72rem,1vw,.88rem);font-weight:900;line-height:1}
.treasury-hero-pnl.positive,.treasury-hero-pnl.negative{border:0;background:transparent!important}
.treasury-status-line{grid-area:status;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:4px;color:var(--muted);font-size:.43rem;font-weight:820;letter-spacing:.075em;text-transform:none;justify-self:center}
.treasury-status-live{display:inline-flex;align-items:center;gap:5px;color:var(--muted-strong);font-size:.42rem;font-weight:900;letter-spacing:.1em}
.treasury-status-live::before{content:"·";margin-right:1px;color:var(--muted);opacity:.65}
.treasury-status-live i{width:5px;height:5px;border-radius:50%;background:var(--up);box-shadow:0 0 10px color-mix(in srgb,var(--up) 72%,transparent);animation:livePulse 2s ease-in-out infinite}
@media(max-width:760px){
  .treasury-hero{min-height:205px}
  .treasury-hero-copy{grid-template-columns:1fr;grid-template-areas:"kicker" "total" "worth" "pnl" "status";justify-items:center;text-align:center;row-gap:5px;padding:0 16px}
  .treasury-kicker{text-align:center}
  .treasury-total-display{justify-content:center;margin-top:4px}
  .treasury-total-major{font-size:clamp(2.45rem,10vw,3.18rem)!important}
  .treasury-total-decimals{font-size:clamp(1.08rem,4.45vw,1.42rem)!important}
  .treasury-total-display>small{font-size:.53rem}
  .treasury-hero-worth{margin-top:2px;font-size:.91rem;text-align:center}
  .treasury-hero-pnl{gap:5px;margin-top:6px}
  .treasury-hero-pnl>span{font-size:.42rem}
  .treasury-hero-pnl>strong{font-size:.98rem}
  .treasury-hero-pnl>small{font-size:.62rem}
  .treasury-status-line{margin-top:2px;font-size:.4rem}
  .treasury-status-live{font-size:.39rem}
}
@media(max-width:430px){
  .treasury-total-major{font-size:clamp(2.2rem,9.7vw,2.8rem)!important}
  .treasury-total-decimals{font-size:clamp(.98rem,4.2vw,1.28rem)!important}
  .treasury-total-display>small{margin-left:6px}
  .treasury-hero-pnl>strong{font-size:.9rem}
  .treasury-hero-pnl>small{font-size:.58rem}
}
@media(prefers-reduced-motion:reduce){.treasury-status-live i{animation:none!important}}

/* v15.99.44 · Total Managed premium terminal polish */
.treasury-hero-copy{grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);column-gap:38px;padding:0 clamp(26px,4.5vw,52px)}
.treasury-kicker{color:color-mix(in srgb,var(--muted) 88%,transparent);font-size:.52rem;letter-spacing:.21em}
.treasury-total-major{font-size:clamp(3rem,6.15vw,4.28rem)!important}
.treasury-total-decimals{font-size:clamp(1.28rem,2.35vw,1.82rem)!important;color:color-mix(in srgb,var(--text) 72%,var(--muted))}
.treasury-total-display>small{font-size:.58rem;letter-spacing:.17em;opacity:.92}
.treasury-hero-worth{margin-top:6px;color:color-mix(in srgb,var(--muted-strong) 70%,var(--muted));font-size:clamp(.82rem,1.3vw,1rem);font-weight:720;letter-spacing:.005em}
.treasury-hero-pnl{position:relative;min-width:190px;gap:6px;padding:2px 0}
.treasury-hero-pnl::before{content:"";position:absolute;left:-18px;top:12%;bottom:12%;width:1px;background:linear-gradient(180deg,transparent,var(--line-strong),transparent);opacity:.7}
.treasury-hero-pnl>span{font-size:.49rem;letter-spacing:.16em;color:color-mix(in srgb,var(--muted) 90%,transparent)}
.treasury-hero-pnl>strong{font-size:clamp(1.28rem,2.15vw,1.62rem);font-weight:960;letter-spacing:-.025em;line-height:.95}
.treasury-hero-pnl>small{font-size:clamp(.78rem,1.1vw,.94rem);font-weight:920;letter-spacing:-.01em}
.treasury-status-line{justify-self:center;margin-top:6px;font-size:.41rem;letter-spacing:.085em;opacity:.92}
.treasury-status-live{font-size:.4rem;letter-spacing:.11em}
@media(max-width:760px){
  .treasury-hero-copy{grid-template-columns:1fr;grid-template-areas:"kicker" "total" "worth" "pnl" "status";column-gap:0;padding:0 18px}
  .treasury-hero-pnl{min-width:0;margin-top:8px}
  .treasury-hero-pnl::before{display:none}
  .treasury-hero-pnl>strong{font-size:1.05rem}
  .treasury-hero-pnl>small{font-size:.64rem}
  .treasury-hero-worth{font-size:.86rem;opacity:.88}
}
@media(max-width:430px){
  .treasury-total-major{font-size:clamp(2.18rem,9.6vw,2.76rem)!important}
  .treasury-total-decimals{font-size:clamp(.96rem,4.1vw,1.24rem)!important}
  .treasury-hero-pnl>strong{font-size:1rem}
}


/* v15.99.46 · fast history inspection + clean adaptive charts */
.treasury-spark-stage{
  overflow:hidden;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 2.2%,transparent),transparent 74%);
  border:0;
  contain:layout paint;
}
.treasury-spark-stage::after{
  content:"";position:absolute;left:0;right:0;bottom:8px;height:1px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--text) 7%,transparent),transparent);
  pointer-events:none;
}
.treasury-sparkline path.treasury-growth-area{fill:color-mix(in srgb,var(--up) 6%,transparent)}
.treasury-sparkline path.treasury-growth-line{stroke-width:2.15}
.treasury-worth-sparkline path.treasury-worth-area{fill:color-mix(in srgb,var(--accent) 6.5%,transparent)}
.treasury-worth-sparkline path.treasury-worth-line{stroke-width:2.15}
.treasury-sparkline circle{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--up) 42%,transparent))}
.treasury-worth-sparkline circle{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--accent) 44%,transparent))}
.treasury-spark-cursor,.treasury-spark-tooltip{will-change:left,top,transform}
.treasury-spark-tooltip{
  padding:7px 9px;
  border-color:color-mix(in srgb,var(--accent) 24%,var(--line));
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}
.treasury-networth-current{
  background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 3%,var(--surface)),color-mix(in srgb,var(--bg) 12%,transparent));
}
@media(max-width:760px){
  .treasury-spark-stage{min-height:112px}
  .treasury-sparkline{height:102px}
}


/* v15.99.47 · larger chart cards with in-chart metrics */
.treasury-session-panel,.treasury-networth-panel{padding:16px 16px 14px}
.treasury-spark-stage{
  min-height:176px;
  margin-top:10px;
  border-radius:16px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 2.6%,transparent),transparent 74%);
}
.treasury-sparkline{height:162px}
.treasury-chart-overlay{
  position:absolute;z-index:3;left:12px;right:12px;top:12px;
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  pointer-events:none;
}
.treasury-chart-primary,.treasury-chart-side{display:grid;gap:2px;min-width:0}
.treasury-chart-primary>span,.treasury-chart-side>span{
  color:var(--muted);font-size:.48rem;font-weight:900;letter-spacing:.12em
}
.treasury-chart-primary>strong{
  color:var(--text);font-size:clamp(1rem,1.7vw,1.3rem);font-weight:950;letter-spacing:-.03em;line-height:1.02
}
.treasury-chart-side{text-align:right;justify-items:end}
.treasury-chart-side>strong{font-size:clamp(.9rem,1.4vw,1.08rem);font-weight:940;letter-spacing:-.02em;line-height:1.02}
.treasury-chart-side>small{font-size:.64rem;font-weight:860;color:var(--muted-strong);line-height:1.05}
.treasury-growth-overlay .treasury-chart-side>strong,.treasury-growth-overlay .treasury-chart-side>small{color:var(--up)}
.treasury-worth-overlay .treasury-chart-side>strong,.treasury-worth-overlay .treasury-chart-side>small{color:var(--accent)}
.treasury-chart-meta{
  position:absolute;z-index:3;left:12px;right:12px;bottom:10px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  pointer-events:none;color:var(--muted);font-size:.49rem;font-weight:860;letter-spacing:.08em
}
.treasury-growth-meta span,.treasury-worth-meta span{
  display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;
  background:color-mix(in srgb,var(--surface) 58%,transparent);
  border:1px solid color-mix(in srgb,var(--line) 78%,transparent)
}
.treasury-spark-cursor{top:8px;bottom:10px}
.treasury-spark-tooltip{z-index:7}
@media(max-width:760px){
  .treasury-session-panel,.treasury-networth-panel{padding:14px}
  .treasury-spark-stage{min-height:156px}
  .treasury-sparkline{height:142px}
  .treasury-chart-overlay{left:10px;right:10px;top:10px;gap:12px}
  .treasury-chart-primary>span,.treasury-chart-side>span{font-size:.43rem}
  .treasury-chart-primary>strong{font-size:1.02rem}
  .treasury-chart-side>strong{font-size:.88rem}
  .treasury-chart-side>small{font-size:.58rem}
  .treasury-chart-meta{left:10px;right:10px;bottom:8px;font-size:.44rem;gap:8px}
  .treasury-growth-meta span,.treasury-worth-meta span{padding:3px 7px}
}
@media(max-width:430px){
  .treasury-spark-stage{min-height:148px}
  .treasury-sparkline{height:136px}
  .treasury-chart-overlay{gap:10px}
  .treasury-chart-primary>strong{font-size:.95rem}
  .treasury-chart-side>strong{font-size:.82rem}
  .treasury-chart-side>small{font-size:.54rem}
}

/* =========================================================
   v15.99.48 · Mobile-first chart readability + full-width Treasury
   Metrics stay above the plot so they never cover the line.
   ========================================================= */
.treasury-shell{
  width:100%;
  max-width:none;
  margin:0;
  padding:max(10px,env(safe-area-inset-top)) clamp(10px,1.25vw,18px) max(14px,env(safe-area-inset-bottom));
}
.treasury-chart-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"main side" "meta meta";
  align-items:end;
  gap:8px 18px;
  margin-top:14px;
  padding:0 2px 4px;
}
.treasury-chart-overlay{
  position:static;
  inset:auto;
  display:contents;
}
.treasury-chart-primary{grid-area:main;display:grid;gap:3px;min-width:0}
.treasury-chart-side{grid-area:side;display:grid;gap:3px;justify-items:end;text-align:right;min-width:0}
.treasury-chart-meta{
  position:static;
  inset:auto;
  grid-area:meta;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  color:var(--muted);
  font-size:.49rem;
  font-weight:860;
  letter-spacing:.07em;
  pointer-events:none;
}
.treasury-growth-meta span,.treasury-worth-meta span{
  max-width:48%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.treasury-spark-stage{
  min-height:214px;
  margin-top:4px;
  border-radius:16px;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--accent) 2.8%,transparent),transparent 76%),
    repeating-linear-gradient(0deg,transparent 0 41px,color-mix(in srgb,var(--line) 34%,transparent) 42px 43px);
}
.treasury-sparkline{height:200px}
.treasury-session-panel,.treasury-networth-panel{padding:18px 18px 14px}
.treasury-chart-primary>strong{font-size:clamp(1.08rem,1.7vw,1.38rem)}
.treasury-chart-side>strong{font-size:clamp(.94rem,1.35vw,1.12rem)}
.treasury-chart-side>small{font-size:.66rem}
.treasury-spark-cursor{top:4px;bottom:9px}

@media(max-width:760px){
  .treasury-shell{
    width:100%;
    padding:max(7px,env(safe-area-inset-top)) 6px max(9px,env(safe-area-inset-bottom));
  }
  .treasury-main{gap:10px}
  .treasury-session-panel,.treasury-networth-panel{padding:14px 12px 12px;border-radius:18px}
  .treasury-chart-summary{
    grid-template-columns:minmax(0,1fr) minmax(0,.86fr);
    gap:8px 10px;
    margin-top:12px;
    padding:0 2px 3px;
  }
  .treasury-chart-primary>span,.treasury-chart-side>span{font-size:.42rem}
  .treasury-chart-primary>strong{font-size:1.02rem;line-height:1.05}
  .treasury-chart-side>strong{font-size:.86rem;line-height:1.05}
  .treasury-chart-side>small{font-size:.56rem}
  .treasury-chart-meta{font-size:.42rem;gap:7px}
  .treasury-growth-meta span,.treasury-worth-meta span{
    padding:3px 6px;
    max-width:49%;
    background:transparent;
    border-color:color-mix(in srgb,var(--line) 48%,transparent);
  }
  .treasury-spark-stage{
    min-height:196px;
    margin-top:5px;
    border-radius:14px;
  }
  .treasury-sparkline{height:182px}
  .treasury-spark-tooltip{padding:7px 8px}
  .treasury-session-panel footer,.treasury-networth-panel footer{padding-top:2px}
}
@media(max-width:430px){
  .treasury-chart-summary{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:7px 8px}
  .treasury-chart-primary>strong{font-size:.96rem}
  .treasury-chart-side>strong{font-size:.8rem}
  .treasury-chart-side>small{font-size:.52rem}
  .treasury-spark-stage{min-height:184px}
  .treasury-sparkline{height:170px}
}

/* =========================================================
   v15.99.49 · Treasury hierarchy + large interactive charts
   ========================================================= */
.treasury-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px;
}
.treasury-allocation-panel,
.treasury-velocity-panel,
.treasury-milestone-panel,
.treasury-session-panel,
.treasury-networth-panel{
  grid-column:1/-1!important;
  width:100%;
  min-width:0;
}

/* Allocation becomes the single compact distribution block directly below Total Managed. */
.treasury-allocation-panel{padding:18px 20px 16px}
.treasury-allocation-bar{height:14px;margin:18px 0 12px}
.treasury-allocation-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:16px;
  border-top:1px solid var(--line);
}
.treasury-allocation-metrics .treasury-metric{
  padding:14px 14px 4px;
  background:transparent;
}
.treasury-allocation-metrics .treasury-metric:first-child{padding-left:0}
.treasury-allocation-metrics .treasury-metric:last-child{padding-right:0}
.treasury-allocation-metrics .treasury-metric>strong{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Production: four equal cards on one row on desktop / large displays. */
.treasury-velocity-panel{padding:18px 20px 20px}
.treasury-velocity-panel>header{margin-bottom:13px}
.treasury-velocity-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px;
}
.treasury-velocity-grid>div{
  min-height:112px;
  padding:16px;
}
.treasury-velocity-grid strong{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:clamp(.92rem,1.25vw,1.15rem);
}

/* Next milestone owns the full viewport width available to Treasury. */
.treasury-milestone-panel{padding:18px 20px}
.treasury-progress{height:11px;margin:20px 0 10px}

/* Chart summaries are separate from the plot and cannot cover it. */
.treasury-chart-summary{
  container-type:inline-size;
  grid-template-columns:minmax(0,1fr) minmax(0,.78fr)!important;
  gap:8px clamp(12px,2vw,28px)!important;
  min-width:0;
}
.treasury-chart-primary,
.treasury-chart-side{min-width:0;max-width:100%}
.treasury-chart-primary>strong,
.treasury-chart-side>strong,
.treasury-chart-side>small{
  display:block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-variant-numeric:tabular-nums;
}
.treasury-chart-primary>strong{
  font-size:clamp(.88rem,4.4cqw,1.48rem)!important;
}
.treasury-chart-side>strong{
  font-size:clamp(.78rem,3.6cqw,1.18rem)!important;
}
.treasury-chart-side>small{
  font-size:clamp(.52rem,2.25cqw,.72rem)!important;
}

/* More height on large displays, while keeping a controlled mobile footprint. */
.treasury-session-panel,.treasury-networth-panel{
  padding:20px 20px 15px!important;
  overflow:hidden;
}
.treasury-spark-stage{
  min-height:clamp(250px,25vw,360px)!important;
  height:clamp(250px,25vw,360px);
  margin-top:7px!important;
  overflow:hidden;
  touch-action:pan-y;
}
.treasury-sparkline{
  width:100%;
  height:100%!important;
}
.treasury-session-panel footer,.treasury-networth-panel footer{
  padding-top:5px;
}

/* Endpoint: always a true small round pulsating dot in CSS pixels.
   It is HTML instead of an SVG circle so responsive SVG stretching can never turn it into an oval. */
.treasury-chart-live-dot{
  position:absolute;
  z-index:5;
  width:8px;
  height:8px;
  margin:-4px 0 0 -4px;
  border-radius:50%;
  pointer-events:none;
  transform:translateZ(0);
  animation:treasuryEndDotPulse 1.35s ease-in-out infinite;
}
.treasury-growth-end-dot{
  background:var(--up);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--up) 12%,transparent),0 0 12px color-mix(in srgb,var(--up) 48%,transparent);
}
.treasury-worth-end-dot{
  background:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent),0 0 12px color-mix(in srgb,var(--accent) 48%,transparent);
}
.treasury-spark-stage.inspecting .treasury-chart-live-dot{opacity:.34;animation-play-state:paused}
@keyframes treasuryEndDotPulse{
  0%,100%{transform:scale(.82);opacity:.72}
  50%{transform:scale(1.16);opacity:1}
}

@media(min-width:1400px){
  .treasury-panel{border-radius:24px}
  .treasury-spark-stage{
    min-height:340px!important;
    height:clamp(340px,25vw,420px);
  }
  .treasury-session-panel,.treasury-networth-panel{padding:22px 24px 16px!important}
  .treasury-chart-meta{font-size:.54rem}
}

@media(max-width:900px){
  .treasury-allocation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .treasury-allocation-metrics .treasury-metric{padding:12px 10px}
  .treasury-allocation-metrics .treasury-metric:nth-child(odd){padding-left:0}
  .treasury-allocation-metrics .treasury-metric:nth-child(even){padding-right:0}
  .treasury-allocation-metrics .treasury-metric:nth-child(n+3){border-top:1px solid var(--line)}
  .treasury-allocation-metrics .treasury-metric:nth-child(2)::after{display:none}
  .treasury-velocity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .treasury-spark-stage{
    min-height:230px!important;
    height:230px;
  }
}

@media(max-width:520px){
  .treasury-allocation-panel,.treasury-velocity-panel,.treasury-milestone-panel{padding:14px 13px}
  .treasury-velocity-grid{gap:8px}
  .treasury-velocity-grid>div{min-height:94px;padding:12px 10px}
  .treasury-velocity-grid strong{font-size:.91rem}
  .treasury-chart-summary{
    grid-template-columns:minmax(0,1fr) minmax(0,.84fr)!important;
    gap:7px 8px!important;
  }
  .treasury-chart-primary>strong{font-size:clamp(.82rem,4.7cqw,1.02rem)!important}
  .treasury-chart-side>strong{font-size:clamp(.72rem,3.9cqw,.88rem)!important}
  .treasury-chart-side>small{font-size:clamp(.48rem,2.7cqw,.58rem)!important}
  .treasury-growth-meta span,.treasury-worth-meta span{
    max-width:49%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .treasury-session-panel,.treasury-networth-panel{padding:14px 11px 12px!important}
  .treasury-spark-stage{
    min-height:220px!important;
    height:220px;
  }
  .treasury-chart-live-dot{width:7px;height:7px;margin:-3.5px 0 0 -3.5px}
}

@media(prefers-reduced-motion:reduce){
  .treasury-chart-live-dot{animation:none!important}
}

/* v15.99.50 · Net worth timeframes + interaction cleanup */
.treasury-worth-ranges{
  display:flex;align-items:center;justify-content:flex-end;gap:7px;
  margin:10px 0 6px;min-width:0;overflow-x:auto;scrollbar-width:none
}
.treasury-worth-ranges::-webkit-scrollbar{display:none}
.treasury-worth-ranges button{
  appearance:none;border:1px solid var(--line);border-radius:999px;
  min-width:54px;padding:7px 11px;background:color-mix(in srgb,var(--surface) 88%,transparent);
  color:var(--muted-strong);font:900 .52rem/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.08em;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,opacity .16s ease
}
.treasury-worth-ranges button.active{
  color:var(--text);border-color:color-mix(in srgb,var(--accent) 44%,var(--line));
  background:color-mix(in srgb,var(--accent) 11%,var(--surface))
}
.treasury-worth-ranges button:disabled{opacity:.28;cursor:not-allowed}
.treasury-worth-ranges button:not(:disabled):active{transform:scale(.97)}
.treasury-networth-panel .treasury-chart-summary{margin-top:7px}
.treasury-chart-primary>strong,.treasury-chart-side>strong,.treasury-chart-side>small{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important
}
@media(max-width:520px){
  .treasury-worth-ranges{justify-content:flex-start;margin:8px 0 5px;padding-bottom:1px}
  .treasury-worth-ranges button{min-width:50px;padding:7px 9px;font-size:.48rem}
}


/* =========================================================
   v15.99.54 · Fixed live values + Home-style Net Worth inspector
   ========================================================= */
/* Live numbers may change, but their layout must never jump horizontally.
   Keep the colour feedback and remove the scale/roll motion that shifts text. */
.treasury-shell .number-roll-host,
.treasury-shell .number-roll-text,
.treasury-shell .treasury-metric>strong,
.treasury-shell .treasury-metric>small,
.treasury-shell .treasury-velocity-grid strong,
.treasury-shell .treasury-velocity-grid small,
.treasury-shell .treasury-chart-primary>strong,
.treasury-shell .treasury-chart-side>strong,
.treasury-shell .treasury-chart-side>small,
.treasury-shell .treasury-hero-worth,
.treasury-shell .treasury-hero-pnl{
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
}
.treasury-shell .value-change-up{animation:treasuryValueUpFixed .72s ease-out!important}
.treasury-shell .value-change-down{animation:treasuryValueDownFixed .72s ease-out!important}
@keyframes treasuryValueUpFixed{0%,100%{color:inherit}22%{color:var(--up)}}
@keyframes treasuryValueDownFixed{0%,100%{color:inherit}22%{color:var(--down)}}
/* Stop digit-roll transforms in Treasury: values refresh in place instead. */
.treasury-shell .number-roll-digit-layer{animation:none!important;transform:none!important;opacity:1!important}
.treasury-shell .number-roll-old{display:none!important}
.treasury-shell .number-roll-new{position:static!important}

/* Match the Home price-chart interaction: fine hairline, small circular point,
   compact floating reading. It appears only while inspecting. */
.treasury-worth-stage .treasury-spark-cursor{
  z-index:6;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--text) 32%,transparent) 12%,color-mix(in srgb,var(--text) 32%,transparent) 88%,transparent);
  transform:translateX(-.5px);
}
.treasury-worth-stage .treasury-spark-cursor>i{
  width:7px;
  height:7px;
  border:1.5px solid var(--surface);
  border-radius:50%;
  background:var(--text);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--text) 12%,transparent);
  transform:translate(-50%,-50%);
}
.treasury-worth-stage .treasury-spark-tooltip{
  z-index:8;
  min-width:104px;
  padding:7px 9px;
  border:1px solid color-mix(in srgb,var(--line-strong) 72%,transparent);
  border-radius:10px;
  background:color-mix(in srgb,var(--surface) 94%,var(--bg));
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transform:translate(10px,calc(-100% - 9px));
  white-space:nowrap;
}
.treasury-worth-stage .treasury-spark-tooltip.flip{transform:translate(calc(-100% - 10px),calc(-100% - 9px))}
.treasury-worth-stage .treasury-spark-tooltip.below{transform:translate(10px,9px)}
.treasury-worth-stage .treasury-spark-tooltip.flip.below{transform:translate(calc(-100% - 10px),9px)}
.treasury-worth-stage .treasury-spark-tooltip strong{font-size:.72rem;font-weight:900;font-variant-numeric:tabular-nums}
.treasury-worth-stage .treasury-spark-tooltip small{font-size:.52rem;font-weight:750;font-variant-numeric:tabular-nums}
.treasury-worth-stage.inspecting .treasury-worth-end-dot{opacity:.34;animation-play-state:paused}
@media(min-width:900px){
  .treasury-worth-stage .treasury-spark-tooltip strong{font-size:clamp(.72rem,.62vw,.92rem)}
  .treasury-worth-stage .treasury-spark-tooltip small{font-size:clamp(.52rem,.46vw,.68rem)}
}


/* =========================================================
   v15.99.56 · Treasury readable history + durable archive + pie allocation
   ========================================================= */
.treasury-allocation-visual{
  display:grid;
  grid-template-columns:minmax(148px,.72fr) minmax(210px,1.28fr);
  align-items:center;
  gap:clamp(18px,3.2vw,42px);
  margin:12px 0 18px;
  padding:14px clamp(10px,2vw,20px) 17px;
  border-bottom:1px solid var(--line);
}
.treasury-pie-wrap{display:grid;place-items:center;min-width:0}
.treasury-allocation-pie{
  width:min(100%,210px);
  aspect-ratio:1;
  overflow:visible;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.14));
  transform:rotate(0deg);
}
.treasury-allocation-pie .treasury-pie-slice{stroke:color-mix(in srgb,var(--surface) 88%,transparent);stroke-width:1.4;stroke-linejoin:round}
.treasury-allocation-pie .treasury-pie-slice.staked{fill:var(--up)}
.treasury-allocation-pie .treasury-pie-slice.available{fill:var(--accent)}
.treasury-allocation-pie .treasury-pie-slice.rewards{fill:color-mix(in srgb,var(--accent) 48%,#a989ff)}
.treasury-allocation-side{display:grid;gap:0;min-width:0;border-top:1px solid var(--line)}
.treasury-allocation-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"label pct" "value pct";
  align-items:center;
  gap:2px 14px;
  min-height:64px;
  padding:10px 2px;
  border-bottom:1px solid var(--line);
  font-variant-numeric:tabular-nums;
}
.treasury-allocation-row>span{grid-area:label;display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted-strong);font-size:.58rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.treasury-allocation-row>span>i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;box-shadow:0 0 10px currentColor}
.treasury-allocation-row.staked>span>i{background:var(--up);color:var(--up)}
.treasury-allocation-row.available>span>i{background:var(--accent);color:var(--accent)}
.treasury-allocation-row.rewards>span>i{background:color-mix(in srgb,var(--accent) 48%,#a989ff);color:color-mix(in srgb,var(--accent) 48%,#a989ff)}
.treasury-allocation-row>strong{grid-area:pct;justify-self:end;font-size:clamp(1.08rem,2vw,1.46rem);font-weight:950;letter-spacing:-.035em;color:var(--text)}
.treasury-allocation-row>small{grid-area:value;color:var(--muted);font-size:.62rem;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Calm, truthful chart scale. Horizontal guides improve reading without adding labels over the plot. */
.treasury-spark-stage{
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 2.2%,transparent),transparent 78%)!important;
}
.treasury-chart-gridline{
  stroke:color-mix(in srgb,var(--text) 8%,transparent);
  stroke-width:.65;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:2.5 5;
}
.treasury-worth-sparkline path.treasury-worth-line{
  stroke-width:2.35!important;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.treasury-worth-sparkline path.treasury-worth-area{fill:color-mix(in srgb,var(--accent) 7%,transparent)!important}
.treasury-sparkline path.treasury-growth-line{stroke-width:2.25!important;stroke-linecap:round;stroke-linejoin:round}
.treasury-sparkline path.treasury-growth-area{fill:color-mix(in srgb,var(--up) 6%,transparent)!important}
.treasury-session-panel>footer,.treasury-networth-panel>footer{color:color-mix(in srgb,var(--muted) 86%,transparent)}

@media(max-width:760px){
  .treasury-allocation-visual{grid-template-columns:minmax(112px,.82fr) minmax(165px,1.18fr);gap:12px;margin:9px 0 14px;padding:10px 2px 14px}
  .treasury-allocation-pie{width:min(100%,154px)}
  .treasury-allocation-row{min-height:54px;padding:7px 0;gap:1px 8px}
  .treasury-allocation-row>span{gap:6px;font-size:.48rem;letter-spacing:.055em}
  .treasury-allocation-row>span>i{width:6px;height:6px;flex-basis:6px}
  .treasury-allocation-row>strong{font-size:clamp(.9rem,4.2vw,1.1rem)}
  .treasury-allocation-row>small{font-size:.52rem}
}
@media(max-width:390px){
  .treasury-allocation-visual{grid-template-columns:108px minmax(0,1fr);gap:9px}
  .treasury-allocation-pie{width:108px}
  .treasury-allocation-row>strong{font-size:.88rem}
  .treasury-allocation-row>small{font-size:.49rem}
}


/* =========================================================
   v15.99.57 — Net worth chart: calmer financial read
   ========================================================= */
.treasury-networth-panel .treasury-spark-stage{
  min-height:228px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 2.2%,transparent),transparent 72%);
  border:1px solid color-mix(in srgb,var(--line) 68%,transparent);
  overflow:hidden;
}
.treasury-networth-panel .treasury-sparkline{height:214px;color:var(--accent)}
.treasury-worth-sparkline .treasury-chart-gridline{stroke:color-mix(in srgb,var(--line) 48%,transparent);stroke-width:.55;vector-effect:non-scaling-stroke}
.treasury-worth-sparkline .treasury-worth-area{fill:url(#treasuryWorthFill)!important}
.treasury-worth-sparkline .treasury-worth-line{
  fill:none;stroke:var(--accent);stroke-width:2.25;vector-effect:non-scaling-stroke;
  stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--accent) 23%,transparent));
}
.treasury-worth-sparkline .treasury-worth-current-line{
  stroke:color-mix(in srgb,var(--accent) 44%,transparent);stroke-width:.75;stroke-dasharray:3 5;vector-effect:non-scaling-stroke;
}
.treasury-worth-axis{
  position:absolute;z-index:4;top:10px;right:8px;bottom:10px;display:flex;flex-direction:column;
  justify-content:space-between;align-items:flex-end;pointer-events:none;
}
.treasury-worth-axis b{
  padding:2px 5px;border-radius:6px;background:color-mix(in srgb,var(--surface) 72%,transparent);
  color:var(--muted);font-size:.46rem;font-weight:850;letter-spacing:.02em;font-variant-numeric:tabular-nums;
}
.treasury-worth-end-dot{z-index:6!important}
.treasury-networth-panel .treasury-spark-tooltip{z-index:9}
@media(max-width:760px){
  .treasury-networth-panel .treasury-spark-stage{min-height:210px}
  .treasury-networth-panel .treasury-sparkline{height:196px}
  .treasury-worth-axis b{font-size:.43rem;padding:2px 4px}
}
@media(max-width:430px){
  .treasury-networth-panel .treasury-spark-stage{min-height:200px}
  .treasury-networth-panel .treasury-sparkline{height:186px}
}

/* =========================================================
   v15.99.58 · Treasury Performance + stable mobile bottom edge
   ========================================================= */
.treasury-performance-panel{
  grid-column:1/-1;
  overflow:hidden;
  padding-bottom:18px;
}
.treasury-performance-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:16px;
}
.treasury-performance-cell{
  position:relative;
  min-width:0;
  min-height:108px;
  display:grid;
  align-content:center;
  gap:4px;
  padding:15px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(150deg,color-mix(in srgb,var(--surface-strong) 84%,transparent),color-mix(in srgb,var(--surface) 96%,transparent));
  font-variant-numeric:tabular-nums;
  overflow:hidden;
}
.treasury-performance-cell::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:2px;
  background:var(--muted);
  opacity:.45;
}
.treasury-performance-cell.positive::before{background:var(--up);opacity:.9}
.treasury-performance-cell.negative::before{background:var(--down);opacity:.9}
.treasury-performance-cell>span{
  color:var(--muted);
  font-size:.49rem;
  font-weight:950;
  letter-spacing:.14em;
}
.treasury-performance-cell>strong{
  min-width:0;
  color:var(--text);
  font-size:clamp(.92rem,1.75vw,1.16rem);
  line-height:1.12;
  font-weight:950;
  letter-spacing:-.025em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.treasury-performance-cell>small{
  min-width:0;
  color:var(--muted-strong);
  font-size:.61rem;
  font-weight:820;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.treasury-performance-cell.positive>strong{color:var(--up)}
.treasury-performance-cell.negative>strong{color:var(--down)}
.treasury-performance-insights{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:12px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.treasury-performance-insights>div{
  min-width:0;
  display:grid;
  gap:3px;
  padding:14px 14px 13px;
  border-right:1px solid var(--line);
  font-variant-numeric:tabular-nums;
}
.treasury-performance-insights>div:last-child{border-right:0}
.treasury-performance-insights span{
  color:var(--muted);
  font-size:.46rem;
  font-weight:950;
  letter-spacing:.13em;
}
.treasury-performance-insights strong{
  min-width:0;
  color:var(--text);
  font-size:.82rem;
  line-height:1.16;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.treasury-performance-insights small{
  min-width:0;
  color:var(--muted);
  font-size:.53rem;
  font-weight:780;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:760px){
  html,body{
    width:100%;
    height:100%;
    min-height:100%;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body{background-attachment:scroll}
  .treasury-shell{
    width:100%;
    height:100svh;
    min-height:0!important;
    max-height:100svh;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:none!important;
    scroll-behavior:auto!important;
    overflow-anchor:none!important;
    -webkit-overflow-scrolling:auto;
    margin:0;
    padding:max(9px,env(safe-area-inset-top)) 8px max(34px,calc(env(safe-area-inset-bottom) + 22px));
  }
  .treasury-main,.treasury-grid,.treasury-panel{overflow-anchor:none}
  .treasury-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
  .treasury-performance-cell{min-height:96px;padding:13px 12px;border-radius:14px}
  .treasury-performance-cell>strong{font-size:.94rem}
  .treasury-performance-cell>small{font-size:.57rem}
  .treasury-performance-insights{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}
  .treasury-performance-insights>div{padding:12px 10px}
  .treasury-performance-insights>div:nth-child(2){border-right:0}
  .treasury-performance-insights>div:nth-child(n+3){border-top:1px solid var(--line)}
}

/* =========================================================
   v15.99.59 · Net worth = Home INJ Price interaction model
   ========================================================= */
.treasury-worth-stage{
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
}
@media (hover:hover) and (pointer:fine){
  .treasury-worth-stage{cursor:crosshair}
}
.treasury-worth-stage.dragging{touch-action:none}

/* =========================================================
   v15.99.61 · Treasury allocation — theme-aware premium donut
   ========================================================= */
:root{
  --donut-staked-a:#63f2ac;
  --donut-staked-b:#20bce9;
  --donut-available-a:#72dfff;
  --donut-available-b:#506dff;
  --donut-rewards-a:#a98bff;
  --donut-rewards-b:#df74d8;
  --donut-center:color-mix(in srgb,var(--surface-strong) 82%,transparent);
}
:root[data-theme="black"]{
  --donut-staked-a:#75e9ae;
  --donut-staked-b:#7397a5;
  --donut-available-a:#e7eef3;
  --donut-available-b:#8798a7;
  --donut-rewards-a:#9aa9b8;
  --donut-rewards-b:#657482;
}
:root[data-theme="light"]{
  --donut-staked-a:#16a96f;
  --donut-staked-b:#00a6a8;
  --donut-available-a:#00a1c7;
  --donut-available-b:#3975e6;
  --donut-rewards-a:#7667d8;
  --donut-rewards-b:#a04fae;
}
:root[data-theme="amber"]{
  --donut-staked-a:#f0cda3;
  --donut-staked-b:#9b8069;
  --donut-available-a:#87a9c8;
  --donut-available-b:#56779b;
  --donut-rewards-a:#be94aa;
  --donut-rewards-b:#806d8e;
}
.treasury-pie-wrap{
  position:relative;
  isolation:isolate;
}
.treasury-pie-wrap::before{
  content:"";
  position:absolute;
  width:min(88%,184px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 13%,transparent) 0%,color-mix(in srgb,var(--accent) 3%,transparent) 47%,transparent 72%);
  filter:blur(8px);
  pointer-events:none;
  opacity:.9;
}
.treasury-allocation-pie{
  position:relative;
  z-index:1;
  width:min(100%,220px);
  cursor:default;
  touch-action:pan-y;
  filter:drop-shadow(0 18px 32px rgba(0,0,0,.18));
}
.treasury-allocation-pie .treasury-donut-halo{
  fill:none;
  stroke:color-mix(in srgb,var(--accent) 9%,transparent);
  stroke-width:.7;
  stroke-dasharray:1.2 4.2;
}
.treasury-allocation-pie .treasury-donut-track{
  fill:none;
  stroke:color-mix(in srgb,var(--line-strong) 46%,transparent);
  stroke-width:19;
}
.treasury-allocation-pie .treasury-donut-center-disc{
  fill:var(--donut-center);
  stroke:color-mix(in srgb,var(--accent) 13%,var(--line));
  stroke-width:.75;
  filter:drop-shadow(0 7px 16px rgba(0,0,0,.13));
}
.treasury-allocation-pie .treasury-pie-slice{
  stroke:color-mix(in srgb,var(--surface) 90%,transparent);
  stroke-width:1.05;
  stroke-linejoin:round;
  cursor:pointer;
  outline:none;
  opacity:.94;
  transform-origin:60px 60px;
  transition:opacity .18s ease,filter .18s ease,transform .18s ease,stroke-width .18s ease;
}
.treasury-allocation-pie .treasury-pie-slice.staked{fill:url(#treasuryDonutStaked)}
.treasury-allocation-pie .treasury-pie-slice.available{fill:url(#treasuryDonutAvailable)}
.treasury-allocation-pie .treasury-pie-slice.rewards{fill:url(#treasuryDonutRewards)}
.treasury-allocation-pie .treasury-pie-slice:hover,
.treasury-allocation-pie .treasury-pie-slice:focus,
.treasury-allocation-pie .treasury-pie-slice.is-active{
  opacity:1;
  stroke-width:1.8;
  transform:scale(1.025);
  filter:url(#treasuryDonutGlow);
}
.treasury-allocation-pie:has(.treasury-pie-slice:hover) .treasury-pie-slice:not(:hover),
.treasury-allocation-pie:has(.treasury-pie-slice.is-active) .treasury-pie-slice:not(.is-active){opacity:.48}
.treasury-grad-staked-a{stop-color:var(--donut-staked-a)}
.treasury-grad-staked-b{stop-color:var(--donut-staked-b)}
.treasury-grad-available-a{stop-color:var(--donut-available-a)}
.treasury-grad-available-b{stop-color:var(--donut-available-b)}
.treasury-grad-rewards-a{stop-color:var(--donut-rewards-a)}
.treasury-grad-rewards-b{stop-color:var(--donut-rewards-b)}
.treasury-allocation-pie .treasury-donut-center-label,
.treasury-allocation-pie .treasury-donut-center-value,
.treasury-allocation-pie .treasury-donut-center-meta{
  pointer-events:none;
  text-anchor:middle;
  dominant-baseline:middle;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-variant-numeric:tabular-nums;
  stroke:none;
}
.treasury-allocation-pie .treasury-donut-center-label{
  fill:var(--muted);
  font-size:5.15px;
  font-weight:900;
  letter-spacing:.7px;
}
.treasury-allocation-pie .treasury-donut-center-value{
  fill:var(--text);
  font-size:9.6px;
  font-weight:950;
  letter-spacing:-.35px;
}
.treasury-allocation-pie .treasury-donut-center-meta{
  fill:var(--muted-strong);
  font-size:4.8px;
  font-weight:850;
  letter-spacing:.18px;
}
.treasury-allocation-row{
  transition:background .18s ease,border-color .18s ease;
}
.treasury-allocation-row:hover{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 3.5%,transparent))}
.treasury-allocation-row>span>i{width:8px;height:8px;flex-basis:8px}
.treasury-allocation-row.staked>span>i{background:linear-gradient(135deg,var(--donut-staked-a),var(--donut-staked-b));color:var(--donut-staked-a)}
.treasury-allocation-row.available>span>i{background:linear-gradient(135deg,var(--donut-available-a),var(--donut-available-b));color:var(--donut-available-a)}
.treasury-allocation-row.rewards>span>i{background:linear-gradient(135deg,var(--donut-rewards-a),var(--donut-rewards-b));color:var(--donut-rewards-a)}
@media(max-width:760px){
  .treasury-allocation-pie{width:min(100%,164px)}
  .treasury-pie-wrap::before{width:min(90%,142px)}
  .treasury-allocation-row>span>i{width:7px;height:7px;flex-basis:7px}
}
@media(max-width:390px){
  .treasury-allocation-pie{width:116px}
  .treasury-pie-wrap::before{width:104px}
  .treasury-allocation-pie .treasury-donut-center-label{font-size:4.8px}
  .treasury-allocation-pie .treasury-donut-center-value{font-size:8.8px}
  .treasury-allocation-pie .treasury-donut-center-meta{font-size:4.45px}
}
@media(prefers-reduced-motion:reduce){
  .treasury-allocation-pie .treasury-pie-slice{transition:none!important}
}
