:root{font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:#172937;background:#eef3f6;font-size:14px}*{box-sizing:border-box}body{margin:0}header{background:#112b3b;color:white;padding:32px 5%;display:flex;justify-content:space-between;align-items:center}h1{font-size:28px;margin:4px 0}h2{font-size:18px;margin:0 0 16px}h3{margin:0;font-size:19px}.eyebrow{font-size:11px;letter-spacing:2px;color:#75d9d0;font-weight:700;margin:0 0 8px}.muted,.hint{color:#6b7b89;line-height:1.65}header .muted{color:#b2c4d0;margin-bottom:0}header form{display:inline-block;margin-left:15px}main{max-width:1600px;margin:28px auto;padding:0 4% 40px}.section-title{display:flex;justify-content:space-between;gap:15px;align-items:baseline}.section-title span,#updated{font-size:12px;color:#7d929f}.nodes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.node,.panel{background:white;border:1px solid #dde7ed;border-radius:14px;padding:22px}.node-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.pill{font-size:11px;border-radius:20px;padding:4px 9px;background:#e9edf0;color:#6c7b86}.pill.online{background:#dff5ed;color:#197259}.metric{display:flex;justify-content:space-between;margin:15px 0 6px}progress{width:100%;height:7px;accent-color:#169e96;border:0}.node .hint{font-size:12px;margin-bottom:6px}.workspace{display:grid;grid-template-columns:370px 1fr;gap:22px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-size:12px;font-weight:600;margin:12px 0}input,select{display:block;margin-top:7px;padding:10px;border:1px solid #cfdce5;border-radius:6px;width:100%;background:#fff;color:#223746;font:inherit}input[type=file]{font-size:11px}fieldset{border:0;padding:0;margin:0}button{background:#087e78;border:0;color:#fff;padding:10px 15px;border-radius:6px;cursor:pointer;font:inherit;font-weight:600}button:hover{background:#066963}button:disabled{opacity:.5;cursor:wait}.secondary{background:#edf3f6;color:#345066}.secondary:hover{background:#dce8ee}.small{padding:5px 9px;font-size:12px;margin:3px}#submit-button{width:100%;margin-top:10px}.hint{font-size:12px}a{color:#087e78}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:530px}th{text-align:left;color:#7a8a95;font-size:11px;font-weight:600;padding:12px 8px;background:#f5f8fa}td{padding:16px 8px;border-bottom:1px solid #edf2f5;vertical-align:top;font-size:13px;line-height:1.6}td small{display:block;color:#7b8b96}#notice:not(:empty){padding:14px;border-radius:8px;background:#fff0d7;margin-bottom:18px}.error{color:#b14e36}.login{display:grid;place-items:center;min-height:100vh;background:#112b3b}.login-card{width:400px;max-width:95vw;background:white;border-radius:16px;padding:36px}.login-card .eyebrow{color:#087e78}.login-card button{width:100%}dialog{border:0;border-radius:12px;width:900px;max-width:92vw;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#112b3b88}pre{white-space:pre-wrap;overflow:auto;max-height:65vh;background:#10232e;color:#cfe5e7;padding:20px;border-radius:8px;font-size:12px}@media(max-width:1100px){.nodes{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr}.queue-panel{min-width:0}}@media(max-width:600px){header{display:block}.nodes{grid-template-columns:1fr}main{padding:0 15px}header form{margin-top:15px}}

.simulation-panel{margin-bottom:24px}.simulation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.simulation-card{padding:18px;background:#f6f9fb;border:1px solid #e3ecf0;border-radius:10px;overflow-wrap:anywhere}.simulation-card .node-head{gap:12px;margin-bottom:10px;align-items:start}.simulation-card .pill{white-space:nowrap}.remaining{display:block;margin-top:12px;color:#087e78;font-size:18px}.simulation-card summary{cursor:pointer;color:#506778;font-size:12px}@media(max-width:700px){.simulation-grid{grid-template-columns:1fr}}

.header-link{display:inline-block;color:#d8f8f4;text-decoration:none;margin-right:18px;font-weight:600}.primary-link{background:#087e78;padding:11px 16px;border-radius:7px}.upload-page{max-width:760px}.task-progress{margin-top:30px}.status-tabs{display:flex;gap:8px;margin:4px 0 20px;flex-wrap:wrap}.status-tabs button{background:#dfe9ee;color:#426073}.status-tabs button[aria-selected=true]{background:#087e78;color:white}.status-tabs span{display:inline-block;margin-left:8px;background:#ffffff30;padding:1px 7px;border-radius:12px}.status-tabs button:focus-visible{outline:3px solid #57c6bc;outline-offset:3px}

/* Compact overview: capacity and actions stay visible; secondary detail folds. */
:root{background:#f3f6f9;color:#223545;font-size:13px}header{padding:18px 3%;background:#142e40;gap:16px}h1{font-size:23px;letter-spacing:.02em;margin:0}h2{font-size:16px;margin:0 0 12px}h3{font-size:17px}.eyebrow{font-size:10px;letter-spacing:.18em;margin-bottom:5px}header #updated{color:#b4c8d3}main{max-width:1600px;margin:20px auto;padding:0 3% 32px}.section-title{align-items:center}.nodes{gap:12px;align-items:start;margin-bottom:20px}.node,.panel{padding:14px 16px;border-radius:12px;border-color:#e0e7ed;box-shadow:0 2px 6px #17384c04}.node-head{margin-bottom:10px;gap:10px}.pill{font-size:11px;padding:3px 8px;font-weight:500}.metric{font-size:12px;margin:9px 0 4px;gap:10px}.metric strong{font-variant-numeric:tabular-nums;font-weight:600}progress{display:block;height:5px;appearance:none;background:#e5edf1;border-radius:4px;overflow:hidden}progress::-webkit-progress-bar{background:#e5edf1;border-radius:4px}progress::-webkit-progress-value{background:#119b91;border-radius:4px}progress::-moz-progress-bar{background:#119b91;border-radius:4px}.node-work{font-size:12px;color:#315c65;font-weight:600;margin:11px 0 8px}details>summary{cursor:pointer;color:#647b8a;font-size:12px;line-height:1.6}details>summary:hover{color:#087e78}details[open]>summary{margin-bottom:8px}.node-details{border-top:1px solid #edf1f4;padding-top:8px}.hint,.node .hint{font-size:12px;line-height:1.55;margin:7px 0}.task-progress{margin-top:20px}.status-tabs{margin:0;gap:6px}.status-tabs button{padding:8px 14px;border-radius:8px;background:#e7eef3}.status-tabs span{margin-left:6px;font-size:11px}.task-count{margin:10px 0 8px}.simulation-grid{gap:10px;align-items:start}.simulation-card{padding:13px 15px;background:#fff;border:1px solid #e0e7ed;border-radius:11px;box-shadow:0 2px 6px #17384c04}.simulation-card .node-head{margin-bottom:9px;align-items:center}.simulation-card .node-head>strong{font-size:13px;line-height:1.5}.simulation-card .pill{max-width:46%;white-space:normal;text-align:right;flex-shrink:0}.simulation-card .metric{margin-top:6px}.remaining{display:inline-block;font-size:13px;font-weight:600;margin:9px 0 2px}.task-details{margin:7px 0}.simulation-card>.small{margin:6px 5px 0 0;padding:5px 10px;border:1px solid #e4ebef;border-radius:6px;font-size:12px}.simulation-card>details:not(.task-details){margin-top:10px}.simulation-card details .simulation-card{margin:8px 0;box-shadow:none;background:#f8fafb}.error{color:#ac4935}.simulation-card .error{background:#fff2ed;padding:8px 10px;border-radius:6px}.primary-link{padding:9px 13px;font-size:12px}.header-link{margin-right:12px}header form{margin-left:12px}header button{padding:8px 12px;font-size:12px}#notice:not(:empty){padding:10px 13px;font-size:12px;margin-bottom:14px;border:1px solid #f2dfb9}.queue-panel{min-width:0}dialog{padding:20px;border:1px solid #dce5eb}.section-title button{margin-top:0}.section-title h2{margin-bottom:10px}
@media(min-width:1450px){.simulation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}dialog .simulation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){header{flex-wrap:wrap}.simulation-card .node-head{align-items:start}.header-link{margin-right:8px}}
@media(max-width:700px){.simulation-grid{grid-template-columns:1fr}.nodes{grid-template-columns:repeat(2,minmax(0,1fr))}.node{padding:12px}.node .metric{font-size:11px}header #updated{display:none}main{padding:0 14px}.simulation-card .pill{max-width:45%}}
@media(max-width:420px){.nodes{grid-template-columns:1fr}header h1{font-size:21px}header>div+div{margin-top:12px}.login-card{padding:24px}}

.attention-panel{border-left:4px solid #bd614b;background:#fff7f3;padding:14px;border-radius:10px;margin:18px 0}.attention-panel[hidden]{display:none}.attention-panel h2,.attention-panel #attention-count{color:#9d3e2c}.attention-panel .simulation-card{border-color:#edcbbb}.attention-panel .simulation-card .pill{background:#fbe5dc;color:#983e29}

.issue-guidance{font-size:12px;color:#385d70;border-top:1px solid #e9edf1;padding-top:8px;margin:10px 0 5px;line-height:1.6}.issue-report-link{font-size:12px;margin-left:10px}#issue-dialog{width:min(620px,90vw)}#issue-feedback-form{margin-top:18px}#issue-feedback{display:block;box-sizing:border-box;width:100%;resize:vertical;border:1px solid #c6d5df;border-radius:7px;padding:10px;font:inherit}#issue-feedback-receipt{color:#087e78}#issue-feedback-history{max-height:220px;overflow:auto}
