.history-draw-floating-panel{position:fixed;z-index:70;right:16px;bottom:calc(var(--status-height) + 12px);width:min(960px,calc(100vw - 32px));height:min(720px,calc(100vh - var(--header-height) - var(--status-height) - 28px));min-width:min(420px,calc(100vw - 32px));min-height:260px;display:flex;flex-direction:column;overflow:hidden;resize:both;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;box-shadow:0 16px 42px #17211b40}.history-draw-floating-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:8px 10px 8px 14px;background:#f8fbf9;border-bottom:1px solid var(--line)}.history-draw-floating-title{min-width:0;display:flex;align-items:center;gap:9px;color:var(--primary)}.history-draw-floating-title>div{min-width:0}.history-draw-floating-title h2{margin:0;color:var(--ink);font-size:16px}.history-draw-floating-title p{margin:3px 0 0;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-draw-floating-body{min-height:0;flex:1;overflow:auto}.history-draw-floating-body .data-tab-panel{min-width:0;padding:14px}.history-draw-floating-body .history-filter{grid-template-columns:repeat(4,minmax(100px,1fr)) auto}.history-draw-floating-body .data-table{min-width:760px}.history-floating-trigger{position:fixed;z-index:65;right:16px;bottom:calc(var(--status-height) + 12px);min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:8px 13px;color:#fff;background:var(--primary);border:1px solid var(--primary);border-radius:6px;box-shadow:0 5px 16px #17211b38;font-size:12px;font-weight:800}.history-floating-trigger:hover{background:var(--primary-hover)}@media(max-width:780px){.history-draw-floating-panel{right:8px;bottom:calc(var(--status-height) + 8px);width:calc(100vw - 16px);height:min(720px,calc(100vh - var(--header-height) - var(--status-height) - 16px));min-width:0;resize:vertical}.history-floating-trigger{right:8px;bottom:calc(var(--status-height) + 8px);max-width:calc(100vw - 16px)}.history-floating-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-draw-floating-body .history-filter{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media(max-width:480px){.history-draw-floating-header{padding-left:10px}.history-draw-floating-title h2{font-size:14px}.history-draw-floating-body .history-filter{grid-template-columns:1fr}}.runtime-number-group-switch{border-top:1px solid var(--border-color, #d8e0ea);margin-top:16px;padding-top:16px}.runtime-number-group-options{border:0;display:grid;gap:8px;margin:12px 0;min-width:0;padding:0}.runtime-number-group-options legend{color:var(--muted-color, #596574);font-size:13px;margin-bottom:8px}.runtime-number-group-option{align-items:flex-start;border-bottom:1px solid var(--border-color, #d8e0ea);display:flex;gap:10px;padding:8px 0}.runtime-number-group-option input{flex:none;margin-top:3px}.runtime-number-group-option span{display:flex;flex-wrap:wrap;gap:4px 10px;min-width:0}.runtime-number-group-option em{color:#16634c;font-size:12px;font-style:normal}.runtime-number-group-option.is-pending em{color:#98621a}.runtime-number-group-option small{color:var(--muted-color, #596574);flex-basis:100%;line-height:1.6;overflow-wrap:anywhere}.draw-analysis-page{min-height:calc(100vh - var(--header-height));padding:24px;background:#f8faf8}.draw-analysis-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:20px 0}.draw-analysis-heading p{margin:8px 0 0}.draw-analysis-account-select{width:min(340px,100%);display:grid;gap:5px;color:#35443a;font-size:13px;font-weight:800}.draw-analysis-account-select select{min-height:40px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.draw-analysis-context{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 14px;color:var(--muted);background:#eef3ef;border:1px solid var(--line);border-bottom:0;font-size:12px}.draw-analysis-context strong{color:var(--ink)}.draw-analysis-data{border:1px solid var(--line)}@media(max-width:700px){.draw-analysis-page{padding:14px}.draw-analysis-heading{align-items:stretch;flex-direction:column;gap:14px}.draw-analysis-account-select{width:100%}}.draw-recommendation-panel{display:grid;gap:16px}.recommendation-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap}.recommendation-window-select{display:grid;gap:5px;color:var(--muted);font-size:13px;font-weight:800}.recommendation-disclaimer{padding:10px 12px;color:#49564e;background:#f1f5f1;border-left:3px solid #6b8c72;font-size:12px;line-height:1.5}.dataset-meta{color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.recommendation-ball-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recommendation-ball-card{padding:14px;background:#fff;border:1px solid var(--line);border-radius:5px}.recommendation-ball-card h3{margin:2px 0 0;font-size:17px}.recommendation-stat-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.recommendation-stat-row>div,.recommendation-pick{display:grid;gap:7px;color:var(--muted);font-size:12px}.recommendation-number-chips span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 5px;color:var(--ink);background:#edf2ee;border:1px solid #d8e2da;border-radius:50%;font-size:12px;font-weight:800}.recommendation-number-chips.is-hot span{color:#8a3d2d;background:#fff0eb;border-color:#f0c8bc}.recommendation-number-chips.is-cold span{color:#355f76;background:#edf6fa;border-color:#c5dfe8}.recommendation-number-chips.is-recommended span{color:#235d3b;background:#e5f4e9;border-color:#acd2b6}.recommendation-reason{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.recommendation-trend{color:var(--muted);font-size:11px;white-space:nowrap}.recommendation-trend.is-qualified{color:#23613c;font-weight:800}.recommendation-combination{padding-top:4px}.recommendation-empty{border-radius:4px!important;min-width:auto!important;color:var(--muted)!important;background:transparent!important;border:0!important}@media(max-width:900px){.recommendation-ball-grid{grid-template-columns:1fr}}.draw-recommendation-panel{display:grid;gap:14px}.recommendation-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.recommendation-window-select{display:grid;gap:5px;color:#35443a;font-size:13px;font-weight:800}.recommendation-window-select select{min-height:40px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.recommendation-disclaimer{padding:10px 12px;color:#5b4a26;background:#fff8e6;border:1px solid #ebd8a3;font-size:13px}.recommendation-ball-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recommendation-ball-card,.recommendation-combination{padding:16px;background:#fff;border:1px solid var(--line);border-radius:6px}.recommendation-ball-card header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:14px}.recommendation-ball-card h3{margin:3px 0 0}.recommendation-stat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recommendation-stat-row>div,.recommendation-pick{display:grid;gap:6px}.recommendation-stat-row span,.recommendation-pick>span{color:var(--muted);font-size:12px;font-weight:700}.recommendation-number-chips{display:flex;flex-wrap:wrap;gap:5px}.recommendation-number-chips span{min-width:24px;padding:3px 5px;color:var(--ink);background:#eef3ef;border-radius:4px;font-size:12px;text-align:center}.recommendation-number-chips.is-hot span{color:#9f302a;background:#fdebea}.recommendation-number-chips.is-cold span{color:#246384;background:#e9f4fa}.recommendation-number-chips.is-recommended span{color:#fff;background:var(--primary);font-weight:800}.recommendation-empty{color:var(--muted)!important;background:#f5f6f5!important}.recommendation-pick{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.recommendation-trend{padding:4px 7px;color:var(--muted);background:#f1f3f1;border-radius:4px;font-size:12px;white-space:nowrap}.recommendation-trend.is-qualified{color:#24633c;background:#e8f5eb}.recommendation-reason{margin:12px 0 0;color:var(--muted);font-size:12px}.recommendation-combination{display:grid;gap:10px}.recommendation-status-notice{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:850px){.recommendation-ball-grid{grid-template-columns:1fr}.recommendation-stat-row{grid-template-columns:1fr 1fr}}@media(max-width:480px){.recommendation-toolbar{align-items:stretch;flex-direction:column}.recommendation-stat-row{grid-template-columns:1fr}}:root{color:#17211b;background:#f4f7f5;font-family:Microsoft YaHei UI,PingFang SC,Noto Sans CJK SC,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0;--ink: #17211b;--muted: #657269;--line: #d8e0da;--line-strong: #b9c6bd;--surface: #ffffff;--surface-muted: #eef3ef;--primary: #16734a;--primary-hover: #0f5c3a;--primary-soft: #e2f3e9;--danger: #b32632;--danger-hover: #8f1923;--danger-soft: #fdebed;--warning: #9a6400;--warning-soft: #fff4d8;--focus: #147dcc;--header-height: 58px;--status-height: 96px}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:#f4f7f5}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(20,125,204,.28);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:4px;font-size:24px;line-height:1.25}h2{margin-bottom:0;font-size:18px;line-height:1.3}h3{margin-bottom:6px;font-size:16px;line-height:1.35}small{color:var(--muted)}.primary-command,.secondary-command,.danger-command{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:6px;border:1px solid transparent;padding:8px 14px;font-weight:700;white-space:nowrap}.primary-command{color:#fff;background:var(--primary);border-color:var(--primary)}.primary-command:hover:not(:disabled){background:var(--primary-hover)}.secondary-command{color:var(--ink);background:#fff;border-color:var(--line-strong)}.secondary-command:hover:not(:disabled){background:var(--surface-muted)}.danger-command{color:#fff;background:var(--danger);border-color:var(--danger)}.danger-command:hover:not(:disabled){background:var(--danger-hover)}.icon-command{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;color:#405047;background:transparent;border:1px solid transparent;border-radius:6px}.icon-command:hover:not(:disabled){color:var(--ink);background:var(--surface-muted);border-color:var(--line)}.danger-icon{color:var(--danger)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#edf2ee}.login-panel{width:min(420px,100%);padding:32px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);box-shadow:0 12px 32px #17211b14}.login-panel h1{margin-bottom:24px;text-align:center}.login-form{display:grid;gap:10px}.field-label,.dialog-form label,.history-filter label,.account-selector,.number-field{color:#35443a;font-size:13px;font-weight:700}.login-form input,.dialog-form input,.history-filter input,.account-selector select,.search-control input,.number-field input{width:100%;min-height:40px;margin-top:5px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.login-form .primary-command{width:100%;margin-top:8px}.app-shell{min-height:100vh}.app-header{position:sticky;z-index:30;top:0;min-height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;color:#fff;background:#183b2c;border-bottom:3px solid #d9a51d}.app-title,.header-account{display:flex;align-items:center;gap:10px}.admin-nav{display:flex;align-self:stretch;align-items:center;gap:4px}.admin-nav a{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;color:#ffffffd1;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.admin-nav a:hover,.admin-nav a.active{color:#fff;background:#ffffff1c;border-color:#ffffff2e}.member-nav{display:flex;align-items:center;gap:4px;margin-left:8px}.member-nav button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 9px;color:#ffffffdb;background:transparent;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:700}.member-nav button:hover{color:#fff;background:#ffffff1f;border-color:#ffffff2e}.release-version{max-width:32ch;color:#ffffffd1;font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.header-account .icon-command{color:#fff}.header-account .icon-command:hover{background:#ffffff1f;border-color:#fff3}.shell-content{width:100%}.copy-trade-page{width:100%;padding:24px;background:#f8faf8}.copy-trade-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.copy-trade-stats>div{display:grid;gap:4px;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:6px}.copy-trade-stats span,.copy-trade-stats strong{display:block}.copy-trade-stats span{color:var(--muted);font-size:12px}.copy-trade-stats strong{font-size:22px;font-variant-numeric:tabular-nums}.copy-trade-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:14px;margin-bottom:14px}.copy-trade-panel{min-width:0;padding:16px;margin-bottom:14px;background:#fff;border:1px solid var(--line);border-radius:6px}.copy-target-row,.copy-rule-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;margin-bottom:7px;color:var(--ink);text-align:left;background:#fbfcfb;border:1px solid var(--line);border-radius:5px}.copy-target-row-wrap{display:flex;align-items:stretch;gap:6px}.copy-target-row-wrap .copy-target-row{flex:1}.copy-target-select{display:grid;place-items:center;width:28px;border:1px solid var(--line);border-radius:5px;background:#fbfcfb}.copy-target-row{cursor:pointer}.copy-target-row.is-selected{border-color:var(--primary);box-shadow:inset 3px 0 var(--primary);background:var(--primary-soft)}.copy-target-row span,.copy-rule-row span{min-width:0;display:grid;gap:3px}.copy-target-row small,.copy-rule-row small{color:var(--muted);font-size:11px}.copy-target-row em{color:var(--primary);font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.copy-target-picker{display:grid;gap:5px;margin-bottom:12px;color:#35443a;font-size:13px;font-weight:700}.copy-target-picker select{min-height:38px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:5px;background:#fff}.copy-trade-form{display:grid;gap:13px}.copy-trade-form>label{display:grid;gap:5px;color:#35443a;font-size:13px;font-weight:700}.copy-trade-form select,.copy-trade-form input[type=number],.copy-trade-form input[type=time]{min-height:38px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:5px;background:#fff}.copy-limit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.copy-limit-grid label{display:grid;gap:5px;color:#35443a;font-size:12px;font-weight:700}.copy-trade-form fieldset{min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px}.copy-leader-fieldset{margin-top:0}.copy-trade-form legend{padding:0 4px;color:var(--primary);font-size:12px;font-weight:800}.copy-trade-form small{font-weight:400}.copy-profit-pause-fieldset{display:grid;gap:9px}.copy-leader-list{display:grid;gap:6px;max-height:260px;overflow:auto}.copy-leader-list label,.copy-inline-options label{display:flex;align-items:flex-start;gap:8px;padding:8px;background:#fbfcfb;border:1px solid var(--line);border-radius:4px;font-size:12px;font-weight:700}.copy-leader-list label span{display:grid;gap:3px}.copy-filter-toggle{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:12px;font-weight:700}.copy-override-input{width:74px;margin-left:auto}.copy-command-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.copy-bulk-results{margin-top:8px;padding:8px;border-top:1px solid var(--line);font-size:12px}.copy-bulk-results p{margin:3px 0}.copy-inline-options{display:flex;gap:10px}.copy-inline-options label{align-items:center}.copy-status{display:inline-flex;align-items:center;padding:3px 7px;color:#526158;background:var(--surface-muted);border-radius:4px;font-size:11px;font-weight:800;white-space:nowrap}.copy-status-accepted,.copy-status-settled,.copy-status-active{color:#0d663d;background:var(--primary-soft)}.copy-status-skipped,.copy-status-paused,.copy-status-suspended{color:#6f4a00;background:var(--warning-soft)}.copy-status-unknown{color:#8d1b24;background:var(--danger-soft)}.copy-task-table{min-width:940px}.member-content{padding-bottom:var(--status-height)}.workspace-band,.account-band,.market-selector,.runtime-panel,.strategy-summary,.workspace-data,.readonly-workspace>section{width:100%;padding:20px 24px;background:var(--surface);border-bottom:1px solid var(--line)}.account-band{background:#f8faf8}.account-proxy-settings{width:100%;padding:18px 24px;background:#f1f7f4;border-bottom:1px solid var(--line)}.account-proxy-settings h2{display:flex;align-items:center;gap:7px;margin:0;font-size:17px}.account-proxy-hint{margin:8px 0 12px;color:var(--muted);font-size:12px}.account-proxy-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.account-proxy-list li{min-width:0;display:flex;align-items:center;gap:12px;padding:9px 10px;background:#fff;border:1px solid var(--line);border-radius:5px}.account-proxy-list li>div:first-child{min-width:0;display:grid;gap:3px}.account-proxy-list li strong{overflow-wrap:anywhere;font-size:13px}.account-proxy-list li span{color:var(--muted);font-size:11px}.account-proxy-priority{margin-left:auto;white-space:nowrap}.account-proxy-row-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.account-proxy-test-result{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px}.account-proxy-test-result.is-available{color:#18794e}.account-proxy-test-result.is-unavailable{color:#a23b32}.proxy-test-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.proxy-pool-workspace{min-width:0}.proxy-pool-batch-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}.proxy-pool-batch-test,.proxy-pool-batch-assign{min-width:0;display:flex;align-items:end;gap:9px;padding:12px;background:#f7faf8;border:1px solid var(--line);border-radius:5px}.proxy-pool-batch-tools label{min-width:0;display:grid;flex:1;gap:5px;color:#35443a;font-size:12px;font-weight:700}.proxy-pool-batch-tools input,.proxy-pool-batch-tools select{width:100%;min-width:0;min-height:38px;padding:7px 9px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.proxy-pool-batch-tools select[multiple]{min-height:74px}.proxy-pool-form{margin:0 0 16px;padding:14px;background:#f7faf8;border:1px solid var(--line);border-radius:5px}.proxy-pool-form h2{margin:0 0 10px;font-size:15px}.proxy-pool-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.proxy-pool-table{min-width:1120px}.proxy-pool-table td:nth-child(2){min-width:190px}.proxy-pool-table td:nth-child(3){min-width:150px}.proxy-pool-table td:nth-child(4){min-width:220px}.proxy-pool-table td:nth-child(5){min-width:235px}.proxy-test-endpoint-input{width:150px;min-width:0;min-height:34px;margin-right:6px;padding:6px 8px;border:1px solid var(--line-strong);border-radius:4px}.proxy-pool-status{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:800;white-space:nowrap}.proxy-pool-status.available{color:#18794e}.proxy-pool-status.unavailable{color:#a23b32}.proxy-pool-status.pending{color:#79601c}.proxy-member-assignment{display:flex;align-items:center;gap:6px}.proxy-member-assignment select{min-width:130px;min-height:34px;padding:6px 8px;border:1px solid var(--line-strong);border-radius:4px}.proxy-member-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.proxy-member-tag{padding:3px 7px;color:#526158;background:#eef4ef;border:1px solid var(--line);border-radius:4px;font-size:11px}.proxy-pool-actions{display:flex;align-items:center;gap:5px}.spin-icon{animation:spin 1s linear infinite}.section-heading,.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.origin-registration-form{max-width:920px;margin:8px 0 20px;padding:16px;background:#f7faf8;border:1px solid var(--line);border-radius:6px}.origin-input-label{display:block;margin-bottom:7px;color:#35443a;font-size:13px;font-weight:800}.origin-input-row{display:flex;align-items:center;gap:8px}.origin-input-row input{width:100%;min-width:0;min-height:40px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.origin-input-row .primary-command{flex:0 0 auto}.origin-registration-form .field-context{margin:8px 0 0}.origin-feedback{max-width:920px;min-height:0;justify-content:flex-start;margin:8px 0;text-align:left}.external-login-origins-table{min-width:760px}.external-login-origins-table td:first-child{overflow-wrap:anywhere}.origin-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:800;white-space:nowrap}.origin-status.enabled{color:#0d663d;background:var(--primary-soft)}.origin-status.disabled{color:#625d52;background:#ece9e1}.origin-policy-note{display:flex;align-items:center;gap:7px;margin:14px 0 0}.section-heading.compact{margin-bottom:12px}.section-heading.compact h3{margin-bottom:0}.section-kicker{display:block;margin-bottom:4px;color:var(--primary);font-size:12px;font-weight:800}.toolbar-commands,.account-add-actions,.dialog-actions,.runtime-control-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.search-control{min-width:260px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#fff;border:1px solid var(--line-strong);border-radius:5px}.search-control input{margin:0;border:0;outline:0}.account-card-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,310px);gap:12px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity}.account-card{position:relative;min-height:228px;padding:15px;background:#fff;border:1px solid var(--line-strong);border-radius:7px;scroll-snap-align:start}.account-card.is-selected{border-color:var(--primary);box-shadow:inset 4px 0 0 var(--primary)}.account-card.is-selected:after{content:"当前";position:absolute;top:0;right:0;padding:4px 8px;color:#fff;background:var(--primary);border-radius:0 6px;font-size:11px;font-weight:800}.account-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:38px}.account-kind,.runtime-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:800}.account-kind.virtual{color:#1f6d95}.account-kind.real{color:#8b4e12}.runtime-badge{padding:3px 7px;color:#48564d;background:var(--surface-muted);border-radius:4px}.runtime-badge.state-running{color:#0d663d;background:var(--primary-soft)}.runtime-badge.state-paused{color:var(--warning);background:var(--warning-soft)}.account-card h3{margin:14px 0 3px;font-size:17px}.account-context{min-height:38px;margin-bottom:10px;color:var(--muted);font-size:12px;line-height:1.5}.account-finance-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:8px;margin:0 0 10px}.account-finance-grid div{min-width:0}.account-finance-grid dt{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}.account-finance-grid dd{margin:4px 0 0;overflow:hidden;font-size:14px;font-weight:800;text-overflow:ellipsis}.account-run-summary{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid var(--line);font-size:12px}.account-card-selection{display:grid;gap:5px;margin-top:auto}.account-card-selection-label{color:var(--muted);font-size:11px;font-weight:700}.card-select-command{width:100%;min-height:40px;color:var(--primary);background:var(--primary-soft);border:1px solid #b9dec8;border-radius:5px;font-weight:800;touch-action:manipulation}.card-select-command:disabled{color:#486254;background:#eef3ef;border-color:var(--line);cursor:default;opacity:1}.account-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.account-card-actions-label{margin-right:auto;color:var(--muted);font-size:11px;font-weight:700}.account-card-actions .icon-command{min-width:40px;min-height:40px}.account-selector{display:none;margin-bottom:12px}.account-empty-actions{display:flex;justify-content:center;gap:10px;padding:38px 20px}.strategy-panel{background:var(--surface)}.market-selector{background:#fff}.market-options{display:flex;gap:10px;overflow-x:auto}.market-option{min-width:260px;display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;cursor:pointer}.market-option.is-selected{border-color:var(--primary);background:var(--primary-soft)}.market-option input{margin-top:3px;accent-color:var(--primary)}.market-option span{display:grid;gap:3px}.play-tabs,.workspace-tabs,.filter-bar{display:flex;align-items:stretch;gap:0;overflow-x:auto;background:#f1f4f2;border-bottom:1px solid var(--line)}.play-tabs{padding:0 24px}.play-tabs button,.workspace-tabs button,.filter-bar button{min-width:128px;min-height:45px;padding:8px 14px;color:#4d5b52;background:transparent;border:0;border-bottom:3px solid transparent;font-weight:800;white-space:nowrap}.play-tabs button.is-active,.workspace-tabs button.is-active,.filter-bar button.is-active{color:var(--primary);background:#fff;border-bottom-color:var(--primary)}.play-tabs button small{display:block;margin-top:2px;font-size:10px}.runtime-panel{padding-top:16px;padding-bottom:16px;background:#fbfcfb}.strategy-summary{background:#fff}.strategy-summary-compact{display:flex;align-items:center;justify-content:flex-end;min-height:0;padding-top:10px;padding-bottom:10px}.strategy-summary-compact .secondary-command{margin-left:auto;white-space:nowrap}.strategy-summary .section-heading{align-items:center}.strategy-summary .secondary-command{white-space:nowrap}.muted-text{color:var(--muted);font-size:13px}.play-blocked-notice{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:10px 12px;border:1px solid #f1c8c8;border-radius:10px;background:#fff5f5;color:#9b3030;font-size:13px}.play-blocked-notice strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.zsp-strategy-tab .strategy-field-band{margin-top:12px}.zsp-strategy-tab .check-field{display:flex;gap:8px;align-items:center;margin-top:10px;color:var(--ink);font-size:13px}.strategy-subtabs{display:flex;align-items:stretch;gap:0;overflow-x:auto;border-bottom:1px solid var(--line);background:var(--surface-muted)}.strategy-subtabs button{min-height:40px;padding:8px 15px;color:#4d5b52;background:transparent;border:0;border-bottom:3px solid transparent;font-weight:800;white-space:nowrap}.strategy-subtabs button.is-active{color:var(--primary);background:#fff;border-bottom-color:var(--primary)}.auto-start-builder{display:grid;gap:12px}.auto-start-subtabs{margin:0 -16px}.auto-start-subtabs button{min-width:140px}.auto-start-special-editor{display:grid;gap:10px;padding:12px;border:1px solid var(--line-strong);background:#fbfcfb}.auto-start-special-editor legend{padding:0 4px;font-weight:800;color:var(--primary)}.auto-start-number-picker{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:6px;max-width:430px}.auto-start-number-picker>strong{grid-column:1 / -1;font-size:13px}.auto-start-number-picker .check-field{display:flex;justify-content:center;align-items:center;min-height:38px;margin:0;border:1px solid var(--line);background:#fff}.auto-start-special-row,.auto-start-daily-limit-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.auto-start-special-row select,.auto-start-special-row input,.auto-start-daily-limit-row input{min-height:36px}.auto-start-daily-limit-row{padding:10px 0;border-top:1px solid var(--line)}.auto-start-daily-limit-row .check-field{min-width:190px;margin:0}.auto-start-monitor-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:8px 0 12px;padding:10px 12px;border:1px solid var(--line-strong);background:#f5f9f6;font-size:13px}.auto-start-monitor-status>strong{color:var(--primary)}.auto-start-monitor-status .status-allowed{color:#207044;font-weight:800}.auto-start-monitor-status .status-blocked{color:#a43131;font-weight:800}.auto-start-special-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;border:1px solid var(--line);background:#f5f9f6;font-size:13px}.auto-start-special-stats>strong{color:var(--primary)}.auto-start-special-stats b{font-variant-numeric:tabular-nums}.auto-start-special-stats .status-allowed{color:#207044;font-weight:800}.auto-start-special-stats .status-blocked{color:#a43131;font-weight:800}.auto-start-block-reason{flex-basis:100%;color:#8a3434}@media(max-width:600px){.auto-start-subtabs{margin:0 -10px}.auto-start-subtabs button{min-width:120px;padding-inline:10px}.auto-start-special-row,.auto-start-daily-limit-row{align-items:stretch}.auto-start-daily-limit-row{display:grid;grid-template-columns:1fr}.auto-start-number-picker{max-width:none;gap:5px}}.auto-start-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid var(--line);background:#fbfcfb}.auto-start-row select,.auto-start-row input{min-height:36px}.auto-start-row input{width:100px}.auto-start-condition{display:grid;gap:6px}.auto-start-number-field{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.auto-start-number-field input{margin-left:2px}.auto-start-counter,.auto-start-round-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;border:1px solid var(--line);background:#f8fbf9;font-size:12px}.auto-start-counter-label{color:var(--primary);font-weight:800}.auto-start-counter strong{font-variant-numeric:tabular-nums}.auto-start-counter .secondary-command{min-height:30px;padding:5px 9px;font-size:12px}.auto-start-round-summary{margin-bottom:2px;background:var(--primary-soft);border-color:#b9dec8}.auto-start-group{display:grid;gap:8px;padding:10px;border:1px solid var(--line-strong);background:#f7faf8}.auto-start-group legend{padding:0 4px;color:var(--primary);font-weight:800}.auto-start-group legend select{min-height:32px;border:0;color:inherit;background:transparent;font-weight:800}.zsp-option-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px 12px}.zsp-option-grid .check-field{margin-top:0;padding:7px 8px;border:1px solid var(--line);border-radius:4px;background:#fff}.strategy-summary-details{margin-top:12px;border-top:1px solid var(--line)}.strategy-summary-details summary{padding:10px 0;color:var(--ink);cursor:pointer;font-size:13px;font-weight:800}.strategy-summary-details[open] summary{margin-bottom:12px;border-bottom:1px solid var(--line)}.strategy-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}.strategy-summary-grid span{min-width:0;color:#3f4d44;font-size:13px}.strategy-summary-grid strong{display:block;margin-bottom:3px;color:var(--muted);font-size:11px}.progression-branches{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.progression-branches>strong{grid-column:1 / -1;font-size:13px}.progression-branches span{padding:8px 10px;background:var(--surface-muted);border-radius:4px;font-size:12px}.profit-segment-fields{display:grid;gap:10px}.profit-segment-list{display:grid;gap:8px}.profit-segment-row{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) 36px;gap:8px;align-items:end;padding:10px;background:var(--surface-muted);border:1px solid var(--line);border-radius:5px}.profit-segment-row .icon-command{margin-bottom:2px}.segment-add-command{justify-self:start}.profit-segment-preview{grid-column:1 / -1;display:grid;grid-template-columns:1.3fr repeat(4,minmax(70px,1fr));gap:6px;align-items:center;padding:8px 10px;background:var(--surface-muted);border-radius:4px;font-size:12px}.profit-segment-preview span{padding:0;background:transparent}.strategy-tab{display:grid;gap:14px}.number-groups-editor{display:grid;gap:12px}.number-group{padding:10px;border:1px solid var(--line);border-radius:6px;background:#fbfcfb}.number-group.is-active{border-color:var(--primary);background:#f5fbf7}.number-group-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.number-group-active{display:inline-flex;align-items:center;gap:7px;color:var(--ink);cursor:pointer;font-size:13px}.number-group-active input{accent-color:var(--primary)}.number-group-active span{color:var(--primary);font-size:12px}.number-group-add{justify-self:start}.strategy-number-groups-readonly{display:grid;gap:8px;margin-top:12px}.strategy-number-group-readonly{display:grid;gap:4px;padding:9px 10px;border:1px solid var(--line);border-radius:5px;color:#3f4d44;font-size:13px}.strategy-number-group-readonly.is-active{border-color:var(--primary);background:var(--primary-soft)}.strategy-number-group-readonly strong{color:var(--primary)}.ball-selection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}fieldset{min-width:0;margin:0;border:1px solid var(--line);border-radius:6px}legend{padding:0 5px;color:#3d4c42;font-size:12px;font-weight:800}.number-swatch-row{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.number-choice{position:relative;aspect-ratio:1;min-width:32px}.number-choice input{position:absolute;inset:0;opacity:0}.number-choice span{width:100%;height:100%;display:grid;place-items:center;color:#46544a;background:#eef2ef;border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:800}.number-choice input:checked+span{color:#fff;background:var(--primary);border-color:var(--primary)}.number-choice input:focus-visible+span{outline:3px solid rgba(20,125,204,.28)}.strategy-field-band{padding:12px}.strategy-number-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}.number-input-wrap{position:relative;display:block}.number-input-wrap>span{position:absolute;top:50%;right:10px;color:var(--muted);transform:translateY(-38%)}.field-context{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:1.5}.lock-notice,.inline-notice,.danger-notice{display:flex;align-items:center;gap:7px;margin:8px 0;padding:9px 11px;border-radius:5px;font-size:12px}.lock-notice,.inline-notice{color:#6f4a00;background:var(--warning-soft);border:1px solid #edd292}.danger-notice{color:#8d1b24;background:var(--danger-soft);border:1px solid #efb8bd}.zsp-real-notice{display:block}.zsp-real-notice strong{display:block;margin-bottom:6px}.zsp-real-notice p{margin:5px 0}.zsp-real-notice ul{margin:6px 0;padding-left:20px}.workspace-data{min-height:330px;padding:0}.ledger-view{padding:20px 24px 26px;background:#fbfcfb}.ledger-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.ledger-heading h2{margin:0 0 4px;font-size:20px;letter-spacing:-.02em}.ledger-heading p{margin:0;color:var(--muted);font-size:12px}.ledger-live-dot{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;color:#0d663d;background:#e9f6ee;border:1px solid #b9dec8;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.ledger-live-dot i{width:7px;height:7px;display:inline-block;background:#16a05a;border-radius:50%;box-shadow:0 0 0 3px #16a05a24}.ledger-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.ledger-summary>div{display:grid;gap:4px;padding:11px 13px;background:#fff;border:1px solid var(--line);border-radius:8px}.ledger-summary span{color:var(--muted);font-size:11px}.ledger-summary strong{font-size:17px;font-variant-numeric:tabular-nums}.ledger-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.ledger-pagination-limit{color:var(--muted);font-size:12px}.ledger-pagination-actions{display:flex;gap:8px}.ledger-pagination-actions button{min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;cursor:pointer}.ledger-pagination-actions button:disabled{cursor:not-allowed;opacity:.45}.simulation-ledger-table tr.is-latest td,.round-ledger-view .data-table tr.is-latest td{background:#f1faf4;border-top:2px solid #49a972}.simulation-ledger-table td:first-child,.round-ledger-view td:first-child{font-weight:800;color:#164d35}.workspace-tabs{padding:0 24px}.data-tab-panel{padding:16px 24px 24px}.history-view-tabs{display:inline-flex;margin-bottom:14px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-muted)}.history-view-tabs button{min-height:34px;padding:7px 14px;color:#4d5b52;background:transparent;border:0;border-radius:4px;font-weight:800;white-space:nowrap}.history-view-tabs button.is-active{color:var(--primary);background:#fff;box-shadow:0 1px 3px #17211b1f}.filter-bar{display:inline-flex;margin-bottom:12px;padding:3px;border:1px solid var(--line);border-radius:6px}.filter-bar button{min-width:90px;min-height:34px;border-bottom:0;border-radius:4px}.number-statistics-grid{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:10px;overflow-x:auto;padding-bottom:4px}.number-statistics-card{min-width:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff}.number-statistics-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}.number-statistics-card-heading h3{margin:0;color:var(--ink);font-size:14px}.number-statistics-card-heading span{color:var(--muted);font-size:11px;white-space:nowrap}.number-statistics-card .dataset-meta{margin-bottom:6px;font-size:11px}.number-statistics-card .table-scroll{max-height:500px;overflow:auto}.number-statistics-card .data-table{min-width:420px;font-size:12px}.number-statistics-card .data-table th,.number-statistics-card .data-table td{padding:7px 8px}@media(max-width:600px){.number-statistics-grid{grid-template-columns:repeat(4,minmax(220px,1fr))}}.history-filter{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;gap:10px;align-items:end;margin-bottom:14px}.account-history-replay,.replay-form{display:grid;gap:12px}.replay-filter{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}.replay-date-navigation{display:flex;align-items:end;gap:6px}.replay-date-field{display:grid;min-width:164px;color:#35443a;font-size:13px;font-weight:700}.replay-date-field input{width:100%;min-height:40px;margin-top:5px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px}.replay-quick-filters{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-muted)}.replay-quick-filters button{min-height:32px;padding:6px 11px;color:#4d5b52;background:transparent;border:0;border-radius:4px;font-size:12px;font-weight:800;white-space:nowrap}.replay-quick-filters button.is-active{color:var(--primary);background:#fff;box-shadow:0 1px 3px #17211b1f}.replay-meta{margin-bottom:0}.replay-configuration{border:1px solid var(--line);border-radius:6px;background:#fbfcfb}.replay-configuration summary{padding:10px 12px;color:var(--ink);cursor:pointer;font-size:13px;font-weight:800}.replay-configuration[open] summary{border-bottom:1px solid var(--line)}.replay-configuration-grid{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px 16px;padding:12px}.replay-configuration-grid span{min-width:0;color:#3f4d44;font-size:13px}.replay-configuration-grid strong{display:block;margin-bottom:3px;color:var(--muted);font-size:11px}.replay-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line)}.replay-summary>div{min-height:78px;display:grid;align-content:center;gap:4px;padding:12px 15px;background:#fff}.replay-summary span{color:var(--muted);font-size:11px}.replay-summary strong{font-size:18px;font-variant-numeric:tabular-nums}.amount-positive{color:#0d663d}.amount-negative{color:#a3222d}.amount-neutral{color:var(--ink)}.replay-table{min-width:1260px}.replay-table th,.replay-table td{white-space:nowrap}.replay-table td:nth-child(4),.replay-table td:nth-child(5),.replay-table td:nth-child(6){min-width:108px}.replay-draw-numbers{display:inline-flex;align-items:center;gap:5px}.replay-input-section{padding:12px;border:1px solid var(--line);background:#fbfcfb}.replay-input-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.replay-input-section h3{margin:0 0 10px;color:var(--ink);font-size:13px}.replay-input-heading h3{margin-bottom:0}.replay-number-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.replay-number-fieldset{min-width:0;margin:0;padding:8px;border:1px solid var(--line);background:#fff}.replay-number-fieldset legend{padding:0 4px;color:var(--muted);font-size:12px;font-weight:800}.replay-number-grid{display:grid;grid-template-columns:repeat(10,minmax(24px,1fr));gap:5px}.replay-number-option{position:relative;display:grid;place-items:center;min-height:30px;cursor:pointer}.replay-number-option input{position:absolute;opacity:0;pointer-events:none}.replay-number-option span{display:grid;place-items:center;width:27px;height:27px;color:#35443a;border:1px solid var(--line-strong);border-radius:50%;font-weight:800}.replay-number-option input:checked+span{color:#fff;background:var(--primary);border-color:var(--primary)}.replay-number-option input:focus-visible+span{outline:2px solid var(--focus);outline-offset:2px}.replay-money-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.replay-money-field{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:700}.replay-money-field input{width:100%;min-height:36px;padding:7px 9px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px;font:inherit;font-size:13px;font-variant-numeric:tabular-nums}.replay-submit{justify-self:start}.dataset-meta{margin-bottom:10px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.number-statistics-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin:0 0 10px;color:var(--muted);font-size:12px}.number-statistics-legend span{display:inline-flex;align-items:center;gap:5px}.number-statistics-legend i{width:10px;height:10px;display:inline-block;border-radius:50%}.number-rank-high{background:#c9342b}.number-rank-low{background:#218052}.table-scroll{width:100%;overflow:auto}.data-table{width:100%;min-width:850px;border-collapse:collapse;background:#fff;font-size:13px}.data-table th{position:sticky;top:0;z-index:1;padding:10px 11px;color:#526158;background:#edf2ee;border-bottom:1px solid var(--line-strong);text-align:left;white-space:nowrap}.data-table td{padding:10px 11px;border-bottom:1px solid #e8ede9;vertical-align:middle}.data-table tr:hover td{background:#f8faf8}.data-table td strong,.data-table td small{display:block}.money-cell{font-variant-numeric:tabular-nums;font-weight:800}.table-actions{display:flex;gap:2px}.stat-number-badge{width:26px;height:26px;display:inline-grid;place-items:center;color:#fff;background:#101827;border-radius:50%;font-weight:800}.stat-number-badge--high{background:#c9342b;box-shadow:0 0 0 2px #ffe0dc}.stat-number-badge--low{background:#218052;box-shadow:0 0 0 2px #d9f1df}.draw-equation{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.draw-ball{width:28px;height:28px;display:inline-grid;flex:0 0 28px;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:50%;font-size:13px;font-weight:900;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.25)}.draw-ball-yellow{background:linear-gradient(#ffe58a,#f1c232 42%,#d39b00)}.draw-ball-green{background:linear-gradient(#8ae878,#35b94b 42%,#168d36)}.draw-ball-blue{background:linear-gradient(#82ccff,#2584d8 42%,#125ea7)}.draw-ball-red{background:linear-gradient(#ff8585,#e93a3a 42%,#b91f2b)}.draw-ball-invalid{color:#5d685f;background:#d8deda}.loading-state,.empty-state,.error-state,.blocked-empty-state{min-height:92px;display:flex;align-items:center;justify-content:center;gap:8px;padding:20px;color:var(--muted);text-align:center}.error-state,.form-error{color:#9a202a;background:var(--danger-soft);border:1px solid #efb8bd}.blocked-empty-state{flex-direction:column;color:#795000;background:var(--warning-soft);border:1px solid #edd292}.form-error,.success-notice,.temporary-secret-notice{padding:9px 11px;border-radius:5px;font-size:13px}.success-notice{color:#0f623c;background:var(--primary-soft);border:1px solid #b9dec8}.temporary-secret-notice{margin:12px 0;background:var(--warning-soft)}.dialog-layer{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:18px}.dialog-backdrop{position:absolute;inset:0;background:#0c161094}.account-dialog{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100vh - 36px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line-strong);border-radius:8px;box-shadow:0 18px 50px #0000003d}.zsp-simulation-config-dialog,.zsp-live-config-dialog{width:min(1180px,calc(100vw - 48px));height:min(820px,calc(100vh - 36px));min-height:min(680px,calc(100vh - 36px))}.zsp-simulation-config-dialog .dialog-body,.zsp-live-config-dialog .dialog-body{padding:20px 24px 24px}.zsp-simulation-config-dialog .zsp-option-grid,.zsp-live-config-dialog .zsp-option-grid{grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px}.zsp-simulation-config-dialog .zsp-option-grid .check-field,.zsp-live-config-dialog .zsp-option-grid .check-field{min-height:48px;padding:9px 10px}.zsp-simulation-config-dialog .option-odds,.zsp-live-config-dialog .option-odds{margin-left:auto;color:var(--primary);font-size:12px;font-variant-numeric:tabular-nums;font-weight:850;white-space:nowrap}.zsp-simulation-config-dialog .strategy-number-grid,.zsp-live-config-dialog .strategy-number-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.zsp-simulation-config-dialog .strategy-field-band,.zsp-live-config-dialog .strategy-field-band{padding:16px}.dialog-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}.dialog-header h2{margin:0}.dialog-body{overflow:auto;padding:16px}.dialog-form{display:grid;gap:12px}.dialog-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.dialog-tab{padding:8px 12px;color:var(--muted);background:transparent;border:0;border-bottom:2px solid transparent;font-weight:800;cursor:pointer}.dialog-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.dialog-form label{display:grid}.dialog-actions{justify-content:flex-end;margin-top:14px}.dialog-close-confirm{margin-top:14px;padding:12px;background:var(--warning-soft);border:1px solid #edd292;border-radius:5px}.dialog-close-confirm p{margin-bottom:10px}.danger-zone{padding:12px;background:#fffafb;border-left:4px solid var(--danger)}.start-confirmation dl,.archive-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.start-confirmation dl div,.archive-detail dl div{padding:9px 10px;background:var(--surface-muted);border-radius:4px}.start-confirmation dt,.archive-detail dt{color:var(--muted);font-size:11px}.start-confirmation dd,.archive-detail dd{margin:4px 0 0;font-weight:800}.external-login-progress{padding:12px;background:#f7faf8;border:1px solid var(--line);border-radius:6px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(max-width:620px){.form-grid{grid-template-columns:1fr}}.external-login-progress.is-blocked{background:var(--danger-soft);border-color:#efb8bd}.progress-heading,.external-login-progress p{display:flex;align-items:center;gap:7px}.progress-heading h3{margin:0}.progress-stage{margin:12px 0;font-weight:800}.progress-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.progress-facts div{padding:8px;background:#fff;border:1px solid var(--line);border-radius:4px}.progress-facts dt{color:var(--muted);font-size:11px}.progress-facts dd{margin:3px 0 0;font-size:12px;font-weight:700}.platform-reason,.blocked-copy{margin:10px 0 0;font-size:12px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace-status-bar{position:fixed;z-index:40;right:0;bottom:0;left:0;height:var(--status-height);color:#edf5ef;background:#14251c;border-top:3px solid #d9a51d;box-shadow:0 -5px 18px #00000029}.status-row{height:50%;display:flex;overflow-x:auto;border-bottom:1px solid rgba(255,255,255,.1)}.status-segment-group{display:flex;flex:0 0 auto}.status-cell{min-width:104px;height:100%;display:flex;flex-direction:column;justify-content:center;padding:5px 9px;border-right:1px solid rgba(255,255,255,.1)}.status-cell-wide{min-width:150px}.status-cell span{color:#aebdb3;font-size:10px}.status-cell strong{max-width:180px;margin-top:2px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.status-cell{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)}.status-cell:before{position:absolute;top:9px;bottom:9px;left:0;width:2px;content:"";background:#d9a51d73;border-radius:2px}.status-cell span{letter-spacing:.02em}.status-cell strong{color:#f4fbf6;font-size:13px;font-weight:800;letter-spacing:.01em;font-variant-numeric:tabular-nums}.status-cell small{display:block;max-width:210px;margin-top:3px;color:#f4b6ba;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-positive{color:#70e0a5!important}.status-negative{color:#ff8f98!important}.status-neutral{color:#dce8df!important}.status-money{color:#f7d77a!important}.status-pending{color:#a9c9ff!important}.status-time{color:#9ed5ff!important}.status-bar-space{height:var(--status-height)}.admin-readonly-banner{position:sticky;z-index:10;top:var(--header-height);display:flex;align-items:center;gap:10px;padding:12px 24px;color:#523700;background:#fff0bf;border-bottom:1px solid #ddc06a}.admin-readonly-banner>div{flex:1;display:grid;gap:2px}.admin-readonly-banner span{font-size:12px}.profit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;padding:0!important;background:var(--line)!important}.profit-summary>div{min-height:86px;display:grid;align-content:center;padding:14px 18px;background:#fff}.profit-summary span,.profit-summary small{color:var(--muted);font-size:11px}.profit-summary strong{margin-top:4px;font-size:18px}.archive-detail{margin:12px 24px 22px;padding:14px;background:#f8faf8;border:1px solid var(--line)}@media(max-width:1100px){.strategy-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progression-branches{grid-template-columns:repeat(2,minmax(180px,1fr))}.ball-selection-grid{grid-template-columns:1fr}.strategy-number-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.profit-segment-row{grid-template-columns:repeat(3,minmax(110px,1fr)) 36px}.profit-segment-row label:first-child{grid-column:1 / -1}.profit-segment-preview{grid-template-columns:repeat(3,minmax(80px,1fr))}.history-filter{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:780px){:root{--header-height: 66px;--status-height: 104px}.app-header{padding:9px 14px;flex-wrap:wrap}.admin-nav{order:3;width:100%;overflow-x:auto}.admin-nav a{min-height:34px}.header-account{width:100%}.header-account span:not(.release-version){display:none}.header-account .release-version{min-width:0;margin-right:auto}.workspace-band,.account-band,.market-selector,.runtime-panel,.strategy-summary,.data-tab-panel,.account-proxy-settings{padding-right:14px;padding-left:14px}.account-proxy-list li{flex-wrap:wrap}.account-proxy-list li>div:first-child{flex-basis:100%}.account-proxy-priority{margin-left:0}.copy-trade-page{padding:14px}.copy-trade-grid{grid-template-columns:1fr}.copy-trade-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.member-nav{margin-left:0}.section-heading,.workspace-toolbar{align-items:flex-start;flex-direction:column}.account-add-actions,.toolbar-commands{width:100%}.account-add-actions button{flex:1}.search-control{min-width:0;flex:1}.account-selector{display:grid}.account-card-list{grid-auto-columns:minmax(248px,82vw)}.proxy-pool-batch-tools{grid-template-columns:1fr}.proxy-pool-batch-test,.proxy-pool-batch-assign{align-items:stretch;flex-direction:column}.proxy-pool-batch-tools button{width:100%}.proxy-pool-form{padding:12px}.proxy-test-endpoint-input{width:100%;margin:0 0 6px}.proxy-member-assignment{align-items:stretch;flex-direction:column}.proxy-member-assignment select,.proxy-member-assignment button{width:100%}.account-card-actions{display:flex}.account-card-actions .icon-command{min-width:44px;min-height:44px}.play-tabs,.workspace-tabs{padding:0 14px}.play-tabs button,.workspace-tabs button{min-width:112px}.strategy-summary-grid,.profit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-number-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.profit-segment-row{grid-template-columns:repeat(2,minmax(110px,1fr)) 36px}.profit-segment-row label:first-child{grid-column:1 / -1}.profit-segment-row .icon-command{grid-column:3;grid-row:2}.profit-segment-preview{grid-template-columns:repeat(2,minmax(80px,1fr))}.runtime-control-bar{width:100%}.history-filter{grid-template-columns:1fr 1fr}.history-filter .secondary-command{grid-column:1 / -1}.replay-filter{align-items:stretch}.replay-number-groups{grid-template-columns:1fr}.replay-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.replay-date-navigation{width:100%}.replay-date-navigation .replay-date-field{flex:1}.replay-date-navigation .secondary-command{flex:0 0 auto}.replay-quick-filters{width:100%}.replay-quick-filters button{flex:1}.replay-configuration-grid,.replay-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.draw-ball{width:34px;height:34px;flex-basis:34px;font-size:15px}.trend-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-selection-grid{grid-template-columns:1fr}.trend-panel-heading{display:block}.chart-legend{margin-top:8px}.stat-number-badge{width:28px;height:28px}.dialog-layer{padding:8px}.account-dialog{max-height:calc(100vh - 16px)}.zsp-simulation-config-dialog,.zsp-live-config-dialog{width:100%;height:calc(100vh - 16px);min-height:0}.zsp-simulation-config-dialog .dialog-body,.zsp-live-config-dialog .dialog-body{padding:14px}.zsp-simulation-config-dialog .zsp-option-grid,.zsp-live-config-dialog .zsp-option-grid{grid-template-columns:repeat(3,minmax(92px,1fr));gap:8px}.zsp-simulation-config-dialog .strategy-number-grid,.zsp-live-config-dialog .strategy-number-grid{grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px}.progress-facts,.start-confirmation dl,.archive-detail dl{grid-template-columns:1fr}.admin-readonly-banner{top:var(--header-height);padding:10px 14px;flex-wrap:wrap}.admin-readonly-banner .secondary-command{width:100%}}@media(max-width:480px){h1{font-size:21px}.login-page{padding:12px}.login-panel{padding:24px 18px}.copy-trade-stats{grid-template-columns:1fr 1fr}.account-add-actions{display:grid;grid-template-columns:1fr 1fr}.strategy-summary-grid,.profit-summary,.strategy-number-grid,.profit-segment-row{grid-template-columns:1fr}.profit-segment-row label:first-child,.profit-segment-row .icon-command{grid-column:auto;grid-row:auto}.profit-segment-preview{grid-template-columns:1fr 1fr}.progression-branches,.history-filter{grid-template-columns:1fr}.history-filter .secondary-command{grid-column:auto}.history-view-tabs{width:100%}.history-view-tabs button{flex:1}.replay-date-navigation{gap:3px}.replay-date-navigation .icon-command{width:34px;height:34px}.replay-date-navigation .secondary-command{padding-right:10px;padding-left:10px}.replay-configuration-grid,.replay-money-grid{grid-template-columns:1fr}.replay-summary>div{min-height:72px;padding:10px 12px}.replay-summary strong{font-size:16px}.number-swatch-row{grid-template-columns:repeat(5,minmax(36px,1fr))}.trend-analysis-tabs{width:100%}.trend-analysis-tabs button{flex:1}.dialog-body{padding:13px}.zsp-simulation-config-dialog .zsp-option-grid,.zsp-live-config-dialog .zsp-option-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.zsp-simulation-config-dialog .strategy-number-grid,.zsp-live-config-dialog .strategy-number-grid{grid-template-columns:1fr}.status-cell{min-width:108px}.status-cell-wide{min-width:158px}}@media(prefers-reduced-motion:reduce){.spin{animation:none}*{scroll-behavior:auto!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ledger-view{border-top:1px solid var(--line)}.ledger-heading h2{font-size:22px;letter-spacing:-.025em}.ledger-summary>div{min-height:68px;align-content:center;box-shadow:0 1px 2px #17211b0a}.ledger-summary>div:first-child{border-left:3px solid var(--primary)}.ledger-summary>div:nth-child(2){border-left:3px solid #3a8bb8}.ledger-summary>div:nth-child(3){border-left:3px solid #d39b00}.data-table caption{caption-side:top}.data-table th{font-size:12px;letter-spacing:.01em}.data-table td{line-height:1.4}.round-ledger-table,.simulation-ledger-table{border:1px solid var(--line);border-radius:8px;overflow:hidden}.round-ledger-table th:first-child,.round-ledger-table td:first-child,.simulation-ledger-table th:first-child,.simulation-ledger-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 0 var(--line)}.round-ledger-table th:first-child,.simulation-ledger-table th:first-child{z-index:3;background:#edf2ee}.round-ledger-table tr.is-latest td:first-child,.simulation-ledger-table tr.is-latest td:first-child{background:#f1faf4}.latest-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;color:#0d663d;background:#d6f1df;border:1px solid #a8d9b9;border-radius:999px;font-size:10px;font-weight:800;vertical-align:middle}.ledger-state{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.ledger-state:before{width:6px;height:6px;display:inline-block;content:"";border-radius:50%;background:currentColor}.state-settled{color:#0d663d;background:#e2f3e9}.state-pending{color:#8a5b00;background:#fff4d8}.state-failed{color:#a3222d;background:#fdebed}.simulation-failure-detail{max-width:220px;margin-top:5px;line-height:1.35;overflow-wrap:anywhere}@media(max-width:760px){.ledger-view{padding:16px 14px 20px}.ledger-heading{align-items:stretch;flex-direction:column;gap:10px}.ledger-heading h2{font-size:20px}.ledger-live-dot{align-self:flex-start}.ledger-summary{gap:6px}.ledger-summary>div{min-height:60px;padding:9px 10px}.ledger-summary strong{font-size:15px}.table-scroll{margin:0 -2px;border-radius:7px}.data-table{font-size:12px}.data-table th,.data-table td{padding:9px 8px}.latest-badge{display:block;width:max-content;margin:4px 0 0}}.ledger-view{color:#17251d}.ledger-heading h2{color:#10291d;font-size:clamp(20px,2vw,24px);font-weight:850;line-height:1.25}.ledger-heading p{max-width:56em;color:#5a6a60;font-size:13px;line-height:1.55}.ledger-summary span{color:#5f7065;font-size:12px;font-weight:650}.ledger-summary strong{color:#1b3025;font-size:19px;font-weight:850;letter-spacing:-.01em}.data-table{color:#1b2b22;font-size:13px}.data-table th{color:#41584a;background:#e8f0ea;font-size:12px;font-weight:850;letter-spacing:.015em}.data-table td{color:#26372c}.data-table td small{color:#68796e;font-size:11px}.data-table tbody tr:nth-child(2n) td{background:#fbfdfb}.data-table tbody tr:hover td{background:#f0f8f3}.data-table tr.is-latest td{background:#edf9f1}.data-table tr.is-latest:hover td{background:#e6f5eb}.round-ledger-table,.simulation-ledger-table,.live-ledger-table{min-width:900px;border:1px solid #cbd8ce;border-radius:10px;box-shadow:0 3px 10px #1f432d0f}.simulation-ledger-table{min-width:1180px}.live-ledger-table{min-width:920px}.money-cell{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.amount-positive{color:#087443!important}.amount-negative{color:#b42332!important}.amount-neutral{color:#37483d!important}.hit-label{display:inline-flex;align-items:center;min-width:2.5em;justify-content:center;padding:3px 7px;border-radius:6px;font-size:12px;font-weight:850;line-height:1.2}.hit-win{color:#087443;background:#e2f5e9;border:1px solid #b8e1c7}.hit-miss{color:#b42332;background:#fdebed;border:1px solid #f2c0c5}.hit-pending{color:#7a5a00;background:#fff5d9;border:1px solid #ecd99b}.ledger-live-dot--muted{color:#596a60;background:#f0f4f1;border-color:#d1ddd3}.ledger-live-dot--muted i{background:#7a8a80;box-shadow:0 0 0 3px #7a8a8024}@media(max-width:780px){.amount-rule-overview{grid-template-columns:1fr 1fr}.amount-rule-overview p{grid-column:1 / -1}}@media(max-width:760px){.ledger-summary strong{font-size:16px}.data-table th{font-size:11px}.data-table td{font-size:12px}}.header-latest-draw{margin:0 auto 0 18px;padding:3px 10px;border-radius:999px;background:#ffffff14;font-size:12px;white-space:nowrap}@media(max-width:640px){.header-latest-draw{display:none}}.strategy-sections{margin-bottom:12px}.amount-rule-editor{display:grid;gap:10px}.amount-rule-overview{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;background:#f7faf8;border:1px solid var(--line);border-radius:6px}.amount-rule-overview div{display:grid;gap:2px;min-width:76px;padding-right:10px;border-right:1px solid var(--line)}.amount-rule-overview span{color:var(--muted);font-size:11px}.amount-rule-overview strong{font-size:16px;font-variant-numeric:tabular-nums}.amount-rule-overview p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.amount-templates{display:flex;flex-wrap:wrap;gap:6px}.amount-rule-list{display:grid;gap:8px;margin:0;padding-left:0;list-style:none}.amount-rule{border:1px solid var(--border, #d9dee7);border-radius:6px;padding:8px 10px;background:var(--surface, #fff)}.amount-rule.is-disabled{opacity:.55}.amount-rule-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.amount-rule-head .muted-text{flex:1 1 260px}.amount-rule-body{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.amount-rule-body input[type=number]{width:90px}.amount-rule-label{font-weight:600;color:var(--text-muted, #5b6472)}.amount-condition,.amount-hold{display:inline-flex;align-items:center;gap:4px}.amount-hold input{width:70px}.amount-sequence{grid-column:1 / -1}.amount-rule-summary ol{margin:4px 0 0;padding-left:20px}.trend-analysis-panel{display:grid;gap:14px}.trend-analysis-tabs{display:inline-flex;width:fit-content;max-width:100%;overflow-x:auto;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-muted)}.trend-analysis-tabs button{min-height:34px;padding:7px 14px;color:#4d5b52;background:transparent;border:0;border-radius:4px;font-weight:800;white-space:nowrap}.trend-analysis-tabs button.is-active{color:var(--primary);background:#fff;box-shadow:0 1px 3px #17211b1f}.trend-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.trend-stat-grid>div{min-width:0;min-height:64px;display:grid;align-content:center;gap:4px;padding:10px 12px;background:#fbfcfb;border:1px solid var(--line);border-radius:5px}.trend-stat-grid span{color:var(--muted);font-size:12px}.trend-stat-grid strong{overflow-wrap:anywhere;font-size:15px;font-variant-numeric:tabular-nums}.trend-stat-grid small{color:var(--muted);font-size:11px}.trend-date-filter{display:flex;align-items:end;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid var(--line);border-radius:6px;background:#fbfcfb}.trend-date-filter>label{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:700}.trend-date-filter input[type=date]{min-height:34px;padding:5px 8px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;color:var(--text);font:inherit}.trend-date-shortcuts{display:inline-flex;gap:4px}.trend-date-shortcuts button{min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--text);font-weight:700;cursor:pointer}.trend-date-shortcuts button.is-active{border-color:var(--primary);color:var(--primary);background:#eff8f2}.trend-date-hint{align-self:center;color:var(--muted);font-size:11px}.trend-table{min-width:760px}.trend-selection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.trend-selection-fieldset{min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fbfcfb}.trend-selection-fieldset legend{padding:0 4px;color:var(--primary);font-size:12px;font-weight:800}.trend-digit-grid{display:grid;grid-template-columns:repeat(10,minmax(24px,1fr));gap:5px}.trend-digit{position:relative;display:grid;place-items:center;min-height:30px;cursor:pointer}.trend-digit input{position:absolute;opacity:0}.trend-digit span{display:grid;place-items:center;width:27px;height:27px;color:#35443a;background:#fff;border:1px solid var(--line-strong);border-radius:50%;font-weight:800}.trend-digit input:checked+span{color:#fff;background:var(--primary);border-color:var(--primary)}.trend-digit input:focus-visible+span{outline:3px solid rgba(20,125,204,.28);outline-offset:2px}.selected-trend-view{display:grid;gap:14px}.selected-day-section,.selected-picker-section,.selected-ball-section,.selected-combination-section{min-width:0;padding:16px;border:1px solid #d9e4dc;border-radius:8px;background:#fff;box-shadow:0 2px 8px #213d2c0b}.selected-section-heading,.selected-combination-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.selected-section-heading h3,.selected-combination-heading h3{margin:3px 0 4px;color:#1d3125;font-size:18px}.selected-section-heading p,.selected-section-hint{margin:0;color:#6b7a70;font-size:12px;line-height:1.55}.section-kicker{color:#268052;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.selected-section-hint{flex:0 0 auto;max-width:250px;padding:7px 10px;border-radius:5px;background:#f0f7f2;text-align:right}.selected-day-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.selected-day-card{display:grid;gap:10px;min-width:0;padding:13px;border:1px solid #dbe5dd;border-radius:7px;background:#fbfdfb;color:#203126;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.selected-day-card:hover{border-color:#77ad8e;box-shadow:0 3px 10px #2155331a;transform:translateY(-1px)}.selected-day-card.is-active{border:2px solid #218052;padding:12px;background:#f0f8f2;box-shadow:0 4px 12px #216f4324}.selected-day-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.selected-day-card-top strong{color:#17663f;font-size:14px}.selected-day-card-top time{color:#75837a;font-size:11px;font-variant-numeric:tabular-nums}.selected-day-card-main{display:flex;align-items:baseline;gap:6px}.selected-day-card-main b{color:#17663f;font-size:29px;line-height:1;font-variant-numeric:tabular-nums}.selected-day-card-main small{color:#5c6e62;font-size:12px}.selected-day-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding-top:8px;border-top:1px solid #e1eae3;color:#35483b;font-size:12px;font-variant-numeric:tabular-nums}.selected-day-card-metrics span{display:grid;gap:2px}.selected-day-card-metrics em,.selected-ball-metrics em{color:#7a897e;font-size:10px;font-style:normal}.selected-selection-count{flex:0 0 auto;padding:7px 10px;border:1px solid #b9d8c3;border-radius:5px;background:#f1f8f3;color:#17663f;font-size:12px;font-weight:800}.selected-combination-section{border-color:#c8dcd0;background:linear-gradient(180deg,#f8fcf9,#fff)}.selected-combination-heading>strong{flex:0 0 auto;color:#17663f;font-size:29px;font-variant-numeric:tabular-nums}.selected-combination-heading>strong small{color:#718075;font-size:12px;font-weight:600}.selected-combination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.selected-combination-grid>div{min-width:0;min-height:62px;display:grid;align-content:center;gap:5px;padding:9px 10px;border:1px solid #e0e9e2;border-radius:5px;background:#fff}.selected-combination-grid>div:first-child{grid-column:1 / -1;min-height:48px}.selected-combination-grid>div.is-emphasis{border-color:#8bc3a0;background:#eef8f1}.selected-combination-grid span{color:#738178;font-size:11px}.selected-combination-grid strong{overflow-wrap:anywhere;color:#263a2c;font-size:15px;font-variant-numeric:tabular-nums}.selected-combination-grid>div.is-emphasis strong{color:#17663f;font-size:18px}.selected-ball-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.selected-ball-card{min-width:0;padding:12px;border:1px solid #dfe8e1;border-radius:6px;background:#fbfdfb}.selected-ball-card-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid #e4ebe5}.selected-ball-card-title h4{margin:0;color:#263a2c;font-size:15px}.selected-ball-card-title span{color:#52745f;font-size:11px}.selected-ball-number-row{display:flex;flex-wrap:wrap;gap:5px;min-height:30px;padding:10px 0}.selected-ball-number-row span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#258253;color:#fff;font-size:12px;font-weight:800}.selected-ball-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;font-variant-numeric:tabular-nums}.selected-ball-metrics span{display:grid;gap:2px}.selected-ball-metrics b{color:#2c4032;font-size:13px}.digit-comparison-panel{min-width:0;padding:14px;border:1px solid var(--line);border-radius:6px;background:#fff}.digit-comparison-panel .trend-panel-heading{margin-bottom:8px}.digit-comparison-panel h3{margin:0 0 3px}.digit-comparison-panel p{margin:0;color:var(--muted);font-size:12px}.digit-comparison-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 10px;color:var(--muted);font-size:11px}.digit-comparison-legend span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.digit-comparison-legend i{width:8px;height:8px;border-radius:50%}.digit-legend-hot{background:#c9342b}.digit-legend-cold{background:#218052}.digit-category-tabs,.combination-day-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--surface-muted)}.digit-category-tabs button,.combination-day-tabs button{display:grid;gap:1px;min-height:32px;padding:5px 10px;border:0;border-radius:4px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.digit-category-tabs button.is-active,.combination-day-tabs button.is-active{background:#fff;color:var(--primary);box-shadow:0 1px 3px #17211b1f}.combination-day-tabs{margin-bottom:12px}.combination-day-tabs button small{color:var(--muted);font-size:10px;font-weight:500}.digit-comparison-caption{margin:8px 0 10px!important;color:var(--muted);font-size:11px}.digit-day-table-list{display:grid;gap:10px}.digit-day-table{min-width:0;border:1px solid #dfe8e1;border-radius:5px;background:#fbfdfb;overflow:hidden}.digit-day-table>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:9px 10px;border-bottom:1px solid #e2eae3}.digit-day-table>header strong{color:#17663f;font-size:13px}.digit-day-table>header time{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.digit-day-table table{min-width:720px}.digit-day-table table caption{padding:5px 8px;color:var(--muted);text-align:left;font-size:11px}.digit-day-table td,.digit-day-table th{vertical-align:top}.digit-day-table tbody th{white-space:nowrap}.digit-stat-title{display:flex;align-items:center;gap:6px}.digit-comparison-scroll{max-width:100%;overflow-x:auto}.digit-comparison-table{min-width:2550px;table-layout:fixed}.digit-comparison-cards{display:none}.digit-comparison-table caption{padding:8px 0;color:var(--muted);font-size:12px;text-align:left}.digit-comparison-table th:first-child{position:sticky;left:0;z-index:3;width:118px;min-width:118px;background:#e8f0ea}.digit-comparison-table th:nth-child(2){position:sticky;left:118px;z-index:3;width:90px;min-width:90px;background:#e8f0ea}.digit-comparison-table td,.digit-comparison-table th{width:230px;min-width:230px;vertical-align:top}.digit-comparison-table td{padding:8px}.digit-comparison-table tbody th[scope=rowgroup]{color:var(--primary);vertical-align:top}.digit-comparison-table tbody th[scope=rowgroup] small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:500}.digit-comparison-table tbody th[scope=row]{color:var(--text)}.digit-stat-cell{display:grid;gap:3px;min-height:74px;line-height:1.35;font-variant-numeric:tabular-nums}.digit-stat-cell strong{color:var(--text);font-size:13px}.digit-stat-cell span,.digit-stat-cell small{color:var(--muted);font-size:11px}.digit-mark{display:inline-block;padding:1px 4px;border-radius:3px;font-size:10px;font-weight:800}.digit-mark-high{color:#a3261e;background:#fff0ed}.digit-mark-low{color:#17663f;background:#e8f6ec}.digit-mark-normal{color:#5d6b61;background:#eef2ef}.digit-mark-unknown{color:#7b897f;background:#f1f3f1}.digit-trend-up{color:#a23a25!important;font-weight:800}.digit-trend-down{color:#286a9e!important;font-weight:800}.digit-trend-flat{color:#63736a!important}.difference-chart-panel{min-width:0;padding:14px;border:1px solid var(--line);border-radius:6px;background:#fff}.trend-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.trend-panel-heading h3{margin-bottom:3px}.trend-panel-heading p{margin:0;color:var(--muted);font-size:12px}.chart-line-toggles{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px 10px;color:var(--muted);font-size:12px}.chart-toggle{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer}.chart-toggle input{accent-color:var(--primary)}.chart-toggle.is-total{color:#8f1d13;font-weight:800}.chart-line{display:inline-block;width:20px;height:3px;border-radius:2px}.chart-line.ball1,.difference-chart polyline.ball1,.difference-chart circle.ball1{stroke:#16734a;background:#16734a}.chart-line.ball2,.difference-chart polyline.ball2,.difference-chart circle.ball2{stroke:#c17a00;background:#c17a00}.chart-line.ball3,.difference-chart polyline.ball3,.difference-chart circle.ball3{stroke:#2673b8;background:#2673b8}.chart-line.total,.difference-chart polyline.total,.difference-chart circle.total{stroke:#b42318;background:#b42318}.difference-chart-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #e2e9e3;border-radius:5px;background:#fbfcfb}.difference-chart{display:block;min-width:900px;max-width:none;height:320px}.difference-chart polyline{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.difference-chart polyline.is-total{stroke-width:5}.difference-chart circle{fill:#fff;stroke-width:1.5}.difference-chart circle.is-total{fill:#b42318;stroke-width:1}.difference-chart .chart-zero{stroke:#aab7ad;stroke-dasharray:4 4}.difference-chart .chart-axis{stroke:#d0d9d2}.difference-chart text{fill:var(--muted);font-size:11px}.difference-chart .chart-y-title,.difference-chart .chart-x-title{fill:#46554b;font-size:11px;font-weight:800}.difference-chart .chart-y-label,.difference-chart .chart-x-label{fill:#4d5d52;font-variant-numeric:tabular-nums}.chart-explanation{margin:0 0 9px;padding:10px 12px;color:var(--muted);font-size:12px;line-height:1.65;border-left:3px solid var(--primary);background:#f7faf8}.chart-explanation strong{color:var(--text)}.chart-explanation ol{margin:5px 0 0 18px;padding:0}.chart-explanation b{color:var(--text)}.chart-summary-row{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:9px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.chart-summary-row strong{color:#8f1d13}.chart-tools{display:grid;justify-items:end;gap:8px;min-width:0}.chart-zoom-controls{display:inline-flex;align-items:center;gap:6px;color:#56675c;font-size:12px;font-variant-numeric:tabular-nums}.chart-zoom-controls .icon-command{width:30px;min-width:30px;height:30px;min-height:30px;padding:0}.chart-window-size{display:inline-flex;align-items:center;gap:4px;color:#68766d;font-size:12px}.chart-window-size button{min-height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--text);font:inherit;font-weight:700;cursor:pointer}.chart-window-size button.is-active{border-color:var(--primary);color:var(--primary);background:#eff8f2}.chart-focus-select{display:inline-flex;align-items:center;gap:6px;color:#68766d;font-size:12px}.chart-focus-select select{min-height:30px;padding:4px 7px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;color:var(--text);font:inherit}.difference-chart .chart-grid{stroke:#e1e8e2;stroke-dasharray:2 4}.difference-chart .chart-point-value-bg{fill:#fff;fill-opacity:.92;stroke-width:1}.difference-chart .chart-point-value{font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.difference-chart .chart-point-value-group.ball1 .chart-point-value{fill:#16734a}.difference-chart .chart-point-value-group.ball2 .chart-point-value{fill:#a36200}.difference-chart .chart-point-value-group.ball3 .chart-point-value{fill:#2673b8}.difference-chart .chart-point-value-group.total .chart-point-value{fill:#b42318;font-size:11px}.difference-chart .chart-point-value-group.ball1 .chart-point-value-bg{stroke:#b8d9c5}.difference-chart .chart-point-value-group.ball2 .chart-point-value-bg{stroke:#ecd39f}.difference-chart .chart-point-value-group.ball3 .chart-point-value-bg{stroke:#bfd4e8}.difference-chart .chart-point-value-group.total .chart-point-value-bg{stroke:#e3b9b4;stroke-width:1.2}@media(max-width:760px){.trend-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-selection-grid{grid-template-columns:1fr}.trend-panel-heading{display:grid}.chart-line-toggles{justify-content:flex-start}.selected-day-card-grid,.selected-ball-card-grid,.selected-combination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-section-heading,.selected-combination-heading{display:grid}.selected-section-hint{max-width:none;text-align:left}.chart-tools{justify-items:start}.digit-comparison-scroll{display:none}.digit-comparison-cards{display:grid;gap:10px}.digit-day-card{padding:11px;border:1px solid #dbe5dd;border-radius:6px;background:#fbfdfb}.digit-day-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #e2eae3}.digit-day-card>header strong{color:#17663f;font-size:14px}.digit-day-card>header time{color:#748278;font-size:11px;font-variant-numeric:tabular-nums}.digit-ball-row+.digit-ball-row{margin-top:12px}.digit-ball-row h4{margin:0 0 6px;color:#2d4234;font-size:13px}.digit-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.digit-mini-card{display:grid;gap:2px;min-width:0;padding:6px 5px;border:1px solid #e2e9e3;border-radius:4px;background:#fff;color:#68766d;font-size:9px;line-height:1.3;font-variant-numeric:tabular-nums}.digit-mini-card b{display:grid;place-items:center;width:21px;height:21px;margin-bottom:2px;border-radius:50%;background:#eaf4ed;color:#17663f;font-size:12px}.digit-mini-card span,.digit-mini-card small{overflow-wrap:anywhere}.digit-mini-card small{color:#7b897f;font-size:9px}}.status-history-trigger{min-width:96px;height:100%;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;padding:5px 9px;color:#f7d77a;background:#1b3326;border:0;border-right:1px solid rgba(255,255,255,.1);font-size:11px;font-weight:800}.status-history-trigger:hover{color:#fff;background:#244735}@media(max-width:480px){.status-history-trigger{min-width:82px;padding-right:7px;padding-left:7px}}.parity-statistics-panel{display:grid;gap:10px;margin:14px 0}.parity-statistics-heading{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.auto-start-history{display:grid;gap:14px}.auto-start-history-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.auto-start-history-filters label{display:grid;gap:5px;color:var(--muted);font-size:13px;font-weight:700}.auto-start-history-filters input{min-height:38px;padding:6px 9px;border:1px solid var(--line-strong);border-radius:4px;color:var(--ink);background:#fff}.auto-start-history pre{max-width:380px;max-height:220px;overflow:auto;white-space:pre-wrap;font-size:11px}.auto-start-history-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px}.auto-start-history-pagination>div{display:flex;gap:8px}@media(max-width:600px){.auto-start-history-filters{align-items:stretch;flex-direction:column}.auto-start-history-filters label,.auto-start-history-filters input{width:100%}}.auto-start-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.account-card-runtime-actions{display:grid;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line)}.account-card-runtime-actions-label{color:var(--muted);font-size:11px;font-weight:800}.account-card-runtime-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-card-runtime-action-buttons button{width:100%;min-height:40px;padding:8px 9px;font-size:12px;white-space:nowrap}.account-card-runtime-action-buttons button svg{flex:0 0 auto}.account-card-runtime-action-buttons button:last-child{grid-column:1 / -1}@media(max-width:620px){.account-card-runtime-action-buttons{gap:7px}.account-card-runtime-action-buttons button{min-height:44px;padding-inline:6px}}
