.menu>summary{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--raised);min-height:28px;padding:5px 8px;font-size:11px;font-weight:600}.chart-control-group>.menu{align-self:stretch;display:flex}.chart-control-group>.menu>summary{background:0 0;border:0;border-radius:0;min-height:0}.nav-more>summary{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0}.menu-content[popover]{overscroll-behavior:contain;width:max-content;max-width:calc(100vw - 16px);color:var(--ink);background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);box-shadow:var(--shadow-popover);margin:0;padding:5px;position:fixed;inset:auto;overflow:auto}.menu-content>button,.menu-content>a{gap:12px;min-height:32px;font-weight:500;line-height:1.4}.menu-content>button[aria-current=true],.menu-content>a[aria-current=page]{background:var(--panel);font-weight:700}.menu-content>button[aria-current=true]:after{content:"";border-bottom:1.5px solid;border-left:1.5px solid;flex-shrink:0;width:8px;height:4px;transform:rotate(-45deg)}.menu-content>button:focus-visible,.menu-content>a:focus-visible{background:var(--panel)}@media (width<=760px){.menu-content>button,.menu-content>a{min-height:42px}}.trigger-price-fields{gap:10px;min-width:0;display:grid}.trigger-price-field{gap:4px;min-width:0;display:grid}.trigger-price-fields label.trigger-price-toggle{cursor:pointer;align-items:center;gap:7px;margin:0;font-size:11px;font-weight:500;display:flex}.trigger-price-fields .trigger-price-toggle input[type=checkbox]{width:14px;min-width:14px;height:14px;accent-color:var(--brown);flex:0 0 14px;margin:0;padding:0}.trigger-price-field>input{width:100%;min-width:0}.trigger-price-field>input:disabled{color:var(--muted);opacity:.55;cursor:default}.trigger-price-field>small{color:var(--muted);font-size:10px;line-height:1.4}@media (width<=760px){.trigger-price-fields label.trigger-price-toggle{min-height:32px}.trigger-price-fields .trigger-price-toggle input[type=checkbox]{flex-basis:16px;width:16px;min-width:16px;height:16px}}.advanced-order{border-top:1px solid var(--line);margin-top:10px;font-size:11px}.advanced-order>summary{cursor:pointer;color:var(--ink);align-items:center;gap:6px;padding:9px 0;list-style:none;display:flex}.advanced-order>summary::-webkit-details-marker{display:none}.advanced-order>summary>svg{margin-inline-start:auto;transition:transform .1s}.advanced-order[open]>summary>svg{transform:rotate(180deg)}.advanced-order>summary:focus-visible{background:var(--selected-surface)}.advanced-order-state{color:var(--brown);font-size:10px}.advanced-order-body{gap:8px;padding:0 0 3px;display:grid}.advanced-order fieldset{border:0;gap:7px;min-width:0;margin:0;padding:0;display:grid}.advanced-order legend{padding:0 0 6px;font-size:11px;font-weight:550}.trade-page .ticket .advanced-order label.trigger-price-toggle{gap:7px;margin:0;font-size:11px;display:flex}.trade-page .ticket .advanced-order input:not([type=checkbox]){background:var(--input-surface);border:1px solid var(--line);border-radius:var(--radius-control);width:100%;min-width:0;height:32px;padding:6px 8px;font-size:13px}.advanced-order p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.advanced-order .clear-order-triggers{min-height:26px;color:var(--muted);background:0 0;border:0;justify-self:start;padding:3px 0;font-size:11px}@media (width<=760px){.advanced-order>summary{min-height:40px}.trade-page .ticket .advanced-order input:not([type=checkbox]){height:40px;font-size:16px}.advanced-order .clear-order-triggers{min-height:40px}}@media (prefers-reduced-motion:reduce){.advanced-order>summary>svg{transition:none}}.site-navigation{position:relative}.site-navigation>.nav-overflow-hidden{visibility:hidden;position:absolute}.analytics-page.preferences-page{align-content:start;gap:8px;padding:16px;display:grid}.preferences-page>h1{margin:0 0 4px;font-size:20px;font-weight:600}.preferences-page>.panel{width:100%;max-width:640px;padding:10px 12px}.preferences-page .panel-heading{margin-bottom:4px}.preferences-page .panel-heading h2{text-transform:none;letter-spacing:normal;font-size:12px}.preferences-page .preferences-wallet{justify-content:space-between;align-items:center;gap:12px;display:flex}.preferences-page .preferences-wallet .panel-heading{margin-bottom:0}.preferences-page .preference-row{min-height:40px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:6px 0;font-size:13px;display:flex}.preferences-page .preference-row+.preference-row{border-top:1px solid var(--line)}.preferences-page .preference-row input{flex-shrink:0;margin:0}.preferences-page .preference-row small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.preferences-drawer{background:var(--cardboard);width:min(420px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;box-shadow:var(--shadow-dialog);border:0;border-radius:0;margin:0;padding:16px;position:fixed;inset:0 0 0 auto}.preferences-drawer-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.preferences-drawer-heading h2{margin:0;font-size:18px;font-weight:600}.preferences-drawer-heading button{background:0 0;border:0;place-items:center;width:36px;min-height:36px;padding:6px;display:grid}.preferences-drawer .preferences-page{gap:8px;display:grid}.preferences-drawer[open]{animation:.16s ease-out preferences-enter}@keyframes preferences-enter{0%{transform:translate(18px)}to{transform:translate(0)}}@media (prefers-reduced-motion:reduce){.preferences-drawer[open]{animation:none}}.wallet-actions>.theme-toggle,.wallet-actions>.preferences-link{border-radius:var(--radius-control);min-width:30px;min-height:30px;color:var(--ink);background:0 0;border:0;justify-content:center;align-items:center;padding:7px;text-decoration:none;display:inline-flex}.wallet-actions>.theme-toggle:hover,.wallet-actions>.preferences-link:hover{background:var(--hover-surface)}.wallet-actions>.preferences-link.active{background:var(--selected-surface);box-shadow:var(--inset-shadow)}@media (width<=760px){.analytics-page.preferences-page{padding:14px 6px}.preferences-page .preference-row{min-height:44px}.wallet-actions>.theme-toggle,.wallet-actions>.preferences-link{min-width:32px;min-height:42px;padding:7px}}.preferences-page .preference-side{border-radius:var(--radius-control);background:var(--input-surface);flex-shrink:0;gap:2px;padding:2px;display:flex}.preferences-page .preference-side button{border-radius:var(--radius-inner);min-width:48px;min-height:30px;color:var(--muted);box-shadow:none;background:0 0;border:0;padding:4px 8px;font-size:12px}.preferences-page .preference-side button:hover{background:var(--hover-surface);color:var(--ink)}.preferences-page .preference-side button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink)}@media (pointer:coarse){.preferences-page .preference-side button{min-height:44px}}.account-agreement{width:100%;color:var(--ink);text-align:start;margin:8px 0 0;font-size:11px;line-height:1.5}.account-agreement p{color:var(--ink);font-size:inherit;line-height:inherit;margin:0}.account-agreement a{color:var(--brown);text-underline-offset:3px;text-decoration:underline}.wallet-gate:has(.account-agreement){flex-wrap:wrap;gap:0}dialog .primary:has(+.account-agreement){margin-top:0}.language-menu>summary{color:var(--muted);background:0 0;border:0;padding:7px}.language-menu>summary>svg:last-child{display:none}.language-menu .menu-content{min-width:160px}.language-menu .menu-content>button{justify-content:space-between;font-weight:600}.language-menu .menu-content>button[aria-current=true]:after{background:var(--green);border:0;border-radius:50%;width:6px;height:6px;transform:none}:root:lang(zh-CN){font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}:root:lang(ja){font-family:Inter,Hiragino Kaku Gothic ProN,Yu Gothic,system-ui,sans-serif}:root:lang(ko-KR){font-family:Inter,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif}:root:lang(ar){font-family:Inter,Geeza Pro,Tahoma,system-ui,sans-serif}:root[dir=rtl] :is(.trading-grid,.chart,.plot,.heatmap,.topology,.curve-panel,.ticker-items,.rolling-number,code,input[type=number],input[inputmode=decimal],input[type=range],.range-labels,.leverage-row,.margin-row,.wordmark){direction:ltr}:root[dir=rtl] :is(.ticket-column,.chart-empty,.chart-tooltip){direction:rtl}:root[dir=rtl] :is(.stat strong,.big-value,.wallet-view strong,.market-pair,#view-wallet-address,#account-username){direction:ltr;unicode-bidi:isolate}:root[dir=rtl] :is(.menu-content>button,.menu-content>a,.account-menu>.menu-content>.account-action){text-align:start}:root[dir=rtl] .wallet-view,:root[dir=rtl] .wallet-view~.wallet-actions{margin-left:0;margin-inline-start:auto}:root[dir=rtl] .wallet-view button{border-left:0;border-inline-start:1px solid var(--line);padding:2px 10px 2px 0}:root[dir=rtl] .account-summary summary .stat{padding-left:0;padding-inline-start:10px}:root[dir=rtl] .account-summary summary .stat:before{margin-right:0;left:auto;right:0}:root[dir=rtl] :is(.panel h2,.chart-head h2,.ticket-fields>label){letter-spacing:normal}:root[dir=rtl] :is(.wallet-address>span:first-child,.account-menu>summary,code){direction:ltr;unicode-bidi:isolate}@media (width<=760px){:root[dir=rtl] .overview-grid{grid-template-columns:minmax(0,1fr)}:root[dir=rtl] :is(.overview-stack,.overview-grid>.panel:not(.overview-chart)){grid-column:1;min-width:0}header>nav{scrollbar-width:none;overflow-x:auto}header>nav>*{flex-shrink:0}}.trade-activity>.positions{min-width:0;padding:0}.trade-position-table{border-collapse:collapse;border-spacing:0;white-space:nowrap;width:100%;font-size:11px}.trade-position-table th{background:var(--panel);border:0;border-bottom:1px solid var(--line);letter-spacing:0;text-align:right;color:var(--muted);padding:8px 9px;font-size:10px;font-weight:450}.trade-position-table th:first-child{text-align:left}.trade-position-table td{text-align:right;border:0;border-bottom:1px solid var(--line);background:var(--panel);height:42px;padding:10px 9px}.trade-position-table tr:last-child td{border-bottom:0}.trade-position-table td:first-child{text-align:left;border-left:0;border-radius:0}.trade-position-table td:last-child{border-right:0;border-radius:0}.trade-position-table .position-market{text-align:left;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;padding:0;text-decoration:none;display:flex;position:relative}.trade-position-table .position-market .coin{opacity:1;flex-shrink:0;width:18px;height:18px;position:static;transform:none}.trade-position-table .position-market strong,.trade-position-table .position-market>span{position:relative}.trade-position-table .position-market>span:not(.coin){letter-spacing:0;font-size:10px;font-weight:550}.position-risk{background:var(--line);border-radius:var(--radius-track);min-width:46px;height:3px;display:block;overflow:hidden}.position-risk i{background:var(--red);height:100%;display:block}@media (width>=761px){.trade-position-table th:last-child,.trade-position-table td:last-child{z-index:1;background:var(--panel);position:sticky;inset-inline-end:0}}@media (width<=760px){.trade-activity>.positions{padding:0}.trade-position-table thead{display:none}.trade-position-table,.trade-position-table tbody{display:block}.trade-position-table tr{border:0;border-bottom:1px solid var(--line);background:var(--panel);border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin:0;padding:10px;display:grid}.trade-position-table td{text-align:left;flex-direction:column;align-items:flex-start;min-width:0;height:auto;padding:0;font-size:11px;display:flex;border:0!important;border-radius:0!important}.trade-position-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:10px}.trade-position-table td:first-child{grid-column:1/-1}.trade-position-table td:first-child:before,.trade-position-table td:last-child:before{display:none}.trade-position-table td:last-child{grid-column:1/-1;align-items:stretch}.trade-position-table .position-market{flex-wrap:wrap;gap:5px;min-height:32px}.trade-position-table .position-market .coin{width:16px;height:16px}.position-risk{width:100%;margin:7px 0}}.position-row-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.position-trigger-prices{margin:0;text-align:start;font-variant-numeric:tabular-nums;grid-template-columns:auto auto;gap:2px 6px;margin-inline-end:6px;font-size:11px;line-height:1.4;display:grid}.position-trigger-prices dt{color:var(--muted)}.position-trigger-prices dd{text-align:end;margin:0;font-weight:550}:is(.trade-position-table,.position-table) .position-row-actions>button,.position-row-actions>.position-triggers>summary{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--control-surface);min-height:30px;box-shadow:none;justify-content:center;align-items:center;padding:5px 10px;font-size:11px;font-weight:500;line-height:1.4;display:flex}.position-row-actions>.position-triggers>summary{color:var(--muted);background:0 0;border-color:#0000}.position-row-actions>.position-triggers>summary:hover,.position-row-actions>.position-triggers[open]>summary{background:var(--hover-surface);color:var(--ink)}@media (width<=760px){.position-row-actions{width:100%;display:flex}.position-trigger-prices{margin-inline-end:auto}:is(.trade-position-table,.position-table) .position-row-actions>button,.position-row-actions>.position-triggers>summary{min-height:44px;padding-inline:12px}}.position-triggers .menu-content{width:min(300px,100vw - 20px);padding:12px}.position-triggers form{text-align:start;white-space:normal;gap:8px;display:grid}.position-triggers label{gap:4px;display:grid}.position-triggers input{width:100%}.position-triggers p{margin:0;font-size:12px;line-height:1.5}.trigger-quote{color:var(--muted);font-variant-numeric:tabular-nums}.trigger-actions{flex-wrap:wrap;gap:6px;display:flex}.wallet-view{color:var(--muted);white-space:nowrap;justify-content:center;align-items:center;gap:10px;margin-left:auto;font-size:11px;display:flex}.wallet-view strong{color:var(--ink);margin-left:5px;font-weight:600}.wallet-view button{border:0;border-left:1px solid var(--line);color:var(--muted);background:0 0;border-radius:0;align-items:center;gap:4px;padding:2px 0 2px 10px;font-size:11px;display:inline-flex}.wallet-view~.wallet-actions{margin-left:auto}.view-wallet-dialog{width:390px;max-width:calc(100vw - 24px)}.view-wallet-dialog p{color:var(--muted);line-height:1.5}.view-wallet-dialog form{gap:10px;display:grid}.view-wallet-dialog label{color:var(--muted);font-size:12px}.view-wallet-dialog input{width:100%;min-width:0}.view-wallet-dialog .primary{margin-top:6px}.viewing-context{white-space:nowrap;color:var(--muted);flex-shrink:0;align-items:center;padding:0 10px;font-size:10px;display:flex}@media (width<=1200px){header:has(.wallet-view){flex-wrap:wrap;height:auto;min-height:44px}.wallet-view{border-top:1px solid var(--line);order:3;width:100%;margin:0;padding:6px 10px}}@media (width<=760px){.wallet-view{font-size:12px}.wallet-view button{min-height:32px;font-size:12px}.viewing-context{display:none}}.notification-stack{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));z-index:100;pointer-events:none;flex-direction:column;gap:8px;width:min(380px,100vw - 24px);max-height:calc(100dvh - 24px);display:flex;position:fixed;overflow:auto}.notification-stack:empty{display:none}.notification-stack .notice.toast{border:1px solid var(--line);border-radius:var(--radius-menu);background:var(--raised);width:100%;min-height:0;color:var(--ink);box-shadow:var(--shadow-toast);pointer-events:none;overflow-wrap:anywhere;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12px;line-height:1.45;display:flex;position:relative}.notification-stack .toast.error{border-color:var(--red)}.notification-stack .toast.auto-dismiss{pointer-events:auto}.notification-content{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.notification-stack .toast button{pointer-events:auto;flex-shrink:0;min-height:28px;margin:0;padding:4px 8px;font-size:11px}.notification-stack .toast a{pointer-events:auto}.notification-stack .toast .notification-dismiss{width:24px;height:24px;min-height:24px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.notification-stack .toast .notification-dismiss:hover{background:var(--panel);color:var(--ink)}.notification-stack .toast p{margin:3px 0;font-size:12px;line-height:1.45}.notification-stack .transaction-copy{flex-basis:100%;gap:3px}.notification-stack .referral-code{color:var(--muted);font-size:10px}.notification-stack .update-notice .notification-content>svg{color:var(--info);flex-shrink:0}@media (width<=760px){.notification-stack .toast button{min-height:32px}.notification-stack .toast .notification-dismiss{width:32px;height:32px}}.transaction-failure{overflow-wrap:anywhere;min-width:0}.transaction-failure p{margin:3px 0}.transaction-failure details{pointer-events:auto;margin-top:6px}.transaction-failure summary{cursor:pointer;color:var(--muted);text-underline-offset:3px;text-decoration:underline}.transaction-failure pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;margin:6px 0 0;font-size:11px;overflow:auto}.trade-status-transaction{flex-wrap:wrap}.trade-status-transaction>.transaction-failure{flex-basis:100%}.session-funding-amount{justify-content:space-between;align-items:center;gap:16px;margin-block:16px;font-weight:600;display:flex}.session-funding-amount input{font-variant-numeric:tabular-nums;text-align:right;width:132px;max-width:50%}@media (width<=760px){.session-funding-amount input{min-height:44px;font-size:16px}}.trade-funding{background:var(--input-surface);box-shadow:var(--inset-shadow);border-radius:var(--radius-panel);margin-bottom:10px;padding:7px 10px}.trade-funding>.stat{margin:0;font-size:11px;line-height:1.65}.trade-funding .account-summary{border-top:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;margin:6px 0 0;padding:6px 0 0}.trade-funding>.funding-summary{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.4}.trade-funding>button{margin-top:6px;font-size:11px}.trade-funding .account-summary summary{cursor:pointer;align-items:center;gap:5px;min-height:22px;list-style:none;display:flex}.trade-funding .account-summary summary::-webkit-details-marker{display:none}.trade-funding .account-summary summary>.stat{min-width:0;color:var(--ink);flex:1}.trade-funding .account-summary summary strong{font-weight:600}.trade-funding .account-summary summary>svg{color:var(--muted);flex-shrink:0;transform:rotate(-90deg)}.trade-funding .account-summary[open] summary>svg{transform:rotate(0)}.trade-funding .account-summary[open] summary{margin-bottom:4px}@media (pointer:coarse){.trade-funding .account-summary summary{min-height:44px}}.trade-page{gap:0;min-height:calc(100dvh - 48px);padding:6px}.trade-page>.trading-grid{grid-template-rows:var(--trade-chart-height,clamp(410px,54dvh,620px)) 6px minmax(190px,auto);align-items:stretch;gap:0;height:auto;min-height:0}.trade-page .trading-grid>.market-chart{grid-area:1/1;min-width:0;height:100%;min-height:0}.trade-page .trading-grid>.trade-resize-vertical{grid-area:1/2/span 3;align-self:stretch;height:auto}.trade-page .trading-grid>.trade-resize-horizontal{grid-area:2/1;min-width:0;min-height:6px}.trade-page .trading-grid>.ticket-column{flex-direction:column;grid-area:1/3/span 3;gap:6px;min-width:0;min-height:0;display:flex}.trade-page .trading-grid>.trade-activity{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);grid-area:3/1;min-width:0;min-height:0;overflow:hidden}.trade-page .trade-action-bar{background:var(--panel);border-bottom:0;border-radius:0;margin:0}.trade-page .trade-activity .trade-action-bar>.tabbar{border-bottom:0;gap:3px;padding:4px 8px}.trade-page .trade-action-bar>.tabbar>button{min-width:0;box-shadow:none;border:0;padding:0 10px;font-size:11px}.trade-page .trade-action-bar>.tabbar>button.active{background:var(--selected-surface);color:var(--ink);box-shadow:none}.trade-page .ticket-column>.ticket{border:1px solid var(--line);border-radius:var(--radius-panel);flex:none;min-height:0;padding:11px 12px;overflow:visible}.trade-page .ticket-fields{scrollbar-gutter:auto;flex:none;min-height:0;margin-inline-end:0;padding-inline-end:0;overflow:visible}.trade-page .ticket-fields>.trade-funding{box-shadow:none;border-bottom:1px solid var(--line);background:0 0;border-radius:0;margin:0 0 11px;padding:0 0 10px}.trade-page .trade-funding>.stat{font-size:11px;line-height:1.65}.trade-page .trade-funding .account-summary{box-shadow:none;background:0 0;margin-top:5px;padding:5px 0 0}.trade-page .trade-funding .account-summary .stat{font-size:11px;line-height:1.65}.trade-page .trade-funding>.funding-summary{font-size:11px;line-height:1.45}.trade-page .ticket .direction{background:var(--input-surface);height:34px;box-shadow:none;border:0;gap:3px;padding:2px}.trade-page .ticket .direction>button{height:30px;min-height:30px;box-shadow:none;font-size:12px}.trade-page .ticket .direction>button.selected{background:var(--selected-surface);box-shadow:none}.trade-page .ticket .direction>button.selected.positive{background:var(--positive-surface)}.trade-page .ticket .direction>button.selected.negative{background:var(--negative-surface)}.trade-page .ticket .direction>button.neutral{flex:1.8}.trade-page .ticket .collateral{gap:3px;margin-top:9px;font-size:11px}.trade-page .ticket .collateral>button{min-height:25px;box-shadow:none;padding:3px 8px}.trade-page .ticket-fields>label{text-align:left;letter-spacing:0;margin:12px 0 5px;font-size:11px;font-weight:500}.trade-page .ticket .margin-row,.trade-page .ticket .leverage-row{min-width:0;display:block}.trade-page .ticket .margin-row>input,.trade-page .ticket .leverage-row>input{text-align:left;border:1px solid var(--line);border-radius:var(--radius-control);height:34px;box-shadow:none;background:var(--input-surface);width:100%;min-width:0;padding:6px 9px;font-size:17px;font-weight:500;line-height:1.2}.trade-page .ticket-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;width:100%;margin-top:4px;display:grid}.trade-page .ticket-shortcuts>button{background:var(--control-surface);height:25px;min-height:25px;color:var(--muted);box-shadow:none;border:0;padding:3px 2px;font-size:11px;font-weight:450}.trade-page .ticket-shortcuts>button.selected{background:var(--selected-surface);color:var(--ink);box-shadow:none}.trade-page .ticket input[type=range]{height:4px;box-shadow:none;touch-action:pan-y;margin:13px 0 0}.trade-page .ticket input[type=range]::-webkit-slider-thumb{width:13px;height:13px}.trade-page .ticket input[type=range]::-moz-range-thumb{width:13px;height:13px}.trade-page .ticket .range-labels{color:var(--muted);margin-top:7px;font-size:10px}.trade-page .ticket .order-details{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.trade-page .ticket .order-details>.stat{align-items:center;gap:8px;min-height:23px;font-size:11px;line-height:1.6}.trade-page .ticket .order-details>.stat>strong{font-weight:500}.trade-page .ticket .payout-factor-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 8px}.payout-guard-quotes{flex-direction:column;gap:3px;min-width:0;display:flex}.payout-guard-values{font-variant-numeric:tabular-nums;align-items:center;gap:2px;display:inline-flex}.payout-guard-values>strong{text-align:right;min-width:6ch;font-weight:500}.trade-page .ticket .payout-guard-values>button{height:24px;min-height:24px;box-shadow:none;background:0 0;border:0;padding:2px;font-size:11px;line-height:1.4}.trade-page .ticket .payout-guard-values>.payout-guard-limit,.trade-page .ticket .payout-guard-values>input{flex:0 0 54px;width:54px;min-width:54px}.trade-page .ticket .payout-guard-values>.payout-guard-limit{text-underline-offset:3px;text-decoration:underline;-webkit-text-decoration-color:var(--muted);text-decoration-color:var(--muted);font-weight:500}.trade-page .ticket .payout-guard-values>.payout-guard-reset{border-radius:var(--radius-control);background:var(--brown);min-width:24px;color:var(--on-action);cursor:pointer;background-clip:padding-box;border:1px solid #0000;place-items:center;display:grid}.trade-page .ticket .payout-guard-values>.payout-guard-reset:hover{background-color:var(--hover-surface);color:var(--ink)}.trade-page .ticket .payout-guard-values>input{text-align:right;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--input-surface);appearance:textfield;height:24px;padding:2px 3px;font-size:16px}.payout-guard-values>input::-webkit-inner-spin-button{appearance:none;margin:0}.payout-guard-values>input::-webkit-outer-spin-button{appearance:none;margin:0}.trade-page .ticket-actions{flex-shrink:0;padding-top:10px}.trade-page .ticket-actions>.primary{letter-spacing:0;height:auto;min-height:36px;box-shadow:none;padding:9px 8px;font-size:12px}.trade-page .ticket-actions>.session-button{min-height:29px;box-shadow:none;background:0 0;border:0;margin-top:6px;padding:5px 0;font-size:11px}.trade-page .ticket-actions>small{color:var(--muted);font-size:10px;line-height:1.45}.trade-page .ticket-actions>.field-error{margin:0 0 8px;font-size:11px;line-height:1.5}.trade-page .session-funding-notice{margin-bottom:7px;padding:7px 8px;font-size:11px}.trade-page .ticket-column>.position-count{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--panel);height:34px;min-height:34px;padding:5px 10px;font-size:11px}.trade-page .ticket-column>.position-count>button{min-height:24px;box-shadow:none;padding:3px 8px;font-size:11px}.trade-page .ticket-column>.trade-status{border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel);flex:1 0 auto;grid-area:auto;min-height:320px;padding:10px 12px}.trade-page .trade-status-heading h2{letter-spacing:0;text-transform:none;font-size:12px;font-weight:550}.trade-page .trade-status-heading>span{font-size:11px}.trade-page .trade-status-body>.stat{margin:9px 0;font-size:11px}.trade-page .trade-status th,.trade-page .trade-status td{padding:7px 0;font-size:11px}.trade-page .trade-status th{color:var(--muted);text-transform:none;letter-spacing:0;background:0 0;padding-top:5px;padding-bottom:6px;font-weight:500}.trade-page .trade-status .empty{padding:16px 0;font-size:11px}.trade-page .trade-status-transaction{font-size:11px}.trade-page .trade-status-more{color:var(--muted);margin:8px 0 0;font-size:11px}@media (width<=1100px) and (width>=761px){.trade-page .trade-action-bar{flex-wrap:wrap;height:auto}.trade-page .trade-action-bar>.tabbar{border-bottom:0;flex-basis:100%;height:36px}.trade-page .trade-action-bar>.trade-ticker.receipt-ticker{flex-basis:100%;height:56px}}@media (width<=760px){.trade-page{min-height:calc(100dvh - 94px);padding:6px}.trade-page>.trading-grid{flex-direction:column;gap:7px;height:auto;min-height:0;display:flex}.trade-page .trading-grid>.market-chart{order:0;flex:0 0 var(--trade-chart-height,clamp(360px,52dvh,500px));height:var(--trade-chart-height,clamp(360px,52dvh,500px));min-height:340px}.trade-page .trading-grid>.ticket-column,.trade-page .trading-grid>.trade-activity{display:contents}.trade-page .trade-action-bar{border:1px solid var(--line);border-radius:var(--radius-panel);order:1;min-width:0}.trade-page .ticket-column>.ticket{flex:none;order:2;padding:12px}.trade-page .ticket-column>.position-count{order:3}.trade-page .ticket-column>.trade-status{flex:none;order:4;min-height:320px}.trade-page .trade-activity>.positions{border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel);order:5;min-width:0;overflow:hidden}.trade-page .trade-resize{display:none}.trade-page .ticket .direction>button{height:36px;min-height:36px}.trade-page .ticket .direction{height:40px}.trade-page .ticket .margin-row>input,.trade-page .ticket .leverage-row>input{height:38px;font-size:18px}.trade-page .ticket-shortcuts>button{height:32px;min-height:32px}.trade-page .ticket input[type=range]{height:5px;margin-top:16px}.trade-page .ticket input[type=range]::-webkit-slider-thumb{width:22px;height:22px}.trade-page .ticket input[type=range]::-moz-range-thumb{width:22px;height:22px}.trade-page .ticket .order-details>.stat{min-height:25px;font-size:12px}.trade-page .ticket-actions>.primary{min-height:40px}.trade-page .ticket-actions>.session-button{min-height:36px}.trade-page .trade-status-heading>button{place-items:center;width:30px;height:30px;display:grid}.trade-page .ticket-column>.trade-status.trade-status-collapsed{min-height:0}.trade-page .trade-status-collapsed .trade-status-body{display:none}}.chart-panel.market-chart{background:var(--chart-surface);color:var(--chart-ink);border:1px solid var(--line);border-radius:var(--radius-panel);overflow:hidden}.market-chart .market-toolbar{pointer-events:auto;border-bottom:1px solid var(--line);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:6px 12px;min-height:29px;padding:1px 8px;display:flex;position:relative;inset:auto}.market-chart .market-quote{flex-wrap:wrap;flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.market-chart .market-pair{white-space:nowrap;font-size:14px;font-weight:600}.market-chart .market-price{font:500 20px/1.2 var(--chart-font);border:0;padding:0}.market-chart .market-change{font:11px var(--chart-font)}.market-chart .market-switcher{border-radius:var(--radius-control);background:var(--input-surface);align-items:center;gap:2px;padding:1px;display:flex}.market-chart .market-switcher>button{box-shadow:none;border-radius:var(--radius-inner);min-width:35px;height:24px;color:var(--chart-muted);background:0 0;border:0;padding:0 7px;font-size:11px;font-weight:550}.market-chart .market-switcher>button[aria-pressed=true]{background:var(--selected-surface);color:var(--chart-ink)}.market-chart .market-chart-controls{flex-shrink:0;align-items:center;min-height:26px;padding:0 6px;display:flex}.market-chart .chart-control-group{background:0 0;border:0;border-radius:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:3px 12px;width:100%;max-width:none;height:auto;display:flex}.market-chart .chart-timeframes{align-items:center;gap:2px;display:flex}.market-chart .chart-timeframes>button{border-radius:var(--radius-inner);height:25px;min-height:25px;color:var(--chart-muted);box-shadow:none;background:0 0;border:0;padding:3px 7px;font-size:11px}.market-chart .chart-timeframes>button:hover{color:var(--chart-ink);background:color-mix(in srgb,var(--chart-ink) 5%,transparent)}.market-chart .chart-timeframes>button[aria-pressed=true]{color:var(--chart-ink);background:var(--selected-surface);box-shadow:none;text-decoration:none}.market-chart .chart-control-group>.live{height:auto;color:var(--chart-muted);white-space:nowrap;background:0 0;border:0;border-radius:0;align-items:center;gap:5px;padding:0;font-size:10px;font-weight:500;display:flex}.market-chart .live[data-live=true]{color:var(--green)}.market-chart .live:before{content:"";background:currentColor;border-radius:50%;width:4px;height:4px}.market-chart>.chart{border-radius:0;flex:1;height:0;min-height:140px}.market-chart .chart-readout{pointer-events:none;font:10px var(--chart-font);color:var(--chart-muted);gap:12px;display:flex;position:absolute;top:2px;left:6px;right:6px}.market-chart .chart-readout strong{color:var(--chart-ink);font-weight:400}.market-chart .chart text{font:11px var(--chart-font);fill:var(--chart-muted)}.market-chart .chart .gridline{stroke:var(--chart-grid);stroke-dasharray:none;opacity:.35}.market-chart .chart .axis{stroke:var(--chart-grid);opacity:.7}.market-chart .price-line,.market-chart .tick-tail{stroke:var(--chart-price);stroke-width:1.7px}.market-chart .last-price{fill:var(--chart-price)}.market-chart .price-tag{fill:var(--green)}.market-chart .mark-line{stroke:var(--green);stroke-dasharray:3 4;opacity:.65}.market-chart .chart .price-tag-text{fill:var(--on-action);font-size:11px}.market-chart .chart .cursor-label text{fill:var(--chart-surface);font-size:11px}.market-chart .market-footer{min-height:21px;color:var(--chart-muted);border-top:1px solid var(--line);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:4px 12px;padding:1px 8px;display:flex}.market-chart .market-stats{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.market-chart .market-stat{border:0;gap:6px;font-size:11px;padding:0!important}.market-chart .market-stat>span:first-child{letter-spacing:0;font-size:10px}.market-chart .market-stat>.rolling-number{font-family:var(--chart-font);color:var(--chart-ink)}.market-chart .chart-brand{letter-spacing:-.03em;align-items:center;gap:5px;margin-left:auto;font-size:12px;font-weight:600;display:flex}.market-chart .chart-brand .brand-mark{width:14px;height:16px}.market-chart .chart-reset{bottom:24px;right:8px}@media (width<=760px){.market-chart .market-toolbar{gap:5px 8px;padding:6px 8px}.market-chart .market-quote{flex-wrap:nowrap;flex:auto;gap:6px}.market-chart .market-quote-unit{display:none}.market-chart .market-pair{font-size:13px}.market-chart .market-price{font-size:18px}.market-chart .market-switcher{margin-left:auto}.market-chart .market-switcher>button{min-width:31px;padding-inline:5px}.market-chart .market-chart-controls{padding:2px 6px}.market-chart .chart-control-group{gap:3px 5px}.market-chart .chart-timeframes{flex:1;justify-content:space-between;gap:0;max-width:290px}.market-chart .chart-timeframes>button{height:32px;min-height:32px;padding:3px 6px}.market-chart .market-footer{gap:3px 8px;padding:5px 8px}.market-chart .market-stats{flex:1;justify-content:space-between;gap:12px}.market-chart .market-stat{flex-direction:column;align-items:flex-start;gap:2px}.market-chart .chart-brand{font-size:11px}}@media (pointer:coarse){.market-chart .chart-timeframes>button,.market-chart .market-switcher>button{min-height:36px}}.market-chart .market-chart-views{flex-shrink:0;align-items:center;gap:2px;display:flex}.market-chart .market-chart-views>button{white-space:nowrap;height:25px;color:var(--chart-muted);box-shadow:none;background:0 0;border:0;padding:3px 7px;font-size:11px}.market-chart .market-chart-views>button[aria-pressed=true]{background:var(--selected-surface);color:var(--chart-ink)}.market-chart .market-chart-views+.chart-timeframes{margin-left:auto}.market-chart>.heatmap{background:var(--chart-surface);border:0;border-radius:0;flex:1;height:0;min-height:140px;overflow:hidden}.market-chart>.heatmap>.chart-head{gap:5px;min-height:32px;padding:3px 6px}.market-chart>.heatmap>.chart-head h2{font-size:11px}.market-chart>.heatmap>svg{min-height:0}@media (width<=760px){.market-chart .market-chart-views>button{height:32px;min-height:32px}.market-chart .market-chart-views+.chart-timeframes{flex-basis:100%;order:2;max-width:none;margin:0}.market-chart>.heatmap>.chart-head{flex-wrap:wrap}.market-chart>.heatmap>svg{min-height:0}}.market-chart[data-controls-side=left] .market-switcher{margin-left:0}.market-chart[data-controls-side=left] .market-chart-views{margin-left:auto}@media (width<=760px){.market-chart[data-controls-side=left] .chart-timeframes{flex-basis:100%;max-width:none;margin:0}.market-chart[data-controls-side=left] .market-chart-views{margin-left:0}}.chart-card>.chart-head,.heatmap>.chart-head{pointer-events:auto;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;min-height:38px;margin:0;padding:10px 10px 0;position:relative;inset:auto}.chart-card>.chart-head h2,.heatmap>.chart-head h2{white-space:normal;margin-right:2px}.chart-card>.chart-head>strong{margin-right:2px}.chart-card>.chart-legend{flex-wrap:wrap;gap:6px 15px;padding:6px 14px 0;position:static}.heatmap{flex-direction:column}.heatmap>.chart-head{min-height:38px}.panel.heatmap>svg{flex:1;height:0;min-height:0;display:block}.analytics-page.house-page>.overview-grid{height:auto;min-height:354px}.house-page .chart-card>.chart-head,.house-page .heatmap>.chart-head{border-bottom:1px solid var(--line);padding:10px}.house-page .axis{vector-effect:non-scaling-stroke}@media (width<=760px){.analytics-page.house-page>.overview-grid{min-height:0}.chart-card>.chart-head,.heatmap>.chart-head{padding:10px 10px 4px}.chart-head>.menu>summary,.chart-head>.live{height:32px;min-height:32px}.panel.heatmap>svg{min-height:280px}.curve-hover rect,.curve-hover text{display:none}}.plot.plot-bars{flex-direction:column;display:flex}.plot-canvas{flex:1;width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.plot-bar-readout{border-top:1px solid var(--line);flex:none;min-height:46px;padding:6px 10px;font-size:10px;line-height:1.5}.plot-bar-readout>div{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:8px;display:grid}.plot-bar-readout>div>div{flex-direction:column;min-width:0;display:flex}.plot-bar-readout span{color:var(--muted);white-space:nowrap}.plot-bar-readout strong{white-space:nowrap;font-weight:650}.plot-bar-readout>div>div:not(:first-child){text-align:end}.history-mode,.history-buckets{flex-wrap:wrap;align-items:center;gap:2px;font-size:10px;display:flex}.history-limit{color:var(--muted);padding:3px 10px;font-size:9px}.history-buckets{margin-left:auto}.history-buckets>span{color:var(--muted);margin-right:3px}.history-mode button,.history-buckets button{color:var(--muted);border-radius:var(--radius-inner);font:inherit;background:0 0;border:0;min-height:25px;padding:4px 6px}.history-mode button[aria-pressed=true],.history-buckets button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink)}@media (width<=760px){.history-mode button,.history-buckets button{min-height:34px}}.trade-ticker .ticker-items{flex:1;width:100%;height:100%;position:relative}.ticker-items>a{white-space:nowrap;position:absolute;top:50%;left:0}@media (prefers-reduced-motion:reduce){.trade-ticker .ticker-items{gap:20px;display:flex;overflow-x:auto}.ticker-items>a{flex-shrink:0;position:static;transform:none!important}}.trade-ticker.receipt-ticker{height:56px}.trade-action-bar:has(>.receipt-ticker){height:56px}.trade-action-bar>.trade-ticker.receipt-ticker{height:56px}.trade-action-bar:has(>.receipt-ticker)>.tabbar{align-self:center;height:44px}.receipt-ticker .ticker-viewport{padding-block:6px}.trade-ticker.receipt-ticker .ticker-receipt{background:var(--receipt-paper);min-width:0;height:44px;color:var(--ink);box-shadow:0 2px 5px var(--shadow-color);border:0;border-radius:3px;align-items:stretch;gap:0;padding:0;font-weight:400;display:flex}.trade-ticker.receipt-ticker .ticker-receipt:before{content:"";background:var(--receipt-tape);pointer-events:none;width:28px;height:8px;position:absolute;top:-5px;left:11px;transform:rotate(-5deg)}.ticker-receipt .ticker-receipt-main{grid-template-columns:auto auto;align-content:center;column-gap:6px;min-width:88px;padding:4px 9px;display:grid}.ticker-receipt .ticker-market{color:var(--ink);letter-spacing:.025em;grid-column:1/-1;font-size:11px;font-weight:600;line-height:1.3}.ticker-receipt .ticker-pnl{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:15px;font-weight:700;line-height:1.3}.ticker-receipt .ticker-position{color:var(--muted);place-self:center end;font-size:11px;line-height:1.3}.ticker-receipt .ticker-receipt-stub{border-left:1px dashed var(--line);place-items:center;min-width:24px;padding:6px;display:grid;position:relative}.ticker-receipt-stub:before,.ticker-receipt-stub:after{content:"";background:var(--panel);pointer-events:none;border-radius:50%;width:9px;height:9px;position:absolute;left:-5px}.ticker-receipt-stub:before{top:-4px}.ticker-receipt-stub:after{bottom:-4px}.trade-ticker.receipt-ticker .ticker-status{border:1px solid var(--muted);background:0 0;border-radius:50%;place-items:center;width:10px;height:10px;padding:0;line-height:1;display:grid}.trade-ticker.receipt-ticker .ticker-status.ticker-liq{border-color:var(--red);background:var(--red);color:var(--on-action)}.trade-ticker.receipt-ticker .ticker-status.ticker-open{border-color:var(--green);background:var(--green)}@media (width<=760px){.trade-action-bar:has(>.receipt-ticker){flex-wrap:wrap;height:auto}.trade-action-bar:has(>.receipt-ticker)>.tabbar{border-bottom:1px solid var(--line);flex-basis:100%;height:44px}.trade-action-bar>.trade-ticker.receipt-ticker{flex-basis:100%}.trade-ticker.receipt-ticker:has(>.viewing-context){flex-wrap:wrap;height:80px}.receipt-ticker:has(>.viewing-context)>.ticker-viewport{flex-basis:100%;height:56px}.receipt-ticker>.viewing-context{height:24px;margin:0;padding:0 8px}}@media (prefers-reduced-motion:reduce){.receipt-ticker .ticker-items{align-items:center;padding:5px 4px}}.portfolio-detail-list{flex-direction:column;flex:1;min-height:220px;display:flex}.portfolio-detail-table{min-width:680px}.portfolio-detail-table td{font-variant-numeric:tabular-nums}.portfolio-detail-table th button{white-space:nowrap}.portfolio-detail-table td a{color:var(--brown);font-weight:600}.portfolio-detail-table td code{font:inherit;color:var(--muted)}.portfolio-table-note{color:var(--muted);margin:auto 10px 0;padding:12px 0 0;font-size:11px;line-height:1.5}.portfolio-scroll-hint{display:none}@media (width<=760px){.portfolio-detail-table{min-width:760px}.portfolio-detail-table td,.portfolio-detail-table th{padding:9px 10px}.portfolio-table-note{padding-top:18px}.portfolio-scroll-hint{color:var(--muted);align-self:end;margin:6px 8px 0;font-size:10px;display:block}}.portfolio-page .overview-chart .chart-head>.menu:first-child>summary{align-items:center;gap:9px;font-size:11px;display:flex}.portfolio-page .overview-chart .chart-head>.menu:first-child h2{font-size:10px}.portfolio-page .overview-chart .chart-head>.menu:first-child span{font-weight:600}.portfolio-page .position-side{border-radius:var(--radius-inner);background:color-mix(in srgb,currentColor 12%,transparent);padding:1px 5px;font-size:9px}.portfolio-page .position-pnl-percent{white-space:nowrap}.portfolio-page .position-table td:first-child .coin{display:none}.portfolio-page .position-table td,.portfolio-page .position-table th{padding:7px 10px;font-size:11px}.portfolio-page .position-table th{letter-spacing:.08em;background:0 0;font-size:9px}.portfolio-page .position-table th:first-child,.portfolio-page .position-table td:first-child{text-align:left}.portfolio-page .position-table td button{padding:2px 12px;font-size:10px}@media (width>=761px){.portfolio-page .overview-grid{grid-template-columns:minmax(170px,18.25%) minmax(170px,18.25%) minmax(0,1fr)}.portfolio-page .overview-stack .panel{padding:10px 14px}.portfolio-page .overview-stack .stat{line-height:1.6}.portfolio-page .position-table td{height:33px}.portfolio-page .overview-chart .chart-head{padding-top:10px}}.position-table.position-history-table td,.portfolio-page .position-table.position-history-table td{white-space:nowrap;height:48px;padding:6px 8px}.position-table.position-history-table th,.portfolio-page .position-table.position-history-table th{padding:6px 8px}.position-table.position-history-table .position-share>button{white-space:nowrap;min-height:28px;padding:4px 8px;font-size:11px}@media (width<=760px){.position-table.position-history-table tr{border-width:0 0 1px;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:10px}.position-table.position-history-table td,.portfolio-page .position-table.position-history-table td{white-space:normal;height:auto;padding:0;font-size:11px}.position-table.position-history-table td:first-child{grid-column:1/3}.position-table.position-history-table .outcome{align-self:flex-start}.position-table.position-history-table td.position-share{grid-area:1/3;justify-content:center}.position-table.position-history-table td.position-share:before{display:none}.position-table.position-history-table .position-share>button{white-space:normal;overflow-wrap:anywhere;width:100%;min-height:44px}}.analytics-page.reorganized{max-width:1920px;margin-inline:auto;padding:0 8px 16px}.page-intro{flex-wrap:wrap;align-items:baseline;gap:16px;padding:12px 4px;display:flex}.page-intro h1{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:650;line-height:1.2}.page-intro p{color:var(--muted);max-width:70ch;margin:0;font-size:11px}.section-heading{justify-content:space-between;align-items:center;gap:8px;min-height:20px;margin:12px 4px 6px;display:flex}.section-heading h2{letter-spacing:0;text-transform:none;margin:0;font-size:12px;font-weight:650}.section-heading>span,.section-heading>a{color:var(--muted);font-size:10px}.reorganized .panel{min-width:0;padding:10px 12px}.reorganized .panel-heading{margin-bottom:8px}.reorganized .panel-heading h2{font-size:11px}.reorganized .stat{font-size:11px;line-height:1.9}.reorganized .chart-card{height:220px;min-height:0;padding:0}.page-chart-grid,.page-summary-chart{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.page-summary-chart{grid-template-columns:minmax(220px,.8fr) minmax(0,2fr)}.market-positioning{grid-template-columns:minmax(240px,1fr) minmax(0,2.2fr);gap:6px;display:grid}.market-positioning>.heatmap{height:100%;min-height:440px;padding:0}.market-positioning-side{flex-direction:column;gap:6px;min-width:0;display:flex}.market-positioning-side>.chart-card{flex:1;height:auto;min-height:240px}.market-positioning-side .oi-table{width:100%;margin-top:8px}.market-scope{color:var(--muted);margin:0 4px 8px;font-size:10px}@media (width>=1100px) and (height>=740px){body:has(.markets-page){flex-direction:column;height:100dvh;display:flex}#root:has(>.markets-page){flex-direction:column;flex:1;min-height:0;display:flex}#root:has(>.markets-page)>header{flex-shrink:0}.analytics-page.reorganized.markets-page{flex:1;grid-template-rows:auto auto minmax(320px,2fr) auto minmax(180px,1fr);width:100%;min-height:0;display:grid}.markets-page .market-positioning,.markets-page .market-positioning-side{min-height:0}.markets-page .market-positioning>.heatmap,.markets-page .heatmap>svg{height:100%;min-height:0}.markets-page .market-positioning-side>.chart-card,.markets-page>.page-chart-grid{min-height:0}.markets-page>.page-chart-grid>.chart-card{height:100%}}.reorganized [id]{scroll-margin-top:12px}.portfolio-workspace{grid-template-columns:minmax(0,1fr) 336px;align-items:start;gap:6px;display:grid}.portfolio-main,.portfolio-sidebar{flex-direction:column;gap:8px;min-width:0;display:flex}.portfolio-overview,.portfolio-actions,.portfolio-lower,#portfolio-referrals{min-width:0}.portfolio-overview{grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:6px;display:grid}.portfolio-page.reorganized .performance-chart{height:300px}.performance-toolbar{justify-content:space-between;align-items:center;gap:8px;padding:8px 10px 4px;display:flex}.performance-heading{align-items:baseline;gap:10px;min-width:0;display:flex}.performance-heading h2{margin:0;font-size:11px}.performance-heading>strong{font-variant-numeric:tabular-nums;font-size:14px}.performance-toolbar>.menu>summary{min-height:30px;font-size:11px}.performance-chart .performance-views{flex-shrink:0;gap:3px;height:34px;padding:2px 10px}.performance-chart .performance-views>button{padding:4px 10px;font-size:11px}.performance-key{color:var(--muted);flex-wrap:wrap;gap:6px 18px;padding:6px 12px 2px;font-size:10px;display:flex}.performance-key>span{align-items:center;gap:6px;display:flex}.performance-key strong{color:var(--ink);font-variant-numeric:tabular-nums}.performance-key i{width:14px;height:2px;display:inline-block}.portfolio-snapshot{flex-direction:column;gap:6px;display:flex}.portfolio-summary{flex:1}.portfolio-summary>.panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;height:100%;padding:10px 12px;display:grid}.portfolio-summary .panel-heading{align-self:center;margin:0}.portfolio-summary .account-value{letter-spacing:-.02em;text-align:right;font-size:16px;font-weight:650}.portfolio-summary .stat{flex-direction:column;align-items:flex-start;gap:2px;line-height:1.5;display:flex}.portfolio-summary .stat strong{font-size:12px}.portfolio-metrics{background:var(--panel);border-radius:var(--radius-panel);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.portfolio-metrics>.stat{border-right:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px}.portfolio-metrics>.stat:nth-child(2n){border-right:0}.portfolio-metrics>.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.portfolio-metrics>.stat strong{text-align:left;font-size:13px}.reorganized .portfolio-lower{flex-direction:column;flex:1;min-height:420px;margin:0;padding:14px 12px 10px;display:flex}.portfolio-table-toolbar{align-items:center;gap:8px;min-width:0;margin-bottom:8px;display:flex}.portfolio-table-toolbar>button{flex:none;min-height:32px;font-size:10px}.account-history .tabbar{scrollbar-width:thin;flex:1;gap:3px;height:36px;padding:0;overflow-x:auto}.account-history .tabbar>button{flex:none;padding-inline:9px;font-size:11px}.account-history #account-history-content{flex:1;min-height:0;display:flex}.account-history #account-history-content>.position-list,.account-history #account-history-content>.portfolio-detail-list{flex:1;min-width:0}.account-history .table-scroll{max-height:560px;overflow:auto}.account-history .table-scroll thead{z-index:1;background:var(--panel);position:sticky;top:0}#portfolio-referrals{flex-direction:column;display:flex}#portfolio-referrals .referral-panel{flex:1;margin:0}#portfolio-referrals .referral-copy,#portfolio-referrals .referral-panel p{font-size:10px;line-height:1.5}.portfolio-page #portfolio-referrals .referral-content{grid-template-columns:minmax(0,1fr);gap:10px}#portfolio-referrals .referral-summary-table th,#portfolio-referrals .referral-summary-table td{padding:6px 4px;font-size:10px}#portfolio-referrals .referral-summary-table small{font-size:10px;line-height:1.4}#portfolio-referrals .referral-summary-table th:first-child{width:44%}#portfolio-referrals .referral-panel h2{font-size:11px}#portfolio-referrals .referral-panel .referral-link-row{gap:4px;margin-bottom:0}#portfolio-referrals .referral-panel .referral-help{margin:8px 0 0}#portfolio-referrals .referral-panel>p{margin-bottom:8px}#portfolio-referrals .referral-count-note{margin-top:6px}.reorganized .portfolio-rewards{flex-direction:column;padding:0;display:flex}.reward-action{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 8px;min-width:0;padding:10px 12px;display:grid}.reward-action+.reward-action{border-top:1px solid var(--line)}.reward-action h2{text-transform:none;letter-spacing:0;grid-column:1/-1;margin:0;font-size:11px}.reward-action h2 label{font:inherit;color:inherit}.reward-amount{font-variant-numeric:tabular-nums;font-size:18px;font-weight:650;line-height:1.2}.reward-action p{color:var(--muted);grid-area:3/1/auto/-1;margin:0;font-size:10px;line-height:1.4}.reward-action>.primary{grid-area:2/2;width:auto;min-height:30px;margin:0;padding:6px 10px;font-size:10px}.reward-action>.stat{grid-column:1/-1;font-size:10px;line-height:1.5}.reward-stake{flex-direction:column;align-items:stretch;gap:4px;display:flex}.reward-action .stake-help{min-height:0;font-size:10px;line-height:1.4}.stake-submit{align-items:stretch;gap:4px;display:flex}.stake-submit>.stake-input{flex:1;min-width:0;margin:0}.stake-submit input{width:100%;min-width:0;height:30px;padding:5px 8px;font-size:13px}.stake-submit button{min-height:30px;padding:5px 8px;font-size:10px}.portfolio-rewards .stake-submit>button{flex:none;width:auto;min-width:54px}.unstake-disclosure{color:var(--muted);font-size:10px}.unstake-disclosure>summary{cursor:pointer;width:fit-content;min-height:24px;padding:4px 0;list-style-position:inside;display:list-item}.unstake-disclosure .stake-submit{margin-top:4px}.protocol-page>section,.protocol-page>.protocol-obligations,.protocol-page>.house-models,.protocol-page>.panel{margin-top:8px}.protocol-page .panel-heading>a{color:var(--muted);font-size:10px}.protocol-finances{grid-template-columns:repeat(2,minmax(200px,.8fr)) repeat(2,minmax(0,1.2fr));gap:6px;display:grid}.protocol-staking-grid .copy-address{margin-top:8px;font-size:10px}.protocol-staking-grid .copy-address button{padding:3px 6px;font-size:10px}.protocol-obligations,.protocol-page .house-models,.protocol-page #protocol-activity>.page-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.protocol-page .house-models{margin-top:8px}.protocol-page .house-models>.panel{height:220px}.protocol-page .house-models .plot{height:170px;min-height:0}.protocol-page .house-models .topology{height:170px}.protocol-page .card-bottom{padding-top:8px}.protocol-page .kpi-strip{gap:6px;margin-bottom:6px}.protocol-page .kpi-strip .panel{padding:6px 10px}.protocol-page .kpi-strip .stat>span{font-size:10px}.protocol-page .kpi-strip .stat strong{font-size:15px}@media (width<=1200px){.protocol-finances{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-workspace{grid-template-columns:minmax(0,1fr) 304px}}@media (width>=761px) and (width<=1100px){.portfolio-overview{grid-template-columns:minmax(0,1fr)}.portfolio-snapshot{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (width<=760px){.analytics-page.reorganized{padding:0 6px 12px}.page-intro{gap:6px;padding:10px 4px;display:block}.page-intro h1{margin-bottom:4px;font-size:18px}.page-intro p{font-size:11px;line-height:1.4}.portfolio-workspace{flex-direction:column;gap:6px;display:flex}.portfolio-actions,#portfolio-referrals{width:100%}.reward-action{padding:10px 12px}.reward-action>.primary,.stake-submit button,.stake-submit input{min-height:44px}.stake-submit input{font-size:16px}.unstake-disclosure>summary{min-height:44px;padding-block:14px}.performance-chart .performance-views{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;height:auto;display:grid}.performance-chart .performance-views>button{height:44px;min-height:44px;padding:8px;font-size:11px}.portfolio-overview{grid-template-columns:minmax(0,1fr)}.reorganized .portfolio-lower{min-height:360px}.portfolio-summary>.panel{gap:8px}.portfolio-summary .stat{flex-basis:40%;margin-left:0}.reorganized .performance-chart{height:400px!important}.portfolio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-metrics>.stat:nth-child(2){border-right:0}.portfolio-metrics>.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.page-chart-grid,.page-summary-chart,.market-positioning,.protocol-finances,.protocol-obligations,.protocol-staking-grid,.protocol-page .house-models,.protocol-page #protocol-activity>.page-chart-grid{grid-template-columns:minmax(0,1fr)}.market-positioning>.heatmap{min-height:340px}.market-positioning-side>.chart-card,.reorganized .chart-card{height:240px}.account-history .tabbar{height:44px;min-height:44px}.account-history .tabbar>button{min-height:44px;padding:10px 8px;font-size:11px}}.protocol-workspace{flex-direction:column;gap:10px;display:flex}.protocol-workspace-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.protocol-workspace-header .page-intro{padding:10px 4px}.protocol-workspace-body{grid-template-columns:176px minmax(0,1fr);align-items:start;gap:10px;display:grid}.protocol-workspace-main{flex-direction:column;gap:10px;min-width:0;display:flex}.protocol-workspace-controls{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius-panel);flex-direction:column;align-items:stretch;gap:12px;min-width:0;padding:12px 10px;display:flex;position:sticky;top:10px}.protocol-controls-title{font-size:12px;font-weight:620}.protocol-focus-controls,.protocol-period-controls{background:var(--input-surface);border:1px solid var(--line);border-radius:var(--radius-control);align-items:center;gap:2px;padding:2px;display:flex}.protocol-focus-controls{flex-direction:column;align-items:stretch}.protocol-period-controls{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.protocol-focus-controls button,.protocol-period-controls button{border-radius:var(--radius-inner);color:var(--muted);font:inherit;white-space:nowrap;background:0 0;border:0;min-height:28px;padding:4px 9px;font-size:11px;font-weight:550}.protocol-focus-controls button[aria-pressed=true],.protocol-period-controls button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink);box-shadow:var(--pressed-shadow)}.protocol-customize{font-size:11px;position:relative}.protocol-customize summary{cursor:pointer;color:var(--muted);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--control-surface);min-height:32px;padding:6px 9px;list-style:none}.protocol-customize summary::-webkit-details-marker{display:none}.protocol-customize>div{background:var(--panel);gap:2px;padding:6px 0 0;display:grid}.protocol-customize label{color:var(--ink);white-space:nowrap;align-items:center;gap:7px;padding:5px;display:flex}.protocol-customize input{accent-color:var(--brown)}.protocol-overview-rail{border-block:1px solid var(--line);background:var(--panel);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.protocol-overview-rail .stat{border-right:1px solid var(--line);flex-direction:column;align-items:start;gap:2px;padding:9px 13px;line-height:1.25;display:flex}.protocol-overview-rail .stat:last-child{border-right:0}.protocol-overview-rail .stat>span{color:var(--muted);font-size:10px}.protocol-overview-rail .stat strong{font-variant-numeric:tabular-nums;font-size:17px;font-weight:600}.protocol-market-snapshot{border-block:1px solid var(--line);background:var(--panel);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:7px;display:grid}.protocol-market-stats{border-inline-end:1px solid var(--line);min-width:0;padding:10px 14px}.protocol-market-stats:last-child{border-inline-end:0}.protocol-market-quote{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:7px;font-size:14px;display:flex}.protocol-market-stats .stat{font-size:10px;line-height:1.8}.protocol-signed-positioning{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.protocol-signed-positioning h3{margin:0 0 10px;font-size:12px;font-weight:620}.chart-market-buttons{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.chart-market-buttons button{font:inherit;min-height:26px;color:var(--muted);border-radius:var(--radius-inner);background:0 0;border:0;padding:4px 7px;font-size:10px}.chart-market-buttons button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink)}.chart-market-buttons button:hover{background:var(--hover-surface);color:var(--ink)}.protocol-chart-grid .chart-head{flex-wrap:wrap;height:auto;min-height:36px}.protocol-chart-grid .chart-head>.chart-market-buttons{flex-basis:100%;padding-bottom:3px}.protocol-positioning-axis{color:var(--muted);justify-content:space-between;padding:0 55px 3px 42px;font-size:9px;display:flex}.protocol-positioning-row{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;grid-template-columns:36px minmax(0,1fr) 70px;align-items:center;gap:5px;min-height:33px;font-size:10px;display:grid}.protocol-positioning-row strong:last-child{text-align:right;font-weight:580}.protocol-positioning-bars{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);align-items:center;height:20px;display:grid}.protocol-positioning-bars span{min-width:1px;height:8px}.protocol-positioning-bars .short{background:var(--red);justify-self:end}.protocol-positioning-bars .long{background:var(--green);justify-self:start}.protocol-positioning-bars i{background:var(--muted);opacity:.5;height:18px}.protocol-signed-positioning p{color:var(--muted);margin:8px 0 0;font-size:9px}.protocol-workspace-section{min-width:0;scroll-margin-top:12px;margin:0!important}.protocol-workspace-section.is-leading{margin-top:2px!important}.protocol-section-heading{border-bottom:1px solid var(--line);align-items:baseline;gap:10px;padding:7px 4px 6px;display:flex}.protocol-section-heading h2{letter-spacing:-.01em;margin:0;font-size:13px;font-weight:620}.protocol-section-heading span{color:var(--muted);font-size:10px}.protocol-risk-lead{grid-template-columns:minmax(270px,.65fr) minmax(0,1.35fr);align-items:stretch;gap:7px;margin-top:7px;display:grid}.protocol-risk-lead>.panel{min-width:0}.protocol-risk-lead>.heatmap{height:480px;min-height:480px;padding:0}.protocol-workspace .protocol-risk-lead>.heatmap>svg{height:calc(100% - 44px);min-height:0}.protocol-risk-lead .oi-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin-top:10px;font-size:11px}.protocol-risk-lead .oi-table th,.protocol-risk-lead .oi-table td{border-bottom:1px solid var(--line);text-align:right;padding:7px 5px}.protocol-risk-lead .oi-table th:first-child,.protocol-risk-lead .oi-table td:first-child{text-align:left}.protocol-risk-lead .oi-table th{color:var(--muted);font-size:10px;font-weight:500}.protocol-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px;display:grid}.protocol-chart-grid>.chart-card,.protocol-house-overview>.chart-card,.protocol-payout-summary>.chart-card,.protocol-chart-grid>.position-topology{height:236px}.protocol-chart-grid>.position-topology canvas{height:176px}.protocol-chart-grid>.panel{min-width:0}.protocol-chart-grid .chart-legend{white-space:normal;flex-wrap:wrap}.protocol-house-overview,.protocol-payout-overview{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);align-items:stretch;gap:7px;margin-top:7px;display:grid}.protocol-payout-summary{flex-direction:column;gap:7px;min-width:0;display:flex}.protocol-payout-overview .payout-claims-lens{min-height:370px}.protocol-staking-content{margin-top:7px}.protocol-staking-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:7px;display:grid}.protocol-staking-grid>.panel{min-width:0}.protocol-staking-grid>.chart-card{height:260px}.protocol-staking-grid>.curve-panel{height:auto;min-height:374px;padding:10px 12px}.reward-simulator .panel-heading{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.reward-simulator .panel-heading span{color:var(--muted);font-size:10px}.reward-simulator .curve-readout{color:var(--muted);flex-wrap:wrap;gap:12px;padding:4px 0 2px;font-size:10px;display:flex}.reward-simulator .curve-readout strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:12px;font-weight:620}.protocol-workspace .reward-simulator .reward-simulator-plot{width:100%;height:238px;min-height:0;display:block;overflow:visible}.protocol-workspace .reward-simulator-plot text{fill:var(--muted);font-size:10px}.reward-simulator-plot .gridline{stroke:var(--line);stroke-width:1px;opacity:.55}.reward-simulator-plot .curve-threshold{stroke:var(--reward);stroke-width:1px;stroke-dasharray:3 4;opacity:.65}.reward-simulator-plot .curve-threshold.staker{stroke:var(--muted);opacity:.4}.reward-simulator .curve-thresholds{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:10px;line-height:1.4;display:flex}.reward-simulator .curve-inspect{min-height:18px;color:var(--muted);flex-wrap:wrap;gap:3px 12px;font-size:10px;display:flex}.reward-simulator .curve-inspect strong{color:var(--ink);font-weight:550}.reward-simulator-control{border-top:1px solid var(--line);margin-top:9px;padding-top:9px}.reward-simulator-control label,.reward-simulator-control>div{justify-content:space-between;align-items:center;gap:12px;font-size:11px;display:flex}.reward-simulator-control label strong{font-variant-numeric:tabular-nums}.reward-simulator-control input{width:100%;accent-color:var(--reward);margin:7px 0}.reward-simulator-control>div{color:var(--muted);font-size:10px}.reward-simulator-control button{font:inherit;color:var(--brown);background:0 0;border:0;padding:4px}.reward-simulator-control p{color:var(--muted);margin:5px 0 0;font-size:10px;line-height:1.4}.reward-simulator .curve-empty{color:var(--muted);font-size:11px}.protocol-workspace #protocol-activity .kpi-strip{margin:7px 0}.protocol-workspace:not(.is-compact) .protocol-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.protocol-workspace:not(.is-compact) :is(.protocol-chart-grid,.protocol-house-overview,.protocol-payout-summary)>.chart-card,.protocol-workspace:not(.is-compact) .protocol-chart-grid>.position-topology{height:280px}@media (width<=1100px){.protocol-chart-grid,.protocol-staking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.protocol-workspace-body{display:block}.protocol-workspace-controls{flex-flow:wrap;align-items:center;gap:6px;margin-bottom:8px;padding:7px;display:flex;position:static}.protocol-controls-title{display:none}.protocol-focus-controls{flex-flow:wrap}.protocol-period-controls{display:flex}.protocol-customize{margin-left:auto}.protocol-customize>div{z-index:10;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);min-width:166px;box-shadow:var(--shadow-popover);padding:6px;position:absolute;top:calc(100% + 4px);right:0}}@media (width<=760px){.protocol-workspace-header{align-items:start}.protocol-workspace-controls{gap:6px;width:100%}.protocol-focus-controls,.protocol-period-controls{justify-content:space-between;width:100%}.protocol-focus-controls button,.protocol-period-controls button{flex:1;min-height:38px}.protocol-focus-controls{grid-template-columns:1fr 1fr;display:grid}.protocol-customize summary{min-height:38px}.protocol-overview-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.protocol-overview-rail .stat:nth-child(2){border-right:0}.protocol-overview-rail .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.protocol-section-heading{flex-wrap:wrap;gap:2px 8px}.protocol-risk-lead,.protocol-chart-grid,.protocol-staking-grid,.protocol-house-overview,.protocol-payout-overview,.protocol-workspace:not(.is-compact) .protocol-chart-grid{grid-template-columns:minmax(0,1fr)}.protocol-risk-lead>.heatmap{height:350px;min-height:350px}.protocol-workspace :is(.protocol-chart-grid,.protocol-house-overview,.protocol-payout-summary)>.chart-card,.protocol-workspace:not(.is-compact) :is(.protocol-chart-grid,.protocol-house-overview,.protocol-payout-summary)>.chart-card{height:250px}.protocol-workspace .analytics-lenses.protocol-chart-grid>:is(.analytics-payoff,.analytics-inventory){height:auto}.analytics-payoff-plot{flex:none;height:180px}.analytics-inventory-plot{flex:none;height:192px}.protocol-market-snapshot{grid-template-columns:1fr}.protocol-market-stats{border-inline-end:0;border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:0 12px;padding:10px;display:grid}.protocol-market-stats:last-child{border-bottom:0}.protocol-market-quote{grid-column:1/-1}.protocol-staking-grid>.chart-card{height:250px}.chart-market-buttons button{min-height:38px;padding:6px 9px}.reward-simulator .reward-simulator-plot{height:238px}}.portfolio-workspace-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.portfolio-funding-actions{gap:6px;padding:7px 4px;display:flex}.portfolio-funding-actions button{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--control-surface);min-height:30px;color:var(--ink);font:inherit;padding:5px 11px;font-size:11px;font-weight:550}.portfolio-funding-actions button:hover{background:var(--hover-surface)}.portfolio-workspace{gap:8px}.portfolio-actions{display:block}.portfolio-history-heading{letter-spacing:0;margin:0 0 8px;font-size:12px;font-weight:620}.portfolio-page .account-history .tabbar{flex-wrap:wrap;align-content:start;height:auto;min-height:34px;overflow:visible}.portfolio-page .account-history .tabbar>button{white-space:nowrap;min-height:32px;padding:5px 9px;font-size:11px}.portfolio-page .portfolio-overview{gap:8px}.portfolio-page .portfolio-metrics{border:1px solid var(--line)}.portfolio-page .portfolio-summary>.panel{align-content:center}.portfolio-page .performance-chart .performance-key{line-height:1.4}.portfolio-page .reward-action h2{font-size:12px;font-weight:600}.portfolio-page .reward-action p,.portfolio-page .reward-action>.primary{font-size:11px}.portfolio-page .referral-panel p{font-size:11px;line-height:1.5}@media (width<=760px){.portfolio-workspace-header{align-items:start}.portfolio-funding-actions{width:100%;padding:0 4px 8px}.portfolio-funding-actions button{flex:1;min-height:40px}.portfolio-workspace{flex-direction:column;display:flex}.portfolio-main,.portfolio-sidebar{display:contents}.portfolio-overview{order:0}.portfolio-actions{order:1}.portfolio-lower{order:2}#portfolio-referrals{order:3}.portfolio-page .portfolio-overview,.portfolio-page .portfolio-actions,.portfolio-page .portfolio-lower,.portfolio-page #portfolio-referrals{width:100%}.portfolio-page .account-history .tabbar{flex-wrap:wrap;min-height:0;overflow:visible}.portfolio-page .account-history .tabbar>button{flex:auto;min-height:40px}}.analytics-lenses>.chart-card{flex-direction:column;min-width:0;height:270px;padding:0;display:flex;overflow:hidden}.analytics-lenses .panel-heading{border-bottom:1px solid var(--line);min-height:34px;margin:0;padding:9px 11px}.analytics-lenses .panel-heading h2{font-size:11px}.analytics-lenses .panel-heading>span{color:var(--muted);white-space:nowrap;font-size:10px}.analytics-lenses .plot{flex:1;height:auto;min-height:0}.analytics-lenses .analytics-legend{color:var(--muted);flex-wrap:wrap;gap:12px;padding:7px 11px 0;font-size:10px;display:flex}.analytics-legend span{align-items:center;gap:4px;display:flex}.analytics-legend i{width:7px;height:2px;display:inline-block}.analytics-legend strong{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:500}.analytics-note{border-top:1px solid var(--line);color:var(--muted);flex-shrink:0;margin:0;padding:7px 10px;font-size:10px;line-height:1.4}.analytics-correlation table{table-layout:fixed;border-spacing:3px;font-variant-numeric:tabular-nums;flex:1;width:100%;margin:12px 0 5px}.analytics-correlation table th{text-align:center;border:0;padding:4px 0;font-size:10px;font-weight:600}.analytics-correlation table th:first-child{width:37px}.analytics-correlation table td{background:var(--correlation-color);text-align:center;border-radius:var(--radius-inner);border:0;padding:8px 0;font-size:14px;font-weight:600}.correlation-key{color:var(--muted);justify-content:center;align-items:center;gap:5px;padding:0 5px 12px;font-size:9px;display:flex}.correlation-key i{background:var(--chart-pink);width:16px;height:5px}.correlation-key i:last-of-type{background:var(--chart-teal)}.analytics-load-error{color:var(--muted);grid-column:1/-1;margin:0;font-size:11px}.analytics-load-error button{color:var(--brown);background:0 0;border:0;padding:2px 5px}.analytics-book-coverage{color:var(--muted);grid-column:1/-1;margin:0;padding:1px 3px;font-size:10px;line-height:1.5}.analytics-lenses>.analytics-payoff{grid-column:span 2;height:360px}.analytics-lenses>.analytics-inventory{height:360px}.analytics-payoff-controls,.analytics-payoff-series,.analytics-inventory-markets{flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px 0;font-size:10px;display:flex}.analytics-payoff-controls{justify-content:space-between}.analytics-payoff-controls>div{background:var(--input-surface);border-radius:var(--radius-inner);gap:2px;padding:2px;display:flex}.analytics-payoff-controls button,.analytics-payoff-series button,.analytics-inventory-markets button{color:var(--muted);border-radius:var(--radius-inner);min-height:25px;font:inherit;background:0 0;border:0;align-items:center;gap:5px;padding:4px 7px;font-size:10px;display:flex}.analytics-payoff-controls button:hover,.analytics-payoff-series button:hover,.analytics-inventory-markets button:hover{background:var(--hover-surface);color:var(--ink)}.analytics-payoff-controls button[aria-pressed=true],.analytics-payoff-series button[aria-pressed=true],.analytics-inventory-markets button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink)}.analytics-payoff-series{gap:4px;padding-top:3px}.analytics-payoff-series button:not([aria-pressed=true]){opacity:.55;text-decoration:line-through}.analytics-payoff-series i,.analytics-inventory-markets i{width:9px;height:2px;display:inline-block}.analytics-payoff-readout,.analytics-inventory-readout{font-variant-numeric:tabular-nums;min-height:27px;color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding:5px 11px;font-size:10px;display:flex}.analytics-payoff-readout>strong,.analytics-inventory-readout>strong{color:var(--ink);font-size:11px;font-weight:550}.analytics-payoff-readout b{color:var(--ink);font-weight:550}.analytics-payoff-plot,.analytics-inventory-plot{flex:1;min-width:0;min-height:0;position:relative}.analytics-payoff-plot svg,.analytics-inventory-plot svg{width:100%;height:100%;display:block;overflow:visible}.analytics-payoff-plot text,.analytics-inventory-plot text{font:10px var(--font-measurement,ui-monospace,SFMono-Regular,Consolas,monospace);fill:var(--muted)}.analytics-payoff-plot svg:focus-visible{background:var(--input-surface);outline:none}.payoff-line{fill:none;stroke-width:1.6px;vector-effect:non-scaling-stroke}.payoff-total{stroke-width:2.5px}.payoff-zero{stroke:var(--muted);stroke-width:1px;opacity:.7}.payoff-guide{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 4;opacity:.6}.analytics-chart-empty{text-align:center;color:var(--muted);pointer-events:none;margin:0;font-size:11px;position:absolute;inset:35% 12px auto}.analytics-inventory-readout{justify-content:space-between;padding-top:9px}.analytics-inventory-plot{margin-top:3px}.inventory-bubble{cursor:pointer;outline:none}.inventory-bubble circle{fill:currentColor;fill-opacity:.65}.analytics-inventory-plot .inventory-bubble text{fill:currentColor;font-family:Inter,sans-serif;font-weight:600}.inventory-bubble[aria-pressed=true] text,.inventory-bubble:focus-visible text{text-underline-offset:3px;text-decoration:underline}.analytics-inventory-markets{padding-top:0;padding-bottom:5px}.analytics-inventory-detail{border-top:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;padding:6px 10px;font-size:9px;display:flex}.analytics-inventory-detail b{color:var(--ink);font-weight:550}@media (width<=1200px) and (width>=761px){.analytics-lenses>.analytics-payoff{grid-column:span 1}}@media (width<=760px){.analytics-lenses>.chart-card{height:270px}.analytics-lenses .analytics-correlation{height:255px}.analytics-lenses>.analytics-payoff{grid-column:span 1;height:390px}.analytics-lenses>.analytics-inventory{height:380px}.analytics-payoff-controls button,.analytics-payoff-series button,.analytics-inventory-markets button{min-height:32px;padding-inline:8px}.analytics-payoff-readout{gap:4px 9px;min-height:42px}}.book-lens{flex-direction:column;min-width:0;padding:0;display:flex;overflow:hidden}.book-lens>.panel-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-height:35px;margin:0;padding:9px 11px;display:flex}.book-lens>.panel-heading h2{margin:0;font-size:11px}.book-lens>.panel-heading>span{color:var(--muted);font-size:10px}.book-lens-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px 0;display:flex}.book-segments{background:var(--input-surface);border-radius:var(--radius-control);gap:2px;padding:2px;display:flex}.book-segments button{color:var(--muted);font:inherit;background:0 0;border:0;min-height:28px;padding:4px 7px;font-size:10px}.book-segments button[aria-pressed=true],.book-segments button:hover,.book-segments button:focus-visible{background:var(--selected-surface);color:var(--ink);box-shadow:none;outline:0}.book-lens-controls label{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.book-lens-controls select{min-height:28px;font:inherit;color:var(--ink);background:var(--input-surface);border:1px solid var(--line);border-radius:var(--radius-control);padding:3px 5px}.book-lens-controls select:focus-visible{background:var(--selected-surface);outline:0}.book-lens-chart{min-width:0;padding:8px 10px 0}.book-lens-chart svg{outline:0;width:100%;height:188px;display:block}.book-lens-chart svg:focus-visible{background:var(--input-surface)}.book-lens-chart svg text{font:10px var(--chart-font);fill:var(--muted)}.book-grid{stroke:var(--line);stroke-width:1px;opacity:.5}.book-zero{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 4}.book-bin-highlight{fill:#0000}.book-bin-highlight[data-active=true]{fill:var(--selected-surface)}.book-lens-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;padding:2px 11px 6px;font-size:10px;display:flex}.book-lens-legend>span{align-items:center;gap:4px;display:flex}.book-lens-legend>span:last-child{margin-inline-start:auto}.book-lens-legend i{background:var(--green);width:7px;height:7px;display:inline-block}.book-lens-legend i.short{background:var(--red)}.book-inspect{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:3px 10px;min-height:43px;padding:7px 11px;font-size:10px;display:flex}.book-inspect strong{color:var(--ink);font-weight:600}.book-inspect span{color:var(--muted)}.book-lens-note,.book-coverage{color:var(--muted);margin:0;padding:7px 11px;font-size:10px;line-height:1.5}.book-lens-note{border-top:1px solid var(--line);margin-top:auto}.book-coverage{color:var(--ink);background:var(--input-surface)}.book-queue-stats{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;padding:9px 11px 0;font-size:10px;display:flex}.book-queue-stats>span{flex-direction:column;gap:2px;display:flex}.book-queue-stats strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.book-queue-line{fill:none;stroke:var(--brown);stroke-width:1.8px;vector-effect:non-scaling-stroke}.book-queue-fill{fill:var(--brown);opacity:.1}.book-rank-control{color:var(--muted);align-items:center;gap:8px;padding:6px 11px 9px;font-size:10px;display:flex}.book-rank-control input{min-width:40px;accent-color:var(--brown);flex:1}.book-rank-control output{white-space:nowrap;font-variant-numeric:tabular-nums}.book-scenario-mode{color:var(--muted);align-items:center;gap:6px;padding:9px 11px;font-size:10px;display:flex}.book-scenario-mode input{accent-color:var(--brown)}.scenario-lens table{font-variant-numeric:tabular-nums;min-width:430px;font-size:11px}.scenario-lens table th,.scenario-lens table td{text-align:end;border-bottom:1px solid var(--line);padding:9px 10px}.scenario-lens table th:first-child{text-align:start}.scenario-lens table th{text-transform:none;letter-spacing:0;background:0 0;font-weight:500}.scenario-lens table tbody th{color:var(--ink)}.scenario-lens table tr.is-focused{background:var(--selected-surface)}@media (width<=760px){.book-segments button,.book-lens-controls select{min-height:34px;font-size:11px}.book-rank-control{min-height:40px}.book-lens>.panel-heading h2{font-size:12px}.book-scenario-mode{min-height:40px}}.referral-content{gap:18px;min-width:0;display:grid}.referral-summary,.referral-share{min-width:0}.referral-summary-table{table-layout:fixed;white-space:normal}.referral-summary-table th,.referral-summary-table td{background:0 0;padding:10px 8px}.referral-summary-table th:first-child{width:40%;padding-inline-start:0}.referral-summary-table thead th{vertical-align:bottom}.referral-summary-table th:not(:first-child),.referral-summary-table td{text-align:end}.referral-summary-table tbody th{color:var(--ink);letter-spacing:0;text-transform:none;font-size:12px;font-weight:600}.referral-summary-table small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.referral-summary-table td{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.referral-summary-table td:last-child{font-weight:600}.referral-count-note{color:var(--muted);margin:8px 0 0;font-size:11px}.referral-count-error{color:var(--red);align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.referral-count-error button{min-height:34px}.portfolio-page>.referral-panel{margin-top:3px}@media (width>=900px){.portfolio-page .referral-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}}@media (width<=760px){.portfolio-page>.referral-panel{margin-top:6px}.referral-link-row button,.referral-count-error button{min-height:44px}}.block-timeline.slot-timeline{display:block;overflow:hidden}.slot-timeline-caption{color:var(--muted);margin-bottom:6px;font-size:10px}.slot-timeline .block-viewport{scrollbar-width:none;overflow:auto hidden}.slot-timeline .block-viewport::-webkit-scrollbar{display:none}.slot-timeline .block-track{gap:8px;width:100%;display:flex}.slot-timeline .block-card{box-sizing:border-box;min-width:0;color:var(--ink);flex:0 0 clamp(150px,20% - 6.4px,210px);text-decoration:none;display:block}.slot-timeline a.block-card:hover{border-color:var(--muted);background:var(--raised)}.slot-timeline a.block-card:focus-visible{background:var(--raised)}.block-explorer{color:var(--brown);align-items:center;gap:4px;margin-top:4px;font-size:10px;display:flex}.slot-timeline .block-card:last-child{background:var(--raised);border-color:var(--muted)}.slot-timeline .block-label{flex-wrap:wrap}.block-confirmation{background:var(--muted);opacity:.4;border-radius:var(--radius-track);height:3px;margin:16px 0}.trade-share-dialog{width:min(880px,100vw - 32px);padding:20px}.trade-share-dialog .dialog-header{gap:20px;margin-bottom:16px}.trade-share-dialog .dialog-header h2{letter-spacing:-.02em;font-size:24px}.trade-share-dialog .trade-share-amount{cursor:pointer;border-radius:var(--radius-control);justify-content:space-between;align-items:center;gap:8px;min-height:40px;margin:0 0 4px;font-size:12px;line-height:1.4;display:flex}.trade-share-amount:focus-within{background:var(--hover-surface);color:var(--ink)}.trade-share-dialog .trade-share-amount input{appearance:none;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--input-surface);cursor:pointer;flex:0 0 38px;width:38px;height:24px;margin:0;padding:0;position:relative}.trade-share-amount input:before{content:"";background:var(--muted);border-radius:50%;width:16px;height:16px;position:absolute;inset-block-start:3px;inset-inline-start:3px}.trade-share-dialog .trade-share-amount input:checked{background:var(--brown);border-color:var(--brown)}.trade-share-amount input:checked:before{background:var(--on-action);inset-inline-start:17px}.trade-share-image-row,.trade-share-referral{grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:20px;display:grid}.trade-share-preview{aspect-ratio:5/3;background:var(--panel);border-radius:6px;place-items:center;display:grid;overflow:hidden}.trade-share-preview img{width:100%;height:auto;display:block}.trade-share-actions{flex-direction:column;align-items:stretch;gap:12px;display:flex}.trade-share-actions>a,.trade-share-actions>button,.trade-share-referral>button{justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:13px;display:flex}.trade-share-actions>a{color:var(--muted);border-radius:var(--radius-control);text-decoration:none}.trade-share-actions>a:hover,.trade-share-actions>a:focus-visible{background:var(--hover-surface);color:var(--ink)}.trade-share-dialog .trade-share-actions>.primary{background:var(--brown);color:var(--on-action);margin:0;font-weight:650}.trade-share-dialog .trade-share-actions>.primary:hover{background:var(--brown);color:var(--on-action);filter:brightness(1.05)}.trade-share-dialog svg{flex-shrink:0;margin:0}.trade-share-referral{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.trade-share-dialog .trade-share-url{background:var(--panel);min-width:0;color:var(--ink);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;text-align:left;border-radius:20px;margin:0;padding:16px 20px;font-size:15px;line-height:1.5}.trade-share-notice{color:var(--ink);background:var(--panel);border-radius:var(--radius-control);margin:20px 0 0;padding:10px 12px}@media (width<=600px){.trade-share-dialog{width:calc(100vw - 24px);padding:16px}.trade-share-dialog .dialog-header{grid-template-columns:1fr auto;gap:4px 12px;margin-bottom:16px;display:grid}.trade-share-dialog .dialog-header h2{font-size:22px}.trade-share-dialog .dialog-header>button{grid-area:1/2}.trade-share-dialog .trade-share-amount{text-align:center;flex-direction:column;justify-content:center;gap:6px;margin:0;padding:4px 0;font-size:11px}.trade-share-dialog .trade-share-amount input{flex-basis:auto}.trade-share-dialog .trade-share-amount span{display:block}.trade-share-image-row,.trade-share-referral{grid-template-columns:minmax(0,1fr) 44px;gap:12px}.trade-share-image-row{grid-template-columns:minmax(0,1fr) 84px}.trade-share-actions{gap:8px}.trade-share-actions>a,.trade-share-actions>button,.trade-share-referral>button{min-width:44px;min-height:44px;padding:0}.trade-share-actions span,.trade-share-referral>button span{display:none}.trade-share-referral{margin-top:20px;padding-top:20px}.trade-share-dialog .trade-share-url{padding:14px 16px;font-size:12px}}.leaderboard-page .leader-ledger{min-height:calc(100dvh - 92px);padding:16px 20px}.leader-title{align-items:start;gap:16px;margin-bottom:13px;display:flex}.leader-title h1{letter-spacing:-.025em;margin:0;font-size:20px;font-weight:600}.leader-title p{color:var(--muted);margin:3px 0 0;font-size:11px}.leader-username{white-space:nowrap;margin-inline-start:auto;font-size:11px}.ledger-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:9px;padding-bottom:9px;display:flex}.ledger-ranges,.ledger-modes{background:var(--input-surface);border-radius:var(--radius-control);align-items:center;gap:2px;padding:2px;display:flex}.ledger-ranges button,.ledger-modes button{border-radius:var(--radius-control);min-height:29px;color:var(--muted);background:0 0;border:0;padding:4px 9px;font-size:11px}.ledger-ranges button[aria-pressed=true],.ledger-modes button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink);font-weight:600}.ledger-toolbar>input{width:min(260px,32%);min-height:32px;margin-inline-start:auto;font-size:12px}.ledger-summary{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;font-size:11px;display:flex}.ledger-summary strong{color:var(--ink);font-weight:600}.ledger-scope{margin-inline-start:auto}.ledger-scroll{max-width:100%;overflow-x:auto}.ledger-table{table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:870px;font-size:12px}.ledger-table th,.ledger-table td{border-bottom:1px solid var(--line);text-align:start;white-space:nowrap;background:0 0;height:36px;padding:5px 8px}.ledger-table th{background:var(--input-surface);height:33px;color:var(--muted);font-size:10px;font-weight:500}.ledger-table .ledger-number{text-align:end}.ledger-table th:first-child,.ledger-table td:first-child{width:22%;padding-inline-start:11px}.ledger-table th:last-child,.ledger-table td:last-child{padding-inline-end:11px}.ledger-table .address-link{color:var(--ink);text-align:start;background:0 0;border:0;padding:0;font-size:12px;font-weight:600}.ledger-table .address-link:hover{text-underline-offset:3px;text-decoration:underline}.ledger-account-row:hover,.leader-account-row:hover,.leader-trade-row:hover{background:var(--row-surface)}.ledger-account-row td:first-child,.leader-account-row td:first-child{align-items:center;gap:9px;display:flex}.ledger-account-row td:first-child small,.leader-account-row td:first-child small{display:none}.ledger-rank-number{min-width:20px;color:var(--muted);font-size:10px}.ledger-table .ledger-profit,.ledger-table .ledger-pnl{font-weight:650}.ledger-table .selected-column{background:var(--selected-surface)}.leader-sort{width:100%;color:inherit;font:inherit;text-align:inherit;white-space:normal;background:0 0;border:0;padding:3px 0}.leader-sort:not(:disabled):hover{color:var(--ink)}.leader-sort:disabled{opacity:.55;cursor:default}.ledger-trade-detail{color:var(--ink);background:0 0;border:0;align-items:center;gap:4px;padding:0;font-weight:600;display:inline-flex}.ledger-trade-detail svg{width:11px;height:11px}.ledger-trade-detail[aria-expanded=true] svg{transform:rotate(180deg)}.ledger-trades td:nth-child(2) small{color:var(--muted);font-size:10px;display:block}.ledger-table .leader-receipt>td{background:var(--raised);height:auto;padding:0}.leader-receipt section{border-bottom:1px solid var(--line);padding:12px 18px}.leader-receipt dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.leader-receipt dt{color:var(--muted);font-size:10px}.leader-receipt dd{margin:3px 0 0;font-size:11px;font-weight:600}.ledger-receipt-footer{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;font-size:11px;display:flex}.ledger-receipt-footer a{margin-inline-start:auto}.ledger-receipt-footer a,.ledger-receipt-footer .share-link{color:var(--ink);text-underline-offset:3px;font-size:11px;text-decoration:underline}.ledger-receipt-footer .share-link{background:0 0;border:0;padding:3px}.ledger-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;font-size:11px;display:flex}.ledger-footer .pager{gap:10px;margin:0;padding:0}.ledger-mobile-sort{display:none}@media (width<=1000px){.leaderboard-page .leader-ledger{padding:13px 12px}.ledger-table{min-width:820px}.ledger-scope{margin-inline-start:0}}@media (width<=760px){.leader-title{align-items:flex-start}.leader-title h1{font-size:19px}.leader-title p{max-width:32ch}.ledger-toolbar{gap:7px}.ledger-ranges button,.ledger-modes button{min-height:34px;padding-inline:7px}.ledger-toolbar>input{order:3;width:100%;min-height:40px;margin:0;font-size:16px}.ledger-mobile-sort{scrollbar-width:thin;gap:4px;padding:8px 0;display:flex;overflow-x:auto}.ledger-mobile-sort button{border-radius:var(--radius-control);background:var(--input-surface);min-height:32px;color:var(--muted);border:0;flex:none;padding:5px 7px;font-size:10px}.ledger-mobile-sort button[aria-pressed=true]{background:var(--selected-surface);color:var(--ink);font-weight:600}.ledger-mobile-sort button:disabled{opacity:.5}.ledger-scroll{overflow:visible}.ledger-table,.ledger-table tbody,.ledger-table tr{width:100%;min-width:0;display:block}.ledger-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.ledger-table tr.leader-account-row,.ledger-table tr.leader-trade-row{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;padding:9px 10px;display:grid}.ledger-table tr.leader-account-row td,.ledger-table tr.leader-trade-row td{text-align:start;white-space:normal;overflow-wrap:anywhere;border:0;width:auto;min-width:0;height:auto;padding:0;font-size:12px;display:block}.ledger-table tr.leader-account-row td:first-child,.ledger-table tr.leader-trade-row td:first-child{grid-column:1/-1;align-items:baseline;gap:8px;font-size:13px;display:flex}.ledger-table tr.leader-account-row td:first-child small{color:var(--muted);font-size:10px;display:inline}.ledger-table tr.leader-account-row td:not(:first-child):before,.ledger-table tr.leader-trade-row td:not(:first-child):before{content:attr(data-label);color:var(--muted);margin-bottom:2px;font-size:10px;font-weight:400;display:block}.ledger-table tr.leader-trade-row td:nth-child(2){grid-column:1/-1}.ledger-table tr.leader-trade-row td:nth-child(2) small{margin-inline-start:6px;display:inline}.ledger-table .leader-receipt{display:block}.ledger-table .leader-receipt>td{width:100%;padding:0;display:block}.leader-receipt section{padding:11px}.leader-receipt dl{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-receipt-footer a{margin-inline-start:0}.ledger-footer{flex-wrap:wrap}.ledger-footer .pager{margin-inline-start:auto}}.account-menu>.menu-content{background:var(--raised);width:320px;max-width:calc(100vw - 16px);padding:6px}.account-menu>.menu-content>.account-action{text-align:start;white-space:normal;border-radius:var(--radius-control);letter-spacing:normal;text-transform:none;width:100%;min-height:40px;color:var(--ink);background:0 0;border:0;padding:10px 12px;font-size:13px;font-weight:500;line-height:1.5;display:block}.account-menu>.menu-content>.wallet-address{border-bottom:1px solid var(--line);border-radius:0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;padding-bottom:14px;display:flex}.account-menu>.menu-content>.account-action:hover{background:var(--hover-surface)}.account-menu>.menu-content>.account-disconnect{border-top:1px solid var(--line);border-radius:0;margin-top:6px;padding-top:14px}.account-username{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 6px;display:flex}.account-username-value{gap:2px;min-width:0;font-size:11px;display:grid}.account-username strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:600}.account-username>button{border:1px solid var(--line);border-radius:var(--radius-control);white-space:normal;background:var(--control-surface);max-width:60%;min-height:32px;padding:6px 8px;font-size:11px;font-weight:500}.account-username form{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;width:100%;display:grid}.account-username input{width:100%;min-width:0}.account-username form button{border:1px solid var(--line);border-radius:var(--radius-control);padding:6px 9px}.account-username form p{grid-column:1/-1;margin:0;font-size:11px;line-height:1.5}.wallet-state{background:var(--orange);border-radius:50%;width:7px;height:7px;display:inline-block}.wallet-state.active{background:var(--green)}.pair-dialog{width:380px}.pair-dialog p{line-height:1.6}.pair-qr{background:var(--qr-surface);width:240px;max-width:100%;margin:16px auto;display:block}.pair-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.pair-actions button{flex:1;padding:9px 12px}.pair-expiry{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.pair-account{overflow-wrap:anywhere;margin:12px 0;display:block}@media (width<=760px){.account-username{gap:8px}.account-username input{font-size:16px}.account-username>button,.account-username form button,.account-menu>.menu-content>.account-action{min-height:44px}}.notification-stack .close-receipt{pointer-events:auto;padding:14px 12px 12px 16px}.close-receipt .notification-content{display:block}.receipt-heading{align-items:center;min-height:24px;display:flex}.receipt-heading strong{font-size:12px}.close-receipt p{margin:0}.receipt-progress{color:var(--muted);font-size:12px;margin-block:6px!important}.receipt-progress p+p{margin-block-start:8px}.receipt-result{transform-origin:top;animation:.45s cubic-bezier(.16,1,.3,1) both receipt-unfold}.receipt-subtotal{color:var(--muted);font-size:11px;margin-block:8px!important}.receipt-pnl,.receipt-reward{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.receipt-pnl{margin-block:12px 14px}.receipt-pnl>span,.receipt-reward>span{color:var(--muted);font-size:12px}.receipt-pnl>div,.receipt-reward>div{text-align:end;font-variant-numeric:tabular-nums}.receipt-pnl strong{letter-spacing:-.025em;font-size:25px;font-weight:650;line-height:1.15}.receipt-pnl small,.receipt-reward small{margin-block-start:3px;font-size:11px;display:block}.receipt-pnl .digit-wheel{transition-duration:.28s}.receipt-reward{border-block:1px dashed var(--line);padding-block:11px}.receipt-reward strong{font-size:18px;font-weight:650}.receipt-reward small{color:var(--muted)}.receipt-reward.earned>div{color:var(--orange);animation:.15s cubic-bezier(.16,1,.3,1) .3s both receipt-stamp}.receipt-details{margin-block-start:10px;font-size:11px}.receipt-details summary{cursor:pointer;color:var(--muted);width:fit-content;padding-block:4px}.receipt-details dl{margin-block:8px}.receipt-details dl>div{justify-content:space-between;gap:12px;margin-block:5px;display:flex}.receipt-details dt{color:var(--muted)}.receipt-details dd{font-variant-numeric:tabular-nums;margin:0}.receipt-details p{color:var(--muted);line-height:1.5}.close-receipt .receipt-text-button{text-underline-offset:3px;min-height:24px;color:var(--ink);font-size:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.receipt-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-block-start:12px;font-size:11px;display:flex}.receipt-actions a{align-items:center;gap:4px;display:inline-flex}.receipt-breakdown{border-block-start:1px solid var(--line);margin-block:10px 0;padding:0;list-style:none}.receipt-breakdown li{grid-template-columns:1fr auto;gap:4px 12px;padding-block:9px;display:grid}.receipt-breakdown li+li{border-block-start:1px solid var(--line)}.receipt-breakdown li>:nth-child(n+3){color:var(--muted);font-size:10px}.receipt-breakdown li a{justify-self:end}@keyframes receipt-unfold{0%{opacity:.6;clip-path:inset(0 0 75%);transform:translateY(-6px)}to{opacity:1;clip-path:inset(0);transform:translateY(0)}}@keyframes receipt-stamp{0%{opacity:0;transform:scale(1.06)rotate(-2deg)}to{opacity:1;transform:scale(1)rotate(0)}}@media (prefers-reduced-motion:reduce){.receipt-result,.receipt-reward.earned>div{animation:none}}@media (width<=760px){.notification-stack .close-receipt{padding:12px}.receipt-pnl strong{font-size:23px}.receipt-details summary{min-height:32px;padding-block:8px}.receipt-actions>button,.receipt-actions>a{min-height:44px}}:root{--cardboard:#eee8de;--panel:#fcf8f0;--raised:#f0e9dd;--ink:#302a21;--top-edge:var(--ink);--muted:#655a48;--line:#d5c7b3;--brown:#80552e;--green:#356e4b;--red:#a74a3c;--orange:#a55230;--reward:#c25b1f;--heat:#dfc851;--liquidation-low:#c5d3d6;--liquidation-mid:#8faaa3;--liquidation-high:#c58f6a;--input-surface:#e9e1d4;--control-surface:#f0e9dd;--selected-surface:#efe0c7;--on-action:#f5ead6;--info:#3f7899;--qr-surface:white;--receipt-paper:#f5ead6;--receipt-tape:#d9c5a0;--radius-input:5px;--radius-control:5px;--radius-inner:3px;--radius-menu:6px;--radius-panel:5px;--radius-dialog:12px;--radius-track:2px;--radius-pill:999px;--radius:var(--radius-panel);--hover-surface:color-mix(in srgb, var(--ink) 6%, var(--control-surface));--positive-surface:color-mix(in srgb, var(--green) 13%, var(--panel));--negative-surface:color-mix(in srgb, var(--red) 10%, var(--panel));--selection-surface:color-mix(in srgb, var(--brown) 28%, var(--panel));--inset-shadow:none;--pressed-shadow:none;--shadow-color:color-mix(in srgb, var(--ink) 18%, transparent);--shadow-soft:0 1px 3px var(--shadow-color);--shadow-popover:0 12px 24px var(--shadow-color);--shadow-tooltip:0 8px 22px var(--shadow-color);--shadow-toast:0 6px 18px var(--shadow-color);--shadow-dialog:0 12px 45px var(--shadow-color);--backdrop:color-mix(in srgb, var(--ink) 40%, transparent);--chart-surface:var(--panel);--chart-ink:var(--ink);--chart-muted:var(--muted);--chart-grid:var(--line);--chart-price:var(--ink);--chart-font:ui-monospace, SFMono-Regular, Consolas, monospace;--chart-symbol:var(--line);--chart-shadow:color-mix(in srgb, var(--ink) 12%, transparent);--row-surface:color-mix(in srgb, var(--brown) 5%, var(--panel));--rank-gold-surface:color-mix(in srgb, var(--heat) 28%, var(--panel));--rank-gold-line:color-mix(in srgb, var(--brown) 55%, var(--heat));--rank-silver-surface:color-mix(in srgb, var(--muted) 10%, var(--raised));--rank-silver-line:color-mix(in srgb, var(--muted) 65%, var(--line));--rank-bronze-surface:color-mix(in srgb, var(--orange) 16%, var(--panel));--rank-bronze-line:color-mix(in srgb, var(--orange) 65%, var(--line));--chart-btc:#1c7895;--chart-eth:#7055a5;--chart-sol:#8d701b;--chart-teal:#207d6e;--chart-pink:#9a4264;--focus-ring:none}:root[data-theme=dark]{--chart-btc:#71c7e4;--chart-eth:#b8a0e8;--chart-sol:#dfc15e;--chart-teal:#45b9a7;--chart-pink:#cc7f9d;--cardboard:#181b18;--panel:#232822;--raised:#2b3029;--ink:#f0eddf;--top-edge:var(--cardboard);--muted:#bdc0ab;--line:#49503f;--brown:#d8aa76;--green:#a1c99a;--red:#e6a392;--orange:#d6a074;--reward:#dfa46a;--heat:#c7aa63;--liquidation-low:#344650;--liquidation-mid:#49655f;--liquidation-high:#946745;--input-surface:#181e18;--control-surface:#2b3029;--selected-surface:#463b2a;--on-action:#261e11;--info:#87b3cc;--receipt-paper:#403329;--receipt-tape:#5a4630;--shadow-color:color-mix(in srgb, var(--cardboard) 65%, transparent);--inset-shadow:none}.stat.payout-factor{align-items:center}.stat.payout-factor-neutral{display:block}.payout-factor-neutral>.payout-factor-controls{justify-content:space-between}.payout-factor-controls{align-items:center;gap:10px;display:flex}.payout-factor-controls>strong{min-width:6ch}@font-face{font-family:Inter;src:url(/fonts/inter-latin.woff2)format("woff2");font-weight:100 700;font-style:normal;font-display:swap}:root{font-variant-numeric:tabular-nums;color:var(--ink);background:var(--cardboard);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font:13px/1.5 Inter,system-ui,-apple-system,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{border-top:3px solid var(--top-edge);margin:0}button,input,summary{font:inherit;color:inherit}button{background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-control);cursor:pointer;padding:6px 10px;transition:background .12s,color .12s}button:disabled{opacity:.45;cursor:not-allowed}input{background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-input);min-width:0;caret-color:var(--brown);width:100%;padding:5px 9px}input[type=checkbox]{width:16px;accent-color:var(--green)}a{color:inherit;text-underline-offset:3px}:focus,:focus-visible{outline:none}:focus-visible{filter:brightness(.92)}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}::-webkit-scrollbar{width:6px;height:7px}::-webkit-scrollbar-thumb{background:var(--line);border-radius:var(--radius-menu)}::-webkit-scrollbar-thumb:hover{background:var(--muted)}.positive{color:var(--green)}.negative{color:var(--red)}.primary{background:var(--brown);border-color:var(--brown);width:100%;color:var(--raised);padding:9px 12px;font-size:13px;font-weight:600}.primary:hover{filter:brightness(.93);background:var(--brown)}.primary.green{background:var(--green);border-color:var(--green)}.primary.red{background:var(--red);border-color:var(--red)}.toolbar-spacer{flex:1}.field-error{color:var(--red);font-size:12px;line-height:1.6}.panel{background:var(--panel);border-radius:var(--radius);min-width:0;padding:12px 14px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.panel-heading>span{color:var(--muted);font-size:10px}.panel h2,.chart-head h2{letter-spacing:.045em;text-transform:uppercase;margin:0;font-size:11px;font-weight:700}.subheading{margin:24px 0 4px!important}.stat{color:var(--muted);justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;line-height:1.9;display:flex}.stat strong{color:var(--ink);text-align:right;white-space:nowrap;font-weight:400}.stat [title]{text-underline-offset:3px;cursor:help;-webkit-text-decoration:underline dashed;text-decoration:underline dashed}.big-value{letter-spacing:-.035em;margin:10px 0 15px;font-size:28px;font-weight:700;line-height:1.2}.empty{text-align:center;color:var(--muted);padding:28px 16px;font-size:11px}.sort-arrow{color:var(--muted);padding-left:5px}header{border-bottom:1px solid var(--line);background:var(--cardboard);z-index:50;align-items:center;gap:16px;height:44px;padding:0 20px;display:flex;position:relative}.wordmark{letter-spacing:-.045em;flex:0 0 99px;font-size:20px;font-weight:500;line-height:1;text-decoration:none;display:block}nav{flex:1;align-items:center;gap:0;min-width:0;height:100%;display:flex}nav>a,nav>.menu>summary{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:4px;height:27px;padding:5px 12px;font-size:12px;font-weight:600;text-decoration:none;display:flex}nav>a.active,nav>.menu.active>summary{color:var(--ink);border-bottom-color:var(--ink)}.wallet-actions{align-items:center;gap:10px;display:flex}.wallet-actions>button,.wallet-actions>.menu>summary{color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:6px 12px;font-size:12px;font-weight:600}.menu{flex-shrink:0;position:relative}.menu>summary{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;justify-content:center;align-items:center;gap:5px;list-style:none;display:flex}.menu>summary::-webkit-details-marker{display:none}.menu[open]>summary>svg:last-child{transform:rotate(180deg)}.menu-content{background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);min-width:170px;max-width:calc(100vw - 24px);box-shadow:var(--shadow-popover);z-index:100;padding:5px;position:absolute;top:calc(100% + 5px);left:0}.menu:not([open])>.menu-content{display:none}.menu-content>button,.menu-content>a{text-align:left;border-radius:var(--radius-input);white-space:nowrap;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:8px 10px;font-size:12px;text-decoration:none;display:flex}.menu-content>button:hover,.menu-content>a:hover{background:color-mix(in srgb,var(--ink) 6%,var(--raised))}.menu-content>code{word-break:break-all;max-width:260px;padding:8px;display:block}.wallet-actions .menu-content{left:auto;right:0}.mobile-leaderboard{display:none!important}.transaction code{color:var(--muted)}.trade-page{flex-direction:column;min-height:calc(100dvh - 47px);padding:3px;display:flex}.trading-grid{grid-template-columns:minmax(0,1fr) 260px;gap:3px;height:62vh;min-height:350px;display:grid}.chart-panel{background:var(--panel);border-radius:var(--radius-panel);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:visible}.market-toolbar{z-index:5;pointer-events:none;align-items:center;gap:14px;display:flex;position:absolute;top:8px;left:10px;right:10px}.market-toolbar>*{pointer-events:auto}.market-price{border-left:1px solid var(--line);padding-left:8px}.coin{width:23px;height:28px;color:var(--ink);vertical-align:middle;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.coin svg{opacity:.7;width:28px;height:28px}.chart-control-group{background:color-mix(in srgb,var(--cardboard) 75%,transparent);border:1px solid var(--line);border-radius:var(--radius-control);align-items:center;height:36px;display:flex}.market-stat{border-right:1px solid var(--line);white-space:nowrap;align-items:center;gap:5px;padding:8px 10px;font-size:12px;display:flex}.market-stat>span:first-child{letter-spacing:.1em;color:var(--muted);font-size:8px}.chart-control-group>.menu>summary{padding:8px 10px;font-size:11px}.live{color:var(--green);border:1px solid var(--line);background:var(--raised);border-radius:0 var(--radius-input) var(--radius-input) 0;white-space:nowrap;padding:6px 8px;font-size:11px;font-weight:600}.chart-control-group>.live{border:0;border-left:1px solid var(--line);padding:8px}.chart{touch-action:pan-y;border-radius:var(--radius-panel);height:100%;min-height:0;position:relative;overflow:hidden}.chart svg,.plot svg{width:100%;height:100%;display:block}.chart text,.plot text,.curve-panel text,.heatmap text,.topology text{fill:var(--muted);font:10px Inter,sans-serif}.gridline{stroke:var(--line);stroke-width:1px;stroke-dasharray:3 5;opacity:.6}.axis{stroke:var(--line);stroke-width:1px}.price-line{fill:none;stroke:var(--ink);stroke-width:2px;vector-effect:non-scaling-stroke}.last-price{fill:var(--ink)}.mark-line{stroke:var(--green);stroke-dasharray:2 3;stroke-width:1px;opacity:.5}.price-tag{fill:var(--green)}.chart .price-tag-text{fill:var(--raised);font-size:9px}.crosshair line,.plot-cursor line,.heatmap-cursor>line{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3;opacity:.6}.chart-tooltip{z-index:7;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-input);pointer-events:none;padding:4px 8px;font-size:10px;position:absolute;top:54px;left:10px}.plot .chart-tooltip{top:12px}.chart-empty{text-align:center;color:var(--muted);font-size:11px;position:absolute;top:53%;left:10%;right:15%}.chart-reset{font-size:10px;position:absolute;bottom:34px;right:78px}.candle-up{fill:var(--green);stroke:var(--green)}.candle-down{fill:var(--red);stroke:var(--red)}.entry-marker line{stroke:var(--green);stroke-dasharray:4 4}.bust-marker line{stroke:var(--red);stroke-dasharray:4 4}.entry-marker text{fill:var(--green)}.bust-marker text{fill:var(--red)}.ticket-column{flex-direction:column;gap:3px;min-width:0;min-height:0;display:flex}.ticket{background:var(--panel);border-radius:var(--radius-panel);flex-direction:column;flex:1;min-height:0;padding:10px 14px;display:flex;overflow:hidden}.ticket-fields{scrollbar-gutter:stable;flex:1;min-height:0;margin-inline-end:-8px;padding-inline-end:8px;overflow:auto}.ticket-actions{flex-shrink:0;padding-top:8px}.account-summary{background:var(--cardboard);border-radius:var(--radius-panel);margin-bottom:10px;padding:7px 10px}.account-summary .stat{font-size:11px;line-height:1.65}.direction{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--raised);margin-bottom:11px;padding:2px;display:flex}.direction button{border-radius:var(--radius-inner);width:50%;color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;gap:3px;padding:5px 8px;font-size:12px;font-weight:700;display:flex}.direction .selected.positive{background:color-mix(in srgb,var(--green) 15%,var(--raised));color:var(--green)}.direction .selected.negative{background:color-mix(in srgb,var(--red) 15%,var(--raised));color:var(--red)}.ticket-fields>.stat{font-size:11px}.collateral{align-items:center;gap:5px;margin:7px 0;display:flex}.collateral button{padding:3px 8px;font-size:10px}.collateral>span{color:var(--muted);margin-left:auto;font-size:10px}.ticket-fields>label{letter-spacing:.045em;text-align:right;color:var(--muted);margin:8px 0 3px;font-size:10px;font-weight:600;display:block}.margin-row,.leverage-row{flex-direction:column;gap:4px;display:flex}.margin-row input,.leverage-row input{text-align:right;min-width:0;height:30px;padding:4px 9px;font-size:12px}.ticket-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;display:grid}.ticket-shortcuts>button{white-space:nowrap;height:26px;padding:3px 4px;font-size:11px;font-weight:500}.leverage-row{margin-bottom:9px}.ticket-fields>label[for=leverage]{margin-top:11px}.ticket input[type=range]{appearance:none;background:linear-gradient(90deg,var(--green),var(--muted),var(--red));border-radius:var(--radius-input);cursor:pointer;touch-action:pan-y;border:0;width:100%;height:4px;margin:0;padding:0;display:block}.ticket input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--raised);border:2px solid var(--ink);width:14px;height:14px;box-shadow:var(--shadow-soft);border-radius:50%}.ticket input[type=range]::-moz-range-thumb{background:var(--raised);border:2px solid var(--ink);border-radius:50%;width:11px;height:11px}.range-labels{color:var(--muted);justify-content:space-between;margin-top:6px;font-size:10px;display:flex}.order-details{margin:10px 0 8px}.order-details .stat{font-size:11px;line-height:1.65}.order-details .stat strong{font-weight:600}.order-details .rolling-value{opacity:1}.order-details .rolling-visual{display:none}.session-button{width:100%;color:var(--muted);background:0 0;border:0;padding:9px 0;font-size:10px}.position-count{background:var(--panel);border-radius:var(--radius-panel);letter-spacing:.035em;height:30px;color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:4px 12px;font-size:11px;display:flex}.position-count button{padding:3px 9px;font-size:10px}.trade-action-bar{background:var(--panel);border-radius:var(--radius-panel);height:39px;margin-top:3px;display:flex;overflow:hidden}.tabbar{align-items:center;gap:0;min-width:0;height:39px;padding:0 14px;display:flex}.tabbar>button{height:100%;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:0 14px;font-size:11px;font-weight:600}.tabbar>button.active{border-bottom-color:var(--ink);color:var(--ink)}.trade-action-bar .trade-ticker{flex:1;min-width:0;height:39px;margin:0}.trade-ticker{background:var(--panel);border-radius:var(--radius-panel);align-items:center;height:41px;margin:0 3px;display:flex;position:relative;overflow:hidden}.ticker-items{flex:0 0 max-content;white-space:nowrap;align-items:center;gap:35px;display:flex;position:relative}.ticker-items>a{background:var(--panel);border:1px solid color-mix(in srgb,currentColor 20%,var(--line));border-radius:var(--radius-control);box-shadow:0 1px 7px color-mix(in srgb,currentColor 15%,transparent);align-items:center;gap:7px;padding:1px 8px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.ticker-items>a:hover,.ticker-items>a:focus-visible{z-index:2}.ticker-items .coin{color:var(--line)}.ticker-liq{border-radius:var(--radius-inner);background:var(--red);color:var(--on-action);letter-spacing:.02em;padding:1px 4px;font-size:10px;line-height:1.3}.ticker-detail{z-index:100;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);width:min(296px,100vw - 16px);box-shadow:var(--shadow-tooltip);pointer-events:none;padding:12px 14px;font-size:13px;position:fixed}.ticker-detail-head,.ticker-detail dl>div{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.ticker-detail-head{margin-bottom:12px}.ticker-detail-head strong{border-radius:var(--radius-control);background:color-mix(in srgb,currentColor 13%,var(--raised));letter-spacing:.04em;padding:2px 7px;font-size:11px}.ticker-detail-head b{font-size:14px}.ticker-detail dl{gap:7px;margin:0;display:grid}.ticker-detail dt{color:var(--muted);letter-spacing:.08em;font-size:11px;font-weight:700}.ticker-detail dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.positions{background:var(--panel);border-radius:var(--radius-panel);flex:1;min-height:160px;margin-top:3px;padding:0 14px}.positions>.empty{padding-top:16px}.position-list{flex-direction:column;min-height:160px;display:flex}.table-scroll{min-width:0;max-width:100%;overflow:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:12px}th{background:var(--cardboard);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);padding:7px 10px;font-size:10px;font-weight:500}td{border-bottom:1px solid var(--line);padding:9px 10px}th button{font:inherit;text-transform:inherit;letter-spacing:inherit;background:0 0;border:0;padding:0}.position-table td:first-child{position:relative}.position-table .coin{margin-right:8px}.position-table td small{color:var(--muted);font-size:10px;display:block}.position-table td button{padding:5px 12px;font-size:11px}.position-table td.positive,.position-table td.negative{font-weight:600}.winning-row{background:var(--row-surface)}.losing-row{background:color-mix(in srgb,var(--red) 4%,var(--panel))}.pager{color:var(--muted);justify-content:center;align-items:center;gap:24px;margin-top:auto;padding:12px;font-size:11px;display:flex}.pager button{color:var(--muted);background:0 0;border:0;padding:2px 4px}.outcome{background:var(--cardboard);border-radius:var(--radius-inner);padding:2px 5px;font-size:9px;font-weight:700;display:inline-block}.status-content{overflow-wrap:anywhere;padding:24px}.status-content code{white-space:normal;margin:12px 0;display:block}.analytics-page{min-height:calc(100dvh - 88px);padding:3px}.overview-grid{grid-template-columns:260px 260px minmax(0,1fr);gap:3px;display:grid}.overview-stack{flex-direction:column;gap:3px;display:flex}.overview-stack>.panel{flex:1}.overview-chart{min-height:260px}.overview-grid>.house-stats{flex-direction:column;display:flex}.card-bottom{margin-top:auto;padding-top:30px}.oi-table{margin-top:14px;font-size:11px}.oi-table th,.oi-table td{text-align:right;letter-spacing:0;background:0 0;border:0;padding:3px 0}.oi-table td:first-child{text-align:left}.oi-table th:first-child{font-size:0}.chart-card{flex-direction:column;min-width:0;height:280px;padding:0;display:flex;position:relative;overflow:visible}.chart-head{z-index:4;pointer-events:none;align-items:center;gap:0;display:flex;position:absolute;top:10px;left:10px;right:10px}.chart-head>*{pointer-events:auto}.chart-head h2{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;margin-right:10px;font-size:11px;font-weight:700}.chart-head>.menu>summary,.selector-label{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--raised);height:28px;padding:5px 8px;font-size:11px}.chart-head>.live{height:28px;padding:5px 8px}.chart-head>strong{margin-right:8px}.chart-legend{z-index:2;pointer-events:none;gap:15px;font-size:11px;font-weight:600;display:flex;position:absolute;top:42px;left:14px}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{width:10px;height:2px}.plot{border-radius:var(--radius-panel);flex:1;height:100%;min-height:150px;position:relative;overflow:hidden}.plot svg text{font-size:9px}.plot-line{fill:none;stroke:currentColor;stroke-width:1.8px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px var(--chart-shadow))}.plot-area{fill:currentColor;opacity:.075}.cursor-label rect{fill:var(--ink)}.cursor-label text{font-weight:700;fill:var(--raised)!important;font-size:9px!important}.heatmap-tooltip{z-index:8;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);box-shadow:var(--shadow-tooltip);pointer-events:none;white-space:nowrap;grid-template-columns:auto auto;gap:6px 14px;min-width:200px;padding:10px 12px;font-size:10px;display:grid;position:absolute}.heatmap-tooltip span{color:var(--muted);letter-spacing:.05em;font-weight:700}.heatmap-tooltip strong{text-align:right;font-weight:700}.plot-empty{text-align:center;color:var(--muted);font-size:11px;position:absolute;inset:45% 10% auto}.house-page .overview-grid{height:354px}.house-page .overview-chart{height:100%}.house-middle{grid-template-columns:520px minmax(0,1fr);gap:3px;margin-top:3px;display:grid}.house-exposure{position:relative}.house-exposure>.chart-card{height:350px}.house-models{grid-template-columns:1fr 1fr;gap:3px;margin-top:3px;display:grid}.topology{width:100%;height:180px}.heatmap{align-items:stretch;min-height:593px;padding:0;display:flex;position:relative}.heatmap>svg{width:100%;height:100%;min-height:530px}.heatmap-scale{color:var(--muted);align-items:center;gap:6px;margin-left:auto;font-size:9px;display:flex}.heatmap-scale i{background:linear-gradient(90deg,var(--liquidation-low),var(--liquidation-mid),var(--liquidation-high));width:80px;height:6px;display:inline-block}.heatmap .chart-head{gap:8px}.heatmap-empty{text-align:center;color:var(--muted);font-size:11px;position:absolute;top:55%;left:10%;right:10%}.queue-grid{grid-template-columns:260px 260px minmax(0,1fr);gap:3px;margin-top:3px;display:grid}.queue-entries{padding:14px}.cardboard-page{grid-template-columns:520px minmax(0,1fr);gap:3px;display:grid}.cardboard-left,.cardboard-right{flex-direction:column;gap:3px;min-width:0;display:flex}.cardboard-account-grid{grid-template-columns:1fr 1fr;gap:3px;display:grid}.cardboard-account-grid>.panel{min-height:130px}.claim-card .primary{letter-spacing:.04em;margin-top:9px;padding:11px;font-size:11px}.cardboard-account-grid .stat{font-size:11px}.stake-form{flex-direction:column;justify-content:center;min-height:200px;display:flex}.stake-form label{letter-spacing:.05em;margin-bottom:8px;font-size:10px;font-weight:600}.stake-input{gap:4px;display:flex}.stake-input>button{white-space:nowrap;flex-shrink:0}.stake-input input{font-size:16px}.staking-actions{gap:8px;margin-top:10px;display:flex}.staking-actions button{flex:1;width:auto;padding:10px}.cardboard-right>.chart-card:first-child{height:240px}.curve-panel{height:333px;padding:12px 14px;overflow:hidden}.curve-panel svg:focus:not(:focus-visible),.heatmap svg:focus:not(:focus-visible){outline:none}.curve-panel svg:focus-visible,.heatmap svg:focus-visible{filter:brightness(.96)}.curve-hover>line{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3;opacity:.65}.curve-hover>circle{fill:var(--reward)}.curve-hover>rect{fill:var(--raised);stroke:var(--line);stroke-width:1px;filter:drop-shadow(0 5px 9px var(--ink)25)}.curve-hover text{fill:var(--ink);font-size:10px;font-weight:600}.curve-panel svg{width:100%;height:calc(100% - 30px);display:block}.curve-panel .panel-heading{justify-content:flex-start}.curve-threshold{stroke:var(--brown);stroke-dasharray:4 4}.curve-threshold.staker{stroke:var(--green)}.activity-table{font-size:10px}.activity-table td{padding:4px 0}.activity-table th{background:0 0;padding:5px 0}.emission-activity .stat{border-bottom:1px solid var(--line);font-size:11px}.wallet-gate{min-height:48px;color:var(--muted);align-items:center;gap:12px;padding:6px 12px;font-size:12px;display:flex}.wallet-gate code{overflow-wrap:anywhere;white-space:normal;max-width:100%}.wallet-gate button{font-size:11px;font-weight:600}.portfolio-page .overview-grid,.portfolio-page .overview-chart{height:260px}.portfolio-lower{flex-direction:column;min-height:calc(100dvh - 410px);margin-top:3px;padding:0 14px;display:flex}.portfolio-lower .position-list{flex:1}.portfolio-lower .position-list>.empty{margin-top:auto;margin-bottom:0}.portfolio-lower table{margin-top:20px}.scroll-tabs{border-bottom:1px solid var(--line);flex-shrink:0;padding:0;overflow-x:auto}.tabbar .close-all{border:1px solid var(--line);background:var(--raised);border-radius:var(--radius-input);height:auto;margin-left:auto;padding:3px 10px;font-size:10px}.kpi-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-bottom:3px;display:grid}.kpi-strip .panel{padding:5px 14px}.kpi-strip .stat>span{color:var(--ink);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:700}.kpi-strip .stat strong{font-size:18px;font-weight:600}.stats-grid{grid-template-columns:1fr 1fr;gap:3px;display:grid}.stats-grid .chart-card{height:280px}.segmented{border:1px solid var(--line);border-radius:var(--radius-control);flex-shrink:0;display:flex;overflow:hidden}.segmented button{border:0;border-right:1px solid var(--line);background:var(--cardboard);color:var(--muted);border-radius:0;padding:8px 14px;font-size:11px;font-weight:600}.segmented button:last-child{border:0}.segmented button.selected{background:color-mix(in srgb,var(--ink) 9%,var(--panel));color:var(--ink)}.status-page{grid-template-columns:minmax(320px,.72fr) minmax(520px,1.28fr);gap:3px;display:grid}.status-left{grid-template-rows:auto auto 1fr;gap:3px;display:grid}.status-hero{min-height:126px;padding:14px 16px}.status-hero h1{letter-spacing:-.035em;max-width:400px;margin:0 0 18px;font-size:28px;font-weight:700;line-height:1.08}.status-hero p{color:var(--muted);letter-spacing:.08em;font-size:10px;font-weight:600}.status-hero p strong{color:var(--ink)}.health-pill{letter-spacing:.12em;border:1px solid color-mix(in srgb,currentColor 35%,var(--line));border-radius:var(--radius-pill);background:color-mix(in srgb,currentColor 12%,var(--panel));text-align:center;min-width:100px;padding:6px 14px;font-size:10px;font-weight:700}.status-kpis{grid-template-columns:1fr;gap:3px;display:grid}.status-kpis .panel{min-height:116px}.status-kpis p{color:var(--muted);margin:0;font-size:11px;font-weight:600;line-height:1.4}.status-kpis .big-value{margin:10px 0;font-size:28px}.oracle-freshness{gap:4px;margin:0;display:grid}.oracle-freshness>div{grid-template-columns:4ch auto;gap:12px;display:grid}.oracle-freshness dd{white-space:nowrap;margin:0}.oracle-slot-count{text-align:right;font-variant-numeric:tabular-nums;min-width:3ch;display:inline-block}.service-row{background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-control);justify-content:space-between;gap:12px;min-height:34px;margin:6px 0;padding:8px 10px;font-size:11px;font-weight:600;display:flex}.service-row strong{letter-spacing:.08em;align-items:center;gap:7px;font-size:10px;display:flex}.service-row i{background:currentColor;border-radius:50%;width:7px;height:7px;display:block}.status-chain{padding:14px 16px}.block-description{color:var(--muted);max-width:75ch;margin:0 0 15px;font-size:12px;font-weight:500}.block-timeline{gap:8px;min-width:0;display:flex;overflow-x:auto}.block-card{border:1px solid var(--line);border-radius:var(--radius-panel);background:color-mix(in srgb,var(--raised) 50%,var(--panel));flex:1;min-width:130px;max-width:210px;min-height:96px;padding:8px;font-size:10px}.block-label{color:var(--muted);letter-spacing:.04em;justify-content:space-between;align-items:center;gap:5px;font-size:8px;font-weight:600;display:flex}.block-label strong{color:var(--ink);letter-spacing:0;font-size:10px}.block-card small{color:var(--muted);font-size:8px}.pending-panel{border:1px solid var(--line);border-radius:var(--radius-panel);background:color-mix(in srgb,var(--raised) 50%,transparent);margin-top:10px;overflow:hidden}.pending-panel .panel-heading{border-bottom:1px solid var(--line);margin:0;padding:8px 10px}.pending-panel table{font-size:10px}.pending-panel th{font-size:8px}.pending-panel .empty{padding:18px}.status-breakdown{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:12px;display:grid}.status-breakdown .stat{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--raised);padding:8px 10px;font-size:10px;font-weight:600}.status-breakdown strong{font-size:12px;font-weight:700}.dialog-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.dialog-header h2{margin:0;font-size:20px;font-weight:600}.dialog-header button{background:0 0;border:0;padding:4px}dialog{background:var(--raised);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-dialog);width:min(430px,100vw - 28px);box-shadow:var(--shadow-dialog);max-height:calc(100dvh - 28px);padding:22px;overflow-y:auto}dialog::backdrop{background:var(--backdrop)}dialog[open]{animation:.18s cubic-bezier(.16,1,.3,1) dialog-enter}@keyframes dialog-enter{0%{opacity:.3}to{opacity:1}}dialog p{color:var(--muted);font-size:12px;line-height:1.65}dialog label{color:var(--muted);margin:12px 0 6px;font-size:11px;display:block}dialog .primary{margin-top:12px}dialog input{padding:9px;font-size:16px}.wallet-choice{text-align:left;align-items:center;gap:12px;width:100%;margin:9px 0;padding:12px;font-weight:600;display:flex}.wallet-choice img{border-radius:var(--radius-input);width:24px;height:24px}.empty-wallet{background:var(--panel);padding:15px}.address{background:var(--panel);word-break:break-all;-webkit-user-select:all;user-select:all;margin:8px 0;padding:12px;font:11px/1.7 ui-monospace,monospace;display:block}dialog button svg{vertical-align:middle;margin-right:5px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}code{overflow-wrap:anywhere;font:11px/1.5 ui-monospace,monospace}.rolling-number{white-space:nowrap;font-variant-numeric:tabular-nums;display:inline-block;position:relative}.rolling-value{opacity:0}.rolling-visual{white-space:pre;pointer-events:none;-webkit-user-select:none;user-select:none;align-items:baseline;display:inline-flex;position:absolute;inset:0}.rolling-digit{height:1lh;display:inline-block;position:relative;overflow:clip}.digit-width{opacity:0}.digit-wheel{height:1lh;transition:transform .5s ease-out;display:grid;position:absolute;top:0;left:0}.digit-wheel>span{height:1lh;transform:translateY(calc((var(--row) - var(--digit)) * 100%));grid-area:1/1;transition:inherit;display:block}@media (width<=1200px){header{gap:8px;padding:0 12px}.wordmark{flex-basis:99px}nav>a,nav>.menu>summary{padding:5px 9px}.wallet-actions{gap:0}.wallet-actions>button,.wallet-actions>.menu>summary{padding:6px 9px}.market-toolbar{gap:8px}.chart-control-group .market-stat{padding:8px 6px}.market-stat>span:first-child{font-size:7px}.overview-grid{grid-template-columns:220px 220px minmax(0,1fr)}.house-middle,.cardboard-page{grid-template-columns:440px minmax(0,1fr)}.queue-grid{grid-template-columns:220px 220px minmax(0,1fr)}.status-page{grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)}}@media (width<=1000px){.market-toolbar{flex-wrap:wrap;row-gap:5px}.chart-control-group{height:29px}.market-stat{padding:5px 7px!important}.chart-control-group>.menu>summary,.chart-control-group>.live{padding:5px 7px}.overview-grid{grid-template-columns:190px 190px minmax(0,1fr)}.house-middle,.cardboard-page{grid-template-columns:380px minmax(0,1fr)}.queue-grid{grid-template-columns:190px 190px minmax(0,1fr)}.overview-grid .stat,.cardboard-account-grid .stat{font-size:10px}.kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){header{flex-wrap:wrap;gap:0;height:auto;min-height:92px;padding:6px 12px 0}.wordmark{flex:1;font-size:20px}.wallet-actions{gap:0;height:42px}.wallet-actions>button,.wallet-actions>.menu>summary{min-height:42px;padding:6px 7px;font-size:11px}.wallet-actions .menu-content{max-width:calc(100vw - 24px)}nav{flex-basis:100%;order:3;justify-content:space-between;width:100%;height:42px}nav>a,nav>.menu>summary{height:42px;padding:0 9px;font-size:12px}.nav-leaderboard{display:none!important}.mobile-leaderboard{display:flex!important}.nav-more .menu-content{left:auto;right:0}.trading-grid{flex-direction:column;gap:6px;height:auto;min-height:0;display:flex}.chart-panel{height:45dvh;min-height:320px}.market-toolbar{gap:6px;top:8px;left:10px;right:10px}.chart-control-group{max-width:100%;height:32px}.market-stat{font-size:10px;padding:6px!important}.market-stat>span:first-child{font-size:7px}.chart-control-group>.menu>summary,.chart-control-group>.live{padding:6px;font-size:10px}.ticket-column{gap:3px}.ticket{padding:14px 16px}.account-summary{padding:10px 12px}.account-summary .stat{font-size:12px;line-height:1.8}.direction button{min-height:40px;font-size:14px}.ticket-fields>.stat{font-size:12px}.ticket-fields>label{margin:12px 0 5px;font-size:11px}.margin-row input,.leverage-row input{height:40px;font-size:16px}.ticket-shortcuts>button{height:40px;padding:6px;font-size:12px}.ticket input[type=range]{height:6px;margin:15px 0 0;padding:0}.ticket input[type=range]::-webkit-slider-thumb{width:24px;height:24px}.ticket input[type=range]::-moz-range-thumb{width:21px;height:21px}.range-labels{margin-top:12px;font-size:11px}.order-details .stat{font-size:12px;line-height:2}.ticket-actions>.primary{min-height:44px;font-size:14px}.collateral button{height:38px;font-size:12px}.session-button{min-height:42px;font-size:11px}.position-count{height:42px;font-size:12px}.position-count button{min-height:32px}.trade-action-bar{height:44px}.tabbar{height:44px;padding:0 4px}.tabbar>button{padding:0 12px;font-size:12px}.trade-action-bar .trade-ticker{height:44px}.positions{min-height:160px;padding:0 10px}.trade-ticker{height:40px}.ticker-items{gap:20px}.ticker-watermark{font-size:10px}.analytics-page{min-height:calc(100dvh - 135px);padding:6px}.overview-grid,.house-page .overview-grid,.portfolio-page .overview-grid{grid-template-columns:1fr 1fr;height:auto}.overview-stack{grid-column:1}.overview-grid>.panel:not(.overview-chart){grid-column:2}.overview-chart{grid-column:1/-1;height:280px!important}.overview-grid .stat,.cardboard-account-grid .stat{font-size:11px}.house-middle,.cardboard-page{flex-direction:column;gap:6px;display:flex}.house-exposure>.chart-card{height:280px}.house-models>.panel{height:220px}.heatmap,.heatmap>svg{min-height:340px}.heatmap-scale{display:none}.heatmap .chart-head{gap:4px}.heatmap .chart-head h2{margin-right:4px;font-size:10px}.queue-grid{grid-template-columns:1fr 1fr}.queue-grid>.chart-card{grid-column:1/-1}.cardboard-left,.cardboard-right,.cardboard-account-grid{gap:6px}.cardboard-account-grid .big-value{font-size:24px}.curve-panel{height:280px}.curve-panel .panel-heading{flex-wrap:wrap;gap:4px}.stake-form{min-height:150px}.cardboard-right{margin-top:6px}.cardboard-left .panel:has(.activity-table){order:5}.wallet-gate{flex-wrap:wrap;min-height:60px;padding:8px}.portfolio-lower{min-height:280px;padding:0 10px}.portfolio-lower .position-list>.empty{margin:40px 0}.scroll-tabs{height:46px;padding:0}.scroll-tabs>button{padding:0 12px}.tabbar .close-all{min-height:30px;margin-right:5px}.stats-grid{grid-template-columns:1fr}.stats-grid .chart-card{height:280px}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:6px}.kpi-strip .panel{padding:10px}.kpi-strip .stat{display:block}.kpi-strip .stat strong{text-align:left;font-size:22px;display:block}.segmented>button{flex:1;min-height:38px}.status-page{flex-direction:column;gap:6px;display:flex}.status-left{gap:6px}.status-hero h1{font-size:26px}.status-kpis{gap:6px}.status-kpis .panel{min-height:130px}.status-kpis .big-value{overflow-wrap:anywhere;font-size:clamp(16px,5vw,24px)}.status-chain{min-height:380px}.status-breakdown{grid-template-columns:1fr}.status-chain .block-timeline{padding-bottom:8px}.pending-panel table{min-width:460px}dialog{padding:20px}dialog button{min-height:42px}dialog .dialog-header button{min-width:42px}dialog .primary{min-height:44px}.menu-content>button,.menu-content>a{min-height:42px}input{font-size:16px}.plot text{font-size:10px}.position-table thead{display:none}.position-table,.position-table tbody{white-space:normal;display:block}.position-table tr{border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--raised);grid-template-columns:1fr 1fr;gap:6px;margin:8px 0;padding:8px;display:grid}.position-table td{border:0;flex-direction:column;min-width:0;padding:4px;font-size:13px;display:flex}.position-table td:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:500}.position-table td:first-child{grid-column:1/-1;display:block}.position-table td:first-child:before{display:none}.position-table td:last-child{grid-column:1/-1}.position-table td button{min-height:42px}.position-table td.positive,.position-table td.negative{font-weight:600}.pager button{min-height:40px}.curve-panel text{font-size:12px}.activity-table{min-width:430px}.heatmap>svg{overflow:hidden}}@media (width<=360px){header{padding-inline:8px}.wordmark{flex-basis:85px;font-size:18px}nav>a,nav>.menu>summary{padding-inline:8px}.wallet-actions>button,.wallet-actions>.menu>summary{padding:6px 5px;font-size:10px}.chart-control-group{flex-wrap:wrap;max-width:275px;height:auto}.market-stat{padding:5px!important}.overview-grid,.queue-grid{grid-template-columns:1fr}.overview-stack,.overview-grid>.panel:not(.overview-chart),.queue-grid>*{grid-column:1}.cardboard-account-grid .stat{font-size:10px}.health-pill{min-width:80px;padding:5px 8px}.status-hero h1{font-size:23px}}@media (prefers-reduced-motion:reduce){.rolling-value{opacity:1}.rolling-visual{display:none}.digit-wheel,.digit-wheel>span{transition:none}.ticker-items>a,dialog[open]{animation:none}button{transition:none}}@media print{header,.wallet-actions,.ticker-items{display:none}.rolling-value{opacity:1}.rolling-visual{display:none}}.panel-heading>span.positive{color:var(--green)}.panel-heading>span.negative{color:var(--red)}.chart-current{white-space:nowrap;margin-right:8px;font-size:12px}.plot-tag{fill:var(--raised)!important;font-size:9px!important}@media (width<=760px){.curve-panel text{font-size:24px}.curve-panel svg{overflow:visible}.chart-head{flex-wrap:wrap;row-gap:4px}.chart-current{font-size:11px}.house-models .panel-heading h2{white-space:normal}}@media (width<=1000px){.heatmap-scale{display:none}}@media (width>=761px){html{overflow-y:scroll}}@media (width<=760px){.heatmap>svg text{font-size:11px}}.house-models>.panel{height:280px}.house-models .plot{height:220px}.position-topology{flex-direction:column;display:flex;position:relative}.position-topology .topology{flex:1;width:100%;height:220px;min-height:0;display:block}.topology-state{text-align:center;color:var(--muted);pointer-events:none;margin:0;font-size:11px;position:absolute;top:50%;left:0;right:0}@media (width>=1201px){.house-middle{grid-template-columns:clamp(520px,36.5vw,650px) minmax(0,1fr)}}@media (width<=760px){.house-models{grid-template-columns:1fr}.house-models>.panel{height:220px}.house-models .plot{height:160px}}.curve-notes{display:none}@media (width<=760px){.curve-panel svg{height:calc(100% - 92px)}.curve-annotation{display:none}.curve-notes{color:var(--muted);flex-direction:column;gap:6px;padding:4px 8px;font-size:10px;display:flex}}.trading-grid{flex-shrink:0;grid-template-rows:minmax(0,1fr);gap:0}.trade-resize{touch-action:none;z-index:2;outline:none;position:relative}.trade-resize:after{content:"";border-radius:var(--radius-inner);background:var(--line);opacity:0;transition:opacity .15s;position:absolute}.trade-resize:hover:after,.trade-resize:focus-visible:after,.trade-resize:active:after{opacity:1}.trade-resize-vertical{cursor:col-resize;width:6px}.trade-resize-vertical:after{width:2px;top:32%;bottom:32%;left:2px}.trade-resize-horizontal{cursor:row-resize;flex-shrink:0;height:6px}.trade-resize-horizontal:after{height:2px;top:2px;left:44%;right:44%}.trade-action-bar{flex-shrink:0;margin-top:0}.trade-lower-grid{flex:1;align-items:start;gap:6px;min-height:190px;display:grid}.trade-activity{flex-direction:column;grid-area:1/1;align-self:stretch;min-width:0;display:flex}.trade-activity>.positions{flex:1;min-width:0}.trade-status{background:var(--panel);border-radius:var(--radius-panel);grid-area:1/2;align-self:stretch;min-width:0;padding:13px 14px}.trade-status-heading{align-items:center;gap:8px;min-height:20px;display:flex}.trade-status-heading h2{flex:1;margin:0;font-size:11px;font-weight:600}.trade-status-heading>span{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}.trade-status-heading>button{display:none}.trade-status-body>.stat{margin:12px 0;font-size:11px}.trade-pending-scroll{overflow:hidden}.trade-status table{table-layout:fixed;width:100%}.trade-status th,.trade-status td{white-space:normal;overflow-wrap:anywhere;text-align:start;padding:7px 4px;font-size:10px}.trade-status th:first-child{width:37%}.trade-status th:last-child{width:20%}.trade-status th:last-child,.trade-status td:last-child{text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums}.trade-status th{font-size:9px}.trade-status-transaction{border-top:1px solid var(--line);overflow-wrap:anywhere;margin-top:12px;padding-top:10px;font-size:10px}.trade-status-transaction>summary{cursor:pointer;font-weight:600}.trade-status-transaction>a,.trade-status-transaction>code{margin-top:8px;display:inline-block}.trade-status .empty{padding:18px 0;font-size:11px}@media (width<=760px){.trading-grid{gap:6px;height:auto!important}.trade-resize{display:none}.trade-action-bar{margin-top:3px}.trade-lower-grid{flex-direction:column;gap:3px;margin-top:3px;display:flex}.trade-status{align-self:stretch;padding:12px 14px}.trade-status-heading>button{place-items:center;min-width:36px;min-height:36px;padding:6px;display:grid}.trade-status-heading>button[aria-expanded=true]>svg{transform:rotate(180deg)}.trade-status-collapsed>.trade-status-body{display:none}.trade-activity{width:100%}}@media (prefers-reduced-motion:reduce){.trade-resize:after{transition:none}}.cardboard-stake-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.cardboard-stake-action{flex-direction:column;min-width:0;display:flex}.cardboard-stake-action>label{margin-bottom:2px}.cardboard-stake-action>span{color:var(--muted);margin-bottom:8px;font-size:10px}.cardboard-stake-action .stake-input input{width:100%;min-width:0}.cardboard-stake-action>.primary,.cardboard-stake-action>button:last-child{width:100%;margin-top:9px;padding:9px}@media (width<=760px){.cardboard-stake-grid{grid-template-columns:1fr;gap:20px}.cardboard-stake-action>span{font-size:11px}}.copy-address{min-height:28px;color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.copy-address code{color:var(--ink);margin-left:auto;font-size:10px}.copy-address button{color:var(--ink);background:0 0;border:0;align-items:center;gap:3px;padding:4px;font-size:10px;font-weight:600;display:flex}@media (width<=760px){.copy-address{grid-template-columns:minmax(0,1fr) auto;gap:2px 4px;margin-top:5px;display:grid}.copy-address>span{grid-column:1/-1}.copy-address code{white-space:nowrap;margin-left:0}.copy-address button{justify-self:end}}.position-table .position-highlight{background:color-mix(in srgb,var(--brown) 9%,var(--raised))}@media (width>=761px) and (width<=1000px){.chart-head{flex-wrap:wrap;row-gap:4px}}.custody-amount{gap:6px;display:flex}.custody-amount input{flex:1}.custody-amount button{min-width:52px;font-weight:600}.custody-summary{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-menu);margin-top:12px;padding:8px 11px}.custody-summary .stat{font-size:11px}.custody-history{color:var(--brown);text-underline-offset:3px;background:0 0;border:0;margin:12px auto 0;font-weight:600;text-decoration:underline;display:block}.pending-deposit{border:1px solid var(--line);border-radius:var(--radius-menu);background:var(--panel);margin-top:12px;padding:10px}.pending-deposit button{margin-top:8px}.pending-deposit p{margin:8px 0 0;font-size:12px}.bridge-handoff{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.bridge-handoff strong{font-size:12px}.bridge-handoff p{margin:5px 0 11px}.bridge-link{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-control);min-height:42px;color:var(--ink);justify-content:center;align-items:center;gap:5px;padding:9px 12px;font-weight:600;text-decoration:none;display:flex}.bridge-link:hover{background:color-mix(in srgb,var(--ink) 6%,var(--panel))}.bridge-link svg{width:13px;height:13px}.history-error{border:1px solid var(--line);border-radius:var(--radius-input);background:var(--raised);color:var(--red);margin:0;padding:4px 6px;font-size:10px;position:absolute;bottom:24px;left:12px}.trade-ticker{z-index:20;overflow:visible}.ticker-viewport{flex:1;align-items:center;min-width:0;height:100%;display:flex;overflow:hidden}.trade-action-bar{z-index:20;position:relative;overflow:visible}.ticker-empty{color:var(--muted);white-space:nowrap;padding-left:14px;font-size:11px}.heatmap-candle line,.heatmap-candle rect{stroke:var(--ink);stroke-width:1px;vector-effect:non-scaling-stroke}.heatmap-candle line{opacity:.8}.referral-notice p{margin:3px 0;font-size:12px}.referral-code{overflow-wrap:anywhere;color:var(--muted);font-size:11px}.referral-panel>p{color:var(--muted);margin:0 0 12px;font-size:12px}.referral-panel label{margin-bottom:5px;font-size:11px;font-weight:600;display:block}.referral-link-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;display:flex}.referral-link-heading label{margin-bottom:0}.referral-link-row{gap:6px;margin-bottom:14px;display:flex}.referral-link-row input{flex:1;width:0;min-width:0}.referral-link-row button{white-space:nowrap;align-items:center;gap:5px;min-height:34px;display:flex}.referral-panel .referral-help{margin:12px 0 0;font-size:11px}.referral-panel .field-error{color:var(--red)}.transaction-copy{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.transaction a{color:inherit;align-items:center;gap:4px;display:inline-flex}.transaction-copy>strong{font-weight:600}.confirm-actions{align-items:center;gap:10px;margin-top:18px;display:flex}.confirm-actions>button{flex:1}.confirm-actions>.primary{margin-top:0}.batch-notice{gap:12px}.cardboard-account-grid>.panel>.rolling-number+button{max-width:100%;margin-block-start:12px;display:block}.plot-event{z-index:5;max-width:140px;position:absolute}.plot-event>button{color:var(--red);background:var(--raised);white-space:nowrap;text-overflow:ellipsis;max-width:100%;padding:3px 6px;font-size:10px;font-weight:700;overflow:hidden}.plot-event>[role=tooltip]{background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-menu);width:230px;max-width:calc(100vw - 24px);box-shadow:var(--shadow-tooltip);white-space:pre-line;overscroll-behavior:contain;padding:10px 12px;font-size:11px;display:none;position:absolute;overflow:auto}.plot-event-item>strong{color:var(--red);margin-bottom:5px;display:block}.plot-event:hover>[role=tooltip],.plot-event:focus-within>[role=tooltip]{display:block}.plot-event[data-dismissed=true]>[role=tooltip]{display:none}.plot-event-item+.plot-event-item{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.cardboard-stake-action>.stake-input{margin-bottom:9px}.cardboard-stake-action>.stake-help{margin:0 0 9px}.cardboard-stake-action>.stake-help.negative{color:var(--red)}.cardboard-stake-action>button:last-child{margin-top:auto}@media (width<=760px){.curve-panel{height:340px}}.session-funding-notice{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;margin-bottom:8px;font-size:11px;display:flex}.session-funding-notice button{min-height:28px;padding:4px 8px;font-size:11px}@media (width<=760px){.session-funding-notice{font-size:12px}.session-funding-notice button{min-height:44px;padding:6px 10px}}.wordmark{flex:none;align-items:center;gap:7px;display:inline-flex}.brand-mark{width:23px;height:25px;color:var(--brown);flex-shrink:0}.brand-mark .box-top{fill:var(--raised)}.brand-mark .box-left{fill:var(--cardboard)}.brand-mark .box-right{fill:var(--selected-surface)}.brand-mark .box-tape{stroke:var(--brown);opacity:.65}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{background:var(--input-surface);border-color:var(--line);border-radius:var(--radius-input);box-shadow:var(--inset-shadow);color:var(--ink);caret-color:var(--brown)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}button{background:var(--control-surface)}button:hover{background:var(--hover-surface)}button:active:not(:disabled){box-shadow:var(--pressed-shadow)}:focus-visible{filter:none;outline:none}:root[data-keyboard-focus] :focus-visible{outline:var(--focus-ring);outline-offset:3px;filter:none}.primary{background:var(--brown);color:var(--on-action);box-shadow:none}.primary.green{background:var(--green)}.primary.red{background:var(--red)}.primary:hover{background:var(--brown)}.primary.green:hover{background:var(--green)}.primary.red:hover{background:var(--red)}.primary:disabled{filter:none}.selected{background:var(--selected-surface)}.ticket-shortcuts button.selected,.collateral button.selected{background:var(--selected-surface);box-shadow:var(--inset-shadow)}nav>a,nav>.menu>summary{border-radius:var(--radius-control);border-bottom:0}nav>a.active,nav>.menu.active>summary{background:var(--selected-surface);box-shadow:var(--inset-shadow);color:var(--ink)}.tabbar{gap:3px;padding-block:4px}.tabbar>button{border-radius:var(--radius-control);border:0;height:calc(100% - 2px)}.segmented,.direction{background:var(--input-surface);box-shadow:var(--inset-shadow);border-color:#0000;gap:3px;padding:3px}.segmented button,.direction button{border-radius:var(--radius-inner);background:0 0;border:0}.direction button{flex:1;width:auto;min-width:0;padding-inline:3px}.direction .neutral{flex:1.8}.direction .selected,.segmented button.selected{background:var(--selected-surface);box-shadow:var(--shadow-soft);color:var(--ink)}.direction .selected.positive{background:var(--positive-surface);box-shadow:var(--shadow-soft)}.direction .selected.negative{background:var(--negative-surface);box-shadow:var(--shadow-soft)}.menu>summary{background:var(--control-surface)}.menu>summary:hover{background:var(--hover-surface)}.chart-control-group>.menu>summary,.language-menu>summary,.nav-more>summary{background:0 0}.menu-content>button[aria-current=true],.menu-content>a[aria-current=page]{background:var(--selected-surface);box-shadow:var(--inset-shadow)}.account-summary{background:var(--input-surface);box-shadow:var(--inset-shadow)}.chart-control-group{background:var(--control-surface)}@media (width<=760px){.wordmark{flex:1;gap:5px}.brand-mark{width:20px;height:22px}nav>a,nav>.menu>summary{height:42px}}@media (width<=360px){.wordmark{flex-basis:auto;font-size:18px}.wordmark .brand-mark{width:18px;height:20px}}html{scrollbar-color:var(--line) var(--cardboard);scrollbar-width:thin}body{background:var(--cardboard);color:var(--ink);border-top:0}::selection{background:var(--selection-surface);color:var(--ink)}button,input,select,textarea,summary,a{outline:none!important}input,select,textarea{caret-color:var(--brown)}button{font-weight:500}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{box-shadow:none;border-color:var(--line)}:root[data-keyboard-focus] :is(a,button,summary):focus-visible{box-shadow:none;background:var(--hover-surface);text-underline-offset:4px;text-decoration:underline;outline:none!important}:root[data-keyboard-focus] :is(input,select,textarea):focus-visible{border-color:var(--line);box-shadow:none;background:var(--selected-surface);outline:none!important}select{text-align:start;text-indent:0;padding-inline:8px 27px}.panel,.chart-panel{border:1px solid var(--line);border-radius:var(--radius-panel)}.panel-heading h2,.chart-head h2,.panel h2{text-transform:none;letter-spacing:0;font-weight:600}.panel-heading{gap:10px}.stat strong{font-weight:550}.tabbar>button{color:var(--muted);box-shadow:none;background:0 0;font-weight:500}.tabbar>button.active{background:var(--selected-surface);box-shadow:none;color:var(--ink)}.segmented,.direction,.segmented button.selected,.direction .selected{box-shadow:none}.primary{font-weight:600}.primary:hover{filter:brightness(1.05)}.account-agreement{margin-top:7px;font-size:10px;line-height:1.5}#root>header{background:var(--panel);border-bottom:1px solid var(--line);border-radius:0;gap:16px;height:44px;min-height:44px;padding:0 18px}.wordmark{letter-spacing:-.025em;flex:none;gap:7px;font-size:21px}.brand-mark{width:23px;height:25px}.site-navigation{flex:1;align-self:stretch;align-items:stretch;gap:5px;min-width:0;overflow:visible}.site-navigation>a{height:100%;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;padding:0 11px;font-size:12px;font-weight:550;display:flex;position:relative}.site-navigation>a.active{color:var(--ink);box-shadow:none;background:0 0}.site-navigation>a.active:after{content:"";inset-inline:11px;background:var(--brown);height:2px;position:absolute;bottom:0}.site-navigation .nav-more>summary{height:44px;min-height:44px}.wallet-actions{flex:none;gap:3px;min-width:0}.wallet-actions>button,.wallet-actions>.menu>summary,.wallet-actions .account-menu>summary{height:32px;min-height:32px;box-shadow:none;background:0 0;border:0;padding:0 8px;font-size:11px}.wallet-actions>.menu>summary:hover,.wallet-actions>button:hover{background:var(--hover-surface)}.resources-menu>summary{color:var(--muted);align-items:center;gap:5px;display:flex}.resource-health{background:var(--muted);border-radius:50%;flex:none;width:4px;height:4px;display:inline-block}.resource-health.healthy{background:var(--green)}.resource-health.degraded{background:var(--red)}.resources-menu .menu-content>a{justify-content:space-between;align-items:center;gap:16px;display:flex}.wallet-view{background:var(--selected-surface);border-radius:var(--radius-control);flex:0 auto;gap:8px;margin:0;padding:5px 9px;font-size:11px}.wallet-view strong{font-weight:600}.wallet-view button{border:0;min-height:24px;padding-inline-start:6px;font-size:11px}.preferences-drawer{background:var(--panel)}.preferences-drawer .panel{border:0}.preferences-drawer .panel-heading{margin-bottom:6px}.preferences-page .preference-row{font-size:12px}.account-menu .menu-content{background:var(--raised)}.menu-content{padding:5px}.menu-content>button,.menu-content>a{border-radius:var(--radius-inner);font-size:12px;font-weight:450}.menu-content>button[aria-current=true],.menu-content>a[aria-current=page]{box-shadow:none;background:var(--selected-surface)}.transaction-notice,.close-receipt{border-radius:var(--radius-control)}[dir=rtl] .site-navigation>a.active:after{inset-inline:11px}@media (width<=1200px){#root>header:has(.wallet-view){row-gap:0;height:auto}:is(#root>header:has(.wallet-view)>.wordmark,#root>header:has(.wallet-view)>.site-navigation,#root>header:has(.wallet-view)>.wallet-actions){height:44px}}@media (width<=1150px){#root>header{gap:12px;padding-inline:12px}.site-navigation{gap:0}.site-navigation>a{padding-inline:8px;font-size:11px}.site-navigation>a.active:after{inset-inline:8px}.wallet-actions{gap:0}.wallet-actions>button,.wallet-actions>.menu>summary,.wallet-actions .account-menu>summary{padding-inline:6px}}@media (width<=760px){#root>header{flex-wrap:wrap;gap:0;height:auto;min-height:80px;padding:0 10px;display:flex}.wordmark{flex:1;height:40px;font-size:20px}.brand-mark{width:21px;height:23px}.wallet-actions{flex:none;gap:0;height:40px}.wallet-actions>button,.wallet-actions>.menu>summary,.wallet-actions .account-menu>summary{height:36px;min-height:36px;padding-inline:6px;font-size:10px}.resources-menu>summary{font-size:10px}.site-navigation{flex:0 0 100%;order:3;justify-content:flex-start;gap:10px;width:100%;height:40px}.site-navigation>a{flex:none;height:40px;padding-inline:4px;font-size:12px}.site-navigation>a.active:after{inset-inline:4px}.site-navigation .nav-more>summary{height:40px;min-height:40px;font-size:11px}:is(#root>header:has(.wallet-view)>.wordmark,#root>header:has(.wallet-view)>.site-navigation,#root>header:has(.wallet-view)>.wallet-actions){height:40px}.wallet-view{flex:0 0 100%;order:4;justify-content:space-between;width:100%;min-height:32px;margin:0 0 7px;padding:4px 8px;font-size:11px}.wallet-view button{min-height:28px;font-size:11px}.account-agreement{font-size:10px}}@media (width<=380px){.wallet-actions>button,.wallet-actions>.menu>summary,.wallet-actions .account-menu>summary{padding-inline:4px}.resources-menu>summary .resource-health{display:none}.site-navigation{gap:8px}.wordmark{font-size:18px}}@media (width<=360px){.wordmark>span{display:none}}
