:root { --bg:#06111f; --bg2:#091a2c; --panel:rgba(11,27,46,.84); --panel2:rgba(14,35,59,.73); --line:rgba(148,163,184,.16); --text:#e7f0fb; --muted:#8c9bb0; --cyan:#42d5d5; --blue:#6087ff; --green:#32c48d; --amber:#f6bd5b; --red:#ff7891; --shadow:0 22px 60px rgba(0,0,0,.28); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--text); background:var(--bg); }
* { box-sizing:border-box; } body { min-width:320px; margin:0; background:radial-gradient(800px 500px at 88% -5%,rgba(44,106,168,.27),transparent 70%),radial-gradient(650px 400px at 0 25%,rgba(15,122,125,.16),transparent 72%),var(--bg); color:var(--text); font-size:16px; } button,input { font:inherit; } button { cursor:pointer; } button:disabled { cursor:not-allowed; opacity:.55; } [hidden] { display:none!important; }
.topbar { position:sticky; top:0; z-index:10; border-bottom:1px solid var(--line); background:rgba(6,17,31,.84); backdrop-filter:blur(18px); }.topbar-inner,.shell { width:min(1160px,calc(100% - 40px)); margin:0 auto; }.topbar-inner { min-height:70px; display:flex; align-items:center; justify-content:space-between; gap:16px; }.brand { color:#fff; font-size:24px; font-weight:850; letter-spacing:-.06em; text-decoration:none; }.brand span { background:linear-gradient(90deg,var(--cyan),#7aa2ff); -webkit-background-clip:text; background-clip:text; color:transparent; }.header-meta { display:flex; align-items:center; gap:13px; }.shell { padding:30px 0 55px; }
.glass { border:1px solid var(--line); border-radius:21px; background:linear-gradient(135deg,rgba(18,42,69,.89),rgba(8,22,39,.86)); box-shadow:var(--shadow); }.auth-card { width:min(480px,100%); margin:55px auto; padding:32px; }.auth-card h1 { margin:4px 0 8px; font-size:clamp(28px,5vw,42px); line-height:1.04; letter-spacing:-.055em; }.auth-card h1 span { color:var(--cyan); }.auth-card>p,.subtle { color:var(--muted); line-height:1.55; }.eyebrow { margin:0; color:var(--cyan); font-size:11px; font-weight:850; letter-spacing:.12em; }.badge,.pill { min-height:29px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; background:rgba(9,23,40,.66); color:#b8c7dc; font-size:12px; font-weight:750; white-space:nowrap; }.badge.ok { border-color:rgba(50,196,141,.35); color:var(--green); }.badge.offline { border-color:rgba(255,120,145,.32); color:var(--red); }.badge.pending { color:var(--amber); }.pill.teal { border-color:rgba(66,213,213,.3); color:var(--cyan); }.pill.blue { border-color:rgba(96,135,255,.35); color:#9eb8ff; }.quiet,.secondary { min-height:38px; border:1px solid rgba(66,213,213,.23); border-radius:11px; background:rgba(18,76,103,.16); color:#a4f3f1; padding:0 13px; font-weight:750; }.quiet:hover,.secondary:hover { background:rgba(28,105,132,.25); }.primary { min-height:48px; width:100%; border:0; border-radius:13px; background:linear-gradient(100deg,#179f86,#30c99b 47%,#3979ed); box-shadow:0 10px 26px rgba(33,167,160,.22); color:white; display:flex; align-items:center; justify-content:center; gap:12px; font-weight:850; }.primary:hover:not(:disabled) { filter:brightness(1.08); }.primary b { font-size:20px; line-height:0; }
form { margin-top:21px; } label { display:block; margin-top:15px; color:#d4e2f4; font-size:14px; font-weight:700; } label small { color:var(--muted); font-size:12px; font-weight:550; } input { width:100%; height:48px; margin-top:7px; padding:0 13px; border:1px solid rgba(148,163,184,.23); border-radius:12px; outline:0; background:rgba(3,12,23,.59); color:var(--text); transition:border-color .15s,box-shadow .15s; } input:focus { border-color:rgba(66,213,213,.72); box-shadow:0 0 0 3px rgba(66,213,213,.12); }.error { min-height:20px; margin:10px 0 0; color:var(--red); font-size:13px; line-height:1.4; }.error:empty { display:none; }
.demo-banner { margin-bottom:16px; padding:13px 16px; border:1px solid rgba(246,189,91,.38); border-radius:15px; background:rgba(111,72,17,.19); color:#ffe5ad; display:flex; gap:12px; flex-wrap:wrap; font-size:14px; }.demo-banner span { color:#e5c889; }.health span { color:#91a2bb; font-size:10px; font-weight:850; letter-spacing:.1em; }.health-grid { margin:15px 0 22px; display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }.health { min-height:110px; padding:18px; }.health strong { display:block; margin-top:9px; color:#dbeafe; font-size:19px; }.health small { display:block; margin-top:6px; color:var(--muted); font-size:12px; }.health strong.ok { color:var(--green); }.health strong.offline { color:var(--red); }.health strong.warn { color:var(--amber); }
.wallet-health code { display:block; margin-top:7px; overflow-wrap:anywhere; color:#b7f3f0; font:11px ui-monospace,SFMono-Regular,Menlo,monospace; }.tabs { margin-bottom:18px; display:flex; gap:7px; overflow:auto; padding-bottom:2px; }.tab { min-height:39px; padding:0 16px; border:1px solid transparent; border-radius:11px; background:transparent; color:#9cadc2; font-size:14px; font-weight:750; white-space:nowrap; }.tab:hover { background:rgba(43,77,111,.23); color:#dbeafe; }.tab.active { border-color:rgba(66,213,213,.22); background:rgba(23,114,125,.16); color:var(--cyan); }.two-column { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(290px,.82fr); gap:15px; }.card { padding:24px; }.panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.panel-head h2,.guide h2 { margin:4px 0 0; font-size:23px; letter-spacing:-.035em; }.order-form form { margin-top:17px; }.amount-input { position:relative; }.amount-input input { padding-right:64px; }.amount-input span { position:absolute; right:13px; top:24px; color:#8fa1ba; font-size:13px; font-weight:700; }.presets { display:flex; gap:8px; margin:10px 0 15px; }.presets button { min-width:53px; height:31px; border:1px solid rgba(96,135,255,.3); border-radius:9px; background:rgba(55,82,151,.13); color:#b8cbff; font-size:13px; font-weight:750; }.presets button:hover { background:rgba(55,82,151,.27); }.explain { margin:15px 0; padding:13px; border:1px solid rgba(66,213,213,.16); border-radius:13px; background:rgba(9,83,86,.13); display:grid; gap:5px; font-size:13px; line-height:1.45; }.explain b { color:#a9f1ee; }.explain span,.muted { color:#a3b2c5; }.guide ol,.guide ul { margin:19px 0; padding-left:22px; color:#cbd8e8; line-height:1.55; }.guide li { margin:9px 0; }.guide .muted { font-size:13px; line-height:1.5; }
.list-card { margin-top:15px; }.order-list { margin-top:17px; display:grid; gap:10px; }.empty { padding:18px; border:1px dashed rgba(148,163,184,.24); border-radius:13px; color:var(--muted); text-align:center; font-size:14px; }.order-row { padding:16px; border:1px solid rgba(148,163,184,.13); border-radius:15px; background:rgba(3,13,26,.36); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; }.order-main { min-width:0; }.order-title { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }.order-title strong { color:#ebf4ff; font-size:16px; }.state,.automation-tag { padding:3px 8px; border-radius:999px; background:rgba(96,135,255,.14); color:#b3c7ff; font-size:11px; font-weight:800; }.automation-tag { background:rgba(66,213,213,.12); color:#9cf0ec; }.state.stopped,.state.failed,.state.cancelled { background:rgba(255,120,145,.13); color:#ff9caf; }.state.complete { background:rgba(50,196,141,.13); color:#75e1b5; }.order-id { margin-top:4px; overflow-wrap:anywhere; color:#8ea1ba; font:11px ui-monospace,SFMono-Regular,Menlo,monospace; }.progress-label { margin:13px 0 5px; color:#aebed2; font-size:12px; }.track { height:6px; overflow:hidden; border-radius:999px; background:rgba(79,98,126,.43); }.track b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--blue)); }.order-stats { margin-top:8px; color:#8fa1b9; font-size:12px; }.execution { margin-top:14px; padding:12px; border:1px solid rgba(148,163,184,.14); border-radius:12px; background:rgba(6,20,35,.45); }.execution-head,.fill-title { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }.execution strong,.fill-title strong { color:#d9e8fa; font-size:12px; }.execution-fresh { font-size:11px; color:var(--amber); }.execution-fresh.fresh { color:var(--green); }.execution-order-state { padding:2px 6px; border-radius:999px; background:rgba(96,135,255,.13); color:#b3c7ff; font-size:10px; font-weight:800; }.execution-order-state.stopped { background:rgba(255,120,145,.13); color:#ff9caf; }.fill-list { display:grid; gap:8px; margin-top:10px; }.fill { padding:10px; border-radius:10px; background:rgba(1,11,23,.38); }.fill-id { overflow-wrap:anywhere; color:#7590af; font:10px ui-monospace,SFMono-Regular,Menlo,monospace; }.lifecycle { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:9px; }.lifecycle-step { min-width:0; padding-left:9px; border-left:2px solid rgba(148,163,184,.25); display:grid; gap:3px; }.lifecycle-step span { color:#8093ab; font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }.lifecycle-step b { color:#93a6bb; font-size:11px; font-weight:650; line-height:1.3; }.lifecycle-step.done { border-color:var(--green); }.lifecycle-step.done span,.lifecycle-step.done b { color:#7be2b9; }.lifecycle-step.current { border-color:var(--cyan); }.lifecycle-step.current span,.lifecycle-step.current b { color:#a9f1ee; }.lifecycle-step.future { opacity:.64; }.fill-state,.execution-empty { margin:8px 0 0; color:#8194ac; font-size:11px; line-height:1.4; }.aggregate-execution { border-style:dashed; }.order-actions { min-width:120px; display:flex; flex-direction:column; gap:7px; align-self:center; }.stop { border-color:rgba(255,120,145,.27); background:rgba(151,29,59,.14); color:#ffafbd; }.stop:hover { background:rgba(151,29,59,.26); }.cancel { border-color:rgba(246,189,91,.27); background:rgba(122,81,18,.15); color:#f8d587; }.pool-grid { margin-top:18px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.pool { padding:17px; border:1px solid rgba(148,163,184,.14); border-radius:16px; background:rgba(3,13,26,.38); }.pool-head { display:flex; justify-content:space-between; gap:12px; }.pool h3 { margin:0; font-size:18px; }.pool p { margin:4px 0 0; color:#98a9c0; font-size:13px; }.pool code { display:block; margin-top:12px; overflow-wrap:anywhere; color:#a9f0ed; font:11px ui-monospace,SFMono-Regular,Menlo,monospace; }.pool-meta { margin:14px 0; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }.pool-meta span { display:block; color:#7f91aa; font-size:10px; font-weight:800; letter-spacing:.08em; }.pool-meta strong { display:block; margin-top:4px; font-size:14px; }.pool footer { display:flex; align-items:center; justify-content:space-between; gap:10px; }.link { color:var(--cyan); font-size:13px; font-weight:750; text-decoration:none; }.link:hover { text-decoration:underline; }.blacklisted { color:var(--amber); font-size:12px; font-weight:750; }.spread-copy { margin:15px 0 0; color:#9baec5; font-size:13px; line-height:1.5; }.autoarb { margin-top:15px; padding:13px; border:1px solid rgba(66,213,213,.18); border-radius:13px; background:rgba(9,83,86,.11); }.autoarb strong { color:#b8f6f2; font-size:13px; }.autoarb p { margin:5px 0 0; color:#9aaec5; font-size:12px; line-height:1.45; }.autoarb-controls { display:flex; gap:8px; margin-top:11px; }.autoarb-controls input { height:38px; min-width:0; margin:0; font-size:13px; }.autoarb-enable { flex:0 0 auto; min-height:38px; font-size:12px; }
.modal { position:fixed; z-index:30; inset:0; padding:20px; background:rgba(1,8,16,.73); display:grid; place-items:center; }.modal-card { position:relative; width:min(510px,100%); padding:27px; }.modal-card h2 { margin:5px 0 9px; font-size:26px; letter-spacing:-.035em; }.modal-card>p { color:#b4c4d6; line-height:1.55; }.modal-close { position:absolute; top:12px; right:13px; width:32px; height:32px; border:0; background:transparent; color:#9cadc2; font-size:25px; }.summary { margin:17px 0; padding:13px; border:1px solid rgba(148,163,184,.17); border-radius:12px; background:rgba(3,12,23,.45); display:grid; gap:7px; }.summary div { display:flex; justify-content:space-between; gap:16px; font-size:13px; }.summary span { color:#91a3bb; }.summary b { overflow-wrap:anywhere; text-align:right; }.modal-actions { display:flex; justify-content:flex-end; gap:9px; }.modal-actions .primary { width:auto; padding:0 16px; }.toast { position:fixed; right:20px; bottom:20px; z-index:40; max-width:min(410px,calc(100% - 40px)); padding:13px 16px; border:1px solid rgba(66,213,213,.24); border-radius:14px; background:rgba(5,18,33,.96); box-shadow:var(--shadow); color:#e9f7ff; font-size:14px; }.toast.error { border-color:rgba(255,120,145,.35); color:#ffc0cb; }
@media (max-width:800px) { .topbar-inner,.shell { width:min(100% - 26px,1160px); }.health-grid,.two-column { grid-template-columns:1fr; }.pool-grid { grid-template-columns:1fr; } }
@media (max-width:560px) { .topbar-inner { min-height:62px; }.brand { font-size:22px; }.shell { padding-top:18px; }.auth-card,.card { padding:19px; border-radius:17px; }.header-meta .quiet { display:none; }.health-grid { gap:9px; }.health { min-height:auto; padding:14px; }.tabs { margin-left:-4px; margin-right:-4px; }.tab { padding:0 12px; }.order-row { grid-template-columns:1fr; }.order-actions { flex-direction:row; }.order-actions button { flex:1; }.panel-head { align-items:flex-start; flex-direction:column; }.lifecycle { grid-template-columns:1fr; }.lifecycle-step { padding-left:10px; }.autoarb-controls { flex-direction:column; }.autoarb-enable { width:100%; }.modal-card { padding:22px; }.modal-actions { flex-direction:column-reverse; }.modal-actions .primary,.modal-actions .secondary { width:100%; }.pool-meta { grid-template-columns:1fr 1fr; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }
