#trade .chart-wrap .draw-tools{background:linear-gradient(150deg,#15191e,#090b0e)!important;border-color:#343d48!important;box-shadow:0 8px 30px #0009,inset 0 1px #ffffff0a!important;gap:4px!important;padding:5px!important;border-radius:12px!important;height:46px!important;max-height:46px!important}
#trade .chart-wrap .draw-tools>button{color:#9aa8b8!important;transition:background .16s,color .16s,border-color .16s,transform .16s;border:1px solid transparent;position:relative}
#trade .chart-wrap .draw-tools>button svg{width:21px!important;height:21px!important;stroke-width:1.65!important}
#trade .chart-wrap .draw-tools>button:hover{background:#242d38!important;color:#e5efff!important}
#trade .chart-wrap .draw-tools>button:focus-visible{outline:2px solid #64baff;outline-offset:2px}
#trade .chart-wrap .draw-tools>button.selected{background:linear-gradient(145deg,#173b5b,#102c43)!important;border-color:#3f9be3!important;color:#bde6ff!important;box-shadow:inset 0 1px #a6d9ff24,0 0 12px #188fe814}
#trade .chart-wrap .draw-tools>button:disabled{opacity:.3}
#trade .chart-wrap .draw-tools>#dockMore{border-top:0!important;margin-top:0!important}
dialog.market-quotes{width:min(520px,calc(100vw - 32px));max-width:520px;max-height:calc(100dvh - 48px);padding:0!important;overflow:hidden!important;background:#090a0c!important;color:#f1f4f8;border:1px solid #3c4551!important;border-radius:24px!important;box-shadow:0 32px 100px #000b,inset 0 1px #ffffff0b;margin:auto!important}
.market-quotes::backdrop{background:#000b;backdrop-filter:blur(7px)}.mq-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);padding:26px 26px 22px;box-sizing:border-box}.mq-header{display:flex;align-items:center;gap:14px;padding-bottom:22px;border-bottom:1px solid #282d35;flex-shrink:0}.mq-brand{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;color:#48aaff;background:linear-gradient(145deg,#063563,#071725);border:1px solid #1464a4;border-radius:16px;box-shadow:inset 0 1px #8bc7ff26}.mq-brand svg{width:29px;height:29px}.mq-header h2{font-size:24px;line-height:1.2;margin:0 0 7px;letter-spacing:-.6px}.mq-header p{font-size:13px;margin:0;color:#9aa8ba}.mq-close{margin-left:auto;flex-shrink:0;width:34px;height:34px;padding:8px;border:1px solid #39414c;border-radius:11px;color:#b8c3d2;background:#191d23;display:grid;place-items:center}.market-quotes button svg{width:20px;height:20px;flex-shrink:0}.market-quotes button:focus-visible,.mq-search:focus-within{outline:2px solid #409df7;outline-offset:3px}.mq-controls{padding:18px 0 16px;flex-shrink:0}.mq-statusbar{display:flex;gap:10px;align-items:center;padding:10px 12px;min-height:44px;box-sizing:border-box;border:1px solid #123049;border-radius:11px;background:#0b1823;font-size:12px;color:#b5d8f8}.mq-state{flex:1;line-height:1.5}.mq-state[data-state=error]{color:#ffb3b3}.mq-cadence{color:#849bb2;white-space:nowrap;font-size:11px}.mq-mini-refresh{display:grid;place-items:center;width:26px;height:26px;border:0;padding:3px;background:none;color:#70baff}.mq-search{display:flex;align-items:center;gap:10px;margin-top:14px;border:1px solid #39424e;border-radius:11px;background:#12151a;padding:0 13px}.mq-search>svg{width:20px;height:20px;color:#9ba8b9;flex-shrink:0}.mq-search input{width:100%;min-width:0;height:44px!important;padding:0!important;background:none!important;border:0!important;outline:none!important;box-shadow:none!important;color:#e8edf6;font-size:14px!important}.mq-search input::placeholder{color:#8693a4}.mq-columns{display:flex;justify-content:space-between;padding:4px 6px 13px;color:#8896a9;text-transform:uppercase;letter-spacing:.08em;font-size:11px;border-bottom:1px solid #2a3039;flex-shrink:0}.mq-list{overflow-y:auto;min-height:100px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#343d49 transparent;flex:1;padding:0 6px}.mq-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #242a32;min-height:67px;box-sizing:border-box}.mq-row:last-child{border-bottom:0}.mq-identity{display:flex;align-items:center;gap:12px;min-width:0}.mq-logo{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.mq-logo .market-icon{width:36px;height:36px;border-radius:50%}.mq-identity strong{display:block;font-size:15px;line-height:1.4;font-weight:600;color:#edf1f8}.mq-identity small{display:block;font-size:12px;margin-top:3px;color:#8493a7}.mq-value{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.2px}.mq-empty{padding:28px 0;color:#9ca9bc;font-size:14px;text-align:center}.mq-footer{flex-shrink:0;border-top:1px solid #2a3039;padding-top:14px}.mq-footer p{font-size:12px;color:#8996a8;line-height:1.6;margin:0 0 14px;text-align:center}.mq-refresh{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:600;color:#58aeff;border:1px solid #278fe9;border-radius:12px;background:#07131f;transition:background .15s}.mq-refresh:hover{background:#10273c}.mq-loading .mq-refresh svg,.mq-loading .mq-mini-refresh svg{animation:mq-spin 1.2s linear infinite}.market-quotes button:disabled{opacity:.5;cursor:wait}@keyframes mq-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){dialog.market-quotes{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:20px!important}.mq-shell{max-height:calc(100dvh - 26px);padding:20px 18px 16px}.mq-header{gap:11px;padding-bottom:18px}.mq-brand{width:44px;height:44px;border-radius:13px}.mq-header h2{font-size:21px}.mq-header p{font-size:11px}.mq-header .mq-close{width:32px;height:32px}.mq-state{font-size:11px}.mq-cadence{font-size:10px}.mq-statusbar{gap:7px;padding:9px}.mq-value{font-size:15px}.mq-row{min-height:65px}.mq-identity strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mq-loading .mq-refresh svg,.mq-loading .mq-mini-refresh svg{animation:none}}
.market-quotes .mq-search{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important}.market-quotes .mq-footer{display:block!important;grid-template-columns:none!important}.market-quotes .mq-footer .mq-refresh{min-height:46px!important}.market-quotes .mq-header{display:flex!important}
@media(max-width:999px){#trade .chart-wrap .draw-tools{height:auto!important;max-height:calc(100% - 24px)!important}}
