._container_1pbj4_1{position:fixed;top:40px;right:40px;z-index:1000000;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}._toast_1pbj4_12{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:320px;margin-bottom:10px;padding:16px 24px;font-size:15px;font-weight:600;color:#fff;background:#1a1a1a;border-radius:8px;box-shadow:0 8px 32px #00000080;animation:_slideIn_1pbj4_1 .4s cubic-bezier(.23,1,.32,1) forwards;pointer-events:auto}._success_1pbj4_30{border-left:6px solid #00e676}._error_1pbj4_34{border-left:6px solid #ff5252}._message_1pbj4_38{flex:1}._closeButton_1pbj4_42{display:flex;align-items:center;justify-content:center;padding:4px;font-size:18px;color:#ffffff80;cursor:pointer;background:transparent;border:none;transition:color .2s}._closeButton_1pbj4_42:hover{color:#fff}@media (max-width: 768px){._container_1pbj4_1{top:16px;right:16px;left:16px;align-items:stretch}._toast_1pbj4_12{min-width:0}}._page_1ypkk_1{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f6f8}._card_1ypkk_9{width:min(440px,100%);padding:28px 24px 24px;border-radius:8px;background:#fff;border:1px solid #d9e2ec;box-shadow:0 1px 2px #0f172a0a}._brand_1ypkk_18{margin-bottom:16px;color:#1677ff;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}._header_1ypkk_27{margin-bottom:18px}._header_1ypkk_27 h1{margin:0 0 8px;color:#172033;font-size:24px;line-height:1.1}._header_1ypkk_27 p{margin:0;color:#64748b;line-height:1.55}._form_1ypkk_44{display:grid;gap:12px}._field_1ypkk_49{display:grid;gap:6px}._label_1ypkk_54{color:#526274;font-size:13px;font-weight:600}._input_1ypkk_60,._passwordField_1ypkk_61{width:100%;border-radius:8px;border:1px solid #d9e2ec;background:#fff;transition:border-color .2s ease,box-shadow .2s ease,box-shadow .2s ease}._input_1ypkk_60{min-height:40px;padding:0 12px;color:#172033;font-size:14px}._totpInput_1ypkk_76{letter-spacing:0}._passwordField_1ypkk_61{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding-right:6px}._passwordInput_1ypkk_87{min-width:0;min-height:38px;border:none;background:transparent;padding:0 12px;color:#172033;font-size:14px}._input_1ypkk_60:focus,._passwordInput_1ypkk_87:focus{outline:none}._input_1ypkk_60:focus,._passwordField_1ypkk_61:focus-within{border-color:#1677ff;box-shadow:0 0 0 3px #1677ff1a}._toggleButton_1ypkk_108{min-width:68px;height:32px;padding:0 14px;border:none;border-radius:6px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s ease,transform .2s ease,opacity .2s ease}._toggleButton_1ypkk_108:hover:not(:disabled){background:#e8eef5;transform:none}._error_1ypkk_127{min-height:20px;color:#b44034;font-size:13px;line-height:1.5;opacity:0;transition:opacity .2s ease}._errorVisible_1ypkk_136{opacity:1}._submitButton_1ypkk_140{min-height:40px;border:none;border-radius:8px;background:#1677ff;color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:none;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}._submitButton_1ypkk_140:hover:not(:disabled){transform:none;background:#0f67db;box-shadow:none}._submitButton_1ypkk_140:disabled,._toggleButton_1ypkk_108:disabled,._input_1ypkk_60:disabled,._passwordInput_1ypkk_87:disabled{cursor:not-allowed;opacity:.72}@media (max-width: 640px){._page_1ypkk_1{padding:16px}._card_1ypkk_9{padding:24px 20px 20px;border-radius:10px}._header_1ypkk_27 h1{font-size:22px}._passwordField_1ypkk_61{grid-template-columns:1fr;padding-right:0}._toggleButton_1ypkk_108{width:calc(100% - 12px);margin:0 6px 6px}}:root{--bg: #f4f6f8;--ink: #172033;--muted: #64748b;--card: #ffffff;--line: #d9e2ec;--line-soft: #e8eef5;--surface-muted: #f8fafc;--accent: #1677ff;--accent-2: #0f766e;--radius-card: 10px;--radius-panel: 8px;--radius-control: 6px;--shadow: 0 1px 2px rgba(15, 23, 42, .04);--shadow-popover: 0 10px 24px rgba(15, 23, 42, .1);--font: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;--font-tabular: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif}html,body,#root{min-height:100%;height:100%}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font)}button,input,select,textarea{font-family:inherit}.login{display:grid;place-items:center;min-height:100vh;padding:24px}.login-card{width:min(420px,100%);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);padding:28px;border-radius:var(--radius-card)}.login-card h1{margin:0 0 8px;font-size:28px}.login-card p{margin:0 0 20px;color:var(--muted)}.login-card form{display:grid;gap:12px}.login-card label{display:grid;gap:6px;font-size:14px;color:var(--muted)}.login-card input{border:1px solid var(--line);padding:10px 12px;border-radius:var(--radius-control);font-size:14px;width:100%}.login-card button{margin-top:6px;padding:10px 14px;border-radius:var(--radius-control);border:none;background:var(--accent);color:#fff;font-weight:600;cursor:pointer}.login-error{color:#b00020;font-size:13px;min-height:16px}.password-input-wrapper{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:var(--radius-control);background:#fff;overflow:hidden}.password-input-wrapper input{flex:1;margin:0;padding:10px 12px;border:none;background:transparent}.show-password-btn{margin:0;padding:0 14px;border:none;background:transparent;color:var(--ink);font-weight:600;cursor:pointer;white-space:nowrap}.dashboard{min-height:100%}.dashboard-content{min-width:0}@media (min-width: 1281px){.dashboard-chart-page{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dashboard-chart-page>.topbar{flex:0 0 auto}.dashboard-chart-page>.dashboard-content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}}.route-loading{min-height:calc(100vh - 96px);display:grid;place-items:center;gap:12px;padding:32px 20px 48px;color:var(--muted);text-align:center}.route-loading-spinner{width:28px;height:28px;border:3px solid rgba(30,111,92,.18);border-top-color:var(--accent-2);border-radius:50%;animation:routeLoadingSpin .8s linear infinite}.route-loading-text{font-size:13px;letter-spacing:.04em}@keyframes routeLoadingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.symbol-col{display:flex;align-items:center;gap:10px}.pin-btn{position:absolute;top:10px;right:10px;background:transparent;border:none;font-size:18px;cursor:pointer;padding:0;margin:0;opacity:.2;transition:all .2s ease;filter:grayscale(1);display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-control);z-index:10}.pin-btn:hover{opacity:.8;transform:scale(1.15);filter:grayscale(.5)}.pin-btn.active{opacity:1;filter:grayscale(0);transform:scale(1.1) rotate(-15deg);text-shadow:0 0 8px rgba(251,191,36,.4)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar h2{margin:0 0 4px;font-size:22px}.meta{font-size:13px;color:var(--muted);display:none}.ghost{background:transparent;border:1px solid var(--line);padding:8px 12px;border-radius:var(--radius-control);cursor:pointer}.toolbar{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow);padding:10px;margin-bottom:10px}.toolbar .row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start;margin-bottom:10px}.toolbar label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.toolbar input,.toolbar select{border:1px solid var(--line);padding:8px 10px;border-radius:var(--radius-control);font-size:13px;min-width:140px}.toolbar .inline{display:flex;align-items:center;gap:6px;color:var(--muted)}.fixed-input{display:flex;gap:8px;align-items:center}.toolbar .row>.fixed-input{flex-wrap:nowrap;justify-content:flex-end;min-width:0}.toolbar .row>.fixed-input:last-child{margin-left:auto}.funding-search-group{flex:0 1 120px;min-width:96px}.funding-search-group input{width:100%;min-width:0}.arb-left-controls{display:flex;align-items:flex-end;flex:1 1 520px;min-width:0}.arb-search-group{margin-right:18px;flex:0 1 114px;min-width:114px}.arb-search-group input{width:120px;min-width:0}.arb-filter-group{margin-right:0;gap:6px;flex:0 0 auto;min-width:0}.arb-filter-group input{width:min(430px,62vw);min-width:0}input.funding-overview-filter,input.funding-monitor-filter{width:55ch!important;max-width:100%!important;min-width:0!important}input.arb-dashboard-filter{width:38ch!important;max-width:100%!important;min-width:0!important}.fixed-input input{width:120px;min-width:60px}.arb-pin-actions{gap:12px}.arb-pin-group{display:flex;align-items:center;gap:8px}.toolbar .arb-pin-input{width:120px!important;min-width:120px!important}.fixed-input button{padding:7px 12px;border-radius:var(--radius-control);border:none;background:var(--accent-2);color:#fff;font-weight:600;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,filter .16s ease;box-shadow:none;flex-shrink:0;white-space:nowrap}.fixed-input button:hover{background:#258a72;box-shadow:none}.fixed-input button:active{filter:brightness(.9)}.fixed-input .arb-ghost-btn{background:transparent;color:var(--text);border:1px solid #c9c5bc;box-shadow:none}.fixed-input .arb-ghost-btn:hover{background:#f8fafc;box-shadow:none;border-color:#b8c5d1}.fixed-input .arb-ghost-btn:active{background:#eef2f6;filter:none}.fixed-input .arb-refresh-btn{margin-left:18px}.fixed-input .arb-outline-btn{background:transparent;color:var(--text);border:1px solid #c9c5bc;box-shadow:none}.fixed-input .arb-outline-btn:hover{background:#f8fafc;border-color:#b8c5d1}.fixed-input .arb-sub1-btn:hover{background:#fbfceb8f;border-color:#c8ce9f}.fixed-input .arb-sub2-btn:hover{background:#eef6f28c;border-color:#a9c6ba}.fixed-input .arb-outline-btn:active{background:#eef2f6;filter:none}.fixed-input .funding-filter-btn{font-weight:400}.logout-btn{margin-left:60px!important;background:#f1f3f5!important;color:#fa5252!important;border:1px solid #ffc9c9!important;box-shadow:none!important}.logout-btn:hover{background:#fff5f5!important}.fixed-list{display:flex;flex-wrap:wrap;gap:8px}.arb-fixed-list{align-items:center}.tag{display:inline-flex;gap:6px;padding:4px 8px;background:#f1ede4;border-radius:999px;font-size:12px;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(680px,1fr));gap:14px}.tag.arb-tag-sub1{background:#fbfceb8f}.tag.arb-tag-sub2{background:#eef6f28c}.funding-cards{grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow);padding:10px 10px 8px;position:relative}.funding-card{padding:10px 10px 8px}.funding-card .card-header-row{padding-right:24px}.funding-card .symbol-col{width:84px}.card-header-row{display:flex;align-items:center;margin-bottom:12px;padding-right:36px}.symbol-col{width:120px;flex-shrink:0}.metrics-row{flex:1;display:flex;justify-content:space-between;align-items:center;padding-right:8px}.funding-metrics{display:grid;grid-template-columns:auto auto auto;column-gap:16px;row-gap:6px;justify-content:space-between;align-items:center;width:100%;margin-left:0;white-space:normal}.funding-stat{display:flex;align-items:baseline;gap:6px;padding:2px 0;border-radius:0;background:transparent;border:none;box-shadow:none;white-space:nowrap;min-width:0}.funding-stat .k{font-size:12px;color:#6b7280;font-weight:600;letter-spacing:.2px}.funding-stat .v{font-size:12px;line-height:1;color:#1f2937;font-weight:400;font-variant-numeric:tabular-nums}.funding-stat:last-child{justify-self:auto}.card h3{margin:0;font-size:20px;color:var(--accent-2)}.pill{background:#f6f8fb;border:1px solid #e2e8f0;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:600;color:#526274;white-space:nowrap;box-shadow:none}.pill.secondary{background:#eef2f6;color:var(--muted)}.card-header{margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:10px}.metrics{display:flex;gap:6px;flex-wrap:wrap}.grid{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.grid thead th{text-align:center;font-weight:600;color:#444;padding:6px 4px;border-bottom:1px solid var(--line)}.grid th:first-child,.exchange-label{width:95px;text-align:center!important;padding-right:20px!important}.grid tbody td{padding:4px 2px;text-align:center}.price-cell,.rate-now,.rate-hist,.oi-cell,.time-h{width:auto}.exchange{font-weight:600;color:#333;width:64px}.exchange-label{font-weight:600;color:var(--accent-2)}.rate-now,.rate-hist{color:#1e40af}.price-row td,.rate-row td{border-bottom:none}.price-cell{color:#ea580c}.oi-cell{color:#0d9488}.oi-row td{border-bottom:1px solid #777;padding-bottom:12px!important}.grid tbody tr:nth-last-child(-n+3) td{border-bottom:none!important}.price-row td{padding-top:12px!important}.center-cell{text-align:center}.trend-cell{width:16px;min-width:16px;text-align:left;font-weight:900!important;font-size:15px;padding:0!important;position:relative;left:-8px}.trend-cell.up,.trend-cell.same{color:#059669}.trend-cell.down{color:#fa5252}.trend-h{width:16px;padding:0!important}.meta-h,.meta-cell{text-align:center;white-space:nowrap;width:auto}.grid th:last-child,.grid td:last-child{width:60px}.monitor-rules-table thead th{white-space:nowrap}.monitor-rules-table th:first-child,.monitor-rules-table td:first-child{text-align:left!important;padding-left:12px!important;padding-right:8px!important}.monitor-rules-table th:nth-child(2),.monitor-rules-table td:nth-child(2){text-align:left!important;padding-left:8px!important;padding-right:8px!important}.monitor-rules-table tbody td{vertical-align:middle;padding-top:6px;padding-bottom:6px}.monitor-rule-cell{display:flex;justify-content:center;align-items:center;min-height:32px}.monitor-rule-cell-split{flex-direction:column;gap:4px}.monitor-range-chip{display:inline-flex;align-items:center;gap:4px;padding:0;border:none;background:transparent;box-shadow:none;font-size:13px;font-weight:600;color:#5c6570;font-variant-numeric:tabular-nums;white-space:nowrap}.monitor-range-bracket{color:#b5aa93;font-weight:700}.monitor-range-sep{color:#c1b49b;margin:0 1px}.monitor-range-value{min-width:48px;text-align:center;border-radius:0;padding:0}.monitor-range-value.empty{color:#c2c7ce;background:transparent}.monitor-range-value.active.left{color:#8a5a00;background:transparent}.monitor-range-value.active.right{color:#0f5f87;background:transparent}.monitor-rule-pill{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;border:1px solid transparent;background:#f5f5f5;color:#555}.monitor-rule-pill.down{color:#8a5a00;background:#fff4df;border-color:#f0d6a3}.monitor-rule-pill.up{color:#0f5f87;background:#eaf6ff;border-color:#bcdcf2}.monitor-rule-empty{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:0;border-radius:0;background:transparent;color:#b2b8bf;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.monitor-exchange-chip{display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:0;border:none;background:transparent;color:#4b5563;font-size:13px;font-weight:600;text-transform:capitalize;white-space:nowrap}.monitor-time-chip{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:0;border-radius:0;background:transparent;color:#5c6570;border:none;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.monitor-time-chip.warm{background:transparent;color:#5c6570;border:none}.funding-grid{table-layout:fixed}.funding-grid thead th{padding:8px;text-align:center}.funding-grid tbody td{padding:6px 8px;text-align:center;border-bottom:1px solid #efebe2!important}.funding-grid tbody tr:last-child td{border-bottom:none!important}.funding-grid th:first-child,.funding-grid .exchange-label{width:26%;padding-left:25px!important;padding-right:8px!important;text-align:left!important}.funding-grid .exchange-label{font-size:13px}.funding-grid th:nth-child(2),.funding-grid td:nth-child(2){width:26%}.funding-grid th:nth-child(3),.funding-grid td:nth-child(3){width:24%}.funding-grid th:nth-child(4),.funding-grid td:nth-child(4){width:24%;text-align:right;padding-right:25px}.funding-grid .rate-now{color:inherit!important}@media (max-width: 760px){.funding-metrics{grid-template-columns:auto auto auto;column-gap:10px}}@media (max-width: 520px){.funding-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.highlight{color:var(--accent);font-weight:600}@media (max-width: 640px){.cards{grid-template-columns:1fr}.funding-cards{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}}.topbar{display:flex;align-items:center;gap:12px;padding:7px 16px;border-bottom:1px solid var(--line);background:var(--card)}.tab-bar{display:flex;gap:4px;min-width:0}.tab-btn{padding:6px 12px;border:none;background:transparent;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;border-radius:var(--radius-control);transition:background-color .15s ease,color .15s ease;white-space:nowrap;flex:0 0 auto}.tab-btn:hover{background:#f2f6fa;color:var(--ink)}.tab-btn.active{background:#eaf3ff;color:var(--accent);font-weight:600}.topbar .meta{flex:1;text-align:right;font-size:12px;color:var(--muted)}.topbar-logout{font-size:12px;padding:4px 12px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:4px;cursor:pointer;margin-left:6px!important}.topbar-logout:hover{background:#fee;color:#c33}.version-update-banner{margin:8px 0 10px;padding:8px 10px;border:1px solid #e5d7b8;background:#fffaf0;border-radius:var(--radius-panel);display:flex;align-items:center;justify-content:space-between;gap:10px}.version-update-text{font-size:13px;color:#6b5632}.version-update-text strong{color:#9a6a1d}.version-update-actions button{border:1px solid #dfc99f;background:#fff;color:#8b6426;border-radius:var(--radius-control);padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.version-update-actions button:hover{background:#fff9ef}.cap-alert-trigger-wrap{position:relative;display:inline-flex;border-radius:var(--radius-panel);padding:2px;background:transparent;overflow:hidden;isolation:isolate}.cap-alert-trigger-btn{position:relative;z-index:1;display:block;border-radius:var(--radius-control)!important}.cap-alert-trigger-wrap.is-enabled{box-shadow:0 0 0 1px #56908433 inset}.cap-alert-trigger-wrap.is-enabled:before{content:"";position:absolute;top:-40%;right:-40%;bottom:-40%;left:-40%;z-index:0;border-radius:999px;background:conic-gradient(from 0deg,#56908400,#56908400 56deg,#5690842e,#5690847a,#5690842e 104deg,#56908400 122deg,#56908400 360deg);animation:cap-alert-ring-spin 2.9s linear infinite;pointer-events:none}.cap-alert-trigger-wrap.is-paused{background:#6ea6d81f}@keyframes cap-alert-ring-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.cap-alert-trigger-wrap.is-enabled:before{animation:none}}.topbar-user{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#4b5563;padding:0;white-space:nowrap}.topbar-user-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#d97706;color:#fffdf7;font-size:11px;font-weight:700;line-height:1;box-shadow:0 1px 2px #d977063d}.topbar-time{font-size:12px;color:#4b5563;white-space:nowrap}.topbar-right{display:flex;align-items:center;gap:6px}.topbar-right-mobile{display:none}.topbar-actions{display:flex;align-items:center;gap:6px}.topbar-status{display:flex;align-items:center;gap:8px}.topbar-log-btn{font-size:12px;line-height:1;padding:4px 9px;border-radius:var(--radius-control);border:1px solid #e4dece;background:transparent;color:#908778;cursor:pointer;opacity:.82;transition:all .15s ease}.topbar-log-btn:hover{opacity:1;color:#746a58;background:#f4f7fa}.topbar-log-btn:focus-visible{outline:2px solid #d9c7a4;outline-offset:1px}@media (max-width: 900px){.topbar{flex-wrap:wrap;align-items:stretch;gap:10px;padding:10px 14px}.tab-bar{order:1;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tab-bar::-webkit-scrollbar{display:none}.topbar-meta{display:none!important}.topbar-right-desktop{display:none}.topbar-right-mobile{order:2;display:flex;width:100%;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.topbar-actions{flex:0 0 auto}.topbar-status{flex:1 1 180px;min-width:0;flex-direction:column;align-items:flex-end;gap:4px}.topbar-time,.topbar-user{max-width:100%;overflow:hidden;text-overflow:ellipsis}}@media (max-width: 640px){.tab-btn{padding:8px 14px;font-size:13px}.topbar-actions{width:100%;justify-content:space-between}.topbar-log-btn,.topbar-logout{flex:1 1 calc(50% - 3px);text-align:center}.topbar-status{width:100%;align-items:flex-start}.topbar-time{font-size:11px}}.update-log-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px;background:#181d274d}.update-log-modal{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;border-radius:var(--radius-card);border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-popover);padding:14px 16px}.update-log-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.update-log-header h3{margin:0;font-size:18px;color:#2f5e53}.update-log-close{width:30px;height:30px;border-radius:8px;border:1px solid #dfd8c9;background:#fff;color:#8b8275;font-size:18px;line-height:1;cursor:pointer}.update-log-close:hover{background:#f8f3e9;color:#6f6658}.update-log-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-bottom:12px}.update-log-meta-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #ece3d5;border-radius:8px;background:#fff;padding:7px 10px;font-size:12px;color:#756f63}.update-log-meta-row strong{font-size:12px;color:#3e3a32;text-align:right}.update-log-section{border:1px solid #ede3d2;border-radius:10px;background:#fff;padding:10px 12px;margin-bottom:10px}.update-log-section h4{margin:0 0 7px;font-size:14px;color:#4e4a42}.update-log-summary{margin:0;font-size:12px;line-height:1.6;color:#6a6457}.update-log-feed{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto;padding-right:2px}.update-log-entry{border:1px solid #efe4d2;border-radius:8px;background:#fffdfa;padding:8px 10px}.update-log-entry-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.update-log-entry-version{font-size:13px;color:#2f5e53;font-weight:700}.update-log-entry-time{font-size:12px;color:#7c7468}.update-log-list{margin:6px 0 0;padding-left:18px;font-size:12px;line-height:1.55;color:#6a6457}.update-log-list.ordered{margin-top:4px}.update-log-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.update-log-actions button{border-radius:8px;border:1px solid #dccaa6;background:#fff;color:#6f5626;padding:7px 14px;font-size:12px;font-weight:600;cursor:pointer}.update-log-actions button:hover{background:#fff8ea}.update-log-cancel{border-color:#e1ddcf!important;color:#746d5f!important}@media (max-width: 640px){.update-log-meta{grid-template-columns:1fr}}.arb-constituents-panel{margin-bottom:8px;padding:0 10px 4px;border:none;border-radius:0;background:transparent}.arb-dashboard{padding:0;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;background:transparent}.arb-tier{display:flex;flex-direction:column;min-height:60px;border:1px solid var(--line);border-radius:6px;overflow:visible;background:var(--bg-card, #fff);position:relative;z-index:0}.arb-tier.arb-tier-color-open{z-index:30}.arb-tier-pinned,.arb-tier-sub1{background:#fbfceb8f}.arb-tier-sub2{background:#eef6f28c}.arb-resizer{height:4px;background:transparent;cursor:ns-resize;transition:all .2s;margin:1px 0;border-radius:2px;flex-shrink:0;position:relative}.arb-resizer:after{content:"";position:absolute;top:-8px;bottom:-8px;left:0;right:0;z-index:10}.arb-resizer:hover{background:transparent;box-shadow:none}.arb-tier-header{font-size:14px;font-weight:600;padding:6px 12px;background:linear-gradient(90deg,#fff6e4,transparent);border-left:3px solid var(--accent);flex-shrink:0}.arb-tier-count{margin-left:8px;font-weight:400;color:var(--muted);font-size:12px}.arb-tier-body{flex:1;overflow-y:auto;overflow-x:auto;min-height:0;scrollbar-gutter:stable}@supports not (scrollbar-gutter: stable){.arb-tier-body{overflow-y:scroll}}.arb-empty-tier{padding:12px 16px;color:var(--muted);font-size:14px}.arb-table{width:100%;min-width:1100px;border-collapse:collapse;font-size:14px;table-layout:fixed}.arb-main-table thead th:nth-child(1){width:8%}.arb-main-table thead th:nth-child(2){width:11%}.arb-main-table thead th:nth-child(3){width:16%}.arb-main-table thead th:nth-child(4){width:14%}.arb-main-table thead th:nth-child(5){width:10%}.arb-main-table thead th:nth-child(6){width:10%}.arb-main-table thead th:nth-child(7){width:13%}.arb-main-table thead th:nth-child(8){width:8%}.arb-main-table thead th:nth-child(9){width:10%}.arb-cross-table thead th:nth-child(1){width:10%}.arb-cross-table thead th:nth-child(2){width:22%}.arb-cross-table thead th:nth-child(3){width:18%}.arb-cross-table thead th:nth-child(4){width:12%}.arb-cross-table thead th:nth-child(5){width:12%}.arb-cross-table thead th:nth-child(6){width:16%}.arb-cross-table thead th:nth-child(7){width:12%}.arb-table thead th{padding:8px;text-align:center;font-size:14px;font-weight:700;color:#111827;border-bottom:none;white-space:nowrap;position:sticky;top:0;background:var(--bg);z-index:1}.arb-marketcap-head{position:relative;display:inline-flex;align-items:center}.arb-header-tooltip-trigger{position:relative;display:inline-flex;align-items:center;cursor:help;outline:none}.arb-header-tooltip-trigger:before,.arb-header-tooltip-trigger:after{position:absolute;left:50%;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease;z-index:20}.arb-header-tooltip-trigger:before{content:"";top:calc(100% + 3px);transform:translate(-50%,-2px);border:5px solid transparent;border-bottom-color:#111827}.arb-header-tooltip-trigger:after{content:attr(data-tooltip);top:calc(100% + 13px);transform:translate(-50%,-4px);padding:5px 8px;border-radius:6px;background:#111827;color:#fff;box-shadow:0 8px 18px #0f172a2e;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.arb-header-tooltip-trigger:hover:before,.arb-header-tooltip-trigger:hover:after,.arb-header-tooltip-trigger:focus-visible:before,.arb-header-tooltip-trigger:focus-visible:after{opacity:1;transform:translate(-50%)}.arb-window-metrics-head{gap:2px;cursor:default}.arb-window-metrics-input{width:3.1ch;min-width:3.1ch;height:20px;border:1px solid #e2d4c2;border-radius:4px;background:#fffaf7;color:#111827;font-size:12px;font-weight:700;line-height:1;text-align:center;padding:0 2px;outline:none}.arb-window-metrics-input:disabled{opacity:.7}.arb-tier-color-chip{width:14px;height:14px;border-radius:3px;border:none;background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.arb-tier-color-head{padding-right:10px}.arb-tier-color-head-inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;width:100%}.arb-tier-color-head-label{justify-self:center;min-width:0}.arb-tier-color-chip-inner{width:14px;height:14px;border-radius:3px;border:1px solid #b4a892;display:block}.arb-tier-color-pop{position:fixed;width:220px;border:1px solid #ddcfba;border-radius:10px;background:#fffdf8;box-shadow:0 10px 24px #0000001f;padding:8px;z-index:4200}.arb-tier-color-section{display:grid;gap:8px}.arb-tier-color-section+.arb-tier-color-section{margin-top:10px;padding-top:10px;border-top:1px solid #eee2cf}.arb-tier-color-section-title{font-size:12px;font-weight:700;color:#6b5f4d}.arb-tier-color-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-bottom:8px}.arb-tier-color-dot{width:100%;aspect-ratio:1 / 1;border-radius:999px;border:1px solid #c7beaf;cursor:pointer;padding:0}.arb-tier-color-dot.active{border:2px solid #4b5563}.arb-tier-color-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.arb-tier-color-row+.arb-tier-color-row{margin-top:8px}.arb-tier-color-row-label{font-size:12px;color:#6b6458}.arb-tier-color-input{width:34px;height:24px;border:1px solid #d6c7af;border-radius:6px;padding:0;background:transparent;cursor:pointer}.arb-tier-color-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.arb-tier-color-actions .arb-outline-btn{width:100%}.arb-th-slash-align{display:inline-block}.arb-th-pair-oi .arb-th-slash-align{transform:translate(.6ch)}.arb-th-pair-col{text-align:center}.arb-th-spread-head{padding-left:6px!important;padding-right:6px!important}.arb-th-spread-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:0}.arb-th-spread-left{text-align:right;white-space:nowrap;padding-right:.2ch}.arb-th-spread-sep{text-align:center;width:1ch}.arb-th-spread-right{text-align:left;white-space:nowrap;padding-left:.2ch}.arb-th-pair-stack{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;gap:2px}.arb-th-pair-title{font-size:14px;font-weight:700;color:#111827}.arb-th-pair-sub{display:inline-flex;align-items:baseline;gap:2px}.arb-th-pair-unit{font-size:12px;color:#111827;transform:translate(-.1ch)}.arb-table tbody td{padding:8px;text-align:center;border-bottom:none}.arb-table tbody tr:hover{background:#fdf8ef}.arb-empty-row td{height:34px}.arb-symbol{font-weight:600;text-align:center;font-size:14px}.arb-symbol-inline-wrap{position:relative;display:inline-grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-content:center;column-gap:4px;width:100%;min-height:18px;padding:0 18px;box-sizing:border-box}.arb-symbol-inline-wrap-compact{width:100%;grid-template-columns:1fr auto 1fr;column-gap:4px;overflow:visible;padding:0 18px;box-sizing:border-box}.arb-drag-handle{position:absolute;left:2px;top:50%;transform:translateY(-50%);width:18px;height:18px;min-height:18px;border:none;border-radius:6px;background:transparent;color:transparent;padding:0;cursor:grab;z-index:2}.arb-drag-handle:hover{background:#c2a87c1a}.arb-drag-handle:focus-visible{outline:1px dashed #c3a776;outline-offset:1px}.arb-drag-handle:active{cursor:grabbing}.arb-symbol-text{grid-column:2;justify-self:center;font-weight:700;color:var(--text);display:block;text-align:center;white-space:nowrap}.arb-symbol-text-clickable{cursor:pointer}.arb-gate-rate-inline{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}.arb-borrow-symbol-btn{border:1px solid #fecaca;background:#fff;color:#b91c1c;border-radius:4px;font-size:12px;line-height:1;padding:2px 4px;cursor:pointer}.arb-borrow-symbol-btn:hover{background:#fee2e2}.arb-borrow-symbol-btn-active{background:#dc2626;border-color:#dc2626;color:#fff;font-weight:700;box-shadow:0 0 0 2px #dc26262e}.arb-borrow-symbol-btn-active:hover{background:#b91c1c;border-color:#b91c1c}.arb-borrow-task-panel{display:grid;gap:8px;padding:10px;border:1px solid #dbe6f3;border-radius:8px;background:#f8fafc}.arb-borrow-task-panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#0f223d;font-weight:700}.arb-borrow-task-refresh{padding:5px 10px;font-size:12px}.arb-borrow-task-empty{color:#64748b;font-size:13px}.arb-borrow-task-list{display:grid;gap:8px;max-height:260px;overflow:auto}.arb-borrow-task-card{display:grid;gap:6px;padding:9px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.arb-borrow-task-main,.arb-borrow-task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.arb-borrow-task-main{justify-content:space-between}.arb-borrow-task-actions .btn{padding:5px 10px;font-size:12px}.arb-borrow-task-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:#475569;font-size:12px}.arb-borrow-task-status{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:700}.arb-borrow-task-status-running{background:#dcfce7;color:#047857}.arb-borrow-task-status-paused{background:#fef3c7;color:#b45309}.arb-borrow-task-status-failed{background:#fee2e2;color:#b91c1c}.arb-borrow-task-error{color:#b91c1c;font-size:12px;line-height:1.35}.arb-row-tag-list{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}.arb-row-tag-list-inline{display:inline-flex;align-items:center;flex-wrap:nowrap;max-width:100%;overflow:hidden}.arb-row-tag-list-inline-vertical{flex-direction:column;align-items:flex-start;gap:1px}.arb-row-tag-list-inline-vertical .arb-row-tag-chip{font-size:8px;line-height:1;padding:0 3px;border-width:1px}.arb-row-tag-list-inline-live{cursor:pointer}.arb-row-tag-chip{font-size:9px;line-height:1.2;padding:1px 4px;border-radius:999px;border:1px solid #d8c7a8;background:#f3ead8;color:#5a5145;font-weight:600;white-space:nowrap}.arb-row-tag-more{font-size:9px;color:#9e937f;font-weight:700;line-height:1}.arb-row-tag-more-btn{cursor:pointer;border:1px solid #decfb2;background:#fbf4e6;border-radius:999px;padding:1px 4px 2px;display:inline-flex;align-items:center;justify-content:center;min-width:18px}.arb-row-add-tag{grid-column:3;display:inline-flex;align-items:center;min-width:0;max-width:120px;justify-self:start}.arb-row-add-tag-vertical{position:static;transform:none;margin-left:2px;max-width:none;align-self:center;z-index:auto}.arb-row-tag-ghost{grid-column:1;visibility:hidden;pointer-events:none;display:inline-flex;align-items:center;min-width:0;max-width:120px;justify-self:end}.arb-row-add-tag-text{font-size:10px;color:#b3aa9e;font-weight:600;white-space:nowrap}.arb-row-tag-popover{position:absolute;top:50%;left:calc(100% + 30px);transform:translateY(-50%);z-index:5;display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-start;min-width:120px;max-width:220px;padding:6px;border-radius:8px;border:1px solid #e1d4bd;background:#fffdf8;box-shadow:0 8px 20px #00000014}.arb-row-tag-chip-pop{font-size:10px;padding:2px 6px}.arb-row-tag-more-ghost{border-color:transparent!important;background:transparent!important}.arb-spread{font-weight:700;font-size:14px}.arb-spread.positive{color:#1e6f5c}.arb-spread.muted-spread{color:#999;font-weight:400;font-size:14px}.arb-marketcap-volume-cell,.arb-window-metrics-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.arb-triple-cell{display:inline-grid;grid-template-columns:var(--triple-left, 6.8ch) 1ch var(--triple-middle, 6.4ch) 1ch var(--triple-right, 5.8ch);column-gap:.35ch;align-items:baseline;justify-content:center;white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.arb-triple-left{text-align:right}.arb-triple-middle{text-align:center}.arb-triple-right{text-align:left}.arb-triple-sep{text-align:center}.arb-spread-trigger{padding:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:pointer}.arb-spread-trigger-content{display:inline-flex;align-items:center;gap:6px}.arb-spread-trigger-icon{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;opacity:.72}.arb-spread-trigger-icon svg{width:100%;height:100%}.arb-spread-trigger:hover{text-decoration:underline;text-underline-offset:2px}.arb-spread-trigger:hover .arb-spread-trigger-icon{opacity:1}.arb-spread-trigger:focus-visible{outline:2px solid #c48d3a;outline-offset:2px;border-radius:4px}.arb-oi-cell{display:flex;justify-content:center;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.arb-pair-cell{display:inline-grid;grid-template-columns:var(--pair-left, 6.2ch) 1ch var(--pair-right, 4.8ch);align-items:baseline;justify-content:center;white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.arb-pair-head{font-weight:600;color:var(--muted);font-size:11px}.arb-pair-left{text-align:right}.arb-pair-sep{text-align:center}.arb-pair-right{text-align:left}.arb-pair-rate{--pair-left: 7.2ch;--pair-right: 3.2ch}.arb-pair-spread{--pair-left: 4.4ch;--pair-right: 4.4ch}.arb-pair-oi{--pair-left: 6.2ch;--pair-right: 5ch}.arb-pair-total{--pair-left: 7.2ch;--pair-right: 7.2ch}.arb-window-metrics-triple{--triple-left: 6.6ch;--triple-middle: 4.6ch;--triple-right: 4.6ch}.arb-dir{white-space:nowrap;font-size:12px}.arb-buy{color:#1e6f5c;margin-right:8px}.arb-sell{color:#c33}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a73}.modal{width:min(100%,640px);max-height:calc(100vh - 48px);overflow:auto;border-radius:10px;background:#fff;box-shadow:0 24px 80px #0f172a3d;padding:18px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.modal-header h3{margin:0;color:#0f223d;font-size:18px}.btn{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f223d;cursor:pointer;font-weight:700;padding:8px 14px}.btn.primary{border-color:#0f766e;background:#0f766e;color:#fff}.btn.secondary{background:#fff}.btn:disabled{cursor:not-allowed;opacity:.55}
