:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#0a101b;color:#eef3fb}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1100px;margin:auto;padding:24px 16px 56px}header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:26px}h1{font-size:clamp(28px,5vw,42px);margin:4px 0}h2{font-size:19px;margin:0 0 16px}.eyebrow{color:#8fb4e9;font-size:11px;letter-spacing:2px;font-weight:800}.sub,.foot,.card p,small{color:#a2b0c6}.card{background:#131d2e;border:1px solid #26344c;border-radius:18px;padding:20px;margin-bottom:18px}button{border:1px solid #446ea6;border-radius:10px;background:#2057a4;color:white;padding:10px 18px;font-weight:700;cursor:pointer}button:hover{background:#2e6bc1}.login{max-width:430px;margin:60px auto}.login form{display:grid;gap:10px}.login input{width:100%;padding:13px;background:#0b1525;color:white;border:1px solid #4b5c75;border-radius:9px;font-size:16px}.error{color:#ff9a9a}.status{display:flex;justify-content:space-between;align-items:center}.label{color:#91a7c5;font-size:11px;letter-spacing:1px;font-weight:700}#statusText{font-size:18px;font-weight:750;margin:7px 0}.markets{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:16px 0 26px}.market{margin:0}.marketTop{display:flex;justify-content:space-between;gap:10px;align-items:center}.symbol{font-size:23px;font-weight:800}.pill{padding:5px 9px;border-radius:8px;background:#344158;color:#dce7f7;font-size:12px;font-weight:800}.pill.BUY{background:#174b38;color:#8ef3bf}.pill.SELL{background:#592c35;color:#ffb5bc}.price{font-size:25px;font-variant-numeric:tabular-nums;font-weight:800;margin:16px 0 6px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.grid div{border-top:1px solid #30415c;padding-top:9px}.grid b{display:block;font-size:15px;margin-top:4px;overflow-wrap:anywhere}.reason{font-size:12px;color:#b5c3d8;line-height:1.5;overflow-wrap:anywhere}.history{overflow:auto;max-height:420px}.history table{border-collapse:collapse;width:100%;font-size:13px;min-width:540px}.history th,.history td{text-align:left;padding:12px 9px;border-bottom:1px solid #2b3a53}.history th{color:#99afcc}.foot{font-size:12px;text-align:center}@media(max-width:520px){.wrap{padding:16px 12px}.card{padding:16px}.markets{grid-template-columns:1fr}.status{gap:10px}header{align-items:center}}

/* Scanner History v1.1 */
.historyHead{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}.historyHead h2{margin:0}.filterLabel{display:flex;align-items:center;gap:10px;color:#a2b0c6;font-size:13px}.filterLabel select{background:#0b1525;color:#eef3fb;border:1px solid #4b5c75;border-radius:9px;padding:10px 12px;font-size:14px;max-width:100%}.history table{min-width:850px}.history td{vertical-align:top}.history td:nth-child(3),.history td:nth-child(5){font-variant-numeric:tabular-nums}.history .reasonCell{max-width:340px;overflow-wrap:anywhere}.historyCount{font-size:12px;color:#91a7c5;margin-bottom:10px}.history .pill{display:inline-block}.history .noPrice{color:#8191a8}
@media(max-width:520px){.historyHead{align-items:stretch}.filterLabel{justify-content:space-between}.filterLabel select{flex:1;min-width:0}}
