:root{--green:#174f3b;--deep:#123c30;--ink:#1e352e;--muted:#778a80;--line:#e3ebe4;--pale:#f3f7f2;--lime:#cde690}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f9f5;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}button,input,select{font:inherit}button,a{cursor:pointer}a{text-decoration:none;color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#123c30;color:#d9e7dc;padding:32px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:10px;align-items:center}.brand-icon{width:33px;height:33px;background:#c6de8a;color:#153f31;font-weight:850;font-size:20px;display:grid;place-items:center;border-radius:9px}.brand strong{font-size:17px;letter-spacing:.13em;display:block;line-height:1}.brand small{font-size:8px;letter-spacing:.11em;color:#a2c3aa;display:block;margin-top:5px}.project{margin:61px 0 36px;padding:0 9px}.project>span,.kicker{font-size:10px;letter-spacing:.16em;font-weight:750}.project>span{color:#8aaf97}.project h1{font-size:31px;letter-spacing:-.06em;color:white;margin:11px 0 3px}.project h1 span{color:#c1de85}.project p{font-size:13px;margin:0;color:#a7c2ae}nav{display:grid;gap:7px}nav a{border-radius:8px;padding:13px 12px;color:#a4bfae;font-weight:550}nav a span{font-size:10px;color:#7fa690;margin-right:14px}nav a:hover,nav .nav-active{background:#285846;color:#f3faef}nav .nav-active span{color:#d1ea9c}.side-bottom{margin-top:auto;border-top:1px solid #37614f;padding:23px 7px 0;display:flex;gap:10px;font-size:12px;color:#d3e5d6;line-height:1.5}.side-bottom small{color:#8eb09a;font-size:10px}.pulse,.dot,.source-dot,.terminal-dot{border-radius:100%;flex:none}.pulse{width:7px;height:7px;background:#c5df87;margin-top:5px}main{margin-left:238px;width:calc(100% - 238px);max-width:1700px;padding:38px 5vw 0}.top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e5ebe5;padding-bottom:30px}.breadcrumb{font-size:10px;letter-spacing:.1em;color:#98a99e}.breadcrumb b{color:#50745c}h2{font-size:30px;letter-spacing:-.045em;margin:13px 0 6px;color:#183d30}.top p,.section-head p,.panel-title p,.panel-top p{margin:0;color:#87978d;font-size:13px}.top-right{display:flex;align-items:center;gap:12px}.tag,.mini-tag,.job-chip{border-radius:5px;font-size:10px;letter-spacing:.08em;font-weight:750;padding:8px 10px}.tag{background:#eaf4e6;color:#52795b}.dot{display:inline-block;width:6px;height:6px;background:#70ad6b;margin-right:5px}.version{font-size:10px;letter-spacing:.09em;color:#a0ada4}.section{padding:39px 0 6px;scroll-margin-top:15px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:19px;gap:16px}.section-head h3{font-size:23px;letter-spacing:-.035em;margin:9px 0 5px}.kicker{color:#6d9873}.text-btn{background:none;border:0;color:#397758;font-size:12px;font-weight:700;padding:8px}.input-layout{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(420px,1.4fr);gap:15px}.upload-panel,.overview-panel,.run-card,.chart-card,.params,.result-table,.assumptions{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 12px rgba(21,62,38,.025)}.upload-panel,.overview-panel{padding:22px}.panel-top{display:flex;gap:12px;align-items:center}.icon-box{width:36px;height:36px;border-radius:8px;background:#edf5e9;color:#5b8d68;display:grid;place-items:center;font-size:20px;font-weight:700}h4{font-size:14px;letter-spacing:-.01em;margin:0 0 5px}.upload-drop{margin-top:20px;border:1px dashed #bad2bd;background:#f8fbf6;min-height:113px;border-radius:7px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#386949;cursor:pointer}.upload-drop:hover{border-color:#47825a;background:#f1f8ec}.upload-icon{font-size:23px;font-weight:400;line-height:1;margin-bottom:7px}.upload-drop strong{font-size:12px}.upload-drop small{font-size:11px;color:#9cac9e;margin-top:5px}.source{display:flex;align-items:center;gap:9px;margin-top:17px}.source-dot{width:8px;height:8px;background:#84b67b}.source small{font-size:9px;color:#9aaa9e;letter-spacing:.1em;display:block}.source strong{display:block;color:#4e6958;font-size:11px;margin-top:3px;word-break:break-all}.template-link{display:inline-block;font-size:11px;color:#438462;font-weight:650;margin-top:14px}.panel-title{display:flex;align-items:flex-start;justify-content:space-between}.mini-tag{background:#eff5eb;color:#769771;padding:6px 8px}.stats{display:grid;grid-template-columns:1.3fr .85fr .8fr;gap:10px;border-top:1px solid #edf1ed;border-bottom:1px solid #edf1ed;margin:22px 0;padding:19px 0}.stats>div+div{border-left:1px solid #edf1ed;padding-left:18px}.stats span,.metric-line small{display:block;font-size:9px;letter-spacing:.1em;color:#9aa9a0;font-weight:750}.stats strong{display:block;margin-top:10px;font-size:20px;letter-spacing:-.04em;white-space:nowrap;color:#224937}.stats strong small{font-size:11px;letter-spacing:0;color:#94a699}.allocation label,.inline-settings label{display:block;font-size:11px;font-weight:700;color:#526e5b}.allocation select,.mine-select select{width:100%;margin-top:8px;border:1px solid #dce7dc;background:#fff;color:#294d39;border-radius:6px;padding:10px 11px}.allocation p,.subtle{font-size:11px;color:#91a095;line-height:1.5;margin:9px 0 0}.params{margin-top:15px}.params summary,.result-table summary,.assumptions summary{list-style:none;cursor:pointer;padding:17px 21px;display:flex;justify-content:space-between;align-items:center;color:#254834}.params summary::-webkit-details-marker,.result-table summary::-webkit-details-marker,.assumptions summary::-webkit-details-marker{display:none}.params summary strong{font-size:13px;display:block}.params summary small{font-size:11px;color:#96a69a;display:block;margin-top:4px}.chevron{font-size:20px;color:#8ca797}.params-body{padding:0 21px 20px}.params-body>p{font-size:12px;color:#7f9084}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#8a9c8d;text-align:left;line-height:1.4}th,td{padding:12px 9px;border-bottom:1px solid #edf2ed}td{color:#375244}td:first-child{font-weight:700}td input{border:1px solid #dce7dc;border-radius:5px;padding:8px;width:95px;color:#224937}.inline-settings{display:flex;gap:22px;margin-top:20px;flex-wrap:wrap}.inline-settings input{display:block;margin-top:7px;width:110px;padding:9px;border:1px solid #dce7dc;border-radius:6px}.job-chip{background:#edf4eb;color:#71926f}.job-chip.running{background:#e8f2dc;color:#658a32}.job-chip.failed{background:#fff0e8;color:#ad6a40}.run-settings{display:flex;gap:14px;align-items:end;padding:23px;flex-wrap:wrap}.run-settings label{display:block;font-weight:700;color:#4d6957;font-size:12px}.run-settings label small{color:#a6b4a9;font-size:9px;letter-spacing:.08em;margin-left:5px}.run-settings input{margin-top:8px;border:1px solid #dde8df;border-radius:6px;padding:11px;width:155px;color:#2d523a;font-weight:650}.run-actions{display:flex;gap:9px;margin-left:auto}.primary{border:0;background:#206b4b;color:white;border-radius:6px;padding:12px 18px;font-size:12px;font-weight:750;display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary:hover{background:#15583b}.primary:disabled,.stop:disabled{opacity:.45;cursor:not-allowed}.stop{border:1px solid #e3e9e1;background:white;color:#789084;padding:11px 14px;border-radius:6px;font-weight:700;font-size:12px}.metric-line{border-top:1px solid #edf1ed;border-bottom:1px solid #edf1ed;display:grid;grid-template-columns:repeat(6,1fr);padding:17px 23px;gap:10px}.metric-line strong{display:block;margin-top:7px;font-size:14px;color:#315641}.terminal{background:#153b30;margin:21px 23px 12px;border-radius:7px;overflow:hidden}.terminal-head{padding:13px 16px;background:#1d493a;display:flex;justify-content:space-between;color:#d1e7d4;font-size:11px}.terminal-head strong{font-weight:700}.terminal-head small,.terminal-head>span{font-size:9px;letter-spacing:.08em;color:#87ae91}.terminal-dot{width:7px;height:7px;background:#aad37e;display:inline-block;margin-right:8px}.terminal pre{height:190px;overflow:auto;margin:0;padding:16px;color:#c8ddc9;font:11px/1.6 ui-monospace,SFMono-Regular,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.run-note{margin:0;padding:0 24px 22px;color:#95a69a;font-size:11px;line-height:1.5}.error{background:#fff3ec;color:#a14529;border:1px solid #f4d2c1;border-radius:7px;padding:13px;margin-top:14px;white-space:pre-wrap;line-height:1.5}.hidden{display:none!important}.empty{background:white;border:1px dashed #d9e6da;border-radius:10px;padding:50px 20px;text-align:center;color:#829989}.empty-icon{width:44px;height:44px;border-radius:10px;background:#edf5e9;color:#7ca27c;display:grid;place-items:center;margin:0 auto 13px;font-size:22px}.empty strong{color:#4f705c;font-size:13px}.empty p{font-size:12px;margin:7px 0 0;color:#9aac9e}.download-group{display:flex;gap:8px;align-items:center}.download{white-space:nowrap}.small-download{font-size:11px;font-weight:750;color:#4b8060;border:1px solid #dce8db;padding:11px;border-radius:6px}.result-banner{background:#edf6e7;border:1px solid #d4e7ce;border-radius:7px;padding:13px 16px;color:#527748;font-size:12px;margin-bottom:13px;line-height:1.5}.result-banner.warning{background:#fff8eb;border-color:#f0dfb6;color:#94692f}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.mine-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px}.mine-card h4{display:flex;justify-content:space-between;color:#274b36}.mine-card h4 span{font-size:10px;color:#91a798;font-weight:600}.mine-figures{display:flex;gap:20px;margin-top:19px}.mine-figures small{font-size:10px;color:#9aaba0;display:block}.mine-figures strong{font-size:18px;color:#275a3d;display:block;margin-top:5px}.mine-figures strong span{font-size:10px;color:#98aa9b}.mine-detail{border-top:1px solid #eef2ee;margin-top:16px;padding-top:11px;font-size:11px;color:#87988b;line-height:1.5}.chart-card{margin-top:15px;padding:22px}.chart-top{display:flex;justify-content:space-between;gap:10px}.chart-top p{font-size:11px;color:#93a299;margin:5px 0}.mine-select{font-size:9px;letter-spacing:.08em;color:#92a195;font-weight:700}.mine-select select{display:inline-block;width:145px;margin:0 0 0 8px}.plots{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:20px}.plot h5{font-size:12px;color:#4d6d59;margin:0}.plot h5 span{color:#a2b0a6;font-size:10px;font-weight:500}.plot svg{width:100%;height:auto;display:block}.result-table,.assumptions{margin-top:15px}.result-table summary,.assumptions summary{font-weight:700}.result-table .table-scroll{max-height:440px}.assumptions ul{margin:0;padding:0 28px 22px 40px;color:#6e8474;font-size:12px;line-height:1.8}footer{margin-top:42px;border-top:1px solid #e4eae4;padding:22px 0;color:#a5b3a8;font-size:10px;display:flex;justify-content:space-between}footer span{color:#7b9a80}@media(max-width:1100px){.input-layout{grid-template-columns:1fr}.summary-grid{grid-template-columns:1fr 1fr}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 20px;display:block}.shell{display:block}.brand{display:inline-flex}.project{display:inline-block;margin:0 0 0 20px;padding:0}.project>span,.project p,.side-bottom{display:none}.project h1{font-size:20px;margin:0}.sidebar nav{display:flex;overflow:auto;margin-top:13px;gap:3px}nav a{font-size:11px;white-space:nowrap;padding:9px}nav a span{margin-right:4px}main{width:100%;margin:0;padding:25px 18px 0}.top-right{display:none}.top h2{font-size:25px}.stats strong{font-size:15px}.metric-line{grid-template-columns:1fr 1fr}.run-actions{margin-left:0;width:100%}.run-settings input{width:120px}.plots,.summary-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.chart-top{display:block}.mine-select{display:block;margin-top:14px}.download-group{flex-wrap:wrap}}

.event-settings{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}.event-settings label{font-size:11px;font-weight:700;color:#526e5b}.event-settings select{display:block;margin-top:7px;min-width:140px;border:1px solid #dce7dc;background:#fff;border-radius:6px;padding:9px;color:#294d39}

/* Keep numeric validation but hide the browser's stepper controls. */
#time-limit, #gap { appearance: textfield; -moz-appearance: textfield; }
#time-limit::-webkit-inner-spin-button, #time-limit::-webkit-outer-spin-button,
#gap::-webkit-inner-spin-button, #gap::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.remove-input { margin-left: auto; padding: 7px 9px; border: 1px solid #dbe7da; border-radius: 6px; background: #fff; color: #597867; font-size: 11px; font-weight: 700; }
.remove-input:hover { background: #f0f6ef; color: #285e40; }
.remove-hint { color: #95a69a; font-size: 10px; line-height: 1.4; margin: 9px 0 0 17px; }
.input-data-body { padding: 0 21px 20px; }
.input-table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.input-table-toolbar label { font-size: 11px; font-weight: 700; color: #526e5b; }
.input-table-toolbar select { margin-left: 8px; border: 1px solid #dce7dc; border-radius: 6px; background: #fff; color: #294d39; padding: 8px 10px; }
.input-table-toolbar span { font-size: 11px; color: #8b9e90; }
.input-table-scroll { max-height: 320px; border: 1px solid #edf2ed; border-radius: 6px; }
.input-table-scroll thead { position: sticky; top: 0; background: #fff; z-index: 1; }
.input-subheading { margin: 22px 0 4px; color: #355940; }
.auth-pending .shell { visibility: hidden; }
.auth-screen { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: #eef4ec; }
.auth-card { width: min(100%, 410px); padding: 38px; background: #fff; border: 1px solid #dfe9dd; border-radius: 12px; box-shadow: 0 12px 40px rgba(22, 60, 43, .08); }
.auth-brand { color: #206b4b; font-size: 13px; letter-spacing: .12em; font-weight: 800; }
.auth-brand span { color: #8ca995; letter-spacing: .03em; }
.auth-card h1 { color: #183d30; font-size: 30px; letter-spacing: -.04em; margin: 28px 0 8px; }
.auth-card p { color: #7f9386; font-size: 13px; line-height: 1.5; }
.auth-card label { display: block; margin: 18px 0; color: #526e5b; font-size: 12px; font-weight: 700; }
.auth-card input { width: 100%; display: block; margin-top: 7px; border: 1px solid #dce7dc; border-radius: 6px; padding: 11px; color: #294d39; }
.auth-card .primary { width: 100%; margin-top: 6px; }
.auth-card .login-error { color: #a14529; }

.plot-meta { margin: 5px 0 2px; color: #607e69; font-size: 11px; line-height: 1.4; }
