:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f1117;color:#eef2f8;font-synthesis:none;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#0f1117}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,p{margin:0}code{font-family:SFMono-Regular,Consolas,monospace}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 240px),#0f1117}.login-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 320px),#0f1117;padding:20px}.login-panel{width:min(440px,100%);display:grid;gap:14px;border:1px solid #242b39;border-radius:8px;background:#141924;padding:22px}.error-line{min-height:36px;display:inline-flex;align-items:center;border:1px solid #80404b;border-radius:8px;background:#32171d;color:#ff9aa7;padding:0 10px;font-size:13px}.app-sidebar{min-height:100vh;display:flex;flex-direction:column;gap:22px;border-right:1px solid #242936;background:#11141d;padding:18px 14px}.brand-lockup,.topbar,.topbar-actions,.side-nav,.status-rail,.nav-button,.section-head,.section-head>div,.identity-line,.time-line,.ai-panel-head,.tag-row,.trace-item,.decision-actions,.guard-strip,.guard-chip,.rule-row,.rule-meta,.row-actions,.toggle-line,.trade-row,.runtime-lines span,.closed-strip{display:flex;align-items:center}.brand-lockup{gap:11px;min-height:46px;padding:4px 6px}.brand-lockup strong{display:block;color:#f7f9ff;font-size:17px;font-weight:900}.brand-lockup span:last-child{display:block;margin-top:3px;color:#8b95a7;font-size:12px;font-weight:800}.x-mark{width:28px;height:28px;flex:0 0 28px;display:inline-grid;place-items:center;border:1px solid #343b4c;border-radius:7px;background:#05070a;color:#fff;font-weight:950;line-height:1}.x-mark.small{width:22px;height:22px;flex-basis:22px;border-radius:6px;font-size:12px}.side-nav{flex-direction:column;align-items:stretch;gap:6px}.nav-button{width:100%;min-height:42px;justify-content:flex-start;gap:10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#9aa5b8;padding:0 10px;font-weight:850}.nav-button svg{width:18px;height:18px}.nav-button.active{border-color:#345d73;background:#172330;color:#e7fbff}.status-rail{flex-direction:column;align-items:stretch;gap:8px;margin-top:auto}.app-workspace{min-width:0;padding:18px}.topbar{min-height:56px;justify-content:space-between;gap:16px;margin-bottom:18px}.topbar h1{color:#f4f7fc;font-size:21px;line-height:1.2;font-weight:950}.topbar span{display:block;margin-top:5px;color:#8994a8;font-size:13px}.topbar-actions{gap:10px}.notice-line{max-width:340px;min-height:34px;display:inline-flex;align-items:center;border:1px solid #2c6f5b;border-radius:8px;background:#10251f;color:#75e3ba;padding:0 12px;font-size:13px;overflow-wrap:anywhere}.page-grid{min-width:0;display:grid;gap:16px}.dashboard-grid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)}.rules-grid,.watch-users-grid,.signals-grid,.positions-grid,.settings-grid{grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr)}.rules-grid{grid-template-columns:minmax(560px,.98fr) minmax(420px,1.02fr)}.tweet-stream,.decision-stream,.control-panel,.data-panel{min-width:0;border:1px solid #242b39;border-radius:8px;background:#141924;padding:18px}.tweet-stream,.decision-stream{min-height:620px}.section-head{min-height:38px;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head>div{gap:8px;min-width:0}.section-head svg{color:#65d6c7}.section-head h2{color:#f3f6fb;font-size:16px;line-height:1.2;font-weight:900}.tweet-header{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start}.avatar-photo{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid #3c4558;background:#202838;color:#e9f6ff;font-size:13px;font-weight:950;overflow:hidden}.avatar-photo img{width:100%;height:100%;display:block;object-fit:cover}.avatar-photo span{display:grid;place-items:center}.tweet-meta{min-width:0}.identity-line,.time-line{flex-wrap:wrap;gap:8px}.identity-line strong{color:#f0f4fb;font-size:17px;overflow-wrap:anywhere}.time-line{margin-top:7px;color:#8a94a8;font-size:13px}.time-line code{border-radius:6px;background:#0d1119;color:#aeb8c8;padding:5px 8px}.time-line span{display:inline-flex;align-items:center;gap:5px;color:#75e3ba;font-weight:850}.badge,.state-pill,.count-pill{min-height:25px;display:inline-flex;align-items:center;border:1px solid #344253;border-radius:7px;background:#1a2230;color:#aeb9cb;padding:0 9px;font-size:12px;font-weight:900;white-space:nowrap}.badge.accent,.state-pill.good{border-color:#2c705b;background:#10251f;color:#75e3ba}.state-pill.warn{border-color:#725d2d;background:#2a2112;color:#f4c96d}.state-pill.danger{border-color:#8d3c49;background:#30151b;color:#ff8998}.count-pill{min-width:30px;justify-content:center}.tweet-body{margin-top:42px;border:1px solid #252d3c;border-radius:8px;background:#111722;padding:16px}.tweet-body.compact-text{margin-top:14px}.tweet-body p{color:#c3ccda;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.ai-panel{margin-top:14px;border-left:3px solid #65d6c7;border-radius:8px;background:#17202c;padding:15px}.ai-panel-head{gap:8px}.ai-panel-head svg{color:#65d6c7}.ai-panel-head strong{color:#f3f6fb;font-weight:900}.ai-panel-head span{margin-left:auto;color:#f4c96d;font-size:12px;font-weight:900}.ai-panel p{margin-top:12px;color:#c8d0dd;font-size:15px;line-height:1.55}.tag-row{flex-wrap:wrap;gap:8px;margin-top:12px}.tag-row strong{min-height:28px;display:inline-flex;align-items:center;border:1px solid #504936;border-radius:7px;background:#292515;color:#f4c96d;padding:0 10px;font-size:13px}.trace-list,.rule-list,.position-list,.trade-list,.runtime-lines,.signal-list,.watch-user-list,.audit-list{display:grid;gap:10px}.trace-item{min-height:44px;display:grid;grid-template-columns:30px minmax(110px,1fr) minmax(0,1.1fr) 64px;gap:10px;align-items:center;border-bottom:1px solid #222a38;color:#939db0}.trace-icon{width:28px;height:28px;display:grid;place-items:center;color:#8793a7}.trace-item.ok .trace-icon,.trace-item.ok strong{color:#75e3ba}.trace-item.error .trace-icon,.trace-item.error strong{color:#ff8998}.trace-item span{color:#c6cedb;font-weight:800}.trace-item strong{color:#9aa5b8;font-size:13px;overflow-wrap:anywhere}.trace-item em{color:#c4cbd7;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;font-style:normal;text-align:right}.decision-actions,.row-actions{flex-wrap:wrap;gap:8px}.decision-actions{margin-top:18px}.primary-button,.danger-button,.icon-button{position:relative;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;font-weight:900}.primary-button{border:1px solid #2a7160;background:#123229;color:#84f0c8;padding:0 13px}.primary-button:hover,.primary-button:focus-visible{border-color:#43a78e;background:#174234}.danger-button{border:1px solid #80404b;background:#32171d;color:#ff9aa7;padding:0 13px}.danger-button:hover,.danger-button:focus-visible{border-color:#a95865;background:#431b24}.primary-button.compact,.danger-button.compact{min-height:34px;padding:0 10px;font-size:13px}.icon-button{width:38px;border:1px solid #30394a;background:#151b25;color:#c1cad8;padding:0}.icon-button:hover,.icon-button:focus-visible{border-color:#466174;background:#1a2431;color:#f0f6ff}.icon-button.danger{border-color:#69333d;color:#ff8998}.icon-button.danger:hover,.icon-button.danger:focus-visible{border-color:#a95865;background:#321820}[data-tooltip]{position:relative}[data-tooltip]:before,[data-tooltip]:after{position:absolute;left:50%;display:none;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:opacity .16s ease,transform .16s ease;z-index:40}[data-tooltip]:before{bottom:calc(100% + 3px);width:9px;height:9px;content:"";background:#eef3fb;transform:translate(-50%,4px) rotate(45deg)}[data-tooltip]:after{bottom:calc(100% + 8px);width:max-content;max-width:min(260px,76vw);content:attr(data-tooltip);border:1px solid #c9d5e4;border-radius:7px;background:#eef3fb;color:#10151d;padding:7px 9px;font-size:12px;font-weight:850;line-height:1.35;text-align:center;white-space:normal;box-shadow:0 14px 34px #00000057}[data-tooltip]:hover:before,[data-tooltip]:hover:after,[data-tooltip]:focus-visible:before,[data-tooltip]:focus-visible:after{display:block;opacity:1;transform:translate(-50%)}[data-tooltip]:hover:before,[data-tooltip]:focus-visible:before{transform:translate(-50%) rotate(45deg)}.guard-strip{grid-column:1 / -1;flex-wrap:wrap;gap:10px}.wallet-panel{grid-column:1 / -1}.guard-chip{min-height:48px;gap:8px;border:1px solid #263141;border-radius:8px;background:#121821;padding:0 13px}.guard-chip svg{width:17px;height:17px;color:#65d6c7}.guard-chip span{color:#8b96aa;font-size:13px;font-weight:800}.guard-chip strong{color:#f2f5fb;font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.edit-context{display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin-top:-4px;padding:7px 10px;border:1px solid #2b3b4f;border-radius:8px;background:#131b27;color:#9ba9bd;font-size:12px}.edit-context strong{min-width:0;color:#e9f1fb;overflow-wrap:anywhere}.form-grid.single{grid-template-columns:minmax(0,1fr) 180px}.form-section{min-width:0;display:grid;gap:12px;border:1px solid #293444;border-radius:8px;background:#111722;margin:0;padding:14px}.form-section.wide{grid-column:1 / -1}.form-section legend{color:#e5eef8;font-size:13px;font-weight:950;padding:0 7px}.form-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.form-section-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.form-section-grid.switches{grid-template-columns:minmax(160px,1fr) repeat(2,minmax(132px,.7fr));align-items:end}.field{min-width:0;display:grid;gap:7px}.field.wide{grid-column:1 / -1}.field span,.toggle-line span{color:#98a4b8;font-size:12px;font-weight:900}.field input,.field select,.field textarea{width:100%;min-height:40px;border:1px solid #2d3545;border-radius:8px;background:#0f141d;color:#eef3fb;outline:none;padding:0 10px}.field textarea{min-height:180px;resize:vertical;padding:10px;line-height:1.45}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4d8aa0;box-shadow:0 0 0 3px #4d8aa024}.toggle-line{min-height:40px;gap:9px;border:1px solid #2d3545;border-radius:8px;background:#0f141d;padding:0 10px}.toggle-line input{width:17px;height:17px;accent-color:#65d6c7}.rule-row,.position-row,.trade-row{min-width:0;border:1px solid #252d3b;border-radius:8px;background:#111722;padding:12px}.rule-row{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(0,1.2fr) minmax(116px,auto) auto;gap:12px}.rule-row strong,.position-row strong,.trade-row strong{display:block;color:#f2f6fc;font-weight:950}.rule-row span,.position-row span,.trade-row span,.trade-row em{display:block;margin-top:5px;color:#8f9aae;font-size:13px;overflow-wrap:anywhere}.rule-meta{min-width:0;flex-wrap:wrap;gap:7px}.rule-meta span{min-height:24px;display:inline-flex;align-items:center;border:1px solid #303849;border-radius:7px;background:#151c27;padding:0 8px}.position-row{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(240px,1fr) auto;gap:12px;align-items:center}.signal-list{margin-top:12px}.history-panel{margin-top:16px;border-top:1px solid #242c3a;padding-top:14px}.signal-row{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;border:1px solid #252d3b;border-radius:8px;background:#111722;padding:12px}.signal-row .avatar-photo{width:44px;height:44px}.signal-row strong,.watch-user-card strong,.audit-row strong{display:block;color:#f2f6fc;font-weight:950}.signal-row span,.watch-user-card span,.watch-user-card em,.audit-row p{display:block;margin-top:4px;color:#8f9aae;font-size:12px;font-style:normal;overflow-wrap:anywhere}.signal-row p{margin-top:8px;color:#c3ccda;font-size:14px;line-height:1.42;overflow-wrap:anywhere}.link-button{position:relative;min-height:26px;display:inline-flex;align-items:center;border:1px solid #345d73;border-radius:7px;background:#172330;color:#9be7ff;padding:0 8px;font-size:12px;font-weight:900;text-decoration:none}.link-button.inline{width:fit-content;margin-top:9px}.pagination-row{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px}.pagination-row .icon-button{width:auto;min-width:54px;padding:0 10px}.pagination-row span{color:#9aa5b8;font-size:13px;font-weight:900}.watch-user-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.watch-user-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.watch-user-card{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;align-items:start;border:1px solid #252d3b;border-radius:8px;background:#111722;padding:12px}.watch-user-card.muted{opacity:.62}.watch-user-card .avatar-photo{width:46px;height:46px}.watch-user-card p{margin-top:8px;color:#75e3ba;font-size:12px;font-weight:850;overflow-wrap:anywhere}.selected-rule-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #252d3b;margin-top:16px;padding-top:14px}.avatar-stack{display:flex;align-items:center;min-width:96px}.avatar-stack .avatar-photo{width:30px;height:30px;border-width:2px;border-color:#141924;margin-left:-8px;font-size:10px}.avatar-stack .avatar-photo:first-child{margin-left:0}.avatar-stack.empty{color:#7f8a9d;font-weight:900}.audit-row{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;border:1px solid #252d3b;border-radius:8px;background:#111722;padding:12px}.audit-row>span{width:48px;min-height:24px;display:inline-grid;place-items:center;border-radius:7px;font-size:11px;font-weight:950}.audit-row.pass>span{background:#123229;color:#84f0c8}.audit-row.warn>span{background:#2a2112;color:#f4c96d}.audit-row.fail>span{background:#32171d;color:#ff9aa7}.wallet-matrix,.price-grid,.settings-matrix{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.settings-matrix{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-width:0;min-height:52px;display:grid;align-content:center;gap:5px;border:1px solid #263141;border-radius:8px;background:#111722;padding:8px 10px}.metric span{color:#8995a9;font-size:11px;font-weight:900;overflow-wrap:anywhere}.metric strong{color:#edf3fb;font-size:14px;overflow-wrap:anywhere}.metric.good strong{color:#75e3ba}.metric.warn strong{color:#f4c96d}.metric.danger strong{color:#ff8998}.trade-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(120px,1fr) 160px;gap:10px;align-items:center}.trade-row code{color:#cbd5e2;overflow-wrap:anywhere}.trade-row em{margin:0;text-align:right;font-style:normal}.closed-strip{flex-wrap:wrap;gap:8px;margin-top:12px}.closed-strip span{min-height:28px;display:inline-flex;align-items:center;border:1px solid #303849;border-radius:7px;background:#151c27;color:#aeb8c9;padding:0 10px;font-size:12px;font-weight:850}.runtime-lines span{justify-content:space-between;gap:10px;min-height:40px;border-bottom:1px solid #242c3a;color:#8f9bae;font-size:13px}.runtime-lines strong{color:#dce5f0;text-align:right;overflow-wrap:anywhere}.wallet-key-form{display:grid;gap:12px}.wallet-key-form .primary-button{width:fit-content}.editor-block{border:1px solid #2d3545;border-radius:8px;background:#0d131c;padding:12px}.editor-head{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.user-editor-list,.level-editor-list{display:grid;gap:8px}.level-editor-columns{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) 34px;gap:8px;margin-bottom:6px}.level-editor-columns span{color:#8d99ad;font-size:11px;font-weight:900}.user-editor-row,.level-editor-row{display:grid;gap:8px;align-items:center}.user-editor-row{grid-template-columns:38px minmax(0,.85fr) minmax(0,.85fr) minmax(0,1.35fr) 34px 34px}.level-editor-row{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) 34px}.user-editor-row .avatar-photo{width:38px;height:38px;font-size:11px}.editor-block input{width:100%;min-height:38px;border:1px solid #2d3545;border-radius:8px;background:#111722;color:#eef3fb;outline:none;padding:0 10px}.editor-block input:focus{border-color:#4d8aa0;box-shadow:0 0 0 3px #4d8aa024}.icon-button.mini{width:34px;min-height:34px;flex:0 0 34px}.mini-toggle{width:38px;min-height:38px;display:grid;place-items:center;border:1px solid #2d3545;border-radius:8px;background:#111722}.mini-toggle input{width:16px;height:16px;accent-color:#65d6c7}.empty-state{min-height:90px;display:grid;place-items:center;border:1px dashed #303849;border-radius:8px;color:#7f8a9d;font-weight:850}@media (max-width: 1120px){.app-shell{grid-template-columns:86px minmax(0,1fr)}.brand-lockup div,.nav-button span{display:none}.nav-button{justify-content:center}.dashboard-grid,.rules-grid,.watch-users-grid,.signals-grid,.positions-grid,.settings-grid{grid-template-columns:minmax(0,1fr)}.tweet-stream,.decision-stream{min-height:auto}}@media (max-width: 720px){.app-shell{display:block}.app-sidebar{min-height:auto;border-right:0;border-bottom:1px solid #242936}.side-nav,.status-rail{flex-direction:row;overflow-x:auto}.nav-button,.status-rail .metric{min-width:72px}.app-workspace{padding:14px}.topbar{align-items:flex-start;flex-direction:column}.form-grid,.form-grid.single,.form-section-grid,.form-section-grid.compact,.form-section-grid.switches,.wallet-matrix,.price-grid,.selected-rule-strip,.settings-matrix{grid-template-columns:minmax(0,1fr)}[data-tooltip]:before,[data-tooltip]:after{display:none}.rule-row,.position-row,.trade-row,.signal-row,.trace-item,.user-editor-row,.level-editor-row{grid-template-columns:minmax(0,1fr)}.trace-item em,.trade-row em{text-align:left}}:root{color-scheme:light;background:#f4f6f8;color:#111827}body{background:#f4f6f8;color:#111827}.app-shell{min-height:100vh;display:block;background:#f4f6f8}.app-topnav{min-height:43px;display:flex;align-items:center;gap:22px;border-bottom:1px solid #dfe4ea;background:#fff;padding:0 14px;box-shadow:0 1px 5px #0f172a14;position:sticky;top:0;z-index:20}.app-topnav .brand-lockup{min-height:42px;gap:8px;padding:0}.app-topnav .brand-lockup strong,.login-panel .brand-lockup strong{color:#1f2937;font-size:14px;font-weight:850}.app-topnav .brand-lockup span:last-child,.login-panel .brand-lockup span:last-child{color:#8b95a1;font-size:11px;font-weight:650}.x-mark{width:31px;height:31px;flex-basis:31px;border:1px solid #ad8d45;border-radius:50%;background:radial-gradient(circle at 30% 25%,#3a2b16,#080706 72%);color:#f8e6a0;font-size:11px;font-weight:950}.brand-mark{width:36px;height:31px;flex:0 0 36px;display:inline-flex;align-items:center;position:relative}.brand-mark img{width:24px;height:24px;display:block;border:1px solid #d9e6f2;border-radius:50%;background:#fff;object-fit:cover;box-shadow:0 4px 10px #0f172a1a}.brand-mark img+img{margin-left:-10px}.top-nav-links{flex:1;flex-direction:row;align-items:center;gap:4px;overflow-x:auto}.top-nav-links .nav-button{width:auto;min-height:36px;border-radius:0;padding:0 8px;color:#6b7280;font-size:13px;font-weight:650;border:0;border-bottom:2px solid transparent;background:transparent}.top-nav-links .nav-button svg{display:none}.top-nav-links .nav-button.active{background:transparent;color:#2563eb;border-color:#2563eb}.topbar-actions{margin-left:auto;gap:8px;flex-wrap:nowrap}.status-rail{flex-direction:row;gap:5px;margin-top:0}.status-rail .metric{min-width:auto;min-height:24px;border:0;background:transparent;padding:0 2px}.status-rail .metric span{display:none}.status-rail .metric strong{color:#16a34a;font-size:11px}.account-dot{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:999px;background:#3b82f6;color:#fff;font-size:12px;font-weight:850;padding:0}.app-workspace{position:relative;width:min(1320px,calc(100vw - 24px));margin:0 auto;padding:16px 0 48px}.profile-panel{position:absolute;right:0;top:10px;width:min(560px,calc(100vw - 24px));z-index:18;display:grid;gap:14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;padding:16px;box-shadow:0 20px 48px #0f172a2e}.profile-head,.profile-summary,.profile-row{display:flex;align-items:center}.profile-head{justify-content:space-between;gap:12px}.profile-head h2,.profile-section h3{margin:0;color:#111827;font-size:15px;font-weight:900}.profile-feedback{min-height:34px;display:flex;align-items:center;border:1px solid #c7d2fe;border-radius:7px;background:#eef2ff;color:#3730a3;padding:8px 10px;font-size:12px;font-weight:850}.profile-feedback.good{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.profile-feedback.bad{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.profile-head strong{display:block;margin-top:4px;color:#475569;font-size:13px}.profile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-summary>div{min-width:0;display:grid;gap:6px;border:1px solid #dbe4ee;border-radius:8px;background:#f8fafc;padding:10px 12px}.profile-summary span,.profile-execution-list span{color:#64748b;font-size:12px;font-weight:900}.profile-summary strong,.profile-execution-list strong{color:#0f172a;font-size:14px;font-weight:950;overflow-wrap:anywhere}.profile-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.profile-settings-panel{display:grid;gap:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:12px}.profile-settings-head,.bribe-form-row,.profile-wallet-upload{display:flex;align-items:end;gap:10px}.profile-settings-head{justify-content:space-between;align-items:center}.profile-settings-head h3{margin:0;color:#111827;font-size:14px;font-weight:900}.profile-execution-matrix{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-execution-list{display:grid;gap:8px}.profile-execution-list span{min-width:0;display:flex;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:9px 10px}.profile-execution-list strong{max-width:70%;text-align:right}.bribe-form-row .field{flex:1 1 0;min-width:0}.profile-wallet-upload .field{flex:1 1 auto}.profile-section{min-width:0;display:grid;align-content:start;gap:9px}.profile-list{display:grid;gap:8px}.profile-row{min-height:48px;gap:8px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;padding:10px 12px}.profile-row strong{color:#111827;font-size:14px}.profile-row span{min-width:0;flex:1;color:#475569;font-size:13px;overflow-wrap:anywhere}.profile-row em{color:#059669;font-size:12px;font-style:normal;font-weight:850}.sniper-console{display:grid;grid-template-columns:minmax(360px,.62fr) minmax(620px,1fr);gap:16px;align-items:start}.action-feedback{grid-column:1 / -1;min-height:36px;display:flex;align-items:center;border:1px solid #c7d2fe;border-radius:8px;background:#eef2ff;color:#3730a3;padding:9px 12px;font-size:13px;font-weight:850}.action-feedback.good{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.action-feedback.bad{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.sniper-config-card,.latest-card,.holdings-card,.data-panel,.control-panel,.tweet-stream,.decision-stream,.history-panel{border:1px solid #e4e8ee;border-radius:8px;background:#fff;color:#111827;box-shadow:0 9px 25px #0f172a14}.sniper-config-card{position:sticky;top:58px;padding:12px}.sniper-feed{display:grid;gap:14px}.latest-card,.holdings-card{padding:14px}.sniper-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.sniper-card-head h2,.section-head h2{color:#111827;font-size:15px;line-height:1.2;font-weight:850}.sniper-actions,.tab-chips,.ws-state,.mode-line,.profit-row,.wallet-strip,.auth-tabs,.sniper-metrics,.source-switches,.source-switches label{display:flex;align-items:center}.sniper-actions{gap:6px}.sniper-actions .soft-button{border-color:#10b981;background:#ecfdf5;color:#059669;box-shadow:inset 0 0 0 1px #10b98114}.inline-switch{display:inline-flex;align-items:center;gap:5px;margin-left:6px;color:#8b95a1;font-size:12px;font-weight:650}.inline-switch i,.ws-state i{width:7px;height:7px;border-radius:999px;background:#13c58b}.wallet-strip{gap:8px;min-height:36px;margin-bottom:11px;border:1px solid #bbf7d0;border-radius:7px;background:#ecfdf5;color:#059669;padding:0 10px;font-size:12px}.wallet-strip strong{color:#059669}.launchpad-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.launchpad-tab{min-width:0;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dbe4ee;border-radius:8px;background:#f8fafc;color:#475569;padding:0 9px;font-size:12px;font-weight:800;cursor:pointer}.launchpad-tab input{flex:0 0 auto;accent-color:#10b981}.launchpad-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.launchpad-tab.active{border-color:#86efac;background:#ecfdf5;color:#047857;box-shadow:inset 0 0 0 1px #10b9811f}.launchpad-tab:focus-visible{border-color:#60a5fa;outline:none;box-shadow:0 0 0 3px #60a5fa29}.platform-amount-panel{display:grid;gap:8px;border:1px solid #dfe7ef;border-radius:8px;background:#fbfdff;padding:10px;margin-bottom:12px}.platform-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.platform-panel-head strong{color:#111827;font-size:13px;font-weight:900}.platform-panel-head span{color:#4b5563;font-size:12px;font-weight:750}.platform-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.platform-amount-row{display:grid;grid-template-columns:minmax(116px,.44fr) minmax(130px,1fr) 24px;gap:8px;align-items:center}.platform-amount-name{min-height:36px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dde5ee;border-radius:8px;background:#fff;color:#374151;padding:0 10px;font-size:12px;font-weight:800}.platform-amount-row input{min-width:0;width:100%;min-height:36px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#111827;outline:none;padding:0 12px;font-size:13px}.platform-amount-row input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa29}.amount-clear-button{width:24px;min-height:24px;border:0;background:transparent;color:#d1d5db;padding:0;font-size:18px;line-height:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sniper-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.sniper-metrics .metric{min-height:52px;border-radius:8px;background:#f8fafc;padding:8px 10px}.mini-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.mini-form-grid .wide,.mode-line,.profit-table,.advanced-strategy,.advanced-filter-panel{grid-column:1 / -1}.advanced-strategy{display:grid;gap:7px;border:1px solid #e3e9f1;border-radius:8px;background:#fbfcff;padding:10px}.strategy-head,.filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px}.strategy-head strong{color:#18202d;font-size:13px}.strategy-head span{color:#7b8798;font-size:11px;font-weight:650}.strategy-row{display:grid;grid-template-columns:42px 64px minmax(0,1fr);align-items:center;gap:7px;min-height:34px;border:1px solid #e7edf4;border-radius:7px;background:#fff;padding:5px 7px}.strategy-code{min-height:22px;display:inline-grid;place-items:center;border-radius:5px;background:#eef6ff;color:#2775d1;font-size:11px;font-weight:950}.strategy-row.gain .strategy-code{background:#ecfdf5;color:#059669}.strategy-row.loss .strategy-code{background:#fff1f2;color:#e11d48}.strategy-row.trail .strategy-code{background:#f5f3ff;color:#6d28d9}.strategy-row.guard .strategy-code,.strategy-row.time .strategy-code{background:#fff7ed;color:#ea580c}.strategy-label{color:#475569;font-size:12px;font-weight:850}.strategy-controls{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px;color:#64748b;font-size:11px;font-weight:750;white-space:nowrap}.strategy-controls>input,.percent-input input{width:68px;min-height:28px;border:1px solid #dfe6ee;border-radius:6px;background:#fff;color:#111827;padding:0 8px;font-size:12px;font-weight:750}.percent-input{display:inline-flex;align-items:center;gap:3px}.percent-input span,.strategy-controls strong{color:#10b981;font-size:11px;font-weight:900}.filter-toggle{width:100%;min-height:34px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;color:#334155;padding:0 10px;font-size:12px;font-weight:850}.filter-toggle span{margin-left:auto;color:#94a3b8;font-size:11px}.advanced-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px;border:1px solid #edf1f6;border-radius:8px;background:#f8fafc;padding:9px}.mode-line{min-height:30px;gap:9px;color:#6b7280;font-size:12px}.mode-line label{min-height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d9e1ea;border-radius:7px;background:#fff;padding:0 8px}.field{gap:5px}.field span,.editor-head span,.level-editor-columns span{color:#4b5563;font-size:12px;font-weight:650}.field input,.field select,.field textarea,.editor-block input,.flap-filter textarea,.search-line input,.profit-row input{width:100%;min-height:38px;border:1px solid #dfe5ec;border-radius:7px;background:#fff;color:#111827;outline:none;padding:0 9px;font-size:12px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.field textarea,.flap-filter textarea{min-height:72px;padding:9px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.search-line input:focus,.profit-row input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa29}.toggle-box,.flap-filter{border:1px solid #edf0f4;border-radius:8px;background:#fffef8;color:#6b7280;padding:9px;font-size:12px}.toggle-box{min-height:37px;display:flex;align-items:center;justify-content:space-between}.toggle-box strong{min-width:104px;min-height:28px;display:inline-grid;place-items:center;border:1px solid #e6ebf1;border-radius:7px;background:#fff;color:#6b7280}.rule-condition{grid-column:1 / -1;display:grid;gap:6px}.rule-condition>span{color:#4b5563;font-size:12px;font-weight:650}.rule-condition div{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px dashed #b9dcf8;border-radius:7px;background:#fbfdff;color:#9ca3af;padding:0 8px;font-size:12px}.rule-condition button,.link-button.inline{border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:750;padding:0}.danger-text{color:#ef4444!important}.flap-filter{display:grid;gap:8px;background:#fffbff}.flap-filter strong{color:#4f46e5;font-size:13px}.profit-table{display:grid;gap:6px}.profit-row{gap:7px;color:#6b7280;font-size:12px}.profit-row input{min-width:0;width:72px}.profit-row .gain{min-width:54px;min-height:29px;display:inline-grid;place-items:center;border:1px solid #bbf7d0;border-radius:7px;background:#dcfce7;color:#059669;font-weight:850}.tab-chips{gap:6px;margin-top:5px}.tab-chips span{min-height:22px;display:inline-flex;align-items:center;border:1px solid #e3e8ef;border-radius:6px;background:#f8fafc;color:#64748b;padding:0 8px;font-size:11px;font-weight:700}.tab-chips.strong span:first-child{color:#111827;background:#fff}.ws-state{gap:5px;color:#10b981;font-size:12px;white-space:nowrap}.search-line{display:block;margin-bottom:10px}.search-line input{min-height:35px}.token-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.token-card{position:relative;min-height:124px;border:1px solid #e6ebf1;border-radius:8px;background:linear-gradient(180deg,#fffffffa,#f8fafcfa);padding:12px 40px 11px 56px;box-shadow:0 4px 14px #0f172a0a;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.compact-pool-card{min-height:96px;padding:11px 12px 10px;border-color:#dfe8f2;background:linear-gradient(90deg,#14b8a60f,#fff0 42%),linear-gradient(180deg,#fff,#fbfcff);box-shadow:inset 0 1px #fffffffa,0 1px 2px #0f172a0a,0 8px 22px #0f172a09;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.compact-pool-card .token-logo{width:18px;height:18px}.compact-pool-card .pool-card-main{min-width:0}.compact-pool-card .token-title{display:grid;grid-template-columns:minmax(96px,1fr) auto minmax(82px,max-content);gap:6px;align-items:center;margin-bottom:6px}.compact-pool-card .token-title strong{min-width:0;overflow:hidden;color:#172033;font-size:13.5px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.compact-pool-card .token-title em{justify-self:end;color:#94a3b8;font-size:11px;line-height:1;white-space:nowrap}.quote-asset-pill{max-width:96px;min-height:20px;display:inline-flex;align-items:center;gap:4px;border:1px solid #cfe0f1;border-radius:999px;background:#f8fbff;color:#172033;padding:1px 7px 1px 3px;font-size:10px;font-weight:950;line-height:1;white-space:nowrap}.quote-asset-pill img,.quote-asset-pill svg{width:14px;height:14px;flex:0 0 auto;border-radius:50%;object-fit:contain}.quote-asset-pill span{min-width:0;overflow:hidden;text-overflow:ellipsis}.pool-card-lines{display:flex;align-items:center;gap:10px;min-width:0;color:#607085;font-size:11px;line-height:1.55;white-space:nowrap}.pool-card-lines p{min-width:0;margin:0;color:inherit;font-size:11px;overflow:hidden;text-overflow:ellipsis}.pool-card-lines a{min-width:20px;min-height:18px;display:inline-grid;place-items:center;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#2775d1;font-size:10px;font-weight:900;text-decoration:none}.good-text{color:#059669;font-weight:850}.bad-text{color:#ef4444;font-weight:850}.launchpad-logo{width:26px;height:26px;flex:0 0 26px;border:1px solid #d9e6f2;border-radius:50%;background:#fff;object-fit:cover;box-shadow:0 4px 9px #0f172a14}.launchpad-logo.unavailable{border-style:dashed;background:#f8fafc}.compact-pool-card code{color:#9aa7b5;font-size:11px}.card-token-logo-sr{position:absolute;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.pool-address-line{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;margin-top:5px;line-height:1.35}.pool-address-line code,.full-address-button{min-width:0;overflow:hidden;color:#a2adbb;text-overflow:ellipsis;white-space:nowrap}.full-address-button{width:100%;border:1px solid #dfe7f0;border-radius:6px;background:#f8fafc;cursor:copy;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:10px;line-height:1.3;padding:5px 7px;text-align:left}.full-address-button:hover,.full-address-button:focus-visible{border-color:#bfdbfe;background:#eef4ff;color:#2563eb}.pool-card-tools{display:inline-flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}.copy-address-button,.gmgn-link-button,.explorer-mini-link{min-height:30px;flex:0 0 auto;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:4px;background:transparent;color:#c4ccd7;cursor:pointer;padding:0;text-decoration:none}.copy-address-button,.explorer-mini-link{width:32px}.gmgn-link-button{grid-template-columns:16px auto;gap:4px;border-color:#d3e0ed;background:#fff;color:#18202d;padding:0 6px 0 4px;font-size:10px;font-weight:950}.gmgn-link-button img{width:15px;height:15px;display:block;object-fit:contain}.gmgn-link-button span{line-height:1}.explorer-mini-link{color:#2775d1;font-size:10px;font-weight:900}.copy-address-button:hover,.copy-address-button:focus-visible,.gmgn-link-button:hover,.gmgn-link-button:focus-visible,.explorer-mini-link:hover,.explorer-mini-link:focus-visible{border-color:#bfdbfe;background:#eef4ff;color:#3b82f6}.pool-card-actionbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.52fr);align-items:center;gap:10px;margin-top:8px;border-top:1px solid #eef2f7;padding-top:8px}.target-action-button{min-width:0;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #bbf7d0;border-radius:8px;background:linear-gradient(180deg,#ecfdf5,#dcfce7);color:#15803d;cursor:pointer;font-size:12px;font-weight:950;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}.target-action-button:hover,.target-action-button:focus-visible{transform:translateY(-1px);border-color:#22c55e;background:#d9fbe7;box-shadow:0 6px 13px #16a34a21}.token-cell{display:inline-flex;align-items:center;gap:8px;min-width:0}.token-cell .token-logo{position:static;flex:0 0 auto}.token-cell span{display:grid;gap:2px;min-width:0}.token-cell strong{color:#172033;font-size:12px;font-weight:950}.token-cell em{color:#94a3b8;font-size:10px;font-style:normal;font-weight:800}.table-address-button{max-width:260px;border:1px solid #dfe7f0;border-radius:5px;background:#f8fafc;color:#64748b;cursor:copy;overflow:hidden;padding:4px 6px;text-align:left;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:10px}.compact-tools .launchpad-logo,.compact-tools .copy-address-button,.compact-tools .explorer-mini-link{width:26px;height:26px;min-height:26px}.compact-tools .gmgn-link-button{min-height:26px}.token-card:hover,.token-card:focus-within{border-color:#bfdbfe;background:#fff;box-shadow:0 8px 20px #2563eb17;transform:translateY(-1px)}.token-logo{position:absolute;left:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border:1px solid #d9e6f2;border-radius:50%;background:#fff;color:#94a3b8;font-size:9px;font-weight:850;text-align:center}.token-logo.unavailable{border-style:dashed;background:#f8fafc;color:#94a3b8}.token-logo img{width:100%;height:100%;display:block;object-fit:cover}.token-title{display:grid;grid-template-columns:auto minmax(84px,1fr) auto;gap:7px;align-items:center;margin-bottom:7px}.pool-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:20px;margin-bottom:5px;color:#475569;font-size:10px;font-weight:800}.pool-badge.compact{max-width:128px;min-height:18px;margin:0;color:inherit;font-size:inherit;font-weight:900}.pool-badge.compact strong{max-width:96px;overflow:hidden;color:inherit;font-size:inherit;font-weight:inherit;text-overflow:ellipsis;white-space:nowrap}.pool-badge.compact img,.pool-badge.compact span{width:15px;height:15px;flex:0 0 15px;border-color:#4f46e529}.pool-badge img,.pool-badge span{width:17px;height:17px;flex:0 0 17px;border:1px solid #d9e6f2;border-radius:50%;background:#fff;object-fit:cover}.pool-badge span{background:#f8fafc;border-style:dashed}.pool-badge strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-title strong{color:#111827;font-size:13px;font-weight:850}.platform-pill{width:fit-content;min-width:0;display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:#f0edff;color:#4f46e5;padding:2px 6px 2px 4px;font-size:11px;font-weight:800;white-space:nowrap}.platform-pill .platform-logo{width:15px;height:15px;border-radius:50%}.platform-pill.fourmeme{background:#f0edff;color:#4f46e5}.platform-pill.flap{background:#f0edff;color:#7c3aed}.platform-logo{width:16px;height:16px;flex:0 0 16px;display:inline-block;border:1px solid #d9e6f2;border-radius:50%;background:#fff;object-fit:cover}.platform-logo.unavailable{border-style:dashed;background:#f8fafc}.token-title em,.token-card p,.token-card code{color:#6b7280;font-size:11px;font-style:normal;line-height:1.6}.token-card code{display:block;margin-top:6px;color:#94a3b8}.target-dot{position:absolute;right:10px;bottom:10px;width:24px;min-height:24px;border:1px solid #bbf7d0;border-radius:50%;background:#ecfdf5;color:#16a34a;padding:0;transition:transform .16s ease,background .16s ease,border-color .16s ease}.target-dot:hover,.target-dot:focus-visible{transform:scale(1.08);border-color:#22c55e;background:#dcfce7}.holdings-card{min-height:124px}.scan-summary{display:grid;gap:4px;margin-bottom:10px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;padding:10px 12px}.scan-summary strong{color:#111827;font-size:13px}.scan-summary span{color:#64748b;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.scan-summary.good{border-color:#bbf7d0;background:#ecfdf5}.scan-summary.warn{border-color:#fed7aa;background:#fff7ed}.scan-summary.muted{color:#64748b}.primary-button,.danger-button,.soft-button,.icon-button{min-height:34px;border-radius:7px;transition:transform .16s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.primary-button:hover,.danger-button:hover,.soft-button:hover,.icon-button:hover,.primary-button:focus-visible,.danger-button:focus-visible,.soft-button:focus-visible,.icon-button:focus-visible{transform:translateY(-1px);box-shadow:0 7px 16px #0f172a1a}.primary-button{border:1px solid #10b981;background:#13c58b;color:#fff}.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #ccebdd;background:#ecfdf5;color:#059669;padding:0 10px;font-weight:800}.danger-button{border-color:#fee2e2;background:#fff5f5;color:#ef4444}.icon-button{border-color:#e2e8f0;background:#fff;color:#64748b}.metric,.rule-row,.position-row,.signal-row,.trade-row,.trace-item,.watch-user-card{border-color:#e6ebf1;background:#fff;color:#111827}.metric span,.rule-row span,.position-row span,.signal-row span,.trade-row span,.runtime-lines span{color:#64748b}.login-shell{background:#f4f6f8}.login-panel{border-color:#e4e8ee;background:#fff;color:#111827;box-shadow:0 15px 35px #0f172a1a}.auth-tabs{gap:6px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;padding:4px}.auth-tab{flex:1;min-height:34px;border:0;border-radius:6px;background:transparent;color:#64748b;font-weight:800}.auth-tab.active{background:#fff;color:#111827;box-shadow:0 1px 4px #0f172a1a}.holdings-card .empty-state{min-height:68px;border-color:#e2e8f0;border-style:solid;background:#fbfdff;color:#64748b}.scan-summary{min-height:48px;display:grid;gap:3px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:#334155;padding:10px 12px}.scan-summary strong{color:#172033;font-size:13px;font-weight:950}.scan-summary span,.scan-summary em{min-width:0;overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-style:normal;font-weight:750}.scan-summary.live{border-color:#bbf7d0;background:#f0fdf4}.scan-summary.live strong{color:#15803d}.scan-summary.good{border-color:#bbf7d0;background:#f0fdf4}.scan-summary.warn{border-color:#fde68a;background:#fffbeb}.scan-summary.muted{border-color:#e2e8f0;background:#f8fafc}@media (max-width: 980px){.app-topnav{flex-wrap:wrap;padding:8px 12px}.topbar-actions{width:100%}.sniper-console,.token-grid{grid-template-columns:minmax(0,1fr)}.sniper-config-card{position:static}}@media (max-width: 720px){.app-workspace{width:min(100% - 20px,640px);padding-top:10px}.top-nav-links .nav-button{min-width:auto}.mini-form-grid{grid-template-columns:minmax(0,1fr)}}
