/* IMPERIUM USER BACKTEST STUDIO v1.0.0 */
#page-backtests .ubt-shell{max-width:1420px;padding:8px 0 30px}
#page-backtests .ubt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px}
#page-backtests .ubt-kicker,#page-backtests .ubt-panel-title span{display:block;color:#6e9186;font-size:10px;font-weight:800;letter-spacing:.15em;margin-bottom:7px}
#page-backtests .ubt-head h2{margin:0 0 8px;color:#f0f6f3;font-size:26px}
#page-backtests .ubt-head p{margin:0;color:#789087;font-size:11px;line-height:1.55}
#page-backtests .ubt-limit{min-width:205px;padding:13px 16px;border:1px solid rgba(72,206,165,.22);background:rgba(72,206,165,.045);border-radius:13px}
#page-backtests .ubt-limit span,#page-backtests .ubt-limit small{display:block;color:#71877f;font-size:8.5px}
#page-backtests .ubt-limit b{display:block;margin:4px 0;color:#5eddb5;font-size:20px}
#page-backtests .ubt-limit.empty b{color:#e6ad58}
#page-backtests .ubt-grid{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);gap:14px}
#page-backtests .ubt-panel{border:1px solid rgba(75,126,109,.23);background:radial-gradient(circle at 100% 0%,rgba(54,143,113,.045),transparent 36%),rgba(6,19,15,.70);border-radius:16px;padding:20px}
#page-backtests .ubt-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}
#page-backtests .ubt-panel-title h3{margin:0;color:#edf5f1;font-size:17px}
#page-backtests .ubt-protected{padding:6px 8px;border:1px solid rgba(93,139,123,.16);border-radius:999px;color:#759087;font-size:8px;font-weight:800;letter-spacing:.07em}
#page-backtests .ubt-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#page-backtests .ubt-form-grid label{color:#71887f;font-size:9px}
#page-backtests .ubt-form-grid input,#page-backtests .ubt-form-grid select{width:100%;height:43px;box-sizing:border-box;margin-top:6px;padding:0 12px;border:1px solid rgba(85,132,116,.22);border-radius:9px;background:#06140f;color:#e2ece8;font-size:11px;outline:none}
#page-backtests .ubt-form-grid input:focus,#page-backtests .ubt-form-grid select:focus{border-color:rgba(73,213,169,.48)}
#page-backtests .ubt-working{margin-top:14px;padding:14px;border:1px solid rgba(83,130,113,.17);border-radius:11px}
#page-backtests .ubt-working-top{display:flex;justify-content:space-between;align-items:center;color:#789087;font-size:10px}
#page-backtests .ubt-working-top b{color:#5fddb5;font-size:19px}
#page-backtests .ubt-working-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:11px 0}
#page-backtests .ubt-working-presets button{height:34px;border:1px solid rgba(91,135,120,.20);background:rgba(255,255,255,.01);border-radius:8px;color:#789087;font-size:9px;cursor:pointer}
#page-backtests .ubt-working-presets button.active{color:#61deb6;border-color:rgba(76,214,172,.36);background:rgba(76,214,172,.08)}
#page-backtests #ubtWorking{width:100%;accent-color:#4fd3a9}
#page-backtests .ubt-working small{display:block;margin-top:7px;color:#667b73;font-size:8.5px}
#page-backtests .ubt-hidden-note{display:flex;gap:10px;margin-top:13px;padding:12px;border-radius:10px;background:rgba(255,255,255,.018);border:1px solid rgba(85,126,112,.12)}
#page-backtests .ubt-hidden-note span{font-size:16px}
#page-backtests .ubt-hidden-note b,#page-backtests .ubt-hidden-note small{display:block}
#page-backtests .ubt-hidden-note b{color:#afc0ba;font-size:9.5px}
#page-backtests .ubt-hidden-note small{margin-top:3px;color:#6b8078;font-size:8.5px;line-height:1.45}
#page-backtests .ubt-run{width:100%;height:46px;margin-top:14px;border:1px solid rgba(70,211,168,.34);border-radius:10px;background:rgba(48,181,140,.11);color:#61dfb7;font-size:11px;font-weight:800;cursor:pointer}
#page-backtests .ubt-run:disabled{opacity:.42;cursor:not-allowed}
#page-backtests .ubt-run-note{text-align:center;margin-top:7px;color:#6e837b;font-size:8.5px}
#page-backtests .ubt-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#page-backtests .ubt-metrics>div{padding:12px;border:1px solid rgba(82,126,111,.14);border-radius:10px}
#page-backtests .ubt-metrics span,#page-backtests .ubt-meta span{display:block;color:#6f857d;font-size:8px;margin-bottom:5px}
#page-backtests .ubt-metrics b{color:#eef5f2;font-size:16px}
#page-backtests .ubt-state{padding:6px 9px;border:1px solid rgba(71,206,165,.20);border-radius:999px;color:#5edbb3;font-size:8px;font-weight:800}
#page-backtests .ubt-result-empty{height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#71857e}
#page-backtests .ubt-result-empty b{color:#afc0ba;font-size:13px}
#page-backtests .ubt-result-empty span{margin-top:5px;font-size:9px}
#page-backtests .ubt-progress-wrap{margin-top:15px}
#page-backtests .ubt-progress-top{display:flex;justify-content:space-between;color:#789087;font-size:9px;margin-bottom:6px}
#page-backtests .ubt-progress{height:6px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden}
#page-backtests .ubt-progress i{display:block;height:100%;width:0;background:#4fd4aa}
#page-backtests .ubt-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}
#page-backtests .ubt-meta>div{padding:10px 11px;border-top:1px solid rgba(82,126,111,.12)}
#page-backtests .ubt-meta b{color:#dce8e3;font-size:9.5px}
#page-backtests .ubt-history{margin-top:14px}
#page-backtests .ubt-refresh{border:0;background:none;color:#70a294;font-size:9px;cursor:pointer}
#page-backtests .ubt-history-table{overflow:auto}
#page-backtests .ubt-history-head,#page-backtests .ubt-history-row{display:grid;grid-template-columns:1.3fr 1.1fr .7fr .9fr .7fr .7fr;gap:10px;align-items:center}
#page-backtests .ubt-history-head{padding:8px 10px;color:#6d847c;font-size:8px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid rgba(82,126,111,.14)}
#page-backtests .ubt-history-row{width:100%;padding:12px 10px;border:0;border-bottom:1px solid rgba(82,126,111,.09);background:none;color:#aabbb5;font-size:9px;text-align:left;cursor:pointer}
#page-backtests .ubt-history-row:hover{background:rgba(255,255,255,.015)}
#page-backtests .ubt-history-row i{font-style:normal;font-weight:800;font-size:8px;color:#8fa29b}
#page-backtests .ubt-history-row .s-done{color:#57d7ae}
#page-backtests .ubt-history-row .s-failed{color:#ff858d}
#page-backtests .ubt-history-row .s-running,#page-backtests .ubt-history-row .s-queued{color:#e0b45c}
#page-backtests .ubt-no-history{padding:30px;text-align:center;color:#6d8179;font-size:9px}
#page-backtests .ubt-fail{padding:50px;text-align:center;color:#8d7778}
#page-backtests .ubt-fail h3{color:#ff858d}
#page-backtests .hidden{display:none!important}
@media(max-width:1100px){#page-backtests .ubt-grid{grid-template-columns:1fr}#page-backtests .ubt-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){#page-backtests .ubt-head{flex-direction:column}#page-backtests .ubt-limit{width:100%;box-sizing:border-box}#page-backtests .ubt-form-grid{grid-template-columns:1fr}#page-backtests .ubt-history-head,#page-backtests .ubt-history-row{min-width:760px}}
