.production-shell .sidebar{width:224px;padding:34px 20px}.production-shell .sidebar nav{margin-top:48px}.production-shell .sidebar .nav-item{font-size:15px;min-height:50px}.production-shell .workspace{margin-left:0}.production-shell .topbar{height:82px}.production-shell .topbar>strong{font-size:16px}.production-content{max-width:1320px;width:100%;margin:0 auto;padding:44px 48px}.production-content .page-heading{margin-bottom:30px}.production-content h1{font-size:28px;font-weight:600;letter-spacing:-.7px}.production-content .page-heading>div,.heading-actions{display:flex;align-items:center;gap:14px}.account-capacity{border:1px solid var(--line);border-radius:6px;color:var(--muted);padding:3px 9px;font-variant-numeric:tabular-nums}.heading-actions .button{min-height:44px}.connection-layout,.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}.connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.connection-card,.add-connection{border:1px solid var(--line);background:var(--panel);border-radius:16px;min-height:244px;padding:24px}.connection-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.connection-letter{width:40px;height:40px;display:grid;place-items:center;border:1px solid #3c4d42;border-radius:12px;color:var(--green);background:#25312b;font-size:19px;font-weight:600}.connection-card h2{font-size:19px;margin-bottom:8px;overflow-wrap:anywhere}.connection-uid{color:var(--muted);font-size:14px;display:flex;gap:10px}.connection-uid strong{color:#b3bebe;font-variant-numeric:tabular-nums}.connection-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:30px}.disconnect:hover{color:var(--red)}.connection-card.locked{background:#11161a}.connection-card.locked .connection-letter{color:#929995;border-color:var(--line);background:#1d2422}.add-connection{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;border-style:dashed;color:#95a398;background:transparent}.add-connection .icon{width:30px;height:30px}.add-connection:hover{border-color:#72976d;background:#1a251d55}.membership-panel{padding:28px;border:1px solid #394437;background:linear-gradient(140deg,#1c2920,#141c18);border-radius:16px;display:flex;flex-direction:column;gap:20px}.membership-icon{width:42px;height:42px;display:grid;place-items:center;background:#33402c;border-radius:12px;color:var(--green)}.membership-panel h2{font-size:20px}.membership-price{font-size:30px;font-weight:600;letter-spacing:-1px}.membership-price span{font-size:14px;letter-spacing:0;color:#a8b4a7;font-weight:400}.member-benefit{display:flex;gap:12px;align-items:center;padding:12px 0 20px;border-bottom:1px solid #354032;color:#b8c5b8}.member-benefit strong{font-size:25px;color:var(--text)}.membership-panel>.button{width:100%}.renewal-label{text-align:center;color:#91a18d;font-size:13px;margin-top:-10px}.membership-expiry{font-size:14px;color:#adbba8}.member-chip{display:flex;gap:9px;align-items:center;color:var(--green);font-size:14px;border-left:1px solid var(--line);padding-left:20px;margin-left:4px}.signed-in{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere;color:#aebcb9;font-size:13px;margin-bottom:20px}.signed-in>span:last-child{min-width:0}.signed-in .avatar{flex-shrink:0}.connection-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:26px;color:var(--muted);font-size:14px}.connection-bottom .text-button{font-size:14px}.platform-loading{padding:60px;color:var(--muted);text-align:center}.platform-alert{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #604049;background:#2d1e25;border-radius:12px;margin-bottom:24px}.login-flow{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border:1px solid #3a4a39;border-radius:12px;background:#1b261e;margin-bottom:24px;gap:16px}.login-flow>span,.login-flow>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.login-flow .text-button{font-size:14px}.login-flow>span>span{color:var(--red)}.account-agreement{max-height:min(43vh,400px);overflow:auto;border:1px solid var(--line);border-radius:10px;padding:22px;background:#0f1518}.account-agreement section+section{margin-top:22px}.account-agreement h3{font-size:16px;margin-bottom:8px}.account-agreement p{font-size:15px;line-height:1.9;color:#b7c2c0}.connection-name{margin-top:22px;font-size:14px}.connection-consent{display:flex;gap:12px;align-items:flex-start;margin-top:22px;font-size:15px}.connection-consent input{width:18px;height:18px;flex-shrink:0;margin:3px 0;accent-color:var(--green)}.modal .error{font-size:14px}.modal .modal-body>p{font-size:15px;line-height:1.8;color:#b4c0bd}.checkout-total,.checkout-balance{display:flex;align-items:center;justify-content:space-between;margin:12px 0 26px;font-size:16px}.checkout-total strong{font-size:30px}.checkout-total strong span{font-size:16px;color:var(--muted)}.checkout-balance{color:#b1bfba;padding-bottom:24px;border-bottom:1px solid var(--line)}.membership-terms p{font-size:15px;line-height:1.9;color:#b8c4bd;margin-bottom:12px}.membership-terms .text-button{font-size:14px}.profile-details{padding:30px;border-radius:16px}.profile-details h2{font-size:21px;margin-bottom:28px;overflow-wrap:anywhere}.profile-details dl{margin:0}.profile-details dl>div{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);gap:20px}.profile-details dt{color:var(--muted)}.profile-details dd{margin:0}.profile-actions{display:flex;gap:12px;margin-top:28px}.future-panel{border-radius:16px;min-height:360px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.future-panel>.icon{width:42px;height:42px;color:var(--green)}
@media(max-width:1250px){.production-shell .sidebar{width:192px;padding:28px 14px}.production-shell .workspace{margin-left:0}.production-content{padding:32px 28px}.connection-layout,.profile-layout{grid-template-columns:minmax(0,1fr) 244px;gap:20px}.connection-card,.membership-panel,.add-connection{padding:22px}.membership-price{font-size:26px}.connection-grid{gap:16px}}

/* Trading and copy workspaces retain their layout alongside real account management. */
.production-content:has(.restored-trading-grid),.production-content:has(.restored-copy-banner){max-width:1520px;padding:30px 32px 36px}.desk-heading{margin-bottom:22px!important}.desk-accounts{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding-bottom:5px;margin-bottom:22px}.desk-account{min-width:224px;flex:1;max-width:350px;border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:16px;display:flex;gap:12px;align-items:center;text-align:left}.desk-account.selected{border-color:#627e55;background:#1b2721}.desk-account>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.desk-account>span:nth-child(2)>span{font-size:12px;color:var(--muted);white-space:nowrap}.desk-account strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-account .badge{font-size:12px}.desk-account-add{min-width:150px;flex:0 0 160px;justify-content:center;border-style:dashed;background:transparent;color:#a6b99e}.restored-trading-grid{grid-template-columns:minmax(0,1fr) 304px;gap:20px}.restored-trading-grid .chart-panel{padding:24px;border-radius:14px}.desk-market-summary{display:flex;align-items:center;gap:32px;min-height:90px}.desk-market-summary>strong{font-size:35px;font-weight:550;min-width:110px}.desk-market-summary>div{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px}.desk-market-summary>div>strong{color:var(--text);font-size:14px}.desk-chart-empty{min-height:300px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:linear-gradient(90deg,#ffffff04 1px,transparent 1px),linear-gradient(#ffffff04 1px,transparent 1px);background-size:90px 70px;color:#85958a}.desk-chart-empty>.icon{width:36px;height:36px;opacity:.7}.desk-order{padding:24px!important;border-radius:14px}.desk-order .field{font-size:13px;margin-bottom:18px}.desk-order .panel-title{margin-bottom:24px}.desk-order .payout-box{margin-top:24px}.desk-order .direction-buttons{margin-top:24px}.desk-order .direction:disabled{opacity:.5}.desk-records{margin-top:22px;border-radius:14px}.desk-records th{font-size:12px}.desk-records-empty{min-height:100px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px}.desk-back{margin-bottom:18px;font-size:14px}.restored-copy-banner{min-height:210px;border-radius:16px;margin-bottom:26px;padding:32px 36px}.restored-copy-banner h2{font-size:32px;line-height:1.4;margin:0 0 28px}.restored-copy-banner .banner-art{left:auto;right:12%;width:300px;transform:scale(.8);transform-origin:center}.restored-copy-toolbar{flex-wrap:wrap;gap:16px;margin:20px 0}.restored-copy-toolbar .toolbar-right{gap:10px;flex-wrap:wrap}.restored-copy-toolbar .search{min-width:180px}.restored-copy-toolbar select{font-size:13px}.desk-leaderboard{border-radius:14px}.desk-leaderboard th{font-size:13px;padding:18px 22px}.desk-copy-empty{display:flex;min-height:250px;padding:36px;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;color:var(--muted);border-radius:14px}.desk-copy-empty>.icon{width:40px;height:40px;color:#a5bb98}.desk-copy-empty h2{font-size:18px;font-weight:500;color:#bac7be}.production-content .copy-nav{align-items:center}.production-content .copy-nav .badge{margin-left:16px}.production-content .profile-actions{flex-wrap:wrap}
@media(max-width:1250px){.production-content:has(.restored-trading-grid),.production-content:has(.restored-copy-banner){padding:26px 22px}.restored-trading-grid{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.desk-order{padding:20px 18px!important}.restored-trading-grid .chart-panel{padding:20px}.desk-account{min-width:215px}.restored-copy-banner h2{font-size:28px}.restored-copy-banner .banner-art{right:4%}.desk-market-summary{gap:24px}.desk-records th,.desk-records td{padding-left:16px;padding-right:16px}}

/* KLineCharts runs in an isolated local chart document. */
.restored-trading-grid .tv-panel{padding:0;overflow:hidden;min-width:0}.tv-header{padding:15px 18px;margin:0;gap:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.tv-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.tv-header-actions select{width:116px;font-size:13px;padding:8px 10px}.tv-header .symbol-tabs{gap:20px}.tradingview-slot{position:relative;width:100%;height:540px;min-height:420px;flex:1;min-width:0;background:#13191e}.tv-chart-bank,.tv-chart-frame{position:absolute;inset:0;width:100%;height:100%;min-height:0}.tv-chart-frame{border:0;display:block;background:#13191e}.tv-chart-frame[hidden]{display:none}.tv-source-row{display:flex;align-items:center;justify-content:space-between;padding:3px 18px 10px;gap:15px}.tv-source-row .text-button{font-size:12px}.tv-panel.tv-expanded{position:fixed;inset:14px;z-index:40;display:flex;flex-direction:column;border:1px solid #586b54;box-shadow:0 0 0 20px #080c10eb}.tv-expanded .tradingview-slot{height:auto;min-height:0}.chart-expanded .main-content{overflow:hidden}.chart-expanded .tv-panel.tv-expanded{overflow:hidden}.tv-header .symbol-tabs button{font-size:14px}#chart-parking[hidden]{display:none!important}@media(max-width:1250px){.tv-header{padding:12px}.tv-header .symbol-tabs{gap:12px}.tv-header-actions{gap:7px}.tv-header-actions select{width:100px}.tv-header-actions .badge{font-size:10px}.tradingview-slot{height:540px}}

.chart-engine-label{font-size:11px;color:var(--muted)}
/* Workspace-specific layouts leave the shared sidebar unchanged. */
.production-shell.trading-workspace .topbar{height:64px;padding:0 20px}
.trading-workspace .main-content.production-content{padding:14px 18px 28px;max-width:none}
.trading-workspace .restored-trading-grid{grid-template-columns:minmax(0,1fr) 268px;gap:14px;height:max(560px,calc(100dvh - 146px));align-items:stretch}
.trading-workspace .tv-panel{display:flex;flex-direction:column;padding:0;min-height:0}
.trading-workspace .tv-header{padding:10px 14px;min-height:55px;flex-shrink:0}
.trading-workspace .tradingview-slot{height:auto;min-height:0}
.trading-workspace .tv-header .symbol-tabs{gap:18px}.trading-workspace .tv-header-actions{gap:6px}
.chart-info-button{font:600 15px Georgia,serif;border:1px solid #34434b;border-radius:50%;width:25px;height:25px}
.trading-workspace .desk-order{padding:18px!important;min-height:0}
.trading-workspace .desk-order .panel-title{margin-bottom:17px;gap:8px}
.trading-workspace .desk-order .panel-title h2{font-size:16px}
.account-manager-button{margin-left:auto;width:29px;height:29px}
.trade-account-controls{padding-bottom:15px;margin-bottom:17px;border-bottom:1px solid var(--line)}
.trade-account-controls .field{margin-bottom:7px!important}
.trade-account-select{display:flex;align-items:center;gap:5px;margin-top:7px}
.trade-account-select select{font-size:13px;flex:1;padding:9px 10px;min-width:0}
.trade-account-select>.icon-button{flex-shrink:0;width:29px;height:32px;border:1px solid var(--line)}
.compact-add-account{width:100%;min-height:37px;font-weight:500}
.event-permission-row{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);min-height:30px;margin-top:7px}
.event-permission-row .badge{font-size:12px}.event-permission-row>.icon-button{margin-left:auto;width:27px;height:27px}
.event-permission-row>.icon-button .icon{width:15px;height:15px}.checking .icon{animation:permission-spin 1s linear infinite}
@keyframes permission-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.checking .icon{animation:none}}
.trading-workspace .desk-order .field{margin-bottom:16px;font-size:13px}
.trading-workspace .desk-order .period-options{gap:5px}.trading-workspace .desk-order .payout-box{margin-top:auto;padding-top:18px}
.trading-workspace .desk-order .direction-buttons{margin-top:18px}.trading-workspace .desk-records{margin-top:16px}
.trading-workspace .login-flow{padding:11px 15px;margin-bottom:12px}
.trading-workspace .tv-panel.tv-expanded{height:auto}.trading-workspace .tv-expanded .tradingview-slot{height:auto;min-height:0}
@media(max-width:1250px){.trading-workspace .main-content.production-content{padding:12px 12px 24px}.trading-workspace .restored-trading-grid{grid-template-columns:minmax(0,1fr) 246px;gap:11px}.trading-workspace .desk-order{padding:15px!important}.trading-workspace .tv-header .symbol-tabs{gap:11px}.trading-workspace .tv-header{padding:10px}.trading-workspace .tv-header-actions select{width:101px}}
.binance-account-identity{display:flex;align-items:center;gap:14px;margin:20px 0}.binance-account-identity h2{margin:0 0 5px;font-size:19px;overflow-wrap:anywhere}.binance-account-avatar{display:grid;place-items:center;background:#20312d;border:1px solid #354a42;width:54px;height:54px;flex:0 0 54px;border-radius:50%;overflow:hidden;color:var(--accent)}.binance-account-avatar img{width:100%;height:100%;object-fit:cover}.binance-account-avatar .icon{width:26px;height:26px}.account-alias{display:block;margin-top:4px;color:var(--muted);font-size:13px}.binance-account-fields{margin:0 0 16px;display:grid;gap:14px}.binance-account-fields>div{display:flex;align-items:center;gap:18px;justify-content:space-between}.binance-account-fields dt{color:var(--muted);font-size:14px}.binance-account-fields dd{margin:0;min-width:0;text-align:right;overflow-wrap:anywhere;font-size:14px}.session-remaining{font-variant-numeric:tabular-nums;color:#b4d79b}.connection-card header>.icon-button{width:28px;height:28px;margin-left:8px}.connection-card header>.badge{margin-left:auto}.connection-card footer .session-help{margin-left:auto;width:28px;height:32px;padding:4px}.connection-card footer .disconnect{margin-left:0}
.wallet-balance{padding:0 0 16px;margin:-3px 0 17px;border-bottom:1px solid var(--line)}.wallet-balance-heading,.wallet-available,.wallet-balance-value{display:flex;align-items:center;gap:8px}.wallet-balance-heading{justify-content:space-between;font-size:13px;color:var(--muted)}.wallet-balance-heading select{width:auto;max-width:145px;padding:5px 7px;background:transparent;border:0;font-size:13px}.wallet-available{margin-top:8px;color:var(--muted);font-size:13px}.wallet-available>.icon-button{width:23px;height:23px;margin-left:auto}.wallet-available .icon{width:14px;height:14px}.wallet-balance-value{font-size:12px;color:var(--muted);margin-top:3px;flex-wrap:wrap}.wallet-balance-value strong{font-size:21px;letter-spacing:-.5px;color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-balance-value>.text-button{margin-left:auto;padding:3px 0;font-size:13px;color:#bad29d}.balance-unavailable{display:block;margin-top:6px;color:var(--muted);font-size:12px}.transfer-account{display:flex;justify-content:space-between;gap:15px;padding:4px 0 20px}.transfer-account strong{font-variant-numeric:tabular-nums}.transfer-route{display:flex;align-items:center;justify-content:space-around;padding:24px 16px;margin-bottom:22px;background:#172420;border-radius:12px;font-size:16px}.transfer-route strong{color:#b4d79b;font-size:26px}.trading-workspace .desk-order{overflow:auto}.trading-workspace .trade-account-controls{padding-bottom:10px;margin-bottom:14px}

/* The order ticket follows the user's task, not the chart's height. */
.trading-workspace .restored-trading-grid{grid-template-columns:minmax(0,1fr) 296px}
.trading-workspace .order-ticket{align-self:start;display:block;height:auto;min-height:0;overflow:visible;padding:20px!important;border-radius:16px;background:#131b1a}
.ticket-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px;min-height:28px}
.ticket-heading h2{font-size:19px;font-weight:650;line-height:1.3;margin:0;letter-spacing:.02em}
.ticket-symbol{font-size:13px;color:#9caea3;font-weight:500;white-space:nowrap}
.ticket-heading>.icon-button{margin-left:auto;width:30px;height:30px;color:#a6b7ad}
.ticket-account{display:flex;align-items:center;gap:10px;margin-bottom:18px;border:1px solid #344139;border-radius:10px;padding:4px 8px;height:50px;background:#101816}
.ticket-avatar{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;background:#22342a;color:#b7c9b9;border-radius:50%;overflow:hidden}
.ticket-avatar img{height:100%;width:100%;object-fit:cover}.ticket-avatar>.icon{width:18px;height:18px}
.ticket-account select{min-width:0;flex:1;border:0;background:transparent;padding:8px 0;font-size:14px;font-weight:550;color:#edf4ee;box-shadow:none;height:40px}
.order-ticket select option{background:#17251e;color:#f0f5f0}
.ticket-warning{display:grid;place-items:center;flex:0 0 28px;width:28px;height:30px;padding:4px;background:transparent;border:0;color:#e9b563;border-radius:6px;cursor:pointer}
.ticket-warning .icon{width:17px;height:17px}.ticket-warning[hidden]{display:none!important}.ticket-warning:hover{background:#e9b56312}
.ticket-wallet{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #2c3931}
.ticket-wallet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px}
.ticket-wallet-toolbar select{width:auto;max-width:168px;border:0;background:transparent;padding:3px 0;font-size:14px;color:#b9c8bf;box-shadow:none}
.ticket-transfer{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:5px 0;font-size:14px;color:#c5dfa5;cursor:pointer;white-space:nowrap}
.ticket-transfer>.icon{width:15px;height:15px}.ticket-transfer:hover{color:#e2f6c9}
.ticket-balance-line{display:flex;align-items:center;gap:6px;margin-top:10px;min-height:30px}
.ticket-balance-line>span{font-size:14px;color:#9fafa5;white-space:nowrap}
.ticket-balance-number{display:flex;align-items:baseline;gap:5px;margin-left:auto;min-width:0}
.ticket-balance-number>strong{font-size:23px;line-height:1.3;font-weight:600;color:#eef5ee;font-variant-numeric:tabular-nums;letter-spacing:-.35px;overflow-wrap:anywhere}
.ticket-balance-number>strong.balance-old{color:#b7c1b8}.ticket-balance-number>span{font-size:12px;color:#9fafa5}
.ticket-balance-line .ticket-refresh{width:24px;height:28px;flex:0 0 24px;color:#92a89a;opacity:.5}.ticket-balance-line .ticket-refresh>.icon{width:14px;height:14px}.order-ticket:hover .ticket-refresh,.ticket-refresh:focus-visible,.ticket-refresh.checking{opacity:1}
.trading-workspace .order-ticket .field{font-size:14px;margin-bottom:0;color:#b6c7bc}
.trading-workspace .order-ticket .ticket-period-label{margin-bottom:18px}
.trading-workspace .order-ticket .period-options{margin-top:9px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.order-ticket .period-options>button{height:36px;padding:5px 2px;font-size:14px;font-weight:500;border-radius:8px;background:#19261f;border:1px solid #34483a;color:#b9c8be}
.order-ticket .period-options>button.active{background:#35472e;border-color:#9dbb83;color:#ecf7e2}
.trading-workspace .order-ticket .ticket-amount-label{display:block;margin-bottom:9px}
.ticket-amount{height:48px;margin:0;border:1px solid #3a483d;border-radius:9px;background:#0f1713;display:flex;align-items:center;overflow:hidden}
.ticket-amount:focus-within{border-color:#b7d894;box-shadow:0 0 0 2px #b7d89425}
.ticket-amount input{font-size:22px;line-height:1.3;font-weight:550;color:#eef7ee;border:0;background:transparent;box-shadow:none!important;outline:none;padding:10px 12px;min-width:0;width:100%;font-variant-numeric:tabular-nums}
.ticket-amount>span{padding-right:12px;color:#94a49a;font-size:13px}.ticket-amount input::-webkit-inner-spin-button{appearance:none}
.ticket-amount-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.ticket-amount-shortcuts>button{height:30px;padding:3px;font-size:14px;border:1px solid #2b3d31;background:#19251d;color:#b0c2b5;border-radius:6px}
.ticket-amount-shortcuts>button:hover,.ticket-amount-shortcuts>button.active{border-color:#718e5d;color:#d7eac4;background:#263723}
.ticket-actions{margin-top:22px}.ticket-service-state{text-align:center;font-size:14px;color:#a2afa5;margin-bottom:11px}
.trading-workspace .order-ticket .direction-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.trading-workspace .order-ticket .direction{height:45px;margin:0;border-radius:9px;font-size:15px;font-weight:550;gap:7px}
.trading-workspace .order-ticket .direction:disabled{opacity:1;cursor:not-allowed}.order-ticket .direction.up:disabled{background:#294031;border:1px solid #3b5441;color:#b8cbbb}.order-ticket .direction.down:disabled{background:#362b2f;border:1px solid #4d3b40;color:#bfaeb3}.order-ticket .direction>.icon{width:16px;height:16px}
.ticket-login-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 0 8px}
.ticket-login-illustration{width:64px;height:64px;border-radius:20px;background:#233522;color:#c3dfa4;display:grid;place-items:center}.ticket-login-illustration>.icon{width:30px;height:30px}
.ticket-login-state h3{font-size:18px;font-weight:550;margin:20px 0 24px;color:#e4eee3;line-height:1.5}.ticket-login-state .ticket-login-button{height:46px;width:100%;font-size:15px;gap:9px;border-radius:9px}.ticket-login-button>.icon{width:18px;height:18px}
.event-permission-row .ticket-warning{margin-left:auto}
.event-payout{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:10px 6px;align-items:center;margin-bottom:15px;font-size:14px;font-variant-numeric:tabular-nums}
.event-payout>span{color:var(--muted);font-size:13px}.event-payout>strong{text-align:center;font-size:16px;font-weight:600}.event-payout em{font-size:11px;font-style:normal;font-weight:400;color:var(--muted)}
.ticket-service-state:empty{display:none}.event-cell-meta{display:block;margin-top:5px;color:var(--muted);font-size:13px}.event-cell-meta.positive{color:var(--green)}.event-cell-meta.negative{color:var(--red)}
.event-countdown{font-variant-numeric:tabular-nums}.event-price{font-variant-numeric:tabular-nums;white-space:nowrap}.event-pagination{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding:9px 15px;font-size:14px}
.position-dial{--dial-color:#8ed8bf;--progress:0%;display:inline-grid;width:70px;height:70px;padding:4px;border-radius:50%;background:conic-gradient(var(--dial-color) var(--progress),#ffffff10 0);font-variant-numeric:tabular-nums;vertical-align:middle;color:#e1eee7;flex-shrink:0}.position-dial>span{border-radius:50%;background:#142021;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.position-dial strong{font-size:13px;font-weight:650;letter-spacing:-.02em;line-height:1.2}.position-dial small{font-size:10px;color:#9eb3ac;line-height:1.2}.position-dial.compact{width:48px;height:48px;padding:3px}.position-dial.compact strong{font-size:11px}.position-dial.urgent{--dial-color:#efb76e}.position-dial.settling{--dial-color:#efb76e;background:#8d71483d}.position-dial.settling strong{display:grid;place-items:center}.position-dial .icon{width:19px;height:19px;color:#efb76e}.event-cell-meta>.live-price-dot{display:inline-block;width:5px;height:5px;margin:0 6px 2px 0;border-radius:50%;background:#6dd4ae}.event-price-path{display:inline-grid;grid-template-columns:minmax(76px,auto) 18px minmax(76px,auto) minmax(86px,auto);align-items:center;gap:7px;white-space:nowrap;font-size:14px}.event-price-path>span:first-child{color:#b3c3c1}.price-arrow{text-align:center;color:#627b79}.event-price-path>strong{font-weight:600}.event-bp{text-align:right;font-size:13px}.event-price-path .neutral{color:#c4d0cc}.event-price-path .positive{color:#52d6a8}.event-price-path .negative{color:#f4818b}.event-result{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:6px 10px;font-weight:600;font-size:13px;background:#ffffff08}.event-result.positive{background:#46c99a12;color:#52d6a8}.event-result.negative{background:#f4778412;color:#f4818b}.event-open-row{background:#74cbb304}.event-open-row td{border-bottom-color:#3145415e}.desk-records .event-countdown{display:inline-block;min-width:70px}.event-order-notice{border-radius:0}
@media(max-width:1250px){.event-price-path{grid-template-columns:76px 14px 76px 82px;gap:4px;font-size:13px}.position-dial{width:64px;height:64px}.position-dial.compact{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.event-price-path{transition:none}}
.event-review{display:grid;gap:15px;margin:20px 0}.event-review>div{display:flex;justify-content:space-between;gap:20px}.event-review dt{color:var(--muted);font-size:14px}.event-review dd{margin:0;text-align:right;font-size:15px;font-variant-numeric:tabular-nums}.event-review-symbol{font-size:22px;font-weight:650}.event-confirm-note{font-size:14px!important;margin-top:23px!important;color:var(--muted)}
@media(max-width:1250px){.trading-workspace .restored-trading-grid{grid-template-columns:minmax(0,1fr) 268px}.trading-workspace .order-ticket{padding:17px!important}.ticket-balance-number>strong{font-size:21px}.ticket-wallet-toolbar select{max-width:144px}.ticket-account{gap:7px;padding-left:7px}.ticket-account select{font-size:13px}.ticket-heading{gap:8px}.ticket-symbol{font-size:12px}}

.event-order-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px}.event-order-notice .text-button{flex-shrink:0;font-size:14px}

.event-position-select{padding:4px 0;border:0;background:none;font:inherit;font-weight:600;color:#d9e6dd;cursor:pointer;text-align:left}.event-position-select:hover{color:#cce5aa}.event-position-select:focus-visible{outline:2px solid #cce5aa;outline-offset:4px;border-radius:3px}.event-open-row.position-focused{background:#a8cf7e09;box-shadow:inset 3px 0 #a3c782}.event-open-row.position-focused .event-position-select{color:#d1e9b7}
/* Keep positions visible beside a compact ticket, with expand available for analysis. */
.trading-workspace .restored-trading-grid{height:auto;align-items:start}
.trading-workspace .tv-panel:not(.tv-expanded){height:clamp(360px,calc(100dvh - 380px),560px)}
.trading-workspace .order-ticket{padding:16px!important;border-radius:13px}
.order-ticket .ticket-heading{margin-bottom:10px}.order-ticket .ticket-account{height:44px;margin-bottom:10px}.order-ticket .ticket-account select{height:36px}.order-ticket .ticket-wallet{padding-bottom:12px;margin-bottom:12px}.order-ticket .ticket-balance-line{margin-top:6px}
.trading-workspace .order-ticket .ticket-period-label{margin-bottom:12px}.trading-workspace .order-ticket .period-options{margin-top:7px}.order-ticket .period-options>button{height:32px}.order-ticket .ticket-amount{height:42px}.order-ticket .ticket-amount-shortcuts{margin-top:6px}.order-ticket .ticket-amount-shortcuts>button{height:28px}.order-ticket .ticket-actions{margin-top:14px}.order-ticket .event-payout{gap:8px 6px;margin-bottom:10px}.order-ticket .ticket-service-state{margin-bottom:7px;font-size:13px}.trading-workspace .order-ticket .direction{height:42px}
.desk-records .records-header{min-height:52px;padding:10px 16px}.desk-records .records-header h2{font-size:15px;font-weight:600;display:flex;gap:9px;align-items:center;margin:0}.records-header #event-open-count{font-size:12px;color:#b8cda7;background:#3342317a;border-radius:5px;padding:2px 6px;min-width:21px;text-align:center}.records-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.records-actions>.icon-button{width:32px;height:32px;color:#a4b7ac}.records-actions>.icon-button:hover{background:#29372c;color:#dbedc8}.desk-records td{padding-top:11px;padding-bottom:11px}.desk-records .position-dial{width:64px;height:64px}
.modal.wide.event-history-modal{width:min(1160px,calc(100vw - 48px));max-width:none}.event-history-modal .modal-body{padding:0 20px 10px}.event-history-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 2px 13px;gap:12px;font-size:14px}.event-history-toolbar .icon-button{width:30px;height:30px}.event-history-modal .table-wrap{max-height:calc(100dvh - 250px);overflow:auto}.event-history-modal table{min-width:960px;width:100%;border-collapse:collapse}.event-history-modal th{position:sticky;top:0;background:#17211f;color:#9fafab;text-align:left;font-size:13px;font-weight:500;padding:14px 12px}.event-history-modal td{padding:16px 12px;border-bottom:1px solid #ffffff0a;font-size:14px}.event-history-modal th.right,.event-history-modal td.right{text-align:right}.event-history-modal .event-pagination{padding-top:18px;padding-bottom:6px}.event-history-modal .event-pagination button:disabled{opacity:.35;cursor:default}.event-history-error{color:#f4818b;padding:10px 2px;font-size:14px}
.event-skip-confirmation{display:flex;align-items:center;gap:9px;margin:18px 0 0;font-size:14px;color:#d2dfd3;cursor:pointer;width:fit-content}.event-skip-confirmation input{width:17px;height:17px;margin:0;accent-color:#cce7a5}.event-review-loading{padding:30px 8px;text-align:center;color:#b0c2b5;font-size:15px}#event-review-content[aria-busy=true]{opacity:.65}.ticket-heading #event-confirmation-mode{display:flex;margin-left:auto}.ticket-heading>.icon-button{margin-left:0}.ticket-heading .ticket-quick-mode{color:#e2bc77;width:28px;height:28px;background:#e2bc770b}.ticket-quick-mode:hover{background:#e2bc771a}.ticket-quick-mode .icon{width:16px;height:16px}
.ticket-amount input{flex:1;width:0;padding-right:12px}.ticket-amount>span{position:static;right:auto;top:auto;transform:none;flex:0 0 auto}.ticket-amount .ticket-amount-range{flex:0 0 auto;padding-right:8px;color:#789183;font-size:13px;font-weight:400;pointer-events:none;font-variant-numeric:tabular-nums;white-space:nowrap}.ticket-amount .ticket-amount-range[hidden]{display:none}.ticket-amount input::placeholder{font-size:16px;font-weight:400;color:#789183}


.trading-workspace .order-ticket .direction{height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 4px;width:100%}.direction-title{display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.2}.direction-title>.icon{width:16px;height:16px}.direction-choice{display:grid;grid-template-rows:44px auto;gap:7px;min-width:0}.event-button-quote{display:block;width:100%;text-align:center;white-space:nowrap;font-size:12px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums}.choice-long .event-button-quote{color:#8bd9b5}.choice-short .event-button-quote{color:#f3a5b0}
.order-ticket .ticket-heading h2{font-size:14px;font-weight:550;letter-spacing:0;color:#becfc4}.order-ticket .ticket-balance-line{gap:5px;margin-top:0;min-height:32px}.order-ticket .ticket-balance-line>span{font-size:12px}.order-ticket .ticket-balance-number{flex:1;justify-content:flex-end;gap:4px}.order-ticket .ticket-balance-number>strong{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.order-ticket .ticket-balance-number>span{font-size:11px;flex-shrink:0}.order-ticket .ticket-balance-line .ticket-refresh,.order-ticket .ticket-balance-line .ticket-warning{width:20px;flex:0 0 20px;padding:2px}.order-ticket .ticket-transfer{font-size:12px;gap:3px;flex-shrink:0}.order-ticket .ticket-transfer>.icon{width:14px;height:14px}

html[lang="en"] .order-ticket .ticket-balance-number>strong{font-size:17px}

/* Prominent local brand assets; selection stays distinct from chart tools. */
.trading-workspace .tv-header .market-switch{display:flex;gap:5px;padding:4px;border:1px solid #303c40;border-radius:13px;background:#0e1519;flex-shrink:0}
.tv-header .market-switch>.market-choice{position:relative;min-width:132px;min-height:48px;padding:8px 13px;gap:10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#b3c1c7;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.tv-header .market-switch>.market-choice:hover{background:#202d2b;border-color:#42564a;color:#f0f6ed}
.tv-header .market-switch>.market-choice.active{background:#2a3c2d;border-color:#9fbd83;color:#f3fae9;box-shadow:inset 0 -2px 0 #b9d995}
.tv-header .market-switch>.market-choice:focus-visible{outline:2px solid #d0edb0;outline-offset:3px}
.market-choice .market-coin{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;overflow:hidden}
.market-coin img{display:block;width:32px;height:32px;object-fit:contain}.market-coin.eth{background:#e7e8f6}.market-coin.eth img{width:17px;height:28px}
.tv-header .market-choice .market-pair{display:flex;align-items:baseline;gap:4px;white-space:nowrap;color:inherit}.market-pair>strong{font-size:17px;font-weight:650;letter-spacing:.1px}.market-pair>span{font-size:11px;color:#899e9f;font-weight:400}.market-choice.active .market-pair>span{color:#bccdb0}
@media(max-width:1250px){.trading-workspace .tv-header .market-switch{gap:4px;padding:3px}.tv-header .market-switch>.market-choice{min-width:116px;min-height:46px;padding:7px 9px;gap:8px}.market-pair>strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.tv-header .market-switch>.market-choice{transition:none}}

/* Single-line trade ledger: labels live in headers, not under each value. */
.event-ledger-row td{white-space:nowrap;vertical-align:middle;font-size:13px!important}
.desk-records .event-ledger-row td,.event-history-modal .event-ledger-row td{padding-top:7px;padding-bottom:7px}
.event-row-identity,.event-row-symbol,.event-row-time{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;vertical-align:middle}
.event-row-identity>strong,.event-row-symbol>strong{font-weight:600}.event-row-account{display:inline-grid;place-items:center;min-width:22px;height:24px;padding:0 5px;border-radius:5px;background:#ffffff08;color:#adc0b4;font-size:12px;font-weight:550}
.event-row-symbol>span{font-size:13px}.event-row-time>span{font-size:13px;color:#9bafa5;padding-left:8px;border-left:1px solid #34423c}
.event-ledger-row .event-price-path{grid-template-columns:100px 14px 100px 78px;gap:5px;font-size:13px;line-height:1.4}
.event-ledger-row .event-bp{font-size:12px}.event-ledger-row .event-result{padding:4px 8px;font-size:13px}
.event-ledger-row .position-dial,.desk-records .event-ledger-row .position-dial{width:42px;height:42px;padding:3px}.event-ledger-row .position-dial strong{font-size:11px;line-height:1}.event-ledger-row .position-dial.long-clock strong{font-size:9px}.event-ledger-row .position-dial .icon{width:16px;height:16px}.desk-records .event-ledger-row .event-countdown{min-width:42px}
.desk-records table{min-width:1080px}.event-history-modal table{min-width:1080px}

/* Shared column geometry keeps prices, change and their headings aligned. */
.event-price-header .event-price-heading,.event-ledger-row .event-price-path{display:inline-grid;grid-template-columns:102px 104px 100px;gap:14px;align-items:center;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums;white-space:nowrap}
.event-price-header .event-price-heading{font-size:12px;font-weight:500;color:#8fa49e;line-height:1.4}
.event-ledger-row .event-price-path{font-size:13px;line-height:1.5}.event-ledger-row .event-price-path>span:first-child{color:#bac9c7}.event-ledger-row .event-price-path>strong{font-weight:600}
.event-ledger-row .event-bp{display:inline-grid;grid-template-columns:minmax(40px,1fr) 16px;align-items:center;gap:5px;justify-self:stretch;border-radius:5px;padding:3px 6px;text-align:right;font-size:12px;line-height:1.5;font-weight:500}.event-mood{display:inline-block;width:16px;font-size:14px;line-height:1;text-align:center}
.event-ledger-row .event-bp.positive{background:#52d6a80c}.event-ledger-row .event-bp.negative{background:#f4818b0c}.event-ledger-row .event-bp.neutral{color:#8da29a;background:transparent}

/* Copy trading shares the compact trading workspace typography. */
.copy-page-heading{margin-bottom:20px}.copy-page-heading h1{font-size:26px}.copy-page-actions{display:flex;gap:12px;align-items:center}.copy-page-actions .icon-button{width:36px;height:36px}.copy-nav{margin-bottom:20px}.copy-runtime-warning{display:flex;align-items:center;color:#e6b76d}.copy-runtime-warning>.icon{width:19px;height:19px}
.copy-market-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.copy-market-toolbar .search{width:280px}.copy-market-table th,.copy-market-table td,.copy-activity th,.copy-activity td{font-size:14px;padding:17px 20px;white-space:nowrap}.copy-market-table th,.copy-activity th{font-size:13px;font-weight:500;color:#96aaa4}.copy-market-table table,.copy-activity table{width:100%;border-collapse:collapse}.copy-market-table td,.copy-activity td{border-top:1px solid #ffffff09}.copy-project-identity{display:inline-flex;align-items:center;gap:13px}.copy-project-avatar{width:39px;height:39px;border:1px solid #4a5c40;background:#283b2a;border-radius:11px;color:#cee8ad;display:grid;place-items:center;font-size:20px}.copy-project-identity>span:last-child{display:flex;flex-direction:column;gap:5px}.copy-project-identity strong{font-size:15px;font-weight:600;color:#e4eee4}.copy-project-identity span>span{color:#8ea79b;font-size:13px}.button.compact{height:35px;min-height:35px;padding:6px 15px;font-size:14px}.copy-live{display:inline-flex;align-items:center;gap:7px;color:#9caaa4;font-size:14px}.copy-live:before{content:"";width:6px;height:6px;border-radius:50%;background:#62796d}.copy-live.online{color:#79d4a8}.copy-live.online:before{background:#79d4a8}
.copy-empty{padding:48px 24px;display:flex;align-items:center;justify-content:center;gap:20px;flex-direction:column;min-height:230px;font-size:15px;color:#9bafa6}.copy-empty>.icon{width:38px;height:38px;color:#b6d49d}.copy-empty h2{margin:0;font-size:19px;font-weight:550;color:#d5e4d4}.copy-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.copy-project-card,.copy-leader-project{padding:23px}.copy-project-card header,.copy-leader-project header{display:flex;justify-content:space-between;align-items:center;gap:15px}.copy-project-card h2,.copy-leader-project h2{font-size:20px;font-weight:600;margin:0;color:#e7f0e3}.copy-leader-project p{font-size:14px;color:#91a79b;margin:9px 0 0}.copy-bound-accounts{display:flex;gap:8px;flex-wrap:wrap;margin:21px 0}.copy-account-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #344b39;border-radius:7px;background:#1a2820;color:#c5d8bd;padding:7px 10px;font-size:14px}.copy-account-chip>.icon{width:15px;height:15px}.copy-rule-display{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap;padding:15px 0;border-top:1px solid #ffffff09}.copy-rule-display>strong{font-size:27px;color:#d8ecbd;font-weight:600}.copy-rule-display>span{font-size:14px;color:#99afa1}.copy-project-card footer,.copy-leader-project footer{display:flex;align-items:center;gap:12px;justify-content:flex-start;margin-top:18px}.copy-project-card footer>.text-button,.copy-leader-project footer>.text-button{margin-left:auto}.copy-leader-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:25px 0}.copy-leader-stats>div{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1px solid #304036;border-radius:9px;background:#15201a}.copy-leader-stats span{font-size:14px;color:#9eb1a4}.copy-leader-stats strong{font-size:29px;line-height:1.2;font-weight:600;color:#e0f1d2}.copy-leader-stats em{font-size:15px;font-weight:400;font-style:normal;color:#839b89}.copy-activity{margin-top:22px}.copy-activity>header{padding:18px 20px;border-bottom:1px solid #2b3831}.copy-activity h2{font-size:16px;margin:0;font-weight:600}
.copy-form{display:grid;gap:18px;margin-top:18px}.copy-form .field{font-size:14px;margin:0;display:flex;flex-direction:column;gap:9px}.copy-form input,.copy-form select,.copy-form textarea{font:inherit;font-size:15px;background:#101a16;border:1px solid #3a4e3e;border-radius:8px;padding:11px 12px;min-height:43px;color:#e4eee2;width:100%}.copy-form textarea{resize:vertical;line-height:1.5}.copy-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.copy-account-choices{display:grid;gap:9px}.copy-account-option{display:flex;align-items:center;gap:11px;min-height:58px;padding:10px 13px;border:1px solid #354a3a;background:#16231b;border-radius:9px;cursor:pointer}.copy-account-option:has(input:checked){border-color:#a6c985;background:#293e2b}.copy-account-option input{width:17px;height:17px;min-height:17px;accent-color:#cce7a5;padding:0;margin:0;flex-shrink:0}.copy-account-option>strong{font-size:15px;font-weight:550;flex:1}.copy-account-option>span:last-child{font-size:13px;color:#98aea0}.copy-account-slot{display:grid;place-items:center;width:29px;height:29px;border-radius:6px;background:#2c4230;color:#cde5b8;font-size:14px;font-weight:600}.copy-account-option.unavailable{opacity:.5;cursor:not-allowed}.copy-follow-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.copy-follow-heading>strong{font-size:20px;color:#d8e9ca}.copy-follow-heading>span{font-size:14px;color:#8fa69a}.copy-terms{border:1px solid #314339;border-radius:8px;padding:12px 14px;margin:21px 0 16px;color:#b3c8b6;font-size:14px}.copy-terms summary{cursor:pointer}.copy-terms article{max-height:250px;overflow:auto;line-height:1.75;padding:8px 3px}.copy-terms h3{font-size:15px;color:#d2e2cb;margin:14px 0 5px}.copy-terms p{font-size:14px!important;color:#a5b9ac;margin:0 0 10px}
@media(max-width:1200px){.copy-project-grid{grid-template-columns:1fr}.copy-market-table th,.copy-market-table td{padding:15px 14px}.copy-leader-stats{gap:10px}.copy-leader-stats>div{padding:14px}}
.folo-profile-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(400px,1.4fr);gap:20px;max-width:1160px}.folo-profile-hero{padding:34px 30px;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:280px}.folo-profile-avatar{height:96px;width:96px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#34472d;color:#d9efc5;font-size:36px;flex-shrink:0}.folo-profile-avatar img,.folo-sidebar-avatar img{width:100%;height:100%;object-fit:cover}.folo-profile-hero h2{font-size:25px;margin-top:19px;max-width:100%;overflow-wrap:anywhere}.folo-profile-uid{display:flex;align-items:center;gap:7px;color:#a5b8a8;font-size:13px;margin-top:8px}.folo-profile-uid .icon{width:13px;height:13px}.folo-profile-bio{font-size:14px;color:#b0c0b5;line-height:1.8;margin-top:20px;overflow-wrap:anywhere}.folo-empty-bio{margin-top:17px}.folo-profile-hero>.badge{margin-top:14px}.folo-profile-info{padding:28px 30px}.folo-profile-info>header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:27px}.folo-profile-info h2{font-size:17px}.folo-profile-info dl{margin:0}.folo-profile-info dl>div{display:flex;justify-content:space-between;gap:25px;margin:22px 0;font-size:14px}.folo-profile-info dt{color:#94a69a;flex-shrink:0}.folo-profile-info dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.folo-uid-value{font-family:ui-monospace,monospace;letter-spacing:.5px}.folo-profile-funds,.folo-profile-membership{padding:27px 30px;min-height:143px}.folo-profile-funds>span,.folo-profile-membership>div>span{color:#9eb09f;font-size:14px;display:block}.folo-profile-funds strong{display:block;color:#d1edb9;font-size:33px;margin-top:10px;font-variant-numeric:tabular-nums;font-weight:550}.folo-profile-funds em{font-size:13px;font-style:normal;margin-left:10px;color:#a0b19e;letter-spacing:.2px}.folo-profile-membership{display:flex;justify-content:space-between;align-items:center;gap:20px}.folo-profile-membership strong{font-size:24px;display:block;margin-top:10px;font-weight:550}.folo-member-price,.folo-member-expiry{color:#b7c6b1;font-size:13px;text-align:right}.folo-editor-photo{display:flex;align-items:center;gap:24px;margin-bottom:30px}.folo-editor-photo>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.folo-profile-editor .field{font-size:14px;margin-bottom:23px}.folo-profile-editor .field input{font-size:15px;min-height:45px}.folo-profile-empty{padding:45px;display:grid;justify-items:center;gap:22px}@media(max-width:1200px){.folo-profile-grid{grid-template-columns:minmax(250px,.9fr) minmax(340px,1.2fr);gap:16px}.folo-profile-hero,.folo-profile-info,.folo-profile-funds,.folo-profile-membership{padding:25px}.folo-profile-membership{align-items:flex-start;flex-direction:column;gap:14px}}

.folo-trader-badge{color:#e9c16f;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:none;vertical-align:middle}.folo-trader-badge svg{width:100%;height:100%;display:block}.folo-profile-hero .folo-profile-name{display:flex;align-items:center;justify-content:center;gap:8px}.folo-profile-name>span:first-child{min-width:0;overflow-wrap:anywhere}.signed-in .folo-sidebar-name{display:flex;align-items:center;gap:5px;min-width:0}.folo-sidebar-name>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folo-sidebar-name .folo-trader-badge{width:17px;height:17px}

.sim-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-top:-10px;margin-bottom:24px}.sim-tabs button{font-size:15px;color:var(--muted);padding:17px 1px;border-bottom:2px solid transparent}.sim-tabs button.active{color:#d4ebbc;border-color:#bcdba0}.sim-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.sim-periods{display:flex;background:#111b1d;border:1px solid #2d3e37;border-radius:9px;padding:4px;gap:3px}.sim-periods button{padding:8px 14px;font-size:14px;border-radius:6px;color:#8fa49a}.sim-periods button.active{background:#2c402e;color:#e1f0cd}.sim-filters{display:flex;gap:9px;flex:1;justify-content:flex-end}.sim-filters select,.sim-filters input{height:40px;border:1px solid #33453f;border-radius:8px;background:#131e20;font-size:14px;padding:8px 11px;color:#bccbbf}.sim-filters input{width:180px;min-width:80px}.sim-source{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;color:#91a39a;font-size:13px}.sim-source>span:first-child{display:flex;align-items:center;gap:7px}.sim-source i{width:6px;height:6px;border-radius:50%;background:#bc9962}.sim-source .sim-online i{background:#88c59b}.sim-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sim-project{padding:22px 22px 18px;min-width:0;border-radius:14px}.sim-project>header{display:flex;align-items:center;gap:12px}.sim-avatar{width:44px;height:44px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:#293c32;color:#c9e2b4;flex-shrink:0}.sim-avatar img{width:100%;height:100%;object-fit:cover}.sim-avatar .icon{width:25px;height:25px}.sim-project>header>div{flex:1;min-width:0}.sim-project h2{display:flex;align-items:center;gap:5px;font-size:16px;margin:0;font-weight:600;min-width:0}.sim-project h2 button{font:inherit;text-align:left;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e5ede2}.sim-project h2 .folo-trader-badge{width:17px;height:17px}.sim-project-tags{display:flex;align-items:center;gap:6px;margin-top:6px}.sim-grade{display:inline-flex;align-items:center;justify-content:center;min-width:24px;background:#304438;color:#c3dcb5;border-radius:4px;padding:1px 6px;font-size:12px}.sim-grade.top{background:#55452c;color:#eaca87}.sim-project-tags .badge{font-size:11px;padding:1px 6px}.sim-rank{align-self:flex-start;font-size:12px;color:#7e9488;font-variant-numeric:tabular-nums}.sim-main-stat{margin-top:25px}.sim-main-stat>span{font-size:12px;color:#9aad9f}.sim-main-stat strong{display:block;font-size:33px;font-weight:550;letter-spacing:-.8px;margin-top:4px;font-variant-numeric:tabular-nums}.sim-spark{display:block;width:100%;height:58px;margin:12px 0 18px;color:#9bb19d;overflow:visible}.sim-spark.positive{color:#8cd5ae}.sim-spark.negative{color:#ec8c93}.sim-card-stats{display:grid;grid-template-columns:.9fr 1.2fr .7fr;gap:9px;padding:18px 0;border-top:1px solid #2a3932;border-bottom:1px solid #2a3932;font-variant-numeric:tabular-nums}.sim-card-stats>div{display:flex;flex-direction:column;gap:8px;min-width:0}.sim-card-stats span{font-size:12px;color:#96aa9d}.sim-card-stats strong{font-size:15px;font-weight:550;white-space:nowrap}.sim-products{display:flex;align-items:center;gap:7px;padding-top:17px;font-size:12px;color:#acbcaa;flex-wrap:wrap}.sim-products>span{background:#22312a;border-radius:4px;padding:3px 6px}.sim-products>span:last-child{margin-left:auto;background:none;padding-right:0;color:#90a392}.sim-project footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.sim-project footer>span{font-size:12px;color:#8ca08e}.sim-project footer .button{font-size:13px;min-height:34px;padding:7px 13px}.sim-pagination{display:flex;justify-content:center;align-items:center;gap:22px;margin:26px 0 0;color:#9aac9b;font-size:14px}.sim-empty{padding:42px 25px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;min-height:200px}.sim-project-grid>.sim-empty{grid-column:1/-1}.sim-follow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sim-follow-grid>.sim-empty{grid-column:1/-1}.sim-subscription{padding:25px}.sim-subscription header{display:flex;justify-content:space-between;align-items:center;gap:15px}.sim-subscription h2{font-size:18px;font-weight:550;margin:0}.sim-sub-balance{margin:25px 0}.sim-sub-balance>span{display:block;color:#9eaf9e;font-size:13px}.sim-sub-balance>strong{font-size:30px;font-weight:550;display:block;margin-top:7px}.sim-sub-balance em{font-size:13px;font-style:normal;color:#99ad9a}.sim-rule{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#b6c8b0}.sim-rule>strong{font-size:18px;color:#d4e3c9}.sim-rule>span:last-child{margin-left:auto;color:#8fa08b}.sim-sub-stats{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #2c3c31;margin-top:21px;padding-top:19px;font-size:13px;color:#9daf9c}.sim-sub-stats strong{font-weight:550;margin-left:7px}.sim-subscription footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.sim-positions{margin-top:25px}.sim-positions>header{padding:20px 23px;border-bottom:1px solid var(--line)}.sim-positions h2{font-size:17px;font-weight:550;margin:0}.sim-positions table,.sim-detail table{width:100%;border-collapse:collapse;white-space:nowrap}.sim-positions th,.sim-positions td,.sim-detail th,.sim-detail td{text-align:left;padding:13px 18px;border-bottom:1px solid #29382f;font-size:13px;font-variant-numeric:tabular-nums}.sim-positions th,.sim-detail th{color:#92a58e;font-weight:400}.sim-follow-dialog>h3{margin:0 0 12px;font-size:20px;font-weight:550}.sim-form{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.sim-form .field{font-size:14px;margin:0}.sim-form .field:first-child{grid-column:1/-1}.sim-initial{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin:20px 0;border-top:1px solid #2b3c30;border-bottom:1px solid #2b3c30;font-size:14px;color:#a9bfa2}.sim-initial strong{color:#d4e5c4;font-size:18px}.sim-detail header{display:flex;justify-content:space-between;align-items:center;gap:15px}.sim-detail h3{font-size:21px;margin:0}.sim-spark.large{height:160px;margin:28px 0}.sim-detail-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#95ab90;padding-bottom:19px}.sim-detail .table-wrap{max-height:340px;overflow:auto}.sim-detail th,.sim-detail td{padding:12px 10px}@media(max-width:1350px){.sim-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sim-filters input{width:156px}}@media(max-width:1120px){.sim-project{padding:19px}.sim-main-stat strong{font-size:30px}.sim-card-stats{gap:6px}.sim-card-stats strong{font-size:14px}.sim-follow-grid{grid-template-columns:1fr}}

.sim-filters{flex:0 1 auto}.sim-filters select{width:130px;flex:0 0 130px}.sim-filters input{width:190px;flex:0 1 190px}.sim-main-stat{margin-top:20px}.sim-main-stat strong{font-size:31px;line-height:1.2}.sim-spark{height:48px;margin:12px 0 16px}.sim-card-stats{padding:15px 0}.sim-card-stats span,.sim-card-stats strong{line-height:1.25}.sim-products{padding-top:14px}

.sim-form .field>span{display:block;width:100%;text-align:left;margin:0}

.sim-threshold{font-size:13px;color:#a6b798;white-space:nowrap}.sim-filters{margin-left:auto;flex-wrap:wrap}.sim-filters select{width:112px;flex-basis:112px}.sim-filters input{width:170px;flex-basis:170px}.sim-metric-head,.sim-score-line{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.sim-metric-head{color:#9bad99;font-size:12px}.sim-main-stat .sim-score{color:#dcebc9}.sim-score-line>span{font-size:18px;font-weight:550;font-variant-numeric:tabular-nums}.sim-rank.pending{font-size:12px;color:#a5a489}.sim-ranking-rules h3{font-size:16px;margin:21px 0 9px;font-weight:550}.sim-ranking-rules h3:first-child{margin-top:0}.sim-ranking-rules p{font-size:14px;line-height:1.9;color:#a9bda4;margin:8px 0}.sim-detail-ranking{display:flex;justify-content:space-between;gap:20px;margin-top:20px;color:#d1e5bb;font-size:15px}.sim-detail-ranking>span:last-child{color:#99ae92;font-size:13px}
.sim-strategy-tag{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid #3b4d46;border-radius:4px;font-size:11px;color:#bacabf;line-height:1.4;white-space:nowrap}.sim-strategy-tag.variable{color:#b5cfec;border-color:#364c61;background:#24344355}.sim-strategy-tag.fixed{color:#bacabf;background:#26382c55}.sim-project-tags{flex-wrap:wrap;row-gap:4px}
.modal:has(.sim-detail){max-width:1080px;background:#111a1e;border-color:#354740}.modal:has(.sim-detail)>.modal-body{padding:22px 26px 24px}.modal:has(.sim-detail)>header{padding:18px 26px}.modal:has(.sim-detail)>header h2{font-size:17px;margin:0}.sim-detail-header{display:flex!important;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.sim-detail-header h3{font-size:22px;margin:0 0 10px!important}.sim-detail-header .sim-detail-ranking{display:flex;flex-direction:column;gap:7px;text-align:right;margin:0;padding:0;border:0;font-size:13px}.sim-detail-ranking>span:last-child{color:var(--muted);font-size:12px}
.sim-performance{border:1px solid #2a3b35;border-radius:13px;background:#10191b;padding:18px 22px 14px}.sim-performance-top{display:flex;justify-content:space-between;align-items:center;gap:18px}.sim-performance-top>div:first-child>span{display:block;color:#9db1a4;font-size:13px}.sim-performance-top strong{display:block;font-size:34px;font-weight:600;letter-spacing:-.7px;margin-top:8px;font-variant-numeric:tabular-nums}.sim-detail-periods{display:flex;padding:3px;gap:3px;border:1px solid #34483e;border-radius:8px;background:#15211c}.sim-detail-periods button{padding:7px 13px;border-radius:5px;color:#99ae9f;font-size:13px;white-space:nowrap}.sim-detail-periods button.active{background:#304431;color:#e5f4d0}.sim-performance-stats{display:flex;gap:28px;flex-wrap:wrap;margin:13px 0 17px;font-size:13px;color:#90a69a}.sim-performance-stats strong{font-weight:550;margin-left:8px;color:#d7e6d7;font-variant-numeric:tabular-nums}.sim-performance-stats strong.positive{color:#7ed7b1}.sim-performance-stats strong.negative{color:#ee8a91}.sim-chart-legend{display:flex;gap:20px;justify-content:flex-end;color:#a8bbad;font-size:12px;margin-bottom:7px}.sim-chart-legend>span{display:flex;align-items:center;gap:7px}.sim-chart-legend i.line{width:16px;height:2px;background:#7ed7b1}.sim-chart-legend i.bars{width:8px;height:10px;background:#638f78;border-radius:1px}
.sim-performance-chart{position:relative;outline:0;border-radius:6px}.sim-performance-chart:focus-visible{outline:1px solid #8bb37b;outline-offset:3px}.sim-performance-chart svg{display:block;width:100%;height:clamp(185px,26vh,270px);overflow:visible;touch-action:pan-y}.sim-performance-chart svg [hidden]{display:none}.sim-chart-grid line{stroke:#2b3a32;stroke-opacity:.6;stroke-dasharray:3 5;stroke-width:1}.sim-chart-grid text,.sim-chart-label{fill:#829a8c;font-size:12px;font-family:inherit}.sim-zero{stroke:#3d5145;stroke-width:1}.sim-pnl-line{fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}.sim-daily-bar{fill:#597466}.sim-daily-bar.positive{fill:#65b795;opacity:.65}.sim-daily-bar.negative{fill:#cf6d7a;opacity:.65}.sim-monthly-bar{fill:#4a6255}.sim-monthly-bar.positive{fill:#65bd98}.sim-monthly-bar.negative{fill:#db7885}.sim-crosshair{stroke:#a4b69f;stroke-width:1;stroke-dasharray:4 4;pointer-events:none}.sim-crosspoint{stroke:#10191b;stroke-width:2;pointer-events:none}.sim-chart-tooltip{position:absolute;top:18px;z-index:2;pointer-events:none;padding:11px 14px;border:1px solid #465c4a;background:#15221ff5;box-shadow:0 8px 20px #0005;border-radius:8px;min-width:158px;font-size:12px;line-height:1.8;color:#b2c4b5;white-space:nowrap;font-variant-numeric:tabular-nums}.sim-chart-tooltip>strong{display:block;font-size:13px;color:#e2ecdc;margin-bottom:3px}.sim-chart-tooltip b{font-weight:550;margin-left:10px}.sim-chart-tooltip>span{display:block;color:#91a899}.sim-monthly-heading{border-top:1px solid #2b3b33;margin:16px 0 10px;padding-top:20px;font-size:14px;font-weight:550}.sim-monthly-heading span{float:right;color:#81988a;font-size:12px;font-weight:400}.sim-performance-dates{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#8aa291;margin-top:14px}.sim-trade-history{margin-top:20px;border:1px solid #2c3b35;border-radius:10px;overflow:hidden}.sim-trade-history>summary{cursor:pointer;padding:15px 17px;font-size:14px;color:#c4d4c3;list-style:none;display:flex;justify-content:space-between;align-items:center}.sim-trade-history>summary::after{content:'⌄';margin-left:15px}.sim-trade-history[open]>summary::after{content:'⌃'}.sim-trade-history>summary>span{margin-left:auto;color:#8b9e8e;font-size:12px}.sim-trade-history th,.sim-trade-history td{font-size:12px!important;padding:11px 14px!important;white-space:nowrap}.sim-trade-history .table-wrap{max-height:280px;overflow:auto}.sim-performance-chart.monthly svg{height:clamp(100px,15vh,150px)}.sim-performance-chart.monthly .sim-chart-tooltip{top:0}
@media(max-width:1200px){.modal:has(.sim-detail){max-width:calc(100vw - 70px)}.sim-performance{padding:18px 16px 14px}.sim-detail-header h3{font-size:20px}.sim-performance-top strong{font-size:30px}.sim-performance-top{gap:12px}.sim-detail-periods button{padding:7px 10px}.sim-chart-grid text,.sim-chart-label{font-size:13px}}
.sim-project[data-sim-card]{cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.sim-project[data-sim-card]:hover{border-color:#506b55;background:#15201e}.sim-project[data-sim-card]:focus-visible{outline:2px solid #b5d698;outline-offset:3px}
.sim-avatar{width:52px;height:52px;border-radius:50%;background:#263431;color:#91a29a}.sim-project h2{font-size:17px;line-height:1.4}.sim-project>.sim-project-tags{margin-top:14px;gap:7px}.sim-project footer{margin-top:17px}.sim-project footer .sim-products{padding:0;gap:5px;flex:1;min-width:0}.sim-project footer .sim-products>span:last-child{margin-left:0}.sim-identity-meta{display:flex;align-items:center;gap:12px;margin-top:7px;color:#9dadab;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.35;flex-wrap:wrap}.sim-identity-meta>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.sim-identity-meta svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sim-identity-meta b{color:#c5d0cb;font-weight:500}.sim-identity-meta i{font-style:normal;color:#84978d}.sim-automated{background:#253b3c;color:#b3d2cc;letter-spacing:0}.sim-detail-identity{display:flex;align-items:center;gap:15px;min-width:0}.sim-detail-identity .sim-avatar{width:62px;height:62px}.sim-detail-identity h3{line-height:1.3}.sim-detail-identity .sim-project-tags{margin-top:8px}.folo-empty-avatar{width:70%;height:70%;display:block;color:#8c9d98}.avatar:has(.folo-empty-avatar),.folo-profile-avatar:has(.folo-empty-avatar){background:#263431;color:#8c9d98}.sim-project .button:disabled{opacity:.5;cursor:not-allowed}
.q-plan-badge{display:inline-flex;align-items:center;gap:4px;color:#e0c481;background:#55472c70;border:1px solid #8b744d66;cursor:pointer;line-height:1.3}.q-plan-badge b{font-family:Arial,sans-serif;font-size:12px;font-weight:700}.q-plan-badge:hover{border-color:#c6a664;background:#5e4c2e}.q-plan-article{display:grid;gap:20px;padding:8px 0}.q-plan-article section{margin:0}.q-plan-article h3{font-size:15px;line-height:1.5;margin:0 0 7px;color:#dde7d8}.q-plan-article p{font-size:14px;line-height:1.85;color:#a9bab2;margin:0}.q-plan-version{font-size:12px;color:#7e958b}.q-plan-project{display:flex;flex-direction:column;gap:7px;padding:0 0 20px;margin-bottom:12px;border-bottom:1px solid var(--line)}.q-plan-project strong{font-size:20px}.q-plan-project span{font-size:13px;color:#aabcae}.q-plan-optin{padding:17px 0;border-top:1px solid var(--line);margin-top:20px}.q-plan-optin>.connection-consent{margin:0}.q-plan-optin [hidden]{display:none!important}.q-plan-optin .field{margin-top:18px}.q-plan-optin .copy-terms{margin:16px 0}
.modal:has(.q-plan-article):not(:has(.copy-form)){max-width:760px}
.sim-detail-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:22px 0 20px;padding:18px 0;border-top:1px solid #263a2e;border-bottom:1px solid #263a2e}.sim-detail-stats>div{min-width:0;display:flex;flex-direction:column;gap:9px}.sim-detail-stats span{color:#90a79a;font-size:12px;white-space:nowrap}.sim-detail-stats strong{font-size:18px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.sim-detail-stats em{font-style:normal;color:#8ea497;font-size:11px;margin-left:5px}
.sim-style-panel{border:1px solid #2a3b35;border-radius:13px;background:#10191b;padding:20px 22px;margin-top:20px}.sim-style-panel>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px}.sim-style-panel h4{font-size:14px;font-weight:550;margin:0}.sim-style-panel>header>span{font-size:12px;color:#819b8a}.sim-style-content{display:grid;grid-template-columns:220px minmax(0,1fr);gap:34px;align-items:center}.sim-donut{width:210px;height:210px;position:relative}.sim-donut svg{display:block;width:100%;height:100%;overflow:visible}.sim-donut-segment{cursor:pointer;transition:opacity .12s,stroke-width .12s}.sim-donut-segment.selected{stroke-width:30}.sim-donut-label{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;pointer-events:none}.sim-donut-label strong{font-size:26px;color:#d9ead7;font-weight:550;font-variant-numeric:tabular-nums}.sim-donut-label span{font-size:12px;color:#95ae9c}.sim-distribution-legend{display:grid;grid-template-rows:repeat(4,auto);grid-auto-flow:column;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:6px}.sim-distribution-item{display:grid;grid-template-columns:8px minmax(70px,1fr) auto 52px;align-items:center;gap:9px;text-align:left;min-width:0;padding:10px 8px;border:1px solid transparent;border-radius:7px;color:#bfd0c0;font-size:13px}.sim-distribution-item:hover,.sim-distribution-item.selected,.sim-distribution-item:focus-visible{border-color:#3a5342;background:#20302766;outline:0}.sim-distribution-item.zero{color:#688072}.sim-distribution-item i{width:7px;height:7px;border-radius:50%;background:var(--product-color)}.sim-distribution-item.zero i{opacity:.45}.sim-distribution-item strong{font-weight:550;font-variant-numeric:tabular-nums}.sim-distribution-item em{font-style:normal;font-size:12px;text-align:right;color:#96ad9c;font-variant-numeric:tabular-nums}.sim-style-empty{min-height:150px;display:grid;place-items:center;color:#8fa291;font-size:13px}
@media(max-width:1200px){.sim-detail-stats{gap:10px}.sim-detail-stats strong{font-size:16px}.sim-style-content{grid-template-columns:180px minmax(0,1fr);gap:18px}.sim-donut{width:175px;height:175px}.sim-distribution-legend{column-gap:14px}.sim-distribution-item{grid-template-columns:7px minmax(65px,1fr) auto 44px;gap:6px;padding:9px 5px;font-size:12px}.sim-distribution-item em{font-size:11px}}
.modal:has(.sim-detail)>.modal-body{padding:16px 22px 18px}.modal:has(.sim-detail)>header{padding:14px 22px}.sim-detail-header{margin-bottom:14px}.sim-detail-header h3{font-size:20px;margin-bottom:7px!important}.sim-performance{padding:16px 18px}.sim-performance-top strong{font-size:30px;margin-top:5px}.sim-detail-stats{margin:15px 0;padding:13px 0;gap:12px}.sim-detail-stats>div{gap:7px}.sim-detail-stats strong{font-size:17px}
.sim-detail-analytics{display:grid;grid-template-columns:minmax(0,1fr) 232px;gap:20px;align-items:start}.sim-detail-charts{min-width:0}.sim-detail-charts .sim-chart-legend{margin:0 0 6px}.sim-detail-charts .sim-performance-chart svg{height:clamp(180px,23vh,230px)}.sim-detail-charts .sim-performance-chart.monthly svg{height:104px}.sim-detail-charts .sim-chart-grid text,.sim-detail-charts .sim-chart-label{font-size:16px}.sim-detail-charts .sim-monthly-heading{padding-top:13px;margin:10px 0 5px;font-size:13px}.sim-detail-analytics .sim-style-panel{padding:13px 12px;margin:0;min-width:0;background:#13201966}.sim-detail-analytics .sim-style-panel>header{margin-bottom:7px;gap:6px}.sim-detail-analytics .sim-style-panel h4{font-size:13px}.sim-style-toggle{font-size:11px;color:#9db69b;padding:5px;border-radius:5px}.sim-style-toggle:hover{background:#2b3e2a}.sim-detail-analytics .sim-style-content{display:flex;flex-direction:column;gap:8px}.sim-detail-analytics .sim-donut{width:122px;height:122px}.sim-detail-analytics .sim-donut-label strong{font-size:19px}.sim-detail-analytics .sim-donut-label span{font-size:10px}.sim-detail-analytics .sim-distribution-legend{display:flex;flex-direction:column;gap:3px;width:100%}.sim-detail-analytics .sim-distribution-item{grid-template-columns:7px minmax(60px,1fr) auto 43px;padding:7px 4px;gap:5px;font-size:11px}.sim-detail-analytics .sim-distribution-item em{font-size:11px}.sim-trade-history{margin-top:14px}.sim-trade-history>summary{padding:12px 16px}
@media(max-width:1200px){.sim-detail-analytics{grid-template-columns:minmax(0,1fr) 215px;gap:14px}.sim-detail-stats strong{font-size:16px}.sim-detail-charts .sim-performance-chart svg{height:190px}.sim-detail-charts .sim-performance-chart.monthly svg{height:95px}}
.sim-chart-stack{display:flex;flex-direction:column;gap:9px}.sim-chart-pane{min-width:0}.sim-chart-pane:not(:first-child){padding-top:9px;border-top:1px solid #283a2f}.sim-chart-pane>header{padding:0 6.4%;min-height:21px;margin-bottom:3px;display:flex;align-items:center;justify-content:space-between;gap:10px}.sim-chart-pane h4{margin:0;font-size:12px;font-weight:550;color:#afc4b1;white-space:nowrap}.sim-linked-value{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-detail-charts .sim-chart-pane.pnl .sim-performance-chart svg{height:148px}.sim-detail-charts .sim-chart-pane.daily .sim-performance-chart svg{height:86px}.sim-detail-charts .sim-chart-pane.monthly .sim-performance-chart svg{height:102px}.sim-chart-time-grid{stroke:#2c3c32;stroke-width:1;stroke-dasharray:2 5;stroke-opacity:.55}.sim-chart-pane .sim-daily-bar.selected,.sim-chart-pane .sim-monthly-bar.selected{stroke:#e0edcf;stroke-width:1.4;opacity:1}.sim-chart-pane .sim-chart-tooltip{top:6px;min-width:185px}.sim-chart-pane .sim-chart-tooltip b{float:right}.sim-chart-pane .sim-chart-grid text,.sim-chart-pane .sim-chart-label{font-variant-numeric:tabular-nums}
@media(max-width:1200px){.sim-detail-charts .sim-chart-pane.pnl .sim-performance-chart svg{height:138px}.sim-detail-charts .sim-chart-pane.daily .sim-performance-chart svg{height:78px}.sim-detail-charts .sim-chart-pane.monthly .sim-performance-chart svg{height:94px}.sim-linked-value{font-size:10px}}
.sim-grade em{font-style:normal;font-size:10px;margin-left:4px;font-weight:400}.sim-measured-grade{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:2px 6px;border-radius:4px;border:1px solid #39483e;color:#9eb29f;white-space:nowrap}

/* Public portfolio tiers use window win rate, never internal research roles. */
/* Public win-rate tiers: S iridescent, A gold, B silver. Static finishes keep the grid light. */
.sim-project.sim-frame-prism{
 --tier:#bbaeff;--frame-light:#e0f6ff;--frame-mid:#9b8ee9;--frame-body:#1c2430;--frame-glow:#9b8ee91c;
 --frame-edge:conic-gradient(from 225deg at 50% 50%,#b89cff 0deg,#6fe8ef 62deg,#d9faff 95deg,#9693ff 160deg,#ec8fc3 225deg,#f3c58f 280deg,#b89cff 360deg);
 --frame-rank:linear-gradient(130deg,#353653,#222f3f);--frame-rank-ink:#ede8ff;
}
.sim-project.sim-frame-gold{
 --tier:#f2d286;--frame-light:#fff0b9;--frame-mid:#d6ab55;--frame-body:#28251b;--frame-glow:#d6ab5512;
 --frame-edge:linear-gradient(125deg,#8c6026 0%,#c48e38 12%,#fff0b9 26%,#d7ae56 41%,#926525 57%,#f3d995 78%,#bb8530 100%);
 --frame-rank:linear-gradient(130deg,#fae6a9,#d9ac51);--frame-rank-ink:#3b2c0f;
}
.sim-project.sim-frame-silver{
 --tier:#d7e7f4;--frame-light:#f4fbff;--frame-mid:#a9bfd0;--frame-body:#202a30;--frame-glow:#a9bfd00d;
 --frame-edge:linear-gradient(125deg,#688297 0%,#a3bacb 12%,#f4fbff 26%,#b9ccda 41%,#6d879b 57%,#e6f2fa 78%,#91aabe 100%);
 --frame-rank:linear-gradient(130deg,#f0f8ff,#b8cfdf);--frame-rank-ink:#233949;
}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver){
 position:relative;isolation:isolate;overflow:hidden;border:4px solid transparent;border-radius:16px;
 background:linear-gradient(150deg,var(--frame-body),#111b1c 50%,#141e1d) padding-box,var(--frame-edge) border-box;
 box-shadow:0 8px 22px #0003,0 0 0 1px #0007,0 0 20px var(--frame-glow),inset 0 1px 0 #ffffff14;
 transition:transform .18s ease,box-shadow .18s ease;
}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver)::before{
 content:"";position:absolute;inset:4px;border-radius:10px;pointer-events:none;z-index:0;
 border:1px solid color-mix(in srgb,var(--frame-mid) 20%,transparent);
 background:linear-gradient(90deg,var(--frame-light),transparent) left top/35px 1px no-repeat,linear-gradient(180deg,var(--frame-light),transparent) left top/1px 35px no-repeat,linear-gradient(270deg,var(--frame-light),transparent) right bottom/35px 1px no-repeat,linear-gradient(0deg,var(--frame-light),transparent) right bottom/1px 35px no-repeat;
 opacity:.7;
}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver)::after{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
 background:radial-gradient(ellipse at 15% 0%,color-mix(in srgb,var(--frame-light) 9%,transparent),transparent 48%);
}
.sim-project.sim-frame-prism::after{background:radial-gradient(ellipse at 0% 0%,#79d9eb0b,transparent 45%),radial-gradient(ellipse at 100% 100%,#d989cc09,transparent 45%)}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver)>*{position:relative;z-index:1}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver) header>.sim-rank{
 color:var(--frame-rank-ink);background:var(--frame-rank);border:1px solid color-mix(in srgb,var(--frame-light) 45%,var(--frame-mid));
 padding:3px 8px;border-radius:6px;font-size:12px;line-height:1.25;font-weight:700;box-shadow:inset 0 1px 0 #ffffff38,0 2px 6px #0003;
}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver) .sim-avatar{box-shadow:0 0 0 2px #111a1b,0 0 0 3px var(--frame-mid),0 3px 10px #0003}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver):hover{
 border-color:transparent;background:linear-gradient(150deg,var(--frame-body),#142020 50%,#172321) padding-box,var(--frame-edge) border-box;
 transform:translateY(-2px);box-shadow:0 13px 26px #0005,0 0 0 1px color-mix(in srgb,var(--frame-mid) 30%,transparent),0 0 24px var(--frame-glow),inset 0 1px 0 #ffffff24;
}
@media(prefers-reduced-motion:reduce){.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver){transition:none}.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver):hover{transform:none}}
.sim-toolbar .sim-filters{margin-left:auto}.sim-detail-ranking{align-items:center}.sim-detail-ranking>span:first-child{font-size:14px}
@media(max-width:1200px){.sim-toolbar{flex-wrap:wrap;row-gap:12px}.sim-toolbar .sim-filters{flex:1;justify-content:flex-end}.sim-toolbar .sim-filters input{min-width:130px;max-width:210px}}

.copy-readiness{display:flex;align-items:center;gap:12px;padding:15px 18px;margin:14px 0;border:1px solid #67583b;border-radius:12px;color:#e0c98e;font-size:14px}.copy-readiness svg{width:18px;height:18px;flex-shrink:0}.copy-readiness .button{margin-left:auto}.copy-term{padding:12px 0;color:var(--muted);font-size:14px}.copy-split{display:flex;justify-content:space-between;padding:12px 16px;background:#15221d;border-radius:10px}.copy-identity-name{margin-left:12px;color:var(--muted)}.copy-form .field{font-size:14px}.copy-market-table{margin-top:24px}.copy-market-table header{padding:20px}

.inbox-bell{position:relative;overflow:visible}.inbox-bell svg{width:21px;height:21px}.inbox-count{position:absolute;right:-4px;top:-4px;background:#e18c78;color:#131b18;min-width:18px;height:18px;line-height:18px;padding:0 4px;border-radius:9px;font-size:11px;font-weight:700}.inbox-count[hidden]{display:none}.inbox-toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #31413d}.inbox-toolbar>div{display:flex;gap:12px;align-items:center}.inbox-row{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:13px;align-items:start;width:100%;padding:20px 0;text-align:left;border:0;border-bottom:1px solid #293a35;background:transparent;color:inherit;cursor:pointer}.inbox-row strong{display:block;font-size:16px;font-weight:500}.inbox-row.unread strong{font-weight:650}.inbox-row:hover{background:#1c2923}.inbox-preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:470px;color:#9daea5;margin-top:7px;font-size:14px}.inbox-row time{color:#9daea5;font-size:13px;white-space:nowrap}.inbox-dot{width:6px;height:6px;border-radius:50%;margin-top:9px;background:transparent}.inbox-row.unread .inbox-dot{background:#c6e6aa}.inbox-empty{display:grid;gap:16px;justify-content:center;padding:65px 20px;color:#a6b6ad}.inbox-pagination{display:flex;gap:18px;justify-content:center;align-items:center;padding-top:20px}#inbox-detail h2{font-size:23px;margin:24px 0 12px}#inbox-detail time{color:#98aaa0;font-size:14px}#inbox-detail p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;margin:28px 0 12px}.inbox-toolbar .tabs{display:flex;gap:18px}.inbox-toolbar .tabs button{background:none;border:0;color:#98aaa0;font-size:15px;padding:8px 0}.inbox-toolbar .tabs .active{color:#d3edbc}

.copy-canonical-name{display:block;font-size:20px;font-weight:650;color:#dcebd5;padding:4px 0 10px;overflow-wrap:anywhere}

.copy-account-option.capacity-full{opacity:.45;cursor:not-allowed}.copy-account-option.capacity-full input{cursor:not-allowed}
.sim-follower-top{margin-top:14px;border:1px solid #2c3d32;border-radius:10px;overflow:hidden;background:#111d1780}.sim-follower-top>header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #2c3d32}.sim-follower-top h4{margin:0;font-size:14px;font-weight:600}.sim-follower-top>header>span{font-size:12px;color:#9cad9f}.sim-follower-top .table-wrap{max-height:318px;overflow:auto}.sim-follower-top table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.sim-follower-top th{position:sticky;top:0;background:#142019;text-align:left;font-weight:500;color:#91a799}.sim-follower-top th,.sim-follower-top td{padding:10px 16px;white-space:nowrap;border-bottom:1px solid #25352b}.sim-follower-top tr:last-child td{border-bottom:0}.sim-follower-top th:nth-last-child(-n+2),.sim-follower-top td:nth-last-child(-n+2){text-align:right}.sim-follower-top td:nth-child(2){color:#d8e5d7}.sim-follower-top td:nth-child(3){color:#99aea0}.sim-follower-rank{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;color:#93a599}.sim-follower-rank.rank-1{background:#d6ab5622;color:#eac773}.sim-follower-rank.rank-2{background:#b9c6d522;color:#d0dbe7}.sim-follower-rank.rank-3{background:#bf896122;color:#d5a681}.sim-follower-empty{text-align:center!important;color:#8ea497;padding:24px!important}
.sim-origin-badge{font-size:11px;color:#b6d7ad;border:1px solid #4f6943;background:#24341f;padding:3px 7px;border-radius:5px;white-space:nowrap}.sim-offer-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.sim-offer-label{font-size:12px;color:#c6d8bb;white-space:nowrap;line-height:1.4}.sim-detail-header .sim-offer-label{display:block;margin-top:8px}.sim-paid-offer{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:8px}.sim-paid-offer h3{margin:0}.sim-paid-offer>strong{font-size:21px;color:#d5e8bd}.sim-paid-offer>button{align-self:stretch;margin-top:8px}
.sim-project-description{margin:0 0 14px;color:#a8bfad;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}

/* Compact project grid: more cards within the desktop viewport. */
.production-content:has(.sim-project-grid){max-width:1600px;padding:22px 30px 30px}
.production-content:has(.sim-project-grid)>.page-heading{margin-bottom:12px}
.production-content:has(.sim-project-grid)>.sim-tabs{margin-bottom:12px}
.production-content:has(.sim-project-grid) .sim-toolbar{margin-bottom:10px}
.production-content:has(.sim-project-grid) .sim-source{margin-bottom:10px}
.sim-project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sim-project{padding:14px 14px 12px;display:flex;flex-direction:column}
.sim-project>header{gap:8px;align-items:center}
.sim-project .sim-avatar{width:38px;height:38px;flex:0 0 38px}
.sim-project h2{font-size:15px;line-height:1.35;gap:4px}
.sim-project h2 .folo-trader-badge{width:15px;height:15px;flex-shrink:0}
.sim-project .sim-identity-meta{gap:7px;row-gap:3px;margin-top:5px;font-size:11px}
.sim-project .sim-identity-meta svg{width:12px;height:12px}
.sim-project .sim-identity-meta>span{gap:3px}
.sim-project>.sim-project-tags{margin-top:8px;gap:5px;min-height:18px}
.sim-project .sim-main-stat{margin-top:9px}
.sim-project .sim-main-stat>span{font-size:11px;line-height:1.2}
.sim-project .sim-main-stat strong{font-size:26px;line-height:1.15;margin-top:3px;letter-spacing:-.5px}
.sim-project>.sim-spark{height:24px;margin:8px 0 12px;flex-shrink:0}
.sim-project .sim-card-stats{padding:8px 0;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}
.sim-project .sim-card-stats>div{gap:5px}
.sim-project .sim-card-stats span{font-size:11px;line-height:1.25}
.sim-project .sim-card-stats strong{font-size:13px;line-height:1.3;letter-spacing:-.2px}
.sim-project footer{gap:8px;margin-top:auto;padding-top:9px;min-height:43px}
.sim-project footer .button{font-size:12px;min-height:31px;padding:6px 10px}
.sim-project footer .sim-products{gap:4px;flex-wrap:wrap}
.sim-project footer .sim-products>span{font-size:10px}
.sim-project .sim-offer-actions{gap:4px;flex-shrink:0}
.sim-project .sim-offer-label{font-size:11px}
@media(max-width:1399px){.sim-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1199px){.sim-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-content:has(.sim-project-grid){padding:24px 22px 28px}}

.gift-logo{display:inline-block;width:24px;height:24px;flex:0 0 24px;vertical-align:middle;filter:drop-shadow(0 1px 1px #0002)}
.sim-project footer.sim-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:12px;min-height:48px}
.sim-project .sim-card-actions .button{width:100%;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 8px;font-size:13px}
.sim-card-actions .gift-logo{width:23px;height:23px;flex-basis:23px}.sim-offer-label{display:inline-flex;align-items:center;gap:8px}.sim-offer-label .gift-logo{width:22px;height:22px;flex-basis:22px}
.sim-gift-offer{display:flex;align-items:center;gap:14px}.sim-gift-offer .gift-logo{width:48px;height:48px;flex-basis:48px}.sim-paid-offer>span{color:var(--muted)}

/* Header account menu and brand icons */
.production-shell .workspace-header{
 position:relative;z-index:30;overflow:visible;gap:14px;
 background:var(--panel);border-color:var(--line);color:var(--text)
}
.workspace-header .workspace-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:650}

#cuefleet-maintenance{min-width:0;max-width:600px;display:flex;align-items:center;gap:8px;margin-inline:0 auto;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#181f23);color:var(--text);font-size:12px;line-height:1.3;white-space:nowrap}
#cuefleet-maintenance .icon{width:15px;height:15px;flex:none;color:#dba853}
#cuefleet-maintenance strong{flex:none;font-weight:700}
#cuefleet-maintenance .service-notice-title{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
#cuefleet-maintenance .service-notice-when{margin-inline-start:4px;flex:none;color:var(--muted);font-variant-numeric:tabular-nums}
#cuefleet-maintenance[data-phase="normal"] .icon{color:var(--positive,#70d3a9)}
#cuefleet-maintenance button{padding:2px 4px;border:0;background:none;color:var(--positive,#70d3a9);font:inherit;font-weight:700;cursor:pointer}
#cuefleet-maintenance.service-notice-on-login{position:fixed;z-index:20;top:12px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px)}
#cuefleet-required-update{width:min(calc(100% - 36px),438px);padding:25px;box-sizing:border-box;color:var(--text);background:var(--panel,#151b1f);border:1px solid var(--line);border-radius:15px}
#cuefleet-required-update::backdrop{background:rgb(5 8 10 / 82%);backdrop-filter:blur(3px)}
#cuefleet-required-update h2{margin:15px 0 8px;font-size:23px}
#cuefleet-required-update p{color:var(--muted);line-height:1.55;margin:0}
.service-update-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;background:var(--subtle,#222d30);color:var(--positive,#70d3a9)}
.service-update-icon .icon{width:24px;height:24px}
#cuefleet-required-update dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;border-block:1px solid var(--line);padding:13px 0}
#cuefleet-required-update dt{color:var(--muted);font-size:12px}
#cuefleet-required-update dd{margin:4px 0 0;font-weight:650;font-variant-numeric:tabular-nums}
.service-update-actions{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:760px){#cuefleet-maintenance .service-notice-title{display:none}}
@media(max-width:570px){.workspace-header:has(#cuefleet-maintenance){flex-wrap:wrap;height:auto;min-height:56px;padding-block:7px} .workspace-header #cuefleet-maintenance{order:2;width:100%;max-width:none} .workspace-header #cuefleet-maintenance .service-notice-title{display:block} .service-notice-on-login .service-notice-title{display:none}}
.workspace-header .top-actions{gap:12px;flex:0 0 auto}
.header-utilities,.header-language{
 height:36px;display:flex;align-items:center;flex:none
}
.header-utilities{gap:4px}
.workspace-header .header-utilities>button{
 display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted)
}
.workspace-header .header-utilities>button:hover,.workspace-header .header-utilities>button:focus-visible{background:var(--subtle);color:var(--text)}
.workspace-header .header-utilities :is(svg,img),.workspace-header .header-utilities .support-entry .icon{width:18px;height:18px}
.workspace-header .header-utilities .workspace-api-button[aria-current="page"]{background:var(--subtle);color:var(--text)}
.workspace-header .header-utilities .support-entry{color:var(--green)}
.workspace-header .inbox-count{
 top:1px;right:1px;min-width:14px;height:14px;padding:0 3px;line-height:14px;font-size:9px;font-weight:700;
 background:#e8ad9e;color:#33201a;box-shadow:0 0 0 2px var(--panel)
}
.header-language{position:relative;border-radius:8px;color:var(--muted)}
.header-language:hover,.header-language:focus-within{background:var(--subtle);color:var(--text)}
.header-language>.icon{position:absolute;left:8px;width:16px;height:16px;pointer-events:none}
.workspace-header .header-language .language-picker{
 width:104px;min-width:0;height:100%;padding:0 8px 0 28px;border:0;border-radius:inherit;background:transparent;color:var(--text);color-scheme:inherit
}
.vip-logo{display:block;width:34px;height:34px;flex:0 0 34px;filter:drop-shadow(0 2px 3px #0005)}
.vip-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;height:36px;min-width:36px;padding:0 12px 0 8px;border:1px solid color-mix(in srgb,var(--amber) 32%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--amber) 6%,var(--panel));color:var(--amber);font-size:13px;font-weight:650;white-space:nowrap}
.vip-chip.is-vip{background:color-mix(in srgb,var(--amber) 10%,var(--panel))}
.vip-chip:hover,.vip-chip:focus-visible{border-color:color-mix(in srgb,var(--amber) 58%,var(--line));background:color-mix(in srgb,var(--amber) 15%,var(--panel))}
.vip-chip>.vip-logo{width:22px;height:22px;flex-basis:22px;filter:none}
.workspace-header .header-user-menu{padding-inline-start:12px;border-inline-start:1px solid var(--line)}
.header-user-menu{position:relative;flex-shrink:0}
.header-user-trigger{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 4px;border:1px solid transparent;border-radius:8px;color:var(--text)}
.header-user-trigger:hover,.header-user-trigger:focus-visible,.header-user-trigger[aria-expanded="true"]{background:var(--subtle);color:var(--text)}
.header-user-avatar{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1px solid var(--line);border-radius:50%;overflow:hidden;background:var(--subtle);color:var(--muted)}
.header-user-avatar img{width:100%;height:100%;object-fit:cover}.header-user-avatar>.folo-empty-avatar{width:24px;height:24px}
.header-user-name{font-size:13px;font-weight:650;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-user-trigger .folo-trader-badge{width:17px;height:17px}
.header-user-trigger .user-menu-chevron{width:13px;height:13px;color:var(--muted);transform:rotate(90deg);transition:transform .15s}
.header-user-trigger[aria-expanded="true"] .user-menu-chevron{transform:rotate(270deg)}
.header-account-menu{position:absolute;right:0;top:calc(100% + 8px);width:min(252px,calc(100vw - 28px));padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);box-shadow:0 14px 34px #0004;z-index:100}
.header-account-menu[hidden]{display:none}
.account-menu-identity{display:grid;gap:4px;padding:10px 10px 12px;margin-bottom:4px;border-bottom:1px solid var(--line);overflow:hidden}
.account-menu-identity strong{font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-identity>span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-account-menu>button{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;text-align:left;border-radius:7px;color:var(--text);font-size:13px;min-height:38px}
.header-account-menu>button:hover,.header-account-menu>button:focus-visible{background:var(--subtle);color:var(--text)}
.header-account-menu>button>.icon{width:17px;height:17px;color:var(--muted)}.header-account-menu>button>.vip-logo{width:21px;height:21px;flex-basis:21px;margin-left:-2px;margin-right:-2px}
.account-menu-divider{height:1px;background:var(--line);margin:4px 9px}
.header-account-menu>.account-menu-logout,.header-account-menu>.account-menu-logout>.icon{color:var(--red)}
.gift-logo{width:30px;height:30px;flex:0 0 30px;filter:drop-shadow(0 2px 2px #0003);overflow:visible}
.sim-card-actions .gift-logo{width:29px;height:29px;flex-basis:29px}
.sim-project .sim-card-actions .button{min-height:42px;padding:4px 8px;gap:8px}
.sim-offer-label .gift-logo{width:27px;height:27px;flex-basis:27px}.sim-gift-offer .gift-logo{width:56px;height:56px;flex-basis:56px}
@media(max-width:980px){.workspace-header .top-actions{gap:8px}.workspace-header .header-user-name,.workspace-header .header-user-trigger>.folo-role-badge{display:none}}
@media(max-width:680px){
 .production-shell>.workspace>.workspace-header{padding-inline:10px;gap:7px}
 .workspace-header .header-utilities{gap:0}
 .header-language>.icon,.workspace-header .vip-chip>span{display:none}
 .workspace-header .header-language .language-picker{width:76px;padding-inline:4px}
 .workspace-header .vip-chip{padding-inline:6px}
 .workspace-header .header-user-menu{padding-inline-start:4px}
}
@media(max-width:400px){
 .workspace-header .top-actions{gap:4px}
 .workspace-header .header-utilities>button{width:32px}
 .workspace-header .header-language .language-picker{width:70px}
}
@media(prefers-reduced-motion:reduce){.header-user-trigger .user-menu-chevron{transition:none}}

/* Public win-rate tier, inset into the existing frame. */
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver)>.sim-frame-grade{position:absolute;z-index:3;top:-4px;right:12px;display:grid;place-items:center;width:46px;height:21px;border:1px solid var(--frame-mid);border-top:0;border-radius:0 0 10px 10px;background:var(--frame-rank);color:var(--frame-rank-ink);box-shadow:inset 0 -1px 0 #ffffff50,0 3px 7px #0005;pointer-events:none}
.sim-frame-grade>b{font-family:Georgia,'Times New Roman',serif;font-size:16px;font-style:italic;font-weight:800;line-height:1;letter-spacing:1px;text-shadow:0 1px #ffffff22}
.sim-project.sim-frame-prism>.sim-frame-grade{background:linear-gradient(110deg,#a6e8ed,#d6c5ff 48%,#f1c5d4);color:#302646;border-color:#d0bcf3}
.sim-project:is(.sim-frame-prism,.sim-frame-gold,.sim-frame-silver)>header{padding-top:4px}

.sim-trade-title{display:inline-flex;align-items:center;gap:9px;min-width:0;font:inherit}.sim-paper-badge{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid #405148;border-radius:4px;background:#23382b66;color:#b6c8b6;font-size:11px;line-height:1.4;white-space:nowrap}
#local-api-error[hidden]{display:none}

.api-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:20px;align-items:start}.api-service,.api-accounts,.api-requests{padding:22px;min-width:0}.api-service>header,.api-accounts>header,.api-requests>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.api-layout h2,.api-requests h2{font-size:16px;font-weight:600}.api-address{display:flex;align-items:center;gap:10px;padding:15px 0 22px}.api-address>span{font-size:11px;color:#93a89c;border:1px solid #37483e;border-radius:4px;padding:3px 5px}.api-address code{font-size:17px;color:#d8e8d0;font-variant-numeric:tabular-nums}.api-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.api-form-grid .field{margin-bottom:16px}.api-form-grid input{width:100%}.api-trade-toggle{display:flex;gap:10px;align-items:center;padding:16px 0;border-top:1px solid #2b3b33;border-bottom:1px solid #2b3b33;font-size:13px}.api-trade-toggle input,.api-account-option input{width:16px;height:16px;accent-color:#c8e9aa}.api-mode{margin-left:auto;font-size:12px;color:#9eb69f}.api-key-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}.api-key-row>div{display:flex;flex-direction:column;gap:8px}.api-key-row>div>span{font-size:12px;color:#93a89d}.api-key-row code{font-size:14px;color:#d4e2cd}.api-service-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:6px}.api-new-key{padding:14px;margin-bottom:14px;border:1px solid #607653;border-radius:8px;background:#263c2644}.api-new-key label{display:block;font-size:12px;margin-bottom:9px;color:#c8e4ba}.api-new-key input{width:100%;font-family:ui-monospace,monospace;font-size:12px}.api-new-key button{display:block;margin-top:10px;margin-left:auto}.api-account-list{display:flex;flex-direction:column;gap:10px}.api-account-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #34453c;border-radius:8px;cursor:pointer}.api-account-option:has(input:checked){background:#263e2c55;border-color:#819a68}.api-account-option>div{min-width:0;display:flex;flex-direction:column;gap:6px}.api-account-option strong{font-size:13px;color:#d7e4d5;overflow:hidden;text-overflow:ellipsis}.api-account-option>div>span{font-size:11px;color:#93a79b}.api-account-option>.badge{margin-left:auto;flex-shrink:0}.api-account-option.unavailable{opacity:.55;cursor:default}.api-requests{margin-top:20px}.api-requests>header>span{font-size:12px;color:#90a298}.api-requests th,.api-requests td{font-size:12px;padding:13px 10px}.api-requests th:first-child{width:20%}.api-method{display:inline-block;width:45px;font-size:11px;color:#adbfab}.api-response{font-variant-numeric:tabular-nums}.api-empty{text-align:center!important;color:#879b8c;padding:32px!important}.api-docs{font-size:13px;line-height:1.8}.api-docs h3{font-size:15px;margin:22px 0 10px}.api-doc-intro{display:flex;justify-content:space-between;gap:16px;align-items:center}.api-doc-intro>span{font-size:12px;color:#91a89b}.api-docs ol{padding-left:22px}.api-docs table{font-size:12px}.api-docs th,.api-docs td{padding:11px 8px}.api-docs pre{padding:16px;background:#0d1714;border:1px solid #2d4035;border-radius:8px;overflow:auto;color:#bed6b6;font-size:12px;line-height:1.6;white-space:pre}.api-docs p{margin-top:13px;color:#b2c4b4}@media(max-width:1200px){.api-layout{gap:14px;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr)}.api-service,.api-accounts{padding:18px}.api-address code{font-size:15px}}
.folo-role-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:none;vertical-align:middle;line-height:1}
.folo-role-badge>.role-logo{display:block;width:100%;height:100%;overflow:visible}
.folo-role-badge--lead{color:#e7bb69}.folo-role-badge--user{color:#87bee8}.folo-role-badge--bot{color:#b7a1fa}
.header-user-trigger>.folo-role-badge{width:20px;height:20px}
.sim-project h2>.folo-role-badge{width:19px;height:19px}
.account-profile-person h1>.folo-role-badge{width:24px;height:24px}
.lead-apply-modal,.lead-close-modal{width:min(492px,calc(100vw - 32px))!important;border:1px solid #3b4445;border-radius:20px;background:#181e22;box-shadow:0 24px 90px #0009;overflow:hidden}
.lead-apply-modal>header,.lead-close-modal>header{padding:26px 28px 18px;border-bottom:0;background:none;gap:16px}
.lead-apply-modal>header h2,.lead-close-modal>header h2{font-size:23px;letter-spacing:-.4px;font-weight:650}
.lead-apply-modal .modal-body,.lead-close-modal .modal-body{padding:4px 28px 24px;display:flex;flex-direction:column;gap:24px}
.lead-application-identity{display:flex;align-items:center;gap:12px;padding:14px 0 22px;border-bottom:1px solid #303a3c}
.lead-application-avatar{width:42px;height:42px;background:#283733}
.lead-application-identity>div{min-width:0;display:grid;gap:6px}
.lead-application-identity strong{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-application-identity>div>span{font-size:13px;color:#9aa9a5}
.lead-application-emblem{margin-left:auto;flex:none;width:38px;height:38px}.lead-application-emblem>.role-logo{width:100%;height:100%}
.lead-application-note{display:flex;flex-direction:column;gap:11px;margin:0!important;font-size:14px;color:#e0e7e4}
.lead-application-note>span{display:flex;align-items:center;justify-content:space-between}
.lead-note-optional{font-size:12px;color:#81918e}
.lead-application-note textarea{display:block;box-sizing:border-box;width:100%;min-height:120px;max-height:210px;padding:14px 15px;border:1px solid #414d50;border-radius:10px;background:#12191c;color:#e8eeeb;font:inherit;line-height:1.65;resize:vertical;outline:none;transition:border-color .15s,box-shadow .15s}
.lead-application-note textarea::placeholder{color:#748582}.lead-application-note textarea:focus{border-color:#c4e3a5;box-shadow:0 0 0 2px #c4e3a512}
.lead-apply-modal .copy-terms{border:0;border-top:1px solid #303a3c;border-bottom:1px solid #303a3c;border-radius:0;background:none;margin:0}
.lead-apply-modal .copy-terms>summary{padding:15px 0;color:#c1d0c8;font-size:14px}
.lead-apply-modal .copy-terms>article{padding:0 0 16px;max-height:180px;overflow:auto}
.lead-apply-modal .connection-consent{font-size:13px;color:#aebeb5;line-height:1.6;margin-top:-10px;gap:9px}
.lead-apply-modal .connection-consent input{width:16px;height:16px;accent-color:#c8e5a6;margin-top:2px}
.lead-apply-modal>footer,.lead-close-modal>footer{border:0;padding:0 28px 26px;gap:12px;display:flex}
.lead-apply-modal>footer>.ghost{display:none}
.lead-apply-modal #modal-confirm{width:100%;height:46px;border-radius:10px;font-size:15px;font-weight:650}
.lead-close-identity{display:flex;align-items:center;gap:12px}.lead-close-identity>.role-logo{width:44px;height:44px;flex:none}.lead-close-identity>strong{font-size:17px}
.lead-close-message{font-size:16px;line-height:1.7;color:#e3e9e5;margin:0}
.lead-close-retained{display:flex;align-items:flex-start;gap:10px;padding:16px;border:1px solid #34433b;border-radius:10px;background:#1c2b23;color:#bdcdbf;font-size:13px;line-height:1.8}
.lead-close-retained>.icon{width:19px;height:19px;margin-top:2px;flex:none}
.lead-close-modal>footer>.button{flex:1;height:44px;border-radius:10px}.lead-close-modal #modal-confirm{background:#b8424f;color:#fff;border-color:#b8424f}
@media(max-width:560px){.lead-apply-modal>header,.lead-close-modal>header{padding:22px 20px 16px}.lead-apply-modal .modal-body,.lead-close-modal .modal-body{padding:4px 20px 22px}.lead-apply-modal>footer,.lead-close-modal>footer{padding:0 20px 22px}.lead-apply-modal>header h2,.lead-close-modal>header h2{font-size:21px}}
.lead-restart-modal{width:min(492px,calc(100vw - 32px))!important;border:1px solid #3b4445;border-radius:20px;background:#181e22;box-shadow:0 24px 90px #0009}
.lead-restart-modal>header{padding:26px 28px 18px;border:0;background:none}.lead-restart-modal>header h2{font-size:23px;font-weight:650}
.lead-restart-modal .modal-body{padding:4px 28px 24px;display:flex;flex-direction:column;gap:22px}.lead-restart-modal>footer{border:0;padding:0 28px 26px;display:flex;gap:12px}.lead-restart-modal>footer>.button{flex:1;min-height:44px;border-radius:10px}
.lead-restart-limit{display:flex;align-items:center;gap:9px;font-size:13px;color:#d6c38c}.lead-restart-limit>.icon{width:17px;height:17px;flex:none}
.copy-archives table{width:100%;border-collapse:collapse;white-space:nowrap}.copy-archives th,.copy-archives td{padding:14px;text-align:left;border-bottom:1px solid #303b38;font-size:13px}.copy-archives th{color:#8fa399;font-weight:500}
/* Lead configuration and shared portfolio details. */
.lead-config-modal{width:min(720px,calc(100vw - 36px))!important;max-width:720px!important;border-radius:20px;background:#141e22;border:1px solid #35443e;overflow:hidden}.lead-config-modal>header{padding:24px 28px 18px;border-bottom:1px solid #2b3a35}.lead-config-modal>header h2{font-size:23px;letter-spacing:-.5px}.lead-config-modal .modal-body{padding:24px 28px;max-height:calc(100vh - 235px);overflow:auto;scrollbar-gutter:stable}.lead-config-modal>footer{padding:18px 28px 22px;background:#141e22;border-top:1px solid #2b3a35;gap:12px}.lead-config-modal #modal-confirm{min-width:210px;min-height:44px;border-radius:10px;font-size:14px}.lead-config-form{display:grid;gap:23px}.lead-config-form h3{font-size:14px;font-weight:550;margin:0 0 12px;color:#b8c9c0}.lead-config-form .field{margin:0;gap:11px;font-size:14px}.lead-config-form textarea{min-height:82px;resize:vertical;background:#10191d;border:1px solid #3b4b43;border-radius:10px;padding:13px 15px;line-height:1.65}.lead-config-form textarea:focus{border-color:#c9e6a8;outline:0;box-shadow:0 0 0 2px #c9e6a810}.lead-config-form textarea::placeholder{color:#71877a}.lead-config-name{display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #35443c;border-radius:12px;background:#1b2a24}.lead-config-symbol{width:42px;height:42px;flex:none}.lead-config-symbol .role-logo{width:100%;height:100%}.lead-config-name>div{min-width:0;flex:1;display:grid;gap:5px}.lead-config-name label{font-size:12px;color:#96aa9c}.lead-config-name input{border:0;background:none;padding:0;height:auto;min-height:0;box-shadow:none;font-size:19px;font-weight:600;color:#e3eee3;outline:0;cursor:default;width:100%;text-overflow:ellipsis}.lead-config-name>.icon{width:17px;height:17px;color:#819785;flex:none}.lead-native-select{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden;pointer-events:none;clip-path:inset(50%)}.lead-capacity-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lead-capacity-option{display:grid;grid-template-columns:1fr 20px;gap:7px 14px;text-align:left;padding:15px 17px;border:1px solid #3b4b44;border-radius:11px;background:#111c20;min-width:0}.lead-capacity-option strong{font-size:20px;color:#e1eadf;grid-column:1}.lead-capacity-option>span{font-size:12px;color:#8fa797;grid-column:1}.lead-capacity-option>.icon{grid-column:2;grid-row:1/3;align-self:center;width:20px;height:20px;opacity:0}.lead-capacity-option.selected{border-color:#bcda9d;background:#283a28;box-shadow:inset 0 0 0 1px #bcda9d26}.lead-capacity-option.selected>.icon{opacity:1;color:#cbe8ad}.lead-config-accounts .copy-account-choices{margin-top:12px;gap:8px}.lead-config-accounts .copy-account-option{padding:11px 14px;border-radius:9px;background:#17251f;min-height:54px}.lead-config-accounts .copy-account-option>strong{font-size:14px}.lead-config-accounts .copy-account-option input{accent-color:#cce8b1}.lead-sizing-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lead-sizing-options>button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #3b4b44;border-radius:9px;min-height:44px;background:#111c20;color:#aebfb3;font-size:14px}.lead-sizing-options .icon{width:18px;height:18px}.lead-sizing-options>.selected{background:#293b29;border-color:#b8d79c;color:#e0efcc}.lead-subscription-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.lead-subscription-options>button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px 5px 12px;border:1px solid #3c4940;background:#111b1e;border-radius:11px;color:#bed0bf;min-width:0}.lead-subscription-options>button>.gift-logo,.lead-free-gift{width:38px;height:38px;flex:none}.lead-free-gift{display:grid;place-items:center;border-radius:12px;background:#29402d;color:#bfd89f}.lead-free-gift>.icon{width:25px;height:25px}.lead-subscription-options strong{font-size:13px;font-weight:550}.lead-subscription-options span:not(.lead-free-gift){font-size:11px;font-variant-numeric:tabular-nums;color:#94aa98;white-space:nowrap}.lead-subscription-options>.selected{background:#2b3b28;border-color:#c2dc9e;box-shadow:inset 0 0 0 1px #c2dc9e20}.lead-subscription-options>.selected strong{color:#e5f2cb}.lead-config-modal .q-plan-optin{margin:22px 0 16px}.lead-config-modal .copy-terms{margin-top:20px;border-color:#35443b;background:#141f1c}.lead-config-modal .connection-consent{font-size:13px;align-items:flex-start;gap:9px;margin-top:17px;line-height:1.7}.lead-config-reopen{display:flex;align-items:flex-start;gap:9px;margin-top:18px;color:#d1ba83;font-size:12px;line-height:1.65}.lead-config-reopen>.icon{width:16px;height:16px;flex:none;margin-top:2px}
.project-detail{display:grid;gap:18px;min-width:0}.project-detail>.panel{margin:0;border-radius:15px;border:1px solid #2f413a;background:#121d21;overflow:hidden}.project-profile{padding:23px 25px}.project-profile .sim-detail-header{margin:0}.project-profile .sim-detail-identity{min-width:0}.project-profile .sim-detail-identity .sim-avatar{width:58px;height:58px;flex:none;background:#273b32}.project-profile h3{display:flex;align-items:center;gap:8px;margin:0 0 7px!important;font-size:22px}.project-profile .sim-project-tags{margin-top:9px;gap:7px}.project-plan{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#b5c9b5;margin-left:3px}.project-plan>.gift-logo{width:23px;height:23px}.project-profile .sim-project-description{margin:17px 0 0;padding:0;color:#a8bcaf;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.project-profile-accounts{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px;padding-top:16px;border-top:1px solid #293b32}.project-profile-actions{display:flex;align-items:center;gap:17px;flex:none}.project-profile-actions>.button{gap:8px;font-size:13px;min-height:39px;border-radius:9px}.project-profile-actions>.button>.icon{width:15px;height:15px}.project-connection{display:flex;align-items:center;gap:7px;color:#8ba193;font-size:12px;white-space:nowrap}.project-connection>i{width:6px;height:6px;border-radius:50%;background:#6b7b70}.project-connection.is-active{color:#81d5af}.project-connection.is-active>i{background:#81d5af;box-shadow:0 0 0 4px #81d5af12}.project-detail>.sim-performance{padding:22px 24px}.project-detail .sim-performance-top{margin-bottom:18px}.project-detail .sim-detail-stats{padding-bottom:20px;margin-bottom:17px;border-bottom:1px solid #293b32}.project-detail .sim-detail-analytics{gap:25px}.project-detail .sim-detail-charts .sim-chart-pane>header h4{font-size:12px;color:#a8bcae;font-weight:450}.project-detail .sim-chart-stack{gap:13px}.project-detail .sim-style-panel{padding-left:20px;border-left:1px solid #2b3e33;background:none;border-top:0;border-right:0;border-bottom:0;border-radius:0}.project-followers>header,.project-trades>header{padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #2a3a34}.project-followers h4,.project-trades h4{margin:0;font-size:15px;font-weight:600;color:#dbe7de}.project-followers>header>.icon{width:18px;height:18px;color:#728f79}.project-detail .project-followers .table-wrap{max-height:430px}.project-detail .project-trades .table-wrap{max-height:450px}.project-followers table,.project-trades table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.project-detail .project-followers th,.project-detail .project-followers td,.project-detail .project-trades th,.project-detail .project-trades td{padding:13px 21px;border-bottom:1px solid #273a31;font-size:12px;text-align:left;white-space:nowrap}.project-followers th,.project-trades th{font-size:11px!important;color:#839d8a;font-weight:450;background:#14241e;position:sticky;top:0;z-index:1}.project-followers td:last-child,.project-followers th:last-child,.project-trades td:last-child,.project-trades th:last-child{text-align:right!important}.project-top-rank{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#25362c;color:#a0b59d;font-size:12px}.project-top-rank.rank-1{background:#a9832830;color:#f3d681}.project-top-rank.rank-2{background:#adb3c624;color:#d6dbe9}.project-top-rank.rank-3{background:#aa775227;color:#d9ad88}.project-empty{display:grid;place-items:center;min-height:124px;color:#708b79;font-size:13px}.project-trade-tabs{display:flex;align-items:center;gap:4px;background:#0d181b;border:1px solid #293b31;padding:3px;border-radius:8px}.project-trade-tabs>button{padding:6px 13px;font-size:12px;color:#8ea78f;border-radius:5px}.project-trade-tabs>.active{background:#2b402b;color:#ddedc9}.project-trade-symbol{font-weight:550;color:#d5e7d5;margin-right:8px}.project-trade-direction{font-size:11px}.project-price-pair{display:grid;grid-template-columns:72px 15px 72px;align-items:center;gap:6px;text-align:right}.project-price-pair>i{font-style:normal;color:#638571;text-align:center}.project-trade-status{padding:4px 7px;border-radius:5px;background:#1d3026;font-size:11px}.project-trade-status.is-open{color:#e1c984;background:#3b3522}.project-trade-pages{display:flex;align-items:center;justify-content:space-between;padding:11px 18px;color:#8da68f;font-size:12px}.project-trade-pages>div{display:flex;align-items:center;gap:12px}.project-trade-pages .icon-button{width:30px;height:30px}.project-page-prev{transform:rotate(180deg)}.project-loading{min-height:310px;display:flex;align-items:center;justify-content:center;gap:13px;color:#9eb7a2;font-size:14px;border-radius:15px}.project-loading>i{width:19px;height:19px;border:2px solid #3a5140;border-top-color:#c9e5a9;border-radius:50%;animation:deposit-spin 1s linear infinite}.lead-onboarding-symbol>.role-logo{width:46px;height:46px}.lead-project-detail .sim-detail-analytics{grid-template-columns:minmax(0,1fr) 236px}.lead-project-detail .sim-detail-charts .sim-performance-chart svg{height:158px}.lead-project-detail .sim-detail-charts .sim-chart-pane.daily svg{height:86px}.lead-project-detail .sim-detail-charts .sim-chart-pane.monthly svg{height:98px}
@media(max-width:1100px){.project-profile-actions{gap:10px;flex-direction:column;align-items:flex-end}.project-detail .sim-detail-analytics{grid-template-columns:minmax(0,1fr) 205px;gap:14px}.project-detail .sim-style-panel{padding-left:12px}.project-detail .project-trades td,.project-detail .project-trades th{padding-left:13px;padding-right:13px}.project-price-pair{grid-template-columns:65px 10px 65px;gap:4px}.project-profile h3{font-size:20px}}
@media(max-width:760px){.lead-config-modal{width:calc(100vw - 26px)!important}.lead-config-modal>header,.lead-config-modal .modal-body{padding-left:20px;padding-right:20px}.lead-config-modal>footer{padding:16px 20px}.lead-config-modal #modal-confirm{min-width:0;flex:1}.lead-subscription-options{grid-template-columns:repeat(3,minmax(0,1fr))}.project-detail .sim-detail-analytics{grid-template-columns:1fr}.project-detail .sim-style-panel{border-left:0;border-top:1px solid #2b3e33;padding:18px 0 0}.project-profile{padding:19px}.project-profile-actions .project-connection{display:none}.project-profile h3{font-size:18px}.project-profile .sim-avatar{width:46px!important;height:46px!important}.project-detail>.sim-performance{padding:18px}.project-trades>header{padding:14px 16px}.project-trade-tabs>button{padding:6px 8px}.lead-capacity-option{padding:13px}.lead-capacity-option>span{font-size:11px}}
.lead-config-form>.field{display:flex;flex-direction:column;align-items:stretch}.lead-config-form>.field>span{align-self:flex-start;text-align:left}.lead-config-modal>footer{display:grid;grid-template-columns:1fr auto;gap:14px 12px}.lead-config-modal>footer>.connection-consent{grid-column:1/-1;margin:0;align-items:flex-start;line-height:1.6;min-width:0}.lead-config-modal>footer>.connection-consent input{width:16px;height:16px;margin:2px 0 0;flex:none;accent-color:#cbe7aa}.lead-config-modal>footer>.connection-consent span{display:block;color:#a9beaf}.lead-config-modal [data-lead-agreement]{display:inline;padding:0;color:#cde5b3;text-decoration:underline;text-underline-offset:3px;font-size:inherit}.lead-config-modal>footer>.ghost{justify-self:end}.lead-config-modal>footer #modal-confirm{grid-column:2;grid-row:2}.project-detail>.project-followers,.project-detail>.project-trades{display:block!important}.project-detail .project-followers>header{width:100%;box-sizing:border-box}.project-detail .project-followers h4{white-space:nowrap}.lead-project-detail .project-profile{padding:20px 24px}.lead-project-detail .project-profile .sim-project-description{margin-top:13px}.lead-project-detail .project-profile-accounts{padding-top:12px;margin-top:13px}
.lead-config-form{gap:17px}.lead-config-name{padding:11px 15px}.lead-config-symbol{width:38px;height:38px}.lead-config-form textarea{min-height:66px}.lead-config-form h3{margin-bottom:10px}.lead-capacity-option{padding:11px 15px;gap:5px 12px}.lead-capacity-option strong{font-size:18px}.lead-config-accounts .copy-account-option{min-height:44px;padding:8px 13px}.lead-sizing-options>button{min-height:40px}.lead-subscription-options>button{gap:5px;padding:11px 5px 10px}.lead-subscription-options>button>.gift-logo,.lead-free-gift{width:32px;height:32px}.lead-free-gift>.icon{width:23px;height:23px}.lead-config-modal>footer>.connection-consent input{appearance:auto!important;-webkit-appearance:checkbox!important}

.sim-sort-fixed{display:inline-flex;align-items:center;gap:8px;color:#c2d3c8;padding:9px 13px;font-size:13px}.sim-sort-fixed .icon{width:13px;height:13px;transform:rotate(90deg)}.personal-project-actions{grid-template-columns:1fr!important}.personal-project-actions .button{width:100%}

.copy-invitations{margin:0 0 24px}.copy-invitations>header{margin-bottom:14px}.copy-invitations>header h2{font-size:16px}.copy-invitation{padding:22px}.copy-invitation>header{display:flex;align-items:center;gap:15px}.copy-invitation h3{margin:0 0 8px}.copy-invite-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#cce6aa;background:#cce6aa15}.copy-invite-symbol .icon{width:24px;height:24px}.copy-invitation>footer{display:flex;align-items:center;gap:18px;margin-top:24px}.copy-invite-accepted{display:inline-flex;align-items:center;gap:7px;color:#7ed7b1}.beta-consent{padding:10px 3px}.beta-consent>.copy-invite-symbol{width:64px;height:64px}.beta-consent h2{margin:22px 0 14px;font-size:26px}.beta-consent>p{font-size:14px;line-height:1.9;color:#adbfaf;margin:26px 0}.beta-consent .connection-consent{padding:14px 0}
.ticket-wallet-name{font-size:14px;font-weight:600}.copy-form-grid>.field:last-child:nth-child(odd){grid-column:1/-1}

/* Compact connection health remains outside the trading workspace renders. */
.production-shell .sidebar>.connection-health{margin-top:auto;padding-top:16px;border-top:1px solid #253237}
.connection-health-row{display:grid;grid-template-columns:21px minmax(0,1fr) auto;align-items:center;column-gap:9px;row-gap:2px;width:100%;min-height:50px;padding:7px 5px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:12px;text-align:left;cursor:pointer}
.connection-health-row:hover{background:var(--subtle)}.connection-health-row:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.connection-health-wifi,.connection-health-account{display:block;grid-column:1;grid-row:1/3;width:21px;height:21px;flex-shrink:0}.connection-health-wifi .wifi-band{opacity:.2}.connection-health-wifi .wifi-band.active,.connection-health-wifi .wifi-disconnected{opacity:1}.connection-health-copy{display:contents}.connection-health-name{grid-column:2;grid-row:1;color:var(--text);font-size:12px;font-weight:550;white-space:nowrap}.connection-health-status{grid-column:2/-1;grid-row:2;font-size:11px;line-height:1.4;white-space:nowrap}
.connection-health-row>strong{grid-column:3;grid-row:1;margin-left:auto;color:var(--muted);font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.connection-health-row>strong>span{font-size:10px;font-weight:400}
.connection-health-row.good,.connection-network-summary.good{color:var(--positive)}.connection-health-row.warning,.connection-network-summary.warning{color:var(--amber)}.connection-health-row.bad,.connection-network-summary.bad{color:var(--red)}.connection-health-row.idle,.connection-network-summary.idle{color:var(--muted)}
.connection-network-popover{position:fixed;inset:auto auto 22px clamp(16px,234px,calc(100vw - 356px));width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);box-shadow:0 12px 42px #0003;overflow:auto;text-align:left;font-size:13px;line-height:1.6}.connection-network-popover::backdrop{background:transparent}.connection-network-popover>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.connection-network-popover>header>strong{font-size:15px;font-weight:600}.connection-network-popover .icon-button{width:28px;height:28px;font-size:22px;font-weight:350}.connection-network-summary{margin:0 0 15px;font-size:14px;font-weight:550}.connection-network-facts,.connection-network-stats dl{margin:0}.connection-network-facts>div,.connection-network-stats dl>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--line)}.connection-network-facts dt,.connection-network-stats dt{color:var(--muted);flex-shrink:0}.connection-network-facts dd,.connection-network-stats dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.connection-network-facts dd>small{display:block;color:var(--muted);font-size:12px}.connection-network-note{margin:14px 0;color:var(--muted);font-size:12px;line-height:1.7}.connection-network-stats{font-size:12px;color:var(--muted)}.connection-network-stats>summary{cursor:pointer;min-height:32px;display:list-item;align-content:center;width:fit-content}.connection-network-stats>summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}.connection-network-popover>footer{display:flex;justify-content:flex-end;margin-top:14px}.connection-network-popover>footer>.button{min-height:34px;padding:6px 12px;font-size:12px}

.connection-health[aria-busy="true"] .connection-health-wifi{animation:connection-pulse 1s ease-in-out infinite}
@keyframes connection-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.connection-health[aria-busy="true"] .connection-health-wifi{animation:none}}

/* Dedicated Binance account workspace. */
.managed-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:28px}.managed-heading h1{margin:9px 0 0;font-size:30px;letter-spacing:-.7px}
.managed-brand{display:inline-flex;align-items:center;gap:7px;color:#f0c34d;font-size:12px;font-weight:650;letter-spacing:1.5px}.managed-brand svg{height:17px;width:17px}.managed-heading-actions{display:flex;align-items:center;gap:12px}.managed-online-summary,.managed-capacity{font-size:13px;font-variant-numeric:tabular-nums;color:#9eafa8}.managed-capacity{border:1px solid #33413c;border-radius:7px;padding:6px 9px;color:#d1ded2}
.managed-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.managed-account{min-width:0;padding:24px;border:1px solid #303e3d;border-radius:18px;background:linear-gradient(140deg,#172123,#111a1b);box-shadow:0 8px 24px #00000012}.managed-account>header{display:flex;align-items:center;gap:12px}.managed-avatar{height:46px;width:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex-shrink:0;background:#2d3d37;color:#b6c9bb}.managed-avatar img{height:100%;width:100%;object-fit:cover}.managed-avatar .icon{height:25px;width:25px}.managed-identity{flex:1;min-width:0}.managed-identity h2{font-size:18px;margin:0 0 5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:-.2px}.managed-identity>span{font-size:12px;color:#8ea399;font-variant-numeric:tabular-nums;white-space:nowrap}.managed-presence{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.managed-presence i{width:6px;height:6px;border-radius:50%;background:currentColor}.managed-presence.good,.managed-tags .good{color:#77d6b3}.managed-presence.warning{color:#e9bd75}.managed-presence.bad{color:#f08e97}.managed-presence.muted,.managed-tags .muted{color:#8c9f95}.managed-account>header>.icon-button{width:26px;height:30px;color:#9aaea4}.managed-email{color:#9bada3;font-size:13px;margin:16px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.managed-funds{margin-top:25px;padding:0 0 20px;border-bottom:1px solid #2c3a35}.managed-funds>span{display:block;font-size:13px;color:#98afa2;margin-bottom:9px}.managed-funds>div{display:flex;gap:8px;align-items:baseline}.managed-funds strong{font-size:34px;font-weight:570;letter-spacing:-.8px;font-variant-numeric:tabular-nums;color:#e5eee4}.managed-funds>div>span{font-size:12px;color:#a1b0a5}.managed-funds .text-button{margin-left:auto;display:flex;align-items:center;gap:6px;color:#c6dfa8;font-size:13px}.managed-funds .text-button .icon{height:15px;width:15px}
.managed-tags{display:flex;align-items:center;gap:8px;min-height:50px;flex-wrap:wrap;padding:12px 0}.managed-tags>span{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 7px;background:#21312b;color:#a7b8af;font-size:12px;white-space:nowrap}.managed-tags>span.copy{background:#203337;color:#9fd1d0}.managed-tags .icon{width:13px;height:13px}.managed-tags>button{margin-left:auto;color:#e2ba76;background:none;border:0;padding:4px}.managed-tags>button .icon{height:16px;width:16px}
.managed-session{margin:7px 0 24px}.managed-session>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;color:#93a99b}.managed-session strong{font-weight:500;font-variant-numeric:tabular-nums;color:#c7d7c9}.managed-life-track{height:7px;border-radius:6px;background:#283a31;overflow:hidden}.managed-life-track>span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#528b6b,#b8dc96);transition:width 1s linear}.managed-session.warning .managed-life-track>span{background:linear-gradient(90deg,#b78339,#edc378)}.managed-session.expired strong{color:#f08e97}.managed-session.expired .managed-life-track{background:#42292d}.managed-session.estimate_elapsed strong{color:#e9bd75}
.managed-account>footer{display:flex;align-items:center;gap:10px}.managed-account>footer>.button{min-height:39px;padding:9px 15px;font-size:13px}.managed-account>footer>.button .icon{height:15px;width:15px}.managed-session-info{margin-left:auto}.managed-account>footer>.icon-button{height:34px;width:28px;color:#90a398}.managed-account>footer>.disconnect:hover{color:#f08e97}
.managed-empty{grid-column:1/-1;min-height:330px;border:1px dashed #3c4d40;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:#13201a44}.managed-empty>span{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:#2c402c;color:#c0d9a6}.managed-empty>span .icon{width:36px;height:36px}.managed-empty h2{font-size:20px;font-weight:550;margin:0}.managed-agreement{display:flex;justify-content:flex-end;margin-top:22px}.managed-agreement .text-button{display:flex;align-items:center;gap:5px;font-size:12px;color:#8da194}.managed-agreement .icon{width:13px;height:13px}
@media(max-width:1250px){.managed-heading h1{font-size:27px}.managed-heading-actions{gap:8px}.managed-account{padding:20px}.managed-presence{font-size:11px}.managed-account>header{gap:9px}.managed-identity h2{font-size:16px}.managed-funds strong{font-size:30px}.managed-account>footer{gap:7px}.managed-heading-actions .button{padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.managed-life-track>span{transition:none}}

.managed-funds strong.balance-old{color:#839b8c}

/* Account workspace: six compact cards, semantic colors, visible async feedback. */
.managed-heading{align-items:center;margin-bottom:20px}.managed-heading h1{font-size:27px;margin-top:6px}.managed-brand{font-size:11px}.managed-account-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.managed-account{padding:18px;border-radius:15px;background:linear-gradient(145deg,#182328,#111b1d);border-color:#304149;box-shadow:0 8px 25px #0002}.managed-account.is-follower{border-top:2px solid #61b7cc}.managed-account.is-leader{border-top:2px solid #e7bd69}
.managed-account>header{gap:9px}.managed-avatar{height:36px;width:36px;background:#293f41;color:#b6d2cf;box-shadow:0 0 0 1px #58776a40}.managed-avatar .icon{height:21px;width:21px}.managed-identity h2{font-size:16px;color:#f1e8d6;margin-bottom:4px}.managed-identity>span{font-size:11px;color:#8eafd0}.managed-presence{font-size:11px}.managed-account>header>.icon-button{width:21px;height:25px}
.managed-email{display:flex;align-items:center;gap:6px;margin-top:11px;color:#a0b9c8;font-size:12px}.managed-email .icon{height:13px;width:13px;flex-shrink:0;color:#759aa9}.managed-email>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.managed-funds{margin-top:17px;padding-bottom:14px;border-color:#30413d}.managed-funds>span{font-size:12px;color:#a7b7bd;margin-bottom:6px}.managed-funds strong{font-size:29px;letter-spacing:-.5px;color:#8ee4bf}.managed-funds .managed-currency{font-size:10px;background:#294336;color:#b5d8a6;padding:3px 5px;border-radius:5px;align-self:center}.managed-funds .text-button{font-size:12px;color:#e5c887}.managed-funds .text-button .icon{height:13px;width:13px}.managed-funds>div{gap:6px}
.managed-tags{min-height:37px;gap:6px;padding:10px 0}.managed-tags>span{font-size:11px;padding:3px 6px}.managed-tags>span.copy{background:#203849;color:#91d1ec}.managed-tags>span.good{background:#203d32;color:#9ee0b0}.managed-tags>span:not(.copy):not(.good){background:#2b303d;color:#b4b8d0}
.managed-session{margin:5px 0 17px}.managed-session>div:first-child{font-size:12px;margin-bottom:8px}.managed-session-label{display:flex;align-items:center;gap:5px;color:#b2bbc6}.managed-session-label>.icon-button{height:20px;width:20px;color:#e6bd6f;padding:1px}.managed-session-label .icon{width:14px;height:14px}.managed-session strong{color:#d0d9e8}.managed-life-track{height:6px;background:#273a3e}.managed-life-track>span{background:linear-gradient(90deg,#579aab,#8ad5b1)}
.managed-account>footer{gap:8px}.managed-account>footer>.button{min-height:34px;font-size:12px;padding:7px 10px}.managed-account>footer>.icon-button.disconnect{margin-left:auto;color:#9bb1ba}.managed-account>footer>.outline{color:#b8d0de;border-color:#3c5360}
.managed-capacity{display:flex;align-items:center;gap:6px}.managed-capacity .icon{height:14px;width:14px}.managed-capacity.vip{color:#edcd8d;border-color:#76603b;background:#3b301b66}
.managed-resources{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px;padding:12px 14px;border:1px solid #2b3b44;background:#121e2566;border-radius:12px}.managed-resources>span{display:flex;align-items:center;gap:7px;color:#d8c38c;font-size:12px;margin-right:4px}.managed-resources .icon{height:14px;width:14px}.managed-resources>button{display:flex;align-items:center;gap:8px;background:#1b303b;border:1px solid #314e60;border-radius:7px;color:#aed8ec;font-size:12px;padding:7px 10px}.managed-resources>button:hover{background:#263e4a}.managed-resources>button:nth-of-type(2){color:#b8dece;border-color:#38574d;background:#1c322b}.managed-resources>.managed-agreement-link{margin-left:auto;color:#a3adb8;background:transparent;border-color:transparent}
.session-explanation{display:flex;align-items:flex-start;gap:15px;padding:7px 0 12px}.session-explanation>.icon{width:25px;height:25px;flex-shrink:0;color:#e9c277}.session-explanation p{margin:0;font-size:15px;line-height:1.9;color:#c1d0d5}
.transfer-browser-note{margin:0 0 18px;color:var(--muted)}
.transfer-browser-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.transfer-browser-actions a{text-decoration:none}
.action-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:middle;animation:action-spin .7s linear infinite;flex-shrink:0}.managed-balance-spinner{width:12px;height:12px;color:#a3d5c3;align-self:center}.button[aria-busy="true"]{display:inline-flex;align-items:center;justify-content:center;gap:8px}.transfer-wait{padding:17px;border:1px solid #395464;border-radius:12px;background:#172a34;margin-top:18px}.transfer-wait-heading{display:flex;align-items:center;gap:10px;color:#b8dcf0}.transfer-wait-heading strong{font-size:14px;font-weight:550}.transfer-wait-time{margin-left:auto;color:#a6becc;font-size:13px;font-variant-numeric:tabular-nums}.transfer-wait-track{height:4px;margin:16px 0;border-radius:4px;background:#2a424f;overflow:hidden}.transfer-wait-track>span{display:block;width:40%;height:100%;background:linear-gradient(90deg,#69b8d6,#b2e4c7);border-radius:4px;animation:action-progress 1.5s ease-in-out infinite}.transfer-wait-steps{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#7f98a5}.transfer-wait-steps>span{display:flex;align-items:center;gap:5px}.transfer-wait-steps i{width:5px;height:5px;border-radius:50%;background:currentColor}.transfer-wait-steps .active{color:#b5d9ee}.transfer-wait-steps .done{color:#9ad8b5}.transfer-wait-steps .icon{width:12px;height:12px}
@keyframes action-spin{to{transform:rotate(360deg)}}@keyframes action-progress{from{transform:translateX(-110%)}to{transform:translateX(350%)}}
@media(max-width:1350px){.managed-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.managed-account{padding:18px}.managed-resources{gap:8px}}
@media(prefers-reduced-motion:reduce){.action-spinner,.transfer-wait-track>span{animation:none}.transfer-wait-track>span{width:100%;opacity:.65}}

.accounts-workspace .main-content.production-content{padding-top:28px;padding-bottom:24px}.accounts-workspace .managed-account{padding:16px}.accounts-workspace .managed-avatar{height:34px;width:34px}.accounts-workspace .managed-email{margin-top:8px}.accounts-workspace .managed-funds{margin-top:12px;padding-bottom:11px}.accounts-workspace .managed-funds strong{font-size:28px}.accounts-workspace .managed-tags{min-height:32px;padding:8px 0}.accounts-workspace .managed-session{margin-top:3px;margin-bottom:13px}.accounts-workspace .managed-session>div:first-child{margin-bottom:6px}.accounts-workspace .managed-account>footer>.button{min-height:32px}

.vip-account-upsell{text-align:center;padding:6px 10px 14px}.vip-account-upsell>span{display:block;width:70px;height:70px;margin:0 auto 16px}.vip-account-upsell>span svg{width:70px;height:70px}.vip-account-upsell h3{font-size:21px;color:#f0dfbd;margin:0 0 22px;font-weight:550}.vip-account-upsell>div{display:flex;align-items:center;justify-content:center;gap:15px;color:#b9c8cc}.vip-account-upsell strong{font-size:36px;color:#e8cb86;font-weight:600}.vip-account-upsell>div>.icon{width:24px;color:#92afbe}.vip-account-upsell>div>span{font-size:14px}.vip-account-upsell p{margin:23px 0 0;font-size:21px;color:#c5e2b7}.vip-account-upsell p>span{font-size:13px;color:#9eaf9c}.account-limit-notice{display:flex;align-items:center;gap:15px;padding:10px 0;color:#c4d4d9}.account-limit-notice>.icon{width:34px;height:34px;flex-shrink:0;color:#d5c08a}.account-limit-notice p{font-size:15px;line-height:1.8;margin:0}

/* Order-level receipt and timing details. */
.event-order-detail-button{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;padding:0;border:1px solid #52666b;border-radius:50%;background:transparent;color:#8ea8b2;font:600 12px Georgia,serif;cursor:pointer}.event-order-detail-button:hover{border-color:#8bd9b5;color:#c5e7d6}.event-order-detail-button:focus-visible{outline:2px solid #c5e2a4;outline-offset:2px}
/* A proportional timeline of observed order milestones. */
.order-time-headline{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:4px 0 27px}.order-time-headline>div{display:flex;flex-direction:column;gap:7px}.order-time-headline span{color:#9ab4ab;font-size:13px}.order-time-headline strong{font-variant-numeric:tabular-nums;font-weight:650;line-height:1;letter-spacing:-.5px}.order-time-headline .primary strong{color:#abebce;font-size:36px}.order-time-headline .secondary{text-align:right}.order-time-headline .secondary strong{font-size:23px;color:#bdc8ee}
.order-time-chart{padding:7px 0 0}.order-time-track{position:relative;height:18px;border-radius:8px;background:#2b3a3e;isolation:isolate;box-shadow:inset 0 0 0 1px #a4c4bc12}.order-time-segment{position:absolute;top:0;height:100%;box-shadow:inset -1px 0 #10191d66}.order-time-segment:first-of-type{border-radius:8px 0 0 8px}.order-time-segment:last-of-type{border-radius:0 8px 8px 0}.order-time-segment:only-of-type{border-radius:8px}.order-time-point{position:absolute;top:5px;z-index:1;width:8px;height:8px;border:2px solid #e3eee8;background:#15221d;border-radius:50%;transform:translateX(-50%)}.order-time-point.first{left:0!important;transform:translateX(0)}.order-time-point.last{transform:translateX(-100%)}.order-time-point.complete{background:#d2ffe5;border-color:#d2ffe5;box-shadow:0 0 0 4px #b1e8ca20}
.order-time-axis{position:relative;height:34px;margin-top:8px;font-variant-numeric:tabular-nums;color:#8ea9a6;font-size:12px}.order-time-axis>span{position:absolute;top:5px;white-space:nowrap;transform:translateX(-50%)}.order-time-axis>span:before{content:'';position:absolute;left:50%;top:-8px;width:1px;height:4px;background:#78999180}.order-time-axis>span.first{transform:none}.order-time-axis>span.first:before{left:0}.order-time-axis>span.last{transform:translateX(-100%)}.order-time-axis>span.last:before{left:auto;right:0}.order-time-endpoints{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#a9bbb8}.order-time-endpoints .complete{color:#9de1bd}
.order-time-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:23px 0 24px}.order-time-legend>div{display:flex;align-items:center;gap:8px;min-width:0}.order-time-legend>div>i{height:9px;width:9px;border-radius:3px;flex:none}.order-time-legend>div>span{font-size:13px;color:#a8bdb5}.order-time-legend strong{margin-left:auto;font-size:14px;color:#dbeae5;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.order-time-segment.prepare,.order-time-legend i.prepare{background:#85bad7}.order-time-segment.confirmation,.order-time-legend i.confirmation{background:#7c8b91}.order-time-segment.preflight,.order-time-legend i.preflight{background:#e7b66b}.order-time-segment.exchange,.order-time-legend i.exchange,.order-time-segment.execution,.order-time-legend i.execution{background:#65c79c}.order-time-segment.position,.order-time-legend i.position{background:#69bad2}.order-time-segment.price,.order-time-legend i.price{background:#a69ce6}.order-time-segment.response,.order-time-legend i.response{background:#d58a8f}
.order-read-bars{display:grid;gap:13px;margin:19px 0}.order-read-bars>div{display:grid;grid-template-columns:84px minmax(0,1fr) 75px;gap:12px;align-items:center;font-size:12px}.order-read-bars>div>span{color:#a7bcb4}.order-read-bars>div>i{height:7px;border-radius:4px;overflow:hidden;background:#293b3d}.order-read-bars b{display:block;height:100%;background:linear-gradient(90deg,#c69555,#edc17e);border-radius:4px}.order-read-bars strong{text-align:right;color:#ddc59b;font-weight:500;font-variant-numeric:tabular-nums}
@media(max-width:650px){.order-time-headline .primary strong{font-size:30px}.order-time-headline .secondary strong{font-size:20px}.order-time-legend{gap:14px 12px}.order-time-legend>div{gap:6px}.order-time-legend>div>span{font-size:12px}.order-time-legend strong{font-size:12px}}


.event-settling{display:inline-flex;align-items:center;gap:7px;min-height:42px;white-space:nowrap;color:#e8be7f;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums}.event-settling time{color:#b4a28b;font-size:11px}.event-settling-spinner{width:14px;height:14px;flex:none;border:2px solid #e8be7f32;border-top-color:#e8be7f;border-right-color:#e8be7f;border-radius:50%;animation:event-settlement-spin .85s linear infinite}@keyframes event-settlement-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.event-settling-spinner{animation:none}}

/* The same live chart becomes a movable window; its iframe is never recreated. */
.chart-host{position:relative;min-width:0;height:clamp(360px,calc(100dvh - 380px),560px)}.trading-workspace .chart-host>.tv-panel:not(.tv-expanded){height:100%;border-radius:16px;border-color:#2b383f;box-shadow:0 5px 20px #00000014}.chart-window-placeholder{position:absolute;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;gap:20px;border:1px dashed #32444b;border-radius:16px;background:radial-gradient(ellipse at center,#1b2b342b,transparent 70%)}.chart-window-placeholder>.icon{width:42px;height:42px;color:#516e80}.chart-host:has(.tv-expanded)>.chart-window-placeholder{display:flex}.chart-window-bar,.chart-resize-handle{display:none}
.trading-workspace .tv-header{background:#141e25;border-bottom-color:#293840}.trading-workspace .tv-header .market-switch{padding:3px;border-radius:11px;background:#0f171e;border-color:#2b3a45}.tv-header .market-switch>.market-choice{border-radius:8px}.tv-header .market-switch>.market-choice.active{background:#203448;border-color:#4a7aa3;box-shadow:inset 0 -2px #6ba9dd;color:#e9f3fb}.tv-header .market-choice.active .market-pair>span{color:#9db7cc}.tv-header-actions>.icon-button{border:1px solid #2a3b47;color:#9db3c3;width:32px;height:32px}.tv-header-actions>.icon-button:hover{background:#243c50;border-color:#577d9c;color:#d2e9fc}.tv-header-actions .chart-info-button{border-radius:50%;width:25px;height:25px;font-size:13px}.tv-header-actions select{background:#101b23;border-color:#2d414f;color:#bccfdd}
.chart-expanded .main-content{overflow:auto}.trading-workspace .tv-panel.tv-expanded{position:fixed;inset:auto;z-index:40;display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;border:1px solid #537993;border-radius:15px;background:#111a21;box-shadow:0 24px 80px #0009,0 0 0 1px #8ab9d813;overflow:hidden}.tv-panel.tv-expanded .tradingview-slot{flex:1;min-height:0;height:auto}.tv-expanded .chart-window-bar{height:38px;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 9px 0 15px;background:linear-gradient(100deg,#223747,#192a36);border-bottom:1px solid #3d5768;cursor:grab;user-select:none;touch-action:none;outline-offset:-3px}.chart-window-bar>span{display:flex;align-items:center;gap:9px;min-width:0;flex:1;color:#c1d6e7;pointer-events:none}.chart-window-bar>span>.icon{width:15px;height:15px;color:#7cb6df}.chart-window-bar strong{font-size:12px;letter-spacing:.3px;font-weight:550;white-space:nowrap}.chart-window-bar>span>i{height:7px;width:36px;margin-left:9px;background:radial-gradient(circle,#7f9bb16b 1px,transparent 1.5px) 0 0/6px 6px}.chart-window-bar>div{display:flex;align-items:center;gap:2px}.chart-window-bar .icon-button{width:30px;height:27px;border-radius:5px;color:#9ab5ca}.chart-window-bar .icon-button>.icon{width:15px;height:15px}.chart-window-bar .icon-button:hover{background:#51718a42;color:#f0f7fc}.chart-manipulating .chart-window-bar{cursor:grabbing}.chart-manipulating iframe{pointer-events:none}.tv-expanded .tv-header{padding:9px 12px;min-height:62px}.tv-expanded .tv-header-actions>[data-chart-action=expand]{display:none}.tv-expanded .chart-resize-handle{display:block;position:absolute;z-index:10;touch-action:none}.chart-resize-n,.chart-resize-s{height:5px;left:14px;right:14px;cursor:ns-resize}.chart-resize-n{top:0}.chart-resize-s{bottom:0}.chart-resize-e,.chart-resize-w{width:5px;top:14px;bottom:14px;cursor:ew-resize}.chart-resize-e{right:0}.chart-resize-w{left:0}.chart-resize-ne,.chart-resize-nw,.chart-resize-se,.chart-resize-sw{width:14px;height:14px}.chart-resize-ne{top:0;right:0;cursor:nesw-resize}.chart-resize-nw{top:0;left:0;cursor:nwse-resize}.chart-resize-se{bottom:0;right:0;cursor:nwse-resize}.chart-resize-sw{bottom:0;left:0;cursor:nesw-resize}.chart-resize-se:after{content:'';position:absolute;right:4px;bottom:4px;width:7px;height:7px;border-right:1px solid #8babbd;border-bottom:1px solid #8babbd}.tv-expanded.chart-maximized .chart-resize-handle{display:none}.chart-maximized .chart-window-bar{cursor:default}

.tv-chart-bank[hidden]{display:none!important}.chart-host.native-chart-detached{height:190px}.native-chart-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:15px 20px;background:radial-gradient(ellipse at center,#20364655,transparent 80%);color:#a6c3d8}.native-chart-placeholder>strong{font-size:13px;font-weight:500}.native-chart-symbol{color:#76b8e8;font-size:13px;font-weight:600}.native-chart-placeholder>div{display:flex;gap:9px}.native-chart-placeholder .button{min-height:33px;padding:6px 12px;font-size:12px}
.copy-capacity-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.copy-capacity-heading>h3{margin:0}.copy-capacity-help{position:relative;flex-shrink:0;font-weight:400}.copy-capacity-help>summary{display:grid;place-items:center;width:25px;height:25px;color:#9caeb8;cursor:pointer;list-style:none;border-radius:50%}.copy-capacity-help>summary::-webkit-details-marker{display:none}.copy-capacity-help>summary:hover,.copy-capacity-help[open]>summary{color:#d5e7ee;background:#26373e}.copy-capacity-help>summary:focus-visible{outline:2px solid #9cbde0;outline-offset:2px}.copy-capacity-help>summary svg{width:17px;height:17px}.copy-capacity-help>div{position:absolute;right:0;top:calc(100% + 7px);z-index:30;width:270px;max-width:calc(100vw - 70px);padding:13px 15px;border:1px solid #3b515c;border-radius:10px;background:#19272e;box-shadow:0 12px 32px #0006;color:#d8e4e8;font-size:13px;line-height:1.7;text-align:left}.field>.copy-capacity-heading>label{margin:0}
.api-dashboard{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(460px,1.3fr);gap:22px;align-items:stretch;margin-bottom:22px}.api-gateway,.api-routing{padding:24px;min-width:0;border-radius:17px;background:linear-gradient(140deg,#1a262b,#131d21 65%)}.api-dashboard header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.api-gateway>header>div{display:flex;align-items:center;gap:11px}.api-dashboard h2,.api-call-history h2{font-size:17px;font-weight:600}.api-gateway-icon{display:grid;place-items:center;color:#90c7dc;background:#21353f;border:1px solid #36505e;border-radius:10px;width:36px;height:36px}.api-gateway-icon .icon{width:20px;height:20px}.api-service-state{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:5px 10px;font-size:12px;white-space:nowrap;background:#25302d;color:#a2b4ab}.api-service-state>i,.api-account-health>i{width:6px;height:6px;border-radius:50%;background:currentColor}.api-service-state.running{color:#7de0b8;background:#173c30}.api-service-state.running>i{box-shadow:0 0 0 3px #7de0b815}.api-endpoint{display:flex;align-items:center;gap:10px;background:#0d171c;border:1px solid #2a3d45;border-radius:10px;padding:8px 11px;margin-bottom:22px}.api-endpoint>span{font-size:10px;font-weight:700;letter-spacing:.6px;color:#80bfde;border:1px solid #314957;border-radius:4px;padding:2px 5px}.api-endpoint code{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;color:#d1e0e5;font-size:13px;font-variant-numeric:tabular-nums}.api-endpoint .icon-button{width:28px;min-height:28px}.api-gateway-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.api-gateway-fields .field{font-size:13px;gap:8px}.api-gateway-fields input{width:100%;min-height:42px}.api-permission-toggle{display:flex;align-items:center;gap:10px;padding:18px 0;border-bottom:1px solid #2c3c42;font-size:14px}.api-permission-toggle input{width:17px;height:17px;accent-color:var(--green);margin:0}.api-permission-label{margin-left:auto;color:#9ab4ac;font-size:11px;font-weight:500}.api-key-panel{padding:20px 0 23px;min-height:108px}.api-key-caption{display:flex;align-items:center;justify-content:space-between;color:#aebfc3;font-size:13px}.api-key-caption .text-button{display:flex;align-items:center;gap:5px;font-size:12px}.api-key-caption .icon{width:13px;height:13px}.api-key-hint{display:block;font-size:15px;letter-spacing:.6px;color:#d4e3db;margin-top:13px}.api-secret-box{display:flex;align-items:center;gap:6px;margin-top:10px}.api-secret-box input{min-width:0;flex:1;font-family:ui-monospace,monospace;padding:10px}.api-key-reveal{display:flex;justify-content:space-between;gap:12px;color:#93aba1;font-size:12px;margin-top:8px}.api-key-reveal .text-button{font-size:12px}.api-gateway-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:10px;margin-top:auto}.api-gateway{display:flex;flex-direction:column}.api-dashboard .button .icon{width:16px;height:16px}.api-routing{background:linear-gradient(135deg,#182a23,#131e1d 70%)}.api-concurrency{display:flex;align-items:center;gap:10px}.api-concurrency>span{color:#9eb7aa;font-size:12px;white-space:nowrap}.api-concurrency>strong{font-size:22px;font-variant-numeric:tabular-nums;color:#c9edbb;white-space:nowrap}.api-concurrency b{font-weight:600}.api-concurrency em{font-style:normal;font-size:13px;color:#8ca596;margin-left:5px;font-weight:400}.api-concurrency em b{font-weight:400}.api-mode-selector,.api-strategy-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.api-mode-selector{padding:5px;border-radius:11px;border:1px solid #30463c;background:#101c17;margin-bottom:20px}.api-mode-selector button,.api-strategy-options button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border:1px solid transparent;border-radius:8px;color:#9dafaa;font-size:14px;font-weight:600}.api-mode-selector button.selected{background:#334b2d;border-color:#8aaa72;color:#d9efc6;box-shadow:0 2px 10px #0002}.api-mode-selector .icon,.api-strategy-options .icon{width:17px;height:17px}.api-account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.api-account-cards.single{grid-template-columns:1fr}.api-account-card{padding:16px;background:#0e1917;border:1px solid #2d4439;border-radius:12px;min-width:0}.api-account-card header{margin:0 0 12px;justify-content:flex-start;gap:8px}.api-account-card header label{font-size:12px;color:#a8bdb1}.api-account-order{display:grid;place-items:center;width:23px;height:23px;border:1px solid #3c5547;border-radius:7px;background:#26392c;color:#bfe3ad;font-size:12px}.api-account-card header .badge{margin-left:auto;font-size:10px;padding:2px 6px}.api-account-card select{width:100%;font-size:13px;padding:9px 10px;background:#16231c;border-color:#354b3d;text-overflow:ellipsis;min-height:39px}.api-account-metrics{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-top:20px}.api-account-metrics>div>span{display:block;color:#90a699;font-size:11px;margin-bottom:8px}.api-account-metrics em{font-style:normal;color:#879e91;font-size:10px;font-weight:400}.api-account-metrics>div>strong{font-size:22px;font-weight:600;letter-spacing:-.4px;color:#e0ecdd;font-variant-numeric:tabular-nums;white-space:nowrap}.api-account-open{text-align:right}.api-account-open strong b{font-weight:600}.api-account-open strong em{font-size:12px;margin-left:4px}.api-load-track{display:flex;gap:5px;margin:17px 0 12px}.api-load-track i{height:5px;flex:1;background:#24382c;border-radius:4px}.api-load-track i.occupied{background:linear-gradient(90deg,#7bbc8b,#b9dca5);box-shadow:0 0 8px #98c49316}.api-load-track i.reserved{background:#d5b67a;animation:api-pulse 1.3s ease-in-out infinite}.api-load-track i.unknown{background:#304036}.api-account-card footer{display:flex;align-items:center;gap:8px;min-width:0;min-height:16px;font-size:10px;color:#9aaf9f}.api-account-health{display:flex;align-items:center;gap:5px;white-space:nowrap}.api-account-health.fresh{color:#87c7a6}.api-account-health.stale{color:#c2a87c}.api-account-card [data-api-submitting]{color:#d4b87e;white-space:nowrap}.api-account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;max-width:130px}.api-strategy{margin-top:20px}.api-strategy-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.api-strategy-heading h3{font-size:13px;font-weight:500;color:#a8bdb1}.api-strategy-options button{border-color:#35493c;background:#18251d;min-height:38px;font-size:13px}.api-strategy-options button.selected{border-color:#91ad76;background:#34482b;color:#d5edbe}.api-strategy-help>div{width:290px}.api-routing-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2d4034;margin-top:20px;padding-top:16px;color:#8faa98;font-size:11px}.api-routing-footer .text-button{font-size:12px;display:flex;align-items:center;gap:5px}.api-routing-footer .icon{width:13px;height:13px}.api-call-history{border-radius:14px;overflow:hidden}.api-call-history>header{display:flex;align-items:center;justify-content:space-between;padding:19px 23px}.api-call-history>header>span{color:#819997;font-size:12px}.api-call-history table{font-size:12px}.api-call-history td,.api-call-history th{padding:12px 22px}.api-call-history .api-method{display:inline-block;min-width:40px;color:#9ebdc9;font-size:11px;font-weight:600}.api-call-history .api-response{font-variant-numeric:tabular-nums}.api-unsaved{font-size:12px;color:#d7ba84;border:1px solid #625337;background:#322b1d;border-radius:20px;padding:4px 10px}.api-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:api-spin .7s linear infinite;flex-shrink:0}.api-initial-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:90px 20px;color:#9eb7b0}.api-dashboard [hidden],.api-unsaved[hidden]{display:none!important}@keyframes api-spin{to{transform:rotate(360deg)}}@keyframes api-pulse{50%{opacity:.5}}@media(max-width:1200px){.api-dashboard{grid-template-columns:minmax(300px,.8fr) minmax(400px,1.2fr);gap:16px}.api-gateway,.api-routing{padding:19px}.api-account-card{padding:13px}.api-account-metrics>div>strong{font-size:20px}.api-account-name{max-width:86px}}@media(max-width:1030px){.api-dashboard{grid-template-columns:1fr}.api-account-cards.single{grid-template-columns:1fr}.api-account-cards.single .api-account-metrics{max-width:400px}.api-gateway-fields{grid-template-columns:1fr 1fr}.api-key-panel{min-height:90px}}@media(max-width:650px){.api-account-cards{grid-template-columns:1fr}.api-concurrency{gap:7px}.api-gateway,.api-routing{padding:17px}.api-gateway-actions{grid-template-columns:1fr 1fr}.api-endpoint code{font-size:11px}}@media(prefers-reduced-motion:reduce){.api-spinner{animation-duration:2s}.api-load-track i.reserved{animation:none}}

/* Only proportional sizing needs a separate per-order ceiling. */
.follow-sizing>.field[hidden]{display:none!important}
.copy-form-grid.follow-sizing>.field,.copy-form-grid.follow-sizing>.field:last-child{grid-column:auto}
.follow-sizing>.field:first-child,.follow-sizing.is-fixed>.field{grid-column:1/-1}
.follow-favorite{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;min-height:36px}
.follow-favorite svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.follow-favorite.is-active{color:#f3ce79;border-color:#715f35;background:#322e20}
.follow-favorite.is-active svg{fill:currentColor}
.follow-list-meta{display:flex;align-items:center;gap:12px;margin:0 0 18px;color:var(--muted);font-size:14px}
.follow-list-meta strong{color:var(--text);font-size:18px;font-variant-numeric:tabular-nums}.follow-list-meta em{font-style:normal;color:var(--muted);font-size:14px}
.follow-empty{grid-column:1/-1;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:200px}.follow-empty>svg{width:34px;height:34px;stroke:#bcd697;fill:none;stroke-width:1.2}.follow-empty h2{font-size:18px;margin:0}
.modal.follow-analysis-modal{width:100%;max-width:min(1380px,calc(100vw - 70px))}.follow-analysis-modal .modal-body{padding:22px;overflow:auto}.follow-analysis-header{display:flex;align-items:center;gap:13px}.follow-analysis-header .sim-avatar{border-radius:50%}.follow-analysis-header h3{font-size:20px;margin:0 0 5px}.follow-analysis-header>div>span{font-size:13px;color:var(--muted)}
.follow-analysis-kpis{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:20px;margin:24px 0 20px;padding:18px 20px;background:#10191c;border:1px solid var(--line);border-radius:11px}.follow-analysis-kpis>div{display:grid;gap:10px}.follow-analysis-kpis span{font-size:13px;color:var(--muted)}.follow-analysis-kpis strong{font-size:22px;font-variant-numeric:tabular-nums}.follow-analysis-kpis em{font-size:15px;color:var(--muted);font-style:normal}
.follow-pnl-curve{padding:0 10px;margin:0 0 22px}.follow-pnl-curve .sim-spark.large{height:110px;margin:0}.follow-pnl-curve>div{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:7px}.follow-records-header{display:flex;align-items:center;gap:16px;margin:18px 0 12px}.follow-records-header h3{font-size:16px;margin:0;flex:1}.follow-records-header .sim-periods button{font-size:13px;padding:6px 12px}
.follow-records table{width:100%;min-width:1060px;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.follow-records th{background:#101b20;color:#9fb1b4;font-weight:500}.follow-records td,.follow-records th{padding:12px 10px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}.follow-records td:first-child,.follow-records th:first-child{text-align:left}.follow-records .follow-source-heading{text-align:center;color:#a6c8f5;border-top:2px solid #5596e7}.follow-records .follow-mine-heading{text-align:center;color:#9edcc3;border-top:2px solid #54bd98}.follow-records tr:hover td{background:#1a2528}.follow-records td strong{font-size:13px;font-weight:550}.follow-cell-date{display:block;color:var(--muted);font-size:12px;margin-top:5px}.follow-price{display:inline-grid;grid-template-columns:70px 16px 70px;align-items:center;gap:5px;font-variant-numeric:tabular-nums}.follow-price>i{text-align:center;color:#657c84;font-style:normal}.follow-price strong{font-weight:550}.follow-record-state{color:var(--muted)}
.follow-latency-button{display:inline-flex;align-items:center;gap:6px;color:#bfd4df;font-size:12px;padding:6px 8px;border:1px solid #344951;border-radius:7px}.follow-latency-button .icon{width:14px;height:14px}.follow-latency-button[aria-expanded=true]{color:#d6ebb9;border-color:#8caa71;background:#273827}.follow-trace-row[hidden]{display:none!important}.follow-trace-row>td{background:#111c20!important;padding:18px 22px!important}.follow-timing{display:grid;gap:10px;max-width:760px;margin:0 auto}.follow-timing-stage{display:grid;grid-template-columns:210px minmax(100px,1fr) 90px;gap:16px;align-items:center;text-align:left;font-size:13px}.follow-timing-stage>span{color:#a7bbc0}.follow-timing-stage>div{background:#203239;height:7px;border-radius:7px;overflow:hidden}.follow-timing-stage i{display:block;height:100%;background:linear-gradient(90deg,#74a6e8,#8cdbbe);border-radius:7px}.follow-timing-stage strong{text-align:right;color:#d6e8df}.follow-timing-stage em{font-style:normal;color:var(--muted);font-size:11px}.follow-timing-empty,.follow-table-empty{text-align:center!important;color:var(--muted);padding:30px!important}
.follow-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:210px;color:#b7cdc5}.follow-loading strong{font-size:13px;color:#849d95;font-weight:400;font-variant-numeric:tabular-nums}.follow-analysis-error{padding:10px 14px;background:#382427;color:#e9a0a0;border-radius:8px;margin-bottom:15px}
@media(max-width:1100px){.follow-analysis-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:15px}.follow-analysis-kpis strong{font-size:19px}}

.follow-list-meta>.text-button{margin-left:auto;font-size:13px}
.copy-workspace-heading{margin-bottom:18px;min-height:42px;align-items:center}.copy-workspace-heading h1{font-size:28px;line-height:1.3;margin:0}.copy-workspace-heading .heading-actions{gap:10px;align-items:center}.copy-workspace-heading .icon-button{width:38px;min-width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.copy-workspace-heading+.sim-tabs{margin-top:0;margin-bottom:20px;gap:28px}.copy-workspace-heading+.sim-tabs button{padding:13px 0 15px}
.copy-workspace-refresh[aria-busy=true]{opacity:1}.copy-workspace-refresh:has([data-copy-refresh-time]:not(:empty)){width:auto;gap:6px;padding:0 10px}.copy-workspace-refresh [data-copy-refresh-time]{font-size:12px;line-height:1;font-variant-numeric:tabular-nums;color:#b3c6c0}
.copy-invitation-alert{position:relative;color:#bdccc7;background:#172226;border:1px solid #33464a}.copy-invitation-alert.has-pending{color:#f5cf83;background:#332b1b;border-color:#9e783b;box-shadow:0 0 0 3px #b2822420}.copy-invitation-alert.has-pending>.icon{animation:copy-invitation-pulse 2s ease-in-out infinite}.copy-invitation-count{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:9px;background:#f0bd69;color:#302617;border:2px solid #10181c;font-size:11px;font-weight:700;padding:0 3px;font-variant-numeric:tabular-nums}
@keyframes copy-invitation-pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.copy-invitation-alert.has-pending>.icon{animation:none}}
.modal.copy-invitations-modal{max-width:680px}.copy-invitations-modal>header{padding:18px 22px;gap:10px}.copy-invitations-modal>header h2{flex:1;font-size:18px}.copy-invitations-modal>.modal-body{padding:18px 22px 22px}.copy-invitation-list{display:grid;gap:12px}.copy-invitation-row{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #33454a;border-radius:12px;background:#111c20}.copy-invitation-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#28392d;color:#cfdfa8;flex-shrink:0}.copy-invitation-avatar .icon{width:22px;height:22px}.copy-invitation-content{flex:1;min-width:0}.copy-invitation-content h3{margin:0 0 7px;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-invitation-status{font-size:12px;color:#83c9ab}.copy-invitation-status.is-pending{color:#efc57f}.copy-invitation-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.copy-invitation-actions .button{font-size:13px;min-height:34px}.copy-invitation-actions .icon-button{width:32px;height:32px;color:#8fa69f}.copy-invitation-empty{display:flex;flex-direction:column;gap:17px;align-items:center;justify-content:center;min-height:160px;color:#93a8a0}.copy-invitation-empty>.icon{width:34px;height:34px;color:#b2c59f}.copy-invitation-failure{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#e2aaa8}.copy-invitation-review>p{line-height:1.7;font-size:14px;color:#b6c7c0}.copy-invitation-review .copy-invite-symbol{margin-bottom:15px}
@media(max-width:1100px){.copy-workspace-heading h1{font-size:25px}.copy-workspace-heading+.sim-tabs{gap:24px}.copy-invitation-row{flex-wrap:wrap}.copy-invitation-actions{margin-left:auto}}

/* Stable comparison slots; quotes update the cells without rebuilding the ledger. */
.follow-analysis-modal{width:min(1520px,96vw)}
.follow-records table{min-width:1250px}.follow-records th,.follow-records td{padding:10px 8px}
.follow-price{grid-template-columns:68px 12px 68px 92px;gap:3px}.follow-entry{color:#9fbeea}.follow-bp{font-size:12px;font-weight:500;text-align:right}.follow-bp>span{font-size:13px}.follow-records [data-follow-status]{text-align:center;min-width:66px}.follow-records .position-dial{width:40px;height:40px}.follow-records .position-dial strong{font-size:10px}.follow-sync{display:inline-flex;align-items:center;gap:7px;color:var(--muted)}.follow-records .event-settling{font-size:11px}
.event-origin{padding:2px 6px;border-radius:5px;font-size:10px;line-height:1.5;font-weight:600;white-space:nowrap}.event-origin.follower{background:#16372f;color:#77dfbd;border:1px solid #2b5c4a}.event-origin.leader{background:#293146;color:#adc5ff;border:1px solid #485774}

.follow-time-chart{max-width:1000px;padding:20px 28px;margin:auto;text-align:left}.follow-time-chart .order-time-headline{margin-bottom:22px}.follow-time-chart .order-time-headline .primary strong{font-size:28px}.copy-time-lane{display:grid;grid-template-columns:145px minmax(100px,1fr) 85px;gap:16px;align-items:center;margin:16px 0;font-size:12px;color:#b2c9c4}.copy-time-lane>strong{text-align:right;font-variant-numeric:tabular-nums}.copy-time-lane .order-time-track{height:14px}.copy-time-lane .order-time-point{top:3px}.copy-time-segment{position:absolute;height:100%;top:0;box-shadow:inset -1px 0 #10191d66}.copy-time-scale{margin-left:161px;margin-right:101px}.copy-time-segment.upload,.copy-time-key.upload{background:#ba9be4}.copy-time-segment.processing,.copy-time-key.processing{background:#77a8ef}.copy-time-segment.queue,.copy-time-key.queue{background:#b194cd}.copy-time-segment.delivery,.copy-time-key.delivery{background:#56bdce}.copy-time-segment.report,.copy-time-key.report{background:#7c969c}.copy-time-segment.clientQueue,.copy-time-key.clientQueue{background:#af9264}.copy-time-segment.prepare,.copy-time-key.prepare{background:#e7b66b}.copy-time-segment.exchange,.copy-time-key.exchange,.copy-time-segment.execution,.copy-time-key.execution{background:#65c79c}.copy-time-segment.position,.copy-time-key.position{background:#69bad2}.copy-time-segment.price,.copy-time-key.price{background:#a69ce6}.copy-time-segment.allocation,.copy-time-key.allocation{background:#65c79c}

/* Two aligned ledgers, with a shared trade identity and clear visual ownership. */
.follow-analysis-header>div>span{display:none}.follow-analysis-header h3{margin-bottom:0}
.follow-analysis-header .follow-leader-link{padding:0;border:1px solid var(--line)}
.follow-analysis-header .follow-leader-link:hover,.follow-analysis-header .follow-leader-link:focus-visible{border-color:var(--green);box-shadow:0 0 0 2px var(--green)}
.modal>header .project-detail-back{flex:none}
.project-detail-back .icon{transform:rotate(180deg)}
.project-detail-back+#modal-title{flex:1}
.follow-records{border:1px solid var(--line);border-radius:12px;overflow:auto;background:var(--panel)}
.follow-records table{min-width:1230px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.follow-col-trade{width:144px}.follow-col-amount{width:56px}.follow-col-price{width:248px}.follow-col-pnl{width:68px}.follow-col-account{width:56px}.follow-col-status{width:104px}.follow-col-delay{width:90px}.follow-col-detail{width:76px}
.follow-records th,.follow-records tbody tr[data-follow-record]>td{background:var(--panel);border-bottom:1px solid var(--line);padding:8px 12px;vertical-align:middle}
.follow-records th{color:var(--muted);font-size:12px}
.follow-records thead tr:first-child th{height:40px;font-size:13px;font-weight:600}
.follow-records .follow-source-heading{color:#a9cbf1;background:color-mix(in srgb,#5488bc 13%,var(--panel));box-shadow:inset 0 2px #6395cc}
.follow-records .follow-mine-heading{color:#a6dfcc;background:color-mix(in srgb,#4c9e87 13%,var(--panel));box-shadow:inset 0 2px #60b49b}
[data-theme=light] .follow-records .follow-source-heading{color:#24537d}
[data-theme=light] .follow-records .follow-mine-heading{color:#246452}
.follow-source-heading>.icon,.follow-mine-heading>.icon{width:14px;height:14px;display:inline-block;vertical-align:-2px;margin-right:8px}
.follow-records .follow-account-cell,.follow-records .follow-mine-heading,.follow-records .follow-detail-cell{border-left:1px solid var(--line)}
.follow-records .follow-account-cell,.follow-records .follow-status-cell,.follow-records .follow-delay-cell,.follow-records .follow-detail-cell{text-align:center}
.follow-delay{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.follow-delay.healthy{color:#86d9b8}.follow-delay.slow{color:#efbb77}.follow-delay.high{color:#ef9298}.follow-delay.unavailable{color:var(--muted)}
[data-theme=light] .follow-delay.healthy{color:#236747}
[data-theme=light] .follow-delay.slow{color:#805315}
[data-theme=light] .follow-delay.high{color:#9e3440}
.follow-records tbody tr[data-follow-record]>td{height:52px}
.follow-records tbody tr[data-follow-record]:is(:hover,:focus-within)>td{background:color-mix(in srgb,var(--text) 5%,var(--panel))}
.follow-records tbody tr[data-follow-record]:last-child>td{border-bottom:0}
.follow-price{grid-template-columns:64px 12px 64px 76px;gap:2px;align-items:center}.follow-price strong{font-size:12px!important}.follow-bp{font-size:11px}.follow-price .follow-entry{color:var(--muted);font-size:12px}.follow-records [data-follow-profit]{font-weight:600;font-size:13px}
.follow-records .follow-latency-button{font-size:12px;justify-content:center;min-width:44px;padding:4px 8px;border-color:var(--line);color:var(--text)}
.follow-records .follow-latency-button:hover{background:color-mix(in srgb,var(--text) 8%,var(--panel))}
.follow-records .follow-trace-row>td{background:#111d22}.follow-time-chart .order-time-legend{margin-bottom:8px}
.follow-price-wait{display:inline-block;width:11px;height:11px;vertical-align:middle;opacity:.7}
.follow-records thead tr:first-child th.follow-source-heading,.follow-records thead tr:first-child th.follow-mine-heading{text-align:center}

/* Stable stages and separate post-acceptance synchronization lanes. */
.copy-time-lanes{border:1px solid #2c4148;border-radius:12px;overflow:hidden;background:#101b20}
.copy-time-lane{margin:0;min-height:47px;padding:11px 14px;grid-template-columns:148px minmax(100px,1fr) 80px;gap:16px;border-bottom:1px solid #24373d}
.copy-time-lane:last-child{border-bottom:0}.copy-time-lane.is-sync{background:#18212c}
.copy-time-lane[data-timing-lane=position]{border-top:1px solid #405268}.copy-time-label{display:flex;align-items:center;gap:9px;white-space:nowrap;font-weight:550}
.copy-time-label>.copy-time-key{width:7px;height:7px;border-radius:50%;flex:none;background:#75bfa9}
.copy-time-label>.upload{background:#ba9be4}.copy-time-label>.cloud{background:#77a8ef}.copy-time-label>.position{background:#69bad2}.copy-time-label>.price{background:#a69ce6}
.copy-time-lane .order-time-track{height:10px;border-radius:6px;box-shadow:none;background:#263a40;overflow:visible}
.copy-time-lane .order-time-point{top:1px;width:8px;height:8px}.copy-time-lane .order-time-point.complete{box-shadow:0 0 0 3px #b1e8ca16}
.copy-time-lane.is-incomplete .order-time-track{background:repeating-linear-gradient(90deg,#314249 0 8px,transparent 8px 14px);height:2px;opacity:.65}
.copy-time-value{font-size:13px;color:#d3e5df}.copy-time-lane.is-incomplete .copy-time-value{color:#81949b}
.follow-time-chart .copy-time-scale{margin-left:179px;margin-right:111px}.follow-time-chart .order-time-legend{column-gap:36px;row-gap:12px;border-top:1px solid #2c3f45;padding-top:16px;margin-top:10px}
.follow-time-chart .order-time-legend .is-missing strong{color:#81949b}.follow-time-chart .order-time-legend .is-missing>i{opacity:.45}
.copy-time-segment{border-radius:5px}.copy-time-lane .copy-time-segment+.copy-time-segment{border-radius:0 5px 5px 0}

.follow-project-tags{display:flex;align-items:center;gap:6px;margin:-4px 0 14px}.follow-project-tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;font-size:12px;line-height:1.35;font-weight:600;white-space:nowrap}.follow-project-tag.accounts{background:#1c3042;border:1px solid #35546d;color:#b5d6f6}.follow-project-tag.sizing{background:#263528;border:1px solid #435b3d;color:#c2dfad}


/* Bright, consistent stage accents over dark tracks; labels remain high-contrast. */
.follow-time-chart{--timing-transfer:#4DDBF0;--timing-prepare:#FFD166;--timing-accepted:#50E3B0;--timing-position:#78BEFF;--timing-price:#C5A0FF}
.follow-time-chart :is(.upload,.cloud,.processing,.queue,.delivery,.report,.allocation){--timing-stage:var(--timing-transfer)}
.follow-time-chart :is(.clientQueue,.prepare){--timing-stage:var(--timing-prepare)}
.follow-time-chart :is(.exchange,.execution){--timing-stage:var(--timing-accepted)}
.follow-time-chart .position{--timing-stage:var(--timing-position)}.follow-time-chart .price{--timing-stage:var(--timing-price)}
.follow-time-chart .copy-time-segment{background:var(--timing-stage);box-shadow:inset -2px 0 #10202bcc;border-radius:5px}
.follow-time-chart .copy-time-label>.copy-time-key,.follow-time-chart .order-time-legend .copy-time-key{display:block;width:10px;height:10px;background:var(--timing-stage);border-radius:3px;opacity:1}
.follow-time-chart .copy-time-lane .order-time-track{height:14px;background:#243746}
.follow-time-chart .copy-time-lane .order-time-point{width:10px;height:10px;top:2px;border-color:#f4faff;background:#14222e}
.follow-time-chart .copy-time-lane .order-time-point.complete{background:#f4faff;box-shadow:0 0 0 2px #14222e}
.follow-time-chart .copy-time-label{font-size:13px;font-weight:600;color:#EDF5FC}
.follow-time-chart .copy-time-value{font-size:14px;font-weight:650;color:#EDF5FC}
.follow-time-chart .order-time-legend>div>span{color:#d7e5ef}.follow-time-chart .order-time-legend strong{color:#EDF5FC;font-size:14px}
.follow-time-chart .order-time-headline .primary strong{color:#EDF5FC}
.follow-time-chart .copy-time-lane.is-incomplete .order-time-track{height:2px;background:repeating-linear-gradient(90deg,#577284 0 8px,transparent 8px 14px);opacity:1}
.follow-time-chart .copy-time-lane.is-incomplete .copy-time-value,.follow-time-chart .order-time-legend .is-missing strong{color:#A7BAC7}
.follow-delay-heading,.follow-timing-caption{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px}
.follow-delay-help-button{display:inline-grid;place-items:center;width:21px;height:21px;min-width:21px;padding:0;border:1px solid #6089a4;border-radius:50%;background:#1a3344;color:#C8EAFF;cursor:pointer;vertical-align:middle}
.follow-delay-help-button>.icon{width:14px;height:14px}.follow-delay-help-button:hover{color:#fff;background:#2b5774;border-color:#94d8ff}.follow-delay-help-button:focus-visible{outline:2px solid #8bd3ff;outline-offset:3px}
.follow-delay-help-panel{position:fixed;inset:110px 34px auto auto;box-sizing:border-box;margin:0;width:min(430px,calc(100vw - 40px));max-height:calc(100vh - 150px);overflow:auto;padding:20px 22px;background:#152632;color:#EDF5FC;border:1px solid #6385a0;border-radius:14px;box-shadow:0 20px 65px #0009;font-size:14px;line-height:1.65;text-align:left}
.follow-delay-help-panel::backdrop{background:#0003}.follow-delay-help-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.follow-delay-help-panel header>strong{font-size:17px;font-weight:650}.follow-delay-help-panel header .icon-button{width:28px;min-height:28px;color:#c4d9e7}.follow-delay-help-panel p{margin:0 0 16px;color:#ccdfec}.follow-delay-help-panel dl{margin:0;display:grid;gap:14px}.follow-delay-help-panel dt{font-size:14px;font-weight:650;color:#fff}.follow-delay-help-panel dd{margin:3px 0 0;color:#ccdfec;font-size:14px;line-height:1.65}
.copy-subscribe-modal{width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:calc(100dvh - 32px);border:1px solid #34443f;border-radius:18px;background:#141e22;display:flex;flex-direction:column;overflow:hidden}
.copy-subscribe-modal>header{padding:19px 24px;border-bottom:1px solid #2b3a35;flex-shrink:0}.copy-subscribe-modal>header h2{font-size:21px;letter-spacing:-.3px}.copy-subscribe-modal .modal-body{display:grid;gap:21px;padding:23px 24px;min-height:0;overflow:auto;scrollbar-gutter:stable}
.subscription-overview{display:flex;align-items:center;gap:20px;min-width:0}.subscription-project{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.subscription-project-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#273a33;display:grid;place-items:center;flex:none}.subscription-project-avatar img{width:100%;height:100%;object-fit:cover}.subscription-project-avatar>.icon{width:25px;height:25px;color:#bfd2c7}.subscription-project>div{display:grid;gap:6px;min-width:0}.subscription-project strong{font-size:19px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#edf4ef}.subscription-project>div>span{font-size:13px;color:#a4b7ad}
.subscription-gift-balance{display:flex;align-items:center;gap:17px;flex:none;padding:10px 13px;border:1px solid #3d5141;background:#1b2a23;border-radius:11px}.subscription-gift-identity{display:flex;align-items:center;gap:9px;color:#b1c4b6;font-size:13px}.subscription-gift-identity>.gift-logo{width:33px;height:33px;flex:none}.subscription-gift-balance>strong{font-size:25px;font-weight:600;line-height:1;color:#deefc8;font-variant-numeric:tabular-nums;white-space:nowrap}.subscription-gift-balance>strong>span{font-size:12px;font-weight:400;margin-left:5px;color:#a8bbaa}.subscription-gift-balance.is-low{border-color:#79643d;background:#30291d}.subscription-gift-balance.is-low>strong{color:#f1cb88}
.subscription-section-heading{display:flex;align-items:center;gap:8px;min-height:32px;margin-bottom:12px}.subscription-section-heading h3{margin:0;color:#dbe7df;font-size:14px;font-weight:600}.subscription-section-heading>.subscription-segments{margin-left:auto}.subscription-section-heading>.copy-capacity-help{flex:none}.subscription-duration{padding-bottom:21px;border-bottom:1px solid #2b3b35}.subscription-months{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.subscription-months>button{min-height:41px;padding:8px 5px;background:#17251e;border:1px solid #354a3e;border-radius:8px;color:#adbfaf;font:inherit;font-size:14px;cursor:pointer}.subscription-months>button[aria-pressed=true]{color:#e8f5d5;border-color:#bedc9e;background:#344b30;box-shadow:inset 0 0 0 1px #bedc9e1a}.subscription-custom-months{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:11px;font-size:13px;color:#b0c3b7}.subscription-custom-months[hidden]{display:none!important}.subscription-custom-months>input{width:85px;min-height:38px;padding:7px 9px;border:1px solid #48604b;background:#0e1917;border-radius:7px;text-align:center;color:#edf4e8;font:inherit}
.subscription-config-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:stretch}.subscription-accounts,.subscription-sizing{min-width:0;border:1px solid #2c3d35;border-radius:12px;background:#111c1e;padding:15px}.subscription-segments{display:flex;gap:2px;padding:3px;border:1px solid #344a3c;border-radius:8px;background:#0c1713}.subscription-segments>button{min-width:44px;min-height:28px;border:0;border-radius:5px;background:transparent;color:#95ac9e;font:inherit;font-size:12px;cursor:pointer;padding:5px 10px}.subscription-segments>button[aria-pressed=true]{background:#334b31;color:#e0f0d0}.copy-subscribe-modal select[hidden]{display:none!important}.copy-subscribe-modal .copy-account-choices{display:grid;gap:8px}.copy-subscribe-modal .copy-account-option{min-height:49px;gap:8px;padding:8px 10px;border-radius:8px;background:#17241e;border-color:#33483a}.copy-subscribe-modal .copy-account-option>strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-subscribe-modal .copy-account-option>span:last-child{font-size:11px;white-space:nowrap;color:#9bae9e}.copy-subscribe-modal .copy-account-slot{width:23px;height:23px;flex:none;font-size:12px}.copy-subscribe-modal .copy-account-option:has(input:checked){border-color:#bfdc9c;background:#2b412d;box-shadow:inset 0 0 0 1px #bfdc9c1c}.copy-subscribe-modal .copy-account-option.unavailable{background:#101a18;border-style:dashed;opacity:.65}.copy-subscribe-modal .copy-account-option input{accent-color:#cbe7ac}
.copy-subscribe-modal .field{display:flex;flex-direction:column;gap:8px;margin:0;color:#9db4a5;font-size:12px}.copy-subscribe-modal .follow-sizing{grid-template-columns:1fr;gap:14px}.copy-subscribe-modal #copy-max-field[hidden]{display:none!important}.subscription-amount-input{display:flex;align-items:center;background:#0d1815;border:1px solid #3c5342;border-radius:9px;min-width:0;padding-right:12px}.subscription-amount-input:focus-within{border-color:#c3dfa7;box-shadow:0 0 0 2px #c3dfa712}.copy-subscribe-modal .subscription-amount-input input{border:0;background:transparent;outline:0;box-shadow:none;width:100%;min-width:0;min-height:52px;font:inherit;font-size:25px;color:#edf5e7;padding:10px 13px;appearance:textfield}.subscription-amount-input>span{font-size:12px;flex:none;color:#94aa9b}.subscription-amount-input input::-webkit-inner-spin-button,.subscription-amount-input input::-webkit-outer-spin-button{appearance:none;margin:0}.copy-subscribe-modal input[aria-invalid=true]{outline:1px solid #db8f79}
.subscription-payment-summary{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;border:1px solid #334838;border-radius:10px;background:#1b2b22;padding:14px 16px;font-size:14px}.subscription-payment-summary>span:first-child{color:#a9bfad}.subscription-payment-summary>strong{margin-left:auto;color:#e1f1c8;font-weight:600}.subscription-payment-summary>span:last-child{flex-basis:100%;color:#edc589;font-size:13px}.subscription-payment-summary>span:last-child:empty{display:none}.subscription-loading{min-height:190px;display:flex;align-items:center;justify-content:center;gap:12px;color:#bed1c2;font-size:14px}.subscription-alert{padding:11px 14px;border:1px solid #725d3c;border-radius:9px;background:#3a2e1d;color:#edc784;font-size:13px}
.copy-subscribe-modal .copy-terms{display:none;margin:0;padding:15px 0 0;border:0;border-top:1px solid #2d4036;border-radius:0;font-size:13px}.copy-subscribe-modal .copy-terms[open]{display:block}.copy-subscribe-modal .copy-terms article{max-height:220px;padding-top:12px}.copy-subscribe-modal>footer{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;padding:16px 24px;min-height:77px;flex-shrink:0;border-top:1px solid #2c3c34;background:#141e22}.copy-subscribe-modal>footer>.connection-consent{flex:1;flex-basis:auto;max-width:none;margin:0;font-size:13px;line-height:1.6;align-items:center;gap:8px}.copy-subscribe-modal>footer>.connection-consent input{appearance:auto!important;-webkit-appearance:checkbox!important;margin:0;flex:none}.copy-subscribe-modal #modal-confirm{min-width:139px;min-height:43px;border-radius:9px;font-size:14px}.copy-subscribe-modal>footer>.button.ghost{min-height:43px}.copy-subscribe-modal #modal-error:empty{display:none}.copy-subscribe-modal #modal-error:not(:empty){padding:0 24px 12px;margin:0;font-size:13px}
@media(max-width:640px){.copy-subscribe-modal{width:calc(100vw - 24px)!important}.copy-subscribe-modal .modal-body{padding:18px;gap:18px}.copy-subscribe-modal>header{padding:17px 18px}.subscription-config-grid{grid-template-columns:1fr}.subscription-overview{gap:12px}.subscription-gift-balance{padding:8px 10px;gap:10px}.subscription-gift-identity>span{display:none}.subscription-gift-balance>strong{font-size:23px}.subscription-project strong{font-size:17px}.copy-subscribe-modal>footer{flex-wrap:wrap;padding:14px 18px;gap:11px}.copy-subscribe-modal>footer>.connection-consent{flex-basis:100%}.copy-subscribe-modal #modal-confirm{flex:1}.subscription-months{gap:6px}.subscription-months>button{font-size:13px}}

.gift-purchase-quantity{display:flex;align-items:center;justify-content:center;gap:18px;color:#b8cbbc;font-size:14px;margin:19px 0}.gift-purchase-quantity input{width:92px;min-height:42px;background:#101a16;border:1px solid #52674c;border-radius:8px;padding:8px 11px;color:#e0f0cf;font:inherit;text-align:center}.gift-purchase-quantity input[aria-invalid=true]{border-color:#d98773}

.copy-subscribe-modal>footer>.connection-consent[hidden]{display:none!important}.copy-subscribe-modal .subscription-agreement-link{border:0;background:transparent;padding:0;font:inherit;color:#d9edb9;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:0}.copy-subscribe-modal .subscription-agreement-link:hover{color:#edffd5}

/* Shared portfolio actions */
.sim-project .sim-manage-project{grid-column:1/-1;min-height:30px!important;background:transparent}.project-follow-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px;padding-top:16px;border-top:1px solid #2c3d39}.project-follow-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:138px;min-height:40px}.project-follow-actions .gift-logo{width:27px;height:27px}.project-follow-actions .button.outline{border-color:#4b625a;color:#d8e8dc}@media(max-width:700px){.project-follow-actions>.button{flex:1;min-width:0}}

.modal:has(.project-subscribers){max-width:920px}.project-subscribers{min-height:160px}.project-subscriber-summary{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.project-subscriber-summary>span{color:var(--muted)}.project-subscriber-user{display:flex;align-items:center;gap:9px;white-space:nowrap}.project-subscriber-user .sim-avatar{width:29px;height:29px;flex:none}.project-subscribers table{width:100%}.project-subscribers td{padding:12px 10px;white-space:nowrap}.project-subscriber-state{font-size:12px;padding:4px 7px;border-radius:5px;background:#26352e}.project-subscribers[aria-busy=true]{opacity:.75}.project-profile-actions b{font-size:12px;color:#cce7b3}

.project-id-copy{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 0;background:transparent;border:0;color:#91aba8;font-size:12px;text-align:left;cursor:pointer}.project-id-copy code{overflow:hidden;text-overflow:ellipsis;font:inherit;font-variant-numeric:tabular-nums;color:#c3d6d2}.project-id-copy svg{width:13px;height:13px;flex:none}.project-id-copy:hover{color:#cde8b0}.project-revenue{padding:17px 20px!important}.project-revenue>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 16px!important}.project-revenue h4{display:flex;align-items:center;gap:7px;margin:0;font-size:14px}.project-revenue>header button{display:flex;align-items:center;gap:4px}.project-revenue>header button svg{width:14px;height:14px}.project-revenue-info{display:inline-flex;cursor:help;color:#89a39d}.project-revenue-info svg{width:14px;height:14px}.project-revenue-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.project-revenue-stats>div{display:grid;gap:8px;padding:0 16px;border-left:1px solid #2b3e38}.project-revenue-stats>div:first-child{padding-left:0;border-left:0}.project-revenue-stats span{font-size:12px;color:#9ab1a8}.project-revenue-stats strong{font-size:23px;line-height:1.25;font-variant-numeric:tabular-nums}.project-revenue-stats em{font-size:11px;color:#94ada0;font-style:normal;margin-left:5px}.revenue-pending{color:#efc779}.modal:has(.project-revenue-detail){max-width:1160px}.project-revenue-detail .project-revenue-stats{padding:0 0 22px;margin-bottom:12px;border-bottom:1px solid #2b3e38}.project-revenue-detail table{width:100%}.project-revenue-detail td{padding:13px 10px;white-space:nowrap}.project-revenue-detail .revenue-gift{display:flex;align-items:center;gap:6px}.revenue-gift .gift-logo{width:25px;height:25px}.revenue-user-uid{display:block;font-size:11px;color:#91a89e;margin-top:4px}.revenue-term{display:grid;gap:3px;font-variant-numeric:tabular-nums}.revenue-term i{font-style:normal;color:#6d8780}.revenue-state{font-size:12px;padding:5px 7px;border-radius:5px;background:#26342e}.revenue-state.released{color:#6ae2c1}.revenue-state.pending{color:#efc779}.revenue-state.refunded{color:#b4c6c0}.project-revenue-detail[aria-busy=true]{opacity:.75}@media(max-width:700px){.project-revenue-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-revenue-stats>div:nth-child(3){padding-left:0;border:0}.project-id-copy{display:flex;max-width:280px}}

.revenue-paging-wait{display:flex;align-items:center;gap:9px;margin-bottom:16px;color:#d6e6d8;font-size:13px}

.copy-time-detail{border-bottom:1px solid #2c414c}.copy-time-detail:last-child{border-bottom:0}.copy-time-detail>summary{list-style:none;cursor:pointer;grid-template-columns:148px minmax(100px,1fr) 80px 14px;border-bottom:0}.copy-time-detail>summary::-webkit-details-marker{display:none}.copy-time-detail>summary:hover{background:#203440}.copy-time-detail>summary:focus-visible{outline:2px solid #87d5f1;outline-offset:-2px}.copy-time-expand{display:flex;color:#bdd3df}.copy-time-expand svg{width:13px;height:13px;transition:transform .16s}.copy-time-detail[open] .copy-time-expand svg{transform:rotate(90deg)}.copy-time-breakdown{padding:13px 24px 18px 178px;background:#101e27;border-top:1px solid #2c414c}.copy-time-bounds{display:flex;align-items:center;gap:10px;color:#bed3dc;font-size:13px;margin-bottom:13px}.copy-time-bounds i{font-style:normal;color:#6f99ac}.copy-time-breakdown dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:0}.copy-time-breakdown dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.copy-time-breakdown dt{color:#b9d0dc;font-size:13px}.copy-time-breakdown dd{margin:0;font-size:13px;font-weight:650;color:#f1f8ff;font-variant-numeric:tabular-nums}.copy-time-before{border-top:1px dashed #3e5360;padding-top:11px;grid-column:1/-1}.follow-time-chart .copy-time-scale{margin-right:141px}@media(max-width:800px){.copy-time-detail>summary{grid-template-columns:120px minmax(70px,1fr) 65px 12px;gap:10px}.copy-time-breakdown{padding-left:24px}.copy-time-breakdown dl{grid-template-columns:1fr}}

/* Portfolio overview: identity, performance and actions in clear groups. */
.sim-identity-meta .sim-follower-count b{display:inline-flex;gap:3px;align-items:baseline;font-variant-numeric:tabular-nums;color:#d7e5dc;font-weight:550}
.sim-identity-meta .sim-follower-count b>span{font-weight:400;color:#829a90}
.sim-identity-meta .sim-follower-count.is-full b,.sim-identity-meta .sim-follower-count.is-full>svg{color:#efcb85}
.sim-project .sim-card-stats{border-top:0;border-bottom:1px solid #314039;padding-top:5px;padding-bottom:12px}
.sim-project .sim-card-stats>div:last-child{text-align:right}
.sim-project .sim-card-stats>div:nth-child(2){text-align:center}
.sim-project .sim-main-stat strong{font-weight:600;letter-spacing:-.6px}
.sim-project:focus-visible{outline:2px solid #cbe5ad;outline-offset:4px}
.sim-project .button.project-capacity-full,.project-follow-actions .button.project-capacity-full{background:#3a3222;color:#f3d391;border:1px solid #796338;box-shadow:none}
.sim-project .button.project-capacity-full:hover,.project-follow-actions .button.project-capacity-full:hover{background:#4a3d29;border-color:#a3874e}
.project-detail>.project-profile{padding:20px 22px;background:linear-gradient(125deg,#162125,#111c20)}
.project-profile .sim-detail-header{align-items:flex-start;gap:18px}
.project-profile .sim-detail-identity{align-items:center;gap:14px;flex:1}
.project-profile .sim-detail-identity>div{min-width:0}
.project-profile h3{font-size:22px;line-height:1.35;overflow-wrap:anywhere;margin-bottom:5px!important}
.project-profile .sim-project-tags{margin-top:8px;gap:6px}
.project-profile .sim-identity-meta{gap:14px;color:#a4b8ad}
.project-profile-favorite{display:flex;align-items:center;flex:none;padding-top:2px}
.project-profile-favorite .button{min-height:36px;padding:6px 12px;font-size:13px;gap:7px}
.project-profile-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px;padding-top:14px;border-top:1px solid #2b3b36}
.project-profile-bottom .sim-project-description{flex:1;margin:0;max-width:65%;font-size:14px;line-height:1.55;color:#b2c4b9}
.project-profile-bottom .project-follow-actions{margin:0 0 0 auto;padding:0;border:0;flex:none;gap:9px}
.project-profile-bottom .project-follow-actions>.button{min-height:40px;min-width:130px;border-radius:9px;padding:5px 15px;font-size:14px}
.project-profile-bottom .project-follow-actions .gift-logo{width:27px;height:27px;flex:none}
.project-full-message{display:flex;align-items:center;flex-direction:column;text-align:center;padding:8px 0 3px}
.project-full-symbol{width:56px;height:56px;border:1px solid #b8944d66;border-radius:18px;background:#c79b3a16;color:#edcd84;display:grid;place-items:center}
.project-full-symbol .icon{width:27px;height:27px}
.project-full-message h3{font-size:18px;margin:16px 0 12px;line-height:1.4;overflow-wrap:anywhere}
.project-full-count{display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums;margin-bottom:3px}
.project-full-count strong{font-size:34px;font-weight:600;color:#f2d28c}
.project-full-count span{font-size:19px;color:#99afa5}
.project-full-message p{font-size:14px;line-height:1.6;color:#c4d5c9;margin:13px 0 6px;max-width:320px}
.project-full-modal>footer{justify-content:center}
.project-full-modal>footer .button{min-width:116px}
@media(max-width:760px){.project-detail>.project-profile{padding:17px}.project-profile h3{font-size:19px}.project-profile .sim-detail-identity{gap:10px}.project-profile .sim-identity-meta{gap:8px;flex-wrap:wrap}.project-profile-bottom{flex-direction:column;align-items:stretch;gap:14px}.project-profile-bottom .sim-project-description{max-width:none}.project-profile-bottom .project-follow-actions{margin:0}.project-profile-bottom .project-follow-actions>.button{min-width:0;flex:1}.project-profile-favorite .button{min-width:0;padding:6px 9px}}

.market-notice-gate{display:flex;min-height:280px;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:30px}
.market-notice-gate>span>.icon{width:32px;height:32px;color:var(--accent,#cbe7ad)}
.market-notice-gate h2{margin:0;font-size:21px}
.modal.market-notice-modal{display:flex;flex-direction:column;width:min(100%,720px);max-width:720px;max-height:calc(100dvh - 32px)}
.market-notice-modal>header,.market-notice-modal>footer{flex-shrink:0;padding:14px 20px}
.market-notice-modal>footer{justify-content:flex-end}
.market-notice-modal .modal-body{overflow:auto;min-height:0;padding:16px 20px}
.market-notice-article>h3{font-size:15px;line-height:1.4;margin:0 0 12px;color:var(--text)}
.market-notice-clauses{list-style:decimal outside;margin:0;padding:0 0 0 23px}
.market-notice-clauses>li{padding:0 0 9px 3px}
.market-notice-clauses>li::marker{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600;color:var(--muted)}
.market-notice-clauses>li>strong{display:block;color:var(--text);font-size:13px;font-weight:650;margin:0 0 2px}
.market-notice-clauses>li>p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}
.market-notice-modal>footer{flex-wrap:wrap;gap:8px}
.market-notice-modal .market-notice-consent{flex:1 1 255px;margin:0 auto 0 0;padding:0;font-size:13px;line-height:1.5}
.market-notice-signed{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--green);font-size:13px}
.market-notice-signed>.icon{width:16px;height:16px;flex:none}

.sim-single-filter{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 7px;color:#b5c8bc;font-size:13px;white-space:nowrap;cursor:pointer;user-select:none}.sim-single-filter>input{width:16px;height:16px;margin:0;accent-color:#c8e6ad;cursor:pointer}.sim-single-filter:has(input:checked){color:#dbefc9}.sim-single-filter:focus-within{outline:2px solid #b7d6a0;outline-offset:3px;border-radius:5px}.sim-single-filter>.action-spinner{width:13px;height:13px}.sim-single-filter>.action-spinner[hidden]{display:none!important}#sim-results[aria-busy=true] .sim-project-grid{opacity:.65}

/* Shared project home. */
.project-detail{gap:16px}.project-detail>.project-profile{position:relative;padding:23px 24px;border:1px solid #3a5047;border-radius:15px;background:linear-gradient(120deg,#1b2c28,#142126 80%);overflow:hidden}.project-detail>.project-profile:before{content:'';position:absolute;left:24px;right:24px;top:0;height:2px;background:linear-gradient(90deg,#83b89688,#7894b377,transparent)}.project-profile .sim-detail-header{gap:18px;align-items:center}.project-profile .sim-detail-identity{gap:14px}.project-profile .sim-detail-identity .sim-avatar{width:58px;height:58px;border:1px solid #6a897760;box-shadow:0 0 0 5px #31473a25}.project-profile h3{font-size:22px;letter-spacing:-.3px;margin:0 0 8px!important}.project-identity-secondary{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.project-identity-secondary .sim-project-tags{margin:0;gap:5px}.project-identity-secondary .sim-identity-meta{font-size:12px;gap:11px}.project-profile .project-plan{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#c8d2b7;white-space:nowrap}.project-profile .project-plan>.gift-logo{width:22px;height:22px}.project-profile .sim-strategy-tag{border-radius:5px;background:#263d3d;border-color:#46635e;color:#bad4d0;padding:2px 6px;font-size:11px}.project-profile .sim-strategy-tag.fixed,.project-profile .sim-strategy-tag.variable{background:#2c3c29;border-color:#526347;color:#d0debc}.project-profile-actions{gap:12px;align-items:center}.project-profile-actions>.button{border-color:#51675c;background:#24372e70;color:#d3e1d6;min-height:37px;font-size:12px;padding:7px 12px}.project-profile-actions>.button.primary{background:#c5e4a6;color:#19251b}.project-profile-actions .project-connection{display:inline-flex!important;gap:6px;font-size:12px;color:#93b5a5;white-space:nowrap}.project-profile-actions .project-connection.is-active{color:#a6ddbd}.project-profile .sim-project-description{margin:17px 0 0;font-size:14px;color:#b9cbbf;line-height:1.6}
.project-owner-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:17px;padding-top:14px;border-top:1px solid #3d51483f}.project-owner-toolbar .project-id-copy{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #455b5355;border-radius:7px;background:#12201e88;max-width:100%;color:#9ab4a8;font-size:11px;white-space:nowrap}.project-owner-toolbar .project-id-copy code{color:#bbd0c5;font-size:12px}.project-owner-toolbar .project-id-copy:hover{border-color:#729e75;color:#dfefce}.project-owner-toolbar .project-profile-accounts{display:flex;gap:6px;padding:0;margin:0;border:0;flex:1}.project-owner-toolbar .copy-account-chip{padding:6px 9px;background:#253c2e66;border-color:#425d4980;font-size:12px;color:#bfd2bd}.project-owner-toolbar .project-subscriber-entry{margin-left:auto;min-height:33px;padding:6px 10px;border-radius:7px;background:#2b403180;border-color:#58705b70;display:flex;gap:7px;font-size:12px;color:#c6ddc7}.project-subscriber-entry>.icon{width:14px;height:14px}.project-subscriber-entry b{color:#e1edce;font-size:13px}.project-subscriber-entry>.icon:last-child{width:12px}
.project-detail>.sim-performance{padding:22px 24px 19px;border-radius:15px;border-color:#30453c;background:#111e1e}.project-detail .sim-performance-top{margin-bottom:0}.project-detail .sim-performance-top>div:first-child>span{font-size:12px;color:#a1b7a8}.project-detail .sim-performance-top strong{margin-top:7px;font-size:35px;letter-spacing:-1px}.project-detail .sim-detail-periods{border-color:#405749;background:#172a22;padding:3px;border-radius:9px}.project-detail .sim-detail-periods button{font-size:12px;padding:7px 13px;border-radius:6px}.project-detail .sim-detail-periods button.active{background:#496344;color:#e4f2d4}.project-detail .sim-detail-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:19px 0 20px;padding:15px 0;border-color:#36504455}.project-detail .sim-detail-stats>div{gap:8px;padding-left:13px;border-left:1px solid #35504455}.project-detail .sim-detail-stats>div:first-child{border-left:0;padding-left:0}.project-detail .sim-detail-stats strong{font-size:18px;letter-spacing:-.3px}.project-detail .sim-detail-stats span{font-size:12px;color:#9bb0a2}.project-detail .sim-detail-analytics{gap:20px;grid-template-columns:minmax(0,1fr) 205px}.project-detail .sim-detail-analytics .sim-style-panel{border-radius:11px;border-color:#3a524555;background:#1b30264d;padding:14px 12px}.project-detail .sim-chart-pane h4{font-size:12px;color:#b5cbba}
.project-detail>.project-revenue{border-radius:14px;padding:18px 22px!important;background:linear-gradient(110deg,#1e2c22,#142123);border-color:#45564080}.project-detail .project-revenue>header{padding-bottom:17px!important}.project-detail .project-revenue-stats strong{font-size:22px}.project-detail .project-revenue-stats span{font-size:12px}.project-detail .project-revenue-stats>div{border-color:#4c61454d}.project-detail>.project-followers,.project-detail>.project-trades{border-radius:14px;overflow:hidden;border-color:#30463a;background:#111d1e}.project-detail .project-followers>header,.project-detail .project-trades>header{padding:15px 21px;background:#1b2a2455;border-bottom-color:#354c4055}.project-detail .project-followers th,.project-detail .project-trades th{background:#172722;color:#9cb5a4}.project-detail .project-followers td,.project-detail .project-trades td{border-bottom-color:#32463b66;padding-top:14px;padding-bottom:14px}.project-detail .project-followers tbody tr:hover,.project-detail .project-trades tbody tr:hover{background:#223b2e40}
@media(max-width:1100px){.project-profile .sim-detail-header{align-items:flex-start}.project-profile .project-profile-actions{flex-direction:column;align-items:flex-end;gap:9px}.project-detail .sim-detail-stats{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:17px}.project-detail .sim-detail-stats>div:nth-child(4){border-left:0;padding-left:0}.project-detail .sim-detail-analytics{grid-template-columns:minmax(0,1fr) 180px;gap:15px}}
@media(max-width:800px){.project-detail>.project-profile,.project-detail>.sim-performance{padding:18px}.project-profile h3{font-size:19px}.project-profile .sim-detail-identity .sim-avatar{width:48px!important;height:48px!important}.project-owner-toolbar .project-profile-accounts{flex-basis:100%;order:3}.project-owner-toolbar .project-subscriber-entry{margin-left:auto}.project-profile .project-profile-actions .project-connection{display:none!important}.project-detail .sim-detail-analytics{grid-template-columns:minmax(0,1fr)}.project-detail .sim-detail-stats strong{font-size:16px}.project-detail .sim-performance-top strong{font-size:30px}.project-detail .project-followers>header,.project-detail .project-trades>header{padding:14px 16px}.project-identity-secondary{gap:7px}.project-identity-secondary .sim-identity-meta{font-size:11px}}

/* Discrete copy ratios share one control in funded and paper subscriptions. */
.follow-ratio-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:9px}.follow-ratio-steps[hidden],.follow-value-input[hidden]{display:none!important}.follow-ratio-steps>button{min-width:0;min-height:35px;display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid #405449;border-radius:7px;background:#17231e;color:#becdc3;font-size:13px;font-variant-numeric:tabular-nums}.follow-ratio-steps>button>span{font-size:11px;color:#8fa99a}.follow-ratio-steps>button:hover{background:#293c2c;border-color:#829c73;color:#eff6e9}.follow-ratio-steps>button[aria-pressed=true]{background:#344b30;border-color:#bedb9f;color:#ecf7de;box-shadow:inset 0 0 0 1px #bedb9f33}.follow-ratio-steps>button[aria-pressed=true]>span{color:#d2e5bf}.follow-ratio-steps>button:focus-visible{outline:2px solid #c8e9aa;outline-offset:2px}.subscription-sizing .copy-form-grid:has(.follow-ratio-steps:not([hidden])){grid-template-columns:minmax(0,1fr)}.sim-form:has(.follow-ratio-steps:not([hidden])){grid-template-columns:minmax(0,1fr)}

/* Project details and their shared performance charts. */
:root:not([data-theme="light"]) .modal:has(.project-detail){background:#14171a;border-color:#394147}
:root:not([data-theme="light"]) .modal:has(.project-detail)>header{background:#1d2125;border-color:#363d44}
.project-detail{
 --project-surface:#1b1f23;--project-plot:#14181c;--project-rule:#343c44;
 --project-frame:#35463e;--project-text:#ecf0f3;--project-muted:#b1bcc5;
 --project-grid:#343d46;--project-zero:#677480;
 --project-gain:#79e1b8;--project-loss:#ff8e99;
}
.project-detail>.panel{background:var(--project-surface);border-color:var(--project-frame)}
.project-detail>.project-profile:before{background:linear-gradient(90deg,#81b99b88,transparent 75%)}
.project-detail .sim-detail-analytics .sim-style-panel{background:var(--project-plot);border-color:var(--project-rule)}
.project-detail :is(.sim-style-panel h4,.sim-donut-label strong){color:var(--project-text)}
.project-detail :is(.sim-donut-label span,.sim-style-toggle,.sim-distribution-item,.sim-distribution-item em,.sim-style-empty){color:var(--project-muted)}
.project-detail .sim-distribution-item.zero{opacity:.65}
.project-detail :is(.project-followers,.project-trades)>header{background:var(--project-surface);border-bottom-color:var(--project-rule)}
.project-detail :is(.project-followers,.project-trades) th{background:var(--project-plot);color:var(--project-muted)}
.project-detail :is(.project-followers,.project-trades) td{border-bottom-color:var(--project-rule)}
.project-detail :is(.project-followers,.project-trades) tbody tr:hover{background:var(--project-plot)}
.project-detail :is(.sim-detail-stats,.sim-detail-stats>div,.project-profile-bottom,.project-owner-toolbar){border-color:var(--project-rule)}
.project-detail .sim-detail-periods{background:var(--project-plot);border-color:var(--project-rule)}
.project-detail .sim-detail-periods button{color:var(--project-muted)}
.project-detail .sim-detail-periods button.active{background:#34483a;color:#e7f1df}
.project-detail :is(.sim-project-description,.sim-detail-stats span,.sim-performance-top>div:first-child>span){color:var(--project-muted)}
.project-detail .sim-chart-stack{padding:10px 9px 8px;border:1px solid var(--project-rule);border-radius:10px;background:var(--project-plot)}
.project-detail .sim-chart-pane{border-color:var(--project-rule)}
.project-detail .sim-chart-pane h4{font-size:14px;font-weight:600;color:var(--project-text)}
.project-detail .sim-linked-value{font-size:12px}
.project-detail .sim-chart-grid text,.project-detail .sim-chart-label{fill:var(--project-muted);font-size:17px}
.project-detail :is(.sim-chart-grid line,.sim-chart-time-grid){stroke:var(--project-grid);stroke-opacity:1;vector-effect:non-scaling-stroke}
.project-detail .sim-chart-time-grid{stroke-dasharray:2 4}
.project-detail .sim-zero{stroke:var(--project-zero);vector-effect:non-scaling-stroke}
.project-detail .sim-pnl-line{stroke-width:2.4;stroke-linecap:round}
.project-detail .sim-crosspoint{stroke:var(--project-plot)}
.project-detail :is(.sim-daily-bar,.sim-monthly-bar).positive{fill:var(--project-gain);opacity:1}
.project-detail :is(.sim-daily-bar,.sim-monthly-bar).negative{fill:var(--project-loss);opacity:1}
.project-detail .sim-daily-bar{stroke-width:.3;vector-effect:non-scaling-stroke}
.project-detail .sim-daily-bar.positive:not(.selected){stroke:var(--project-gain)}
.project-detail .sim-daily-bar.negative:not(.selected){stroke:var(--project-loss)}
.project-detail .sim-chart-pane.daily .sim-performance-chart svg{height:102px}
.project-detail .sim-chart-pane .sim-chart-tooltip{background:var(--project-surface);border-color:var(--project-rule);color:var(--project-muted)}
.project-detail .sim-chart-tooltip>strong{color:var(--project-text)}

.follow-sizing .field>span{float:none;display:block}.follow-ratio-steps{clear:both;width:100%}.sim-form .field{min-width:0}

/* Shared cards for paper copies, live copies and the owner's project. */
.follow-project-list{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,308px),1fr));
 gap:14px;align-items:stretch;max-width:1280px
}
.follow-project-list:has(.follow-project:only-child){grid-template-columns:minmax(0,440px)}
.follow-project-list.lead-owner-list:has(.follow-project:only-child){grid-template-columns:minmax(0,490px)}
.follow-project{
 display:flex;flex-direction:column;min-width:0;padding:18px;gap:14px;
 color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:14px;
 box-shadow:0 2px 8px #00000012;cursor:pointer;transition:border-color .15s,box-shadow .15s
}
.follow-project:hover{border-color:color-mix(in srgb,var(--green) 44%,var(--line));box-shadow:0 4px 16px #00000026}
.follow-project:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.follow-project>header{display:flex;align-items:center;gap:9px;min-width:0}
.follow-project .sim-avatar{width:38px;height:38px;flex:none;border:1px solid var(--line);border-radius:50%}
.follow-project .sim-avatar img{object-fit:cover}
.follow-project-name{min-width:0;flex:1}
.follow-project-name h2{display:flex;align-items:center;gap:5px;min-width:0;margin:0;font-size:16px;line-height:1.25}
.follow-project-name h2>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.follow-project-name h2>span:not(:first-child){flex:none}
.follow-health-status{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;min-width:24px;padding:4px;color:var(--muted);border:1px solid transparent;border-radius:5px;vertical-align:middle}
.follow-health-status .icon{width:15px;height:15px}
.follow-health-status.is-missed{color:#e6bd7e}
.follow-health-status.is-pending{color:#bdac89}
.follow-health-status.is-unavailable{font-size:13px;font-weight:400}
.follow-health-status:hover{border-color:var(--line);background:var(--subtle);color:var(--text)}
.follow-health-status.is-missed:hover{color:#f0cb91}
.follow-source-time{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap;font-size:11px;line-height:18px;color:var(--muted);font-variant-numeric:tabular-nums}
.follow-source-time .icon{height:14px;width:14px;flex:none}
.follow-source-time time{font:inherit}
[data-theme="light"] .follow-health-status.is-missed{color:#8c5d10}
[data-theme="light"] .follow-health-status.is-pending{color:#76613b}
[data-theme="light"] .follow-health-status.is-missed:hover{color:#754b05}
.follow-project .follow-project-tags{display:flex;gap:5px;margin:5px 0 0}
.follow-project .follow-project-tags>span{padding:1px 5px;font-size:11px;line-height:1.35;border-radius:4px}
.follow-project .follow-state{
 --state-color:var(--muted);display:inline-flex;align-items:center;gap:5px;flex:none;
 max-width:42%;padding:4px 7px;color:var(--state-color);line-height:1.25;font-size:11px;font-weight:600;
 background:color-mix(in srgb,var(--state-color) 9%,var(--panel));border-radius:6px
}
.follow-project .follow-state i{width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
.follow-project .follow-state.is-active{--state-color:var(--green)}
.follow-project .follow-state.is-paused{--state-color:#edc68d}
.follow-project .follow-card-entry,.follow-project .follow-config-button{
 width:32px;height:32px;min-width:32px;min-height:32px;padding:7px;flex:none;
 color:var(--muted);border:1px solid var(--line);border-radius:7px
}
.follow-project .follow-card-entry:hover,.follow-project .follow-config-button:hover{color:var(--text);border-color:var(--muted)}
.follow-card-metrics{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;margin:0;padding:12px 0;
 border-block:1px solid var(--line);font-variant-numeric:tabular-nums
}
.follow-card-metrics.lead-card-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.follow-card-metrics>div{min-width:0;padding:0 12px}
.follow-card-metrics>div:first-child{padding-left:0}
.follow-card-metrics>div+div{border-left:1px solid var(--line)}
.follow-card-metrics>div:last-child{padding-right:0}
.follow-card-metrics:not(.lead-card-metrics)>div:last-child{text-align:right;min-width:56px}
.follow-card-metrics dt{color:var(--muted);font-size:12px;line-height:1.25}
.follow-card-metrics dt.follow-metric-label{display:flex;align-items:center;gap:5px;min-height:15px}
.follow-card-metrics .follow-metric-label>.icon{width:14px;height:14px}
.follow-card-metrics:not(.lead-card-metrics)>div:last-child .follow-metric-label{justify-content:flex-end}
.follow-card-metrics dd{margin:5px 0 0;color:var(--text);font-size:21px;font-weight:650;line-height:1.15;overflow-wrap:anywhere}
.follow-card-metrics .follow-card-pnl dd{font-size:clamp(23px,2.4vw,28px);letter-spacing:-.45px}
.follow-card-metrics dd small{font-size:11px;color:var(--muted);font-weight:500;letter-spacing:0;white-space:nowrap}
.follow-card-metrics .has-open dd{color:var(--green)}
.follow-card-context{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.follow-card-line{display:flex;align-items:center;justify-content:space-between;gap:7px 10px;flex-wrap:wrap;min-width:0}
.follow-card-line strong{color:var(--text);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.follow-card-line .follow-expiry{margin-left:auto}
.follow-card-configuration{justify-content:flex-start;column-gap:14px;min-height:20px}
.follow-rule-value{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--muted)}
.follow-rule-value>.icon{width:15px;height:15px;flex:none}
.follow-card-line .follow-rule-value>strong{font-size:12px;font-weight:500}
.follow-expiry{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;line-height:18px;font-variant-numeric:tabular-nums}
.follow-expiry>.icon{width:14px;height:14px;flex:none}
.follow-expiry>time{font:inherit}
.follow-project .follow-switch-account{width:28px;height:28px;min-width:28px;flex:none;padding:5px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}
.follow-project .follow-switch-account>.icon{width:16px;height:16px}
.follow-project .follow-switch-account:hover{color:var(--text);border-color:var(--muted)}
.follow-card-context .project-plan{display:inline-flex;align-items:center;gap:7px;color:var(--text)}
.follow-card-context .gift-logo{width:22px;height:22px}
.follow-card-context .copy-bound-accounts{display:flex;gap:5px;flex-wrap:wrap;min-width:0;margin:0}
.follow-card-context .copy-account-chip{
 max-width:100%;padding:3px 6px;border-color:var(--line);
 color:var(--text);background:transparent;font-size:11px;overflow-wrap:anywhere;white-space:normal
}
.follow-project>footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto}
.follow-project>footer>.button{justify-content:center;min-height:34px;padding:6px 9px;gap:5px;border-radius:7px;font-size:12px;white-space:normal}
.follow-project>footer>.button>.icon{width:14px;height:14px;flex:none}
.follow-project>footer>.text-button{margin-left:auto;padding:6px 2px;min-height:34px;color:var(--muted);font-size:12px;text-align:right}
.follow-project>footer>.text-button:hover{color:var(--red)}
.follow-project>footer>.follow-secondary-action{width:34px;height:34px;min-width:34px;margin-left:auto;padding:8px;border:1px solid var(--line);border-radius:7px;color:var(--muted)}
.follow-project>footer>.follow-secondary-action>.icon{width:16px;height:16px}
.follow-project>footer>.follow-secondary-action:hover{color:var(--red);border-color:var(--red);background:color-mix(in srgb,var(--red) 7%,var(--panel))}
.lead-owner-card>footer>.primary{flex:1}
.lead-owner-card>footer{flex-wrap:wrap}
.lead-owner-card>footer>.button{white-space:nowrap}
[data-theme="light"] .follow-project .follow-state.is-paused{--state-color:#835724}
[data-theme="light"] .follow-leader-presence.online{color:#21644a}
[data-theme="light"] .follow-leader-presence.offline{color:#835724}
@media(max-width:600px){.follow-project{padding:14px;gap:12px}.follow-card-metrics>div{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.follow-project{transition:none}}

/* Binance account workspace: charcoal cards, yellow actions, quiet footer links. */
.accounts-workspace .main-content.production-content{display:flex;flex-direction:column;min-height:0;padding-top:29px;padding-bottom:20px}
.accounts-workspace .managed-account-page{display:flex;flex-direction:column;flex:1;min-height:100%;width:100%}
.accounts-workspace .managed-heading{margin-bottom:24px;align-items:flex-end}
.accounts-workspace .managed-brand{color:#f0b90b;font-size:11px;letter-spacing:1.8px}
.accounts-workspace .managed-heading h1{font-size:27px;line-height:1.35;margin-top:8px;color:#f1f2f4}
.accounts-workspace .managed-heading-actions{gap:11px;align-items:center;padding-bottom:3px}
.accounts-workspace .managed-online-summary{color:#b5bdc8;font-size:12px}
.accounts-workspace .managed-capacity{border-color:#49505c;color:#d2d7df;background:#20242b;font-size:12px;padding:6px 9px}
.accounts-workspace .managed-capacity.vip{background:#30291a;border-color:#70602f;color:#f2cd66}
.accounts-workspace .managed-heading-actions>.icon-button{color:#b2bbc8;border-color:#303844;border-radius:8px}
.accounts-workspace .button.primary{background:#f0b90b;border-color:#f0b90b;color:#171a1f;box-shadow:0 1px 0 #ffe99666 inset}
.accounts-workspace .button.primary:hover:not(:disabled){background:#ffcb28;border-color:#ffcb28;color:#13161b;transform:none}
.accounts-workspace .button.primary:focus-visible{outline-color:#ffe69b}
.accounts-workspace .managed-heading-actions>.button{min-height:40px;padding:9px 15px;border-radius:9px}
.accounts-workspace .managed-account-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;align-content:start}
.accounts-workspace .managed-account{position:relative;padding:19px 18px 17px;background:linear-gradient(135deg,#20242a,#181c22 76%);border:1px solid #3b414b;border-radius:15px;box-shadow:0 7px 22px #0000001a;overflow:hidden}
.accounts-workspace .managed-account.is-follower,.accounts-workspace .managed-account.is-leader{border-top:1px solid #3b414b}
.accounts-workspace .managed-account:before{content:'';position:absolute;left:19px;right:19px;top:0;height:1px;background:linear-gradient(90deg,#f0b90b7a,#f0b90b0d 70%,transparent)}
.accounts-workspace .managed-account>header{gap:9px;align-items:center}
.accounts-workspace .managed-avatar{width:39px;height:39px;background:#33383e;color:#c4cbd3;box-shadow:0 0 0 1px #68717b45}
.accounts-workspace .managed-avatar .icon{width:23px;height:23px}
.accounts-workspace .managed-identity h2{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:0;color:#f4f3ed;margin:0 0 5px}
.accounts-workspace .managed-account-meta{display:flex;align-items:center;gap:7px;color:#a9b3c1!important;font-size:10px;line-height:1.35;white-space:nowrap;min-width:0}
.accounts-workspace .managed-account-meta>span{overflow:hidden;text-overflow:ellipsis}
.accounts-workspace .managed-slot{display:inline-grid;place-items:center;width:17px;height:17px;flex:none;border-radius:4px;color:#f4d779;background:#3b331e;border:1px solid #71603266;font-size:10px;font-weight:650;line-height:1}
.accounts-workspace .managed-presence{font-size:11px;gap:5px}
.accounts-workspace .managed-presence.good{color:#86dfb9}
.accounts-workspace .managed-presence.warning{color:#edca7d}
.accounts-workspace .managed-presence.bad{color:#f6a4ad}
.accounts-workspace .managed-presence.muted{color:#a7b0bd}
.accounts-workspace .managed-account>header>.icon-button{height:28px;width:23px;flex:none;border-radius:6px;color:#aeb7c4}
.accounts-workspace .managed-account>header>.icon-button:hover:not(:disabled){background:#353b44;color:#f0d17a}
.accounts-workspace .managed-email{margin-top:14px;color:#b8c1ce;font-size:11px;gap:7px}
.accounts-workspace .managed-email>.icon{color:#8f9baa;width:13px;height:13px}
.accounts-workspace .managed-funds{margin-top:19px;padding-bottom:16px;border-color:#3a4049}
.accounts-workspace .managed-funds>span{color:#b5bdc8;font-size:12px;line-height:1.4;margin-bottom:8px}
.accounts-workspace .managed-funds>div{gap:6px;align-items:baseline}
.accounts-workspace .managed-funds strong{font-size:31px;line-height:1.25;font-weight:600;color:#f4f3ee;letter-spacing:-.65px}
.accounts-workspace .managed-funds strong.balance-old{color:#b1b8c2}
.accounts-workspace .managed-funds .managed-currency{background:transparent;color:#b9c0ca;border:0;padding:0;font-size:11px;align-self:baseline}
.accounts-workspace .managed-funds .text-button{color:#f0cc65;font-size:12px;gap:5px;padding:5px 0 5px 8px}
.accounts-workspace .managed-funds .text-button:hover:not(:disabled){color:#ffdf8a}
.accounts-workspace .managed-funds .text-button>.icon{width:14px;height:14px}
.accounts-workspace .managed-tags{gap:5px;min-height:39px;padding:12px 0 8px}
.accounts-workspace .managed-tags>span{font-size:10px;line-height:1.4;border-radius:5px;padding:3px 6px;border:1px solid #4b536166;background:#2a3039;color:#c5cdd9}
.accounts-workspace .managed-tags>span.good{background:#203b3055;border-color:#4f806866;color:#a2e3bd}
.accounts-workspace .managed-tags>span.copy{background:#343447;border-color:#69617d77;color:#d0c5eb}
.accounts-workspace .managed-account.is-leader .managed-tags>span.copy{background:#39311f;border-color:#7f6a3a77;color:#f1d285}
.accounts-workspace .managed-tags>span:not(.copy):not(.good){background:#2a3039;color:#c3ccd9}
.accounts-workspace .managed-tags>span .icon{width:11px;height:11px}
.accounts-workspace .managed-tags>button{color:#f2cb73}
.accounts-workspace .managed-session{margin:6px 0 18px}
.accounts-workspace .managed-session>div:first-child{font-size:11px;margin-bottom:8px;gap:10px}
.accounts-workspace .managed-session-label{font-size:11px;gap:5px;color:#b3bdca}
.accounts-workspace .managed-session-label>.icon-button{color:#e1bd62;height:18px;width:18px}
.accounts-workspace .managed-session-label .icon{height:12px;width:12px}
.accounts-workspace .managed-session strong{font-size:11px;font-weight:500;color:#e1e5eb;white-space:nowrap}
.accounts-workspace .managed-life-track{height:5px;background:#343b43;border-radius:6px}
.accounts-workspace .managed-life-track>span{background:linear-gradient(90deg,#a28124,#edc24b);border-radius:6px}
.accounts-workspace .managed-session.warning .managed-life-track>span{background:linear-gradient(90deg,#be7929,#f2b860)}
.accounts-workspace .managed-session.expired strong{color:#f6a4ad}
.accounts-workspace .managed-session.expired .managed-life-track{background:#56343b}
.accounts-workspace .managed-session.estimate_elapsed strong{color:#edca7d}
.accounts-workspace .managed-egress{margin:6px 0 0;color:#b8c1ce;font-size:12px;line-height:18px;--egress-warning-text:#ffd277;--egress-warning-bg:#4c391c;--egress-warning-border:#88652c}
.accounts-workspace .managed-account>header+.managed-egress{margin-top:14px}
.managed-egress-line{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;gap:7px}
.managed-egress-line>.icon{width:13px;height:13px;color:var(--muted)}
.managed-egress-info,.managed-egress-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;min-width:0}
.managed-egress-meta:empty{display:none}
.managed-egress-trigger{display:inline-flex;align-items:center;gap:3px;max-width:100%;padding:2px 5px;border:1px solid transparent;border-radius:5px;color:var(--text);font-weight:650;font-variant-numeric:tabular-nums;text-align:left}
.managed-egress-trigger .icon,.managed-egress-warning .icon{width:12px;height:12px}
.managed-egress-address{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.managed-egress-trigger.is-stale{color:inherit}
.managed-egress-trigger:hover:not(:disabled){background:var(--subtle);border-color:var(--line)}
.managed-egress-trigger.is-changed,.managed-egress-trigger.is-changed:hover:not(:disabled){color:var(--egress-warning-text);background:var(--egress-warning-bg);border-color:var(--egress-warning-border)}
.managed-egress-warning{display:inline-flex;align-items:center;gap:4px;color:var(--egress-warning-text);font-weight:650;white-space:nowrap}
.managed-egress-popover{position:fixed;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,flip-block flip-inline;inset:auto;margin:6px 8px;padding:0;width:min(310px,calc(100vw - 24px));max-height:min(350px,calc(100dvh - 24px));overflow:auto;overscroll-behavior:contain;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 40px #0006;font-size:12px}
.managed-egress-popover>header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px 8px 15px;border-bottom:1px solid var(--line);font-size:14px}
.managed-egress-popover>header .icon-button{width:28px;height:28px}
.managed-egress-popover>header .icon{width:15px;height:15px}
.managed-egress-records{padding:12px}
.managed-egress-current{display:grid;gap:4px;padding:9px 10px;border-radius:7px;background:var(--subtle);color:var(--muted)}
.managed-egress-current b{font-size:14px}
.managed-egress-record-address{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 7px;min-width:0;color:var(--muted)}
.managed-egress-record-address b{min-width:0;overflow-wrap:anywhere;color:var(--text);font-variant-numeric:tabular-nums}
.managed-egress-history{margin:12px 3px 2px}
.managed-egress-history h3{font-size:12px}
.managed-egress-history ul{list-style:none;margin:4px 0 0;padding:0}
.managed-egress-history li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 10px;padding:6px 0;border-bottom:1px solid var(--line)}
.managed-egress-history li:last-child{padding-bottom:0;border:0}
.managed-egress-history :is(p,time){color:var(--muted)}
.managed-egress-history time{font-variant-numeric:tabular-nums;white-space:nowrap}
.managed-egress-history p{margin-top:6px}
.accounts-workspace .managed-account>footer{gap:9px;align-items:center}
.accounts-workspace .managed-account>footer>.button{min-height:35px;padding:7px 11px;font-size:12px;border-radius:7px;gap:6px;white-space:nowrap}
.accounts-workspace .managed-account>footer>.outline{background:#262c34;border-color:#4c5766;color:#d4dce7}
.accounts-workspace .managed-account>footer>.outline:hover:not(:disabled){background:#333b47;border-color:#8c9baa;color:#f4f5f6}
.accounts-workspace .managed-account>footer>.button>.icon{width:14px;height:14px}
.accounts-workspace .managed-account>footer>.icon-button.disconnect{height:32px;width:27px;margin-left:auto;color:#a8b1be;border:1px solid transparent;border-radius:7px}
.accounts-workspace .managed-account>footer>.disconnect:hover{border-color:#995d6666;background:#6b394129;color:#ffb0bb}
.accounts-workspace .managed-empty{background:#1a1e2355;border-color:#51545d}
.accounts-workspace .managed-empty>span{background:#3b321e;color:#f1cf72}
.accounts-workspace .managed-empty h2{color:#e3e7ed}
.accounts-workspace .managed-resources.managed-page-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;margin-top:auto;padding:19px 0 0;border:0;border-top:1px solid #303841;border-radius:0;background:transparent;min-height:58px;box-sizing:content-box}
.accounts-workspace .managed-account-grid+.managed-page-footer{margin-top:auto;padding-top:19px;margin-bottom:0}
.accounts-workspace .managed-page-footer>span{display:inline-flex;align-items:center;gap:7px;margin-right:0;color:#a6adb7;font-size:11px;white-space:nowrap}
.accounts-workspace .managed-page-footer>.icon,.accounts-workspace .managed-page-footer .icon{width:12px;height:12px}
.accounts-workspace .managed-resources.managed-page-footer>button,.accounts-workspace .managed-resources.managed-page-footer>button:nth-of-type(2){background:transparent;border:0;padding:3px 0;gap:6px;min-height:28px;border-radius:3px;color:#b8c0cc;font-size:11px;white-space:nowrap}
.accounts-workspace .managed-resources.managed-page-footer>button:hover{background:transparent;color:#f3d373;text-decoration:underline;text-underline-offset:4px}
.accounts-workspace .managed-page-footer>.managed-agreement-link{margin-left:auto;color:#a6b0bf}
.accounts-workspace .managed-page-footer>button:focus-visible{outline-color:#f0c34d;outline-offset:4px}
.accounts-workspace .managed-account-grid{margin-bottom:27px}
@media(max-width:1240px){.accounts-workspace .managed-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.accounts-workspace .managed-account{padding:18px}.accounts-workspace .managed-heading-actions{gap:8px}}
@media(max-width:920px){.accounts-workspace .managed-account-grid{grid-template-columns:minmax(0,1fr)}.accounts-workspace .managed-heading{align-items:flex-start;flex-wrap:wrap;gap:15px}.accounts-workspace .managed-heading-actions{margin-left:auto}.accounts-workspace .managed-page-footer{gap:7px 16px}.accounts-workspace .managed-page-footer>.managed-agreement-link{margin-left:0}.accounts-workspace .managed-funds strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.accounts-workspace .managed-life-track>span{transition:none}}


/* Legible strategy tags use separate text accents on quiet dark surfaces. */
.sim-strategy-tag:not(.fixed):not(.variable),.project-profile .sim-strategy-tag:not(.fixed):not(.variable),.lead-card-meta .sim-strategy-tag:not(.fixed):not(.variable),.follow-copy-project .follow-project-tag.accounts{color:#c2e4ff!important;border-color:#526e84;background:#17212a}
.sim-strategy-tag.fixed,.project-profile .sim-strategy-tag.fixed,.lead-card-meta .sim-strategy-tag.fixed,.follow-copy-project .follow-project-tag.sizing.fixed{color:#f5daa0!important;border-color:#756440;background:#26231c}
.sim-strategy-tag.variable,.project-profile .sim-strategy-tag.variable,.lead-card-meta .sim-strategy-tag.variable,.follow-copy-project .follow-project-tag.sizing.variable{color:#e0c6ff!important;border-color:#75638e;background:#25202d}
.subscription-account-requirement{margin-top:13px;padding:10px 11px;border:1px solid #715f38;border-radius:7px;background:#30281b;color:#edd29c;font-size:12px;line-height:1.7}.subscription-account-requirement[hidden]{display:none}.subscription-account-requirement .text-button{display:flex;color:#e9d7ac;margin-top:3px}.subscription-account-requirement button[hidden]{display:none}
.subscription-funding-links,.payment-funding-link{display:flex;justify-content:flex-end;gap:18px;margin:0 0 14px}.subscription-funding-links .text-button,.payment-funding-link .text-button{font-size:13px;color:#c5dfad}.subscription-funding-links .icon,.payment-funding-link .icon{width:14px;height:14px}
.project-more-toggle{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 7px;border:1px solid var(--project-rule);border-radius:5px;background:transparent;color:var(--project-muted);font-size:12px;white-space:nowrap}
.project-more-toggle:hover,.project-more-toggle[aria-expanded=true]{background:var(--project-plot);color:var(--project-text)}
.project-more-toggle svg{width:11px;height:11px;transform:rotate(90deg)}
.project-more-toggle[aria-expanded=true] svg{transform:rotate(-90deg)}
.project-more-info{display:flex;flex-wrap:wrap;gap:14px 24px;margin:15px 0 0;padding:13px 16px;border:1px solid var(--project-rule);border-radius:9px;background:var(--project-plot);color:var(--project-text);font-size:13px}
.project-more-info[hidden]{display:none}
.project-more-info>div{min-width:0;display:grid;align-content:start;gap:5px}
.project-more-info .project-info-id{flex:1 1 260px}
.project-more-info dt{color:var(--project-muted);font-size:12px}
.project-more-info dd{margin:0;font-variant-numeric:tabular-nums}
.project-more-info .project-id-copy{max-width:100%;padding:0;color:var(--project-muted)}
.project-more-info .project-id-copy code{overflow:visible;overflow-wrap:anywhere;color:var(--project-text)}
.vip-benefits-modal{max-width:570px;border-color:#756342;background:#121719}.vip-benefits-modal>.modal-body{padding:26px}.vip-benefits-hero{display:flex;align-items:center;gap:17px;padding:7px 0 24px;border-bottom:1px solid #5a4c3444}.vip-benefits-hero>span{width:83px;height:83px;display:grid;place-items:center;border:1px solid #9b7639;border-radius:23px;background:radial-gradient(circle at 30% 20%,#5c472c,#211e18);box-shadow:0 12px 30px #0004}.vip-benefits-hero>span svg{width:65px;height:65px}.vip-benefits-hero>div>span{font-size:12px;letter-spacing:2px;color:#dab97b}.vip-benefits-hero h3{font-size:29px;margin-top:8px;color:#f2dfb3;letter-spacing:-.7px}.vip-benefits-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:23px 0}.vip-benefits-grid>div{display:flex;align-items:center;gap:10px;min-height:47px;border-radius:9px;background:#22251f;padding:11px 12px;color:#e1dfcf}.vip-benefits-grid .icon{color:#dfb96d;width:19px;height:19px}.vip-benefits-grid strong{font-size:14px;font-weight:500}.vip-benefits-price{display:flex;align-items:baseline;gap:8px;padding-top:18px;border-top:1px solid #5a4c3444;color:#b5b1a1}.vip-benefits-price>strong{font-size:31px;letter-spacing:-.7px;color:#f0d598}.vip-benefits-price strong>span{font-size:14px;font-weight:400}.vip-benefits-price .text-button{margin-left:auto;color:#e9cc91}.vip-benefits-modal #modal-confirm{background:#eac778;color:#302715;border-color:#f5d58d;min-width:145px}
.follow-history-modal{max-width:1010px}.follow-history-list th,.follow-history-list td{padding:14px 13px}.follow-history-user{display:flex;align-items:center;gap:9px}.follow-history-user .sim-avatar{width:30px;height:30px;flex:none}.follow-history-user strong{font-size:13px}.follow-history-list .project-id-copy{max-width:none;padding:5px 0}.follow-history-list .project-id-copy code{font-size:12px}.follow-history-list td:nth-child(4){text-align:right}.follow-history-list th:nth-child(4){text-align:right}.follow-history-list footer{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:20px}.follow-history-empty{text-align:center!important;padding:36px!important;color:#94a89d}
@media(max-width:650px){.vip-benefits-grid{grid-template-columns:1fr}.vip-benefits-hero h3{font-size:25px}}

.project-close-modal{max-width:550px}.project-close-identity{display:flex;align-items:center;gap:12px;margin-bottom:20px}.project-close-identity .sim-avatar{width:43px;height:43px}.project-close-identity strong{display:block;font-size:17px;color:#e6ede7}.project-close-identity code{font-size:11px;color:#94a99e;word-break:break-all}.project-close-verification>p{font-size:14px;line-height:1.8;color:#b6c7bc;margin-bottom:22px}.project-close-verification .field>span{float:none}.project-close-verification .project-close-email{display:block;color:#d9e5d6;margin:5px 0 10px;font-size:14px}.project-close-code-input{display:flex;align-items:center;gap:8px;border:1px solid #4b604f;background:#0d1512;border-radius:9px;padding-right:11px}.project-close-code-input input{border:0;background:transparent;font-size:20px;letter-spacing:5px;min-width:0}.project-close-code-input button{flex:none;font-size:13px;color:#d6e9bb;display:flex;align-items:center;gap:6px;min-height:36px}.project-close-clock{display:block;font-size:12px;color:#b5c9a9;min-height:18px}.project-close-modal #modal-confirm{min-width:126px}
.api-access-banner{display:flex;align-items:center;justify-content:space-between;gap:16px}.api-access-gate{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:48px 24px;text-align:center}.api-access-gate p{color:var(--muted);font-size:14px}.api-access-gate h2{font-size:20px}.api-access-gate>.api-gateway-icon{width:45px;height:45px}

.subscription-account-source[hidden]{display:none!important}.subscription-account-dropdowns{display:flex;flex-direction:column;gap:14px;margin-top:9px}.subscription-account-select{display:block;min-width:0}.subscription-account-select>span{display:block;font-size:12px;color:#a7bbaf;margin-bottom:7px}.subscription-account-select select{width:100%;height:46px;background:#0f1714;border-color:#3e5847;font-size:13px;text-overflow:ellipsis;padding-right:30px}.subscription-required-capacity{margin-left:auto;display:inline-flex;align-items:center;padding:3px 8px;border:1px solid #54735b;border-radius:6px;font-size:12px;color:#d1e4bd;background:#233128}
.api-doc-endpoint,.api-doc-topic{border:1px solid #334047;border-radius:9px;margin:12px 0;padding:0 16px;background:#0e1417}.api-doc-endpoint>summary,.api-doc-topic>summary{cursor:pointer;padding:16px 0;color:#e2eaee;line-height:1.6;overflow-wrap:anywhere}.api-doc-endpoint>summary b{color:#bfe3b2;margin-right:10px}.api-doc-endpoint[open],.api-doc-topic[open]{padding-bottom:16px}.api-docs td:last-child{white-space:normal;line-height:1.7}.api-docs pre{max-width:100%;overflow:auto}
.api-console{grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:18px}.api-console .api-gateway,.api-console .api-routing{padding:22px 24px;background:#12181c;border:1px solid #303b40;border-radius:15px;box-shadow:0 5px 20px #00000012}.api-console-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}.api-console-connection{display:flex;align-items:center;gap:15px;min-width:0}.api-console .api-gateway-icon{width:42px;height:42px;border-color:#34454e;background:#1a2830;color:#a6d1df;border-radius:12px}.api-console .api-service-state{padding:0;background:none;font-size:12px;color:#bac7cd}.api-console .api-service-state.running{color:#83d7b8}.api-console .api-endpoint{margin:6px 0 0;padding:0;border:0;background:none;gap:8px}.api-console .api-endpoint code{font-size:16px;letter-spacing:.1px;color:#edf1f3}.api-console .api-endpoint .icon-button{width:28px;height:28px;min-width:28px;border:0;background:transparent;color:#8f9da6}.api-console-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.api-console-actions>.button{height:40px;min-height:40px;padding:0 17px;font-size:13px}.api-console-actions>.icon-button{height:40px;width:40px;border:1px solid #334047;background:#182126;color:#b7c6ce;border-radius:9px}.api-console-actions>.icon-button[aria-expanded=true]{border-color:#a8c78e;color:#d5eabf}.api-console .api-permission-toggle{position:relative;display:flex;align-items:center;gap:9px;border:0;padding:0 12px 0 0;margin:0;cursor:pointer;min-height:40px}.api-console .api-permission-toggle input{position:absolute;width:1px;height:1px;opacity:0}.api-console .api-permission-toggle>i{display:block;width:32px;height:19px;flex-shrink:0;border:1px solid #58656d;background:#2b363c;border-radius:20px;transition:background .15s,border-color .15s}.api-console .api-permission-toggle>i:after{content:'';display:block;width:13px;height:13px;border-radius:50%;margin:2px;background:#c6cfd3;transition:transform .15s}.api-console .api-permission-toggle input:checked+i{background:#94b874;border-color:#b3d696}.api-console .api-permission-toggle input:checked+i:after{transform:translateX(12px);background:#111a13}.api-console .api-permission-toggle input:focus-visible+i{outline:2px solid #c8e9aa;outline-offset:4px}.api-console .api-permission-label{color:#c2cbd0;background:none;font-size:12px;white-space:nowrap}.api-console-settings{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(280px,1.2fr);gap:32px;border-top:1px solid #2a353b;margin-top:21px;padding-top:21px}.api-console .api-gateway-fields{gap:16px;margin:0;align-items:end}.api-console-settings .field{gap:8px;font-size:12px;color:#9cabb3}.api-console-settings .field input{background:#0c1115;border-color:#354149;color:#edf1f3;min-height:40px}.api-console-settings .api-key-panel{padding:0;margin:0;border:0;min-width:0}.api-console-settings .api-key-caption{margin:0 0 10px}.api-console-settings .api-key-hint{color:#d2dde2;letter-spacing:.3px}.api-console-settings .api-key-reveal{margin-bottom:0}.api-console .api-console-routing-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.api-console .api-mode-selector{display:flex;gap:4px;margin:0;padding:4px;width:auto;background:#0b1114;border:1px solid #344047;border-radius:10px}.api-console .api-mode-selector button{padding:0 25px;min-height:35px;font-size:13px;color:#a4b2ba;border-radius:7px}.api-console .api-mode-selector button .icon{width:15px;height:15px}.api-console .api-mode-selector button.selected{background:#2e3c2c;border-color:#88aa70;color:#deefce}.api-console .api-concurrency{gap:9px}.api-console .api-concurrency>span{font-size:12px;color:#93a4ad}.api-console .api-concurrency>strong{font-size:23px;color:#e5edef}.api-console .api-concurrency em{font-size:13px;color:#8e9fa9}.api-console .api-account-cards{gap:16px}.api-console .api-account-card{background:#0d1317;border:1px solid #2f3c43;border-radius:12px;padding:19px 20px 16px;position:relative;min-width:0}.api-console .api-account-card header{display:flex;gap:12px;margin:0 0 20px;align-items:center}.api-console .api-account-card select{background:#172026;border:1px solid #3b4a53;border-radius:9px;min-height:43px;padding:10px 12px;color:#e8eef1;font-size:14px;flex:1;min-width:0}.api-console .api-account-card .api-account-health{padding:0;display:flex;align-items:center;justify-content:center;width:10px;height:14px;flex-shrink:0}.api-console .api-account-health>i{width:7px;height:7px;box-shadow:0 0 0 3px #263b323b}.api-console .api-account-health.stale>i{box-shadow:0 0 0 3px #6a55342b}.api-console .api-account-metrics{padding:0;align-items:end}.api-console .api-account-metrics>div>span{color:#8e9fa9;font-size:12px;line-height:1.5}.api-console .api-account-metrics strong{font-size:28px;letter-spacing:-.5px;color:#edf3f5;line-height:1.3;margin-top:7px}.api-console .api-account-open strong{font-size:25px;color:#d6e7cc}.api-console .api-account-open em{font-size:12px;color:#82939d;letter-spacing:0;margin-left:5px}.api-console .api-load-track{margin-top:19px;height:5px;gap:5px}.api-console .api-load-track>i{background:#2a363e;border-radius:4px}.api-console .api-load-track>i.occupied{background:#91d5b3}.api-console .api-load-track>i.reserved{background:#e9bc74}.api-console .api-load-track>i.unknown{background:#29333a}.api-console .api-card-submitting{display:block;color:#e7bd7b;font-size:11px;min-height:0;margin-top:0;text-align:right}.api-console .api-card-submitting:not(:empty){margin-top:10px}.api-console .api-account-cards.single .api-account-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(250px,1fr);gap:0 38px;align-items:center}.api-console .api-account-cards.single header{margin:0}.api-console .api-account-cards.single .api-load-track,.api-console .api-account-cards.single .api-card-submitting{grid-column:1/-1}.api-console-routing-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding-top:16px;border-top:1px solid #29353c}.api-console .api-strategy{display:flex;align-items:center;gap:9px;margin:0;padding:0;border:0}.api-console .api-strategy-options{display:flex;gap:4px;padding:3px;background:#0c1216;border:1px solid #344047;border-radius:9px}.api-console .api-strategy-options button{padding:0 20px;min-height:31px;color:#95a6af;font-size:12px;border-radius:6px}.api-console .api-strategy-options button .icon{width:14px;height:14px}.api-console .api-strategy-options button.selected{background:#25372b;border-color:#567c5a;color:#d9efd3}.api-console-routing-footer>.text-button{margin-left:auto;font-size:12px;color:#c4d9b3}.api-console-history{border:1px solid #303b40;background:#10161a;border-radius:12px;overflow:hidden}.api-console-history>summary{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;cursor:pointer;list-style:none;color:#c5d2d9}.api-console-history>summary::-webkit-details-marker{display:none}.api-console-history>summary>span{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.api-console-history>summary .icon{width:16px;height:16px;color:#8397a3}.api-console-history>summary b{font-size:11px;font-weight:500;color:#9aacb7;background:#202c33;border:1px solid #35434b;border-radius:6px;padding:1px 7px}.api-console-history>summary>.icon{transition:transform .15s}.api-console-history[open]>summary>.icon{transform:rotate(180deg)}.api-console-history .table-wrap{border-top:1px solid #2b383f}.api-console-history table{font-size:12px}.api-console-history th,.api-console-history td{padding:12px 23px}.api-console-history .api-empty{padding:28px;color:#718690}.api-console .copy-capacity-help>summary{color:#91a7b3}
@media(max-width:1200px){.api-console .api-gateway,.api-console .api-routing{padding:20px}.api-console-toolbar{gap:16px}.api-console .api-endpoint code{font-size:14px}.api-console-actions{gap:7px}.api-console-actions>.button{padding:0 12px}.api-console .api-permission-toggle{padding-right:5px}.api-console-settings{gap:22px}}
@media(max-width:1000px){.api-console-toolbar{flex-wrap:wrap}.api-console-actions{margin-left:auto}.api-console-settings{grid-template-columns:1fr}.api-console .api-account-card{padding:17px}.api-console .api-account-cards.single .api-account-card{gap:0 24px;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr)}}
@media(max-width:760px){.api-console .api-account-cards{grid-template-columns:1fr}.api-console .api-account-cards.single .api-account-card{display:block}.api-console .api-account-cards.single header{margin-bottom:20px}.api-console .api-console-routing-header{gap:10px}.api-console .api-mode-selector button{padding:0 15px}.api-console .api-concurrency{gap:6px}.api-console .api-permission-toggle{margin-right:auto}.api-console-actions{width:100%}.api-console .api-endpoint code{font-size:13px}}

.follow-leader-presence{display:inline-flex;align-items:center;vertical-align:middle;flex:none;margin-inline-start:4px;color:var(--muted,#a0b3ad)}
.follow-leader-presence svg{display:block;width:16px;height:16px}
.follow-leader-presence.online{color:#81d6b8}
.follow-leader-presence.offline{color:#efb978}
[data-follow-analysis-presence]:empty{display:none}
.copy-latency-field{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--line,#2c393d);border-radius:10px}
.copy-latency-field select{width:auto;min-width:86px}
.subscription-config-grid+.copy-latency-field{margin-top:14px}
.follow-switch-account{white-space:nowrap}
.follow-accounts-settings{display:grid;gap:14px}
.follow-accounts-settings>header{display:flex;align-items:center;gap:10px;min-width:0}
.follow-accounts-settings>header>.sim-avatar{width:34px;height:34px;flex:none}
.follow-accounts-settings>header>strong{overflow-wrap:anywhere}
.follow-accounts-settings .subscription-account-dropdowns{margin-top:0}
.follow-accounts-settings>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.follow-record-state.state-skipped,.follow-record-state.state-rejected{color:#efb978}
.follow-status-reason{display:inline-flex;align-items:baseline;gap:8px;max-inline-size:100%;line-height:1.4}
.follow-status-reason .follow-record-state,.follow-records .follow-record-state:is(.state-skipped,.state-rejected){display:inline-block;flex:none;padding:3px 7px;border:1px solid #efb97840;border-radius:6px;background:#efb97814;font-weight:600;white-space:nowrap}
.follow-status-reason>span+span{min-inline-size:0;color:var(--text);font-size:12px;overflow-wrap:anywhere}
[data-theme=light] :is(.follow-status-reason,.follow-records) .follow-record-state:is(.state-skipped,.state-rejected){color:#795116;background:#b7791420;border-color:#98661950}
.follow-source-continuation{background:transparent}
/* Transaction and copy record dialogs. */
.modal.event-order-detail-modal,.record-dialog,.modal.follow-analysis-modal{
 background:var(--panel);border-color:var(--line);color:var(--text);border-radius:14px;box-shadow:0 24px 80px #0006
}
.modal.event-order-detail-modal{max-width:610px;max-height:calc(100dvh - 28px);overflow:hidden}
.modal-overlay:has(>.event-order-detail-modal){padding:14px}
.modal.event-order-detail-modal>.modal-body{padding:16px 20px 0}
.modal.event-order-detail-modal>#modal-error:empty{display:none}
:is(.event-order-detail-modal,.record-dialog,.follow-analysis-modal)>header{
 flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
 min-height:52px;padding:9px 20px;border-bottom:1px solid var(--line)
}
:is(.event-order-detail-modal,.record-dialog,.follow-analysis-modal)>header h2{
 margin:0;color:var(--text);font-size:16px;font-weight:650
}
:is(.event-order-detail-modal,.record-dialog,.follow-analysis-modal)>header .icon-button{
 width:32px;height:32px;min-width:32px;min-height:32px;padding:7px;border-radius:7px;color:var(--muted)
}
:is(.event-order-detail-modal,.record-dialog,.follow-analysis-modal)>header .icon-button:hover{
 color:var(--text);background:var(--bg)
}
#event-order-details{display:grid;gap:14px;min-width:0}
.event-order-detail-button.lead-publication-warning{color:var(--yellow,#e6be71);border-color:currentColor;background:transparent}
.event-order-detail-button.lead-publication-warning>svg{width:15px;height:15px;display:block;flex:none}
.order-lead-publication{padding:12px 14px;border:1px solid #b08c4559;border-radius:9px;background:#b08c4510;color:var(--yellow,#e6be71)}
.order-lead-publication strong{font-size:14px;font-weight:600}.order-lead-publication p{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.order-detail-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.order-detail-summary>div{display:flex;align-items:center;gap:9px}
.order-detail-summary strong{color:var(--text);font-size:18px;letter-spacing:-.25px}
.order-detail-summary span{font-size:12px}
.order-detail-summary>span{color:var(--muted);font-variant-numeric:tabular-nums}
.order-detail-price{padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.order-detail-price :is(.event-price-heading,.event-price-path){
 display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:center;text-align:center;white-space:normal
}
.order-detail-price .event-price-heading{margin-bottom:7px;color:var(--muted);font-size:12px}
.order-detail-price .event-price-path{font-size:clamp(13px,2.8vw,18px);line-height:1.25;overflow-wrap:anywhere}
.order-detail-price .event-price-path>span:first-child{color:var(--text)}
.order-detail-price .event-price-path strong{font-weight:650}
.order-detail-price .event-price-path .event-bp{display:inline-flex;justify-self:center;min-width:0;padding:3px 7px}
.order-detail-basics{
 display:grid;grid-template-columns:.8fr .65fr 1.2fr 1.2fr;gap:7px 12px;margin:0;color:var(--text)
}
.order-detail-basics dt{margin-bottom:3px;font-size:12px;color:var(--muted)}
.order-detail-basics dd{margin:0;font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.order-timing-section{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--line);min-width:0}
.order-timing-section h3,.record-dialog h3{margin:0;font-size:14px;font-weight:650;color:var(--text)}
.order-timing-section .order-time-headline{gap:14px;margin:0}
.order-timing-section .order-time-headline>div{gap:5px}
.order-timing-section .order-time-headline span{color:var(--muted);font-size:12px}
.order-timing-section .order-time-headline strong{color:var(--text);font-size:22px}
.order-timing-section .order-time-headline .primary strong{color:var(--green);font-size:26px}
.order-timing-section .order-time-chart{padding:2px 0 0;min-width:0}
.order-timing-section .order-time-track{height:12px}
.order-timing-section .order-time-point{top:2px}
.order-timing-section .order-time-point.accepted{background:#8fdbb5;border-color:#15322a}
.order-timing-section .order-time-axis{height:24px;margin-top:4px;color:var(--muted);font-size:11px}
.order-timing-section .order-time-endpoints{gap:8px;color:var(--muted);font-size:11px}
.order-timing-section .order-time-endpoints .complete{color:var(--green)}
.order-timing-loading,.order-timing-empty,.order-timing-error{
 display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 0;color:var(--muted);font-size:13px
}
.order-timing-error{color:var(--red)}.order-timing-error button{margin-left:auto}
.order-timing-breakdown{padding:8px 11px;border:1px solid var(--line);border-radius:8px}
.order-timing-breakdown summary{cursor:pointer;color:var(--text);font-size:13px}
.order-timing-breakdown .order-time-legend{gap:8px 12px;margin:10px 0}
.order-timing-breakdown .order-time-legend span,.order-timing-breakdown dt,.order-read-bars>div>span{color:var(--muted)}
.order-timing-breakdown .order-time-legend strong,.order-timing-breakdown dd,.order-read-bars>div>strong{color:var(--text)}
.order-timing-breakdown dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:9px 0 0}
.order-timing-breakdown dl>div{display:flex;justify-content:space-between;gap:6px;font-size:12px}
.order-timing-breakdown dd{margin:0;white-space:nowrap}
.order-timing-breakdown .order-read-bars{margin:10px 0;gap:8px}
.record-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
.record-dialog[open]{display:flex;flex-direction:column}
.record-dialog::backdrop{background:#06090db3}
.record-dialog-wide{width:min(820px,calc(100vw - 24px))}
.record-dialog-body{display:grid;gap:14px;padding:16px 20px;overflow:auto;overscroll-behavior:contain;min-height:0}
.record-actions{display:flex;justify-content:flex-end;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.record-dialog>.record-actions{padding-inline:20px;flex:none}
.record-actions>.button{min-height:34px;padding:6px 11px;font-size:12px}
.record-report-form{display:grid;gap:8px}
.record-report-form label{color:var(--text);font-size:13px;font-weight:600}
.record-report-form textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:92px}
.record-report-form .error:empty{display:none}
.record-report-form footer{display:flex;justify-content:flex-end;margin-top:4px}
.record-report-form footer button{min-height:36px;padding:7px 15px}
.record-report-success{margin:0;padding:9px 12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;color:var(--green);font-weight:650}
.follow-latency-button>span{font-size:10px;color:var(--muted);white-space:nowrap}
.record-dialog.support-dialog{
 --support-surface:color-mix(in srgb,var(--panel) 80%,var(--bg));
 --support-tint:color-mix(in srgb,var(--positive) 12%,var(--panel));
 width:min(660px,calc(100vw - 24px));
 height:min(665px,calc(100dvh - 24px));
 border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);
 box-shadow:0 24px 88px #0005;
}
.icon-button.support-entry .icon{width:19px;height:19px;stroke-width:1.85}
.context-help-heading{display:flex;align-items:center;gap:7px;min-width:0}
.context-help-heading :is(h1,h2,h3){min-width:0}
.icon-button.context-help-button{width:28px;height:28px;flex:none;color:var(--muted);border:1px solid transparent;border-radius:8px}
.icon-button.context-help-button .icon{width:16px;height:16px}
.icon-button.context-help-button:hover,.icon-button.context-help-button:focus-visible{color:var(--positive);border-color:var(--line);background:var(--panel)}
dialog.context-help-dialog{width:min(420px,calc(100vw - 24px));border-radius:16px}
.context-help-dialog .record-dialog-body{display:grid;gap:18px}
.context-help-dialog .record-dialog-body p{margin:0;line-height:1.65;color:var(--text);font-size:14px;overflow-wrap:anywhere}
.context-help-contact{justify-self:start;display:inline-flex;align-items:center;gap:7px}
.context-help-contact .icon{width:16px;height:16px}
.support-dialog>header{display:flex;justify-content:flex-start;align-items:center;gap:12px;padding:15px 22px;background:var(--panel);border-bottom:1px solid var(--line);flex:none}
.support-dialog>header h2{flex:1;min-width:0;margin:0;font-size:18px;letter-spacing:0;font-weight:720}
.support-dialog>header .icon-button{width:36px;height:36px}
.support-heading-icon,.support-topic-icon,.support-ticket-icon,.support-state-icon{display:grid;place-items:center;flex:none;border-radius:11px;background:var(--support-tint);color:var(--positive)}
.support-heading-icon{width:37px;height:37px}
.support-heading-icon .icon{width:21px;height:21px}
.support-dialog .record-dialog-body{display:flex;flex:1;flex-direction:column;gap:0;padding:0;overflow:hidden}
.support-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:51px;padding:0 22px;border-bottom:1px solid var(--line);flex:none}
.support-tabs{display:flex;align-self:stretch;gap:17px;min-width:0}
.support-tabs button,.support-contact,.support-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;white-space:nowrap}
.support-tabs button{position:relative;padding:3px 2px;color:var(--muted);border-radius:0;font-weight:600}
.support-tabs button[aria-pressed=true]{color:var(--text)}
.support-tabs button[aria-pressed=true]::after{position:absolute;inset:auto 0 0;height:2px;background:var(--positive);border-radius:2px 2px 0 0;content:''}
.support-tabs .icon,.support-contact .icon,.support-link .icon{width:16px;height:16px;flex:none}
.support-contact{padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);min-height:34px}
.support-contact[hidden],.support-reference[hidden]{display:none}
.support-contact:hover,.support-link:hover,.support-tabs button:hover{color:var(--positive)}
.support-content{min-height:0;flex:1;overflow:auto;background:var(--support-surface);overscroll-behavior:contain}
.support-content[data-view=chat]{display:flex;flex-direction:column;overflow:hidden}
.support-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 22px;scrollbar-gutter:stable}
.support-messages{display:grid;gap:13px}
.support-welcome{width:min(100%,490px);margin:clamp(12px,5vh,44px) auto 8px}
.support-welcome h3{margin:0 0 20px;color:var(--text);font-size:clamp(22px,4vw,28px);line-height:1.2;letter-spacing:-.02em;font-weight:750}
.support-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.support-prompts button{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:9px;min-width:0;min-height:58px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);text-align:start;font-size:13px;font-weight:650}
.support-prompts button:hover{border-color:color-mix(in srgb,var(--positive) 62%,var(--line));background:var(--support-tint)}
.support-topic-icon{width:34px;height:34px}
.support-topic-icon .icon,.support-ticket-icon .icon{width:17px;height:17px}
.support-topic-arrow{width:14px;height:14px;color:var(--muted)}
.support-prompts [data-topic=chart] .support-topic-icon{background:#4b7fbd24;color:#83baff}
.support-prompts [data-topic=wallet] .support-topic-icon{background:#ae863224;color:var(--amber)}
.support-prompts [data-topic=code] .support-topic-icon{background:#9d70c928;color:#c2a3ec}
:root[data-theme=light] .support-prompts [data-topic=chart] .support-topic-icon{color:#2d639d}
:root[data-theme=light] .support-prompts [data-topic=code] .support-topic-icon{color:#684791}
.support-message-row{display:flex;min-width:0}
.support-session-notice{margin:3px auto;color:var(--muted,#9aa7ab);font-size:12px;text-align:center;line-height:1.5}
.support-message{width:fit-content;max-width:min(92%,520px);padding:11px 14px;border:1px solid var(--line);border-radius:5px 14px 14px;background:var(--panel)}
.support-message.user{margin-inline-start:auto;background:var(--support-tint);border-radius:14px 5px 14px 14px}
.support-message p,.support-ticket-list p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.58;font-size:14px}
.support-agent{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;margin:0 0 9px;color:var(--muted);font-size:12px}
.support-agent b{margin-right:4px;color:var(--text);font-size:14px}
.support-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;flex:none;background:#234c47;color:#e5fbf4;font-weight:750}
.support-case-dialog .support-log{min-height:100px}
.support-case-dialog .support-avatar{object-fit:cover}
.support-case-dialog .support-message{margin-block:0}
.support-case-list{display:grid;gap:8px;padding:16px 22px}
.support-case-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:11px 13px;border:1px solid var(--line);border-radius:10px}
.support-case-list>button:hover{background:var(--subtle)}
.support-case-list>button>span:first-child{min-width:0;overflow-wrap:anywhere}
.support-case-list time{display:block;color:var(--muted);margin-top:4px}
.support-case-list>button>span:last-child{display:flex;align-items:center;gap:5px;color:var(--muted);flex:none}
.support-case-pages,.support-case-result{display:flex;align-items:center;justify-content:space-between;gap:10px}
.support-case-error{padding:0 20px 10px}
.support-case-error:empty{display:none}
.support-agent-number{margin-inline-start:auto;padding:3px 5px;border-radius:5px;background:var(--support-surface);font-variant-numeric:tabular-nums}
.support-sources{margin-top:9px;padding-top:8px;border-top:1px solid var(--line);font-size:13px}
.support-sources summary{color:var(--positive);cursor:pointer}
.support-sources code{display:inline-block;margin-inline-start:5px;color:var(--text);font-size:11px}
.support-sources section{padding:5px 0}
.support-sources h4{margin:4px 0;color:var(--text);font-size:13px}
.support-log [data-support-live]:not(:empty){margin-top:13px}
.support-wait{display:flex;align-items:center;gap:7px;padding:10px 0;color:var(--muted);font-size:13px}
.support-pending{min-width:min(100%,230px)}
.support-typing{display:flex;align-items:center;gap:10px;min-height:23px;color:var(--muted);font-size:13px}
.support-typing-dots{display:inline-flex;align-items:center;gap:4px;color:var(--positive)}
.support-typing-dots i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:support-typing-pulse 1.15s ease-in-out infinite}
.support-typing-dots i:nth-child(2){animation-delay:.14s}
.support-typing-dots i:nth-child(3){animation-delay:.28s}
@keyframes support-typing-pulse{0%,65%,100%{transform:translateY(0);opacity:.45}32%{transform:translateY(-4px);opacity:1}}
@media(prefers-reduced-motion:reduce){.support-typing-dots i{animation:none}}
.support-streaming::after{content:'';display:inline-block;width:5px;height:5px;margin-inline-start:5px;border-radius:50%;vertical-align:middle;background:currentColor;opacity:.65}
.support-composer{display:grid;gap:9px}
.support-chat-composer{flex:none;padding:12px 22px 16px;border-top:1px solid var(--line);background:var(--panel)}
.support-input{border:1px solid var(--line);border-radius:13px;background:var(--support-surface)}
.support-input:focus-within{border-color:color-mix(in srgb,var(--positive) 62%,var(--line))}
.support-input textarea{width:100%;min-height:48px;max-height:105px;box-sizing:border-box;display:block;padding:10px 12px 5px;border:0;border-radius:0;background:transparent;resize:none;font:inherit}
.support-input textarea:focus-visible{outline:0}
.support-input-tools{display:flex;align-items:center;gap:8px;padding:2px 6px 6px}
.support-input-tools [type=submit]{margin-inline-start:auto;flex:none}
.support-input-tools .button{display:inline-flex;align-items:center;gap:5px;min-height:33px;padding:5px 10px;border-radius:8px;font-size:13px}
.support-input-tools .button .icon{width:15px;height:15px}
.support-link{color:var(--muted);padding:5px;min-height:32px;border-radius:6px}
.support-link.linked{color:var(--positive)}
.support-composer .error:empty{display:none}
.support-record-picker{position:relative;min-width:0;margin-inline:4px 0}
.support-reference-tools{display:flex;align-items:center;gap:3px;min-width:0}
.support-reference-clear{display:grid;place-items:center;flex:none;width:30px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font:20px/1 system-ui,sans-serif;cursor:pointer}
.support-reference-clear:hover,.support-reference-clear:focus-visible{background:var(--support-tint);color:var(--text)}
.support-reference-clear[hidden]{display:none}
[data-case-diagnostic]:not(:empty){margin-top:12px}
.support-diagnostic-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px 12px;box-sizing:border-box;width:min(100%,440px);padding:13px;border:1px solid color-mix(in srgb,var(--positive) 38%,var(--line));border-radius:12px;background:var(--support-surface);color:var(--text)}
.support-diagnostic-card[role=status]{width:max-content;max-width:100%;align-items:center}
.support-diagnostic-card strong{font-size:14px;line-height:1.4}
.support-diagnostic-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--support-tint);color:var(--positive)}
.support-diagnostic-icon .icon{width:16px;height:16px}
.support-diagnostic-copy p,.support-diagnostic-result{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.support-diagnostic-copy .support-diagnostic-error{color:var(--red)}
.support-diagnostic-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.support-diagnostic-actions .button{min-height:34px;padding:6px 11px;font-size:13px}
.support-record-picker summary{display:flex;align-items:center;gap:6px;width:fit-content;max-width:100%;box-sizing:border-box;min-height:32px;padding:4px 8px;color:var(--muted);cursor:pointer;list-style:none;border-radius:7px;font-size:13px}
.support-record-picker summary::-webkit-details-marker{display:none}
.support-record-picker summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-record-picker summary .icon{width:14px;height:14px;flex:none}
.support-record-picker[open] summary,.support-record-picker summary:hover,.support-record-picker.linked summary{color:var(--positive);background:var(--support-tint)}
.support-record-popover{position:absolute;z-index:3;inset:auto auto calc(100% + 8px) 0;width:min(376px,calc(100vw - 76px));max-height:clamp(105px,calc(100dvh - 225px),235px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 10px 28px #0005}
.support-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.support-record-fields select{min-width:0;width:100%;min-height:36px;padding:6px 9px;font-size:13px}
.support-record-fields :is(select:last-child,select:has(+select[hidden])){grid-column:1/-1}
.support-record-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 10px;margin-top:6px;font-size:12px}
.support-record-controls [role="status"]{color:var(--muted);margin-right:auto}
.support-record-picker [hidden]{display:none}
.support-actions{display:flex;justify-content:space-between;gap:6px}
.support-actions button{min-height:36px;padding:6px 13px;font-size:13px}
.support-page-state{display:grid;justify-items:center;align-content:center;gap:10px;min-height:100%;box-sizing:border-box;padding:20px;text-align:center;color:var(--muted)}
.support-page-state h3,.support-page-state p{margin:0}
.support-page-state h3{color:var(--text);font-size:17px}
.support-state-icon{width:44px;height:44px}
.support-ticket-list{display:grid;gap:9px;padding:16px 22px}
.support-ticket-list details{border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.support-ticket-list details[open]{border-color:color-mix(in srgb,var(--positive) 26%,var(--line))}
.support-ticket-list summary{display:grid;grid-template-columns:33px minmax(0,1fr) auto 14px;align-items:center;gap:9px;min-height:61px;padding:8px 12px;cursor:pointer;list-style:none}
.support-ticket-list summary::-webkit-details-marker{display:none}
.support-ticket-icon{width:33px;height:33px}
.support-ticket-caption{min-width:0;display:grid;gap:3px}
.support-ticket-caption strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:14px}
.support-ticket-caption time,.support-ticket-ref{color:var(--muted);font-size:12px}
.support-ticket-status{border-radius:6px;padding:3px 6px;background:color-mix(in srgb,var(--amber) 12%,var(--panel));color:var(--amber);white-space:nowrap;font-size:12px}
.support-ticket-status.resolved{color:var(--positive);background:var(--support-tint)}
.support-ticket-chevron{width:14px;height:14px;color:var(--muted)}
.support-ticket-list details[open] .support-ticket-chevron{transform:rotate(90deg)}
.support-ticket-details{display:grid;gap:10px;margin:0 12px;padding:12px 0;border-top:1px solid var(--line)}
.support-ticket-ref{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}
.support-ticket-ref .icon{width:15px;height:15px;flex:none}
.support-human-reply{display:grid;gap:5px;padding:10px 12px;border-inline-start:2px solid var(--positive);border-radius:6px;background:var(--support-tint)}
.support-human-reply strong{color:var(--positive);font-size:13px}
.support-ticket-form{margin:0 auto;width:min(100%,520px);box-sizing:border-box;padding:22px}
.support-ticket-form h3{margin:0 0 9px;font-size:20px;color:var(--text)}
.support-ticket-form label{font-size:13px;color:var(--text)}
.support-ticket-form textarea{box-sizing:border-box;width:100%;min-height:96px;max-height:200px;resize:vertical}
.support-ticket-form .support-actions{margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
.support-ticket-success{margin:16px 22px 0;display:flex;align-items:center;gap:8px;color:var(--positive);font-size:13px;font-weight:650}
.support-log [data-support-closeout]:not(:empty){margin-top:12px}
.support-closeout,.support-rating,.support-rated{
 display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;width:fit-content;max-width:100%;box-sizing:border-box;
 padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:13px
}
.support-closeout strong,.support-rating strong{color:var(--text);font-weight:650}
.support-closeout>div,.support-stars{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.support-closeout button,.support-stars button{display:grid;place-items:center;min-height:32px;border:1px solid var(--line);border-radius:7px;color:var(--text);padding:4px 9px}
.support-closeout button:first-child{background:var(--support-tint);color:var(--positive)}
.support-closeout button:hover,.support-stars button:hover{border-color:var(--positive)}
.support-stars button{width:33px;padding:0;color:var(--amber);font-size:19px;line-height:1}
.support-stars button:is(:hover,:focus-visible,.is-selected){background:color-mix(in srgb,var(--amber) 16%,var(--panel))}
.support-rating[aria-busy=true] .support-stars{opacity:.65;cursor:progress}
.support-rating p:empty{display:none}
.support-rating p{flex-basis:100%;margin:0;color:var(--red,#eb8292)}
.support-rated{margin:0;color:var(--positive)}
.support-rated .icon{width:15px;height:15px}
@media(max-width:520px){
 .support-dialog>header,.support-nav,.support-log,.support-chat-composer,.support-ticket-list{padding-inline:12px}
 .support-tabs{gap:10px}
 .support-nav{min-height:45px}
 .support-contact{padding-inline:7px}
 .support-ticket-form{padding:16px 12px}
 .support-ticket-success{margin-inline:12px}
}
@media(max-width:365px){
 .support-nav :is(.support-tabs,.support-contact) .icon,.support-topic-arrow{display:none}
 .support-input-tools{gap:3px}
 .support-record-picker summary{padding-inline:5px}
 .support-prompts button{grid-template-columns:29px minmax(0,1fr);gap:6px;padding:6px;min-height:47px}
 .support-topic-icon{width:29px;height:29px}
}
@media(max-height:520px){
 .support-dialog>header{padding-block:9px}
 .support-nav{min-height:42px}
 .support-log{padding-block:12px}
 .support-welcome{margin-block:3px}
 .support-welcome h3{margin-bottom:11px}
 .support-chat-composer{padding-block:7px}
}
.follow-record-summary{padding:0 0 2px}
.follow-record-summary>.follow-record-latency{gap:8px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.follow-record-latency>span:first-child{color:var(--muted);font-size:12px}
.follow-record-latency .follow-delay{font-size:13px}
.follow-record-latency .follow-delay:not(.unavailable)::before{content:'';display:inline-block;width:5px;height:5px;margin:0 6px 2px 0;border-radius:50%;background:currentColor}
.follow-record-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.follow-record-side{display:grid;grid-template-rows:subgrid;grid-row:span 4;min-width:0;padding:14px 16px;border:1px solid var(--line);border-top:2px solid #6395cc;border-radius:12px;background:var(--bg)}
.follow-record-side.follower{border-top-color:#60b49b}
.follow-record-side-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.follow-record-side-head h3{display:flex;align-items:center;gap:6px;white-space:nowrap;font-weight:600}
.follow-record-side-head h3 .icon{width:15px;height:15px;color:#a9cbf1}
.follow-record-side.follower .follow-record-side-head h3 .icon{color:#a6dfcc}
.follow-record-side-head small{min-width:0;max-width:55%;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.follow-record-opened{display:grid;gap:4px;align-content:start;padding-bottom:12px;border-bottom:1px solid var(--line)}
.follow-record-opened>span,.follow-record-pnl>span{color:var(--muted);font-size:11px;line-height:1.4}
.follow-record-opened time{color:var(--text);font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.5;white-space:nowrap}
.follow-record-side dl{display:grid;align-content:start;gap:12px;margin:0}
.follow-record-side dl>div{display:flex;align-items:center;justify-content:space-between;gap:4px 8px;flex-wrap:wrap}
.follow-record-side dt{color:var(--muted);font-size:12px}
.follow-record-side dd{min-width:0;margin:0;font-size:13px;font-variant-numeric:tabular-nums}
.follow-record-side .follow-price{grid-template-columns:auto 10px auto auto;gap:4px}
.follow-record-side .follow-price .follow-entry{color:var(--text)}
.follow-record-outcome{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-top:12px;border-top:1px solid var(--line)}
.follow-record-pnl{display:grid;gap:4px;flex:none}
.follow-record-pnl>strong{font-size:23px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.follow-record-status{display:flex;align-items:center;justify-content:flex-end;min-width:0;max-width:65%;text-align:right}
.follow-record-status .position-dial.compact{width:44px;height:44px}
.follow-record-status .follow-status-reason{flex-direction:column;align-items:flex-end;gap:4px}
.follow-record-status .event-settling{flex-wrap:wrap;justify-content:flex-end;font-size:12px}
.follow-record-status .event-result{font-size:12px;padding:5px 8px}
.follow-record-timing{display:grid;gap:8px;min-width:0}
.follow-record-timing .follow-time-chart{margin:0;padding:0;min-width:0}
.follow-record-timing .order-time-headline{margin:0 0 8px;gap:10px}
.follow-record-timing .order-time-headline>div{gap:3px}
.follow-record-timing .order-time-headline span{color:var(--muted);font-size:12px}
.follow-record-timing .order-time-headline :is(.primary,.secondary) strong{color:var(--text);font-size:20px}
.follow-record-timing .copy-time-lanes{background:var(--bg);border-color:var(--line);border-radius:9px}
.follow-record-timing .copy-time-detail{border-color:var(--line)}
.follow-record-timing .copy-time-detail>summary{min-height:34px;padding:7px 10px;grid-template-columns:134px minmax(0,1fr) 64px 12px;gap:8px}
.follow-record-timing .copy-time-detail>summary:is(.is-sync,:hover){background:color-mix(in srgb,var(--line) 50%,var(--bg))}
.follow-record-timing .copy-time-label,.follow-record-timing .copy-time-value{color:var(--text);font-size:12px}
.follow-record-timing .copy-time-lane.is-incomplete .copy-time-value,.follow-record-timing .copy-time-expand{color:var(--muted)}
.follow-record-timing .copy-time-lane .order-time-track{height:8px}
.follow-record-timing .copy-time-lane.is-incomplete .order-time-track{height:2px}
.follow-record-timing .copy-time-lane .order-time-point{width:7px;height:7px;top:.5px}
.follow-record-timing .copy-time-scale{margin-left:152px;margin-right:102px}
.follow-record-timing .order-time-axis{height:20px;margin-top:4px;color:var(--muted);font-size:11px}
.follow-record-timing .copy-time-breakdown{padding:9px 10px;border-color:var(--line);background:var(--panel)}
.follow-record-timing .copy-time-bounds{color:var(--muted);margin-bottom:8px;flex-wrap:wrap}
.follow-record-timing .copy-time-breakdown dt{color:var(--muted)}
.follow-record-timing .copy-time-breakdown dd{color:var(--text)}
@media(max-width:570px){
 .modal.event-order-detail-modal>.modal-body,.record-dialog-body{padding-inline:12px}
 :is(.event-order-detail-modal,.record-dialog,.follow-analysis-modal)>header,.record-dialog>.record-actions{padding-inline:12px}
 .order-detail-basics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .follow-record-comparison{grid-template-columns:minmax(0,1fr)}
 .follow-record-side{grid-template-rows:auto auto 1fr auto;grid-row:auto;gap:12px;padding:12px 14px}
 .follow-record-summary{gap:12px}
 .follow-record-timing .copy-time-detail>summary{grid-template-columns:minmax(0,1fr) 60px 12px;gap:4px 8px}
 .follow-record-timing .copy-time-lane .order-time-track{grid-column:1/-1;grid-row:2}
 .follow-record-timing .copy-time-lane .copy-time-value{grid-column:2;grid-row:1;text-align:right}
 .follow-record-timing .copy-time-expand{grid-column:3;grid-row:1}
 .follow-record-timing .copy-time-scale{margin-inline:11px}
 .order-timing-section .order-time-axis>span:not(.first,.last),.follow-record-timing .order-time-axis>span:not(.first,.last){display:none}
 .order-timing-breakdown .order-read-bars>div{grid-template-columns:minmax(0,1fr) minmax(24px,1fr) auto;gap:5px}
}
.account-picker{width:100%;min-width:0;flex:1}
.account-picker>select[hidden],.account-picker-popover [hidden]{display:none!important}
.account-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.account-picker-trigger:hover,.account-picker-trigger[aria-expanded=true]{border-color:var(--green)}
.account-picker-trigger>svg,.account-picker-row>svg{width:15px;height:15px;flex:none;color:var(--green)}
.account-picker-trigger>svg{color:var(--muted);transition:transform .15s ease}
.account-picker-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}
.account-picker-trigger>[data-account-picker-value],.account-picker-identity{display:flex;align-items:center;gap:7px;min-width:0}
.account-picker-trigger.is-unavailable>[data-account-picker-value],.account-picker-row.is-disabled>.account-picker-identity{color:var(--muted);filter:grayscale(1)}
.account-picker-avatar{display:grid;place-items:center;width:25px;height:25px;flex:none;overflow:hidden;border-radius:50%;background:var(--subtle);color:var(--muted)}
.account-picker-avatar img{width:100%;height:100%;object-fit:cover}
.account-picker-avatar svg{width:15px;height:15px}
.account-picker-name{display:flex;align-items:center;gap:6px;min-width:0}
.account-picker-name small{font-size:11px;color:var(--muted)}
.account-picker-name strong{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-picker-role{padding:2px 5px;border-radius:4px;font-size:10px;line-height:1.4;white-space:nowrap;background:#2e3428;color:#c8dca8}
.account-picker-role.follower{background:#26364b;color:#b9d5f9}
.account-picker-popover{position:fixed;inset:auto;margin:0;padding:5px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text);box-shadow:0 12px 38px #0007}
.account-picker-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:38px;padding:6px 7px;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;font:inherit}
button.account-picker-row{cursor:pointer}
button.account-picker-row:hover,.account-picker-row.is-selected{background:var(--subtle)}
.account-picker-row.is-disabled{flex-wrap:wrap}
.account-picker-row.is-disabled>.account-picker-identity{flex:1}
.account-picker-row p{flex:0 0 100%;margin:0;padding:8px 9px;border-radius:5px;background:var(--subtle);color:var(--text);font-size:12px;line-height:1.5}
.account-picker-info,.account-picker-clear{padding:5px 7px;border:0;border-radius:5px;background:transparent;color:var(--green);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.account-picker-info:hover,.account-picker-clear:hover{background:var(--subtle)}
.account-picker-empty{padding:9px;color:var(--muted);font-size:12px}
.account-picker-trigger:focus-visible,.account-picker-popover button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
[data-theme=light] .account-picker-trigger,[data-theme=light] .account-picker-popover{background:var(--panel)}
[data-theme=light] :is(.account-picker-popover,.account-picker-trigger) :is(.account-picker-info,.account-picker-clear){color:#395d2c}
.support-attachment{display:flex;align-items:center;min-width:0}
.support-attachment[hidden],.support-attachment [hidden],.support-ticket-image [hidden]{display:none!important}
.support-attachment-preview{display:flex;align-items:center;gap:10px}
.support-attachment-preview img{display:block;width:64px;height:48px;object-fit:cover;border:1px solid var(--line);border-radius:7px}
.support-ticket-image{display:grid;justify-items:start;gap:8px}
.support-ticket-image img{display:block;max-width:100%;max-height:360px;border-radius:7px;object-fit:contain}
.copy-time-segment.broadcastDelivery{background:#62d8e8}
.follow-record-timing>h3{display:flex;align-items:center;gap:8px}
.follow-record-timing [data-record-timing]{display:grid;gap:8px}
.follow-sequence{--sequence-accent:#6fa9cb;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}
.follow-sequence-actors,.follow-sequence-row{display:grid;grid-template-columns:repeat(var(--actors),minmax(0,1fr))}
.follow-sequence-actors{padding:10px 0;border-bottom:1px solid var(--line);background:var(--panel)}
.follow-sequence-actors span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:650}
.follow-sequence-actors i{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:color-mix(in srgb,currentColor 14%,transparent);color:#a9a3e9}
.follow-sequence-actors [data-actor=cloud] i{color:#79bce4}
.follow-sequence-actors [data-actor=device] i{color:#79cbb0}
.follow-sequence-actors [data-actor=binance] i{color:#eabf54}
[data-theme=light] .follow-sequence-actors [data-actor=leader] i{color:#694bb0}
[data-theme=light] .follow-sequence-actors [data-actor=cloud] i{color:#23658b}
[data-theme=light] .follow-sequence-actors [data-actor=device] i{color:#236954}
[data-theme=light] .follow-sequence-actors [data-actor=binance] i{color:#845a14}
.follow-sequence-actors svg{width:16px;height:16px}
.follow-sequence-label svg{width:13px;height:13px;flex:none}
.follow-sequence-flow{padding:4px 0 9px;background-image:linear-gradient(to right,transparent calc(50% - .5px),var(--line) 0,var(--line) calc(50% + .5px),transparent 0);background-size:calc(100% / var(--actors)) 100%}
.follow-sequence-row{min-height:54px;align-content:center;row-gap:6px;padding:4px 0;cursor:pointer;list-style:none}
.follow-sequence-row::-webkit-details-marker{display:none}
.follow-sequence-row:hover,.follow-sequence-row:focus-visible{background:color-mix(in srgb,var(--line) 30%,transparent)}
.follow-sequence-row:focus-visible{outline-offset:-2px}
.follow-sequence-label,.follow-sequence-link{grid-column:var(--route-start)/span var(--route-width)}
.follow-sequence-label{display:flex;align-items:center;justify-content:center;justify-self:center;gap:6px;max-width:100%;padding:3px 6px;border-radius:5px;background:var(--bg);font-size:12px;white-space:nowrap}
.follow-sequence-label i{display:grid;place-items:center;width:18px;height:18px;flex:none;border-radius:50%;background:var(--panel);border:1px solid var(--line);font-size:10px;font-style:normal}
.follow-sequence-label strong,.follow-sequence-after dd{font-variant-numeric:tabular-nums;font-weight:700}
.follow-sequence-label svg{color:var(--muted)}
.follow-sequence-step[open] .follow-sequence-label svg{transform:rotate(90deg)}
.follow-sequence-link{position:relative;height:2px;margin-inline:calc(50% / var(--route-width));background:var(--sequence-accent)}
.follow-sequence-link::after,.follow-sequence-link.is-roundtrip::before{content:"";position:absolute;top:50%;right:-1px;width:6px;height:6px;border:solid var(--sequence-accent);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
.follow-sequence-link.is-roundtrip::before{right:auto;left:-1px;transform:translateY(-50%) rotate(-135deg)}
.follow-sequence-link.is-local{justify-self:center;width:8px;height:8px;margin:0;border-radius:50%;box-shadow:0 0 0 3px var(--bg)}
.follow-sequence-link.is-local::after{display:none}
.follow-sequence-route{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.follow-sequence-explanation{margin:0 12px 5px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:var(--panel);font-size:12px}
.follow-sequence-explanation p{margin:0;color:var(--muted)}
.follow-sequence-explanation dl,.follow-sequence-after dl{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0 0}
.follow-sequence-explanation dl>div,.follow-sequence-after dl>div{display:flex;gap:7px;align-items:baseline}
.follow-sequence-explanation dt,.follow-sequence-after dt{color:var(--muted)}
.follow-sequence-explanation dd,.follow-sequence-after dd{margin:0}
.follow-sequence-after{padding:10px 12px;border-top:1px solid var(--line);background:var(--panel);font-size:12px}
.follow-sequence-after h4{margin:0;font-size:12px;font-weight:650}
.order-sequence-total{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}
.order-sequence-total strong{color:var(--text);font-weight:700;font-size:19px;font-variant-numeric:tabular-nums}
@media(max-width:600px){
 .follow-sequence-actors{display:none}
 .follow-sequence-flow{padding:3px 0;background:none}
 .follow-sequence-row{grid-template-columns:minmax(0,1fr);row-gap:2px;padding:7px 10px}
 .follow-sequence-label{grid-column:1;justify-self:stretch;justify-content:flex-start;padding:0;white-space:normal}
 .follow-sequence-label strong{margin-left:auto;white-space:nowrap}
 .follow-sequence-link{display:none}
 .follow-sequence-route{position:static;width:auto;height:auto;margin-left:24px;clip-path:none;color:var(--muted);font-size:11px}
}

/* API workspace */
.api-workspace{container:api-workspace/inline-size}
.api-workspace .api-console{gap:16px;margin-bottom:16px}
.api-workspace .api-console>.panel,.api-workspace .api-console-history{background:var(--panel);border-color:var(--line);box-shadow:none}
.api-workspace .api-console>.panel{padding:18px 20px;border-radius:14px}
.api-console-section-head{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:14px;margin:0 0 12px}
.api-console-section-head h2{margin:0;color:var(--text);font-size:18px;font-weight:680}
.api-workspace .api-service-state{display:inline-flex;gap:6px;align-items:center;margin-top:6px;color:var(--muted)}
.api-workspace .api-service-state.running{color:var(--green)}
.api-illustration{display:grid;place-items:center;width:64px;height:55px;flex:none;border:1px solid color-mix(in srgb,var(--api-art) 25%,var(--line));border-radius:13px;background:radial-gradient(ellipse at 48% 60%,color-mix(in srgb,var(--api-art) 18%,var(--bg)),var(--bg))}
.api-illustration svg{width:100%;height:100%;display:block}
.api-illustration--service{--api-art:#8a9afa}
.api-illustration--accounts{--api-art:#e3b759}
.api-illustration--history{--api-art:#71c4ad;width:39px;height:34px;border-radius:8px}
.api-workspace .api-endpoint{display:flex;justify-content:space-between;min-width:0;margin:0 0 12px;padding:5px 8px 5px 11px;min-height:39px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.api-workspace .api-endpoint code{color:var(--text);font-size:13px;overflow-wrap:anywhere}
.api-workspace .api-console-actions{width:100%;flex-wrap:wrap;justify-content:flex-end;margin:0;gap:7px}
.api-workspace .api-console-actions>.button{padding-inline:11px}
.api-workspace .api-console .api-permission-toggle{margin:0 auto 0 0;padding:0 3px 0 0}
.api-workspace .api-permission-label{color:var(--muted)}
.api-workspace .api-console-settings{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px;padding-top:14px;border-color:var(--line)}
.api-workspace .api-console-settings .field input{background:var(--bg);border-color:var(--line);color:var(--text)}
.api-workspace .api-console-routing-header{gap:8px;margin:0 0 10px}
.api-workspace .api-mode-selector,.api-workspace .api-strategy-options{background:var(--bg);border-color:var(--line)}
.api-workspace .api-mode-selector button{min-height:29px;padding:0 12px}
.api-workspace .api-concurrency>strong,.api-workspace .api-account-metrics strong{color:var(--text)}
.api-workspace .api-account-cards{gap:10px}
.api-workspace .api-account-card{padding:11px 12px;background:var(--bg);border-color:var(--line);border-radius:9px}
.api-workspace .api-account-card header{margin:0 0 9px;gap:8px}
.api-workspace .api-account-cards.single .api-account-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:0 15px}
.api-workspace .api-account-cards.single header{margin:0}
.api-workspace .api-account-metrics strong{margin-top:3px;font-size:22px}
.api-workspace .api-account-open strong{font-size:20px}
.api-workspace .api-load-track{margin-top:10px;height:4px}
.api-workspace .api-console-routing-footer{flex-wrap:wrap;gap:8px;margin-top:10px;padding-top:9px;border-color:var(--line)}
.api-workspace .api-strategy-options button{padding:0 10px;min-height:27px}
.api-workspace .api-console-history>summary{padding:9px 14px;color:var(--text)}
.api-workspace .api-console-history .table-wrap{overflow:auto;border-color:var(--line)}
.wallet-fee-note{display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:13px;line-height:1.5}
.wallet-fee-note .icon{flex:none;width:15px;height:15px;margin-top:2px;color:var(--amber)}
.wallet-deposit-address .wallet-fee-note,.wallet-withdraw-confirm .wallet-fee-note{margin-top:9px}

.modal:has(.wallet-content :is(.wallet-deposit-form,.wallet-withdraw-form,.wallet-withdraw-confirm,.wallet-receipt,.wallet-withdraw-status)){width:min(100%,520px)}
.modal:has(.wallet-deposit-order){width:min(100%,630px)}
.modal:has(.wallet-content) .modal-body{padding:22px 25px}
.wallet-content :is(.wallet-deposit-form,.wallet-withdraw-form,.wallet-withdraw-confirm){display:grid;gap:16px;padding:0}
.wallet-content :is(.wallet-deposit-form,.wallet-withdraw-form,.wallet-withdraw-confirm) .field{margin:0;gap:8px;color:var(--text)}
.wallet-content .wallet-asset{padding:0}
.wallet-content .wallet-token-logo{width:40px;height:40px}
.wallet-content .wallet-asset>div{gap:2px}
.wallet-content :is(.wallet-asset>div>span,.wallet-amount-input>span,.wallet-net-amount small,.wallet-receipt-values dt,.wallet-receipt-values dd>span){color:var(--muted)}
.wallet-content :is(.wallet-withdraw-limits,.wallet-rate,.wallet-deposit-order .wallet-deposit-layout,.wallet-deposit-flow,.wallet-receipt-values,.wallet-net-amount){
 background:var(--bg);border:1px solid var(--line);border-radius:12px
}
.wallet-content .wallet-rate{padding:12px 14px;margin:0;color:var(--text)}
.wallet-rate>strong,.wallet-gold-balance{display:inline-flex;align-items:center;gap:7px;color:var(--amber)}
.wallet-content :is(.wallet-rate,.wallet-gold-balance,.wallet-credit-estimate) .currency-logo{width:19px;height:19px;flex:none}
.wallet-content .wallet-credit-estimate{color:var(--amber)}
.wallet-content input:not([type=checkbox]),.wallet-content .wallet-amount-input{
 background:var(--bg);border-color:var(--line);color:var(--text)
}
.wallet-content .wallet-amount-input input{background:transparent;padding:13px 14px;font-size:27px}
.wallet-content .wallet-amount-input:focus-within{border-color:var(--green)}
.wallet-content .wallet-amount-input{padding-right:13px}
.wallet-content .wallet-fee-note{padding:8px 0;margin:0}
.wallet-content :is(.wallet-deposit-form,.wallet-withdraw-form,.wallet-withdraw-confirm)>.wallet-full{margin:0;min-height:44px}
.wallet-content :is(.wallet-deposit-form,.wallet-withdraw-form,.wallet-withdraw-confirm)>.error:empty{display:none}
.wallet-content .wallet-deposit-top{padding-bottom:15px}
.wallet-content .wallet-status-pill{color:var(--green);background:var(--subtle);border-color:var(--line)}
.wallet-content .wallet-deposit-order.is-expired .wallet-status-pill{color:var(--amber)}
.wallet-content .wallet-deposit-order .wallet-deposit-layout{grid-template-columns:minmax(125px,175px) 1fr;gap:18px;margin:0 0 14px;padding:16px}
.wallet-content .wallet-deposit-order .wallet-qr{border:1px solid #dedede;max-width:175px;padding:7px}
.wallet-content .wallet-deposit-order .wallet-countdown{width:94px;height:94px;color:var(--green)}
.wallet-content .wallet-countdown>strong{color:var(--text)}
.wallet-content .wallet-deposit-flow{margin:0 0 15px;padding:13px 15px}
.wallet-content .wallet-flow-heading{margin-bottom:11px}
.wallet-content .wallet-flow-heading strong,.wallet-content .wallet-flow-steps .is-active{color:var(--text)}
.wallet-content .wallet-flow-steps{margin-bottom:10px;gap:7px}
.wallet-content .wallet-flow-steps li{color:var(--muted)}
.wallet-content .wallet-deposit-flow>.text-button{border-color:var(--line);padding-top:8px;color:var(--text)}
.wallet-content .wallet-deposit-address .wallet-address{background:var(--bg);border-color:var(--line)}
.wallet-content .wallet-deposit-address .wallet-address code{color:var(--text)}
.wallet-content .wallet-withdraw-limits{padding:11px 13px}
.wallet-content .wallet-net-amount{gap:3px;padding:14px 12px}
.wallet-content .wallet-net-amount>strong{color:var(--text);margin:0;font-size:36px}
.wallet-content .wallet-receipt-values{margin:0;padding:5px 13px}
.wallet-content .wallet-receipt-values dd{color:var(--text)}
.wallet-content .wallet-receipt .wallet-receipt-values,.wallet-content .wallet-withdraw-status .wallet-net-amount{margin-bottom:15px}
.wallet-content :is(.wallet-success-mark,.wallet-receipt-status,.wallet-status-heading.is-paid){color:var(--positive)}
.wallet-content .wallet-receipt-credit{color:var(--text)}
.wallet-content .wallet-receipt-credit>span{color:var(--amber)}
.wallet-content .wallet-success-mark{background:color-mix(in srgb,var(--positive) 12%,transparent)}
.reduce-motion .wallet-success-mark path{stroke-dashoffset:0;animation:none}
@media(prefers-reduced-motion:reduce){.wallet-success-mark path{stroke-dashoffset:0;animation:none}}
.wallet-content .wallet-consent{margin:0}
.wallet-content .wallet-quote-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.wallet-content .wallet-quote-expiry{margin:0;gap:6px}
.wallet-content .wallet-quote-expiry strong{color:var(--text)}
@media(max-width:430px){
 .modal:has(.wallet-content) .modal-body{padding:16px}
 .wallet-content .wallet-deposit-order .wallet-deposit-layout{grid-template-columns:1fr}
 .wallet-content .wallet-deposit-order .wallet-qr{max-width:150px}
 .wallet-content .wallet-flow-steps li{font-size:11px}
}
.asset-gift-grid:has(.gift-tier-starship){grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
@container api-workspace (min-width:930px){
 .api-workspace .api-console{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
}
@container api-workspace (max-width:485px){
 .api-workspace .api-console>.panel{padding:14px}
 .api-workspace .api-account-cards,.api-workspace .api-account-cards.single .api-account-card{display:grid;grid-template-columns:minmax(0,1fr)}
 .api-workspace .api-account-cards.single header{margin:0 0 9px}
}
.copy-time-report{margin-top:12px;border-top:1px solid var(--border,#2c3f46)}
.copy-time-report summary{display:grid;grid-template-columns:1fr auto 16px;align-items:center;gap:12px;padding:10px 0;cursor:pointer;list-style:none}
.copy-time-report summary::-webkit-details-marker{display:none}
.copy-time-report summary svg{width:14px;height:14px}
.copy-time-report p{margin:0 0 8px;color:var(--muted,#a7b9bf)}
.follow-list-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap}
.follow-list-action{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.follow-list-action:hover,.follow-list-action:focus-visible{border-color:var(--muted)}
.follow-list-action svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;color:var(--muted)}
.follow-list-action .follow-list-count{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:5px;background:var(--line);color:var(--text);font-size:11px;font-variant-numeric:tabular-nums}
.follow-subscriptions-modal{max-width:730px}
.follow-subscription-list{display:grid;gap:8px}
.follow-subscription-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,104px);align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:10px}
.follow-subscription-row .follow-history-user{min-width:0}
.follow-subscription-row .follow-history-user strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.follow-subscription-row>.follow-state{justify-self:start;white-space:nowrap}
@media(max-width:620px){.follow-subscription-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.follow-subscription-row>.follow-state{grid-column:1}}
.subscription-payment-method { align-items:center; justify-content:flex-start; gap:10px; flex-wrap:wrap; }
.subscription-payment-method select { min-width:108px; }
.subscription-payment-method [data-subscribe-funding] { margin-inline-start:auto; }
/* Keep price secondary to the action and use the same currency marks across dialogs. */
.currency-mark{display:inline-flex;flex:none;vertical-align:middle;line-height:0}
.currency-mark>.currency-logo{width:1.2em;height:1.2em}
.subscription-project .subscription-monthly-price,#subscription-gift-use{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.subscription-price-before{color:var(--muted);font-weight:400}
.subscription-vip-discount{margin-inline:4px;color:#e7c37b;font-size:.82em}
.vip-benefits-grid>[data-vip-copy-discount][hidden]{display:none}
.sim-project-tags .project-monthly-tag{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.sim-project-tags .project-monthly-tag.is-paid{background:color-mix(in srgb,var(--amber) 9%,var(--bg));border-color:color-mix(in srgb,var(--amber) 38%,var(--line));color:var(--amber)}
.project-monthly-tag .currency-logo{width:12px;height:12px}
.sim-project .sim-card-actions [data-sim="account-follow"]{gap:5px;min-width:0}
.vip-benefits-price strong{display:inline-flex;align-items:center;gap:8px}
.vip-benefits-price .currency-mark>.currency-logo{width:23px;height:23px}
.subscription-gift-balance #copy-payment-balance{white-space:nowrap}
.project-settings{display:grid;gap:18px}
.project-settings-profile{display:flex;align-items:center;gap:12px}
.project-settings-profile strong{font-size:17px;color:var(--text,#eef2f2)}
.project-settings-profile div div{color:var(--muted,#9bb0ac);font-size:12px;margin-top:4px}
.project-settings-payment{border:1px solid #697e804d;border-radius:12px;padding:12px 14px}
.project-settings-payment h3{margin:0 0 4px;font-size:13px}
.project-settings-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;margin:0}
.project-settings-line+label{border-top:1px solid #697e8033}
.project-settings-line>span,.project-settings-line>strong{display:inline-flex;align-items:center;gap:6px}
.project-settings-switch{appearance:none;width:34px;height:20px;border:1px solid #607078;border-radius:999px;background:#36444a;cursor:pointer;position:relative;flex:none}
.project-settings-switch:checked{background:#c8e8a9;border-color:#c8e8a9}
.project-settings-switch::before{content:"";position:absolute;width:12px;height:12px;left:3px;top:3px;border-radius:50%;background:#edf2f4}
.project-settings-switch:checked::before{left:17px;background:#253421}
.project-settings-switch:focus-visible{outline:2px solid var(--accent,#c8e8a9);outline-offset:2px}

/* Copy analytics, project rewards and withdrawal confirmation */
.follow-overview,.project-revenue-detail,.wallet-withdraw-confirm {
 --summary-blue:#91caff;
 --summary-gold:#ffd18b;
 --summary-violet:#c5b6fa;
 --summary-mint:#8de3cb;
 --summary-rose:#ffabb4;
}
[data-theme="light"] :is(.follow-overview,.project-revenue-detail,.wallet-withdraw-confirm) {
 --summary-blue:#225f99;
 --summary-gold:#835a16;
 --summary-violet:#5f459b;
 --summary-mint:#146b51;
 --summary-rose:#a63448;
}
.follow-overview {
 padding:16px 18px;
 margin-bottom:16px;
 border:1px solid var(--line);
 border-radius:15px;
 background:color-mix(in srgb,var(--panel) 80%,var(--bg));
}
.follow-overview .follow-analysis-header {display:flex;align-items:center;gap:12px;margin:0 0 12px}
.follow-overview .follow-analysis-header .follow-leader-link {width:40px;height:40px;flex:0 0 40px}
.follow-overview-identity {min-width:0}
.follow-overview .follow-overview-identity h3 {font-size:1.15rem;overflow-wrap:anywhere}
.follow-overview .performance-follow-heading {justify-content:flex-start;gap:8px;margin:3px 0 0;font-size:.8rem}
.follow-overview .performance-follow-heading strong {color:var(--summary-blue);font-weight:650}
.follow-overview .follow-overview-counts {display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-inline-start:auto}
.follow-overview .follow-overview-counts>span {display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);white-space:nowrap;font-size:.8rem}
.follow-overview-counts b {margin-inline-start:3px;color:var(--text);font-variant-numeric:tabular-nums}
.follow-overview .follow-overview-counts .follow-open-count {background:color-mix(in srgb,var(--summary-gold) 9%,transparent);color:var(--summary-gold);border-color:color-mix(in srgb,var(--summary-gold) 24%,var(--line))}
.follow-open-count b {color:inherit}
.follow-overview .performance-kpis {
 grid-template-columns:minmax(160px,1.6fr) repeat(5,minmax(0,1fr));
 gap:0;
 margin:0;
 border:1px solid var(--line);
 border-radius:11px;
 background:var(--bg);
}
.follow-overview .performance-kpis>div {
 align-content:center;
 padding:10px 12px;
 border:0;
 border-radius:0;
}
.follow-overview .performance-kpis>div+div {border-inline-start:1px solid var(--line)}
.follow-overview .performance-kpis>div>span {color:var(--muted);font-size:.78rem}
.follow-overview .performance-kpis>div:first-child {background:color-mix(in srgb,var(--summary-mint) 8%,transparent);border-radius:10px 0 0 10px}
.follow-overview .performance-kpis>div:first-child strong {font-size:clamp(1.25rem,2.1vw,1.85rem);letter-spacing:-.035em;line-height:1.15}
.follow-overview .performance-kpis>div:nth-child(3) strong {color:var(--summary-blue)}
.follow-overview .performance-kpis>div:nth-child(4) strong {color:var(--summary-rose)}
.follow-overview .performance-kpis>div:nth-child(6) strong {color:var(--summary-violet)}
.follow-overview .follow-pnl-curve {margin-top:12px}
.follow-records .follow-cell-date {display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:4px;color:var(--muted);font-variant-numeric:tabular-nums}
.follow-cell-date time {display:inline-flex;gap:5px;align-items:center}
.follow-cell-date time b {font-weight:650;color:var(--text)}
.follow-cell-date .follow-time-period {padding:1px 4px;border-radius:4px;background:var(--subtle);font-size:.72rem;line-height:1.35;color:var(--muted)}

.project-revenue-detail .revenue-project-title {display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:1.12rem}
.revenue-project-title>span {display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:color-mix(in srgb,var(--summary-violet) 12%,transparent);color:var(--summary-violet)}
.revenue-project-title .icon {width:17px;height:17px}
.project-revenue-detail .project-revenue-stats {
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
 padding:0;
 margin:0 0 14px;
}
.project-revenue-detail .project-revenue-stats>div {
 min-width:0;
 padding:12px;
 border:1px solid var(--line);
 border-radius:10px;
 background:var(--bg);
}
.project-revenue-detail .project-revenue-stats>div:first-child strong {color:var(--summary-violet)}
.project-revenue-detail .project-revenue-stats>div:nth-child(2) strong {color:var(--summary-mint)}
.project-revenue-detail .project-revenue-stats>div:nth-child(3) strong {color:var(--summary-gold)}
.project-revenue-detail .project-revenue-stats>div:last-child strong {color:var(--summary-blue)}
.project-revenue-detail .project-revenue-stats em {color:var(--muted)}
.project-revenue-detail .table-wrap {border:1px solid var(--line);border-radius:11px}
.project-revenue-detail table {min-width:720px}
.project-revenue-detail th {white-space:nowrap}
.project-revenue-detail .revenue-term {display:flex;align-items:center;gap:9px;white-space:nowrap}
.project-revenue-detail .revenue-term i {display:grid;color:var(--summary-blue)}
.revenue-term .icon {width:14px;height:14px}
.revenue-time {display:inline-grid;gap:2px;font-variant-numeric:tabular-nums}
.revenue-time span {font-size:.78rem;color:var(--muted)}
.revenue-time b {font-size:.87rem;font-weight:650;color:var(--text)}
.project-revenue-detail .revenue-state {white-space:nowrap;border:1px solid transparent}
.project-revenue-detail .revenue-state:is(.pending,.released) {
 border-color:color-mix(in srgb,currentColor 24%,transparent);
 background:color-mix(in srgb,currentColor 7%,transparent);
}
.project-revenue-detail .revenue-state.pending {color:var(--summary-gold)}
.project-revenue-detail .revenue-state.released {color:var(--summary-mint)}

.modal:has(.wallet-content .wallet-withdraw-confirm) {width:100%;max-width:610px}
.wallet-content .wallet-withdraw-confirm {gap:12px}
.wallet-withdraw-overview {display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wallet-content .wallet-withdraw-overview .wallet-net-amount {
 align-content:center;
 justify-items:start;
 padding:15px;
 background:color-mix(in srgb,var(--summary-blue) 8%,var(--bg));
 border-color:color-mix(in srgb,var(--summary-blue) 28%,var(--line));
}
.wallet-content .wallet-withdraw-overview .wallet-net-amount>strong {color:var(--summary-blue);font-size:clamp(1.7rem,4vw,2.45rem);line-height:1.2;overflow-wrap:anywhere}
.wallet-withdraw-overview .wallet-net-amount .wallet-chain-tag {display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:3px 7px;border-radius:5px;background:color-mix(in srgb,var(--summary-blue) 10%,var(--bg));color:var(--summary-blue);font-size:.74rem}
.wallet-chain-tag .icon {width:13px;height:13px}
.wallet-withdraw-overview .wallet-receipt-values {margin:0;padding:10px 12px;align-content:center}
.wallet-withdraw-overview .wallet-receipt-values dd {font-variant-numeric:tabular-nums}
.wallet-content .wallet-withdraw-overview .wallet-receipt-values .wallet-fee-value {color:var(--summary-gold)}
.wallet-content .wallet-withdraw-overview .wallet-receipt-values .wallet-gold-value {color:var(--summary-violet)}
.wallet-confirm-destination {
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;
 padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--muted);
}
.wallet-confirm-destination code {color:var(--text);overflow-wrap:anywhere;font-size:.84rem}
.wallet-content .wallet-withdraw-confirm .wallet-fee-note {margin:0}
.wallet-withdraw-confirm .wallet-verification {display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:9px}
.wallet-verification .wallet-code-row {margin:0}
.wallet-withdraw-confirm .wallet-confirm-actions {display:flex;justify-content:flex-end;gap:8px}
.wallet-confirm-actions .wallet-full {width:auto;margin:0}
.wallet-content .wallet-withdraw-confirm .wallet-quote-footer {align-items:center;padding-top:6px;border-top:1px solid var(--line)}
.wallet-content .wallet-withdraw-confirm .wallet-quote-expiry strong {min-width:44px;padding:3px 6px;border-radius:5px;background:color-mix(in srgb,var(--summary-blue) 11%,var(--bg));color:var(--summary-blue);text-align:center;font-variant-numeric:tabular-nums}
.wallet-content .wallet-withdraw-confirm .wallet-quote-expiry strong.quote-expiring {background:color-mix(in srgb,var(--summary-gold) 12%,var(--bg));color:var(--summary-gold)}
@media (max-width:1000px) {
 .follow-overview .performance-kpis {grid-template-columns:repeat(3,minmax(0,1fr))}
 .follow-overview .performance-kpis>div:nth-child(4) {border-inline-start:0}
 .follow-overview .performance-kpis>div:nth-child(n+4) {border-top:1px solid var(--line)}
}
@media (max-width:550px) {
 .follow-overview {padding:10px}
 .follow-overview .follow-analysis-header {flex-wrap:wrap}
 .follow-overview .follow-overview-counts {margin-inline-start:0}
 .follow-overview .performance-kpis,.project-revenue-detail .project-revenue-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
 .follow-overview .performance-kpis>div:nth-child(4) {border-inline-start:1px solid var(--line)}
 .follow-overview .performance-kpis>div:nth-child(odd) {border-inline-start:0}
 .follow-overview .performance-kpis>div:nth-child(n+3) {border-top:1px solid var(--line)}
 .wallet-withdraw-overview {grid-template-columns:minmax(0,1fr)}
}

/* Shared workspace geometry must never depend on which page has data. */
.production-shell{--shell-sidebar:224px;--shell-header:70px;--shell-inline:32px;--shell-block:28px;height:100vh;height:100dvh;min-width:0}
body:has(.production-shell){overflow:hidden}
.production-shell>.sidebar{width:var(--shell-sidebar);min-width:var(--shell-sidebar);max-width:var(--shell-sidebar);flex:0 0 var(--shell-sidebar);min-height:0}
.production-shell>.workspace{flex:1;min-width:0;min-height:0;margin:0}
.production-shell>.workspace>.topbar{height:var(--shell-header);min-height:var(--shell-header);max-height:var(--shell-header);flex:0 0 var(--shell-header);padding:0 var(--shell-inline)}
.production-shell>.workspace>.main-content.production-content{width:100%;max-width:none;min-width:0;min-height:0;margin:0;padding:var(--shell-block) var(--shell-inline);overflow:auto;scrollbar-gutter:stable}
.production-shell .production-content>.page-heading{min-height:48px;margin:0 0 24px;align-items:center}
.production-shell .production-content>.page-heading h1{margin:0;line-height:1.25}
.production-shell .production-content>.sim-tabs{min-height:54px;margin-top:0;margin-bottom:22px;align-items:center}
@media(max-width:1250px){.production-shell{--shell-sidebar:192px;--shell-inline:24px;--shell-block:24px}}
@media(max-width:760px){.production-shell>.workspace>.workspace-header:has(#cuefleet-maintenance){height:auto;min-height:var(--shell-header);max-height:none;flex:0 0 auto;flex-wrap:wrap;padding-block:8px}.production-shell>.workspace>.workspace-header #cuefleet-maintenance{order:2;width:100%;max-width:none}}
@media(max-width:620px){
 .production-shell>.workspace>.workspace-header{height:auto;min-height:var(--shell-header);max-height:none;flex:0 0 auto;flex-wrap:wrap;padding-block:8px}
 .workspace-header .top-actions{min-width:0;max-width:100%;flex-wrap:wrap;margin-inline-start:auto;justify-content:flex-end}
 .workspace-header .header-utilities{height:auto;max-width:100%;flex-wrap:wrap;justify-content:flex-end}
}

.production-shell .sidebar>.connection-health{padding-top:14px}
.production-shell .sidebar .connection-health-row{min-height:38px;padding:8px 4px;column-gap:8px;border-radius:7px;grid-template-columns:18px minmax(0,1fr) auto}
.production-shell .sidebar .connection-health-wifi,.production-shell .sidebar .connection-health-account{width:18px;height:18px}
.production-shell .sidebar .connection-health-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis}
.production-shell .sidebar .connection-health-row>strong{font-size:12px;color:var(--muted)}
.production-shell .sidebar .connection-health-row>strong>span{font-size:11px;margin-left:2px}
.production-shell .sidebar .connection-health-row.good .connection-health-status{display:none}
.production-shell .sidebar .connection-health-row.good .connection-health-wifi,.production-shell .sidebar .connection-health-row.good .connection-health-account{grid-row:1}
.production-shell .sidebar .connection-health-status{font-size:12px;padding:2px 0;white-space:normal}
.sidebar-community{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.sidebar-community button{display:grid;place-items:center;height:36px;padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--panel);cursor:pointer;transition:background .15s,border-color .15s}
.sidebar-community button:hover{background:var(--subtle);border-color:var(--muted)}
.sidebar-community button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.sidebar-community svg{display:block;width:21px;height:21px}
.sim-cloud-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 22px;color:var(--green);font-size:14px}.sim-cloud-heading .icon{width:22px;height:22px}.sim-cloud-heading span{color:var(--muted)}.sim-cloud-transfer p{font-size:15px;line-height:1.65}

.promotion-share-button{flex:0 0 auto;margin-inline-start:auto}
.project-profile-favorite{display:flex;align-items:center;gap:8px}
.promotion-sheet,.performance-sheet{display:grid;gap:16px}
.performance-scope{margin:0;color:var(--muted,#aebdb8)}
.promotion-modal.modal{width:min(100%,520px);max-height:calc(100dvh - 44px)}
.promotion-modal .modal-body{padding:16px clamp(12px,4vw,24px)}
.promotion-modal .promotion-sheet,.promotion-panel{display:grid;gap:14px}
.promotion-panel[hidden],.promotion-preview [hidden]{display:none}
.promotion-preview{display:grid;place-items:center;min-height:132px}
.promotion-preview canvas{display:block;width:min(100%,366px,max(164px,calc((100dvh - 278px)*.625)));height:auto;border-radius:8px;box-shadow:0 12px 30px #050e1290}
.promotion-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;width:min(100%,366px);margin-inline:auto}
.promotion-actions .button{min-height:40px;min-width:0;padding:6px;gap:5px;white-space:normal;line-height:1.25}
.promotion-actions .button .icon{width:15px;height:15px}
.project-share-modal.modal{width:min(100%,464px)}
.project-share-modal .promotion-sheet{gap:16px}
.project-share-modal .promotion-preview canvas{width:100%;height:100%;object-fit:contain;border-radius:0;box-shadow:none}
.project-share-modal .promotion-preview{width:min(100%,368px,max(164px,calc((100dvh - 190px)*.625)));aspect-ratio:900 / 1440;margin-inline:auto;overflow:hidden;border-radius:8px;background:#101c23}
.project-share-modal .promotion-actions{width:min(100%,368px);grid-template-columns:1fr 1.2fr}
.project-share-modal .promotion-actions .button{min-height:44px;gap:8px}
.promotion-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,366px);margin-inline:auto;gap:4px}
.promotion-tabs button{min-height:35px;padding:4px 6px;color:var(--muted);border:1px solid transparent;font-weight:600}
.promotion-tabs button:hover{color:var(--text)}
.promotion-mode{margin-bottom:12px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.promotion-mode button{border-radius:7px}
.promotion-mode button[aria-pressed="true"]{background:var(--subtle);color:var(--text);border-color:var(--line)}
.promotion-subtabs{border-bottom:1px solid var(--line)}
.promotion-subtabs button{border-bottom:2px solid transparent}
.promotion-subtabs button[aria-pressed="true"]{border-bottom-color:var(--green);color:var(--text)}
.promotion-copy-value{width:min(100%,366px);margin-inline:auto;min-width:0}
.promotion-kpis,.performance-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.promotion-kpis>div,.performance-kpis>div{display:grid;gap:7px;padding:13px;border:1px solid var(--border,#33434a);border-radius:10px}
.promotion-kpis strong,.performance-kpis strong{font-size:1.18rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.promotion-records{padding:0;margin:0;list-style:none}
.promotion-records li{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:8px;padding:10px 0;border-bottom:1px solid var(--border,#33434a)}
.promotion-records li span:last-child{text-align:end}
.promotion-empty{margin:0;padding:12px 0;color:var(--muted,#aebdb8);text-align:center}
.performance-sheet header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.performance-scope{margin-bottom:12px}
.performance-follow-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0}
.performance-follow-heading span{color:var(--muted,#aebdb8)}
.performance-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.auth-referral{margin:4px 0 10px}
.auth-referral summary{cursor:pointer}
.auth-referral input{display:block;width:100%;margin-top:7px;padding:9px 12px}
@media(max-width:540px){.performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.promotion-agent-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.promotion-agent-kpis strong{overflow-wrap:anywhere}
.promotion-agent-link{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.promotion-agent-link>div:first-child{display:grid;gap:4px}
.promotion-agent-link>div:first-child span{color:var(--muted);font-size:.8rem}
.promotion-agent-link code{font-size:1.15rem;letter-spacing:.065em;font-weight:700;font-variant-numeric:tabular-nums}
.promotion-agent-actions{display:flex;gap:7px;flex-wrap:wrap}
.promotion-agent-form{display:grid;gap:14px}
.promotion-agent-form>label{display:grid;gap:7px}
.promotion-agent-form textarea{width:100%;resize:vertical}
.promotion-agent-form>button{justify-self:end}
.promotion-agent-image{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.promotion-agent-image img{width:80px;height:52px;object-fit:cover;border:1px solid var(--line);border-radius:8px}
.promotion-agent-feedback{margin:0;overflow-wrap:anywhere}

.production-shell .production-content > .ai-signal-heading {
  min-height: 40px;
  margin-bottom: 8px;
}
.ai-signal-heading .ai-signal-mode[hidden] { display: none; }
.production-shell .production-content > .ai-workspace-tabs {
  gap: 24px;
  min-height: 42px;
  margin-bottom: 16px;
}
.ai-workspace-tabs > button {
  min-height: 42px;
  padding: 8px 0;
  font-size: 14px;
}
.production-content > .ai-workspace-tabs > button.active {
  border-bottom-color: var(--green);
  color: var(--text);
  font-weight: 600;
}
/* Signal deployment */
#ai-signal-content { container-type: inline-size; }
#ai-signal-content .ai-signal-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 24px; }
#ai-signal-content .ai-signal-card {
  display: block;
  padding: 0;
  overflow: clip;
  border-radius: 12px;
}
.ai-signal-card .ai-signal-card-head { padding: 16px 20px; gap: 12px; }
.ai-signal-card .ai-signal-icon, .ai-signal-empty .ai-signal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--subtle);
}
.ai-signal-card .ai-signal-icon img { display: block; }
.ai-signal-card .ai-signal-card-title h2 { margin-bottom: 4px; font-size: 17px; font-weight: 600; }
.ai-signal-card .ai-signal-config { gap: 4px 12px; font-size: 12px; }
.ai-signal-card .ai-signal-config strong { color: var(--muted); font-weight: 500; }
.ai-signal-card-execution { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 8px 12px; }
.ai-signal-managed-mode {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-inline: 8px;
  border-radius: 5px;
  background: var(--subtle);
  color: var(--text);
  font-size: 12px;
}
.ai-signal-managed-mode.live { color: var(--amber); }
.ai-signal-card .ai-signal-state { gap: 8px; }
.ai-signal-controls, .ai-signal-telemetry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.ai-signal-control {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 16px 20px;
}
.ai-signal-control + .ai-signal-control { border-inline-start: 1px solid var(--line); }
.ai-signal-control-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ai-signal-control-title h3 { margin: 0; color: var(--text); font-size: 14px; font-weight: 600; }
.ai-signal-service-state { margin-inline-start: auto; }
.ai-signal-control-meta { display: grid; gap: 4px; min-width: 0; }
.ai-signal-endpoint {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-signal-controls .ai-signal-last { align-items: baseline; gap: 4px 8px; min-height: 24px; }
.ai-signal-controls .ai-signal-last strong { flex: 1; line-height: 1.5; }
.ai-signal-account-chips { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-height: 24px; }
.ai-signal-account-chips > span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ai-signal-account-chips > .ai-signal-account-name {
  padding-inline: 8px;
  border-radius: 4px;
  background: var(--subtle);
  color: var(--text);
}
.ai-signal-controls .ai-signal-card-actions { gap: 8px; align-self: end; margin-top: 4px; }
.ai-signal-controls .button { min-height: 36px; padding-inline: 12px; }
.ai-signal-telemetry {
  align-items: start;
  background: color-mix(in srgb, var(--bg) 28%, var(--panel));
}
.ai-signal-telemetry .ai-signal-metrics {
  border: 0;
  padding: 12px 20px;
}
.ai-signal-telemetry .ai-signal-metrics dd {
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
}
.ai-signal-telemetry .ai-signal-metrics .attention { color: var(--amber); }
.ai-signal-latency { min-width: 0; align-self: stretch; border-inline-start: 1px solid var(--line); }
.ai-signal-latency > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 60px;
  padding: 12px 20px;
  gap: 8px;
  list-style: none;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
}
.ai-signal-latency > summary::-webkit-details-marker { display: none; }
.ai-signal-latency > summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.ai-signal-latency > summary:hover { background: var(--subtle); }
.ai-signal-latency > summary > .icon { width: 16px; height: 16px; color: var(--muted); }
.ai-signal-latency > summary > .icon:last-child { grid-column: 4; }
.ai-signal-latency[open] > summary > .icon:last-child { transform: rotate(90deg); }
.ai-signal-latency > summary > strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.ai-signal-latency-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.ai-signal-latency table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 12px; }
.ai-signal-latency th, .ai-signal-latency td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: end;
  white-space: nowrap;
}
.ai-signal-latency th:first-child { padding-inline-start: 20px; text-align: start; }
.ai-signal-latency :is(th, td):last-child { padding-inline-end: 20px; }
.ai-signal-latency th { color: var(--muted); font-weight: 500; }
.ai-signal-latency tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ai-signal-latency-samples { padding: 8px 20px; color: var(--muted); font-size: 12px; }
#ai-signal-content .ai-signal-history { border-radius: 12px; }
.ai-signal-history > header { display: flex; align-items: center; gap: 8px; }
.ai-signal-history > header .icon { width: 16px; height: 16px; color: var(--muted); }
.ai-signal-history .ai-signal-no-runs { margin: 0; padding: 16px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.ai-signal-table td[data-state='unknown'] { color: var(--amber); }
.ai-signal-table td[data-state='confirmed'] { color: var(--green); }
.ai-signal-table td[data-state='rejected'] { color: var(--red); }
.ai-signal-table tbody tr:hover td { background: var(--subtle); }
#ai-signal-content .ai-signal-empty {
  min-height: 220px;
  align-items: start;
  gap: 12px;
  border-radius: 12px;
  text-align: start;
  padding: 28px;
}
.ai-signal-welcome {
  border-radius: 12px;
  padding: clamp(16px, 2.4cqi, 28px);
}
.ai-signal-welcome-header,
.ai-signal-welcome-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.ai-signal-welcome-header { align-items: start; }
.ai-signal-welcome h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.5cqi, 28px);
  font-weight: 650;
  line-height: 1.2;
  text-wrap: balance;
}
.ai-signal-welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.ai-signal-welcome-header p { margin-top: 7px; }
.ai-signal-welcome :is(header, footer) .button { min-height: 36px; }
.ai-signal-welcome-footer { margin-top: 16px; }
.ai-signal-flow {
  --flow-gap: clamp(18px, 3cqi, 36px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.ai-signal-flow-step {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(72px, 1fr) auto;
  gap: 10px;
  min-width: 0;
  padding: clamp(10px, 1.45cqi, 16px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 48%, var(--panel));
}
.ai-signal-flow-step > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; }
.ai-signal-flow-step h3 { font-size: 15px; font-weight: 650; margin: 0; }
.ai-signal-flow-step > header > span { color: var(--muted); font-size: 12px; }
.ai-signal-flow-step > p {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--muted);
  font-size: 12px;
}
.ai-signal-flow-step > p strong { color: var(--text); font-weight: 600; }
.ai-signal-flow-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-signal-flow-tools li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
  font-size: 12px;
  line-height: 1.2;
}
.ai-signal-flow-tools img { flex: 0 0 auto; object-fit: contain; }
.ai-signal-flow-tools li span { overflow-wrap: anywhere; }
.ai-signal-flow-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 5px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
}
.ai-signal-flow-route > span {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}
.ai-signal-flow-icon,
.ai-signal-flow-app {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.ai-signal-flow-icon svg { width: 24px; height: 24px; }
.ai-signal-flow-icon.folder {
  background: color-mix(in srgb, #72a9e6 23%, var(--panel));
  color: color-mix(in srgb, #72a9e6 45%, var(--text));
}
.ai-signal-flow-icon.signal {
  background: color-mix(in srgb, var(--positive) 19%, var(--panel));
  color: var(--positive);
}
.ai-signal-flow-icon.binance { background: #413722; color: #f0b90b; }
.ai-signal-flow-arrow,
.ai-signal-flow-route > .icon { color: var(--muted); }
.ai-signal-flow-arrow {
  position: absolute;
  inset-inline-start: calc(100% + var(--flow-gap) / 2);
  top: 50%;
  transform: translate(-50%, -50%);
}
.ai-signal-flow-arrow .icon, .ai-signal-flow-route > .icon { display: block; width: 15px; height: 15px; }
.ai-signal-flow-live {
  border-color: color-mix(in srgb, var(--positive) 35%, var(--line));
  background: color-mix(in srgb, var(--positive) 6%, var(--panel));
}
.ai-signal-flow-live h3 { color: var(--positive); }
.ai-signal-heading [data-ai-signal-toolbar] { flex-wrap: wrap; }
@container (max-width: 700px) {
  .ai-signal-flow { grid-template-columns: minmax(0, 1fr); }
  .ai-signal-flow-step { grid-template-rows: auto auto auto; }
  .ai-signal-flow-arrow {
    inset-inline-start: 50%;
    top: calc(100% + var(--flow-gap) / 2);
    transform: translate(-50%, -50%) rotate(90deg);
  }
}
@container (max-width: 400px) {
  .ai-signal-welcome :is(header, footer) > .button {
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding-block: 8px;
    line-height: 1.3;
    white-space: normal;
    text-wrap: balance;
  }
  .ai-signal-flow-tools { grid-template-columns: minmax(0, 1fr); }
  .ai-signal-flow-route { grid-template-columns: minmax(0, 1fr) 9px minmax(0, 1fr); gap: 2px; padding-inline: 2px; }
  .ai-signal-flow-route > .icon { width: 9px; }
}
.ai-signal-settings-name { display: flex; justify-content: space-between; align-items: start; gap: 8px 16px; }
.ai-signal-settings-name > strong { color: var(--text); overflow-wrap: anywhere; }
.ai-signal-settings-name > span { color: var(--muted); white-space: nowrap; }
.ai-signal-settings [hidden], .ai-signal-form [hidden] { display: none; }
@container (max-width: 600px) {
  .ai-signal-controls, .ai-signal-telemetry { grid-template-columns: minmax(0, 1fr); }
  .ai-signal-control + .ai-signal-control, .ai-signal-latency { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ai-signal-card .ai-signal-card-head, .ai-signal-control, .ai-signal-telemetry .ai-signal-metrics { padding-inline: 16px; }
  .ai-signal-latency > summary { min-height: 44px; padding-inline: 16px; }
  .ai-signal-card-execution { gap: 4px; }
}
/* End signal deployment */
.ai-signal-heading [data-ai-signal-toolbar][hidden] { display: none !important; }
.ai-signal-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ai-signal-coin { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 10px; background: var(--subtle); color: var(--positive); }
.ai-signal-coin.has-logo { border-radius: 50%; background: none; }
.ai-signal-coin img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ai-signal-coin > .icon { width: 20px; height: 20px; }
.ai-signal-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 308px), 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.ai-signal-project-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
}
.ai-signal-project-card:hover { border-color: color-mix(in srgb, var(--muted) 50%, var(--line)); }
.ai-signal-project-card-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.ai-signal-project-card-head h2 { margin: 0 0 4px; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.ai-signal-project-card-head p { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ai-signal-project-card-end { display: flex; align-items: center; gap: 4px; }
.ai-signal-project-card-end .ai-signal-project-link { width: 28px; height: 28px; border: 0; color: var(--muted); }
.ai-signal-project-card-end .ai-signal-project-link:hover { color: var(--text); background: var(--subtle); }
.ai-signal-project-card .ai-signal-project-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); padding-block: 12px; }
.ai-signal-project-card .ai-signal-metrics dd { font-size: 20px; font-weight: 600; }
.ai-signal-project-kpis dd { overflow-wrap: anywhere; }
.ai-signal-project-kpis dd small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.ai-signal-project-kpis .gain { color: var(--positive); }
.ai-signal-project-kpis .loss { color: var(--red); }
.ai-signal-project-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 24px; }
.ai-signal-project-card-foot strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.ai-signal-project-card-foot .ai-signal-service-state { margin-inline-start: auto; }
.ai-signal-project-card-foot .ai-signal-service-state .icon { width: 14px; height: 14px; }
.ai-signal-project-accounts { display: inline-flex; min-width: 0; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ai-signal-project-accounts .icon { width: 12px; height: 12px; flex: none; }
.ai-signal-project-attention { display: inline-flex; gap: 4px; align-items: center; color: var(--amber); font-size: 12px; }
.ai-signal-project-attention .icon { width: 12px; height: 12px; }
.ai-signal-project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ai-signal-project-actions .button { min-height: 34px; padding-inline: 8px; white-space: nowrap; }
.ai-signal-project-actions .button .icon { width: 14px; height: 14px; }
.ai-signal-project-actions .button:focus-visible { outline: 2px solid var(--positive); outline-offset: 2px; }
.ai-signal-project-top { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-block: 4px 16px; }
.ai-signal-project-top h2 { margin: 8px 0 4px; font-size: clamp(20px, 3cqi, 26px); overflow-wrap: anywhere; }
.ai-signal-project-top h2[tabindex='-1']:focus { outline: none; }
.ai-signal-project-top p { margin: 0; color: var(--muted); font-size: 13px; }
.ai-signal-project-top .button { min-height: 32px; }
.ai-signal-project-top .button.ghost { padding-inline: 0 8px; color: var(--muted); }
.ai-signal-project-top .button.ghost .icon { transform: rotate(180deg); }
.ai-signal-records-identity { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ai-signal-records-identity h2 { margin-top: 0; }
.ai-signal-project-records > header { justify-content: space-between; }
.ai-signal-project-records [aria-disabled='true'] { opacity: .58; cursor: wait; }
.ai-signal-record-feedback { margin: 0; padding: 12px 16px; color: var(--muted); font-size: 13px; }
.ai-signal-record-feedback[role='alert'] { color: var(--red); }
.ai-signal-project-records > footer { display: flex; justify-content: center; padding: 12px; border-top: 1px solid var(--line); }
.ai-signal-records-table table { min-width: 754px; }
.ai-signal-records-table :is(td,th) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ai-signal-records-table :is(td,th):is(:nth-child(5),:nth-child(7),:nth-child(8)) { text-align: end; }
.ai-signal-records-table tbody th { border-top: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.ai-signal-records-table tbody small { margin-inline-start: 3px; color: var(--muted); }
.ai-signal-records-table tbody tr { cursor: pointer; }
.ai-signal-records-table tbody tr:is(:hover,:focus-within) :is(th,td) { background: var(--subtle); }
.ai-signal-records-table td:nth-child(4) { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.ai-signal-records-table td[data-result='win'] { color: var(--positive); }
.ai-signal-records-table td[data-result='loss'] { color: var(--red); }
.ai-signal-records-table .button { min-height: 30px; }
.ai-signal-record-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ai-signal-record-panel { min-width: 0; padding: 16px; border-radius: 12px; }
.ai-signal-record-panel h3 { margin: 0 0 12px; font-size: 15px; }
.ai-signal-record-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.ai-signal-record-panel dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ai-signal-record-panel dl > div { min-width: 0; }
.ai-signal-record-panel dt { color: var(--muted); font-size: 12px; }
.ai-signal-record-panel dd { margin: 4px 0 0; color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ai-signal-outcome-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai-signal-outcome-head > div { flex: 1; min-width: 100px; }
.ai-signal-outcome-head h3 { margin: 0 0 4px; font-size: 16px; }
.ai-signal-outcome-head h3 span { color: var(--muted); font-size: 12px; }
.ai-signal-outcome-head p { overflow-wrap: anywhere; font-size: 12px; }
.ai-signal-record-result { display: inline-flex; min-height: 28px; align-items: center; gap: 4px; padding-inline: 8px; border-radius: 6px; background: var(--subtle); color: var(--muted); font-size: 12px; }
.ai-signal-record-result .icon { width: 14px; height: 14px; }
.ai-signal-record-result[data-result='win'], .ai-signal-record-result[data-state='confirmed'] { color: var(--positive); }
.ai-signal-record-result[data-result='loss'], .ai-signal-record-result[data-state='rejected'] { color: var(--red); }
.ai-signal-record-result:is([data-state='unknown'],[data-state='unresolved']) { color: var(--amber); }
.ai-signal-record-price { --price-move: var(--muted); margin: 16px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.ai-signal-record-price[data-price-move='up'] { --price-move: var(--positive); }
.ai-signal-record-price[data-price-move='down'] { --price-move: var(--red); }
.ai-signal-record-price figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.ai-signal-price-change strong { color: var(--price-move); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ai-signal-price-track { position: relative; height: 72px; margin: 8px 4px 4px; color: var(--price-move); }
.ai-signal-price-track::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 23px, var(--line) 23px 24px); }
.ai-signal-price-track::after { content: ''; position: absolute; inset: 12px 0; background: linear-gradient(to right,currentColor,currentColor) center / 100% 1px no-repeat; }
[data-price-move='up'] .ai-signal-price-track::after { background: linear-gradient(to bottom right, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)); }
[data-price-move='down'] .ai-signal-price-track::after { background: linear-gradient(to top right, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)); }
.ai-signal-price-track i { position: absolute; z-index: 1; width: 8px; height: 8px; inset-block-start: calc(50% - 4px); border: 2px solid currentColor; border-radius: 50%; background: var(--bg); }
.ai-signal-price-track i:first-child { inset-inline-start: -4px; }
.ai-signal-price-track i:last-child { inset-inline-end: -4px; }
[data-price-move='up'] .ai-signal-price-track i:first-child, [data-price-move='down'] .ai-signal-price-track i:last-child { inset-block-start: auto; inset-block-end: 8px; }
[data-price-move='up'] .ai-signal-price-track i:last-child, [data-price-move='down'] .ai-signal-price-track i:first-child { inset-block-start: 8px; }
.ai-signal-price-points { margin-top: 8px !important; }
.ai-signal-price-points > div:last-child { text-align: end; }
.ai-signal-record-panel .ai-signal-price-points dd { font-size: clamp(15px, 2cqi, 21px); font-weight: 600; }
.ai-signal-record-panel :is(.ai-signal-record-facts,.ai-signal-record-timing) { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ai-signal-record-technical { grid-column: 1 / -1; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) { padding-block: 0; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) > summary { display: flex; min-height: 44px; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; font-size: 13px; list-style: none; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) > summary::-webkit-details-marker { display: none; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) > summary .icon { width: 16px; height: 16px; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) > summary .icon:last-child { margin-inline-start: auto; }
:is(.ai-signal-record-technical,.ai-signal-diagnostics)[open] > summary .icon:last-child { transform: rotate(90deg); }
:is(.ai-signal-record-technical,.ai-signal-diagnostics) > summary:focus-visible { outline: 2px solid var(--positive); outline-offset: 2px; }
.ai-signal-record-technical > dl { grid-template-columns: repeat(auto-fit, minmax(min(146px, 100%), 1fr)); padding-block: 12px 16px; border-top: 1px solid var(--line); }
.ai-signal-diagnostic-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.ai-signal-diagnostic-controls > div { display: flex; gap: 4px; }
.ai-signal-diagnostic-last { color: var(--muted); font-size: 12px; }
.ai-signal-diagnostic-last strong { color: var(--text); }
.ai-signal-diagnostics .ai-signal-latency { border: 0; border-top: 1px solid var(--line); }
.ai-signal-diagnostics .ai-signal-latency > summary { padding-inline: 0; }
.ai-signal-revision { color: var(--muted); font-size: 12px; }
.ai-signal-record-timeline { display: grid; margin: 0; padding: 0; list-style: none; }
.ai-signal-record-timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; font-size: 12px; }
.ai-signal-record-timeline li:not(:last-child)::after { content: ''; position: absolute; inset-block-start: calc(50% + 14px); inset-block-end: -4px; inset-inline-start: 13px; border-inline-start: 1px solid var(--line); }
.ai-signal-timeline-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--muted); }
.ai-signal-timeline-icon .icon { width: 14px; height: 14px; }
.ai-signal-record-timeline li:is([data-state='closed'],[data-state='confirmed']) .ai-signal-timeline-icon { color: var(--positive); }
.ai-signal-record-timeline li:is([data-state='unresolved'],[data-state='unknown']) .ai-signal-timeline-icon { color: var(--amber); }
.ai-signal-record-timeline time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ai-signal-import { display: grid; justify-items: center; gap: 12px; padding-block: 12px; text-align: center; }
.ai-signal-import .ai-signal-icon { width: 44px; height: 44px; }
.ai-signal-import p { margin: 0; color: var(--muted); }
.ai-signal-import-result { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.ai-signal-import-result header { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 16px; }
.ai-signal-import-result header strong { overflow-wrap: anywhere; }
.ai-signal-import-check { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: 50%; background: var(--subtle); color: var(--positive); }
.ai-signal-import-check .icon { width: 14px; height: 14px; }
.ai-signal-import-result ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.ai-signal-import-result li { display: flex; min-height: 32px; align-items: center; gap: 4px; padding-inline: 4px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.ai-signal-import-result .ai-signal-coin { width: 20px; height: 20px; }
.ai-signal-import-version { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.ai-signal-import-version summary { cursor: pointer; }
.ai-signal-import-version code { display: block; padding-top: 4px; }
@container (max-width: 592px) {
  .ai-signal-record-detail { grid-template-columns: minmax(0, 1fr); }
}
.ai-signal-source-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 308px),1fr)); align-items: stretch; }
.ai-signal-source-grid:has(.ai-signal-source-card:only-child) { grid-template-columns: minmax(0,440px); }
.ai-signal-source-card { grid-template-rows: auto 1fr auto; cursor: default; }
.ai-signal-source-meta { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 4px 8px; min-height: 28px; color: var(--muted); font-size: 12px; }
.ai-signal-source-meta code { min-width: 0; max-width: 100%; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.ai-signal-source-card .ai-signal-project-actions { justify-content: flex-start; padding-top: 8px; border-top: 1px solid var(--line); }
.ai-signal-source-card .ai-signal-project-actions .ghost { margin-inline-start: auto; }
.ai-signal-source-health { display: inline-flex; flex: none; align-items: center; gap: 4px; min-height: 24px; padding: 2px 8px; border-radius: 6px; color: var(--muted); background: var(--subtle); font-size: 12px; font-weight: 550; line-height: 1.35; white-space: nowrap; }
.ai-signal-source-health i { width: 5px; height: 5px; flex: none; border-radius: 50%; background: currentColor; }
.ai-signal-source-health[data-source-health='healthy'] { color: var(--positive); background: color-mix(in srgb,var(--positive) 10%,var(--panel)); }
.ai-signal-source-health[data-source-health='degraded'] { color: var(--amber); background: color-mix(in srgb,var(--amber) 10%,var(--panel)); }
.ai-signal-source-health[data-source-health='checking'] { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.ai-signal-source-events { padding-block: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.ai-signal-source-events summary { cursor: pointer; }
.ai-signal-source-events ol { list-style: none; margin: 8px 0 0; padding: 0; }
.ai-signal-source-events li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-block: 4px; }
.ai-signal-source-events li strong { color: var(--text); margin-inline-end: 8px; }
#local-follow-content { container-type: inline-size; }
.local-follow-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.local-follow-toolbar .local-follow-modes { gap: 24px; margin: 0; border: 0; }
.local-follow-modes button { min-height: 40px; padding: 4px 0; }
.local-follow-card .sim-avatar { display: grid; place-items: center; overflow: hidden; }
.local-follow-card .ai-signal-coin { width: 36px; height: 36px; }
.local-follow-card .follow-project-tags { flex-wrap: wrap; }
.local-follow-card-symbol { color: var(--muted); }
.local-follow-card .follow-card-pnl dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.local-follow-card-setup { display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: start; min-height: 24px; gap: 4px 8px; }
.local-follow-card-setup > span { line-height: 24px; }
.local-follow-card-setup .copy-bound-accounts { justify-content: flex-end; }
.local-follow-card-source { display: grid; grid-template-columns: 14px minmax(0,1fr) auto; justify-content: flex-start; min-height: 24px; gap: 4px; }
.local-follow-card-source > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.local-follow-card-source .icon { width: 14px; height: 14px; flex: none; }
.local-follow-card .local-follow-card-actions { min-height: 34px; }
@container (max-width: 332px) {
  .local-follow-card-setup { grid-template-columns: minmax(0,1fr); }
  .local-follow-card-setup .copy-bound-accounts { justify-content: flex-start; }
}
.local-follow-form [hidden] { display: none; }
.local-follow-project .follow-overview .sim-avatar { display: grid; flex: none; place-items: center; }
.local-follow-chart { margin-top: 12px; --project-gain: var(--positive); --project-loss: var(--red); }
.local-follow-chart-controls { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.local-follow-chart .sim-chart-stack { padding: 12px 8px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.local-follow-chart .sim-chart-pane:not(:first-child) { border-color: var(--line); }
.local-follow-chart .sim-chart-pane h4 { color: var(--muted); }
.local-follow-chart .sim-chart-pane svg { display: block; width: 100%; }
.local-follow-chart .sim-chart-pane.pnl svg { height: 148px; }
.local-follow-chart .sim-chart-pane.daily svg { height: 86px; }
.local-follow-chart .sim-chart-pane.monthly svg { height: 102px; }
.follow-pnl-curve-empty { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 88px; margin: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; }
.follow-pnl-curve-empty .icon { width: 16px; height: 16px; }
.local-follow-project .follow-records th.follow-source-heading { min-width: 96px; }
.local-follow-project .local-follow-col-stake { width: 104px; }
.local-follow-project .follow-records :is(td,th):nth-child(6) { text-align: end; }
.local-follow-project .follow-records tbody tr { cursor: pointer; }

.copy-online{--copy-flow-accent:var(--green,#b8d4a0);margin:20px 0 24px;padding:24px;border:1px solid var(--line,#303b3c);border-radius:16px;background:var(--panel,#171e22);color:var(--text,#e8efea);container-type:inline-size}
.copy-online .copy-online-title{margin:0 0 20px;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:0}
.copy-online .copy-online-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;list-style:none;margin:0;padding:0}
.copy-online .copy-online-step{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;padding:8px 12px 12px;text-align:center}
.copy-online .copy-online-step strong{font-size:15px;font-weight:500;line-height:1.5}
.copy-online .copy-online-art{display:block;width:120px;height:88px;max-width:100%;flex-shrink:0}
.copy-online .copy-online-device{border-radius:12px;background:color-mix(in srgb,var(--copy-flow-accent) 8%,transparent)}
.copy-online .copy-online-required{font-size:14px;line-height:1.5;color:var(--copy-flow-accent);font-weight:600}
.copy-online .copy-online-arrow{position:absolute;right:-28px;top:44px;width:24px;height:24px;color:var(--muted,#9daaa7)}
.copy-online .copy-online-note{font-size:14px;line-height:1.7;margin:16px 0 0;color:var(--muted,#9daaa7)}
.copy-online-compact{padding:16px;margin:0 0 20px}
.copy-online-compact .copy-online-title{font-size:16px;margin-bottom:12px}
.copy-online-compact .copy-online-steps{gap:24px}
.copy-online-compact .copy-online-step{padding:8px 4px;gap:4px}
.copy-online-compact .copy-online-art{width:88px;height:64px}
.copy-online-compact .copy-online-step strong{font-size:14px}
.copy-online-compact .copy-online-arrow{right:-24px;top:32px}
.copy-online-compact .copy-online-note{margin-top:12px}
@container(max-width:560px){
 .copy-online .copy-online-steps{gap:16px}
 .copy-online .copy-online-step{padding:8px 0;gap:4px}
 .copy-online .copy-online-art{width:80px;height:64px}
 .copy-online .copy-online-step strong{font-size:14px}
 .copy-online .copy-online-arrow{right:-18px;top:32px;width:20px}
}
@container(max-width:380px){
 .copy-online .copy-online-steps{grid-template-columns:1fr;gap:20px}
 .copy-online .copy-online-step{display:grid;grid-template-columns:76px 1fr;gap:0 16px;align-items:center;justify-content:start;padding:8px 12px;text-align:left}
 .copy-online .copy-online-art{grid-column:1;grid-row:1/3;width:76px;height:60px}
 .copy-online .copy-online-step strong{grid-column:2;grid-row:1/3;font-size:15px}
 .copy-online .copy-online-device strong{grid-row:1;align-self:end}
 .copy-online .copy-online-required{grid-column:2;grid-row:2;align-self:start}
 .copy-online .copy-online-arrow{right:auto;left:40px;top:auto;bottom:-24px;transform:rotate(90deg)}
}

.copy-bound-accounts .copy-account-chip[data-tone="online"],.project-owner-toolbar .copy-account-chip[data-tone="online"]{color:#79dfb4;border-color:#42785f;background:#213831}
.copy-bound-accounts .copy-account-chip[data-tone="low"],.project-owner-toolbar .copy-account-chip[data-tone="low"]{color:#f0c77b;border-color:#886d3f;background:#3b3224}
.project-settings-line select{max-width:65%;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text)}
.project-settings [data-lead-settings-empty]{margin:10px 0 2px;color:var(--muted);font-size:13px}
.project-settings [data-lead-settings-count]{font-variant-numeric:tabular-nums;color:var(--muted)}
.project-profile .project-owner-controls{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.project-owner-controls .project-owner-state,.project-owner-controls .project-owner-actions{display:flex;align-items:center;gap:8px}
.project-owner-controls .project-owner-state{gap:4px}
.project-owner-controls .project-owner-actions .button{min-height:36px;padding:0 10px;border-radius:8px;white-space:nowrap;font-size:12px;font-weight:600}
.project-owner-controls .project-owner-actions .button .icon{width:14px;height:14px}
.project-owner-controls .lead-detail-settings{background:#d0e9bf;color:#172519;border:1px solid #d0e9bf}
.project-owner-controls .lead-detail-settings:hover{background:#def2d3;color:#172519}
.project-owner-controls .lead-pause-action{background:transparent;border:1px solid #84939852;color:var(--text,#eef2f2)}
.project-owner-controls .lead-pause-action[data-copy-action="project-resume"]{color:#a5e4be}
.project-owner-controls .lead-detail-close{background:transparent;border:1px solid transparent;color:#e4a4a4}
.project-owner-controls .lead-detail-close:hover{background:#b76a6a1a;border-color:#b76a6a38;color:#f2b9b9}
.project-owner-controls .project-owner-actions .button:focus-visible{outline:2px solid var(--accent,#c8e8a9);outline-offset:2px}
@media(max-width:900px){.project-profile .project-owner-controls{flex-direction:column;align-items:flex-end;gap:4px}}
@media(max-width:620px){.project-profile .project-owner-controls{width:100%;align-items:flex-start}.project-owner-controls .project-owner-actions{flex-wrap:wrap}}

.lead-qualification-exit{color:var(--muted,#a7b3b7)}
.lead-qualification-exit:hover,.lead-qualification-exit:focus-visible{color:#e4a4a4;background:#b76a6a1a}
.lead-qualification-icon{display:block;flex:none}
.lead-close-identity>.lead-qualification-icon{width:26px;height:26px;color:#e4a4a4}
.lead-close-warning p{margin:0 0 12px;line-height:1.6;color:var(--text,#eef2f2)}
.lead-close-warning ul{list-style:none;margin:0;padding:0;border:1px solid #84939838;border-radius:8px}
.lead-close-warning li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px}
.lead-close-warning li+li{border-top:1px solid #84939826}
.lead-close-warning li strong{overflow-wrap:anywhere}
.lead-close-warning li .button{flex:none;min-height:32px}

.support-case-closeout{border-top:1px solid var(--line);padding:10px 0;margin-top:14px;color:var(--muted);font-size:.82rem}
.support-case-rating{display:grid;gap:5px;margin-top:6px}
.support-case-rating textarea{resize:vertical;min-height:42px}
.support-case-rating [data-case-feedback]:not([hidden]){display:grid;gap:7px}
.support-case-rating [data-case-feedback]>.button{justify-self:end}
.support-case-rating .support-stars .selected{color:#e6bd68}

.linux-login-overlay{padding:16px}
.linux-login-overlay>.modal{max-width:1020px;max-height:calc(100dvh - 32px)}
.linux-login-overlay>.modal>header{padding:14px 24px}
.linux-login-overlay>.modal>.modal-body{padding:16px 24px 20px;min-height:0}
.linux-login-overlay>.modal>#modal-error:empty{display:none}
.linux-binance-view{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.connection-target{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:13px;min-width:0;white-space:nowrap}
.connection-target .icon{flex:none}
.connection-target strong,.connection-target span{overflow:hidden;text-overflow:ellipsis}
.connection-target strong{color:var(--text);flex-shrink:1}
.connection-target span{margin-left:auto}
.linux-binance-view .connection-target{margin-bottom:0}
.modal .modal-body>.connection-sync-note{font-size:13px;margin:14px 0 0;line-height:1.5;color:var(--muted)}
.connection-sync-note+.connection-consent{margin-top:10px}
.linux-binance-frame{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);min-height:160px;display:grid;grid-template-columns:minmax(0,1fr);place-items:center}
.linux-binance-frame img{grid-area:1/1;display:block;width:auto;height:auto;max-width:100%;max-height:max(140px,calc(100dvh - 195px));cursor:pointer;touch-action:none}
.linux-binance-view [hidden]{display:none!important}
.linux-binance-wait{grid-area:1/1;z-index:1;display:flex;align-items:center;gap:10px;color:var(--text);padding:20px;border-radius:10px;background:var(--panel)}
.linux-binance-spinner{inline-size:15px;block-size:15px;border:2px solid var(--line);border-top-color:#f0b90b;border-radius:50%;animation:linux-login-spin .75s linear infinite}
@keyframes linux-login-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.linux-binance-spinner{animation:none}}
.linux-binance-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.linux-binance-actions input{width:100%;min-width:0;font-size:16px}
.linux-binance-notice{margin:0;color:var(--muted);font-size:13px}
.linux-binance-access p{line-height:1.5}
@media(max-width:540px){.linux-login-overlay{padding:10px}.linux-login-overlay>.modal{max-height:calc(100dvh - 20px)}.linux-login-overlay>.modal>header,.linux-login-overlay>.modal>.modal-body{padding:14px}.linux-binance-actions{grid-template-columns:minmax(0,1fr)}.linux-binance-actions button{justify-self:end}}

/* Project overview: three aligned charts, with natural vertical reading space. */
.modal-overlay:has(.project-overview){padding:16px}
.modal:has(.project-overview){width:min(1760px,100%);max-width:1760px;max-height:none;height:calc(100dvh - 32px);padding-bottom:8px;overflow:hidden;background:var(--panel)}
.modal:has(.project-overview)>header{height:48px;min-height:48px;flex:none;padding:0 20px;gap:12px;background:var(--panel);border-color:var(--line)}
.modal:has(.project-overview)>header #modal-title{font-size:14px;flex:1;padding-left:16px;border-left:1px solid var(--line)}
.modal:has(.project-overview)>header .icon-button{width:32px;height:32px}
.modal:has(.project-overview)>.modal-body{flex:1;min-height:0;min-width:0;margin-right:6px;padding:0;max-height:none;display:block;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;scroll-padding-bottom:20px}
.modal:has(.project-overview)>.error:empty{display:none}
.sim-ranking-periods{align-items:center}
.sim-ranking-periods>span{display:flex;align-items:center;padding:0 4px 0 6px;color:var(--muted)}
.sim-ranking-periods>span>.icon{width:15px;height:15px}
.sim-ranking-periods>.action-spinner{width:13px;height:13px;margin-inline:4px}
.sim-ranking-periods>.action-spinner[hidden]{display:none!important}
.project-detail-brand{display:flex;align-items:center;flex:none}
.project-detail-brand img{display:block;width:104px;height:24px;object-fit:contain}
.project-detail-brand .project-brand-light{display:none}
[data-theme="light"] .project-detail-brand .project-brand-dark{display:none}
[data-theme="light"] .project-detail-brand .project-brand-light{display:block}
.modal-overlay:has(.modal.is-project-expanded){padding:8px}
.modal.is-project-expanded:has(.project-overview){width:100%;height:calc(100dvh - 16px);max-width:none}
.project-detail.project-overview{--project-surface:var(--panel);--project-plot:#141d23;--project-rule:#303d44;--project-frame:#303d44;--project-text:var(--text);--project-muted:#9cabb2;--project-gain:#8cd9c2;--project-loss:#d9909d;--project-grid:#33454c;--project-zero:#667c83;height:auto;min-height:0;padding:16px 24px 12px;display:grid;grid-template-rows:auto 94px 48px 534px 40px;align-content:start;gap:0;font-variant-numeric:tabular-nums}
#copy-lead-detail>.project-overview{height:auto;max-height:none;min-height:0}
.project-overview [hidden]{display:none!important}
.project-overview>.project-profile{padding:0 0 12px;border:0;border-radius:0;background:none!important;overflow:visible;position:relative;margin:0;min-height:96px}
.project-overview>.project-profile:before{display:none}
.project-overview .sim-detail-header{align-items:center;gap:20px}
.project-overview .sim-detail-identity{gap:16px;flex:1;align-items:flex-start;min-width:0}
.project-overview .sim-detail-identity>.sim-avatar{height:56px!important;width:56px!important;border:1px solid #49645e;box-shadow:none;flex:none;margin-top:2px}
.project-overview .project-overview-identity{min-width:0;flex:1}
.project-overview .project-overview-identity h3{font-size:24px;line-height:1.2;letter-spacing:0;margin:0 0 8px!important;gap:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-signal-status{display:inline-flex;align-items:center;color:var(--project-muted);flex:none}
.project-signal-status.is-online{color:var(--project-gain)}
.project-signal-status .icon{width:18px;height:18px}
.project-overview .project-identity-secondary{gap:8px;min-height:28px;align-items:center}
.project-overview .sim-project-tags{gap:6px!important;margin:0!important;align-items:center;flex-wrap:wrap}
.project-overview :is(.sim-strategy-tag,.sim-grade){height:24px;line-height:1;display:inline-flex;align-items:center;padding:0 6px;font-size:12px;border-radius:4px}
.project-overview .project-monthly-tag{background:none;border:0;border-left:1px solid var(--project-rule);border-radius:0;margin-left:4px;padding-left:10px;height:28px;font-size:12px;color:var(--project-text)}
.project-overview .project-monthly-tag .currency-mark{height:18px;width:18px}
.project-follower-profit{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:4px 8px;border:1px solid #36574c;border-radius:6px;background:#20372f;color:#bcd1c8;white-space:nowrap;flex:none}
.project-follower-profit>strong{font-size:14px;font-weight:600;color:var(--project-text)}
.project-follower-profit.positive>strong{color:var(--project-gain)}
.project-follower-profit.negative>strong{color:var(--project-loss)}
.project-follower-profit>span:not(.project-profit-symbol){font-size:12px;color:#aac0b6}
.project-profit-symbol{display:flex;align-items:center;gap:3px}
.project-follower-profit .icon{height:16px;width:16px;color:#a7c8bb}
.project-profit-symbol .icon:last-child{height:14px;width:14px}
.project-follower-profit>.icon:last-child{height:11px;width:11px}
.project-overview-meta{display:flex;gap:16px;align-items:center;min-height:20px;margin-top:8px;font-size:12px;color:var(--project-muted)}
.project-overview-meta>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.project-overview-meta b{font-weight:500;color:var(--project-text)}
.project-overview-meta .icon{width:16px;height:16px}
.project-overview-meta>.project-overview-info{height:24px;width:24px;padding:3px;margin-left:-4px}
.project-overview .project-more-info{position:absolute;z-index:8;width:320px;max-width:100%;padding:16px;background:var(--project-surface);border:1px solid var(--project-rule);border-radius:9px;box-shadow:0 12px 28px #0004;margin:0;display:grid;gap:12px}
.project-overview .project-more-info>div{display:flex;justify-content:space-between;gap:20px;min-width:0;font-size:12px}
.project-overview .project-more-info dt{color:var(--project-muted)}
.project-overview .project-more-info dd{margin:0}
.project-overview .project-more-info>.project-info-description{display:block;line-height:1.6}
.project-info-description dd{padding-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}
.project-overview-actions{display:flex;align-items:center;gap:12px;padding-top:6px;flex:none}
.project-overview .project-profile-favorite{display:flex;gap:2px;align-items:center}
.project-overview .project-profile-favorite .follow-favorite{height:32px;min-width:32px;min-height:32px;width:32px;padding:7px;background:none;border-color:transparent}
.project-overview .project-profile-favorite .follow-favorite>span{display:none}
.project-overview .project-profile-favorite .follow-favorite>svg{height:17px;width:17px}
.project-overview .project-follow-actions{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0}
.project-overview .project-follow-actions .button{min-height:37px;padding:8px 16px;font-size:12px;border-radius:7px}
.project-overview .project-owner-controls{padding-top:6px;gap:12px}
.project-overview .project-owner-toolbar{margin-top:12px;padding-top:12px}
.project-overview-metrics{display:grid;grid-template-columns:1.75fr 6fr;align-items:center;border-bottom:1px solid var(--project-rule);padding:12px 0;min-width:0}
.project-overview-pnl>span{display:block;font-size:12px;color:var(--project-muted)}
.project-overview-pnl small{font-size:12px;margin-left:3px}
.project-overview-pnl>strong{display:block;font-size:34px;line-height:1;font-weight:600;margin-top:7px;white-space:nowrap;letter-spacing:-.5px}
.project-overview .project-overview-metrics>.sim-detail-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border:0;margin:0;padding:0}
.project-overview .project-overview-metrics>.sim-detail-stats>div{padding:0 18px;border-left:1px solid var(--project-rule);gap:7px}
.project-overview .project-overview-metrics>.sim-detail-stats span{font-size:12px;color:var(--project-muted)}
.project-overview .project-overview-metrics>.sim-detail-stats strong{font-size:24px;letter-spacing:0}
.project-overview .sim-detail-stats em{font-size:12px;margin-left:4px;color:var(--project-muted)}
.project-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.project-overview-tabs{display:flex;align-self:stretch;gap:24px;min-width:0}
.project-overview-tabs>button{padding:8px 1px 5px;border-bottom:2px solid transparent;color:var(--project-muted);font-size:13px;white-space:nowrap}
.project-overview-tabs>button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.project-overview .sim-detail-periods{border-radius:6px;padding:2px}
.project-overview .sim-detail-periods>button{padding:4px 11px;border-radius:4px;font-size:12px}
.project-overview-content{display:grid;grid-template-columns:minmax(0,1fr) 312px;height:534px;min-height:0;min-width:0;gap:16px;padding-top:4px}
.project-overview-charts{height:530px;min-height:0;min-width:0;border:1px solid var(--project-rule);border-radius:10px;background:var(--project-plot)}
.project-overview .project-overview-charts>.sim-chart-stack{height:528px;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:212px 150px 150px;gap:8px;padding:0;border:0;border-radius:0;background:none}
.project-overview .sim-chart-stack>.sim-chart-pane{padding:12px 14px 8px;border:0;border-radius:0;min-height:0;min-width:0;background:none;display:flex;flex-direction:column;overflow:hidden}
.project-overview .sim-chart-stack>.sim-chart-pane+.sim-chart-pane{border-top:1px solid var(--project-rule)}
.project-overview .sim-chart-stack>.sim-chart-pane.pnl{grid-column:1/-1}
.project-overview .sim-chart-pane>header{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:19px;flex:none;margin:0 0 6px;padding:0}
.project-overview .sim-chart-pane>header h4{font-size:13px;margin:0;color:var(--project-text)}
.project-overview .sim-linked-value{font-size:12px;white-space:nowrap}
.project-overview .sim-chart-pane>.sim-performance-chart{min-height:0;flex:1}
.project-chart-axis{position:absolute;inset:0;pointer-events:none;font-size:11px;line-height:1;color:var(--project-muted)}
.project-chart-axis>span{position:absolute;white-space:nowrap}
.project-chart-y{transform:translate(-100%,-50%);padding-right:8px}
.project-chart-date{transform:translate(-50%,-100%)}
.project-overview .sim-chart-pane .sim-performance-chart svg{width:100%;height:100%!important;min-height:0}
.project-overview .sim-chart-grid text,.project-overview .sim-chart-label{font-size:20px}
.project-overview .sim-chart-pane.pnl .sim-chart-grid text{font-size:13px}
.project-overview .sim-pnl-line{stroke-width:2.1}
.project-overview .sim-chart-tooltip{font-size:12px;min-width:140px;padding:8px 10px;top:8px}
.project-overview .sim-chart-tooltip>strong{font-size:12px}
.project-overview-insights{display:grid;grid-template-rows:max-content minmax(0,1fr);gap:12px;height:530px;min-height:0;min-width:0;align-self:stretch;position:sticky;top:12px}
.project-overview .project-overview-insights>.sim-style-panel{border:1px solid var(--project-rule);padding:12px 14px;border-radius:9px;background:var(--project-plot);margin:0;min-height:150px;display:flex;flex-direction:column}
.project-overview .sim-style-panel>header{margin:0 0 8px;gap:8px;display:flex;justify-content:space-between;align-items:center;flex:none}
.project-overview .sim-style-panel>header h4,.project-follower-preview h4{font-size:13px;margin:0}
.project-overview .sim-style-toggle{font-size:12px}
.project-overview .sim-style-content{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;min-height:0;flex:none}
.project-overview .sim-donut{width:104px;height:104px;position:relative;margin:0}
.project-overview .sim-donut-label{gap:3px;line-height:1;justify-content:center;align-items:center;white-space:nowrap}
.project-overview .sim-donut-label strong{font-size:18px;line-height:1}
.project-overview .sim-donut-label span{font-size:11px;line-height:1}
.project-overview .sim-donut-label small{font-size:10px;line-height:1;color:var(--project-muted)}
.project-overview .sim-distribution-legend{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row;gap:2px;max-height:none;overflow:visible}
.project-overview .sim-distribution-item{display:grid;grid-template-columns:6px minmax(0,1fr) max-content;align-items:center;gap:6px;min-height:22px;padding:2px 3px;font-size:12px;white-space:nowrap}
.project-overview .sim-distribution-item>span{min-width:0}
.project-overview .sim-distribution-item>strong{display:none}
.project-overview .sim-distribution-item>em{grid-column:3;font-size:12px;text-align:right}
.project-follower-preview{border:1px solid var(--project-rule);padding:12px 14px;border-radius:9px;background:var(--project-plot);min-height:0;display:flex;flex-direction:column;overflow:hidden}
.project-follower-preview>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
.project-follower-preview>header .icon-button{width:24px;height:24px}
.project-follower-preview>header .icon{width:13px;height:13px}
.project-mini-rank{display:grid;grid-template-rows:repeat(10,minmax(0,1fr));flex:1;min-height:0}
.project-mini-rank>div{display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--project-rule);font-size:13px;min-width:0}
.project-mini-rank>div:last-child{border-bottom:0}
.project-rank-number{font-size:12px;color:var(--project-muted);width:18px;flex:none}
.project-rank-name{color:var(--project-text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-mini-rank strong{font-size:13px;font-weight:500;margin-left:auto;white-space:nowrap}
.project-overview-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;min-height:40px;padding-block:8px;font-size:12px;color:var(--project-muted)}
.project-overview-footer>span>span{margin-left:8px}
.project-overview-records,.project-overview-followers,.project-overview-revenue{min-height:0;overflow:auto;border:1px solid var(--project-rule);border-radius:9px;background:var(--project-plot)}
.project-overview .project-trades,.project-overview .project-followers{height:100%;margin:0;display:flex!important;flex-direction:column;border:0;background:none}
.project-overview :is(.project-followers,.project-trades)>header{flex:none;padding:12px 16px}
.project-overview :is(.project-followers,.project-trades)>header h4{font-size:13px}
.project-overview :is(.project-followers,.project-trades)>.table-wrap{min-height:0;flex:1;max-height:none;overflow:auto}
.project-overview :is(.project-followers,.project-trades) :is(th,td){padding:10px 16px;font-size:12px}
.project-overview .project-trade-pages{flex:none;padding:8px 16px}
.project-overview-followers{display:flex;flex-direction:column}
.project-all-follower-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--project-rule);flex:none;font-size:12px;color:var(--project-muted)}
.project-overview-followers>.project-followers{min-height:0}
.project-overview .project-revenue{padding:20px;border:0;background:none}
.project-overview .project-revenue>header{display:flex;justify-content:space-between;align-items:center}
.project-overview .project-owner-controls .project-connection{display:none!important}
[data-theme="light"] .project-overview{--project-plot:#f3f6f8;--project-rule:#d6dee4;--project-muted:#52636e;--project-gain:#167558;--project-loss:#b4384d;--project-grid:#cbd5dc;--project-zero:#7a8b96}
[data-theme="light"] .project-overview .project-follower-profit{background:#e6f3eb;border-color:#b5d5c1}
[data-theme="light"] .project-overview .project-follower-profit :is(svg,span){color:#41665a}
@media(max-height:790px) and (min-width:1000px){
 .modal-overlay:has(.project-overview){padding:16px}
 .modal:has(.project-overview){height:calc(100dvh - 32px)}
 .project-detail.project-overview{padding:16px 20px;grid-template-rows:auto 94px 48px 534px 40px}
 .project-overview>.project-profile{min-height:96px;padding-bottom:10px}
 .project-overview-pnl>strong{font-size:30px}
 .project-overview .project-overview-metrics>.sim-detail-stats>div{padding-inline:14px}
 .project-overview .project-overview-metrics>.sim-detail-stats strong{font-size:22px}
 .project-overview .sim-chart-stack>.sim-chart-pane,.project-follower-preview,.project-overview .project-overview-insights>.sim-style-panel{padding:9px 12px}
}
@media(min-width:1000px) and (max-width:1200px){
 .project-overview-content{grid-template-columns:minmax(0,1fr) 288px;gap:12px}
 .project-overview-actions{gap:6px}
 .project-overview .project-follow-actions .button{padding-inline:10px}
 .project-overview .project-overview-metrics>.sim-detail-stats>div{padding-inline:10px}
 .project-overview .project-overview-metrics>.sim-detail-stats strong{font-size:22px}
 .project-overview-pnl>strong{font-size:28px}
}
@media(max-width:999px){
 .modal-overlay:has(.project-overview){padding:10px}
 .modal:has(.project-overview){height:calc(100dvh - 20px)}
 .modal:has(.project-overview)>.modal-body{overflow:auto}
 .project-detail.project-overview{height:auto;min-height:0;padding:18px;display:flex;flex-direction:column}
 .project-overview>.project-profile{min-height:0;padding-bottom:16px}
 .project-overview .sim-detail-header{flex-wrap:wrap}
 .project-overview .sim-detail-identity{flex-basis:100%}
 .project-overview-actions,.project-overview .project-owner-controls{margin-left:auto}
 .project-overview-metrics{grid-template-columns:1fr;padding:16px 0;gap:20px}
 .project-overview .project-overview-metrics>.sim-detail-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0}
 .project-overview .project-overview-metrics>.sim-detail-stats>div:nth-child(3n+1){padding-left:0;border-left:0}
 .project-overview-toolbar{min-height:52px;flex-wrap:wrap;gap:8px;padding:6px 0}
 .project-overview-tabs{min-height:38px;gap:20px}
 .project-overview-content{display:flex;flex-direction:column;height:auto;min-height:0}
 .project-overview-charts{height:530px;min-height:530px;flex:none}
 .project-overview-insights{grid-template-columns:1fr 1.3fr;grid-template-rows:minmax(190px,auto);height:auto;align-self:stretch;position:static;top:auto}
 .project-overview .project-mini-rank{grid-template-rows:repeat(10,minmax(36px,auto))}
 .project-overview-footer{min-height:36px;font-size:12px}
 .project-overview-records,.project-overview-followers{height:480px;flex:none}
 #copy-lead-detail>.project-overview{height:auto;max-height:none;min-height:0}
}
@media(max-width:540px){
 .project-detail.project-overview{padding:16px 12px}
 .project-detail-brand img{width:88px;height:20px}
 .modal:has(.project-overview)>header{padding-inline:12px;gap:8px}
 .modal:has(.project-overview)>header #modal-title{padding-left:10px}
 .project-overview .sim-detail-identity{gap:12px}
 .project-overview .sim-detail-identity>.sim-avatar{height:48px!important;width:48px!important}
 .project-overview .project-overview-identity h3{font-size:21px;gap:8px}
 .project-overview .project-identity-secondary{gap:7px}
 .project-follower-profit{gap:6px}
 .project-overview .project-overview-charts>.sim-chart-stack{grid-template-columns:minmax(0,1fr);grid-template-rows:212px 150px 150px}
 .project-overview-insights{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:12px}
 .project-overview .sim-style-content{grid-template-columns:104px minmax(0,1fr);gap:12px}
 .project-all-follower-total{align-items:flex-start;flex-wrap:wrap}
 .project-overview .project-mini-rank strong{font-size:13px}
}
@media(min-width:1201px){
 .project-overview>.project-profile{min-height:80px}
 .project-overview .project-overview-identity{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:16px;row-gap:8px}
 .project-overview .project-overview-identity h3{grid-column:1/-1;margin-bottom:0!important}
 .project-overview .project-overview-meta{margin-top:0;align-self:center;justify-self:start}
}
