@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#1a2b40;background:#f4f6f9;font-synthesis:none;--muted:#738196;--border:#e2e7ef;--blue:#235cdb;--teal:#12a7a0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #8eb3ff;outline-offset:3px}button{transition:background .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.top{height:88px;display:flex;align-items:center;padding:0 40px;border-bottom:1px solid var(--border);background:#fff;gap:32px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#142641;font-size:29px;font-weight:700;letter-spacing:-1.5px}.brand svg{width:32px;height:32px;fill:none;stroke:var(--blue);stroke-width:2.6}.brand-dot{color:var(--teal)}.top-label{font-size:10px;letter-spacing:2px;color:var(--muted);border-left:1px solid var(--border);padding-left:28px}.local{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.local i{height:6px;width:6px;border-radius:50%;background:var(--teal)}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1560px;margin:auto;min-height:calc(100vh - 88px)}.controls{padding:28px 24px;background:#fff;border-right:1px solid var(--border)}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}h1{font-size:17px;margin:0;font-weight:650}.text-button{border:0;background:none;color:#718097;font-size:11px;padding:5px}.text-button:hover{color:var(--blue)}.preset-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#657389}.preset-row select{border:1px solid var(--border);border-radius:7px;padding:7px 9px;font-size:11px;background:#fff;color:#35465c;max-width:175px}.frequency{padding:24px 0 23px;border-bottom:1px solid var(--border);margin-bottom:22px}.field-title{display:flex;justify-content:space-between;font-size:12px;font-weight:550}.field-title span{font-size:10px;color:var(--muted)}.frequency-value{display:flex;align-items:baseline;gap:9px;margin:6px 0 12px}.frequency-value input{width:calc(100% - 50px);border:0;font-size:38px;letter-spacing:-1.5px;font-weight:500;color:#203651;background:transparent;padding:0}.frequency-value span{font-size:13px;color:var(--muted)}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}.range{width:100%;accent-color:var(--blue);height:3px;margin:0}.range-labels{display:flex;justify-content:space-between;margin-top:8px;font-family:'IBM Plex Mono',monospace;font-size:9px;color:#8995a5}.layer-stack{border:1px solid var(--border);border-radius:10px;overflow:hidden}.layer{padding:14px 14px 12px;border-bottom:1px solid var(--border);position:relative}.layer:last-child{border:0}.cap{background:linear-gradient(110deg,#f8faff,#f4f7fc)}.water{background:linear-gradient(110deg,#f3fafc,#eef7fb)}.bottom{background:linear-gradient(110deg,#f6f7f8,#f1f3f6)}.layer-head{display:flex;align-items:center;gap:7px}.layer h2{font-size:12px;font-weight:600;margin:0}.layer-icon{color:#7893bb;font-size:17px;line-height:1}.water .layer-icon{color:#3896b8}.layer-code{margin-left:auto;font-size:9px;color:#a5afbc;font-family:'IBM Plex Mono',monospace}.depth-field{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:11px;color:#6e7d91}.number-unit{display:flex;align-items:center;gap:6px}.number-unit input{width:68px;padding:5px 7px;background:#fff;border:1px solid #dce3ec;border-radius:5px;font-family:'IBM Plex Mono',monospace;text-align:right;font-size:12px;color:#243c58}.number-unit span{font-size:10px;width:9px}.halfspace{display:flex;justify-content:space-between;align-items:center;color:#7b8797;font-size:11px;margin-top:12px;padding-bottom:4px}.halfspace span{font-size:18px;line-height:1}.layer details{margin-top:11px}summary{cursor:pointer;list-style:none;font-size:10px;color:#66778d}summary::-webkit-details-marker{display:none}summary:before{content:'+';display:inline-block;margin-right:7px;color:#758baa;font-size:12px}details[open]>summary:before{content:'−'}summary span{float:right;font-size:9px;color:#9aa6b5;font-family:'IBM Plex Mono',monospace;letter-spacing:-.5px}.material{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.material label{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;font-size:10px;color:#5b6e86;gap:3px}.material label span{font-size:8px;color:#93a0b0}.material input{width:100%;padding:7px 8px;margin-top:3px;background:#fff;border:1px solid #dce3ec;border-radius:5px;font-family:'IBM Plex Mono',monospace;font-size:11px;color:#233e5b;min-width:0}.loss-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-size:11px;color:#65778c}.switch{appearance:none;width:29px;height:17px;border-radius:20px;background:#dce2ea;position:relative;margin:0;cursor:pointer;transition:background .2s}.switch:before{content:'';position:absolute;width:11px;height:11px;background:white;border-radius:50%;left:3px;top:3px;transition:left .2s}.switch:checked{background:var(--blue)}.switch:checked:before{left:15px}.advanced{border-top:1px solid var(--border);padding-top:16px}.advanced summary{font-size:11px}.region-label,.region-note{font-size:10px;color:#98a3b3;margin-top:10px}.region-label{float:right;margin-top:0}.solve-area{margin-top:23px}.primary{background:var(--blue);color:white;width:100%;height:43px;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;box-shadow:0 3px 7px #235cdb1a}.primary:hover:not(:disabled){background:#194fc3}.primary svg{width:14px;height:14px;fill:currentColor}.cancel{width:100%;background:none;border:1px solid var(--border);padding:10px;border-radius:7px;margin-top:8px;color:#64738a;font-size:11px}#runtime-status{text-align:center;font-size:10px;line-height:1.5;color:#8391a4;margin:10px 0 0;overflow-wrap:anywhere}.results{padding:34px 36px 22px;min-width:0}.results-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px;gap:10px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:#8b98ab;margin-bottom:6px}.results-heading h2{font-size:29px;letter-spacing:-.8px;font-weight:500;margin:0}.results-heading h2 span{font-family:'IBM Plex Mono',monospace;font-size:15px;color:#9ba8b9;padding-left:8px}.result-state{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font-size:10px;color:#91a0b3;padding-bottom:3px}.chip{font-size:9px;padding:5px 8px;border-radius:20px;background:#e6f4ef;color:#3e8c71;white-space:nowrap}.chip.partial{background:#fff1db;color:#a77320}.chip.stale{background:#edf0f5;color:#748398}.chart-card,.root-card{border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 3px 9px #243d5f03;overflow:hidden}.chart-top{display:flex;align-items:center;justify-content:space-between;padding:19px 23px 5px;gap:10px}.chart-title{font-size:12px;font-weight:550}.chart-tools{display:flex;align-items:center;gap:18px}.normalized{display:flex;align-items:center;font-family:'IBM Plex Mono',monospace;font-size:10px;color:#8290a4;gap:5px}.normalized input{accent-color:var(--blue);width:12px;height:12px}.plot-wrap{position:relative;padding:0 8px;min-height:260px}#plot{display:block;width:100%;max-height:470px;touch-action:pan-y}#plot text{font-family:'IBM Plex Mono',monospace;font-size:10px;fill:#91a0b3}#plot .axis-label{font-size:11px;fill:#64758b}#plot .point{cursor:pointer;transition:r .1s;outline:none}#plot .point:hover,#plot .point:focus{stroke:#113d9c;stroke-width:2;fill:#235cdb}#plot .point.selected{fill:#1c5bdd;stroke:#adc9ff;stroke-width:4}#plot-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;padding-bottom:25px;color:#657892;font-size:13px}.empty-symbol{font-family:Georgia,serif;font-size:42px;font-style:italic;color:#d7e2f2;margin-bottom:12px}#plot-empty small{font-size:10px;color:#a1adbc;margin-top:7px}#plot-tooltip{position:absolute;z-index:2;background:#163052;color:#fff;border-radius:7px;font-family:'IBM Plex Mono',monospace;font-size:10px;padding:10px 12px;pointer-events:none;white-space:pre;box-shadow:0 5px 14px #17305220}.chart-foot{display:flex;justify-content:space-between;border-top:1px solid #f0f3f7;padding:13px 23px;font-size:9px;color:#9aa5b5;gap:10px}.legend-dot{display:inline-block;background:var(--blue);width:6px;height:6px;border-radius:50%;margin-right:5px}#plot-hint{margin-left:5px;color:#b0bac7}.root-card{margin-top:22px}.root-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--border)}.root-heading{display:flex;align-items:center;gap:12px}.root-heading h3{font-size:13px;margin:0;font-weight:600}.root-heading span{font-size:9px;color:#9ba7b7}.exports{display:flex;gap:7px}.exports button{padding:7px 11px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:10px;color:#536984;display:flex;align-items:center;gap:5px}.exports button:hover:not(:disabled){border-color:#aac5f4;background:#f7faff}.exports svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4}.table-scroll{overflow:auto;max-height:325px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px}th{text-align:left;font-weight:500;color:#7b8ba1;font-size:9px;background:#fafbfd;padding:12px 22px;position:sticky;top:0;z-index:1}th span{font-weight:400;font-size:8px;color:#a5afbd;margin-left:5px}td{padding:12px 22px;border-bottom:1px solid #f0f3f7;font-family:'IBM Plex Mono',monospace;color:#3b526f;font-size:10px}td:first-child{color:#99a7b8;font-size:9px;width:75px}.root-row{cursor:pointer}.root-row:hover td{background:#f5f8ff}.root-row.selected td{background:#edf4ff;color:#235cdb}.empty-row td{text-align:center;padding:46px;color:#a7b2c0;font-family:inherit;font-size:11px}.selected-detail{padding:15px 22px;background:#f9fbfe;font-family:'IBM Plex Mono',monospace;font-size:10px;line-height:1.8;color:#607590;overflow-wrap:anywhere}.selected-detail .detail-label{font-family:'DM Sans',sans-serif;font-size:9px;color:#96a3b4;margin-right:9px}.selected-detail .value{color:#2e527e}footer{display:flex;justify-content:space-between;gap:10px;margin-top:20px;font-size:9px;color:#9ba8b9;line-height:1.6}.footer-dot{padding:0 5px}#error{border:1px solid #f1c9c5;background:#fff1ef;color:#ad5149;font-size:12px;line-height:1.6;padding:12px 16px;border-radius:8px;margin-bottom:18px;overflow-wrap:anywhere}.solving .primary svg{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1450px){.workspace{grid-template-columns:340px minmax(0,1fr)}.controls{padding-left:32px;padding-right:32px}.results{padding:40px 48px}}@media(max-width:1000px){.top{padding:0 24px}.results{padding:28px 22px}.workspace{grid-template-columns:290px minmax(0,1fr)}.controls{padding:25px 18px}.chart-tools{gap:5px}.root-heading{gap:8px}.root-heading span{display:none}td,th{padding-left:15px;padding-right:15px}.chart-foot{padding-left:15px;padding-right:15px}footer{flex-direction:column;gap:2px}}@media(max-width:760px){.top{height:70px;padding:0 20px;gap:18px}.brand{font-size:27px}.top-label{display:none}.local{font-size:10px}.workspace{display:block}.controls{border-right:0;border-bottom:1px solid var(--border);padding:24px 20px}.section-head{margin-bottom:15px}.frequency{padding:20px 0;margin-bottom:18px}.frequency-value input{font-size:34px}.layer-stack{display:grid;grid-template-columns:1fr 1fr 1fr}.layer{border:0;border-right:1px solid var(--border);padding:12px 10px}.layer h2{font-size:10px}.layer-code{display:none}.depth-field{flex-wrap:wrap;gap:8px}.number-unit input{width:62px}.layer summary span{display:none}.material{grid-template-columns:1fr}.layer .material input{padding:7px 5px}.layer .material label span{font-size:7px}.loss-row{margin:15px 0}.advanced .material{grid-template-columns:1fr 1fr}.solve-area{margin-top:18px}#runtime-status{margin-top:7px}.results{padding:28px 15px}.results-heading{margin-bottom:18px}.results-heading h2{font-size:26px}.result-state{gap:5px}.chart-top{padding:16px 14px 7px}.chart-title{font-size:11px}.chart-tools{gap:8px}.chart-tools .text-button{font-size:9px}.normalized{font-size:9px}.plot-wrap{padding:0;min-height:220px}.chart-foot{font-size:8px;gap:5px}.chart-foot #plot-hint{display:none}.root-head{padding:15px}.exports button{font-size:9px;padding:6px 9px}.selected-detail{padding:12px 15px}.results footer{margin-top:15px}#plot text{font-size:12px}#plot .axis-label{font-size:12px}td,th{padding:11px 14px}.primary{height:45px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.root-row.unverified td{color:#b42318;background:#fff1f0}.root-row.unverified td:first-child::after{content:" !";font-weight:700}
