@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-950:oklch(12.9% .042 264.695);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.inline-flex{display:inline-flex}.table{display:table}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-slate-200{border-color:var(--color-slate-200)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-white{background-color:var(--color-white)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-white{color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:text-slate-950:hover{color:var(--color-slate-950)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}:root{color:#111827;font-synthesis:none;--blue:#2563eb;--border:#e6e9ef;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f6f7f9;min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,a{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{z-index:40;border-right:1px solid var(--border);background:#fff;flex-direction:column;width:230px;padding:22px 14px 16px;display:flex;position:fixed;inset:0 auto 0 0}.side-head{justify-content:space-between;align-items:center;height:42px;margin-bottom:26px;padding:0 10px;display:flex}.brand{letter-spacing:.13em;align-items:center;gap:10px;font-size:14px;font-weight:800;display:flex}.brand-mark{background:#111827;border-radius:9px;place-items:center;width:27px;height:27px;display:grid;position:relative}.brand-mark:before{content:"";border:3px solid #3b82f6;border-right-color:#0000;border-radius:50%;width:12px;height:12px}.brand-mark span{background:#8b5cf6;border-radius:50%;width:5px;height:5px;position:absolute;top:4px;right:4px}.sidebar nav{flex-direction:column;gap:4px;display:flex}.sidebar a{color:#64748b;border-radius:10px;align-items:center;gap:12px;height:45px;padding:0 13px;font-size:14px;font-weight:550;text-decoration:none;transition:all .16s;display:flex}.sidebar a:hover{color:#111827;background:#f7f8fa}.sidebar a.active{color:#1d4ed8;background:#eff6ff;box-shadow:inset 3px 0 #2563eb}.settings-link{margin-top:auto}.close-nav,.menu-btn{color:#475569;background:0 0;border:0;display:none}main{min-height:100vh;margin-left:230px}.topbar{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);z-index:20;background:#ffffffe0;justify-content:flex-end;align-items:center;gap:16px;height:68px;padding:0 clamp(20px,3.2vw,52px);display:flex;position:sticky;top:0}.top-logo{display:none}.lang{color:#94a3b8;align-items:center;gap:6px;font-size:12px;display:flex}.lang button{color:#94a3b8;background:0 0;border:0;padding:4px 2px;font-weight:700}.lang button.active{color:#1e293b}.theme-toggle{border:1px solid var(--border);color:#64748b;background:#fff;border-radius:9px;place-items:center;width:34px;height:34px;transition:all .16s;display:grid}.theme-toggle:hover{color:#111827;background:#f8fafc}.avatar{color:#fff;background:#111827;border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid}.content{max-width:1800px;margin:0 auto;padding:31px clamp(20px,3.2vw,52px) 52px}.page-title{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.page-title p{color:#94a3b8;margin:0 0 4px;font-size:13px;font-weight:600}.page-title h1{letter-spacing:-.035em;margin:0;font-size:27px;line-height:1.2}.live-badge{color:#475569;border:1px solid var(--border);background:#fff;border-radius:999px;align-items:center;gap:8px;padding:7px 11px;font-size:12px;font-weight:600;display:flex}.live-badge span{background:#22c55e;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #dcfce7}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.metric,.panel{border:1px solid var(--border);background:#fff;border-radius:14px;box-shadow:0 1px 2px #0f172a06}.metric{min-height:143px;padding:20px}.metric>div{color:#64748b;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.metric strong{letter-spacing:-.035em;margin-top:17px;font-size:24px;display:block}.metric strong small{color:#cbd5e1;font-size:16px}.metric p{color:#94a3b8;align-items:center;gap:7px;margin:7px 0 0;font-size:12px;display:flex}.metric p b,.positive{font-style:normal;color:#16a34a!important}.metric.primary{color:#fff;background:linear-gradient(145deg,#111827,#172033);border:0}.metric.primary>div{color:#9ca3af}.metric.primary p b{color:#4ade80}.dot{background:#22c55e;border-radius:50%;width:7px;height:7px}.main-grid{grid-template-columns:minmax(0,1.9fr) minmax(300px,.8fr);gap:14px;min-width:0;margin-bottom:14px;display:grid}.main-grid>*{min-width:0}.panel{padding:20px}.panel-head{justify-content:space-between;align-items:flex-start;gap:14px;min-height:40px;display:flex}.panel-head h2{letter-spacing:-.015em;margin:0;font-size:15px}.panel-head p{color:#94a3b8;margin:5px 0 0;font-size:12px}.segmented{background:#f1f5f9;border-radius:8px;padding:3px;display:flex}.segmented button{color:#94a3b8;background:0 0;border:0;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:650}.segmented button.active{color:#334155;background:#fff;box-shadow:0 1px 2px #0f172a14}.chart-panel{min-width:0;overflow:hidden}.chart{width:100%;min-width:0;height:230px;margin-top:8px;overflow:hidden}.bots-panel{padding-bottom:10px}.bot-row{border-bottom:1px solid #f0f2f5;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:13px 0;display:grid}.bot-row:last-child{border:0}.bot-icon{color:#2563eb;background:#eff6ff;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.bot-row strong,.bot-row small{display:block}.bot-row strong{font-size:12px}.bot-row small{color:#94a3b8;margin-top:3px;font-size:11px}.bot-meta{text-align:right}.bot-meta strong{color:#16a34a}.positions{padding-bottom:8px}.positions .panel-head{align-items:center}.table-wrap{margin:12px -8px 0;overflow:auto}table{border-collapse:collapse;width:100%;min-width:720px;font-size:12px}th{color:#94a3b8;text-align:left;border-bottom:1px solid var(--border);padding:10px 14px;font-weight:600}td{color:#475569;border-bottom:1px solid #f0f2f5;padding:14px;font-weight:550}td:first-child{color:#1e293b;font-weight:650}.market-icon{background:#f1f5f9;border-radius:7px;place-items:center;width:25px;height:25px;margin-right:9px;font-size:11px;display:inline-grid}.yes,.no{border-radius:6px;padding:4px 7px;font-weight:700}.yes{color:#2563eb;background:#eff6ff}.no{color:#7c3aed;background:#f5f3ff}.negative{color:#dc2626}.empty-view{text-align:center;color:#94a3b8;place-content:center;min-height:65vh;display:grid}.empty-view h1{color:#1e293b;margin:14px 0 0;font-size:24px}.empty-view p{margin:8px 0}.empty-icon{border:1px solid var(--border);color:#2563eb;background:#fff;border-radius:14px;place-items:center;width:52px;height:52px;margin:auto;display:grid}.toolbar{justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.search{border:1px solid var(--border);color:#94a3b8;background:#fff;border-radius:10px;align-items:center;gap:9px;width:min(420px,100%);height:40px;padding:0 12px;display:flex}.search input{color:#111827;background:0 0;border:0;outline:0;width:100%;font-size:13px}.data-panel{padding:0 8px 8px}.data-panel .table-wrap{margin-top:0}.market-cell{align-items:center;display:flex}.market-cell div{display:grid}.market-cell small{color:#94a3b8;margin-top:2px;font-size:10px}.strategy-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:14px;display:grid}.strategy-list{flex-direction:column;gap:10px;display:flex}.strategy-card{grid-template-columns:42px minmax(140px,1fr) repeat(3,minmax(70px,.45fr)) 40px;align-items:center;gap:16px;min-height:88px;display:grid}.strategy-icon{border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.strategy-icon.blue{color:#2563eb;background:#eff6ff}.strategy-icon.violet{color:#7c3aed;background:#f5f3ff}.strategy-icon.green{color:#059669;background:#ecfdf5}.strategy-copy,.strategy-stat{gap:5px;display:grid}.strategy-copy strong{font-size:13px}.strategy-copy span,.strategy-stat small{color:#94a3b8;font-size:11px}.strategy-stat strong{font-size:13px}.allocation-chart{width:100%;height:190px}.legend{gap:10px;display:grid}.legend>div{grid-template-columns:8px 1fr auto;align-items:center;gap:8px;font-size:11px;display:grid}.legend>div>span{border-radius:50%;width:8px;height:8px}.legend label{color:#64748b}.legend strong{color:#334155}.bot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.bot-card{min-height:190px}.bot-card-top{align-items:center;gap:10px;display:flex}.bot-card-top .status{margin-left:auto}.power{border:1px solid var(--border);color:#64748b;background:#fff;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.status{color:#64748b;text-transform:uppercase;padding-left:11px;font-size:10px;font-weight:700;position:relative}.status:before{content:"";background:#94a3b8;border-radius:50%;width:6px;height:6px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.status.online:before{background:#22c55e}.status.idle:before{background:#f59e0b}.bot-card h2{margin:16px 0 4px;font-size:15px}.bot-card>p{color:#94a3b8;margin:0;font-size:11px}.bot-stats{border-top:1px solid #f0f2f5;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px;padding-top:15px;display:grid}.bot-stats div{gap:5px;display:grid}.bot-stats small{color:#94a3b8;font-size:10px}.bot-stats strong{font-size:12px}.dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a6b;animation:.18s fade;position:fixed;inset:0}.dialog{z-index:61;border:1px solid var(--border);background:#fff;border-radius:16px;width:min(440px,100vw - 28px);padding:22px;animation:.2s pop;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 30px 80px #0f172a38}.dialog-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.dialog-head h2{margin:0;font-size:17px}.dialog-head button{color:#64748b;background:0 0;border:0}.form{gap:14px;display:grid}.form label,.login-card label,.settings-form label{color:#475569;gap:7px;font-size:12px;font-weight:650;display:grid}.form input,.login-card input,.settings-form select{border:1px solid var(--border);color:#111827;background:#fff;border-radius:9px;outline:0;width:100%;height:41px;padding:0 11px;font-size:13px;transition:all .15s}.form input:focus,.login-card input:focus,.settings-form select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #dbeafe}.form label small,.login-card label small{color:#dc2626;font-size:10px}.token-result{text-align:center;justify-items:center;display:grid}.success-icon{color:#059669;background:#ecfdf5;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.token-result h3{margin:12px 0 2px;font-size:16px}.token-result p{color:#64748b;margin:0 0 16px;font-size:12px}.token-result code{color:#334155;text-align:left;background:#f1f5f9;border-radius:9px;width:100%;margin-bottom:12px;padding:12px;font-size:11px;overflow:auto}.settings-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);align-items:start;gap:14px;display:grid}.settings-form{gap:22px;display:grid}.settings-section{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.settings-section h2{border-bottom:1px solid #f0f2f5;grid-column:1/-1;margin:0;padding-bottom:12px;font-size:14px}.settings-section+.settings-section{grid-template-columns:1fr}.check{grid-column:1/-1;align-items:center;gap:10px!important;display:flex!important}.check input{accent-color:#2563eb;width:16px;height:16px}.security-card{padding:24px}.security-icon{color:#2563eb;background:#eff6ff;border-radius:13px;place-items:center;width:46px;height:46px;display:grid}.security-card h2{margin:16px 0 6px;font-size:15px}.security-card p{color:#64748b;margin:0 0 20px;font-size:12px;line-height:1.6}.security-card>div{color:#64748b;border-top:1px solid #f0f2f5;gap:10px;padding-top:15px;font-size:11px;line-height:1.5;display:flex}.login-page{background:radial-gradient(circle at 50% 40%,#fff 0,#f6f7f9 56%);min-height:100vh;padding:26px clamp(20px,5vw,72px)}.login-top,.login-actions{justify-content:space-between;align-items:center;display:flex}.login-actions{gap:12px}.login-card{border:1px solid var(--border);background:#ffffffeb;border-radius:18px;width:min(390px,100%);margin:clamp(80px,15vh,150px) auto 0;padding:30px;box-shadow:0 18px 60px #0f172a14}.login-icon{color:#fff;background:#111827;border-radius:13px;place-items:center;width:46px;height:46px;display:grid}.login-card h1{letter-spacing:-.035em;margin:17px 0 24px;font-size:25px}.login-card label{margin-bottom:14px}.login-card button[type=submit]{width:100%;margin-top:5px}.splash{background:#f6f7f9;place-content:center;justify-items:center;gap:20px;min-height:100vh;display:grid}.splash>span{border:2px solid #cbd5e1;border-top-color:#2563eb;border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translate(-50%,-48%)scale(.98)}}.dark{color-scheme:dark;--border:#252d3a}.dark body,.dark :root{color:#e5e7eb;background:#0b0f16}.dark .sidebar{background:#0f141d;border-color:#252d3a}.dark .brand{color:#f8fafc}.dark .brand-mark{background:#070a0f;box-shadow:0 0 0 1px #283244}.dark .sidebar a{color:#8994a6}.dark .sidebar a:hover{color:#f8fafc;background:#171d28}.dark .sidebar a.active{color:#60a5fa;background:#14213a;box-shadow:inset 3px 0 #3b82f6}.dark main,.dark .content{background:#0b0f16}.dark .topbar{background:#0f141de6;border-color:#252d3a}.dark .topbar .lang button.active,.dark .login-top .lang button.active{color:#e5e7eb}.dark .theme-toggle{color:#a8b2c1;background:#151b26;border-color:#2a3443}.dark .theme-toggle:hover{color:#fff;background:#1d2532}.dark .avatar{color:#111827;background:#e5e7eb}.dark .page-title h1{color:#f5f7fa}.dark .page-title p,.dark .metric>div,.dark .panel-head p{color:#778397}.dark .live-badge{color:#aeb7c5;background:#111722;border-color:#283140}.dark .live-badge span{box-shadow:0 0 0 3px #22c55e24}.dark .metric,.dark .panel{background:#111722;border-color:#252d3a;box-shadow:0 1px 2px #0003}.dark .metric.primary{background:linear-gradient(145deg,#172135,#101724);border:1px solid #29354a}.dark .metric strong,.dark .panel-head h2,.dark .strategy-copy strong,.dark .strategy-stat strong,.dark .bot-card h2,.dark .security-card h2,.dark .settings-section h2{color:#f3f4f6}.dark .metric p,.dark .metric strong small{color:#6f7b8e}.dark .segmented{background:#0b1018}.dark .segmented button{color:#687386}.dark .segmented button.active{color:#e5e7eb;box-shadow:none;background:#202938}.dark .bot-row,.dark td,.dark th,.dark .bot-stats,.dark .settings-section h2,.dark .security-card>div{border-color:#222a36}.dark .bot-icon,.dark .security-icon{color:#60a5fa;background:#14213a}.dark td{color:#a8b2c1}.dark td:first-child{color:#e5e7eb}.dark th{color:#687386}.dark .market-icon{color:#aeb7c5;background:#1d2532}.dark .yes{color:#60a5fa;background:#14213a}.dark .no{color:#a78bfa;background:#251d3d}.dark .search,.dark .form input,.dark .login-card input,.dark .settings-form select,.dark .power{color:#e5e7eb;background:#0d121a;border-color:#2a3341}.dark .search input{color:#e5e7eb}.dark .form input:focus,.dark .login-card input:focus,.dark .settings-form select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #2563eb2e}.dark .strategy-icon.blue{color:#60a5fa;background:#14213a}.dark .strategy-icon.violet{color:#a78bfa;background:#251d3d}.dark .strategy-icon.green{color:#34d399;background:#102b25}.dark .dialog-overlay{background:#000000a6}.dark .dialog{background:#111722;border-color:#2a3341;box-shadow:0 30px 90px #00000080}.dark .dialog-head h2,.dark .token-result h3{color:#f3f4f6}.dark .token-result code{color:#c4ccd8;background:#0b1018}.dark .security-card p,.dark .security-card>div,.dark .bot-card>p,.dark .strategy-copy span,.dark .strategy-stat small,.dark .legend label{color:#778397}.dark .legend strong{color:#d5dae2}.dark .login-page{background:radial-gradient(circle at 50% 38%,#172033 0,#0b0f16 55%)}.dark .login-card{background:#111722f0;border-color:#2a3341;box-shadow:0 24px 80px #00000059}.dark .login-card h1{color:#f8fafc}.dark .login-card label,.dark .form label,.dark .settings-form label{color:#a8b2c1}.dark .login-icon{background:#2563eb}.dark .splash{background:#0b0f16}.dark .bg-white{background-color:#151b26!important}.dark .border-slate-200{border-color:#2a3341!important}.dark .text-slate-700,.dark .text-slate-600{color:#a8b2c1!important}.dark .hover\:bg-slate-50:hover,.dark .hover\:bg-slate-100:hover{background-color:#1d2532!important}.dark .hover\:text-slate-950:hover{color:#f8fafc!important}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.main-grid{grid-template-columns:1fr}.bots-panel{grid-template-columns:repeat(2,1fr);gap:0 24px;display:grid}.bots-panel .panel-head{grid-column:1/-1}.bot-row:nth-last-child(2){border-bottom:0}.bot-grid{grid-template-columns:repeat(2,1fr)}.strategy-layout{grid-template-columns:1fr}.allocation{grid-template-columns:1fr 1fr;align-items:center;display:grid}.allocation .panel-head{grid-column:1/-1}}@media(max-width:760px){.sidebar{transition:transform .22s;transform:translate(-100%);box-shadow:16px 0 40px #0f172a1f}.sidebar.open{transform:none}.close-nav,.menu-btn{place-items:center;display:grid}.backdrop{z-index:35;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a59;border:0;position:fixed;inset:0}.top-logo{display:block}.top-logo .brand>span:last-child{display:none}.topbar{justify-content:flex-start;height:62px;padding:0 16px}.topbar .lang{margin-left:auto}.avatar{width:32px;height:32px}main{margin-left:0}.content{padding:22px 16px 90px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{min-height:130px;padding:16px}.metric strong{font-size:20px}.main-grid{gap:10px}.panel{border-radius:12px;padding:16px}.bots-panel{display:block}.bot-row:nth-last-child(2){border-bottom:1px solid #f0f2f5}.live-badge{padding:10px;font-size:0}.page-title h1{font-size:24px}.bot-grid{grid-template-columns:1fr}.strategy-card{grid-template-columns:40px 1fr 36px}.strategy-stat{display:none}.settings-grid,.settings-section{grid-template-columns:1fr}.allocation{display:block}}@media(max-width:480px){.metrics{grid-template-columns:1fr}.metric{min-height:118px}.panel-head{flex-wrap:wrap}.segmented{width:100%}.segmented button{flex:1}.chart{width:calc(100% + 16px);margin-left:-8px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
